/* =============================================================
   LUMINA DENTAL — Premium Light Mode
   ============================================================= */

:root {
    --bg:       #ffffff;
    --bg-alt:   #f8fafc;
    --bg-dark:  #0f172a;
    --text:     #0f172a;
    --muted:    #64748b;
    --accent:   #0284c7;
    --line:     #e2e8f0;
    --serif:    'Cormorant Garamond', serif;
    --sans:     'Inter', sans-serif;
    --radius:   8px;
    --wrap:     1280px;
    --pad:      5%;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* ----- TYPOGRAPHY HELPERS ----- */
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.0;
    color: var(--text);
}

h1 { font-size: clamp(48px, 8vw, 90px); }
h2 { font-size: clamp(36px, 5vw, 62px); }
h3 { font-size: clamp(22px, 3vw, 28px); }

h1 i, h2 i { font-style: italic; font-weight: 300; }

.sec-head { margin-bottom: 60px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-sub { color: var(--muted); font-size: 17px; }

/* ----- BUTTONS ----- */
.btn-primary {
    display: inline-block;
    padding: 18px 38px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(2,132,199,0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2,132,199,0.35); }
.btn-full         { width: 100%; text-align: center; }

.btn-ghost {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.btn-ghost:hover { color: #fff; border-color: #fff; }

/* ----- NAVBAR ----- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s;
}

.nav-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
    border-radius: 9px;
}

.logo span { color: var(--accent); font-weight: 300; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
    padding: 11px 24px;
    background: var(--text) !important;
    color: #fff !important;
    border-radius: var(--radius);
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    transition: background 0.3s !important;
}

.btn-nav:hover { background: var(--accent) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- HERO ----- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,23,42,0.75) 0%,
        rgba(15,23,42,0.5) 50%,
        rgba(15,23,42,0.3) 100%
    );
}

.hero-body {
    position: relative;
    z-index: 10;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
    width: 100%;
}

.hero-body .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 16px; }

.hero-body h1 {
    color: #fff;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    right: var(--pad);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.hero-scroll-hint span { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

/* ----- STATS BAR ----- */
.stats-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--bg-dark);
    padding: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 50px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item strong {
    font-family: var(--serif);
    font-size: 32px;
    color: #fff;
    font-weight: 400;
}

.stat-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    text-align: center;
}

/* ----- GALLERY ----- */
.gallery-section { padding: 100px 0; background: var(--bg-alt); }

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 20px;
}

.g-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.g-large { grid-row: span 2; }

.g-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.g-item:hover img { transform: scale(1.04); }

.g-label {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(255,255,255,0.92);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 20px;
}

/* ----- RESULTS ----- */
.results-section { padding: 120px 0; background: var(--bg); }

.result-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.result-frame img { width: 100%; }

.result-frame figcaption {
    display: flex;
    justify-content: space-around;
    padding: 20px 30px;
    background: white;
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
    gap: 10px;
}

/* ----- SERVICES ----- */
.services-section { padding: 120px 0; background: var(--bg-alt); }

.services-list {
    list-style: none;
    counter-reset: svc;
    border-top: 1px solid var(--line);
}

.services-list li {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 160px;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s;
}

.services-list li:hover { background: rgba(2,132,199,0.02); }

.svc-num {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--accent);
    opacity: 0.4;
}

.services-list h3 { font-family: var(--serif); font-size: 24px; }
.services-list p  { color: var(--muted); font-size: 15px; }

.svc-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-align: right;
}

/* ----- DOCTOR ----- */
.doctor-section { padding: 120px 0; background: var(--bg); }

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.doctor-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: visible;
}

.doctor-img-wrap img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.doctor-tag {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doctor-tag strong { display: block; font-weight: 700; font-size: 15px; }
.doctor-tag em { font-size: 12px; color: var(--muted); font-style: normal; }

.doctor-bio { padding-left: 20px; }
.doctor-bio h2 { margin: 16px 0 24px; }
.doctor-bio p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

.credentials {
    list-style: none;
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.credentials li {
    display: flex;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.credentials span { font-weight: 700; min-width: 100px; color: var(--text); }
.credentials em { color: var(--muted); font-style: normal; }

/* ----- TESTIMONIAL ----- */
.testimonial-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.testimonial-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
}

.patient-img { border-radius: 12px; overflow: hidden; }
.patient-img img { width: 100%; height: 400px; object-fit: cover; }

blockquote { color: white; }

.quote-mark {
    font-family: var(--serif);
    font-size: 120px;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    font-style: italic;
}

.stars { color: #fbbf24; font-size: 18px; margin-bottom: 10px; }
cite { font-size: 13px; color: rgba(255,255,255,0.5); font-style: normal; }

/* ----- BOOKING ----- */
.book-section {
    padding: 120px 0;
    background: var(--bg-alt);
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.book-intro .eyebrow { color: var(--accent); }
.book-intro h2 { margin: 16px 0 20px; }
.book-intro > p { color: var(--muted); font-size: 16px; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-details div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
.contact-details a { font-size: 16px; font-weight: 600; color: var(--text); }

.book-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
}

.book-form input,
.book-form select,
.book-form textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.3s;
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

/* ----- VISIT ----- */
.visit-section { padding: 100px 0; background: var(--bg); }

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.visit-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 16px;
}

.visit-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.visit-card a {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

/* ----- FOOTER ----- */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}

.footer-brand span { color: var(--accent); font-weight: 300; }

.footer-tag {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    line-height: 1.8;
}

.footer-credit {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 10px;
}

.footer-credit a { color: var(--accent); }

/* ----- WHATSAPP FLOAT ----- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    transition: all 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 30px rgba(37,211,102,0.5); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
    .stat-item { padding: 25px 30px; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px;
    }
    .g-large { grid-row: span 2; }
    .services-list li { grid-template-columns: 50px 1fr 1fr 120px; }
}

@media (max-width: 900px) {
    /* Nav */
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* Mobile drawer */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 65px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        padding: 30px var(--pad) 40px;
        gap: 0;
        border-bottom: 1px solid var(--line);
        z-index: 999;
    }

    .nav-links.open a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
        color: var(--text);
    }

    .nav-links.open .btn-nav {
        margin-top: 20px;
        padding: 18px !important;
        text-align: center;
        background: var(--accent) !important;
        color: #fff !important;
        border-radius: var(--radius) !important;
        font-size: 14px !important;
    }

    /* Hero */
    .hero { padding-bottom: 60px; }
    .hero-body h1 { font-size: clamp(42px, 10vw, 60px); }

    /* Stats */
    .stats-bar { flex-wrap: wrap; }
    .stat-item { width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 250px 200px 200px;
    }
    .g-large { grid-row: span 1; }

    /* Services */
    .services-list li {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 8px;
    }
    .svc-price { text-align: left; }
    .svc-num { font-size: 20px; }

    /* Doctor */
    .doctor-grid { grid-template-columns: 1fr; gap: 40px; }
    .doctor-bio { padding-left: 0; margin-top: 40px; }

    /* Testimonial */
    .testimonial-inner { grid-template-columns: 1fr; gap: 40px; }
    .patient-img img { height: 300px; }

    /* Book */
    .book-grid { grid-template-columns: 1fr; gap: 50px; }
    .book-form { padding: 30px; }
    .form-row { grid-template-columns: 1fr; }

    /* Visit */
    .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    h1 { font-size: clamp(36px, 11vw, 52px); }
    .hero-sub { font-size: 16px; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .stat-item { width: 100%; }
    .result-frame figcaption { flex-direction: column; align-items: center; text-align: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 22px; }
}
