/* ==========================================================================
   Dr. Saad — Premium Cosmetic Dentistry
   Design system: black / white / soft beige, gold hairline accent
   ========================================================================== */

:root {
    --black: #0c0c0d;
    --charcoal: #161617;
    --ink: #1c1c1e;
    --white: #ffffff;
    --beige: #f3ede3;
    --beige-soft: #f8f4ec;
    --stone: #a7a29a;
    --stone-dark: #6f6a62;
    --gold: #b6934f;
    --gold-soft: #d8c193;
    --line: rgba(12, 12, 13, 0.08);
    --line-light: rgba(255, 255, 255, 0.14);
    --shadow-soft: 0 20px 60px rgba(12, 12, 13, 0.10);
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.35);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', 'Poppins', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--ink);
    margin: 0;
    padding: 0;
    padding-top: 84px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.dark .eyebrow, .section-dark .eyebrow { color: var(--gold-soft); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em 0;
    line-height: 1.15;
}

p { line-height: 1.75; color: var(--stone-dark); margin: 0 0 1em 0; }

.section-dark p { color: rgba(255,255,255,0.72); }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

section { position: relative; }

.section-pad { padding: 7.5rem 0; }

.section-light { background: var(--white); }
.section-beige { background: var(--beige-soft); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.title-row { max-width: 640px; margin: 0 0 3.5rem 0; }
.title-row.center { margin-left: auto; margin-right: auto; text-align: center; }
.title-row h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
}
.btn-gold:hover { background: #c8a768; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(182,147,79,0.35); }

.btn-dark {
    background: var(--black);
    color: var(--white);
}
.btn-dark:hover { background: #262628; transform: translateY(-2px); }

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: rgba(12,12,13,0.3);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Navbar ---------- */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 84px;
    display: flex;
    align-items: center;
    background: rgba(12, 12, 13, 0.0);
    backdrop-filter: blur(0px);
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar-glass.scrolled {
    background: rgba(12, 12, 13, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    height: 72px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-bottom: 1px solid var(--line-light);
}

.navbar-glass .nav-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.navbar-glass .logo {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--white);
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.navbar-glass .logo span { color: var(--gold-soft); }

.navbar-glass nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.navbar-glass nav a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    padding: 10px 16px;
    border-radius: 100px;
    transition: background 0.25s, color 0.25s;
}

.navbar-glass nav a:hover, .navbar-glass nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
    padding: 6px 11px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.25);
    font-family: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.25s;
}
.lang-switch button.active, .lang-switch button:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.lang-switch-mobile { display: none; }
.mobile-menu-footer { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 1.5px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }

.nav-index { display: none; }

@media (max-width: 980px) {
    .navbar-glass, .navbar-glass.scrolled { height: 64px; }
    .navbar-glass .nav-content { padding: 0 20px; }
    .navbar-glass nav { display: none; }
    .lang-switch-desktop { display: none; }
    .nav-toggle { display: flex; }
    .navbar-glass.scrolled, .navbar-glass { background: rgba(12,12,13,0.94); backdrop-filter: blur(18px); }

    body.menu-open { overflow: hidden; }

    /* Animated hamburger -> close */
    .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    /* Full-screen mobile menu */
    .navbar-glass nav.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: fixed;
        top: 64px; left: 0; right: 0;
        height: calc(100vh - 64px);
        overflow-y: auto;
        background:
            radial-gradient(circle at 85% 0%, rgba(182,147,79,0.14) 0%, transparent 55%),
            var(--black);
        padding: 6vh 24px 32px;
        gap: 0;
        z-index: 999;
    }
    .navbar-glass nav.mobile-open a {
        display: flex;
        align-items: baseline;
        gap: 16px;
        padding: 18px 2px;
        border-radius: 0;
        border-bottom: 1px solid var(--line-light);
        font-family: var(--serif);
        font-size: 1.65rem;
        font-weight: 600;
        color: #fff;
        background: none;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
    }
    .navbar-glass nav.mobile-open.is-visible a {
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-glass nav.mobile-open.is-visible a:nth-child(1) { transition-delay: 0.06s; }
    .navbar-glass nav.mobile-open.is-visible a:nth-child(2) { transition-delay: 0.12s; }
    .navbar-glass nav.mobile-open.is-visible a:nth-child(3) { transition-delay: 0.18s; }
    .navbar-glass nav.mobile-open.is-visible a:nth-child(4) { transition-delay: 0.24s; }
    .navbar-glass nav.mobile-open a:hover,
    .navbar-glass nav.mobile-open a.active { color: var(--gold-soft); }
    .navbar-glass nav.mobile-open .nav-index {
        display: inline-block;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--gold);
        min-width: 24px;
    }

    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        margin-top: auto;
        padding-top: 32px;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s var(--ease) 0.3s, transform 0.5s var(--ease) 0.3s;
    }
    .navbar-glass nav.mobile-open.is-visible .mobile-menu-footer {
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-glass nav.mobile-open a.mobile-menu-cta {
        display: flex;
        width: 100%;
        margin-top: 18px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 16px 34px;
        border: none;
        border-radius: 100px;
        background: var(--gold);
        color: var(--black);
        font-family: var(--sans);
        font-size: 0.86rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        opacity: 1;
        transform: none;
        transition: background 0.3s;
    }
    .navbar-glass nav.mobile-open a.mobile-menu-cta:hover { background: #c8a768; }
    .lang-switch-mobile {
        display: flex;
        gap: 8px;
    }
    .lang-switch-mobile button { flex: 1; padding: 11px 0; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-glass nav.mobile-open a,
    .mobile-menu-footer { transition: none; opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .navbar-glass .logo { font-size: 1.08rem; }
    .logo-mark { width: 20px; height: 20px; }
}

/* ---------- Hero ---------- */
.hero-cinematic {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background: var(--black);
    overflow: hidden;
    margin-top: -84px;
}

.hero-cinematic .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-cinematic .hero-media img,
.hero-cinematic .hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.92;
}
.hero-cinematic .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.25) 35%, rgba(6,6,7,0.65) 78%, rgba(6,6,7,0.95) 100%);
    z-index: 1;
}
.hero-cinematic .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 32px 8vh;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-cinematic .eyebrow { color: var(--gold-soft); }

.hero-title {
    color: #fff;
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    max-width: 900px;
    margin-bottom: 0.35em;
    text-wrap: balance;
}

.hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    max-width: 560px;
    font-weight: 300;
    margin-bottom: 2.4rem;
}

.hero-scroll-cue {
    position: absolute;
    right: 40px;
    bottom: 36px;
    z-index: 2;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-scroll-cue::after {
    content: '';
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.4);
    animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.01% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 700px) {
    .hero-scroll-cue { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ---------- Doctor / brand section ---------- */
.doctor-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.doctor-portrait {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}
.doctor-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.doctor-portrait::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    pointer-events: none;
}

.doctor-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2.2rem 0;
    flex-wrap: wrap;
}
.doctor-stat .num {
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.doctor-stat .label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--stone-dark);
}

.badge-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}
.badge-pill {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--stone-dark);
}

.specialty-list { list-style: none; padding: 0; margin: 1.6rem 0; }
.specialty-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-weight: 500;
}
.specialty-list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .doctor-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .doctor-portrait { max-width: 420px; margin: 0 auto; }
}

/* ---------- Treatment cards ---------- */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.treatment-card {
    background: var(--white);
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: background 0.5s var(--ease);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.treatment-card .num {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 1.6rem;
}

.treatment-card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.treatment-card p { font-size: 0.94rem; flex-grow: 1; }

.treatment-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 1.4rem;
    color: var(--ink);
}
.treatment-card .learn-more::after { content: '\2192'; transition: transform 0.3s var(--ease); }

.treatment-card:hover {
    background: var(--black);
    color: #fff;
}
.treatment-card:hover p { color: rgba(255,255,255,0.7); }
.treatment-card:hover .learn-more { color: var(--gold-soft); }
.treatment-card:hover .learn-more::after { transform: translateX(6px); }
.treatment-card:hover .num { color: var(--gold-soft); }

@media (max-width: 1000px) {
    .treatment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .treatment-grid { grid-template-columns: 1fr; }
    .treatment-card { min-height: unset; padding: 2.4rem 1.6rem; }
}

/* ---------- Gallery / smile transformation ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.gallery-item .gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.3rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-caption .tag {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
    display: block;
    margin-bottom: 4px;
}
.gallery-caption .name { font-family: var(--serif); font-size: 1.05rem; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Before/after slider */
.compare {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}
.compare img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.compare .compare-after { clip-path: inset(0 0 0 50%); }
.compare .compare-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-1px);
}
.compare .compare-handle::after {
    content: '\21C6';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    background: #fff;
    color: var(--black);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
}
.compare-label {
    position: absolute;
    top: 16px;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    z-index: 3;
}
.compare-label.before { left: 16px; }
.compare-label.after { right: 16px; }

/* ---------- Journey / process timeline ---------- */
.journey-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.journey-step {
    padding: 0 1.6rem;
    position: relative;
    border-left: 1px solid var(--line-light);
}
.journey-step:first-child { border-left: none; padding-left: 0; }
.journey-step .step-num {
    font-family: var(--serif);
    font-size: 2.6rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1.2rem;
    line-height: 1;
}
.journey-step h4 { color: #fff; font-size: 1.05rem; }
.journey-step p { font-size: 0.88rem; }

@media (max-width: 900px) {
    .journey-row { grid-template-columns: 1fr; gap: 2.2rem; }
    .journey-step { border-left: none; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 1.8rem; }
    .journey-step:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Technology section ---------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line-light);
}
.tech-item {
    background: var(--black);
    padding: 2.6rem 2.4rem;
}
.tech-item .tech-index {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--gold-soft);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    display: block;
}
.tech-item h3 { color: #fff; font-size: 1.2rem; }
.tech-item p { font-size: 0.92rem; margin-bottom: 0; }

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

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}
.testimonial-card {
    background: var(--beige-soft);
    border-radius: 6px;
    padding: 2.6rem 2.2rem;
    position: relative;
}
.testimonial-card .quote-mark {
    font-family: var(--serif);
    font-size: 3.2rem;
    color: var(--gold-soft);
    line-height: 1;
    display: block;
    margin-bottom: 0.6rem;
}
.testimonial-card p.quote { color: var(--ink); font-style: italic; font-size: 1.02rem; }
.testimonial-card .patient {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.4rem;
}
.testimonial-card .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--black);
    color: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 0.95rem;
}
.testimonial-card .patient-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.testimonial-card .patient-treatment { font-size: 0.78rem; color: var(--stone-dark); }

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

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-list { list-style: none; padding: 0; margin: 2rem 0; }
.contact-info-list li {
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line-light);
}
.contact-info-list .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-soft);
    display: block;
    margin-bottom: 6px;
}
.contact-info-list .value { color: #fff; font-size: 1.15rem; text-decoration: none; }
.map-frame {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line-light);
    filter: grayscale(0.4) contrast(1.05);
}
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
    text-align: center;
    padding: 6.5rem 0;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 700px; margin: 0 auto 1rem; }
.cta-banner p { max-width: 520px; margin: 0 auto 2.2rem; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Timeline (patient experience page) ---------- */
.exp-list { counter-reset: exp; }
.exp-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.exp-row:first-child { border-top: 1px solid var(--line); }
.exp-row .exp-num { font-family: var(--serif); font-size: 3.2rem; color: var(--gold); line-height: 1; }
.exp-row h3 { font-size: 1.4rem; }
.exp-row p { max-width: 560px; margin-bottom: 0; }
@media (max-width: 640px) {
    .exp-row { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* ---------- Footer ---------- */
footer.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.65);
    padding: 5rem 0 2rem;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--line-light);
}
.footer-brand .logo { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--gold-soft); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
    color: #fff;
    font-family: var(--sans);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.85rem; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}
.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page intro hero (inner pages) ---------- */
.page-hero {
    background: var(--black);
    color: #fff;
    padding: 11rem 0 5rem;
    margin-top: -84px;
    padding-top: calc(11rem + 84px);
    text-align: left;
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 560px; font-size: 1.08rem; }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

/* modal image viewer (gallery) */
.modal-img-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 8, 9, 0.92);
    justify-content: center;
    align-items: center;
}
.modal-img-bg.active { display: flex; }
.modal-img-bg img {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: var(--shadow-deep);
}
.modal-img-bg .modal-close {
    position: absolute;
    top: 32px; right: 40px;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    font-family: var(--sans);
}

@media (max-width: 700px) {
    .section-pad { padding: 4.5rem 0; }
    .doctor-stats { gap: 1.5rem; }
    .page-hero { padding: 8.5rem 0 3.5rem; }
}

/* ==========================================================================
   Graphical upgrade — icons, motion, texture
   ========================================================================== */

/* Film-grain texture over the whole page for a cinematic, editorial finish */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Logo mark */
.navbar-glass .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 24px;
    height: 24px;
    color: var(--gold-soft);
    flex-shrink: 0;
}
.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.footer-brand .logo .logo-mark { width: 22px; height: 22px; }

/* Treatment card icons */
.treatment-card .tc-icon {
    width: 34px;
    height: 34px;
    color: var(--gold);
    margin-bottom: 1.4rem;
    transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}
.treatment-card:hover .tc-icon {
    color: var(--gold-soft);
    transform: translateY(-3px) scale(1.05);
}

/* Technology icons */
.tech-item .tech-icon {
    width: 38px;
    height: 38px;
    color: var(--gold-soft);
    margin-bottom: 1.2rem;
}

/* Star rating */
.rating-row { display: flex; gap: 4px; margin-bottom: 1rem; }
.rating-star { width: 15px; height: 15px; color: var(--gold); }

/* Cinematic image reveal on scroll (zoom + fade, distinct from text reveal) */
.reveal-img {
    opacity: 0;
    transform: scale(1.07);
    transition: opacity 1.2s var(--ease), transform 1.5s var(--ease);
}
.reveal-img.in-view { opacity: 1; transform: scale(1); }

/* Marquee ticker */
.marquee-section {
    background: var(--beige-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.marquee-track {
    display: flex;
    width: max-content;
    gap: 3.5rem;
    padding: 1.5rem 0;
    animation: marqueeScroll 32s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--stone-dark);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.marquee-track span::after {
    content: '\2726';
    color: var(--gold);
    font-size: 0.65rem;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .reveal, .reveal-img { transition: none; opacity: 1; transform: none; }
}

/* Subtle radial glow behind centered title rows for depth */
.title-row.center { position: relative; }
.title-row.center::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(182,147,79,0.10) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.section-dark .title-row.center::before {
    background: radial-gradient(circle, rgba(216,193,147,0.14) 0%, transparent 70%);
}
