/* Fix Advisor public page. Brand: navy #002060, orange #ED8A1E, Inter (English) / IBM Plex Sans Arabic. */
:root {
  --navy: #002060;
  --navy-deep: #00143f;
  --orange: #ED8A1E;
  --orange-dark: #c96f0c;
  --off: #F7F8FC;
  --grey: #E8ECF4;
  --text: #1A1A2E;
  --muted: #6B7490;
  --green: #1A7A3C;
  --wa: #128C4A;
  --red: #B42318;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[dir="rtl"] { --font: "IBM Plex Sans Arabic", Inter, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--navy); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 8px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- language switch (always visible) ---------- */
.lang-switch, .lang-inline { display: inline-flex; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; font-size: 14px; background: rgba(0,20,63,.55); backdrop-filter: blur(6px); }
.lang-switch { position: fixed; top: 12px; inset-inline-end: 12px; z-index: 70; }
.lang-switch a, .lang-switch span, .lang-inline a, .lang-inline span { padding: 6px 14px; color: rgba(255,255,255,.85); text-decoration: none; font-family: "IBM Plex Sans Arabic", Inter, sans-serif; }
.lang-switch span, .lang-inline span { background: #fff; color: var(--navy); font-weight: 600; }

/* ---------- menu bar (appears after the story) ---------- */
.topbar { position: fixed; top: 0; inset-inline: 0; z-index: 60; background: rgba(0,32,96,.96); border-bottom: 3px solid var(--orange); backdrop-filter: blur(8px); transition: transform .45s ease; }
/* Hidden = pushed well above the screen AND invisible (iPhone Safari could otherwise show a strip of it
   at the top edge / colour its status bar from it). Hiding waits for the slide-up to finish. */
.js .topbar { transform: translateY(calc(-100% - 24px)); visibility: hidden; transition: transform .45s ease, visibility 0s linear .45s; }
.js .nav-on .topbar { transform: none; visibility: visible; transition: transform .45s ease, visibility 0s; }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 58px; max-width: 1040px; margin: 0 auto; padding: 0 20px; padding-inline-end: 136px; }
.topbar-logo img { display: block; width: 150px; }
.topbar-links { display: flex; gap: 18px; margin-inline-start: auto; font-size: 15px; }
.topbar-links a { color: #fff; text-decoration: none; opacity: .9; }
.topbar-links a:hover { opacity: 1; color: var(--orange); }
@media (max-width: 760px) {
  .topbar-in { padding-inline-start: 14px; padding-inline-end: 132px; gap: 12px; }
  .topbar-logo img { width: 120px; }
  .topbar-links a:not(:last-child) { display: none; }
  .topbar-links { font-size: 14px; }
}

/* ---------- background behind the story + brand banner ----------
   Two layers fixed to the screen: the plain blue (matched to the promo image's blue, #031A4D),
   and the promo image on top, whose opacity site.js raises from 0 to 1 as you scroll to the logo. */
.bg-base, .bg-img { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-base { background: radial-gradient(120% 75% at 50% 0%, #0b2c6e 0%, #05205a 50%, #031a4d 100%); }
.bg-img { background: #031a4d; will-change: opacity; }
/* the whole image, never cropped or zoomed: as wide as the screen allows, centred; its top/bottom edges
   are softly faded so they melt into the matching blue around it */
.bg-img::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(100vw, 215.9vh); aspect-ratio: 4001 / 1853; background: url("/hero-bg.jpg") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); }
.js .bg-img { opacity: 0; }

/* ---------- 1. story ---------- */
.story { color: #fff; }
.nb { white-space: nowrap; }
.panel { min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; position: relative; }
.panel-first { min-height: 100vh; min-height: 100svh; }
.panel-last { min-height: 70vh; min-height: 70svh; }
.story-line { font-size: clamp(28px, 7vw, 54px); font-weight: 700; max-width: 16em; margin: 22px auto 0; letter-spacing: -.01em; }
[dir="rtl"] .story-line { letter-spacing: 0; line-height: 1.35; }
.story-big { font-size: clamp(30px, 7.6vw, 60px); }
.story-orange { color: var(--orange); font-size: clamp(34px, 8.5vw, 68px); font-weight: 800; }
.story-emoji { font-size: clamp(56px, 14vw, 96px); line-height: 1; }
.scroll-hint { position: absolute; bottom: 28px; inset-inline: 0; font-size: 14px; color: rgba(255,255,255,.65); letter-spacing: .08em; }
.scroll-hint i { display: block; font-style: normal; font-size: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Story clipboards (the owner's images). The same size on every line, so it reads as one estimate changing.
   --cw = clipboard width; it fits the screen width (leaving room for the tag on line 4) and the screen height. */
.story-fig { --cw: min(58vw, 38vh, 340px); --cw: min(58vw, 38svh, 340px); position: relative; width: var(--cw); margin: 0 auto; direction: ltr; }
.story-fig img { display: block; width: 100%; height: auto; }
/* line 4: handwritten "Required?" on the LEFT, a pencil arrow to the crossed-out lines, clipboard on the right.
   Every size and gap is a multiple of the clipboard width (--cw), so the three keep the same proportions on
   every screen. The arrow's tip stops on the clipboard's dark left edge, level with the crosses
   (a white tip would vanish on the white paper). */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.story-fig-note { width: calc(var(--cw) * 1.6); }
.story-fig-note .clip { width: 62.5%; margin-left: auto; }
.story-fig .fig-note { position: absolute; left: 0; top: calc(var(--cw) * .13); width: calc(var(--cw) * .6); text-align: center;
  font: 600 calc(var(--cw) * .15)/1 'Caveat', 'Segoe Print', cursive; color: #F2F4FA; white-space: nowrap;
  transform: rotate(-7deg); filter: url(#pencil-txt); }
[dir="rtl"] .story-fig .fig-note { direction: rtl; font-family: 'Aref Ruqaa', serif; font-weight: 700; font-size: calc(var(--cw) * .14); }
.story-fig .fig-arrow { position: absolute; left: calc(var(--cw) * .265); top: calc(var(--cw) * .345); width: calc(var(--cw) * .5); transform: scaleX(-1); }
/* the note writes itself, then the arrow draws from the note to the clipboard */
.js .story-fig .fig-note { clip-path: inset(-20% 100% -20% 0); transition: clip-path .8s cubic-bezier(.5,.1,.4,1) .9s; }
.js[dir="rtl"] .story-fig .fig-note { clip-path: inset(-20% 0 -20% 100%); }
.js .story-fig .fig-arrow { clip-path: inset(0 0 0 100%); transition: clip-path .8s cubic-bezier(.5,.1,.4,1) 1.7s; }
.js .reveal.in .story-fig .fig-note, .js[dir="rtl"] .reveal.in .story-fig .fig-note { clip-path: inset(-20% 0 -20% 0); }
.js .reveal.in .story-fig .fig-arrow { clip-path: inset(0 0 0 0); }
/* Fix Advisor icon under "That's where we come in." */
.story-icon { display: block; width: clamp(110px, 30vw, 180px); height: auto; margin: 18px auto 0; }
.js .story-icon { opacity: 0; transform: scale(.9); transition: opacity .7s ease .6s, transform .7s ease .6s; }
.js .reveal.in .story-icon { opacity: 1; transform: none; }

/* Section-by-section scrolling for the story lines + logo banner only (each fills the screen exactly).
   Everything from "Your garage has an expert" down is one tall block (.rest): the page snaps to its top
   edge (just under the menu bar), and inside it scrolling is completely normal. */
html.snap { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
html.snap.snap-off { scroll-snap-type: none; } /* site.js: below the logo banner, plain scrolling (iPhone fix) */
.snap .panel, .snap .panel-first, .snap .panel-last { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }
.snap .brand { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
.snap .rest { scroll-snap-align: start; scroll-margin-top: 58px; }

/* reveal on scroll (only when the script runs; without it everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 2. brand banner ---------- */
.brand { background: transparent; color: #fff; text-align: center; padding: 80px 20px 76px; text-shadow: 0 2px 14px rgba(3,26,77,.8); }
.brand-logo { width: min(540px, 86%); display: block; margin: 0 auto 26px; }
.brand-kicker { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(15px, 2.2vw, 20px); margin: 0 0 18px; }
[dir="rtl"] .brand-kicker { text-transform: none; letter-spacing: 0; font-size: clamp(19px, 2.8vw, 26px); }
.brand-fix { font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 auto; color: #fff; }
[dir="rtl"] .brand-fix { letter-spacing: 0; line-height: 1.5; }
.brand-fix .bf { display: block; }
/* Both lines the SAME size at every screen width. The orange line must stay on ONE line, so the size
   follows the screen width (that line is ~21 em wide in both languages). */
.brand-fix .bf { white-space: nowrap; font-size: min(52px, calc((100vw - 24px) / 21.6)); }
.bf2 { color: var(--orange); margin-top: .3em; }
@media (max-width: 520px) {
  .brand { padding-inline: 12px; }
  .brand-kicker { font-size: 12px; margin-bottom: 14px; }   /* stays smaller than the two lines */
  [dir="rtl"] .brand-kicker { font-size: 14px; }
}
/* appears in steps: logo first, then "We don't fix cars.", then the orange line */
.js .brand-kicker, .js .brand-fix .bf { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .brand-kicker, .js .brand-fix .bf1 { transition-delay: .6s; }
.js .brand-fix .bf2 { transition-delay: 1.6s; }
.js .brand.in .brand-kicker, .js .brand.in .brand-fix .bf { opacity: 1; transform: none; }

/* ---------- 3. headline + credentials ---------- */
.creds-sec { background: #fff; padding: 72px 0 64px; }
.headline { font-size: clamp(32px, 6.4vw, 56px); font-weight: 800; color: var(--navy); text-align: center; letter-spacing: -.02em; max-width: 15em; margin: 0 auto 18px; }
[dir="rtl"] .headline { letter-spacing: 0; line-height: 1.3; }
.headline em { font-style: normal; color: var(--orange); }
.intro-text { text-align: center; font-size: 18px; color: var(--muted); max-width: 36em; margin: 0 auto 36px; }
.creds { list-style: none; padding: 0; margin: 0 auto 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.creds li { background: var(--off); border: 1px solid var(--grey); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 15px; }
.cred-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.cred-ico svg { width: 26px; height: 26px; fill: currentColor; }
.cred-ico b { font-size: 16px; font-weight: 800; font-family: Inter, sans-serif; }
@media (max-width: 860px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .creds li { font-size: 14px; padding: 16px 10px; } }
.free-line span { white-space: nowrap; }
.free-line { text-align: center; font-size: clamp(20px, 3.6vw, 26px); font-weight: 800; color: var(--navy); margin: 0 0 20px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 18px; }
.footnote { text-align: center; font-size: 13px; color: var(--muted); max-width: 44em; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 12px; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-call { background: var(--orange); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn[disabled] { opacity: .65; cursor: default; }

/* ---------- 4. how it works ---------- */
.how { background: var(--off); padding: 72px 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--grey); border-radius: var(--radius); padding: 22px 18px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 14px; font-family: Inter, sans-serif; }
.steps h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.how-note { --hl-bg: var(--off); text-align: center; font-size: 18px; line-height: 1.75; max-width: 44em; margin: 8px auto 0; color: var(--text); }
.how-note > span { display: block; }
.how-note > span + span { margin-top: 8px; }

/* ---------- highlighter: a hand-drawn orange marker stroke behind a few key words ----------
   Two background layers: the marker stroke (uneven edges, darker streaks where ink overlaps) and, on
   top of it, a strip in the same colour as the surroundings that slides away to reveal the stroke,
   the way a real highlighter moves along the words. The words also thicken slightly (no layout jump). */
.hl {
  color: inherit; padding: 0 .12em; margin: 0 -.12em;
  background:
    linear-gradient(var(--hl-bg, #fff), var(--hl-bg, #fff)) 100% 0 / 0% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 50' preserveAspectRatio='none'%3E%3Cpath d='M7 15C52 10 112 14 162 10S262 8 297 13L295 41C251 44 190 40 140 44S41 45 4 40C1 32 2 21 7 15Z' fill='%23ED8A1E' fill-opacity='.42'/%3E%3Cpath d='M10 19C82 16 172 18 291 15L292 23C181 26 91 23 9 26Z' fill='%23ED8A1E' fill-opacity='.2'/%3E%3Cpath d='M8 34C92 37 201 33 293 35L293 39C201 38 91 41 8 39Z' fill='%23ED8A1E' fill-opacity='.24'/%3E%3Cpath d='M4 17C2 24 2 33 5 40L12 41C9 33 9 24 12 15Z' fill='%23ED8A1E' fill-opacity='.25'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  text-shadow: .03em 0 0 currentColor;
}
[dir="rtl"] .hl { background-position: 0 0, 0 0; }
.js .hl { background-size: 100% 100%, 100% 100%; text-shadow: 0 0 0 transparent; transition: background-size .95s cubic-bezier(.55,.1,.35,1), text-shadow .7s ease; }
.js .hl.on { background-size: 0% 100%, 100% 100%; text-shadow: .03em 0 0 currentColor; }

/* ---------- 4b. our promise ---------- */
.promise { background: #fff; padding: 80px 0 8px; }
.promise-card { --hl-bg: #fff; position: relative; max-width: 960px; margin: 0 auto; background: #fff; border: 3px solid var(--navy); border-radius: 22px; padding: 52px 28px 30px; text-align: center; box-shadow: 0 18px 44px rgba(0,32,96,.10); }
.promise-tab { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--orange); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; padding: 8px 20px; border-radius: 999px; white-space: nowrap; }
[dir="rtl"] .promise-tab { letter-spacing: 0; font-size: 16px; }
/* sized so the longest unbreakable piece ("3 MONTHS OR 5,000 KM.*", ~13 em) always fits inside the card */
.promise-line { font-size: min(52px, calc((100vw - 84px) / 13.6)); font-weight: 800; color: var(--navy); text-transform: uppercase; line-height: 1.18; letter-spacing: -.01em; margin: 0 auto 20px; max-width: 17em; text-wrap: balance; }
[dir="rtl"] .promise-line { letter-spacing: 0; line-height: 1.5; }
.promise-note { font-size: clamp(15px, 2vw, 17px); color: var(--muted); max-width: 40em; margin: 0 auto; }
.promise-note a { color: var(--muted); }
@media (max-width: 520px) { .promise { padding-top: 64px; } .promise-card { padding: 46px 18px 24px; } }
.promise.promise-next { padding-top: 56px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 5. example ---------- */
.example { background: #fff; padding: 72px 0; }
.sec-intro { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.ex-card { border: 2px solid var(--orange); border-radius: var(--radius); overflow: hidden; max-width: 720px; box-shadow: 0 10px 30px rgba(0,32,96,.07); }
.ex-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ex-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; padding: 12px 14px; text-align: start; }
.ex-table td { padding: 12px 14px; border-top: 1px solid var(--grey); vertical-align: top; }
.ex-table .num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; font-family: Inter, sans-serif; }
.ex-table .mark { text-align: center; width: 44px; font-weight: 800; }
.ex-table tr.ok .mark { color: var(--green); }
.ex-table tr.no .mark { color: var(--red); }
.ex-table tr.no td:first-child, .ex-table tr.no td:nth-child(2) { color: var(--muted); }
.ex-table tr.no td:nth-child(2) { text-decoration: line-through; }
.ex-table th:first-child, .ex-table td:first-child { width: 58%; }
.ex-table td small { display: block; font-size: 13px; color: var(--muted); }
.ex-table tfoot td { font-weight: 800; color: var(--navy); background: var(--off); font-size: 16px; }
.ex-saved { display: flex; justify-content: space-between; align-items: center; background: var(--green); color: #fff; padding: 14px 16px; font-size: 18px; }
.ex-saved b { font-size: 22px; font-family: Inter, sans-serif; }
.illustrative { font-size: 13px; color: var(--muted); font-style: italic; margin: 12px 0 0; }
[dir="rtl"] .illustrative { font-style: normal; }
@media (max-width: 480px) { .ex-table { font-size: 14px; } .ex-table th, .ex-table td { padding: 10px 8px; } .ex-table .mark { width: 28px; } }

/* ---------- 6. band ---------- */
.band { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.band-1, .band-2 { font-size: clamp(26px, 5.2vw, 42px); font-weight: 800; line-height: 1.25; }
.band .band-1 { font-size: clamp(38px, 8.5vw, 68px); line-height: 1.1; margin: 0 0 14px; white-space: nowrap; }
.band-2 { margin: 0 auto; max-width: 20em; }
/* "repair quotation" / "repair requirement": each stays together on a line. Once the band is on screen the
   orange sweeps through each phrase from left to right (right to left in Arabic), one phrase after the other
   (site.js, same trigger as the highlighter). The soft edge in the gradient makes it smooth, not letter-jumpy. */
.band-2 .cc { color: var(--orange); white-space: nowrap; }
.js .band-2 .cc { color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, var(--orange) 0 42%, #fff 58% 100%) 100% 0 / 240% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; transition: background-position 1.1s cubic-bezier(.45,.05,.4,1); }
.js[dir="rtl"] .band-2 .cc { background-image: linear-gradient(270deg, var(--orange) 0 42%, #fff 58% 100%); background-position: 0 0; }
.js .band-2 .cc.on { background-position: 0 0; }
.js[dir="rtl"] .band-2 .cc.on { background-position: 100% 0; }

/* ---------- 7. FAQs ---------- */
.faqs { background: var(--off); padding: 72px 0; }
.faqs .wrap { max-width: 820px; }
.faq { background: #fff; border: 1px solid var(--grey); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 18px; font-weight: 700; color: var(--navy); position: relative; font-size: 17px; }
[dir="rtl"] .faq summary { padding: 18px 18px 18px 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange); font-weight: 600; }
.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 18px; color: var(--text); }
.faq-a a { color: var(--navy); font-weight: 600; }

/* ---------- 8. contact ---------- */
.contact { background: #fff; padding: 72px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.contact-card { border: 1px solid var(--grey); border-radius: var(--radius); padding: 24px; background: var(--off); display: flex; flex-direction: column; gap: 12px; }
.contact-card h3 { font-size: 21px; color: var(--navy); }
.contact-card > p { margin: 0; color: var(--muted); }
.contact-card .btn { width: 100%; }
.hours { text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.booking { display: flex; flex-direction: column; gap: 14px; }
.booking label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.booking input, .booking select { font: inherit; font-size: 16px; font-weight: 400; color: var(--text); background: #fff; border: 1.5px solid #c9d1e3; border-radius: 10px; padding: 12px 12px; min-height: 50px; width: 100%; }
.booking input:focus, .booking select:focus { border-color: var(--navy); outline: 3px solid rgba(237,138,30,.35); outline-offset: 0; }
[dir="rtl"] .booking input[dir="ltr"] { text-align: right; }
.booking [aria-invalid="true"] { border-color: var(--red); background: #fff6f5; }
.booking .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.booking { position: relative; }
.form-msg { margin: 0; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: var(--green); background: #eaf6ee; border-radius: 10px; padding: 14px; }
.form-msg.err { color: var(--red); }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--navy); }

/* ---------- footer ---------- */
.foot { background: var(--navy-deep); color: rgba(255,255,255,.75); text-align: center; padding: 40px 0 96px; font-size: 14px; }
.foot img { width: 200px; margin-bottom: 10px; }
.foot p { margin: 6px 0; }
.foot a { color: #fff; }
.count-notice { font-size: 12px; color: rgba(255,255,255,.55); max-width: 40em; margin: 14px auto 0 !important; }

/* ---------- floating WhatsApp button ---------- */
.fab { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: opacity .3s, transform .3s; }
.fab .ico { width: 30px; height: 30px; }
.js .fab { opacity: 0; transform: scale(.6); pointer-events: none; }
.js .nav-on .fab { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- terms page ---------- */
.terms-page { background: #fff; }
.terms-head { background: var(--navy); border-bottom: 3px solid var(--orange); }
.terms-head-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.terms-head img { display: block; width: 160px; }
.terms { padding-top: 28px; padding-bottom: 56px; max-width: 820px; }
.terms h1 { color: var(--navy); font-size: clamp(30px, 6vw, 42px); margin-bottom: 6px; }
.terms h2 { font-size: 22px; margin: 34px 0 10px; }
.terms li { margin-bottom: 8px; }
.terms-updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.back { color: var(--navy); font-weight: 600; text-decoration: none; }
.table-scroll { overflow-x: auto; border: 2px solid var(--orange); border-radius: 10px; margin-top: 8px; }
.table-scroll .fee-table { margin-top: 0; }
.fee-table { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 8px; }
.fee-table th { background: var(--navy); color: #fff; text-align: start; padding: 10px 12px; font-size: 14px; }
.fee-table td { border-bottom: 1px solid var(--grey); padding: 10px 12px; vertical-align: top; }
.terms-page .foot { padding-bottom: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .3s; }
  .scroll-hint i { animation: none; }
  .topbar, .fab { transition: none; }
  .js .hl, .js .brand-kicker, .js .brand-fix .bf, .js .story-fig .fig-note, .js .story-fig .fig-arrow, .js .story-icon, .js .band-2 .cc { transition: none; }
}
