/* === Luxe Dental Aesthetics — High-End Cosmetic === */
:root {
    --bg: #faf9f7;
    --bg-dark: #1c1c1c;
    --bg-darker: #141414;
    --text: #1c1c1c;
    --text-dark-page: #f0ede8;
    --text-muted: #6b6560;
    --text-muted-dark: #a09890;
    --accent: #b8956b;
    --accent-light: #d4b896;
    --accent-pale: rgba(184,149,107,.08);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: .5s cubic-bezier(.25,.46,.45,.94);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* Layout */
.container { max-width: 1060px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 640px; margin: 0 auto; }
.center { display: block; text-align: center; }

/* Typography */
.section-label {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 16px;
}
.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: .88rem;
    max-width: 500px;
    margin: 0 auto 48px;
}

/* Buttons */
.btn-accent {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: all var(--transition);
}
.btn-accent:hover {
    background: var(--accent);
    color: #fff;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 32px;
    transition: all .4s ease;
}
.header.scrolled {
    background: rgba(28,28,28,.96);
    backdrop-filter: blur(12px);
    padding: 14px 32px;
    border-bottom: 1px solid rgba(184,149,107,.08);
}
.header-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .35em;
    font-weight: 500;
    color: var(--accent);
}
.nav { display: flex; gap: 32px; }
.nav a {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(240,237,232,.6);
    transition: color .3s;
}
.nav a:hover { color: var(--accent); }
.header.scrolled .nav a { color: rgba(240,237,232,.6); }
.header-cta {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid rgba(184,149,107,.4);
    color: var(--accent);
    transition: all .3s;
}
.header-cta:hover { background: var(--accent); color: var(--bg-dark); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 14px;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span { display: block; height: 1px; width: 100%; background: var(--accent); transition: all .3s; }

/* ==================== HERO ==================== */
.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.5) saturate(.8);
    transform: scale(1.03);
    transition: transform 10s ease;
}
.hero-bg img.loaded { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,20,20,.5) 0%, rgba(20,20,20,.7) 100%);
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    padding: 0 24px;
}
.hero-line { width: 48px; height: 1px; background: var(--accent); margin: 0 auto 28px; }
.hero-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 300;
    color: var(--text-dark-page);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-content h1 em { font-style: italic; color: var(--accent-light); }
.hero-sub {
    color: var(--text-muted-dark);
    font-size: .88rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ==================== PHILOSOPHY ==================== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-dark-page); }
.section-dark .section-title { color: var(--text-dark-page); }
.section-dark .section-sub { color: var(--text-muted-dark); }

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.philosophy-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
}
.philosophy-text p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 14px;
}
.philosophy-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* ==================== TREATMENTS ==================== */
.treatments-list {
    max-width: 760px;
    margin: 48px auto 0;
}
.treatment {
    padding: 32px 0;
    border-bottom: 1px solid rgba(184,149,107,.12);
}
.treatment:last-child { border-bottom: none; }
.treatment-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
}
.treatment-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: rgba(184,149,107,.3);
    font-weight: 300;
    flex-shrink: 0;
}
.treatment h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark-page);
}
.treatment p {
    color: var(--text-muted-dark);
    font-size: .84rem;
    margin-bottom: 10px;
    padding-left: 52px;
}
.treatment-price {
    padding-left: 52px;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--accent);
    font-weight: 500;
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}
.gallery-item {
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-large { grid-row: span 2; }
.gallery-large img { height: 480px; }
.gallery-item:not(.gallery-large) img { height: 234px; }
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(20,20,20,.8), transparent);
    color: rgba(255,255,255,.8);
    font-size: .72rem;
    letter-spacing: .05em;
    opacity: 0;
    transform: translateY(8px);
    transition: all .4s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ==================== TESTIMONIAL ==================== */
.testimonial-section { padding: 80px 0; }
.testimonial { text-align: center; border: none; padding: 0; }
.quote-mark {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--accent);
    line-height: 1;
    opacity: .4;
    margin-bottom: 12px;
}
.testimonial p {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-dark-page);
    font-weight: 300;
    margin-bottom: 20px;
}
.testimonial cite {
    font-style: normal;
    color: var(--accent);
    font-size: .78rem;
    letter-spacing: .08em;
}

/* ==================== CONSULT ==================== */
.consult-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}
.consult-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 300;
    margin-bottom: 16px;
    line-height: 1.3;
}
.consult-text > p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 16px;
}
.consult-note {
    font-size: .8rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 28px;
}
.consult-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.consult-detail strong {
    display: block;
    font-size: .65rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 500;
}
.consult-detail span {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 48px 0 0;
    border-top: 1px solid var(--accent-pale);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}
.footer-left p { font-size: .75rem; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .3s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-right { text-align: right; }
.footer-right p { font-size: .78rem; color: var(--text-muted); line-height: 1.6; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid var(--accent-pale);
}
.footer-bottom p { font-size: .68rem; color: rgba(107,101,96,.5); letter-spacing: .04em; }

/* ==================== ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--transition), transform .8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .philosophy-grid, .consult-grid { grid-template-columns: 1fr; gap: 40px; }
    .philosophy-image img { height: 300px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-large { grid-row: span 1; }
    .gallery-large img,
    .gallery-item:not(.gallery-large) img { height: 260px; }
    .consult-details { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .footer-right { text-align: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(20,20,20,.98);
        padding: 120px 40px;
        gap: 28px;
        z-index: 999;
        align-items: center;
    }
    .nav.open a { font-size: .9rem; color: var(--text-dark-page); letter-spacing: .12em; }
    .hero { min-height: 580px; }
    .hero-content h1 { font-size: 2.2rem; }
    .treatment-header { flex-direction: column; gap: 4px; }
    .treatment p,
    .treatment-price { padding-left: 0; }
    .consult-details { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
}
