/* Shared brand colors and typography for index.html. */
.home-upgrade {
    --home-blue: #02549c;
    --home-deep: #102e4e;
    --home-red: #c82127;
    --home-ink: #173450;
    --home-text: #40556b;
    --home-line: #dbe5f0;
    --home-muted: #f4f8fc;
    --home-radius: 16px;
    --home-edge: clamp(16px, 4vw, 48px);
}
.home-upgrade [hidden] { display: none !important; }
.home-upgrade :is(.home-shell, .home-expert) :focus-visible, .home-upgrade :is(.home-expert-trigger, .home-whatsapp):focus-visible { outline: 3px solid #358fe4; outline-offset: 3px; }
.home-upgrade .home-skip { position: fixed; z-index: 10001; inset: 12px auto auto 12px; padding: 12px; background: #fff; transform: translateY(-150%); }
.home-upgrade .home-skip:focus { transform: none; }

.home-shell { width: min(100% - 2 * var(--home-edge), 1184px); margin-inline: auto; }
.home-upgrade main { color: var(--home-text); }
.home-upgrade main .home-section p { font-size: 1rem; line-height: 1.65; }
.home-upgrade main .home-section :is(h2,h3) { color: var(--home-ink); }
.home-upgrade main .home-section h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; }
.home-upgrade main .home-section h3 { margin: 0; font-size: 1.17rem; line-height: 1.3; }
.home-upgrade main .home-section [id] { scroll-margin-top: 90px; }
.home-upgrade .home-shell :is(a,button,summary,input,select,textarea) { scroll-margin-block: 80px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.home-upgrade .home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font: 700 .875rem/1.35 "Open Sans", sans-serif; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease; cursor: pointer; }
.home-upgrade .home-button--primary { color: #fff; background: var(--home-red); }
.home-upgrade .home-button--primary:hover { color: #fff; background: #a71c21; }
.home-upgrade .home-button--light { color: #fff; border-color: #d4e4f4; background: #102e4e55; }
.home-upgrade .home-button--light:hover { color: var(--home-deep); background: #fff; }
.home-upgrade .home-button--outline { color: var(--home-blue); border-color: #b6cde2; background: #fff; }
.home-upgrade .home-button--outline:hover { color: var(--home-deep); background: #eaf4fd; }

.home-section { padding-block: clamp(48px, 7vw, 94px); }
.home-section--muted { background: var(--home-muted); }
.home-section-heading { margin-bottom: clamp(22px, 3.4vw, 38px); }
.home-section-heading h2::before, .home-mentor h2::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 13px; background: var(--home-red); }
.home-section-heading p { margin: 12px 0 0; max-width: 60ch; }
.home-grid, .home-stats-grid, .home-destinations, .home-journey { display: grid; gap: 16px; margin: 0; padding: 0; }
.home-stats-grid, .home-destinations, .home-journey, .home-blog { list-style: none; }
.home-stats { position: relative; border-bottom: 1px solid var(--home-line); padding-block: clamp(20px, 4vw, 38px); background: #edf5fc; }
.home-stats-grid { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.home-stats-grid li { display: flex; align-items: center; border: 1px solid #285783; gap: 16px; padding: clamp(16px, 2.5vw, 28px); border-radius: var(--home-radius); background: linear-gradient(125deg, #102e4e, #174e80); box-shadow: 0 8px 20px #12345919; }
.home-stats-grid svg { flex: none; box-sizing: content-box; padding: 10px; border: 1px solid #ffffff52; border-radius: 12px; background: #ffffff16; color: #e1f2ff; }
.home-stats-grid strong { display: block; font-family: Roboto, sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 4px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; }
.home-stats-grid span { font-weight: 600; color: #e4f1ff; font-size: .9rem; }
.home-card { min-width: 0; border: 1px solid var(--home-line); border-radius: var(--home-radius); background: #fff; }
.home-card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px; border-radius: 10px; color: var(--home-blue); background: #eaf4fd; }
.home-benefit, .home-contact-details, .home-callback { padding: clamp(18px, 3vw, 30px); }
.home-benefit p, .home-journey p { margin: 8px 0 0; }

.home-destinations { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 10px; }
.home-destinations a { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 10px; border: 1px solid var(--home-line); border-radius: 10px; color: var(--home-ink); background: #fff; font-weight: 700; text-decoration: none; }
.home-destinations a:hover { color: var(--home-blue); border-color: #94b9dd; background: #f7fbff; }
.home-destinations a > img { width: 32px; height: 24px; object-fit: cover; border-radius: 3px; }
.home-destinations span { flex: 1; font-size: .83rem; line-height: 1.25; }
.home-destinations svg { flex: none; width: 15px; color: var(--home-blue); }
.home-journey { position: relative; gap: 0; }
.home-journey li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.home-journey li:not(:last-child)::before { position: absolute; content: ""; width: 1px; top: 36px; bottom: 0; left: 20px; background: #aac7e4; }
.home-journey li > span { position: relative; display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #bed4ea; border-radius: 50%; background: #ecf5fe; color: var(--home-blue); font: 700 .85rem Roboto, sans-serif; }
.home-journey li > div { padding-top: 7px; }
.home-service { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.home-service:hover, .home-service:focus-within { border-color: #a5c4e0; box-shadow: 0 10px 24px #12345912; }
.home-service > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; background: #eaf4fd; }
.home-service > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(18px, 2.5vw, 25px); }
.home-service p { margin: 0 0 3px; }
.home-service .home-button { margin-top: auto; }
.home-mentor { display: grid; align-items: center; gap: clamp(24px, 5vw, 64px); }
.home-mentor-photo { width: min(100%, 450px); border: 1px solid var(--home-line); border-radius: var(--home-radius); overflow: hidden; background: #eaf4fd; }
.home-mentor-photo img { display: block; width: 100%; height: auto; }
.home-upgrade .home-mentor h3 { margin-top: 19px; font-size: 1.45rem; }
.home-mentor-title { margin: 4px 0 12px; color: var(--home-blue); font-weight: 700; }
.home-faq { max-width: 850px; }
.home-faq details { margin-bottom: 10px; border: 1px solid var(--home-line); border-radius: 10px; background: #fff; }
.home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 10px; color: var(--home-ink); font-weight: 700; list-style: none; cursor: pointer; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; flex: none; color: var(--home-blue); font-size: 1.25rem; }
.home-faq details[open] summary::after { content: "−"; }
.home-faq p { margin: 0; padding: 0 16px 16px; }
.home-contact-grid { display: grid; gap: 16px; }
.home-contact-details address { margin-top: 12px; font-style: normal; }
.home-contact-details ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; }
.home-contact-details a, .home-expert-links a { color: var(--home-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.home-map { display: block; margin-top: 18px; width: 100%; height: 240px; border: 0; border-radius: 9px; }
.home-callback > p { margin-top: 10px; }
.home-form { display: grid; gap: 10px; }
.home-form label { display: grid; gap: 4px; min-width: 0; margin: 0; color: var(--home-ink); font-weight: 600; font-size: .875rem; }
.home-form input, .home-form select, .home-form textarea { width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid #a7bfd6; border-radius: 7px; background: #fff; color: var(--home-ink); font: 400 16px/1.35 "Open Sans", sans-serif; }
.home-form textarea { resize: vertical; }
.home-form button { justify-self: start; }

.home-expert-trigger, .home-whatsapp { position: fixed; z-index: 850; bottom: max(14px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 9px; min-height: 52px; border: 0; border-radius: 28px; box-shadow: 0 3px 18px #102e4e40; cursor: pointer; }
.home-expert-trigger { left: max(12px, env(safe-area-inset-left)); padding: 5px 12px 5px 5px; color: var(--home-ink); background: #fff; border: 1px solid var(--home-line); font: 700 .75rem/1.2 "Open Sans", sans-serif; }
.home-expert-trigger > span:last-child { max-width: 110px; }
.home-expert-avatar { position: relative; display: block; flex: none; width: 38px; height: 38px; }
.home-expert-avatar img, .home-expert-intro img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; object-position: 50% 30%; }
.home-expert-avatar::after, .home-whatsapp::after { content: ""; position: absolute; inset: -2px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; animation: home-floating-pulse 2.6s 2 ease-out; }
.home-expert-avatar::after { color: var(--home-blue); }
.home-online { position: absolute; z-index: 1; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; right: 0; bottom: 0; background: #138442; }
.home-upgrade .home-whatsapp { right: max(12px, env(safe-area-inset-right)); justify-content: center; width: 54px; height: 54px; color: #fff; background: #25d366; }
.home-upgrade .home-whatsapp svg { color: #093b21; }
.home-upgrade .home-whatsapp::after { color: #149547; }
.home-whatsapp > span { position: absolute; right: 0; bottom: calc(100% + 8px); width: max-content; max-width: 80vw; padding: 7px 10px; border-radius: 6px; color: #fff; background: var(--home-deep); font-size: .8rem; opacity: 0; pointer-events: none; }
.home-whatsapp:hover > span, .home-whatsapp:focus-visible > span { opacity: 1; }
@keyframes home-floating-pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.28); } }
.home-expert { position: fixed; box-sizing: border-box; top: auto; left: max(10px, env(safe-area-inset-left)); right: auto; bottom: 78px; margin: 0; width: min(390px, calc(100% - 20px)); max-height: calc(100dvh - 92px); padding: 18px; border: 1px solid var(--home-line); border-radius: var(--home-radius); color: var(--home-text); background: #fff; box-shadow: 0 18px 55px #102e4e55; overscroll-behavior: contain; }
.home-expert::backdrop { background: #06182f55; }
.home-upgrade:has(.home-expert[open]) { overflow: hidden; }
.home-expert-close { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-ink); background: #fff; font: 400 24px/1 Roboto, sans-serif; cursor: pointer; }
.home-expert-intro { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding-right: 41px; }
.home-expert-intro img { width: 48px; height: 48px; }
.home-expert-intro h2 { margin: 0; color: var(--home-ink); font-size: 1.15rem; line-height: 1.15; }
.home-expert-intro p { margin: 4px 0 0; font-size: .8rem; line-height: 1.3; }
.home-expert > p { margin: 12px 0; line-height: 1.4; }
.home-expert-links { display: flex; gap: 4px 14px; flex-wrap: wrap; margin: 10px 0; }
.home-expert-links a { display: inline-flex; align-items: center; min-height: 35px; font-size: .82rem; }

@media (min-width: 600px) {
    .home-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-mentor { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
    .home-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-destinations { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
}
@media (min-width: 992px) {
    .home-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-destinations { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .home-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .home-journey li:not(:last-child)::before { content: none; }
    .home-expert-trigger { left: 6px; }
    .home-expert-trigger > span:last-child { max-width: 85px; }
    .home-expert { bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (min-width: 1200px) {
    .home-upgrade { --home-edge: clamp(62px, 5vw, 80px); }
    .home-expert-trigger { flex-direction: column; top: 50%; bottom: auto; transform: translateY(-50%); padding: 5px 5px 10px; border-radius: 25px; }
    .home-expert-trigger > span:last-child { writing-mode: vertical-rl; transform: rotate(180deg); }
    .home-expert { left: 66px; top: 50%; bottom: auto; transform: translateY(-50%); }
}
@media (max-width: 599px) {
}
@media (prefers-reduced-motion: reduce) {
    .home-upgrade *, .home-upgrade *::before, .home-upgrade *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.home-journal { background: #f4f8fc; }
.home-journal-heading { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; }
.home-blog { display: grid; gap: 16px; margin: 0; padding: 0; }
.home-blog li { min-width: 0; }
.home-upgrade .home-article { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: 16px; color: var(--home-ink); background: #fff; text-decoration: none; transition: box-shadow .2s ease, border-color .2s ease; }
.home-upgrade .home-article:hover { border-color: #9db9d5; box-shadow: 0 12px 24px #12345914; }
.home-article > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #dfeaf5; }
.home-article-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(18px, 2.5vw, 24px); }
.home-article-copy time { color: var(--home-text); font-size: .78rem; font-weight: 600; }
.home-upgrade .home-article-copy h3 { font-size: 1.25rem; }
.home-upgrade .home-article-copy p { margin: 2px 0 8px; font-size: .9rem; }
.home-article-action { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--home-blue); font-size: .875rem; font-weight: 700; }
.home-article-action > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ebf4fc; }

.home-cta { padding-block: clamp(28px, 5vw, 54px); background: #f4f8fc; }
.home-cta-panel { display: grid; gap: 26px; align-items: center; padding: clamp(24px, 5vw, 58px); border-radius: 24px; background: radial-gradient(ellipse at 100% 0%, #1c62a2, transparent 68%), #102e4e; }
.home-cta-copy { min-width: 0; }
.home-upgrade .home-cta h2 { max-width: 25ch; margin: 0 0 22px; color: #fff; font-size: clamp(1.7rem, 4vw, 2.75rem); line-height: 1.14; letter-spacing: -.025em; }
.home-cta h2 span { color: #cce8ff; }
.home-cta-mentor { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; border: 1px solid #ffffff55; border-radius: 13px; background: #0c2948a8; color: #fff; }
.home-cta-mentor img { width: 62px; height: 62px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.home-cta-mentor figcaption { line-height: 1.4; }
.home-cta-mentor figcaption span { display: block; color: #e0eeff; font-size: .82rem; }
@media (min-width: 600px) {
    .home-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 880px) {
    .home-cta-panel { grid-template-columns: minmax(0, 1fr) minmax(235px, 30%); }
}
@media (min-width: 992px) {
    .home-blog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-cta-mentor { gap: 16px; padding: 16px; }
    .home-cta-mentor img { width: 76px; height: 76px; }
}

/* Contain the original scrolling tagline at narrow viewport widths. */
@media (max-width: 768px) {
    .home-upgrade .scroll-mobile { position: relative; contain: paint; }
}

.home-next { padding-block: clamp(32px, 5vw, 64px); }
.home-next-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.home-upgrade .home-next-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: clamp(18px, 2.5vw, 25px);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: #fff;
    color: var(--home-text);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.home-upgrade .home-next-card:hover {
    border-color: #9db9d5;
    box-shadow: 0 8px 24px #12345915;
}
.home-next-card .home-card-icon { margin-bottom: 2px; }
.home-upgrade main .home-next-card p { margin: 0 0 6px; font-size: .92rem; }
.home-next-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--home-blue);
    font-size: .875rem;
    font-weight: 700;
}
.home-next-action > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eaf4fd; }
@media (min-width: 768px) {
    .home-next-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


.home-review { min-width: 0; overflow: hidden; border: 1px solid var(--home-line); border-radius: var(--home-radius); background: #fff; box-shadow: 0 6px 20px #1234590d; }
.home-review-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--home-deep); }
.home-review-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-upgrade .home-review-media:focus-visible { outline-offset: -4px; }
.home-review-play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--home-red); box-shadow: 0 4px 16px #0006; }
.home-review-media:hover .home-review-play { background: #a61921; }
.home-review-play svg { margin-left: 3px; }
.home-review-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--home-deep); }
.home-review-copy { padding: clamp(18px, 3vw, 24px); }
.home-upgrade main .home-review-copy .home-review-category { margin: 0 0 7px; color: var(--home-blue); font-size: .78rem; font-weight: 700; }
.home-upgrade main .home-review-copy h3 + p { margin: 8px 0 0; font-size: .9rem; }

.home-stats {
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(26px, 5vw, 64px);
    background: #102e4e;
    scroll-margin-top: 90px;
}
.home-stats::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 210px;
    background:
        linear-gradient(0deg, #102e4e, transparent 78%),
        linear-gradient(90deg, #102e4e 8%, #102e4eb3 49%, transparent 93%),
        url("../images/home-stats-flight.webp") right 54% / min(76%, 390px) auto no-repeat;
    content: "";
}
@media (min-width: 1000px) {
    .home-stats-panel { padding-right: clamp(210px, 24vw, 370px); }
    .home-stats::before {
        inset: 0 0 0 auto;
        width: 52%;
        height: auto;
        background:
            linear-gradient(90deg, #102e4e 2%, #102e4ec9 28%, transparent 66%),
            url("../images/home-stats-flight.webp") 50% 55% / cover no-repeat;
    }
    .home-stats-panel .home-stats-grid li { padding-inline: 14px; }
    .home-stats-panel .home-stats-grid li:first-child { padding-left: 0; }
    .home-stats-panel .home-stats-grid svg { display: none; }
}
.home-stats-grid { gap: 0; grid-template-columns: minmax(0, 1fr); }
.home-stats-grid li {
    gap: 14px;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid #b4d9fb55;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.home-stats-grid li:last-of-type { padding-bottom: 0; }
.home-stats-grid svg { order: 2; margin-left: auto; }
.home-stats-grid strong { color: #fff; font-size: clamp(2.65rem, 6vw, 4.45rem); letter-spacing: -.045em; }
.home-stats-grid span { color: #dceeff; }
.home-testimonials { background: linear-gradient(180deg, #edf5fc 0, #f7fafd 48%, #fff 100%); }
.home-review--featured { display: grid; margin-bottom: 22px; border-radius: 22px; }
.home-review--featured .home-review-copy { align-self: center; padding: clamp(22px, 5vw, 54px); }
.home-upgrade main .home-review--featured h3 { font-size: clamp(1.65rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; }
.home-upgrade main .home-review--featured h3 + p { margin-block: 14px 18px; font-size: 1rem; }
.home-upgrade .home-review-watch { color: var(--home-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.home-review--featured .home-review-play { inset: 50% auto auto 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); }
.home-videos .home-review { transition: box-shadow .18s ease, border-color .18s ease; }
.home-videos .home-review:focus-within, .home-videos .home-review:hover { border-color: #9db9d5; box-shadow: 0 10px 24px #12345919; }

@media (min-width: 650px) {
    .home-stats-grid { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
    .home-stats-grid li { align-items: flex-start; padding: 18px 15px 0; }
    .home-stats-grid li:not(:first-child) { border-left: 1px solid #b4d9fb55; }
    .home-stats-grid li:first-child { padding-left: 0; }
    .home-stats-grid svg { display: none; }
    .home-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .home-stats-grid li { padding-inline: 22px; }
    .home-stats-grid svg { display: block; }
    .home-review--featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .home-videos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-videos .home-review { grid-column: span 2; }
    .home-videos .home-review:nth-last-child(-n + 2) { grid-column: span 3; }
}
