/* Ondina Clínica Dental — demo */
:root {
  --ink: #123f3c;
  --ink-2: #1d5551;
  --ink-soft: #4a6662;
  --cream: #faf7f2;
  --sand: #f3ede3;
  --tint: #eaf1ed;
  --line: #dde6e1;
  --coral: #e0866c;
  --coral-ink: #a84a31;
  --white: #fff;
  --wa: #1f8f55;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 63, 60, .06), 0 12px 32px -12px rgba(18, 63, 60, .22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Demo bar */
.demo-bar { background: var(--ink); color: #dfe9e5; font-size: .82rem; text-align: center; padding: .45rem 1rem; }
.demo-bar strong { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn .icon { transition: transform .2s; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 63, 60, .7); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: rgba(18, 63, 60, .25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-wa { background: var(--wa); color: #fff; min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn-wa:hover { background: #18784a; }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.fineprint { font-size: .82rem; color: var(--ink-soft); }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18, 63, 60, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: .25rem; font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink-soft); padding: .4rem 0; background: linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat; transition: color .2s, background-size .25s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--ink); background-size: 100% 2px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 35%; height: 90%; background: radial-gradient(closest-side, rgba(224, 134, 108, .16), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 500; line-height: 1.03; margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--coral-ink); font-weight: 450; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--wa); }

.hero-media { position: relative; }
.hero-photo { border-radius: 260px 260px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); background: var(--tint); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.float-card { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow); line-height: 1.25; }
.float-card small { display: block; font-size: .76rem; color: var(--ink-soft); font-weight: 600; }
.float-card strong { font-size: 1.02rem; }
.float-next { left: -1.8rem; bottom: 2.4rem; }
.float-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--ink); }
.float-rating { right: -1rem; top: 2.2rem; flex-direction: column; align-items: flex-start; gap: .2rem; }
.float-rating small { display: inline; }
.stars { display: inline-flex; gap: 2px; color: #e3a23b; }
.stars .icon { width: 16px; height: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); gap: 1rem; }
.stats div { display: flex; flex-direction: column-reverse; gap: .2rem; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 500; line-height: 1; }
.stats dt { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #e9f0ed; }
.section-dark .eyebrow { color: #f2b19e; }
.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2, .director-copy h2, .why-copy h2, .location-copy h2, .booking-intro h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; margin-bottom: 1rem; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p:not(.eyebrow) { color: #c5d6d0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.service-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.service h3 { font-size: 1.22rem; }
.service p { color: var(--ink-soft); font-size: .98rem; }
.service .price { margin-top: auto; padding-top: .6rem; color: var(--ink); font-size: .92rem; }
.service .price strong { font-size: 1.05rem; }
.service-urgent { border-color: rgba(224, 134, 108, .55); }
.service-urgent h3::after { content: "Mismo día"; display: inline-block; margin-left: .6rem; vertical-align: middle; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); background: #fbe6df; padding: .22rem .55rem; border-radius: 999px; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 2rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--sand); }
.also ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.also li { background: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.also .fineprint { margin-left: auto; }

/* Director & team */
.director { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.director-photo { border-radius: var(--radius) var(--radius) 200px var(--radius); overflow: hidden; aspect-ratio: 9 / 10; box-shadow: var(--shadow); }
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director-copy h2 { font-style: italic; font-weight: 450; }
.director-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.5rem; }
.director-copy strong { color: var(--ink); }
.checklist { display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: #fff; background: var(--ink); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .15rem; }
.subhead { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; text-align: center; margin: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto 1.5rem; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; background: var(--sand); }
.person h4 { font-size: 1.12rem; }
.person p { color: var(--ink-soft); font-size: .94rem; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.features { display: grid; gap: 1.5rem; margin-top: 2rem; }
.features li { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.features h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.features p { color: var(--ink-soft); font-size: .98rem; }
.why-media { position: relative; padding: 0 0 18% 12%; }
.why-a { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.why-b { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; color: #fff; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption small { display: block; color: #b8cbc5; font-size: .84rem; }
.quote figcaption strong { color: #fff; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 700; font-size: .9rem; }
.tag-example { display: inline-block; margin-top: .3rem; padding: .3rem .85rem; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .35); font-size: .88rem !important; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.5rem; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.plan h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: .7rem; }
.plan p { color: var(--ink-soft); font-size: .97rem; }
.plan strong { color: var(--ink); }
.plan-accent { background: var(--sand); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .88rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--tint); }

/* Location */
.location { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 600 / 460; background: #e7eee9; }
.map svg { width: 100%; height: 100%; display: block; }
.map-note { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, .9); padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.contact-list { display: grid; gap: .9rem; margin: 1.2rem 0 1.8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { color: var(--coral-ink); margin-top: .15rem; }
.contact-list small { color: var(--ink-soft); }
.contact-list.compact { margin: 1.6rem 0 0; gap: .6rem; }
.hours { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; border: 1px solid var(--line); }
.hours-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.hours h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.open-status { font-size: .82rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: #e4f3ea; color: #17673f; }
.open-status.closed { background: #fbe6df; color: var(--coral-ink); }
.hours table { width: 100%; border-collapse: collapse; margin-bottom: .8rem; }
.hours th, .hours td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: "Hoy"; margin-left: .5rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: #fff; padding: .15rem .45rem; border-radius: 6px; vertical-align: middle; }

/* Booking */
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.booking-intro > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.wa-card { display: flex; gap: 1rem; margin-top: 2rem; padding: 1.4rem; border-radius: var(--radius); background: #e8f5ee; border: 1px solid #cfe9da; }
.wa-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.wa-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .9rem; }
.wa-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wa); color: #fff; }
.wa-badge .icon { width: 26px; height: 26px; }

.form { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-body { display: grid; gap: 1.1rem; }
.form-note { font-size: .86rem; color: var(--ink-soft); }
.field { display: grid; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label, .field legend { font-weight: 600; font-size: .94rem; padding: 0; }
.field label small { font-weight: 500; color: var(--ink-soft); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #c9d6d0; border-radius: var(--radius-sm); background: var(--cream); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23123f3c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(18, 63, 60, .12); }
.field [aria-invalid="true"] { border-color: #c0412a !important; background-color: #fff7f5 !important; }
.error { color: #b3361f; font-size: .85rem; font-weight: 600; min-height: 0; }
.error:empty { display: none; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--tint); min-height: 48px; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label { display: grid; place-items: center; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.segmented input:checked + label { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(18, 63, 60, .15); }
.segmented input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 1px; }
.check { grid-template-columns: auto 1fr; align-items: start; column-gap: .7rem; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--ink); }
.check label { font-weight: 500; }
.check .error { grid-column: 1 / -1; }
.form-success { text-align: center; padding: 2rem 1rem; display: grid; gap: .9rem; justify-items: center; }
.form-success:focus { outline: none; }
.form-success[hidden] { display: none; }
.form-success h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.form-success p { color: var(--ink-soft); max-width: 28rem; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e4f3ea; color: #17673f; }
.success-icon .icon { width: 32px; height: 32px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
.faq-list { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; position: relative; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: #0d2f2d; color: #c8d8d3; padding: 4rem 0 6rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brand-light { color: #fff; margin-bottom: 1rem; }
.brand-light .brand-sub { color: #9fb8b1; }
.footer-brand p { max-width: 18rem; }
.footer-title { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer a { color: #e3ece9; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .84rem; color: #9fb8b1; }

/* WhatsApp FAB + dialog */
.wa-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 28px -8px rgba(31, 143, 85, .7); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .icon { width: 30px; height: 30px; }
.wa-dialog { width: min(100% - 2rem, 380px); max-height: min(620px, 100% - 2rem); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); background: #efe9e0; color: var(--ink); overflow: hidden; margin: auto 1.25rem 1.25rem auto; }
.wa-dialog[open] { display: flex; flex-direction: column; }
.wa-dialog::backdrop { background: rgba(13, 47, 45, .35); }
.wa-top { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #155e43; color: #fff; }
.wa-top h2 { font-family: var(--sans); font-size: 1rem; }
.wa-top p { font-size: .78rem; opacity: .85; }
.wa-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.wa-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.wa-close:hover { background: rgba(255, 255, 255, .15); }
.wa-chat { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; min-height: 220px; }
.bubble { max-width: 82%; padding: .55rem .8rem; border-radius: 12px; font-size: .95rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #d6f5c9; align-self: flex-end; border-top-right-radius: 4px; }
.bubble.typing { color: var(--ink-soft); font-style: italic; }
.wa-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .7rem; }
.wa-quick button { border: 1px solid #b9d9c6; background: #fff; color: #155e43; border-radius: 999px; padding: .4rem .8rem; font-size: .86rem; font-weight: 600; cursor: pointer; }
.wa-quick button:hover { background: #e8f5ee; }
.wa-input { display: flex; gap: .5rem; padding: .7rem; background: #f6f2ec; border-top: 1px solid #e0d8cc; }
.wa-input input { flex: 1; min-height: 44px; border: 0; border-radius: 999px; padding: 0 1rem; background: #fff; }
.wa-input input:focus { outline: 2px solid #155e43; }
.wa-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #155e43; color: #fff; display: grid; place-items: center; cursor: pointer; }

/* Reveal */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .services, .quotes { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-next { left: .8rem; }
  .float-rating { right: .8rem; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.5rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(18, 63, 60, .35); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--line); background: none; font-size: 1.05rem; }
  .hero-grid, .director, .why, .location, .booking, .faq { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-photo { aspect-ratio: 4 / 3.6; border-radius: 200px 200px var(--radius) var(--radius); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .director-photo { max-width: 480px; }
  .why-media { max-width: 560px; }
  .team { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .booking-intro { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .demo-bar { font-size: .76rem; }
  .services, .quotes, .plans { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .team li:last-child { grid-column: 1 / -1; max-width: calc(50% - .5rem); justify-self: center; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-rating { display: none; }
  .float-next { bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .also .fineprint { margin-left: 0; }
  .wa-dialog { margin: auto auto .75rem; }
  .wa-fab { width: 56px; height: 56px; right: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
