@font-face {
    font-family: 'Signifier';
    src: url('img/fonts/Signifier-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Signifier';
    src: url('img/fonts/Signifier-MediumItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    /* Not quite sure which one matches, using MediumItalic for the highlight */
}

@font-face {
    font-family: 'Signifier';
    src: url('img/fonts/Signifier-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


:root {
    --bg-color: #fff9f2;
    --text-dark: #202d54;
    --text-regular: #000000;
    --highlight-blue: #88dbcf;
    --dot-blue: #aeefe6;
    --btn-bg: #aeefe6;
    --btn-text: #2e6e68;
    --turquoise-accent: #25447d;
    --alt-bg: #f8fbf9;
    /* Super pale, elegant off-white/sage for section backgrounds */
    /* accent on turquoise backgrounds */

    /* ── Spacing scale ── */
    --space-xs: 24px;
    /* component inner gaps */
    --space-sm: 48px;
    /* tight section padding */
    --space-md: 80px;
    /* standard section vertical padding */
    --space-lg: 120px;
    /* hero / feature sections */
    --space-gutter: 50px;
    /* horizontal page gutter */
    --space-gutter-sm: 30px;
    /* horizontal gutter on mobile */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-regular);
    overflow-x: hidden;
}

/* Ensure all major descriptive paragraphs are consistently sized */
.hero-description,
.about-text p,
.doctor-text p,
.process-text,
.travel-desc,
.faq-answer p,
.review-text {
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    opacity: 0.85;
}

/* Contact section runs on a dark background — override text colors */
.contact-subtitle {
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    opacity: 1;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--btn-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.slide-up {
    transform: translateY(-100%);
    pointer-events: none;
}

.main-wrapper {
    opacity: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 46px;
    max-width: 1440px;
    margin: 0 auto;
}

.main-wrapper.hidden .header,
.main-wrapper.hidden .hero-image-container,
.main-wrapper.hidden .hero-title,
.main-wrapper.hidden .hero-description,
.main-wrapper.hidden .btn-primary {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(12px);
}

.header,
.hero-image-container,
.hero-title,
.hero-description,
.btn-primary {
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform, filter;
}

/* Staggered entrance */
.header {
    transition-delay: 0.1s;
}

.hero-image-container {
    transition-delay: 0.3s;
}

.hero-title {
    transition-delay: 0.4s;
}

.hero-description {
    transition-delay: 0.5s;
}

.btn-primary {
    transition-delay: 0.6s;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    margin-bottom: 42px;
    background-color: rgba(255, 249, 242, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Needed so the mobile dropdown anchors to the header */
.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px var(--space-gutter);
    gap: 24px;
}

.logo {
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 42px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 26px;
    flex-wrap: nowrap;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav a:hover {
    opacity: 0.7;
}

/* Hidden on desktop — only shown in mobile dropdown */
.nav-menu-cta {
    display: none;
}

/* Right cluster: Book Now + lang + hamburger */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-cta {
    padding: 10px 22px !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.lang-switcher-wrapper {
    display: flex;
    align-items: center;
}

.lang-select {
    appearance: none;
    background-color: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    padding: 4px 20px 4px 8px;
    font-family: inherit;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
}

.lang-select:focus {
    outline: none;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    display: flex;
    gap: 31px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-gutter) var(--space-md);
    align-items: flex-start;
}

.hero-image-container {
    flex: 0 0 calc(50% - 15.5px);
    /* Half width minus half of the gap */
    border-radius: 24px;
    overflow: hidden;
    max-height: 550px;
    box-shadow: 0px 40px 80px 0px rgba(1, 26, 73, 0.08);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 5 / 5;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.hero-title {
    font-family: 'Signifier', serif;
    font-weight: 300;
    font-size: 54px;
    line-height: 63px;
    color: var(--text-dark);
    text-align: center;
    max-width: 513px;
    margin-bottom: 46px;
}

.highlight-italic {
    font-weight: 100;
    font-style: italic;
    color: var(--highlight-blue);
}

.highlight-dot {
    color: var(--dot-blue);
    font-style: normal;
}

.hero-description {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    max-width: 513px;
    margin-bottom: 46px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 40px;
    border-radius: 9999px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--text-dark);
    border-radius: inherit;
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: #fff;
}

.btn-primary:hover::before {
    transform: translateY(0);
}


/* ─── Scroll Fill Text Section ─────────────────────────────────────────────── */
.scroll-fill-section {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-gutter) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.scroll-fill-text {
    font-family: 'Inter', serif;
    font-weight: 500;
    font-size: clamp(28px, 3.2vw, 36px);
    line-height: 1.43;
    text-indent: 30%;
    /* mirrors the Figma indent for the first line */
    max-width: 100%;
}

.scroll-fill-text .word {
    display: inline;
    position: relative;
    /* Use a background gradient that fills based on the --fill variable */
    background: linear-gradient(to right, var(--text-dark) var(--fill, 0%), rgba(0, 0, 0, 0.15) var(--fill, 0%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Optional: Small transition on --fill property smoothly animates the letter fill as you scroll.
       However, since scroll events fire constantly, direct property mapping usually looks smooth enough.
       Let's add a tiny transition for smoothing out scroll stepping. */
    transition: --fill 0.1s ease-out;
}

@property --fill {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

/* We don't need .filled or .revealed classes anymore since JS updates --fill directly */

@media (max-width: 768px) {
    .scroll-fill-section {
        padding: var(--space-md) var(--space-gutter-sm);
    }

    .scroll-fill-text {
        color: rgba(0, 0, 0, 0.85);
    }
}

/* ─── About Section ───────────────────────────────────────────────────────── */
.about-section {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-gutter);
    box-sizing: border-box;
}

.about-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 0;
    background-color: var(--btn-bg);
    border-radius: 24px;
    overflow: visible;
    position: relative;
}

.about-content {
    flex: 1;
    padding: var(--space-sm) 0 var(--space-sm) var(--space-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.about-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.1;
}

.about-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--alt-bg);
}

.about-text p {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-dark);
    max-width: 540px;
    /* aligning with hero max-width roughly */
    opacity: 0.85;
    margin-bottom: 24px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* No wrapper — image sits directly in the flex row and bleeds past the card */
.about-image {
    flex: 0 0 45%;
    width: 65%;
    height: auto;
    display: block;
    object-fit: contain;
    align-self: flex-end;
    margin-top: -561px;
    margin-bottom: 0px;
    margin-right: -93px;
    border-radius: 0;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.12));
}

/* ─── Cases / Gallery Section ─────────────────────────────────────────────── */
.cases-section {
    width: 100%;
    padding: var(--space-lg) 0 var(--space-xs);
}

.cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.cases-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin-top: 12px;
}

.cases-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 100px;
    /* Editorial rounded corners */
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.case-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rotate-180 {
    transform: rotate(180deg);
}

.case-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.case-image-wrapper.after {
    width: 50%;
    z-index: 2;
    border-right: 2px solid #d4a373;
    /* Premium gold divider */
}

.case-image-wrapper.after img {
    /* Maintain full width so it doesn't squish when container shrinks */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* We need a specific width for the after image because its parent container changes width */
/* A common trick: parent has width X, img has width container-width */
.case-image-wrapper.after {
    width: 50%;
    overflow: hidden;
}

.case-image-wrapper.after img {
    max-width: none;
    height: 100%;
    /* We'll handle the exact width in JS to match card width */
}

.case-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 2px;
    background-color: var(--highlight-blue);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
}

.case-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--highlight-blue);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.case-slider-button svg:first-child {
    margin-right: -4px;
}

.case-slider-button svg:last-child {
    margin-left: -4px;
}

.case-label {
    position: absolute;
    bottom: 20px;
    padding: 4px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 15;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    opacity: 0.8;
}

.case-label.before {
    left: 20px;
}

.case-label.after {
    right: 20px;
}

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        border-radius: 60px;
    }
}

/* ─── Experience Section ──────────────────────────────────────────────────────── */
.experience-section {
    width: 100%;
    padding: var(--space-lg) 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.experience-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.exp-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--highlight-blue);
    flex-shrink: 0;
}

.exp-headline {
    font-family: 'Signifier', serif;
    font-weight: 300;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.18;
    color: var(--text-dark);
    margin: 0;
}

.exp-headline em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

/* Logo smile arc, scaled up and centered */
.experience-smile {
    width: min(560px, 75%);
}

.experience-smile svg {
    width: 100%;
    height: auto;
    margin-top: -100px;
}

.logo-fill-path {
    fill: #88dbcf;
    fill-opacity: 0.13;
}

#maskDrawPath {
    stroke-dasharray: 60;
    stroke-dashoffset: var(--smile-offset, 60);
    transition: stroke-dashoffset 0.1s linear;
}

@media (max-width: 768px) {
    .experience-section {
        padding: var(--space-sm) 0 var(--space-md);
        gap: 40px;
    }

    .experience-smile {
        width: min(340px, 85%);
        margin-top: 55px;
    }
}


/* ─── Process Timeline Section ───────────────────────────────────────────── */
.process-section {
    width: 100%;
    height: 400vh;
    /* Scroll hijack length */
    position: relative;
    background-color: var(--bg-color);
}

.process-sticky-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-main-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin-top: 12px;
}

.process-main-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.process-container {
    position: relative;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
    display: flex;
    align-items: center;
    height: 550px;
    /* enough to contain the images */
}

/* Timeline strictly in the center */
.process-progress-tracker {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 60px;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.tracker-line-bg {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 1.5px;
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
    border-radius: 2px;
}

.tracker-line-fill {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 1.5px;
    height: 0%;
    background-color: var(--highlight-blue);
    transform: translateX(-50%);
    border-radius: 2px;
    transition: height 0.1s ease-out, width 0.1s ease-out;
}

.tracker-dots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 8px 0;
    align-items: center;
}

.tracker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    transition: border-color 0.4s ease, background-color 0.4s ease;
}

.tracker-dot.active {
    border-color: var(--highlight-blue);
    background-color: var(--highlight-blue);
}

.process-steps-area {
    position: relative;
    width: 100%;
    flex-grow: 1;
    height: 100%;
}

.process-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.98);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.process-step.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.process-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Image on left, text on right for ALL steps */
.process-image-box {
    width: 46%;
    position: relative;
}

.process-image-box img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.process-number {
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: 'Signifier', serif;
    font-size: 120px;
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
    line-height: 1;
    z-index: 10;
    /* Brought to front */
    text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.4);
}

.process-text-box {
    width: 46%;
    padding: 24px;
}

.process-step-title {
    font-family: 'Signifier', serif;
    font-weight: 300;
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.process-step-desc {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        height: 520px;
    }

    .process-progress-tracker {
        width: 100%;
        height: 40px;
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        margin-bottom: 20px;
    }

    .tracker-line-bg {
        top: 50%;
        left: 8px;
        right: 8px;
        bottom: auto;
        width: auto;
        height: 4px;
        transform: translateY(-50%);
    }

    .tracker-line-fill {
        top: 50%;
        left: 8px;
        width: 0%;
        height: 4px;
        transform: translateY(-50%) !important;
    }

    .tracker-dots {
        flex-direction: row;
        width: 100%;
        padding: 0 8px;
    }

    .process-content-wrapper {
        flex-direction: column;
        justify-content: flex-start;
    }

    .process-image-box {
        width: 85%;
        margin-bottom: 24px;
    }

    .process-text-box {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .process-step-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .process-number {
        top: -30px;
        left: -10px;
        font-size: 80px;
    }
}

/* ─── Travel to Mérida Section ─────────────────────────────────────────────── */
.travel-section {
    width: 100%;
    padding: var(--space-sm) 0;
    margin: var(--space-lg) 0;
    background-color: #f5eedf;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* matching pricing plans */
    border-radius: 2rem;
}

.travel-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
}

.travel-header {
    margin-bottom: 32px;
}

.travel-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin: 16px 0 12px;
    line-height: 1.1;
}

.travel-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.travel-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    opacity: 0.7;
    max-width: 480px;
}

/* Body: two columns */
.travel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left column: header + days */
.travel-left {
    display: flex;
    flex-direction: column;
}

/* Left: day rows */
.travel-days {
    display: flex;
    flex-direction: column;
}

.travel-day {
    padding: 20px 0 0;
    cursor: pointer;
}

.travel-day:first-child {}

.travel-day-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.travel-day-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--highlight-blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.travel-day-label {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    opacity: 0.45;
    transition: opacity 0.3s;
}

.travel-day.active .travel-day-num,
.travel-day.active .travel-day-label {
    opacity: 1;
}

.travel-day.active .travel-day-label {
    font-weight: 500;
}

/* Timer bar — sits flush at the very bottom of each tab row */
.travel-day-bar {
    height: 1.5px;
    background: rgba(42, 50, 75, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
}

.travel-day-fill {
    height: 100%;
    width: 0%;
    background: var(--highlight-blue);
    border-radius: 2px;
    transition: none;
}

/* Right: image + card overlay */
.travel-panel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 640px;
}

.travel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.travel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.travel-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.travel-slide.active .travel-slide-img {
    transform: scale(1.04);
}

.travel-slide-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 20px;
    border-radius: 14px;
    padding: 22px 24px;
}

.travel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.travel-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(42, 50, 75, 0.05);
    color: var(--text-dark);
    letter-spacing: 0.03em;
    border: 0.5px solid rgba(42, 50, 75, 0.12);
}

.travel-tag--dental {
    background: rgba(46, 110, 104, 0.08);
    color: var(--btn-text);
    border-color: rgba(46, 110, 104, 0.18);
}

.travel-tag--explore {
    background: rgba(136, 219, 207, 0.2);
    color: var(--btn-text);
    border-color: rgba(136, 219, 207, 0.35);
}

.travel-desc {
    font-weight: 300;
    color: var(--text-dark);
    opacity: 0.85;
    max-width: 520px;
    font-size: 14px;
    line-height: 24px;
}

/* Bottom amenities strip */
.travel-amenities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 0.5px solid rgba(42, 50, 75, 0.12);
    flex-wrap: wrap;
    gap: 20px;
}

.travel-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.7;
}

.travel-amenity svg {
    flex-shrink: 0;
    color: var(--highlight-blue);
    opacity: 1;
}

@media (max-width: 900px) {
    .travel-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .travel-amenities {
        justify-content: flex-start;
    }
}

/* ─── Pricing Section ──────────────────────────────────────────────────────── */

.pricing-section {
    width: 100%;
    padding: var(--space-md) 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-main-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin-top: 12px;
}

.pricing-main-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #f5eedf;
    /* Matching website bg color better than random white */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    border-radius: 20px;
    padding: 48px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.package-subtitle {
    font-size: 15px;
    color: rgba(42, 50, 75, 0.7);
    margin-bottom: 24px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 40px;
}

.price-amount {
    font-size: 42px;
    font-weight: 500;
    color: var(--text-dark);
    font-family: 'Signifier', serif;
}

.price-currency {
    font-size: 16px;
    color: rgba(42, 50, 75, 0.7);
}

.package-features {
    list-style: none;
    margin-bottom: 48px;
    flex-grow: 1;
}

.package-features li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    /* Fine lines separating features */
    font-size: 14px;
    color: var(--text-regular);
    line-height: 1.5;
}

.package-features li:last-child {
    border-bottom: none;
}

.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--text-dark);
    border-radius: 30px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s cubic-bezier(0.76, 0, 0.24, 1),
        border-color 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
    background: hsla(172, 67%, 81%, 0.194);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--text-dark);
    border-radius: inherit;
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: -1;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--text-dark);
}

.btn-outline:hover::before {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        gap: 24px;
    }

    .pricing-card {
        padding: 40px 32px;
    }
}

/* ─── FAQs ─────────────────────────────────────────────────────────────────── */
.faq-container {
    max-width: 800px;
    margin: 80px auto 0px;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title {
    font-family: 'Signifier', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--text-dark);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--highlight-blue);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-dark);
    opacity: 0.85;
}

.faq-answer>p,
.faq-answer>ul,
.faq-answer>ol,
.faq-answer>div {
    padding-bottom: 32px !important;
}

.faq-bullets,
.faq-numbers,
.faq-checkmarks {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-bullets li,
.faq-numbers li,
.faq-checkmarks li {
    margin-bottom: 6px;
}

.faq-checkmarks {
    list-style: none;
    padding-left: 0;
}

.faq-checkmarks li {
    position: relative;
    padding-left: 24px;
}

.faq-checkmarks li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--highlight-blue);
}

/* ─── Doctor Section ───────────────────────────────────────────────────────── */
.doctor-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--bg-color);
    padding: var(--space-lg) 0 200px;
}

.doctor-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
    display: flex;
    align-items: center;
    gap: 80px;
}

.doctor-image-wrapper {
    flex: 0 0 45%;
    position: relative;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.doctor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doctor-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin: 20px 0 12px;
    line-height: 1.1;
}

.doctor-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.doctor-subtitle {
    /* inherits from global body text rule */
    margin-bottom: 32px;
}

.doctor-text p {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-dark);
    max-width: 540px;
    margin-bottom: 24px;
    opacity: 0.85;
}

.doctor-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .doctor-container {
        flex-direction: column;
        padding: 0 var(--space-gutter-sm);
        gap: 40px;
    }

    .doctor-image-wrapper {
        width: 100%;
        max-width: 500px;
    }
}

/* ─── Contact Section ──────────────────────────────────────────────────────── */
.contact-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: var(--space-md) 0 0;
    background-color: var(--turquoise-accent);
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -48px;
    left: 0;
    width: 100%;
    height: 48px;
    /* Gentle, sweeping elliptical arch stretching across the screen */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background-color: var(--turquoise-accent);
    z-index: 1;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
}


.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.contact-subtitle {
    /* inherits from global body text rule */
    max-width: 480px;
    margin: 0 auto;
}

.contact-info-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    text-align: left;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-blue);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
}

.contact-info-content strong {
    font-size: 13px;
    font-weight: 500;
    color: var(--highlight-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-info-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.contact-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

/* On the dark navy contact section, labels need to be light */
.contact-section .form-group label {
    color: #ffffff;
    opacity: 1;
}

.contact-section .exp-label {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    appearance: none;
}

.form-group select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-blue);
    box-shadow: 0 0 0 3px rgba(136, 219, 207, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: center;
    margin-top: 16px;
    padding: 16px 40px;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* ─── Reviews Section ──────────────────────────────────────────────────────── */
.reviews-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: var(--space-md) 0 var(--space-lg);
    background-color: #f5eedf;
    /* matching pricing plans */
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-title {
    font-family: 'Signifier', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.reviews-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.reviews-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-dark);
}

.rating-google {
    font-weight: 500;
    margin-right: 4px;
    font-size: 20px;
}

.rating-number {
    font-weight: 600;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars svg {
    width: 20px;
    height: 20px;
}

.rating-count {
    color: rgba(42, 50, 75, 0.7);
    font-size: 14px;
}

.marquee-viewport {
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 380px;
    margin-right: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.review-quote-icon {
    color: var(--btn-bg);
    /* Deep orange/coral from the mockup */
    font-size: 48px;
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 8px;
}

.review-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.review-more {
    color: #ff8a65;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    display: inline-block;
}

.review-more:hover {
    text-decoration: underline;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-city {
    font-size: 12px;
    color: rgba(42, 50, 75, 0.5);
    font-weight: 400;
}

.author-stars {
    display: flex;
    gap: 2px;
}

.author-stars svg {
    width: 14px;
    height: 14px;
    fill: #FBBC05;
}

@media (max-width: 1024px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        width: 100%;
        max-width: 500px;
    }
}

/* ─── Scroll Reveal (blur-in) ───────────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
    transition:
        opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform, filter;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ─── FAQ Section ──────────────────────────────────────────────────────────── */
.faq-section {
    width: 100%;
    padding: calc(var(--space-xl) * 1.5) 0;
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 1240px;
    margin: 120px auto 60px;
    padding: 0 var(--space-gutter);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.faq-title-col {
    flex: 0 0 400px;
}

.faq-title {
    font-family: 'Signifier', serif;
    font-weight: 300;
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--text-dark);
    line-height: 1.1;
    margin: 0;
}

.faq-title em {
    font-style: italic;
    font-weight: 100;
    color: var(--highlight-blue);
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-family: inherit;
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
}

/* Original .faq-icon and .faq-answer styles are retained further up in this file */

@media (max-width: 900px) {
    .faq-container {
        flex-direction: column;
    }

    .faq-title-col {
        position: static;
        flex: none;
        width: 100%;
    }
}


/* ─── Footer ───────────────────────────────────────────────────────── */
.site-footer {
    --progress: 0;

    /* Dynamically calculate size based on progress - more dramatic inset */
    width: calc(100vw - (120px * (1 - var(--progress))));
    position: relative;
    left: 50%;
    right: 50%;
    /* Keep it centered but heavily inset its initial state (60px each side) */
    margin-left: calc(-50vw + (60px * (1 - var(--progress))));
    margin-right: calc(-50vw + (60px * (1 - var(--progress))));

    /* Dramatic corners and large bottom bumper margin */
    border-radius: calc(64px * (1 - var(--progress)));
    margin-bottom: calc(64px * (1 - var(--progress)));

    background-color: var(--text-dark);
    color: var(--bg-color);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-lg);
    overflow: hidden;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered horizontally */
    text-align: center;
    /* Centered text */
}

.footer-logo {
    height: 48px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.copyright {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-info {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    /* keep icons aligned to top of lines */
    text-align: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--bg-color);
    opacity: 0.85;
}

.footer-info-item:last-child {
    margin-bottom: 0;
}

.footer-info-item svg {
    width: 18px;
    height: 18px;
    color: var(--highlight-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-info-item p {
    margin: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: var(--highlight-blue);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    text-decoration: none;
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--highlight-blue);
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 48px;
    }

    .footer-right {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-col {
        flex: 1;
        min-width: 120px;
    }
}

/* ─── Responsive Breakpoints ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .main-wrapper {
        padding-top: var(--space-gutter-sm);
    }

    .header-container {
        padding: 16px var(--space-gutter-sm);
    }

    .nav ul {
        gap: 18px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero-section {
        flex-direction: column;
        padding: 0 var(--space-gutter-sm) var(--space-md);
    }

    .hero-image-container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    /* ── Header ── */
    .header-container {
        padding: 14px 20px;
        flex-wrap: nowrap;
    }

    .nav {
        /* Slide-down transition via max-height + opacity */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 249, 242, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 999;
        /* Closed state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition:
            max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.28s ease,
            transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.open {
        max-height: 480px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding: 8px 20px 20px;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
    }

    /* Each item: hidden + shifted right by default (closed state) */
    .nav ul li {
        opacity: 0;
        transform: translateX(20px);
        /* Close: quick uniform fade — no delay, short duration */
        transition:
            opacity 0.15s ease,
            transform 0.15s ease;
    }

    /* Open: slide in with stagger */
    .nav.open ul li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.open ul li:nth-child(1) {
        transition: opacity 0.3s ease 0.05s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
    }

    .nav.open ul li:nth-child(2) {
        transition: opacity 0.3s ease 0.10s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.10s;
    }

    .nav.open ul li:nth-child(3) {
        transition: opacity 0.3s ease 0.15s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
    }

    .nav.open ul li:nth-child(4) {
        transition: opacity 0.3s ease 0.20s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.20s;
    }

    .nav.open ul li:nth-child(5) {
        transition: opacity 0.3s ease 0.25s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s;
    }

    .nav.open ul li:nth-child(6) {
        transition: opacity 0.3s ease 0.30s, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.30s;
    }

    .nav ul li a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }

    /* CTA in mobile nav menu */
    .nav-menu-cta {
        display: list-item;
        margin-top: 8px;
    }

    .nav-menu-cta a {
        display: inline-flex !important;
        padding: 12px 28px !important;
        background-color: var(--btn-bg);
        color: var(--btn-text) !important;
        border-radius: 9999px;
        font-weight: 600 !important;
        font-size: 15px !important;
        width: auto;
        text-decoration: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hide the header-right CTA on mobile (it's now in the menu) */
    .nav-cta {
        display: none;
    }

    /* Smaller logo on mobile */
    .logo img {
        height: 30px;
    }

    /* ── Hero ── */
    .hero-section {
        flex-direction: column;
        padding: 0 20px 60px;
    }

    .hero-image-container {
        width: 100%;
        max-height: 320px;
    }

    .hero-content {
        padding-top: 32px;
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.15;
        text-align: left;
        margin-bottom: 24px;
    }

    .hero-description {
        text-align: left;
        max-width: 100%;
        margin-bottom: 28px;
    }

    /* ── Scroll fill ── */
    .scroll-fill-text {
        font-size: clamp(20px, 5vw, 28px);
        text-indent: 0;
    }

    /* ── About ── */
    .about-section {
        padding: 0 0 40px;
        overflow: hidden;
    }

    .about-container {
        flex-direction: column;
        border-radius: 0;
        overflow: hidden;
        margin: 0;
    }

    .about-content {
        padding: 32px 24px;
        gap: 16px;
    }

    .about-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .about-image {
        display: none !important;
        margin: 0 !important;
    }

    /* ── Experience ── */
    .experience-section {
        padding: 40px 20px;
        gap: 32px;
        position: relative;
        z-index: 0;
    }

    .exp-headline {
        font-size: clamp(28px, 7.5vw, 36px);
    }


    /* ── Process ── */
    .process-section {
        height: auto;
    }

    .process-sticky-stage {
        position: relative;
        height: auto;
        padding: 40px 20px;
    }

    .process-container {
        flex-direction: column;
        height: auto;
    }

    .process-content-wrapper {
        flex-direction: column;
    }

    .process-image-box,
    .process-text-box {
        width: 100%;
    }

    .process-image-box img {
        max-height: 240px;
        object-fit: cover;
        border-radius: 16px;
    }

    .process-step-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .process-progress-tracker {
        display: none;
    }

    /* Force all steps to be visible and stack rather than overlap absolute */
    .process-steps-area {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .process-step {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* ── Pricing ── */
    .pricing-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }

    /* ── Travel ── */
    .travel-section {
        padding: 40px 0;
    }

    .travel-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .travel-inner {
        padding: 0 20px;
    }

    .travel-body {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .travel-left,
    .travel-panel {
        width: 100%;
        min-height: 0 !important;
        height: auto;
        position: relative;
        overflow: visible;
    }

    .travel-slide-img {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    /* Only show the active slide, let it dictate height rather than absolute overlapping */
    .travel-slide {
        position: relative !important;
        display: none !important;
    }

    .travel-slide.active {
        display: flex !important;
    }

    /* ── FAQ ── */
    .faq-container {
        flex-direction: column;
        gap: 32px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .faq-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    /* ── Doctor / Team ── */
    .doctor-section {
        padding: 120px 20px;
    }

    .doctor-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .doctor-grid {
        flex-direction: column;
        gap: 32px;
    }

    /* ── Reviews ── */
    .reviews-header {
        padding: 0 20px;
    }

    .reviews-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .cases-title,
    .process-main-title,
    .pricing-main-title,
    .contact-title {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    /* ── Footer ── */
    .site-footer {
        width: 100vw !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
        padding: 48px 0 !important;
    }

    .footer-container {
        flex-direction: column;
        gap: 48px;
        padding: 0 24px;
        align-items: center;
    }

    .footer-left {
        flex: none;
        width: 100%;
        align-items: center;
    }

    .footer-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: min-content;
        row-gap: 32px;
        column-gap: 24px;
        width: 100%;
    }

    .footer-right .footer-col:first-child {
        grid-row: span 2;
    }

    .footer-col {
        width: 100%;
    }
}