/* ==========================================================
   Fonts – self-hosted (Heebo, Rubik; SIL Open Font License), Hebrew + Latin subsets.
   Served from our own server so no visitor data goes to Google.
   ========================================================== */
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/heebo-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/heebo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/rubik-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================
   Clinic Plus – design tokens
   Brand colors sampled from clinic-plus-logo.jpg
   ========================================================== */
:root {
  --navy-900: #0c2247;
  --navy-700: #133261;   /* logo primary */
  --navy-600: #1d4280;
  --steel-500: #4f6fa5;  /* logo "PLUS" */
  --tint-200: #cfdcef;
  --tint-100: #e2eaf6;   /* highlight / soft buttons */
  --tint-50:  #eef3fa;   /* page frame */
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --text: #0e1b2e;
  --muted: #56647b;      /* 5.9:1 on white */
  --line: #e3e8f0;
  --wa: #1fa855;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(12 34 71 / .06), 0 2px 8px rgb(12 34 71 / .05);
  --shadow: 0 10px 30px -12px rgb(12 34 71 / .18);

  --font-body: "Heebo", system-ui, sans-serif;
  --font-head: "Rubik", "Heebo", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;

  --z-header: 40;
  --z-fab: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--tint-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[dir="ltr"] .flip { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--steel-500); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 500 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 6px 16px -6px rgb(19 50 97 / .55); }
.btn-primary:hover { background: var(--navy-900); }
.btn-soft { background: var(--tint-100); color: var(--navy-700); }
.btn-soft:hover { background: var(--tint-200); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
  border: 0; background: var(--surface-2); color: var(--navy-700); cursor: pointer;
  font: 600 .85rem var(--font-body);
  transition: background-color var(--dur) var(--ease-out);
}
.icon-btn:hover { background: var(--tint-100); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--steel-500); margin-bottom: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--steel-500); box-shadow: 0 0 0 4px var(--tint-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(238 243 250 / .97);
  box-shadow: 0 1px 0 rgb(12 34 71 / .05);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-700); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: "Rubik", sans-serif; font-size: 1.15rem; letter-spacing: .04em; color: var(--steel-500); white-space: nowrap; direction: ltr; }
.brand-name b { color: var(--navy-700); font-weight: 600; }

.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: .95rem; color: var(--muted); text-decoration: none;
  transition: color var(--dur), background-color var(--dur);
}
.main-nav a:hover { color: var(--navy-700); background: rgb(255 255 255 / .7); }
.main-nav a.is-active { color: var(--navy-700); font-weight: 500; }
.main-nav a.is-active::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--steel-500); transform: translateY(-50%);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 12px 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px;
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.hero-copy { padding: 40px 28px 28px; display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 20px; }
mark {
  background: var(--tint-100); color: var(--navy-700);
  padding: 0 .18em; border-radius: .25em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 48px; }
.proof-star { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-700); color: #fff; flex-shrink: 0; }
.proof-star svg { width: 26px; height: 26px; fill: currentColor; }
[dir="rtl"] .proof-num { text-align: right; }
.proof-num { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 500; line-height: 1.1; }
.partner-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 6px 18px 6px 6px; padding-inline: 18px 6px;
  min-height: 52px; max-width: 340px;
  background: var(--surface-2); border-radius: 999px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur);
}
.partner-link:hover { background: var(--tint-100); }
.circle-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-100); color: var(--navy-700); }

.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: linear-gradient(160deg, var(--tint-100), var(--tint-200)); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.float-card {
  position: absolute; inset-inline-end: 18px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgb(255 255 255 / .96);
  border-radius: 16px; padding: 12px 16px 12px 12px; padding-inline: 12px 16px;
  box-shadow: var(--shadow); font-size: .95rem;
}
.float-card strong { display: block; font-weight: 500; margin-bottom: 4px; }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-100); color: var(--navy-700); flex-shrink: 0; }
.tag { display: inline-block; font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--tint-100); color: var(--navy-700); }

/* ---------- Promise band (the one bold moment) ---------- */
.promise {
  position: relative; overflow: hidden;
  background: var(--navy-700); color: #fff;
  padding-block: 72px 64px; margin-block: 32px 0;
}
.promise-watermark {
  position: absolute; width: 520px; height: 520px; inset-inline-end: -140px; top: 50%;
  transform: translateY(-50%) rotate(8deg); fill: #fff; opacity: .05; pointer-events: none;
}
.promise .container { position: relative; }
.promise h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 22ch; margin-bottom: 44px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-list li { padding-inline: 24px; border-inline-start: 1px solid rgb(255 255 255 / .16); }
.promise-list li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.promise-list .ic { width: 26px; height: 26px; color: #a9c0e6; margin-bottom: 16px; }
.promise-list h3 { font-size: 1.2rem; margin-bottom: 8px; }
.promise-list p { color: #c9d5ea; font-size: .97rem; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy-700); }

/* ---------- Services tabs ---------- */
.services { padding-block: 80px 72px; }
.tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px; background: var(--tint-100); border-radius: 999px; margin-bottom: 20px;
}
.tabs [role="tab"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--navy-700); cursor: pointer;
  font: 500 1rem var(--font-body);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur), color var(--dur);
}
.tabs [role="tab"]:hover { background: rgb(255 255 255 / .55); }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--navy-900); }
.tabs [role="tab"][aria-selected="true"] .ic { color: var(--steel-500); }

.tab-panel {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; align-items: stretch;
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow-sm);
  animation: panel-in 320ms var(--ease-out);
}
.tab-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-copy { padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.panel-copy h3 { font-size: 1.8rem; color: var(--navy-700); }
.panel-copy p { color: var(--muted); max-width: 52ch; }
.panel-copy .panel-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: -4px;
  padding: 8px 14px; border-radius: 999px; background: var(--tint-50);
  color: var(--navy-700); font-weight: 500;
}
.panel-note .ic { color: var(--steel-500); }
/* contain + aspect-ratio reset stop tall portrait photos from stretching the panel; the copy sets the height */
.tab-panel img { width: 100%; height: 100%; min-height: 540px; contain: size; aspect-ratio: auto; object-fit: cover; border-radius: var(--radius); background: var(--tint-100); }
/* Keep faces in frame when the photo is cropped to the panel */
.tab-panel img.pos-home { object-position: 50% 30%; }
.tab-panel img.pos-wound { object-position: 50% 60%; }
.tab-panel img.pos-posthosp { object-position: 50% 35%; }
.tab-panel img.pos-escort { object-position: 40% 25%; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { position: relative; padding-inline-start: 28px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--tint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133261' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- How ---------- */
.how { background: var(--surface); padding-block: 72px; }
/* A real sequence: numbered stops on one line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; inset-inline: 24px calc(25% - 45px);
  border-top: 2px dashed var(--tint-200);
}
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); color: var(--navy-700); border: 2px solid var(--navy-700);
  font: 500 1.15rem var(--font-head); margin-bottom: 20px; box-shadow: 0 0 0 8px var(--surface);
}
.step:last-child .step-num { background: var(--navy-700); color: #fff; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--navy-700); }
.step p { color: var(--muted); max-width: 30ch; }

/* ---------- About ---------- */
.about { padding-block: 72px; }
.about-card {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center;
  background: var(--surface); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm);
}
.about-mark {
  display: grid; place-items: center; align-self: stretch; min-height: 300px;
  background: radial-gradient(circle at 50% 45%, var(--surface) 0 38%, var(--tint-50) 70%); border-radius: var(--radius);
}
.about-logo { width: 100%; max-width: 320px; margin-inline: auto; }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-700); margin-bottom: 16px; }
.about p { color: var(--muted); margin-bottom: 20px; }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.about-points li { display: flex; gap: 10px; align-items: center; }
.about-points .ic { color: var(--steel-500); }

/* ---------- Guides ---------- */
.guides { background: var(--surface); padding-block: 72px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.guide {
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.guide:hover { border-color: var(--tint-200); }
.guide[open] { border-color: var(--steel-500); box-shadow: var(--shadow); }
.guide summary { list-style: none; cursor: pointer; padding: 24px 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.guide summary::-webkit-details-marker { display: none; }
.guide-tag { font-size: .8rem; font-weight: 500; color: var(--steel-500); background: var(--tint-50); padding: 3px 10px; border-radius: 999px; }
.guide h3 { font-size: 1.18rem; color: var(--navy-700); line-height: 1.3; }
.guide summary p { color: var(--muted); font-size: .95rem; }
.guide-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 500; font-size: .92rem; color: var(--navy-700); }
.guide-more .ic { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.guide[open] .guide-more .ic { transform: rotate(45deg); }
.guide-tips { margin: 0; padding: 0 24px 24px; padding-inline-start: 44px; display: grid; gap: 8px; font-size: .96rem; }
.guide-tips li::marker { color: var(--steel-500); }
.guides-note { margin-top: 24px; font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding-block: 72px; display: grid; grid-template-columns: .8fr 1.6fr; gap: 48px; align-items: start; }
.faq-aside { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq-aside h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-700); }
.emergency {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 14px 16px;
  background: #fdf1f0; border-radius: var(--radius-sm); color: #7a1f17; font-size: .92rem; line-height: 1.5;
}
.emergency .ic { color: #b42318; margin-top: 2px; }
.faq-groups { display: grid; gap: 32px; }
.faq-group { display: grid; gap: 10px; }
.faq-group h3 { font-size: 1.05rem; font-weight: 500; color: var(--steel-500); margin-bottom: 4px; }
.faq details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 24px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--navy-700); background: var(--tint-100); border-radius: 50%; width: 32px; height: 32px; padding: 7px; transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding-bottom: 72px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm);
}
.contact-info { padding: 28px 20px; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-700); margin-bottom: 12px; }
.contact-sub { max-width: 46ch; margin-bottom: 28px; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.contact-action {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px;
  border-radius: var(--radius); text-decoration: none;
  background: var(--tint-50); color: var(--navy-700); border: 1.5px solid var(--tint-100);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.contact-action:hover { background: var(--tint-100); border-color: var(--tint-200); }
.contact-action:active { transform: scale(.98); }
.contact-action--primary { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.contact-action--primary:hover { background: var(--navy-900); border-color: var(--navy-900); }
.ca-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--navy-700); flex-shrink: 0; }
.contact-action--primary .ca-icon { background: rgb(255 255 255 / .14); color: #fff; }
.ca-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ca-label { font-size: .85rem; opacity: .8; }
.ca-value { font: 500 1.15rem var(--font-head); white-space: nowrap; }
[dir="rtl"] .ca-value { text-align: right; }

.contact-details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-details li {
  display: grid; grid-template-columns: 20px 7.5rem 1fr; gap: 12px; align-items: baseline;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.contact-details .ic { color: var(--steel-500); align-self: center; }
.cd-label { color: var(--muted); font-size: .9rem; }
.contact-details a { color: var(--navy-700); font-weight: 500; text-decoration: none; }
.contact-details a[href]:hover { text-decoration: underline; }
[dir="rtl"] .contact-details a[dir="ltr"] { text-align: right; }

.contact-form { background: var(--surface-2); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.contact-form h3 { font-size: 1.3rem; color: var(--navy-700); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem var(--font-body); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--dur), box-shadow var(--dur);
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel-500); box-shadow: 0 0 0 4px var(--tint-100); }
.field [aria-invalid="true"] { border-color: #b42318; }
.err { color: #b42318; font-size: .875rem; }
.form-note { font-size: .85rem; text-align: center; }
.form-note a { color: var(--navy-700); }

/* ---------- Privacy notice (informational; the site sets no tracking cookies) ---------- */
.cookie-note {
  position: fixed; z-index: calc(var(--z-fab) + 1); bottom: 20px; inset-inline: auto 20px; /* opposite side from the WhatsApp button */
  max-width: 520px; display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: 0 12px 40px -8px rgb(12 34 71 / .35); font-size: .92rem; line-height: 1.5;
}
.cookie-note[hidden] { display: none; }
.cookie-note a { color: var(--navy-700); }
.cookie-note .btn { flex-shrink: 0; }

/* ---------- Legal pages (privacy, accessibility) ---------- */
.legal-page .header-inner { justify-content: space-between; }
.legal { padding-block: 32px 64px; }
.legal-card {
  max-width: 820px; margin-inline: auto; background: var(--surface);
  border-radius: var(--radius-lg); padding: 48px clamp(20px, 5vw, 56px); box-shadow: var(--shadow-sm);
}
.legal-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy-700); }
.legal-updated { color: var(--muted); font-size: .92rem; margin: 8px 0 28px; }
.legal-card h2 { font-size: 1.3rem; color: var(--navy-700); margin: 36px 0 10px; }
.legal-card p, .legal-card li { max-width: 70ch; }
.legal-card p + p, .legal-card ul + p { margin-top: 12px; }
.legal-card ul { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.legal-card li::marker { color: var(--steel-500); }
.legal-card a { color: var(--navy-700); }
.legal-contact { list-style: none; padding-inline-start: 0 !important; }
.legal-contact a { font-weight: 500; }
.legal-footer { padding-block: 24px; }
.legal-footer .footer-bottom { padding-top: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); color: #c9d5ea; padding-block: 56px 96px; } /* bottom room for the WhatsApp button */
.footer-star { position: absolute; width: 360px; height: 360px; inset-inline-start: -90px; bottom: -120px; fill: #fff; opacity: .04; pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-brand p { margin-top: 14px; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h2 { font: 500 1rem var(--font-head); color: #fff; margin-bottom: 4px; }
.footer-col a { color: #c9d5ea; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: .88rem; color: #9fb0cc; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: #c9d5ea; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.brand--light .brand-name, .brand--light .brand-name b { color: #fff; }
.brand--light .brand-name { opacity: .9; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgb(31 168 85 / .6);
  transition: transform var(--dur) var(--ease-out);
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav a { padding: 10px 10px; font-size: .9rem; }
  .checks { grid-template-columns: 1fr; }
  .promise-list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .promise-list li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-inner { justify-content: space-between; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 16px;
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .main-nav a { padding: 14px 18px; font-size: 1rem; }
  .main-nav a.is-active::before { display: none; }

  .hero-grid { grid-template-columns: 1fr; padding: 12px; }
  .hero-copy { padding: 28px 12px 8px; }
  .hero-proof { padding-top: 32px; }
  .hero-media { min-height: 420px; }

  .tabs { grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
  .tab-panel { grid-template-columns: 1fr; padding: 12px; }
  .tab-panel img { min-height: 340px; order: -1; }
  .panel-copy { padding: 12px 8px 16px; }

  /* Timeline turns vertical */
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { top: 24px; bottom: 24px; inset-inline: 23px auto; border-top: 0; border-inline-start: 2px dashed var(--tint-200); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .step h3 { align-self: center; margin-bottom: 4px; }
  .about-card { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .about-mark { min-height: 200px; }
  .about-logo { max-width: 220px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; padding: 12px; }
  .contact-info { padding: 20px 12px; }
  .contact-form { padding: 20px; }
}

@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand-name { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .tabs [role="tab"] { min-height: 48px; font-size: .92rem; padding: 0 8px; }
  .float-card { inset-inline: 12px; font-size: .9rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .cookie-note { inset-inline: 12px; bottom: 88px; flex-wrap: wrap; gap: 10px; }
  .contact-details li { grid-template-columns: 20px 1fr; }
  .contact-details li > :last-child { grid-column: 2; }
  .promise { padding-block: 56px 48px; }
  .promise h2 { margin-bottom: 32px; }
  .promise-list { grid-template-columns: 1fr; row-gap: 28px; }
  .promise-list li { padding-inline-start: 0; border-inline-start: 0; }
  .promise-watermark { width: 360px; height: 360px; inset-inline-end: -160px; }
  .guide-grid { grid-template-columns: 1fr; }
  .services { padding-top: 56px; }
  .how, .about, .guides, .faq { padding-block: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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