:root {
  --cream: #f8f6f2;
  --paper: #fdfcfa;
  --stone: #eef0fb;
  --sage: #4657b8;
  --sage-deep: #4657b8;
  --sage-ink: #12141f;
  --ink: #1c1f2e;
  --muted: #55596b;
  --clay: #3d4ea8;
  --wa: #0f7d44;
  --line: rgba(18, 20, 31, .14);
  --radius: 18px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Frank Ruhl Libre", "Heebo", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.75 var(--font);
  padding-bottom: 84px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--sage-ink); }
h1 { font-size: clamp(2.5rem, 11vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
p { margin: 0 0 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; background: var(--sage-deep); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-stone { background: var(--stone); }
.section-dark { background: #1b2160; color: #eaf1f8; }
.section-dark h2 { color: #fff; }
.eyebrow { font-size: .85rem; letter-spacing: .08em; color: var(--clay); font-weight: 600; margin-bottom: .75rem; }
.section-dark .eyebrow { color: #b4bef5; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.6rem; border-radius: 999px;
  font: 600 1rem var(--font); text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-primary:hover { background: var(--sage-ink); }
.btn-ghost { border-color: var(--sage-deep); color: var(--sage-deep); }
.btn-ghost:hover { background: var(--sage-deep); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6a39; }
.btn-small { min-height: 42px; padding: .4rem 1.1rem; font-size: .95rem; background: var(--sage-deep); color: #fff; }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 246, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; margin-inline-end: auto; }
.brand-name { font: 700 1.2rem var(--serif); color: var(--sage-ink); letter-spacing: .01em; }
.brand-sub { font-size: .75rem; color: var(--muted); }
.menu-btn { width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--sage-ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; flex-direction: column; }
.nav.open { display: flex; }
.nav a { padding: 16px 0; text-decoration: none; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.header-cta { display: none; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 64px; }
.hero-in { display: grid; gap: 36px; }
.hero h1 { margin-bottom: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.actions .btn { flex: 1 1 150px; }
.hero-photo { margin: 0; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* ---------- services ---------- */
.services { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.services li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.services .num { font: 500 1.4rem var(--serif); color: var(--clay); min-width: 2.2rem; }
.services p { margin: 0; color: var(--muted); }
.note { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }

/* ---------- split ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split-text p { max-width: 52ch; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: var(--radius); }
.duo img:nth-child(2) { margin-top: 36px; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.about-photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); justify-self: center; }

/* ---------- gallery ---------- */
.gallery-sec { padding-block: 24px 72px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: .5rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--stone); }
.gallery img:nth-child(even) { transform: translateY(24px); }
.gallery { padding-bottom: 24px; }

/* ---------- booking ---------- */
.booking { display: grid; gap: 32px; }
.booking-intro p { max-width: 44ch; color: #d5e1ee; }
.form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 24px 20px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
input, select, textarea {
  width: 100%; min-height: 52px; padding: .7rem 1rem; font: 400 1rem var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #cfc9bb; border-radius: 12px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%); background-position: 20px 50%, 14px 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-start: 2.2rem; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(70, 87, 184, .4); border-color: var(--clay); }
[aria-invalid="true"] { border-color: #b3382c; }
.err { color: #a32e22; font-size: .9rem; margin: 6px 0 0; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { margin: 16px 0 0; padding: 14px 16px; background: var(--stone); border-radius: 12px; font-size: .96rem; }
.form-note a { font-weight: 600; }

/* ---------- contact ---------- */
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-link { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.contact-link:hover .arrow { transform: translateX(-6px); }
.arrow { color: var(--clay); transition: transform .2s; }
.hours { margin-top: 2rem; }
.hours h3 { margin-bottom: .5rem; }
.hours ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }

/* ---------- footer / sticky ---------- */
.site-footer { background: var(--sage-ink); color: #c9d6e4; padding: 36px 0 28px; text-align: center; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer .small { color: #8ea3ba; }
.wa-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(248, 246, 242, .98) 60%, rgba(248, 246, 242, 0)); }
.wa-bar .btn { width: 100%; box-shadow: 0 6px 20px rgba(15, 125, 68, .3); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .gallery img:nth-child(even).reveal.in { transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .gallery img:nth-child(even).reveal { transform: translateY(24px); }
}

/* ---------- tablet+ ---------- */
@media (min-width: 640px) {
  .form { padding: 36px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .wa-bar { display: none; }
  .section { padding: 108px 0; }
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; gap: 28px; padding: 0; background: none; border: 0; }
  .nav a { padding: 4px 0; font-size: 1rem; border: 0; }
  .nav a:hover { color: var(--clay); }
  .header-cta { display: inline-flex; }
  .brand { margin-inline-end: 0; }
  .header-in { gap: 36px; }
  .nav { margin-inline-end: auto; }
  .hero { padding: 72px 0 110px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
  .actions .btn { flex: 0 0 auto; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .duo { gap: 20px; }
  .duo img:nth-child(2) { margin-top: 60px; }
  .booking { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
  .services li { padding: 34px 0; gap: 40px; }
  .services li > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: baseline; width: 100%; }
  .services h3 { margin: 0; font-size: 1.4rem; }
  .gallery { gap: 20px; }
}

/* ======================================================
   שפה, נגישות, צ'אט, יומן, הסכמה
   ====================================================== */
html { font-size: calc(100% * var(--a11y-scale, 1)); }

/* ---------- language ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font: 600 .8rem var(--font); letter-spacing: .08em; color: var(--sage-ink); cursor: pointer; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 190px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 6px 0; z-index: 60; }
.lang-menu a { display: block; padding: 11px 16px; text-decoration: none; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--stone); }
.lang-menu a[aria-current="true"] { font-weight: 700; }
.lang-menu a[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; }
.lang-note { margin: 4px 0 0; padding: 8px 16px 6px; border-top: 1px solid var(--line); font-size: .75rem; line-height: 1.5; color: var(--muted); }

/* ---------- floating buttons (above the mobile WhatsApp bar) ---------- */
.a11y-fab, .chat-fab {
  position: fixed; bottom: 88px; z-index: 70; border: 0; cursor: pointer;
  background: var(--sage-deep); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.a11y-fab { inset-inline-start: 14px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.chat-fab { inset-inline-end: 14px; height: 52px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--font); }
@media (min-width: 900px) { .a11y-fab, .chat-fab { bottom: 20px; } }

/* ---------- a11y panel ---------- */
.a11y-panel { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 80; width: min(400px, 100vw); background: var(--paper); color: var(--ink); border-inline-end: 1px solid var(--line); box-shadow: 0 0 40px rgba(0,0,0,.25); overflow-y: auto; font-size: 16px; line-height: 1.5; }
.a11y-panel[hidden], .chat-panel[hidden] { display: none; }
.a11y-head { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.a11y-head strong { font-size: 1em; }
.a11y-x { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-size: 1em; }
.a11y-lang select { width: 8.5em; min-height: 40px; padding: 4px 8px; font-size: .85em; border-radius: 10px; }
.a11y-body { padding: 16px; display: grid; gap: 18px; }
.a11y-body h3 { font: 700 .8em var(--font); letter-spacing: .14em; margin: 0 0 10px; color: var(--sage); }
.a11y-body button { font-family: var(--font); }
.a11y-row { display: flex; gap: 8px; }
.a11y-row button { flex: 1; min-height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; cursor: pointer; }
.a11y-hint { margin: 0; font-size: .78em; color: var(--muted); }
.a11y-prof { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.a11y-prof summary { padding: 12px 14px; cursor: pointer; font-weight: 600; }
.a11y-prof .a11y-grid { padding: 0 12px 12px; }
.a11y-grid { display: grid; gap: 8px; }
.a11y-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a11y-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a11y-grid button, .tile { min-height: 64px; padding: 8px 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-size: .82em; line-height: 1.25; cursor: pointer; }
.a11y-grid button[aria-pressed="true"] { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.stepper { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.stepper p { margin: 0 0 6px; font-size: .82em; }
.stepper div { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper button { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; font-size: 1.1em; cursor: pointer; }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper span { font-size: .78em; min-width: 4.6em; }
.swatches { margin-top: 12px; }
.swatches p { margin: 0 0 6px; font-size: .82em; }
.swatches div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.sw[aria-pressed="true"] { border-color: var(--sage-deep); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--sage-deep); }
.sw-def { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .78em; cursor: pointer; }
.sw-def[aria-pressed="true"] { background: var(--sage-deep); color: #fff; }
.a11y-guide { position: fixed; inset-inline: 0; height: 4px; background: #ff3b30; z-index: 65; pointer-events: none; box-shadow: 0 0 0 1px #fff; }
.a11y-mask { position: fixed; inset-inline: 0; background: rgba(0,0,0,.72); z-index: 65; pointer-events: none; }
.a11y-guide[hidden], .a11y-mask[hidden] { display: none; }

/* a11y modes (the menu itself is excluded so it stays usable) */
html.a11y-lh body *:not(.a11y-menu *) { line-height: var(--a11y-lh) !important; }
html.a11y-ws body *:not(.a11y-menu *) { word-spacing: var(--a11y-ws) !important; }
html.a11y-ls body *:not(.a11y-menu *) { letter-spacing: var(--a11y-ls) !important; }
html.a11y-align-left body *:not(.a11y-menu *) { text-align: left !important; }
html.a11y-align-center body *:not(.a11y-menu *) { text-align: center !important; }
html.a11y-align-right body *:not(.a11y-menu *) { text-align: right !important; }
html.a11y-invert img, html.a11y-invert video { filter: invert(1) hue-rotate(180deg); }
html.a11y-dark body, html.a11y-dark body *:not(.a11y-menu *):not(img):not(video) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-dark a, html.a11y-dark a * { color: #ffd400 !important; }
html.a11y-light body, html.a11y-light body *:not(.a11y-menu *):not(img):not(video) { background-color: #fff !important; color: #000 !important; border-color: #000 !important; }
html.a11y-light a, html.a11y-light a * { color: #0000c8 !important; }
html.a11y-tc body *:not(.a11y-menu *):not(img):not(video) { color: var(--a11y-tc) !important; }
html.a11y-bg body, html.a11y-bg body *:not(.a11y-menu *):not(img):not(video) { background-color: var(--a11y-bg) !important; }
html.a11y-readable body *:not(.a11y-menu *) { font-family: Arial, Helvetica, sans-serif !important; }
html.a11y-dyslexia body *:not(.a11y-menu *) { font-family: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif !important; font-weight: 500; }
html.a11y-links a:not(.a11y-menu a) { text-decoration: underline !important; outline: 2px solid #ffd400; outline-offset: 2px; }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4 { outline: 2px dashed #1d4ed8; outline-offset: 4px; }
html.a11y-noimg img, html.a11y-noimg picture { visibility: hidden !important; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-nomotion .reveal { opacity: 1 !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M4 2l26 14-11 3 6 12-5 2-6-12-8 8z' fill='black' stroke='white' stroke-width='2'/></svg>") 4 2, auto !important; }
html.a11y-focus *:focus, html.a11y-focus *:focus-visible { outline: 4px solid #ffd400 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #000 !important; }
html.a11y-targets a:not(.a11y-menu a), html.a11y-targets button:not(.a11y-menu button), html.a11y-targets input, html.a11y-targets select, html.a11y-targets textarea { min-height: 44px; min-width: 44px; }

/* ---------- chat ---------- */
.chat-panel { position: fixed; z-index: 70; bottom: 150px; inset-inline-end: 14px; width: 22rem; max-width: calc(100vw - 28px); height: 30rem; max-height: calc(100vh - 190px); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); overflow: hidden; }
@media (min-width: 900px) { .chat-panel { bottom: 84px; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-x { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; }
.chat-disc { margin: 0; padding: 8px 16px; font-size: .72rem; line-height: 1.45; color: var(--muted); border-bottom: 1px solid var(--line); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; line-height: 1.55; }
.chat-msg { margin: 0; max-width: 88%; padding: 9px 13px; border-radius: 14px; white-space: pre-wrap; }
.chat-msg.bot { background: var(--stone); align-self: flex-start; }
.chat-msg.user { background: var(--sage-deep); color: #fff; align-self: flex-end; }
.chat-sug { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-sug button { min-height: 38px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font: 400 .85rem var(--font); cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { min-height: 46px; flex: 1; min-width: 0; }
.chat-form button { width: 46px; border: 0; border-radius: 12px; background: var(--sage-deep); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* ---------- consent, honeypot, calendar ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.55; margin-bottom: 18px; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--sage-deep); }
.consent label { font-weight: 400; margin: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cal-block { margin-top: 1.5rem; padding: 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; }
.cal-block p { margin: 0 0 12px; font-size: .95rem; }
.cal-frame { width: 100%; height: 640px; border: 0; border-radius: 12px; background: #fff; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0 0 .8rem; }
.footer-links a { color: #e6eef7; }
.doc { max-width: 720px; padding: 56px 0 72px; }
.doc h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.4rem; margin: 2rem 0 .5rem; }
.doc .todo { background: #fff3d6; padding: 2px 6px; border-radius: 4px; }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--sage-deep); }

/* ---------- social icons ---------- */
.soc { width: 22px; height: 22px; flex: none; }
.cl { display: inline-flex; align-items: center; gap: 14px; }
.cl .soc { color: var(--sage); }
.social { display: flex; justify-content: center; gap: 12px; margin: 0 0 1.2rem; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #e6eef7; transition: background .2s, color .2s; }
.social a:hover, .social a:focus-visible { background: #fff; color: var(--sage-ink); }
.social[hidden] { display: none; }

/* ---------- blue refresh: buttons & accents ---------- */
.section-dark { background: linear-gradient(160deg, #232a72 0%, #141a4a 100%); }
.btn { letter-spacing: .01em; transition: background .25s, color .25s, transform .2s, box-shadow .25s, border-color .25s; }
.btn-primary, .btn-small {
  background: linear-gradient(135deg, #5e70d6 0%, #4657b8 100%); color: #fff;
  box-shadow: 0 8px 22px rgba(70, 87, 184, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover, .btn-small:hover {
  background: linear-gradient(135deg, #6e80d8 0%, #3d4ea8 100%);
  box-shadow: 0 12px 28px rgba(70, 87, 184, .34), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translateY(-2px);
}
.btn-ghost { border-color: rgba(70, 87, 184, .55); color: #3646a0; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #4657b8; border-color: #4657b8; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(70, 87, 184, .25); }
.btn-ghost-light:hover { color: #1b2160; }
.btn-wa { box-shadow: 0 8px 22px rgba(15, 125, 68, .28), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-small { min-height: 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8d9be6, #3d4ea8); }
.services .num { background: linear-gradient(135deg, #6e80d8, #3646a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-link:hover { color: var(--clay); }
.lang-btn:hover { border-color: var(--clay); }
.menu-btn:hover { border-color: var(--clay); }
.facts li::marker { color: var(--clay); }
.hero-photo { box-shadow: 0 24px 60px rgba(30, 37, 100, .22); }
.form { box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.site-footer { background: #141a4a; }

/* ---------- logo in header ---------- */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-logo { width: 44px; height: 44px; flex: none; object-fit: contain; }
@media (max-width: 380px) { .brand-sub { display: none; } }

/* =====================================================
   Design pass: logo-based palette (indigo + near-black), calmer rhythm
   ===================================================== */
body { background: var(--cream); }
h1, h2, h3 { letter-spacing: -.015em; }
h1 { font-size: clamp(2.7rem, 11.5vw, 4.9rem); line-height: 1.08; }
.lead { font-size: 1.18rem; max-width: 36ch; }

/* primary action: one strong, consistent colour */
.btn-primary, .btn-small {
  background: linear-gradient(135deg, #5668d0 0%, #4657b8 55%, #3d4ea8 100%);
  box-shadow: 0 10px 26px rgba(70, 87, 184, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover, .btn-small:hover { background: linear-gradient(135deg, #6577da 0%, #4f61c4 55%, #4657b8 100%); }
.btn-ghost { color: #3d4ea8; border-color: rgba(70, 87, 184, .5); }
.btn-ghost:hover { background: #4657b8; border-color: #4657b8; }
.btn { min-height: 54px; padding-inline: 1.8rem; }

/* hero: soft indigo glow + offset arch behind the portrait */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; background:
  radial-gradient(60% 50% at 18% 30%, rgba(112, 128, 215, .20), transparent 70%),
  radial-gradient(50% 45% at 90% 85%, rgba(112, 128, 215, .12), transparent 70%); }
.hero-photo { position: relative; overflow: visible; background: none; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.hero-photo::before { content: ""; position: absolute; inset: 0; transform: translate(-16px, 16px); border: 2px solid #7080d7; border-radius: 220px 220px var(--radius) var(--radius); opacity: .55; }
.hero-photo img { position: relative; border-radius: 220px 220px var(--radius) var(--radius); aspect-ratio: 4 / 5; box-shadow: 0 30px 70px rgba(30, 37, 100, .28); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 1.8rem 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; font-size: .88rem; font-weight: 500; color: #2c3470; background: rgba(255, 255, 255, .8); border: 1px solid rgba(70, 87, 184, .22); border-radius: 999px; }
.trust svg { color: #4657b8; flex: none; }

/* section rhythm: white -> lavender -> white -> deep indigo */
.section-stone { background: #eef0fb; }
.section-dark { background: linear-gradient(160deg, #232a72 0%, #141a4a 100%); }
.services li { border-radius: 14px; transition: background .25s, padding .25s; }
.services li:hover { background: rgba(70, 87, 184, .06); padding-inline: 14px; }
.eyebrow { color: #3d4ea8; }
.eyebrow::before { background: linear-gradient(90deg, #8d9be6, #4657b8); }
.section-dark .eyebrow { color: #b4bef5; }
.section-dark .eyebrow::before { background: linear-gradient(90deg, #7080d7, #b4bef5); }

/* gallery: 6 calmer images */
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery img { border-radius: 18px; aspect-ratio: 4 / 5; box-shadow: 0 10px 30px rgba(18, 20, 31, .10); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.gallery img:nth-child(even) { transform: none; }
.js .gallery img:nth-child(even).reveal.in, .js .gallery img:nth-child(even).reveal { transform: none; }
@media (min-width: 640px) {
  .gallery img:nth-child(3n+2) { margin-top: 36px; }
  .js .gallery img:nth-child(3n+2).reveal.in { transform: none; }
}
.gallery { padding-bottom: 12px; }

/* about: indigo-tinted frame for the photo */
.about-photo { box-shadow: 0 24px 60px rgba(30, 37, 100, .22); }
.facts li { border-color: rgba(70, 87, 184, .22); }

/* booking steps */
.steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; line-height: 1.55; color: #d5dbf5; }
.steps li span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .9rem; color: #fff; background: rgba(112, 128, 215, .45); border: 1px solid rgba(180, 190, 245, .5); }
.steps strong { display: block; color: #fff; font-weight: 600; }

/* form on the deep indigo */
.form { border-radius: 26px; box-shadow: 0 30px 70px rgba(5, 8, 40, .45); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(70, 87, 184, .35); border-color: #4657b8; }
.form-note { background: #eef0fb; }
.consent input { accent-color: #4657b8; }
.contact-link:hover { color: #3d4ea8; }
.arrow { color: #4657b8; }
.cl .soc { color: #4657b8; }
.footer-links a { color: #dfe4fb; }
.site-footer { background: #141a4a; }
.site-footer .small { color: #9aa5d8; }
.social a { color: #dfe4fb; border-color: rgba(255, 255, 255, .3); }
.brand-name { color: #12141f; }

/* fixes: checkbox look, brand on small screens */
.consent input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 22px; height: 22px; min-height: 0; padding: 0; border-radius: 4px; flex: none; }
.brand-name { white-space: nowrap; font-size: 1.1rem; }
@media (max-width: 420px) { .brand-name { font-size: 1.02rem; } .brand-logo { width: 40px; height: 40px; } .header-in { gap: 8px; } }

/* =====================================================
   Cleanup pass: one familiar font, calm headings, simple buttons
   ===================================================== */
:root { --serif: var(--font); --btn-r: 12px; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; }

/* headings: one font, clear scale */
h1, h2, h3 { font-family: var(--font); color: var(--sage-ink); }
h1 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .2rem; }
.lead { font-size: 1.1rem; line-height: 1.7; color: var(--muted); max-width: 34ch; }

/* small label above headings: plain text, no decoration */
.eyebrow { display: block; font-size: .875rem; font-weight: 600; letter-spacing: 0; color: #3d4ea8; margin-bottom: .5rem; }
.eyebrow::before, .section-dark .eyebrow::before { content: none; }
.section-dark .eyebrow { color: #b4bef5; }

/* brand */
.brand-name { font-family: var(--font); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand-sub { font-size: .75rem; }

/* buttons: same shape everywhere, solid colours, no gradients or glow */
.btn { border-radius: var(--btn-r); min-height: 52px; padding: .7rem 1.6rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; box-shadow: none; transform: none; }
.btn:active { transform: scale(.985); }
.btn-primary, .btn-small { background: #4657b8; color: #fff; box-shadow: none; }
.btn-primary:hover, .btn-small:hover { background: #3a4aa3; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: #3d4ea8; border: 1.5px solid #4657b8; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.btn-ghost:hover { background: #eef0fb; color: #3a4aa3; border-color: #4657b8; transform: none; box-shadow: none; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: #fff; color: #1b2160; transform: none; }
.btn-wa { background: #0f7d44; color: #fff; box-shadow: none; }
.btn-wa:hover { background: #0b6a39; transform: none; }
.btn-small { min-height: 42px; padding: .4rem 1.1rem; font-size: .95rem; border-radius: 10px; }
.lang-btn { border-radius: 10px; }
.menu-btn { border-radius: 10px; }
.actions { gap: 12px; }
.wa-bar .btn { box-shadow: 0 4px 14px rgba(15, 125, 68, .25); }

/* hero: no frame around the portrait */
.hero-photo::before { content: none; display: none; }
.hero-photo img { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: none; }

/* credentials: plain line instead of many pills */
.trust { gap: 6px 22px; margin-top: 1.6rem; }
.trust li { padding: 0; background: none; border: 0; border-radius: 0; font-size: .92rem; font-weight: 500; color: var(--ink); }

/* services & facts: quieter */
.services .num { font-family: var(--font); font-size: 1rem; font-weight: 700; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #4657b8; }
.services li:hover { background: transparent; padding-inline: 0; }
.services h3 { font-size: 1.15rem; }

/* even rhythm */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.hero { padding: 36px 0 72px; }
.steps li strong { font-weight: 600; }
.form { box-shadow: none; }
.about-photo, .duo img, .gallery img { box-shadow: none; }
.services li { border-radius: 0; }
.hero { background: none; }

/* =====================================================
   UX pass: centered hero photo, smartphone ergonomics
   ===================================================== */
a, button, input, select, textarea, summary { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(70, 87, 184, .15); }

/* desktop: hero fills the first screen, content (and photo) sit in the middle */
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: flex; align-items: center; padding: 48px 0 72px; }
  .hero-in { width: min(1120px, 100% - 40px); margin-inline: auto; }
  .hero-photo { margin-top: 28px; }
}

/* service rows: quick booking link */
.svc-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .2rem; font-weight: 600; font-size: .92rem; color: #3d4ea8; text-decoration: none; }
.svc-link::after { content: "←"; margin-inline-start: 6px; transition: transform .2s; }
.svc-link:hover::after { transform: translateX(-4px); }

/* sticky WhatsApp bar hides when the form is visible */
.wa-bar { transition: transform .3s ease, opacity .3s ease; }
.wa-bar.wa-hide { transform: translateY(130%); opacity: 0; pointer-events: none; }

.nav-cta { display: none; }

@media (max-width: 899px) {
  .section { padding: 56px 0; }
  .hero { padding: 20px 0 44px; }
  .hero-in { gap: 28px; }
  .hero-photo { max-width: 310px; }
  .actions .btn { flex: 1 1 100%; }
  .btn { min-height: 54px; }
  /* open menu: big targets + booking button */
  .nav.open { padding: 4px 20px 20px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav a { min-height: 54px; display: flex; align-items: center; }
  .nav.open .nav-cta { display: flex; justify-content: center; margin-top: 14px; border-bottom: 0; color: #fff; }
  /* floating helpers: smaller, icon-only chat */
  .a11y-fab { width: 46px; height: 46px; bottom: 84px; inset-inline-start: 12px; }
  .a11y-fab svg { width: 24px; height: 24px; }
  .chat-fab { width: 46px; height: 46px; padding: 0; justify-content: center; bottom: 84px; inset-inline-end: 12px; }
  .chat-fab-t { display: none; }
  .chat-panel { bottom: 140px; }
  .form { padding: 22px 18px; }
  .field { margin-bottom: 16px; }
  input, select, textarea { font-size: 16px; } /* no zoom on iOS focus */
  .services li { padding: 22px 0; }
  .gallery { gap: 10px; }
}
@media (max-width: 380px) { h1 { font-size: 2.05rem; } .actions .btn { padding-inline: 1rem; } }

/* ---------- first screen: larger, fuller (same layout, bigger elements) ---------- */
.hero .eyebrow { font-size: 1rem; margin-bottom: .7rem; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.2rem); line-height: 1.1; margin-bottom: 1.3rem; }
.hero .lead { font-size: 1.2rem; line-height: 1.75; max-width: 38ch; }
.hero .actions { margin-top: 1.9rem; }
.hero .btn { min-height: 58px; padding-inline: 2rem; font-size: 1.08rem; }
.hero .trust { margin-top: 2rem; gap: 8px 26px; }
.hero .trust li { font-size: 1rem; }
.hero .trust svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5rem); }
  .hero .lead { font-size: 1.3rem; }
  .hero-in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-photo { max-width: 540px; width: 100%; }
}
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero-photo { max-width: 360px; }
}

/* ---------- photos: keep headroom (crop from the bottom, never the top) ---------- */
.hero-photo img { object-position: 50% 4%; }
.about-photo { object-position: 50% 8%; }
.duo img { object-position: 50% 6%; }
.gallery img { object-position: 50% 6%; }

/* ---------- tablet header: no wrapping ---------- */
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1199px) {
  .nav { gap: 18px; }
  .nav a { font-size: .95rem; }
  .brand-sub { display: none; }
  .header-in { gap: 18px; }
}

/* ---------- hero portrait: original arch shape (scales with width), slightly smaller ---------- */
.hero-photo img { border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px; }
@media (min-width: 900px) { .hero-photo { max-width: 470px; } }
@media (max-width: 899px) { .hero-photo { max-width: 320px; } }

/* =====================================================
   Mobile (<900px): clear order, clean header, one bottom bar
   Order: hero → services → about osteopathy → about Uri → clinic photos → booking → contact
   ===================================================== */
@media (max-width: 899px) {
  /* logical order of the page */
  main { display: flex; flex-direction: column; }
  .hero { order: 1; } #services { order: 2; } #osteopathy { order: 3; } #about { order: 4; }
  .gallery-sec { order: 5; } #booking { order: 6; } #contact { order: 7; }

  /* header: logo + name on one side, globe + menu on the other. nothing else */
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand-logo { width: 38px; height: 38px; }
  .header-in { min-height: 62px; gap: 8px; }
  .lang-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 10px; }
  .lang-btn span { display: none; }
  .lang-menu { inset-inline-end: auto; inset-inline-start: 0; }
  .menu-btn { width: 44px; height: 44px; border-radius: 10px; }

  /* first screen: text only, centred (no portrait on phones) */
  .hero-photo { display: none; }
  .hero { min-height: calc(100vh - 62px - 84px); min-height: calc(100svh - 62px - 84px); display: flex; align-items: center; padding: 28px 0 40px; }
  .hero-in { width: min(1120px, 100% - 40px); margin-inline: auto; display: block; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.3rem); }
  .hero .lead { max-width: none; }

  /* photos: only the clinic gallery (+ one calmer photo in "about") */
  .duo { display: none; }
  .about-photo { aspect-ratio: 4 / 3; max-width: none; width: 100%; object-position: 50% 12%; }
  .split, .split-rev { gap: 22px; }
  .gallery-sec { padding-block: 8px 56px; }

  /* one bottom bar: WhatsApp + chat + accessibility on the same row */
  .wa-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(248, 246, 242, .98) 70%, rgba(248, 246, 242, 0)); }
  .wa-bar .btn { width: auto; margin-inline-end: 116px; display: flex; }
  .a11y-fab, .chat-fab { width: 48px; height: 48px; bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
  .a11y-fab { inset-inline-start: auto; inset-inline-end: 12px; }
  .chat-fab { inset-inline-end: 66px; }
  .chat-panel { bottom: calc(70px + env(safe-area-inset-bottom)); inset-inline-end: 12px; }
  body { padding-bottom: 84px; }
}

/* video */
.video-box{width:min(100%,300px);margin:1.2rem auto 0}
.video-box video{display:block;width:100%;height:auto;border-radius:14px;background:#000}
@media (max-width:899px){.video-sec{order:5}.gallery-sec{order:6}#booking{order:7}#contact{order:8}}

/* Shiny buttons: same colours, light sweep + glow (vanilla port of ShinyButton) */
.btn-primary, .btn-small, .btn-wa { position: relative; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px -6px currentColor; }
.btn-primary::after, .btn-small::after, .btn-wa::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
  transform: translateX(-130%) skewX(-18deg); animation: btn-shine 3.6s ease-in-out infinite;
}
.btn-primary:hover::after, .btn-small:hover::after, .btn-wa:hover::after { animation-duration: 1.4s; }
.btn-primary:hover, .btn-small:hover, .btn-wa:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 8px 22px -6px rgba(70,87,184,.7); }
.btn-wa:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 8px 22px -6px rgba(15,125,68,.7); }
@keyframes btn-shine { 0%, 55% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(330%) skewX(-18deg); } }
html[dir="rtl"] .btn-primary::after, html[dir="rtl"] .btn-small::after, html[dir="rtl"] .btn-wa::after { animation-name: btn-shine-rtl; }
@keyframes btn-shine-rtl { 0%, 55% { transform: translateX(130%) skewX(-18deg); } 100% { transform: translateX(-330%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-small::after, .btn-wa::after { animation: none; display: none; } }
html.a11y-nomotion .btn-primary::after, html.a11y-nomotion .btn-small::after, html.a11y-nomotion .btn-wa::after { display: none; }

/* ===== Ambient background + section dividers ===== */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 88% -8%, rgba(70, 87, 184, .09), transparent 65%),
    radial-gradient(55vmax 45vmax at -8% 38%, rgba(112, 128, 215, .08), transparent 65%),
    radial-gradient(50vmax 40vmax at 100% 95%, rgba(87, 210, 244, .06), transparent 65%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 60%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 60%, #000 100%);
}
.section-stone { background: rgba(238, 240, 251, .62); }

/* divider: thin line with a soft shadow below */
main > section:not(.hero) { position: relative; }
main > section:not(.hero)::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 16px; pointer-events: none; z-index: 1;
  border-top: 1px solid rgba(70, 87, 184, .14);
  background: linear-gradient(180deg, rgba(27, 33, 96, .07), transparent);
}
main > .section-dark::before { border-top-color: rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent); }
.gallery-sec { padding-top: 40px; }
html.a11y-dark body::before, html.a11y-light body::before, html.a11y-bg body::before, html.a11y-invert body::before,
html.a11y-dark main > section::before, html.a11y-light main > section::before, html.a11y-bg main > section::before { display: none; }
@media print { body::before, main > section::before { display: none; } }

/* Glass bars */
.site-header {
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 1px 0 rgba(70, 87, 184, .08), 0 8px 24px -12px rgba(27, 33, 96, .18);
}
@media (max-width: 899px) {
  .wa-bar {
    inset-inline: 10px; bottom: 8px; padding: 8px 10px; border-radius: 22px;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
    box-shadow: 0 8px 28px -8px rgba(27, 33, 96, .3);
    margin-bottom: env(safe-area-inset-bottom);
  }
  .wa-bar .btn { min-height: 46px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .wa-bar { background: rgba(255, 255, 255, .95); }
}
@media (max-width: 899px) {
  .a11y-fab, .chat-fab { bottom: calc(15px + env(safe-area-inset-bottom)); }
  .a11y-fab { inset-inline-end: 20px; } .chat-fab { inset-inline-end: 74px; }
  .wa-bar .btn { margin-inline-end: 124px; }
}
@media (max-width: 899px) { .wa-bar .btn { margin-inline-end: 106px; white-space: nowrap; padding-inline: 1rem; } }

/* ===== Full-bleed hero photo ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #12161f; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transform: scale(1.3); transform-origin: 100% 35%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(9, 12, 24, .82) 0%, rgba(9, 12, 24, .6) 38%, rgba(9, 12, 24, .12) 68%, rgba(9, 12, 24, 0) 100%); }
.hero-photo { display: none !important; }
.hero-in { display: block; }
.hero-text { max-width: 520px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #b4bef5; }
.hero .lead { color: rgba(255, 255, 255, .86); }
.hero .trust li { color: rgba(255, 255, 255, .92); }
.hero .trust svg { color: #b4bef5; }
.hero .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .65); }
.hero .btn-ghost:hover { background: #fff; color: #1b2160; }
.hero .btn-primary { background: #4f61cc; }
.hero .btn-primary:hover { background: #5c6edb; }
@media (max-width: 899px) {
  .hero { align-items: flex-end; }
  .hero-bg img { transform: none; object-position: 48% 50%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(9, 12, 24, .92) 0%, rgba(9, 12, 24, .78) 42%, rgba(9, 12, 24, .1) 72%, rgba(9, 12, 24, .05) 100%); }
  .hero-text { max-width: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
}
@media (max-width: 899px) {
  .hero { padding: 24px 0 28px; }
  .hero-bg img { object-position: 48% 0; }
  .hero .trust { display: none; }
  .hero .lead { font-size: 1rem; line-height: 1.65; }
  .hero .actions { display: flex; gap: 10px; margin-top: 1.2rem; }
  .hero .actions .btn { flex: 1; min-height: 50px; padding-inline: .8rem; font-size: 1rem; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(9, 12, 24, .94) 0%, rgba(9, 12, 24, .8) 38%, rgba(9, 12, 24, .05) 62%, rgba(9, 12, 24, 0) 100%); }
}
.hero-bg img { transform: scale(1.12); }
@media (max-width: 899px) { .hero-bg img { transform: none; } }
@media (min-width: 900px) { .hero-bg img { transform: scale(1.24); } }

/* ===== Luxury typography pass ===== */
body { font-weight: 400; line-height: 1.8; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-feature-settings: "kern", "liga"; }
h1 { font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }
h2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.18; font-size: clamp(1.9rem, 5.6vw, 2.9rem); margin-bottom: 1.2rem; }
h3 { font-weight: 500; letter-spacing: -.01em; font-size: 1.2rem; }
.hero h1 { font-weight: 600; font-size: clamp(2.5rem, 10vw, 3.1rem); line-height: 1.08; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(3.4rem, 5.2vw, 5rem); } }
.lead, .hero .lead { font-weight: 300; line-height: 1.85; letter-spacing: .005em; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.eyebrow, .hero .eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.btn, .hero .btn { font-weight: 500; letter-spacing: .03em; font-size: 1rem; border-radius: 999px; }
.btn-small { border-radius: 999px; }
.site-header nav a, .nav a { font-weight: 400; letter-spacing: .02em; }
.brand-name { font-weight: 600; letter-spacing: .01em; }
.services .num { font: 300 .95rem var(--font); letter-spacing: .14em; color: #7a86c9; background: none; -webkit-text-fill-color: currentColor; min-width: 2.6rem; padding-top: .35rem; }
.services li { padding-block: 34px; }
.services h3 { font-size: 1.35rem; font-weight: 500; }
.services p { font-weight: 300; line-height: 1.85; }
.trust li, .hero .trust li { font-weight: 400; letter-spacing: .02em; }
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 112px; } .gallery-sec { padding-block: 40px 112px; } }
p { font-weight: 400; }
.section-dark p, .section-dark li { font-weight: 300; }
@media (max-width: 899px) { .hero-bg img { object-position: 57% 0; transform: scale(.82); transform-origin: 35% 0; } }
@media (max-width: 899px) { .hero-bg img { transform: none; height: 80%; object-position: 58% 0; } .hero-bg { background: #151a22; } }

/* Contrast fixes after review */
.services p, .split-text p, .section p { color: #474d66; }
.lead { font-weight: 400; }
.hero .lead { font-weight: 300; color: rgba(255, 255, 255, .9); }
.section-dark p, .section-dark li, .section-dark .steps div { font-weight: 400; color: #dfe5fb; }
.section-dark .steps strong, .section-dark h2 { color: #fff; }
.eyebrow { font-size: .85rem; font-weight: 600; }
.section-dark .eyebrow { color: #c9d0fb; }
.form-card p, .form-card label, form p { color: inherit; }

/* ===== Mobile-first panels (language, accessibility, chat) ===== */
@media (max-width: 899px) {
  /* language: full-width dropdown under the header (header is the containing block) */
  .lang { position: static; }
  .lang-menu { position: absolute; top: calc(100% + 6px); inset-inline: 12px; width: auto; max-height: calc(100dvh - 96px); overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px rgba(27, 33, 96, .25); }
  .lang-menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .lang-note { padding: 10px 12px 6px; }

  /* accessibility: bottom sheet */
  .a11y-panel { inset-block: auto 0; inset-inline: 0; width: 100%; height: 88dvh; max-height: 88dvh; border-inline-end: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .3); padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain; }
  .a11y-panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(27, 33, 96, .2); margin: 8px auto 0; }
  .a11y-head { top: 0; padding: 8px 16px 12px; }
  .a11y-x { width: 44px; height: 44px; }
  .a11y-body { padding: 14px 16px 28px; }
  .a11y-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a11y-grid button, .tile { min-height: 70px; font-size: .85em; }
  .a11y-lang select { min-height: 44px; }

  /* chat: bottom sheet above the glass bar */
  .chat-panel { inset-inline: 10px; width: auto; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); height: min(70dvh, 520px); max-height: none; border-radius: 20px; }
}

/* what osteopathy treats */
.treats { margin-top: 56px; }
.treats-h { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; margin-bottom: 1.4rem; }
.treats-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.treats-list li { display: grid; gap: 4px; padding: 18px 20px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(70, 87, 184, .16); border-radius: 16px; box-shadow: 0 6px 20px -14px rgba(27, 33, 96, .35); }
.treats-list strong { font-weight: 600; font-size: 1.05rem; color: #1b2160; }
.treats-list span { color: #474d66; font-size: .97rem; line-height: 1.7; }
@media (min-width: 700px) { .treats-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .treats-list { grid-template-columns: repeat(3, 1fr); } .treats-list li:nth-child(n+4) { grid-column: span 1; } }
