/* Alvura Dental Clinic: deep sea ink, clinical teal and a mint ground, warm
   white paper. Fraunces for headings, Manrope for reading. */
:root {
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --mint: #E8F5F1;
  --mint-2: #D3ECE5;
  --teal: #0F766E;
  --teal-deep: #0B5E58;
  --ink: #0B2A33;
  --ink-2: #123C48;
  --muted: #4A626B;
  --line: #D6E5E0;
  --coral: #B4441B;
  --coral-soft: #FCEDE6;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px;
  color-scheme: light;

  --bk-accent: var(--teal);
  --bk-accent-ink: #FFFFFF;
  --bk-ink: var(--ink);
  --bk-muted: var(--muted);
  --bk-line: var(--line);
  --bk-surface: var(--white);
  --bk-soft: var(--mint);
  --bk-radius: 22px;
  --bk-radius-sm: 12px;
  --bk-radius-btn: 999px;
  --bk-font: var(--sans);
  --bk-display: var(--serif);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html[data-lang="pt"]:not([data-i18n-ready]) body { visibility: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3 { font-size: 21px; line-height: 1.2; font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #14B8A6; outline-offset: 3px; }
[data-clean] [data-demo-only] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; cursor: pointer; }
.btn-lg { min-height: 54px; padding: 0 26px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--mint); color: var(--teal-deep); min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-soft:hover { background: var(--teal); color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.mark { width: 36px; height: 36px; color: var(--teal); flex: none; }
.brand span { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; display: grid; }
.brand small { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-top: 4px; font-weight: 500; white-space: nowrap; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-demo { color: var(--teal) !important; }
.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); }
.lang span { color: var(--line); font-size: 13px; }
.lang button { font: 700 13px/1 var(--sans); letter-spacing: .04em; border: 0; background: transparent; color: var(--muted); padding: 8px 10px; border-radius: 999px; cursor: pointer; min-width: 38px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-book { min-height: 42px; padding: 0 18px; }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 96px); background: radial-gradient(90% 70% at 85% 10%, var(--mint) 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { display: flex; align-items: flex-start; gap: 10px; color: var(--teal-deep); font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.kicker-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 8px; box-shadow: 0 0 0 4px var(--mint-2); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 450; line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: var(--teal); }
.lede { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.chips li { font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.chips li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--mint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-art { position: relative; padding-bottom: 36px; }
.art { border-radius: 40px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 42, 51, .35); }
.art-svg { display: block; width: 100%; height: auto; }
.art-tooth { transform-origin: 200px 220px; animation: float 6s ease-in-out infinite; }
.sparkle path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle path:nth-child(2) { animation-delay: .8s; }
.sparkle path:nth-child(3) { animation-delay: 1.6s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes twinkle { 50% { transform: scale(.6); opacity: .4; } }

.next { position: absolute; left: -24px; bottom: 0; width: min(330px, 92%); display: grid; gap: 2px; padding: 18px 20px; border-radius: 18px; background: var(--white); text-decoration: none; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(11, 42, 51, .45); border: 1px solid var(--line); transition: transform .2s; }
.next:hover { transform: translateY(-2px); }
.next-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.next-when { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-top: 4px; }
.next-who { font-size: 15px; color: var(--muted); }
.next-go { margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--teal); }
.next-go::after { content: ' →'; }

/* Section heads */
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px !important; font-weight: 700; color: #7EE2CF !important; margin: 0 0 12px !important; }

/* Treatments */
.treat { padding-block: clamp(56px, 8vw, 104px); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--teal); box-shadow: 0 16px 34px -24px rgba(15, 118, 110, .55); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { color: var(--ink) !important; font-size: 17px; font-variant-numeric: tabular-nums; }
.card-urgent { background: var(--coral-soft); border-color: #F3CDBD; }
.card-urgent .card-icon { background: #fff; }
.card-urgent .card-icon svg { stroke: var(--coral); }

/* Emergency */
.urgent { background: var(--ink); color: #fff; padding-block: clamp(40px, 6vw, 64px); }
.urgent-row { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.urgent h2 { font-size: clamp(28px, 3.4vw, 40px); }
.urgent p { color: #C8DCE0; margin-top: 12px; max-width: 40em; }
.urgent .urgent-ooh { font-size: 15px; color: #9FC0C6; }
.urgent-actions { display: grid; gap: 10px; }
.urgent .btn-line { border-color: #fff; color: #fff; }
.urgent .btn-line:hover { background: #fff; color: var(--ink); }

/* Team */
.team { padding-block: clamp(56px, 8vw, 104px); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.people li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.people p { color: var(--muted); font-size: 15px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 22px/1 var(--serif); color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 55%), var(--av); margin-bottom: 6px; letter-spacing: .02em; }
.people .role { color: var(--teal-deep); font-weight: 600; font-size: 14px; }
.people .days { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }

/* Booking */
.book { background: var(--mint); padding-block: clamp(56px, 8vw, 104px); }
.book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.book-side p { color: var(--muted); margin-top: 14px; }
.facts { margin: 28px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--mint-2); }
.facts dt { font-weight: 700; font-size: 14px; color: var(--teal-deep); }
.facts dd { margin: 0; font-size: 15px; }

/* Payment */
.money { padding-block: clamp(48px, 7vw, 88px); }
.money-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.money p { color: var(--muted); margin-top: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 48px; position: relative; font-weight: 600; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Reviews (examples) */
.reviews { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.demo-label span { display: inline-block; background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.reviews .section-head p:last-child { font-size: 15px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quotes figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.quotes .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: #78350F; background: #FEF3C7; padding: 3px 10px; border-radius: 999px; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.quotes figcaption { margin-top: auto; color: var(--muted); font-size: 14px; }

/* How it works (demo) */
.how { background: linear-gradient(180deg, var(--ink) 0%, #072028 100%); color: #fff; padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.how .section-head p { color: #BFD6DB; }
.flow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; --flow-p: .125; }
.flow-stage { display: grid; justify-items: center; gap: 18px; position: sticky; top: 96px; }
.phone { width: min(320px, 100%); height: 540px; background: #0E1A1F; border-radius: 42px; padding: 12px; box-shadow: 0 0 0 2px #26434C, 0 40px 80px -30px rgba(0, 0, 0, .7); display: flex; flex-direction: column; position: relative; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; margin-left: -45px; border-radius: 20px; background: #0E1A1F; z-index: 2; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 40px 14px 12px; background: #075E54; border-radius: 32px 32px 0 0; color: #fff; }
.phone-head b { display: block; font-size: 15px; }
.phone-head small { display: block; font-size: 12px; opacity: .8; }
.phone-av { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font: 700 15px/1 var(--serif); border: 2px solid #fff; }
.chat { flex: 1; background: #ECE5DD; border-radius: 0 0 32px 32px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; color: #111; }
.b { max-width: 86%; font-size: 13.5px; line-height: 1.4; }
.b p { margin: 0; overflow-wrap: anywhere; }
.b small { display: block; text-align: right; font-size: 10.5px; color: #5F6B6E; margin-top: 3px; }
.b-in, .b-out { padding: 8px 10px 6px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.b-in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.b-out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 4px; }
.b-auto { color: #0B5E58; font-weight: 700; }
.b-sys { align-self: center; background: #FFF6D6; color: #5B4A12; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 8px; text-align: center; max-width: 92%; }
/* Bubbles that arrive one after the other */
.chat .b[style] { opacity: 0; transform: translateY(10px) scale(.97); animation: pop .45s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes pop { to { opacity: 1; transform: none; } }
.crm { width: min(420px, 100%); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px 18px; }
.crm-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #7EE2CF; }
.crm-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.crm-line { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #E7F2F4; }
.crm-step { display: block; font-size: 12px; color: #9FC0C6; margin-bottom: 4px; font-weight: 600; }
.crm-flash { animation: flash .9s ease; }
@keyframes flash { 0% { background: rgba(126, 226, 207, .25); } 100% { background: transparent; } }

.flow-steps { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 6px; }
.flow-steps::before, .flow-steps::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.flow-steps::after { background: #34D399; bottom: auto; height: calc((100% - 44px) * var(--flow-p)); transition: height .6s ease; }
.fs { position: relative; }
.fs::before { content: ''; position: absolute; left: -20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #0B2A33; border: 2px solid rgba(255, 255, 255, .3); z-index: 1; transition: background .3s, border-color .3s; }
.fs[data-state="done"]::before { background: #34D399; border-color: #34D399; }
.fs[data-state="now"]::before { background: #fff; border-color: #34D399; box-shadow: 0 0 0 5px rgba(52, 211, 153, .25); }
.fs button { width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 10px 12px; color: #fff; font: inherit; cursor: pointer; position: relative; overflow: hidden; transition: background .25s, border-color .25s; }
.fs button:hover { background: rgba(255, 255, 255, .05); }
.fs[data-state="now"] button { background: rgba(255, 255, 255, .09); border-color: rgba(126, 226, 207, .45); }
.fs-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.fs-icon svg { width: 21px; height: 21px; fill: none; stroke: #9FC0C6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fs[data-state="now"] .fs-icon { background: #34D399; }
.fs[data-state="now"] .fs-icon svg { stroke: #062A22; }
.fs[data-state="done"] .fs-icon svg { stroke: #7EE2CF; }
.fs-text b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.fs-n { color: #7EE2CF; }
.fs-text small { display: block; font-size: 13.5px; color: #A9C4C9; margin-top: 2px; }
.fs[data-state="next"] .fs-text b { color: #D6E4E7; }
.fs-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #34D399; }
@keyframes fs-fill { to { width: 100%; } }
.flow-controls { display: flex; gap: 10px; justify-content: center; }
.flow-caption { display: none; }
.fc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.fc:hover { background: rgba(255, 255, 255, .08); }
.fc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-play { background: #34D399; color: #062A22; border-color: #34D399; padding: 0 20px; }
.fc-play:hover { background: #6EE7B7; }
.fc-play svg { fill: currentColor; stroke: none; }
.fc-play .i-pause { display: none; }
[data-playing="true"] .fc-play .i-pause { display: inline; }
[data-playing="true"] .fc-play .i-play { display: none; }
.flow-note { margin-top: 14px; padding-left: 22px; font-size: 13.5px; color: #9FC0C6; }

/* Enquiry */
.ask { padding-block: clamp(56px, 8vw, 104px); }
.ask-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ask-grid > div p { color: var(--muted); margin-top: 14px; }
.ask-privacy { background: var(--mint); color: var(--teal-deep) !important; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.ask-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); display: grid; gap: 16px; }
.ask-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ask-form input, .ask-form select, .ask-form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--white); border: 1.5px solid #B9CFC8; border-radius: 12px; padding: 11px 12px; width: 100%; }
.ask-form input:focus, .ask-form select:focus, .ask-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint-2); }
.ask-form .check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-weight: 500; color: var(--muted); }
.ask-form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status { font-size: 15px; font-weight: 600; }
.status[data-kind="ok"] { color: #15803D; }
.status[data-kind="error"] { color: #B42318; }
.fine { font-size: 13px; color: var(--muted); }

/* Visit */
.visit { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit-info > p { margin-top: 14px; color: var(--muted); }
.visit .addr { font-weight: 600; color: var(--ink); }
.visit .contact { color: var(--ink); }
.visit .contact a { color: var(--teal-deep); font-weight: 600; }
.open { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink) !important; }
.open .dot { width: 9px; height: 9px; border-radius: 50%; background: #DC2626; }
.open[data-open] .dot { background: #16A34A; }
.hours { margin: 20px 0 0; display: grid; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hours dd { margin: 0; font-weight: 600; }
.map { position: relative; border-radius: 28px; overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; }
.map-label { position: absolute; left: 50%; top: 46%; transform: translate(-50%, 0); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* Footer */
.footer { background: var(--ink); color: #C8DCE0; padding-block: 36px 110px; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.foot-brand { font-family: var(--serif); font-size: 22px; color: #fff; margin-right: auto; }
.footer a { color: #fff; }
.foot-demo { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #9FC0C6; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.wa-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #25D366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-panel { position: absolute; right: 0; bottom: 70px; width: min(330px, calc(100vw - 32px)); background: var(--white); color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 24px 50px -20px rgba(11, 42, 51, .5); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wa-x { border: 0; background: var(--mint); width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.wa-number { font-weight: 700; font-size: 18px; color: #128C7E; }
.wa-demo { font-size: 13px; color: #78350F; background: #FEF3C7; padding: 8px 10px; border-radius: 10px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); opacity: 0; width: min(440px, calc(100vw - 32px)); background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: 15px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s; z-index: 50; }
.toast[data-show] { opacity: 1; transform: translate(-50%, 0); }

/* Demo note */
.demo-note { position: fixed; left: 16px; bottom: 16px; z-index: 35; display: flex; align-items: flex-start; gap: 6px; max-width: min(400px, calc(100vw - 110px)); background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; line-height: 1.45; color: var(--muted); box-shadow: 0 12px 28px -18px rgba(11, 42, 51, .5); }
.demo-note[hidden] { display: none; }
.demo-note { transition: opacity .3s, transform .3s; }
.wa { transition: opacity .3s; }
.wa.away { opacity: 0; pointer-events: none; }
.demo-note.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
.demo-note b { color: var(--ink); }
.demo-short { display: none; }
.demo-x { flex: none; border: 0; background: var(--mint); color: var(--ink); width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.demo-note a { color: var(--teal-deep); font-weight: 600; }

/* Booking widget, in the clinic's colours */
.book-widget [data-booking], .book-widget { scroll-margin-top: 90px; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .hero-grid, .book-grid, .money-grid, .ask-grid, .visit-grid, .urgent-row { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .next { left: 12px; }
  .quotes { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-stage { position: static; }
  .phone { height: 430px; }
  .flow-caption { display: block; width: min(420px, 100%); margin: 0; font-size: 15px; font-weight: 700; color: #fff; text-align: center; }
  .flow-caption b { color: #34D399; margin-right: 4px; }
  .urgent-actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-row { gap: 10px; min-height: 64px; }
  .brand span { font-size: 22px; }
  .brand small { display: none; }
  .mark { width: 32px; height: 32px; }
  .nav-book { padding: 0 14px; min-height: 40px; font-size: 15px; }
  .lang button { min-width: 34px; padding: 8px 8px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .cards, .people { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 84px 1fr; }
  .next { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; }
  .hero-art { padding-bottom: 0; }
  .urgent-actions .btn { white-space: normal; text-align: center; }
  .phone { height: 380px; border-radius: 36px; }
  .flow-steps { padding-left: 20px; }
  .fs button { grid-template-columns: 34px 1fr; padding: 9px 10px; gap: 10px; }
  .fs-icon { width: 34px; height: 34px; }
  .demo-note { right: auto; max-width: calc(100vw - 100px); font-size: 12.5px; padding: 6px 6px 6px 12px; align-items: center; border-radius: 999px; }
  .demo-short { display: inline; }
  .demo-note p { white-space: nowrap; }
  .demo-long { display: none; }
  .demo-x { width: 26px; height: 26px; font-size: 16px; }
  .bk-day em { font-size: 9.5px; }
  .footer { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art-tooth, .sparkle path, .pulse { animation: none; }
  .chat .b[style] { animation: none; opacity: 1; transform: none; }
  .fs-bar { display: none; }
  .flow-steps::after { transition: none; }
  .btn, .card, .next, .toast { transition: none; }
}
