.content-page {
    display: grid;
    gap: 2rem;
    padding-block: 3rem;
}

.content-page-main {
    min-width: 0;
}

.official-contact {
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid #bdd8e6;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #f7fcff, #eaf6fb);
}

.official-contact h2 {
    margin: .4rem 0 .55rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.official-contact > p {
    max-width: 760px;
    color: var(--muted);
}

.contact-channel-grid {
    display: grid;
    gap: .8rem;
    margin-top: 1.4rem;
}

.contact-channel {
    display: flex;
    gap: .9rem;
    align-items: center;
    min-width: 0;
    padding: 1rem;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-channel:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(7, 89, 133, .1);
    transform: translateY(-2px);
}

.contact-channel-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    background: var(--primary);
}

.contact-channel--whatsapp .contact-channel-icon {
    background: #168b5b;
}

.contact-channel-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-channel-copy {
    min-width: 0;
}

.contact-channel-copy small,
.contact-channel-copy strong,
.contact-channel-copy span {
    display: block;
}

.contact-channel-copy small {
    color: var(--muted);
}

.contact-channel-copy strong {
    overflow-wrap: anywhere;
}

.contact-channel-copy span {
    margin-top: .15rem;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 700;
}

.official-contact .contact-note {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #cfe2eb;
    font-size: .9rem;
}

.official-sources {
    scroll-margin-top: 100px;
    margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(2.25rem, 4vw, 3rem);
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.official-sources h2 {
    margin: .3rem 0 .55rem;
}

.official-sources > p {
    margin: 0 0 1.25rem;
    color: var(--muted);
}

.official-sources-grid {
    display: grid;
    gap: .75rem;
}

.official-sources-grid a {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    background: var(--bg);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.official-sources-grid a:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 22px rgba(7, 45, 68, .09);
    transform: translateY(-1px);
}

.official-sources-grid span,
.official-sources-grid strong,
.official-sources-grid small {
    display: block;
}

.official-sources-grid span {
    min-width: 0;
}

.official-sources h2,
.official-sources-grid strong {
    overflow-wrap: anywhere;
}

.official-sources-grid small {
    margin-top: .2rem;
    color: var(--muted);
    line-height: 1.45;
}

.official-sources-grid i {
    color: var(--primary);
    font-size: 1.15rem;
    font-style: normal;
}

.content-section + .content-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.content-section h2 {
    margin-top: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.content-section p,
.content-section li {
    max-width: 780px;
    color: var(--muted);
}

.content-section li + li {
    margin-top: .55rem;
}

.step-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: journey-step;
}

.step-list li {
    position: relative;
    min-height: 56px;
    margin: 0;
    padding: 3px 0 22px 50px;
    counter-increment: journey-step;
}

.step-list li + li {
    margin-top: 0;
}

.step-list li::before {
    content: counter(journey-step);
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(7, 89, 133, .2);
    font-size:16px;
}

.step-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 2px;
    background: #b7d7e7;
    background: color-mix(in srgb, var(--primary) 32%, var(--border));
}

.content-cta {
    align-self: start;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.content-cta h2 {
    margin: .35rem 0;
    font-size: 1.35rem;
}

.content-cta p {
    color: var(--muted);
}

.content-cta .button {
    margin-top: .6rem;
}

.content-planner-cta {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-top: 4px solid var(--accent);
    background: linear-gradient(145deg, #f7fbfd, #eaf5fa);
    box-shadow: 0 16px 38px rgba(7, 45, 68, .1);
}

.content-planner-cta::after {
    content: "⇄";
    position: absolute;
    top: -1.6rem;
    right: -1rem;
    color: rgba(7, 89, 133, .055);
    font-size: 8rem;
    line-height: 1;
    transform: rotate(-12deg);
    pointer-events: none;
}

.content-planner-cta.is-airport::after {
    content: "✈";
}

.content-planner-cta > * {
    position: relative;
    z-index: 1;
}

.content-planner-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(7, 89, 133, .22);
}

.content-planner-icon svg {
    width: 1.5rem;
    fill: currentColor;
}

.content-planner-cta.is-generic .content-planner-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-planner-cta h2 {
    margin-bottom: .55rem;
    font-size: 1.55rem;
    line-height: 1.15;
}

.content-planner-cta > p {
    margin-top: 0;
    font-size: .92rem;
    line-height: 1.55;
}

.content-planner-cta form {
    margin-top: 1.25rem;
}

.content-planner-cta label {
    font-size: .83rem;
}

.content-planner-cta select {
    background-color: #fff;
}

.content-planner-cta label:nth-of-type(2) select {
    border-color: #7fb6ce;
    color: var(--primary);
    background-color: #fff;
    font-weight: 800;
}

.content-planner-cta button {
    display: flex;
    width: 100%;
    gap: .5rem;
    margin-top: .25rem;
}

.content-planner-links {
    display: flex;
    gap: .8rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #cddfe8;
}

.content-planner-links a {
    font-size: .78rem;
    font-weight: 800;
}

.content-section > .button,
.notice + .button {
    margin-top: 1.1rem;
}

.tool-box {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.embedded-planner {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.embedded-planner form {
    display: grid;
    gap: 1rem;
}

@media (min-width: 620px) {
    .embedded-planner form {
        grid-template-columns: 1fr 1fr auto;
        align-items: end;
    }
}

.related-grid {
    display: grid;
    gap: 1rem;
}

.related-card {
    display: block;
    padding: 1.25rem;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.related-card strong,
.related-card span {
    display: block;
}

.related-card span {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .92rem;
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

@media (min-width: 760px) {
    .content-page {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-planner-cta {
        position: sticky;
        top: 94px;
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 560px) {
    .contact-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
