/* ==========================================================================
   Dr. Leon Sokolov – Landing Page
   Light cream base, gold + brown accents, Heebo
   ========================================================================== */

:root {
    --cream: #FBF7F1;
    --cream-2: #F4ECE1;
    --white: #FFFFFF;
    --brown: #4A2E1C;
    --brown-2: #6B4429;
    --text: #3A2A1F;
    --muted: #7A6656;
    --gold: #C69A5B;
    --gold-light: #E8CE9C;
    --gold-dark: #9C7339;
    --line: rgba(156, 115, 57, 0.22);
    --shadow: 0 14px 40px -18px rgba(74, 46, 28, 0.35);
    --radius: 18px;
    --gold-metal: linear-gradient(180deg,
        #FCEFC7 0%, #F1D58E 18%, #D9AE5C 42%, #B9862F 58%, #D4A650 76%, #F0D488 92%, #C9973F 100%);
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Heebo', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--brown); line-height: 1.2; }
p { margin: 0; }
address { font-style: normal; }
figure { margin: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -60px; right: 16px; z-index: 100;
    background: var(--brown); color: var(--white); padding: 10px 18px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.pill-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: 999px;
    font-weight: 700; font-size: 16px; white-space: nowrap;
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
.pill-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pill-btn--brown {
    background: linear-gradient(180deg, var(--brown-2), var(--brown));
    color: var(--white);
    box-shadow: 0 8px 20px -10px rgba(74, 46, 28, .7);
}
.pill-btn--brown:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(74, 46, 28, .8); }
.pill-btn--light {
    background: var(--white); color: var(--brown);
    border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(74, 46, 28, .4);
}
.pill-btn--light:hover { border-color: var(--gold); }
.pill-btn--light svg { color: var(--gold-dark); }

.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    position: relative; overflow: hidden; isolation: isolate;
    height: 60px; padding: 0 32px; border: 1px solid #8A6326; border-radius: 999px;
    background: var(--gold-metal);
    color: #3B230F; font: inherit; font-weight: 800; font-size: 19px;
    text-shadow: 0 1px 0 rgba(255, 240, 205, .65);
    cursor: pointer; white-space: nowrap;
    box-shadow:
        0 12px 26px -12px rgba(138, 99, 38, .95),
        0 2px 4px rgba(90, 60, 20, .25),
        inset 0 1px 1px rgba(255, 250, 230, .95),
        inset 0 -3px 6px rgba(110, 75, 25, .45),
        inset 0 0 0 1px rgba(255, 230, 170, .35);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
/* Glossy top highlight */
.btn-gold::before, .mobile-bar-cta::before {
    content: ''; position: absolute; inset: 1px 10% 52% 10%; z-index: -1;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
    pointer-events: none;
}
/* Light sweep on hover */
.btn-gold::after, .mobile-bar-cta::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    transition: left .7s ease;
    pointer-events: none;
}
.btn-gold:hover::after { left: 120%; }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05) saturate(1.05); }
.btn-gold:active { transform: translateY(0); }
.btn-gold svg { width: 22px; height: 22px; }
.btn-gold[disabled] { opacity: .7; cursor: wait; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--line);
    box-shadow: 0 6px 16px -12px rgba(74, 46, 28, .4);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn--wa { color: #1FA855; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
    background: rgba(251, 247, 241, .94);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; color: var(--gold-dark); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-he { font-size: 22px; font-weight: 900; color: var(--brown); }
.logo-en { white-space: nowrap; font-size: 10.5px; letter-spacing: .14em; color: var(--gold-dark); font-weight: 500; margin-top: 4px; }

.main-nav { display: flex; gap: 30px; font-size: 16px; font-weight: 500; color: var(--brown); }
.main-nav a { white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.main-nav a:hover { color: var(--gold-dark); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 24px) 0 48px;
    overflow: hidden;
    background: var(--cream);
}
/* Hagag towers on blue; a light wash on the text side keeps the brown copy readable */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(180deg, rgba(251,247,241,0) 78%, rgba(251,247,241,.85) 100%),
        linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,.42) 100%),
        url('assets/clinic/hero-towers.jpg?v=4') center / cover no-repeat;
    background:
        linear-gradient(180deg, rgba(251,247,241,0) 78%, rgba(251,247,241,.85) 100%),
        linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,.42) 100%),
        image-set(url('assets/clinic/hero-towers.webp?v=4') type('image/webp'), url('assets/clinic/hero-towers.jpg?v=4') type('image/jpeg')) center / cover no-repeat;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 400px);
    align-items: end;
    gap: 32px;
}
.hero-content { padding: 24px 0 32px; text-align: center; }
.hero-title {
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.12;
    color: var(--brown);
}
.hero-sub {
    font-size: clamp(18px, 1.6vw, 22px);
    color: var(--text);
    max-width: 640px; margin: 0 auto 28px;
}

.divider-diamond { display: flex; align-items: center; justify-content: center; gap: 0; margin: 20px auto; max-width: 420px; }
.divider-diamond::before, .divider-diamond::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider-diamond span { width: 11px; height: 11px; transform: rotate(45deg); background: var(--gold); margin: 0 10px; flex-shrink: 0; }
.divider-diamond--start { margin-right: 0; max-width: 260px; }
.divider-diamond--start::before { display: none; }
.divider-diamond--start span { margin-right: 0; }

.service-tiles {
    list-style: none; margin: 0 auto; padding: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
    max-width: 760px;
}
.tile {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 80px; padding: 10px 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--gold); }
.tile-text { font-size: 19px; font-weight: 800; color: var(--brown); text-align: right; line-height: 1.25; }
.tile-icon {
    width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; isolation: isolate;
    border: 2px solid var(--gold); color: var(--brown-2);
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 50% 50%, rgba(232, 206, 156, .55) 0%, rgba(198, 154, 91, .28) 70%, rgba(156, 115, 57, .18) 100%),
        var(--white);
    box-shadow: inset 0 0 12px rgba(198, 154, 91, .25);
}
.tile-icon::before {
    content: ''; position: absolute; inset: -10px; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 206, 156, .55) 0%, rgba(198, 154, 91, .22) 45%, rgba(198, 154, 91, 0) 72%);
    transition: transform .3s, opacity .3s;
}
.tile:hover .tile-icon::before, .service-card:hover .tile-icon::before { transform: scale(1.12); }
.tile-icon svg { width: 32px; height: 32px; }
.service-card .tile-icon { width: 70px; height: 70px; }
.service-card .tile-icon svg { width: 38px; height: 38px; }

/* Dr. Leon cutout stands beside the service tiles; the form card overlaps his lower edge */
.hero-doctor { align-self: end; margin-bottom: -40px; }
.hero-doctor img {
    width: 100%; height: auto; max-height: 640px; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 18px 30px rgba(20, 60, 110, .25));
}

/* ---------- Lead card / form ---------- */
.lead-card {
    position: relative;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(74, 46, 28, .45);
    padding: 22px 26px 24px;
    margin-top: -12px;
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.lead-title { text-align: center; font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; color: var(--brown); margin-bottom: 16px; }

.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr auto;
    gap: 14px;
    align-items: center;
}
.field {
    position: relative; display: flex; align-items: center;
    height: 60px; border: 1px solid #DCCDB8; border-radius: 14px; background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,154,91,.2); }
.field.is-invalid { border-color: #C0392B; }
.field svg { position: absolute; right: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.field input, .field select {
    width: 100%; height: 100%; border: 0; background: transparent; outline: none;
    font: inherit; font-size: 17px; color: var(--text);
    padding: 0 48px 0 16px;
    border-radius: 14px;
}
.field input::placeholder { color: var(--muted); }
.field input[type="tel"] { text-align: right; }
.field--select select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding: 0 16px 0 44px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6656' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") left 16px center / 18px no-repeat;
}
.field--select select:invalid { color: var(--muted); }
.field--select select option { color: var(--text); }

.form-msg { grid-column: 1 / -1; text-align: center; font-weight: 700; font-size: 16px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #B03A2E; }
.form-msg.is-success { color: #2E7D4F; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }
.service-card { scroll-margin-top: calc(var(--header-h) + 16px); }
.section--cream { background: var(--cream); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2, .about-text h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--gold-dark); letter-spacing: .04em; margin-bottom: 8px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 30px 26px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-card h3 { font-size: 23px; font-weight: 800; }
.service-card p { color: var(--muted); font-size: 17px; flex: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-dark); }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(-3px); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { font-size: 18px; margin-bottom: 20px; max-width: 560px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-right: 30px; font-weight: 500; }
.check-list li::before {
    content: ''; position: absolute; right: 2px; top: .5em; width: 10px; height: 10px;
    transform: rotate(45deg); background: var(--gold);
}
.about-photo img {
    width: 100%; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover;
}
/* Photo matches the text column's height (grid stretch) and stays centered */
.about-grid { align-items: stretch; }
.about-text { align-self: center; }
.about-photo { position: relative; min-height: 360px; }
.about-photo img { position: absolute; inset: 0; height: 100%; object-position: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery-item { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-item--wide { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.gallery-item--wide img { aspect-ratio: auto; }
.gallery-item figcaption {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(255,255,255,.92); color: var(--brown); font-weight: 700; font-size: 15px;
    padding: 6px 14px; border-radius: 999px;
}

/* Location */
.location-card {
    display: grid; grid-template-columns: 1.15fr 1fr;
    border-radius: 28px; overflow: hidden;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(232, 206, 156, .16) 0%, rgba(232, 206, 156, 0) 55%),
        linear-gradient(160deg, #5A3822 0%, var(--brown) 60%, #3A2314 100%);
    color: #EFE3D3;
    box-shadow: 0 30px 70px -30px rgba(58, 35, 20, .6);
}
.location-info { padding: 56px 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow--light { color: var(--gold-light); }
.location-info h2 { color: var(--white); font-size: clamp(32px, 3.4vw, 46px); font-weight: 900; margin-bottom: 30px; }

.location-address {
    display: flex; align-items: center; gap: 18px;
    padding-bottom: 30px; margin-bottom: 30px;
    border-bottom: 1px solid rgba(232, 206, 156, .22);
}
.location-pin {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-metal); color: #3B230F;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5), inset 0 1px 1px rgba(255, 250, 230, .9);
}
.location-pin svg { width: 30px; height: 30px; }
.location-address strong {
    display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.15;
    background: linear-gradient(180deg, #FCEFC7, #E2BE78 60%, #C9973F);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.location-address strong + span { display: block; font-size: 20px; color: #EFE3D3; margin-top: 4px; }

.location-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nav-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 18px 10px; border-radius: 18px; text-align: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(232, 206, 156, .25);
    color: var(--white); font-weight: 700; font-size: 16px;
    transition: background-color .2s, border-color .2s, transform .2s;
}
.nav-tile:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-light); transform: translateY(-2px); }
.nav-tile-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gold-light); color: var(--gold-light);
}
.nav-tile-icon svg { width: 22px; height: 22px; }
.nav-tile--gold { background: var(--gold-metal); border-color: #8A6326; color: #3B230F; text-shadow: 0 1px 0 rgba(255, 240, 205, .6); }
.nav-tile--gold:hover { background: var(--gold-metal); filter: brightness(1.05); }
.nav-tile--gold .nav-tile-icon { border-color: #3B230F; color: #3B230F; }

.location-photo { position: relative; min-height: 460px; }
.location-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.location-photo::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(58, 35, 20, 0) 70%, rgba(58, 35, 20, .55) 100%);
}
.location-badge {
    position: absolute; bottom: 22px; left: 22px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--brown); font-weight: 800; font-size: 15px;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.location-badge svg { width: 18px; height: 18px; color: var(--gold-dark); }

/* Final CTA */
.final-cta { background: linear-gradient(180deg, var(--white), var(--cream-2)); }
.lead-card--final { max-width: 1080px; margin: 0 auto; padding: 40px 36px; }
.lead-card--final h2 { text-align: center; font-size: clamp(28px, 3vw, 40px); font-weight: 900; margin-bottom: 8px; }
.lead-card--final .lead-title { font-weight: 500; color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #EFE3D3; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr auto; gap: 28px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.site-footer .logo-he { color: var(--white); }
.site-footer .logo-en { color: var(--gold-light); }
.footer-address { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.footer-address svg { width: 30px; height: 30px; color: var(--gold-light); flex-shrink: 0; }
.footer-address strong { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact svg { width: 20px; height: 20px; color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(232, 206, 156, .5); color: var(--gold-light);
    transition: background-color .2s, color .2s;
}
.footer-social a:hover { background: var(--gold-light); color: var(--brown); }
.footer-social svg { width: 22px; height: 22px; }
.copyright { text-align: center; font-size: 14px; color: rgba(239, 227, 211, .7); margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(232, 206, 156, .2); }

/* ---------- Floating / sticky ---------- */
.wa-float {
    position: fixed; left: 24px; bottom: 24px; z-index: 40;
    width: 60px; height: 60px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #1FA855; color: var(--white);
    box-shadow: 0 12px 28px -10px rgba(31, 168, 85, .7);
}
.wa-float svg { width: 32px; height: 32px; }

.mobile-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .main-nav { gap: 20px; font-size: 15px; }
    .header-phone { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    /* Dr. Leon + towers photo sits above the H1 on tablet/mobile, fading into the page */
    /* Dr. Leon sits above the H1 on tablet/mobile, fading into the page */
    .hero-doctor { order: -1; width: 100%; max-width: 380px; justify-self: center; margin-bottom: -24px; }
    .hero-doctor img {
        max-height: 420px; filter: none;
        -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
                mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    }
    .hero-grid { gap: 0; }
    .hero-content { position: relative; }
    .hero-bg {
        background:
            linear-gradient(180deg, rgba(251,247,241,0) 0, rgba(251,247,241,0) 300px, rgba(251,247,241,.92) 470px, var(--cream) 515px),
            url('assets/clinic/hero-towers.jpg?v=4') center top / auto 520px no-repeat, var(--cream);
    }
    .lead-form { grid-template-columns: 1fr 1fr; }
    .lead-form .btn-gold { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    :root { --header-h: 68px; }
    body { font-size: 17px; padding-bottom: 76px; }
    .container { padding: 0 16px; }

    .site-header { background: rgba(251, 247, 241, .96); box-shadow: 0 1px 0 var(--line); }
    .logo-mark { width: 36px; height: 36px; }
    .logo-he { font-size: 19px; }
    .logo-en { font-size: 9px; }
    .header-actions .icon-btn { display: none; }
    .header-cta { display: none; }

    .hero { padding: calc(var(--header-h) + 8px) 0 28px; }
    .hero-content { padding: 0 0 18px; }
    .hero-doctor { max-width: 300px; margin-bottom: -20px; }
    .hero-doctor img { max-height: 340px; }
    .hero-title { font-size: 31px; }
    .hero-sub { font-size: 17px; margin-bottom: 20px; }
    .divider-diamond { margin: 14px auto; }

    .service-tiles { gap: 8px; }
    .tile { flex-direction: row-reverse; justify-content: flex-end; min-height: 58px; padding: 8px 10px; gap: 8px; border-radius: 14px; }
    .tile-text { font-size: 15px; line-height: 1.2; }
    .tile-icon { width: 40px; height: 40px; border-width: 1.5px; }
    .tile-icon::before { inset: -6px; }
    .tile-icon svg { width: 24px; height: 24px; }

    .lead-card { padding: 18px 16px; margin-top: 0; border-radius: 20px; }
    .lead-title { font-size: 18px; margin-bottom: 12px; }
    .lead-form { grid-template-columns: 1fr; gap: 10px; }
    .field { height: 54px; }
    .btn-gold { height: 56px; font-size: 18px; width: 100%; }

    .section { padding: 60px 0; }
    .section-head { margin-bottom: 28px; }
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 22px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .service-card .tile-icon { width: 56px; height: 56px; }
    .service-card h3 { flex: 1; font-size: 21px; }
    .service-card p { flex-basis: 100%; }

    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-photo { min-height: 0; }
    .about-photo img { position: static; height: auto; aspect-ratio: 4 / 3; }
    .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
    .gallery-item--wide { grid-row: auto; }
    .gallery-item--wide img { aspect-ratio: 3 / 2; }
    .location-card { grid-template-columns: 1fr; border-radius: 22px; }
    .location-photo { order: -1; min-height: 220px; }
    .location-photo::before { background: linear-gradient(180deg, rgba(58, 35, 20, 0) 60%, rgba(58, 35, 20, .6) 100%); }
    .location-info { padding: 28px 20px 24px; }
    .location-info h2 { margin-bottom: 20px; }
    .location-address { gap: 14px; padding-bottom: 20px; margin-bottom: 20px; }
    .location-pin { width: 52px; height: 52px; }
    .location-address strong + span { font-size: 18px; }
    .location-nav { gap: 8px; }
    .nav-tile { padding: 14px 4px; font-size: 14px; }
    .nav-tile-label { white-space: nowrap; font-size: 13.5px; letter-spacing: -0.01em; }

    .lead-card--final { padding: 26px 16px; }

    .footer-grid { grid-template-columns: 1fr; text-align: right; gap: 20px; }

    .wa-float { display: none; }

    .mobile-bar {
        display: flex; align-items: center; gap: 10px;
        position: fixed; inset: auto 0 0 0; z-index: 60;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 24px -12px rgba(74, 46, 28, .35);
        border-top: 1px solid var(--line);
    }
    .mobile-bar-cta {
        flex: 1; height: 52px; border-radius: 999px;
        display: inline-flex; align-items: center; justify-content: center;
        position: relative; overflow: hidden; isolation: isolate;
        background: var(--gold-metal);
        border: 1px solid #8A6326;
        color: #3B230F; font-weight: 800; font-size: 17px;
        text-shadow: 0 1px 0 rgba(255, 240, 205, .65);
        box-shadow: 0 8px 18px -10px rgba(138, 99, 38, .9), inset 0 1px 1px rgba(255, 250, 230, .95), inset 0 -3px 6px rgba(110, 75, 25, .45);
    }
    .mobile-bar-icon {
        width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
        display: inline-flex; align-items: center; justify-content: center;
        background: var(--brown); color: var(--white);
    }
    .mobile-bar-icon--wa { background: #1FA855; }
    .mobile-bar-icon svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

@media (max-width: 1024px) { .br-desktop { display: none; } }

/* ---------- WhatsApp lead modal ---------- */
.wa-modal {
    width: min(440px, calc(100% - 32px));
    padding: 32px 28px 26px;
    border: 1px solid var(--line); border-radius: 24px;
    background: var(--white); color: var(--text);
    box-shadow: 0 30px 80px -20px rgba(74, 46, 28, .55);
}
.wa-modal::backdrop { background: rgba(58, 42, 31, .55); backdrop-filter: blur(3px); }
.wa-modal[open] { animation: wa-in .22s ease-out; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wa-modal-close {
    position: absolute; top: 14px; left: 14px;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: var(--cream); color: var(--brown); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.wa-modal-close svg { width: 20px; height: 20px; }
.wa-modal-head { text-align: center; margin-bottom: 20px; }
.wa-modal-icon {
    width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #1FA855; color: var(--white);
    box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7);
}
.wa-modal-icon svg { width: 34px; height: 34px; }
.wa-modal-head h2 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.wa-modal-head p { color: var(--muted); }
.wa-form { display: grid; gap: 12px; }
.btn-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 58px; border: 0; border-radius: 999px;
    background: linear-gradient(180deg, #2BC266, #1A9A4C);
    color: var(--white); font: inherit; font-weight: 800; font-size: 18px; cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(31, 168, 85, .9), inset 0 1px 0 rgba(255,255,255,.35);
    transition: transform .2s, filter .2s;
}
.btn-wa:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-wa[disabled] { opacity: .7; cursor: wait; }
.btn-wa svg { width: 24px; height: 24px; }
.wa-form .form-msg { grid-column: auto; }
