/* ============================================
   PASSWORD GATE
   ============================================ */
.gate {
    position: fixed;
    inset: 0;
    background: var(--cream, #faf8f5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.3s ease;
}
.gate__box {
    width: 100%;
    max-width: 340px;
    text-align: center;
}
.gate__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.gate__logo .nav__logo-b {
    width: 52px;
    height: 52px;
    font-size: 28px;
    background: #1e1e1e;
    color: #fff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gate__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1e1e1e;
    margin-bottom: 8px;
}
.gate__sub {
    font-size: 13px;
    color: #585858;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.gate__error {
    font-size: 13px;
    color: #b94040;
    margin-top: 12px;
}

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --dark:         #1e1e1e;
    --mid:          #585858;
    --light:        #909090;
    --border:       #e8e3de;
    --cream:        #faf8f5;
    --white:        #ffffff;
    --accent:       #b5896e;
    --accent-light: #f5ede6;
    --accent-dark:  #8a5f45;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-h:   72px;
    --max-w:   1160px;
    --section-py: 96px;
    --container-px: 24px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-py) var(--container-px);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light  { color: rgba(255,255,255,0.5); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}
.section-title--center { text-align: center; }

.section-sub {
    font-size: 15px;
    color: var(--mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   IMAGE PLACEHOLDERS
   (replace with <img> tags when photos ready)
   ============================================ */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #e0d5cc 0%, #c8b5a8 60%, #b5a090 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-placeholder--tall { aspect-ratio: 4 / 5; }
.img-placeholder--circle {
    border-radius: 50%;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}
.placeholder-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
    user-select: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn--primary {
    background: var(--dark);
    color: var(--white);
}
.btn--primary:hover { background: var(--accent); }

.btn--outline {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--dark);
}
.btn--outline:hover { background: var(--dark); color: var(--white); }

.btn--nav {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    font-size: 11px;
    flex-shrink: 0;
}
.btn--nav:hover { background: var(--accent-dark); }

.btn--light {
    background: var(--white);
    color: var(--dark);
}
.btn--light:hover { background: var(--cream); }

.btn--block { width: 100%; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }

.nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-px);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav__logo-b {
    width: 36px;
    height: 36px;
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 14px;
    line-height: 1.3;
    color: var(--dark);
}
.nav__logo-text em {
    font-style: italic;
    color: var(--mid);
    font-size: 12px;
}

.nav__links {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}
.nav__links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid);
    transition: color 0.2s;
}
.nav__links a:hover { color: var(--dark); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: all 0.25s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: var(--nav-h);
    background: var(--cream);
}

.hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 48px 80px max(var(--container-px), calc((100vw - var(--max-w)) / 2 + var(--container-px)));
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--dark);
    margin-bottom: 28px;
}

.hero__sub {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__media {
    overflow: hidden;
    position: relative;
}
.hero__media .img-placeholder { height: 100%; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--dark); }
.stats-bar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px var(--container-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}
.stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent);
}
.stat span {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

/* ============================================
   TREATMENTS
   ============================================ */
.treatments { background: var(--white); }

.treatments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    border: 1px solid var(--border);
    gap: 1px;
    background: var(--border);
}

.treatment-card {
    background: var(--white);
    padding: 28px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.18s;
}
.treatment-card:hover { background: var(--cream); }
.treatment-card:hover .tc-arrow { transform: translateX(4px); }

.tc-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--dark);
}
.tc-teaser {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.65;
    flex: 1;
}
.tc-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 6px;
}
.tc-arrow { display: inline-block; transition: transform 0.18s; }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--cream); }

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}
.story__text p {
    color: var(--mid);
    margin-bottom: 16px;
    line-height: 1.8;
}
.story__text p:last-child { margin-bottom: 0; }

.team {
    padding-top: 72px;
    border-top: 1px solid var(--border);
}
.team .section-title--center { margin-bottom: 48px; }

.team__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.team-card {
    background: var(--white);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.team-card__body h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-card__role {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}
.team-card__body p {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 12px;
}
.team-card__body p:last-child { margin-bottom: 0; }

/* ============================================
   CLINIC NEWS
   ============================================ */
.clinic-news { background: var(--dark); }
.clinic-news__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--section-py) var(--container-px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.clinic-news__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 24px;
}
.clinic-news__body {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}
.clinic-news__sign {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 36px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--white); }
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 22px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
    color: var(--dark);
}
.contact-card:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.contact-card--whatsapp:hover {
    border-color: #25d366;
    background: #f0fdf4;
}
.contact-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}
.contact-card--whatsapp .contact-card__icon { color: #25d366; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-card span  { font-size: 13px; color: var(--mid); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 40px var(--container-px);
}
.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 4px;
}
.footer__logo .nav__logo-b {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
}
.footer__copy { font-size: 12px; margin-top: 8px; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(14px);
    transition: transform 0.22s;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}
.modal__close:hover { color: var(--dark); }

.modal__body { padding: 44px 36px 36px; }

.modal__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 14px;
}
.modal__desc {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.85;
}
.modal__rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}
.modal__form-heading {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 20px;
}
.modal__note {
    font-size: 12px;
    color: var(--light);
    text-align: center;
    margin-top: 10px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 7px;
}
.form-group .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--light); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
    border-radius: 0;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

/* ============================================
   RESPONSIVE — 900px
   ============================================ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero__text {
        padding: 64px var(--container-px) 48px;
    }
    .hero__media { height: 340px; }

    .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .story {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
    }
    .story__media { order: -1; }

    .team__grid { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE — 768px (mobile nav)
   ============================================ */
@media (max-width: 768px) {
    :root { --section-py: 64px; }

    .nav__links,
    .btn--nav { display: none; }
    .nav__toggle { display: flex; }

    .nav__links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 24px var(--container-px);
        gap: 18px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }

    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .modal__body { padding: 40px 24px 28px; }
    .team-card { padding: 28px 20px; }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
    .treatments__grid { grid-template-columns: 1fr; }
    .contact__grid    { grid-template-columns: 1fr; }
}
