:root {
  --navy: #12324f;
  --navy-2: #1c4466;
  --teal: #0f7c7a;
  --teal-2: #0b6361;
  --teal-soft: #e3f2f0;
  --sand: #f7f4ee;
  --ink: #1b2733;
  --muted: #5a6875;
  --line: #dde3e8;
  --white: #ffffff;
  --bg: #ffffff;
  --warn-bg: #fff6e6;
  --warn-line: #f0d29a;
  --danger: #b3261e;
  --ok: #1d7a3a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 50, 79, .10);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-300%); background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: none; }
html, body { overflow-x: clip; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .7em; }
.eyebrow.light { color: #9fe0d9; }
.small { font-size: .88rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); }
.btn-primary:disabled { background: #9bb9b8; cursor: not-allowed; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--navy); background: transparent; padding-left: 10px; padding-right: 10px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }

/* top bar + header */
.topbar { background: var(--navy); color: #d6e4ee; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--serif); }
.brand-text strong { font-size: 1.12rem; }
.brand-text span { font-size: .9rem; color: var(--teal); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-family: var(--sans); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--teal-soft); color: var(--teal-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: #fff; border: 0; padding: 7px 11px; font-weight: 700; font-size: .8rem; color: var(--muted); cursor: pointer; font-family: var(--sans); }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--sand), #fff); padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.14rem; color: #34414d; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px 22px; flex-wrap: wrap; color: var(--navy); font-weight: 500; font-size: .96rem; }
.hero-points li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }
.hero-img { margin: 0; }
.hero-img img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 22px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.strip-grid > div:first-child { border-left: 0; }
.strip strong { font-family: var(--serif); color: var(--navy); font-size: 1.22rem; }
.strip span { color: var(--muted); font-size: .92rem; }

/* sections */
.section { padding: 84px 0; }
.section-tint { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; }
.card-body p { color: var(--muted); margin: 0; font-size: .98rem; }

.ho-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ho { background: #fff; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 44% 1fr; border: 1px solid var(--line); }
.ho img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; }
.ho > div { padding: 22px 22px 18px; }
.ho ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
.ho li { margin-bottom: 6px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-img { margin: 0; }
.feature-img img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; counter-reset: c; }
.checks li { position: relative; padding: 9px 0 9px 44px; border-bottom: 1px dashed var(--line); counter-increment: c; }
.checks li::before { content: counter(c); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-2); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; font-family: var(--sans); margin-bottom: 12px; }

.area { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.area-bg { position: absolute; inset: 0; }
.area-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.area-in { position: relative; }
.area h2, .area h3 { color: #fff; }
.boros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 22px; }
.boro { background: rgba(8, 28, 46, .72); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px; }
.boro p { color: #d8e4ec; margin: 0; }
.area-note { color: #d8e4ec; max-width: 700px; }

/* booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.bk-col { display: flex; flex-direction: column; gap: 22px; }
.bk-step, .bk-step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 10px rgba(18,50,79,.04); }
.bk-step legend { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.bk-step legend + * { clear: both; }
.bk-step legend .num { margin: 0; width: 30px; height: 30px; font-size: .88rem; background: var(--teal); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; clear: both; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; color: var(--navy); background: #fff; }
.pills input:checked + span { border-color: var(--teal); background: var(--teal); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid #f2a900; outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.field input, .field select, .field textarea, .chat input, .chat textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 11px 13px; border-radius: 10px; border: 1.5px solid #c9d3db; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(15,124,122,.16); }
.field input.bad { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; clear: both; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin: 6px 0 16px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.privacy-note { font-size: .88rem; background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 9px 12px; border-radius: 10px; color: #6b4d12; }
.hint { color: var(--muted); font-size: .95rem; clear: both; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.summary { clear: both; background: var(--teal-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; color: var(--navy); font-weight: 600; }

.cal { clear: both; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-family: var(--serif); font-size: 1.12rem; color: var(--navy); text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--navy); line-height: 1; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; font-size: .95rem; padding: 0; }
.cal-day:hover:not(:disabled) { border-color: var(--teal); }
.cal-day:disabled { background: #f3f5f7; color: #b3bcc4; border-color: transparent; cursor: default; }
.cal-day.sel { background: var(--teal); color: #fff; border-color: var(--teal); }
.cal-day.today { box-shadow: inset 0 0 0 2px #f2a900; }

.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; clear: both; }
.slot { padding: 12px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; text-align: center; font-size: .95rem; }
.slot:hover:not(:disabled) { border-color: var(--teal); }
.slot.sel { background: var(--teal); color: #fff; border-color: var(--teal); }
.slot:disabled { background: #f3f5f7; color: #a8b2bb; text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
.slot small { display: block; font-weight: 500; font-size: .74rem; text-decoration: none; }

/* faq / about */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 17px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.4rem; color: var(--teal); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 6px; }
.notice { background: var(--sand); border-left: 4px solid var(--teal); padding: 16px 18px; border-radius: 8px; color: #3c4955; font-size: .96rem; }

/* footer */
.footer { background: var(--navy); color: #cfdde8; padding: 56px 0 24px; }
.footer a { color: #fff; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.brand-foot { color: #fff; margin-bottom: 12px; }
.brand-foot .brand-text span { color: #8fd6ce; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .88rem; }

/* chat */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font: inherit; font-weight: 600; box-shadow: 0 10px 28px rgba(0,0,0,.25); cursor: pointer; }
.chat-fab:hover { background: var(--navy-2); }
.chat-fab .badge { background: #e8483f; border-radius: 999px; font-size: .75rem; padding: 1px 7px; }
.chat { position: fixed; right: 20px; bottom: 86px; z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat[hidden] { display: none; }
.chat-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-head div { display: flex; flex-direction: column; }
.chat-head span { font-size: .8rem; color: #b9cfdf; }
.chat-x { background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f6f8fa; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: .95rem; white-space: pre-wrap; word-wrap: break-word; }
.msg.nurse { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.visitor { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.sys { align-self: center; background: none; color: var(--muted); font-size: .82rem; text-align: center; max-width: 95%; }
.msg time { display: block; font-size: .7rem; opacity: .7; margin-top: 3px; }
.chat-quick { display: flex; gap: 6px; padding: 8px 12px 0; flex-wrap: wrap; }
.chip { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-2); text-decoration: none; font-weight: 600; }
.chat-start { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 12px 0; }
.chat-start[hidden] { display: none; }
.chat-start input { padding: 8px 10px; font-size: .9rem; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px 12px; align-items: flex-end; }
.chat-input textarea { resize: none; max-height: 120px; padding: 10px 12px; font-size: .95rem; }
.chat-input .btn { padding: 10px 16px; }

/* responsive */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .feature, .booking { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .ho-grid { grid-template-columns: 1fr; }
  .steps, .boros { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .phone-link { display: none; }
  .header-actions .btn-primary { padding: 9px 14px; font-size: .88rem; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .76rem; }
  .brand img { width: 34px; height: 34px; }
  .topbar-right { display: none; }
  .hero { padding: 24px 0 32px; }
  .ho { grid-template-columns: 1fr; }
  .ho img { min-height: 0; aspect-ratio: 3/2; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .cards { grid-template-columns: 1fr; }
  .chat-fab span[data-i18n] { display: none; }
  .chat-fab { padding: 15px 17px; }
  .chat { right: 8px; bottom: 80px; width: calc(100vw - 16px); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 400px) {
  .lang button { padding: 7px 8px; }
  .header-actions .btn-primary { display: none; }
}

/* experience, pricing, nurses */
.feature-rev .feature-img { order: 2; }
.ticks li { padding-left: 36px; }
.ticks li::before { content: "✓"; width: 24px; height: 24px; top: 10px; font-size: .8rem; }
.muted { color: var(--muted); }
.prices { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; align-items: stretch; margin-bottom: 18px; }
.price-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; background: #fff; }
.price-card p { color: var(--muted); flex: 1; }
.price-card.main { border: 2px solid var(--teal); box-shadow: var(--shadow); background: linear-gradient(180deg, var(--teal-soft), #fff 55%); }
.price-label { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--teal-2); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 12px; }
.amt { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.amt.small-amt { font-size: 1.6rem; }
.per { color: var(--muted); font-weight: 500; }
.section-dark { background: var(--navy); color: #d8e4ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.rn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rn-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 28px; }
.rn-card ul { margin: 0; padding-left: 1.1em; }
.rn-card li { margin-bottom: 7px; }
.rn-tag { display: inline-block; background: #f2c14e; color: var(--navy); font-weight: 800; font-size: .75rem; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; text-transform: uppercase; }
.rn-img { border-radius: 18px; overflow: hidden; margin: 0 0 28px; }
.rn-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.rn-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); }
@media (max-width: 900px) {
  .feature-rev .feature-img { order: -1; }
  .prices, .rn-grid { grid-template-columns: 1fr; }
  .rn-img img { aspect-ratio: 3 / 2; }
}
.offer { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff4d6; border: 1.5px solid #f2c14e; color: var(--navy); text-decoration: none; border-radius: 999px; padding: 7px 16px 7px 7px; margin-top: 6px; font-weight: 500; }
.offer-pill { background: #c8372d; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.offer s, .was { color: #8a96a2; font-weight: 500; }
.was { font-family: var(--serif); font-size: 1.7rem; margin-right: 4px; }
.offer-tag { align-self: flex-start; background: #c8372d; color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.save { color: #c8372d; font-weight: 700; flex: 0 !important; }

/* equipment guide */
.eq-hero { padding: 44px 0 28px; }
.eq-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 900px; }
.eq-search input { width: 100%; max-width: 560px; font: inherit; padding: 13px 18px; border-radius: 999px; border: 1.5px solid #c9d3db; background: #fff; margin: 6px 0 16px; }
.eq-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,124,122,.16); }
.eq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chip-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.eq-notice { margin: 26px 0 8px; }
.eq-cat { padding: 36px 0 10px; }
.eq-cat-head { margin-bottom: 18px; }
.eq-cat-head h2 { margin-bottom: 4px; }
.eq-cat-head p { color: var(--muted); margin: 0; }
.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.eq-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.eq-media { position: relative; aspect-ratio: 16 / 10; background: #eef2f5; }
.eq-media img, .eq-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.eq-play { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(200,55,45,.92); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.eq-play span { margin-left: 3px; }
.eq-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.eq-body h3 { font-size: 1.14rem; margin-bottom: 6px; }
.eq-body > p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.eq-safety { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 8px 11px; color: #5c4210 !important; font-size: .88rem !important; }
.eq-watch { margin-top: auto; align-self: flex-start; font: inherit; font-weight: 600; font-size: .9rem; background: var(--teal-soft); color: var(--teal-2); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.eq-src { font-size: .76rem !important; color: #8a96a2 !important; margin: 6px 0 0 !important; }
.eq-nav { display: flex; }
.eq-link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .95rem; }

/* know your rights */
.rights-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rights-tabs button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.rights-tabs button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.rights-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.rights-sub { color: var(--muted); margin-bottom: 10px; }
.rights-list { margin: 0; padding-inline-start: 1.3em; }
.rights-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.rights-list li:last-child { border-bottom: 0; }
.rights-list a { font-size: .82rem; white-space: nowrap; }
.rights-phones { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 20px 0 14px; }
.rphone { display: flex; flex-direction: column; background: var(--navy); color: #fff !important; text-decoration: none; border-radius: 12px; padding: 12px 16px; }
.rphone small { color: #b9cfdf; font-size: .8rem; }
.rphone strong { font-size: 1.15rem; letter-spacing: .02em; direction: ltr; unicode-bidi: embed; }
.check.shabbat { background: var(--sand); border-radius: 10px; padding: 10px 12px; }

/* Yiddish (right-to-left) */
[dir="rtl"] body { font-family: "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Noto Serif Hebrew", "Times New Roman", serif; }
[dir="rtl"] .hero-points li::before { margin-right: 0; margin-left: 7px; }
[dir="rtl"] .checks li { padding: 9px 44px 9px 0; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 36px; }
[dir="rtl"] summary { padding-right: 0; padding-left: 30px; }
[dir="rtl"] summary::after { right: auto; left: 0; }
[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--teal); }
[dir="rtl"] .chat-fab { right: auto; left: 20px; }
[dir="rtl"] .chat { right: auto; left: 20px; }
[dir="rtl"] .ho ul, [dir="rtl"] .rn-card ul { padding-left: 0; padding-right: 1.1em; }
[dir="rtl"] .eq-play { right: auto; left: 12px; }
[dir="rtl"] .slot, [dir="rtl"] .cal-day, [dir="rtl"] input[type=tel], [dir="rtl"] input[type=email], [dir="rtl"] [data-phone-text] { direction: ltr; }
/* Yiddish version: no people photos */
.yi-plain .hero-grid, .yi-plain .feature { grid-template-columns: 1fr; }
.yi-plain .hero { background: linear-gradient(135deg, var(--navy), #1c4f6e); }
.yi-plain .hero h1, .yi-plain .hero .lead, .yi-plain .hero .hero-points { color: #fff; }
.yi-plain .hero .eyebrow { color: #9fe0d9; }
.yi-plain .hero .btn-outline { border-color: #fff; color: #fff; }
.yi-plain .ho { grid-template-columns: 1fr; }
.yi-plain .card img[hidden] { display: none; }
figure[hidden], img[hidden] { display: none !important; }
/* front-page video */
.video-band { background: var(--navy); color: #fff; padding: 48px 0 56px; }
.video-band h2 { color: #fff; margin-bottom: 20px; }
.video-band .eyebrow { color: #9fe0d9; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 1100px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 3D hero (Mibbin Use Skill pass 1) ---------- */
.hero-3d { position: relative; aspect-ratio: 4 / 3.4; border-radius: 26px; overflow: hidden; cursor: grab; touch-action: pan-y;
  background: radial-gradient(120% 90% at 20% 20%, #ffe3c2 0%, #f6b98d 38%, #d98b86 70%, #7d5a7a 100%);
  box-shadow: 0 30px 60px rgba(125, 70, 50, .25), inset 0 0 0 1px rgba(255,255,255,.35); }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hero-3d.dragging { cursor: grabbing; }
.hero-3d-hint { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(18,50,79,.45); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 999px; opacity: 0; transition: opacity .6s; pointer-events: none; }
.hero-3d.ready .hero-3d-hint { opacity: 1; animation: hintFade 1s 5s forwards; }
@keyframes hintFade { to { opacity: 0; } }
.hero-fallback { display: none; }
.no-webgl .hero-3d { display: none; } .no-webgl .hero-fallback { display: block; }
@media (max-width: 900px) { .hero-3d { order: -1; aspect-ratio: 4 / 3.2; } }

/* ---------- icons, liquid buttons, scroll reveal (Mibbin Use Skill pass 1) ---------- */
.ico-svg { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.strip-grid > div { position: relative; padding-left: 70px; }
.strip-grid > div > .ico-svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); font-size: 26px; }
[dir=rtl] .strip-grid > div { padding-left: 18px; padding-right: 70px; } [dir=rtl] .strip-grid > div > .ico-svg { left: auto; right: 18px; }
.step > .ico-svg { float: right; font-size: 38px; color: var(--teal); background: var(--teal-soft); border-radius: 14px; width: 60px; height: 60px; }
[dir=rtl] .step > .ico-svg { float: left; }
.phone-link .ico-svg, .chat-fab .ico-svg { font-size: 1.3em; margin-inline-end: 4px; }
.hero-points li::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -3px; margin-inline-end: 7px; background: currentColor; color: var(--teal);
  -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.btn-primary { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(110deg, #0b6361 0%, #0f7c7a 35%, #2fb3a8 50%, #0f7c7a 65%, #0b6361 100%); background-size: 260% 100%; animation: liquid 6s ease-in-out infinite; box-shadow: 0 8px 22px rgba(15,124,122,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; transform: skewX(-20deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); transition: left .8s ease; z-index: -1; left: -60%; }
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(15,124,122,.45), inset 0 1px 0 rgba(255,255,255,.3); }
@keyframes liquid { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn-primary { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- effects pass (Mibbin Use Skill): letters, words, parallax band, tilt, scan, sunset buttons ---------- */
.letters .w { display: inline-block; white-space: nowrap; }
.letters .l { display: inline-block; opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.6); filter: blur(4px);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d), opacity .7s ease var(--d), filter .9s ease var(--d); }
.letters.landed .l { opacity: 1; transform: none; filter: none; }
.words .wr { display: inline-block; opacity: 0; transform: translateY(.6em); transition: transform .8s cubic-bezier(.2,.8,.2,1) var(--d), opacity .8s ease var(--d); }
.words.up .wr { opacity: 1; transform: none; }

.card, .ho, .feature-img, .rn-img { overflow: hidden; }
img.plx { will-change: transform; transform: scale(1.12); transition: transform .12s linear; }

.area { background: #1c1638; }
.plx-band { position: absolute; inset: 0; overflow: hidden; }
.plx-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2b2360 0%, #6b3f7a 38%, #d9776b 68%, #f6b78a 100%); }
.plx-sun { position: absolute; left: 62%; top: 48%; width: 220px; height: 220px; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff1c9 0%, #ffd08a 38%, rgba(255,160,110,.35) 62%, rgba(255,140,100,0) 72%); filter: blur(1px); animation: sunPulse 6s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: translate(-50%, -50%) scale(1.06); } }
.plx-band > [data-depth] { position: absolute; left: -8%; right: -8%; bottom: 0; will-change: transform; }
.plx-layer { display: block; width: 100%; height: auto; }
.plx-band > [data-depth="0.15"] { bottom: 22%; } .plx-band > [data-depth="0.35"] { bottom: 14%; } .plx-band > [data-depth="0.7"] { bottom: 4%; } .plx-band > [data-depth="1.2"] { bottom: -4%; }
.area .area-in { position: relative; z-index: 2; }
.area .boro { background: rgba(18, 12, 40, .62); backdrop-filter: blur(6px); }

.tilt { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35), rgba(255,255,255,0) 45%); }
.tilt:hover::after { opacity: 1; } .tilt:hover { box-shadow: 0 24px 50px rgba(18,50,79,.18); }

.scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.scan-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,255,235,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(120,255,235,.35) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(180deg, #000 0%, #000 var(--p, 0%), transparent calc(var(--p, 0%) + 1%)); animation: gridFade 3s ease forwards; }
.scan-line { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: linear-gradient(90deg, transparent, #9ffff0, #fff, #9ffff0, transparent);
  box-shadow: 0 0 24px 6px rgba(120,255,235,.55); animation: scanDown 2.2s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes scanDown { from { top: -2%; opacity: 1; } 85% { opacity: 1; } to { top: 102%; opacity: 0; } }
@keyframes gridFade { 0% { opacity: .9; } 70% { opacity: .5; } 100% { opacity: 0; } }

.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(circle at 50% 118%, #fff1c4 0 14%, #ffc27a 15% 22%, rgba(255,160,90,0) 36%), linear-gradient(180deg, #3a2a6b 0%, #b9577a 55%, #f59a6b 100%); }
.btn-primary:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .plx-sun { animation: none; } }

/* ---------- brand logo: the visiting-nurse superhero (img/brand, transparent, 1.1:1) ---------- */
.brand img.brand-logo { width: auto; height: 58px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(20, 51, 75, .18)); }
.brand-foot img.brand-logo { height: 72px; filter: none; }
@media (max-width: 640px) { .brand img.brand-logo { width: auto; height: 46px; } }

/* ==========================================================================================
   Phone fit (2026-09-27): every Android and iPhone width from 320 px up, portrait and landscape, EN/RU/YI.
   ========================================================================================== */
/* notch and rounded corners (the pages use viewport-fit=cover): in landscape the page steps in from the sides */
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
/* long Russian and Yiddish words wrap instead of running off the screen: any word wider than its line breaks,
   and one-column grids may shrink below their longest word */
body { overflow-wrap: break-word; }
h1, h2, h3, h4, summary, .lead, .btn, .price-label, .strip strong, .brand-text strong { overflow-wrap: anywhere; }
@media (max-width: 480px) { :is(h1, h2, h3, summary, .statement):lang(ru) { -webkit-hyphens: auto; hyphens: auto; } }   /* long Russian words hyphenate on phones */
.cards { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
@media (max-width: 900px) { .feature, .ho-grid, .steps, .boros, .footer-grid, .booking, .rn-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cards, .ho { grid-template-columns: minmax(0, 1fr); } }

/* phones: the header takes two rows (logo, name and menu on top; languages and "Book a visit" below), so the
   menu button and the language switch are never pushed off the screen */
@media (max-width: 640px) {
  .site-header .header-in { flex-wrap: wrap; gap: 6px 8px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .site-header .brand { flex: 1 1 calc(100% - 52px); min-width: 0; }
  .site-header .header-actions { display: contents; }
  .site-header .menu-btn { order: 1; flex: none; }
  .site-header .lang { order: 2; flex: none; }
  .site-header .header-actions .btn-primary { order: 3; display: inline-flex; flex: 1 1 0; max-width: max-content; min-width: 0; min-height: 44px; margin-inline-start: auto; }
  .topbar-in { justify-content: center; text-align: center; }
}
/* landscape phones and tablets: one compact row; the header's phone-number link steps out (the hero's Call
   button and every "Book a visit" button dial the same line) */
@media (min-width: 641px) and (max-width: 900px) {
  .site-header .phone-link { display: none; }
  .site-header .header-in { gap: 14px; }
  .site-header .brand img.brand-logo { height: 46px; }
  .site-header .brand-text strong { font-size: 1.12rem; }
  .site-header .header-actions .btn-primary { padding-top: 9px; padding-bottom: 9px; padding-inline-start: 14px; font-size: .86rem; min-height: 44px; }
}
@media (min-width: 901px) and (max-width: 1280px) and (pointer: coarse) { .site-header .phone-link { display: none; } }
@media (min-width: 1081px) and (max-width: 1280px) { .site-header .phone-link:lang(ru) { display: none; } }   /* the Russian nav + "Записаться на визит" need the room */
@media (max-width: 360px) { body .topbar { letter-spacing: 0; font-size: .66rem; } }   /* the area line fits on one row */
@media (max-width: 380px) { .site-header .header-in { padding-left: 14px; padding-right: 14px; column-gap: 6px; } }   /* "Записаться" fits beside the languages */

/* touch: every control at least 44 x 44 px */
@media (max-width: 900px), (pointer: coarse) {
  .lang button { min-width: 44px; min-height: 44px; }
  .menu-btn { width: 44px; height: 44px; }
  .chat-x { min-width: 44px; min-height: 44px; margin-block: -6px; margin-inline-end: -8px; }
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .chip-btn, .eq-watch, .nav-more-btn { min-height: 44px; }
  .eq-link { padding: 10px 0; margin-bottom: -10px; }
  .footer p > a, .footer-bottom a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .nav a { min-height: 44px; min-width: 44px; display: flex; align-items: center; }
  .skip { min-height: 44px; }
}

/* the open phone menu scrolls on short (landscape) screens instead of running below the bottom edge */
@media (max-width: 1080px) {
  .nav.open { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 640px) { .nav.open { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); } }

/* trust strip: two columns only when they fit (Russian and Yiddish words are long); one column on phones */
.strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .strip-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-grid > div, .strip-grid > div:nth-child(3) { border-left: 0; border-right: 0; }
  .strip-grid > div:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* chat: fields at 16 px so iOS does not zoom in; the panel fits the visible screen and the notch */
.chat input, .chat textarea { font-size: 16px; }
.chat-start input { font-size: 16px; }
.chat-input textarea { font-size: 16px; }
.chat-fab { right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transition: opacity .25s, visibility .25s, background .15s; }
.chat-fab.dodge { opacity: 0; visibility: hidden; pointer-events: none; }
.chat { right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100dvh - 120px - env(safe-area-inset-bottom, 0px))); }
[dir="rtl"] .chat-fab { left: calc(20px + env(safe-area-inset-left, 0px)); right: auto; }
[dir="rtl"] .chat { left: calc(20px + env(safe-area-inset-left, 0px)); right: auto; }
@media (max-width: 640px) {
  /* phones: the chat opens as a sheet over the chat button (the × closes it) */
  .chat, [dir="rtl"] .chat { left: calc(8px + env(safe-area-inset-left, 0px)); right: calc(8px + env(safe-area-inset-right, 0px)); width: auto;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: min(560px, calc(100vh - 16px)); height: min(560px, calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))); }
}
@media (max-width: 400px) { .chat-start { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-height: 500px) {
  /* landscape phones: the chat panel uses the whole height, over the chat button */
  .chat { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: calc(100vh - 16px); height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px)); }
  .chat-head { padding-top: 10px; padding-bottom: 10px; }
}
/* landscape phones: the chat button is the round icon, as on portrait phones */
@media (max-height: 500px) { .chat-fab span[data-i18n] { display: none; } }
/* the Yiddish language button in a Hebrew-script face (the mono face has no Hebrew letters) */
.lang button[lang="yi"] { font-family: "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif; font-size: .8rem; }
