/* Guest First
   Layout concept: a calm white dining room with one working object on the pass — the kitchen ticket.
   Tickets carry the illustrative visit, the report sample and the booking; everything else stays quiet. */
:root {
  --paper: #ffffff;
  --ink: #0d0d0c;           /* logo black */
  --ink-2: #3f3c36;
  --muted: #67635a;         /* 5.9:1 on white */
  --line: #e7e3d9;
  --tint: #f8f7f3;
  --yellow: #fab104;        /* sampled from the symbol file */
  --yellow-soft: #fff4d1;
  --yellow-deep: #8a6200;   /* yellow family for text on white, 5.2:1 */
  --ok: #1d6b3a; --ok-bg: #e8f4ec;
  --warn: #8a5300; --warn-bg: #fff3dc;
  --err: #b42318; --err-bg: #fdecea;

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6rem;
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }

/* type scale */
.h1, .hero h1 { font-size: clamp(2.2rem, 7.2vw, 4.3rem); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
.h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 40rem; }
.lead-sm { font-size: 1.15rem; color: var(--ink-2); max-width: 38rem; }
.eyebrow { font: 600 .78rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 1.4rem; height: 4px; background: var(--yellow); border-radius: 2px; }
.section-lead { color: var(--ink-2); max-width: 40rem; margin-top: var(--s-4); }
.kicker { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-deep); font-weight: 600; margin-bottom: var(--s-3); }
.prose p + p { margin-top: var(--s-4); }
.prose ul { padding-left: 1.2rem; display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.prose h2 { margin: var(--s-6) 0 var(--s-3); }
.prose a, .text-link { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.text-link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; color: var(--ink); }
.text-link:hover { text-decoration-color: var(--ink); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.15 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn .ico { transition: transform .15s ease; }
.btn:hover .ico { transform: translateX(3px); }
[dir="rtl"] .btn .ico { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.btn-primary:hover { background: #ffbf1f; }
.btn-primary:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2b2a27; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-5); }
.btn-row.center { justify-content: center; }
.tag { display: inline-block; vertical-align: middle; font: 700 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: .35rem .5rem; border-radius: 6px; margin-inline-start: .35rem; }

/* header */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.demo-banner { background: var(--ink); color: var(--paper); font: 500 .8rem/1.35 var(--f-mono); text-align: center; padding: .5rem var(--gutter); }
#site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { height: 56px; width: auto; }
.header-tools { display: flex; align-items: center; gap: var(--s-2); }
.lang { position: relative; display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 .55rem 0 .65rem; min-height: 42px; }
.lang:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-weight: 600; font-size: .9rem; padding: .4rem .2rem; cursor: pointer; max-width: 7.5rem; }
.lang select:focus { outline: none; }
.header-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.menu-btn .ico { width: 24px; height: 24px; }
.main-nav { display: none; }
.menu-open .main-nav {
  display: block; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--paper);
  padding: var(--s-5) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom, 0px)); overflow-y: auto; z-index: 49;
}
.main-nav ul { list-style: none; display: grid; gap: var(--s-1); }
.nav-link { display: block; text-decoration: none; font: 700 1.6rem/1.2 var(--f-display); padding: .7rem 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.nav-cta-mobile { margin-top: var(--s-6); }
.menu-open { overflow: hidden; }
.menu-open #sticky-cta { display: none; }

/* sections */
.section { padding-block: var(--s-7); }
.section.tint { background: var(--tint); }
.page-head { padding-block: var(--s-7) var(--s-5); }
.page-head.compact { padding-bottom: 0; }
.page-head .lead { margin-top: var(--s-4); }

/* hero */
.hero { padding-block: var(--s-6) var(--s-7); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: var(--s-5); }
.hero-note { display: flex; gap: .5rem; align-items: center; margin-top: var(--s-4); color: var(--muted); font-size: .95rem; }
.hero-note .ico { color: var(--yellow-deep); }
.hero-art { display: flex; justify-content: center; min-width: 0; }

/* kitchen ticket */
.ticket {
  --edge: 10px;
  position: relative; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px 6px 0 0;
  padding: var(--s-5) var(--s-5) calc(var(--s-5) + var(--edge));
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 22px 40px -24px rgba(30,25,10,.35);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 18px var(--edge) repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - var(--edge)) no-repeat;
          mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 18px var(--edge) repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - var(--edge)) no-repeat;
  margin: 0;
}
.ticket-head { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding-bottom: var(--s-3); border-bottom: 2px dashed var(--line); }
.hero-ticket { width: 100%; max-width: 400px; transform: rotate(-1.6deg); }
.ticket-pin { position: absolute; top: -1px; left: 50%; width: 64px; height: 12px; transform: translateX(-50%); background: var(--yellow); border-radius: 0 0 8px 8px; }
.ticket-lines { list-style: none; display: grid; gap: 0; margin-top: var(--s-2); }
.ticket-lines li { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: var(--s-3); align-items: center; padding: .7rem 0; border-bottom: 1px dotted var(--line); font-size: .98rem; }
.ticket-lines .mono { font-size: .85rem; color: var(--muted); }
.ticket-lines .tick { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow-soft); color: var(--ink); }
.ticket-lines .tick .ico { width: 15px; height: 15px; }
.ticket figcaption { margin-top: var(--s-4); font: 500 .74rem/1.4 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-ticket .ticket-lines li { animation: punch .5s both cubic-bezier(.2,.7,.2,1); }
  .hero-ticket .ticket-lines li:nth-child(2) { animation-delay: .08s; }
  .hero-ticket .ticket-lines li:nth-child(3) { animation-delay: .16s; }
  .hero-ticket .ticket-lines li:nth-child(4) { animation-delay: .24s; }
  .hero-ticket .ticket-lines li:nth-child(5) { animation-delay: .32s; }
  @keyframes punch { from { transform: translateY(6px); } to { transform: none; } }
}

/* questions */
.h2 + .q-grid { margin-top: var(--s-6); }
.q-grid { display: grid; gap: var(--s-4); }
.q-card { border-top: 4px solid var(--ink); padding-top: var(--s-4); }
.q-card h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: var(--s-3); }
.q-card p { color: var(--ink-2); }

/* services */
.svc-grid { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.svc-card.svc-consult { border: 2px solid var(--ink); }
.svc-icon { width: 48px; height: 48px; color: var(--ink); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 { font-size: 1.45rem; }
.svc-card > p { color: var(--ink-2); }
.svc-meta { display: grid; gap: var(--s-3); margin: var(--s-2) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.svc-meta dt { font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.svc-meta dd { margin: 0; }
.svc-actions { margin-top: auto; padding-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

/* process */
.steps { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-6); position: relative; }
.step { position: relative; padding-left: 4rem; min-width: 0; }
.step-n { position: absolute; left: 0; top: -.1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); font-weight: 600; font-size: 1.05rem; }
.step h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.step p { color: var(--ink-2); }
[dir="rtl"] .step { padding-left: 0; padding-right: 4rem; }
[dir="rtl"] .step-n { left: auto; right: 0; }

/* trust + report */
.trust-grid { display: grid; gap: var(--s-7); }
.trust-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.trust-item { padding-left: var(--s-4); border-left: 3px solid var(--yellow); }
[dir="rtl"] .trust-item { padding-left: 0; padding-right: var(--s-4); border-left: 0; border-right: 3px solid var(--yellow); }
.trust-item h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.trust-item p { color: var(--ink-2); }
.report-col { min-width: 0; }
.report-col .muted { margin: var(--s-3) 0 var(--s-5); }
.report { max-width: 460px; }
.report-badge { display: inline-block; margin-bottom: var(--s-3); font: 700 .68rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .4rem .55rem; border-radius: 6px; }
.report-logo { display: flex; align-items: center; gap: .6rem; padding-bottom: var(--s-3); border-bottom: 2px dashed var(--line); font-size: .75rem; letter-spacing: .1em; }
.report-sec { padding: var(--s-3) 0; border-bottom: 1px dotted var(--line); }
.report-h { font-weight: 700; font-family: var(--f-display); font-size: 1.05rem; margin-bottom: .2rem; }
.report-h .mono { font-size: .8rem; color: var(--yellow-deep); margin-inline-end: .35rem; }
.report-sec > p:last-child, .report-sec > p + p { color: var(--ink-2); font-size: .95rem; }
.prio { list-style: none; display: grid; gap: .45rem; margin-top: var(--s-3); }
.prio li { display: grid; grid-template-columns: 4.6rem 1fr; gap: var(--s-3); align-items: baseline; font-size: .92rem; }
.prio-tag { font: 700 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .4rem; border-radius: 5px; text-align: center; }
.prio-tag.p0 { background: var(--ink); color: var(--paper); }
.prio-tag.p1 { background: var(--yellow); color: var(--ink); }
.prio-tag.p2 { background: var(--tint); color: var(--ink); border: 1px solid var(--line); }

/* callout, faq, final */
.callout { border: 2px solid var(--ink); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-3); max-width: 62rem; }
.callout p { color: var(--ink-2); max-width: 46rem; }
.callout .btn-row { margin-top: var(--s-3); }
.faq { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; font: 700 1.1rem/1.35 var(--f-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); position: relative; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] .faq-mark { background: var(--yellow); }
.faq details[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 44rem; }
.final { padding-block: var(--s-7); background: var(--yellow-soft); border-top: 1px solid #f6e3a6; }
.final-inner { text-align: center; display: grid; justify-items: center; gap: var(--s-4); }
.final-mark { width: 64px; height: 64px; }
.final h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.final p { color: var(--ink-2); max-width: 34rem; font-size: 1.1rem; }
.final .btn-row { margin-top: var(--s-2); }

/* services page */
.jump { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.jump a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem .5rem .6rem; font-weight: 600; min-height: 44px; }
.jump a:hover { border-color: var(--ink); }
.jump svg { width: 26px; height: 26px; }
.detail-grid { display: grid; gap: var(--s-6); }
.detail-main { min-width: 0; }
.detail-main .lead-sm { margin: var(--s-4) 0 var(--s-6); }
.detail-main .h4 { margin: var(--s-5) 0 var(--s-3); }
.detail-side { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.side-card { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); padding: var(--s-5); }
.side-card .h4 { margin-bottom: var(--s-3); }
.side-card .small { margin-top: var(--s-3); }
.checks { list-style: none; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .ico { margin-top: .2rem; color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 2px; width: 1.2rem; height: 1.2rem; }
.checks.two-col { gap: .7rem 1.5rem; }
.diff { background: var(--yellow-soft); border-radius: var(--r); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-2); }
.diff .h4 { margin: 0 0 var(--s-2); }
.disclaimer { margin-top: var(--s-5); font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: var(--s-3); }
.quote-box { border-radius: var(--r); background: var(--tint); padding: var(--s-4) var(--s-5); }
.section.tint .quote-box, .section.tint .side-card { background: var(--paper); }
.quote-h { font: 600 .75rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.appt-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.appt-note .ico { margin-top: .2rem; color: var(--yellow-deep); }
.table-wrap { overflow-x: auto; margin-top: var(--s-5); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { text-align: start; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1.1rem; }
.compare tbody th { font: 600 .78rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 26%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.table-wrap + .muted { margin-top: var(--s-4); }

/* about */
.statement { max-width: 22ch; }
.about-row { display: grid; gap: var(--s-4); padding-block: var(--s-6); border-top: 1px solid var(--line); }
.about-row:first-child { border-top: 0; padding-top: 0; }
.about-row .prose { color: var(--ink-2); max-width: 40rem; }
.principles { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.principle { background: var(--paper); border-radius: var(--r); padding: var(--s-5); border: 1px solid var(--line); }
.principle h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.principle p { color: var(--ink-2); }

/* booking */
.book-section { padding-top: var(--s-6); }
.book-grid { display: grid; gap: var(--s-6); align-items: start; }
.book-form { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-4); background: var(--paper); }
.stepper { list-style: none; display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.stepper li { flex: 1; display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--muted); padding-bottom: .6rem; border-bottom: 3px solid var(--line); }
.stepper li .mono { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint); font-size: .8rem; flex: none; }
.stepper li.is-current { color: var(--ink); border-color: var(--yellow); }
.stepper li.is-current .mono { background: var(--yellow); }
.stepper li.is-done { color: var(--ink); border-color: var(--ink); }
.stepper li.is-done .mono { background: var(--ink); color: var(--paper); }
.field { border: 0; margin: 0 0 var(--s-5); padding: 0; min-width: 0; }
.label { display: block; font-weight: 700; margin-bottom: .45rem; font-size: 1rem; padding: 0; }
.req { color: var(--err); }
.opt { font-weight: 500; color: var(--muted); font-size: .88rem; }
.hint { font-size: .88rem; color: var(--muted); margin: -.15rem 0 .5rem; }
.input { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid #cfcabd; border-radius: 10px; background: var(--paper); font-size: 1rem; }
.input:hover { border-color: #a9a395; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
textarea.input { resize: vertical; min-height: 110px; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
[dir="rtl"] select.input { background-position: 18px 52%, 13px 52%; padding-right: .9rem; padding-left: 2.2rem; }
.has-error .input { border-color: var(--err); }
.err { color: var(--err); font-size: .9rem; font-weight: 600; margin-top: .4rem; }
.phone-row { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--s-2); }
.field-grid { display: grid; gap: 0 var(--s-4); }
.svc-radios { display: grid; gap: var(--s-2); }
.svc-radio { position: relative; display: block; cursor: pointer; }
.svc-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.svc-radio-body { display: flex; gap: var(--s-3); align-items: center; border: 1.5px solid #cfcabd; border-radius: 12px; padding: .8rem .9rem; transition: border-color .15s, background-color .15s; }
.svc-radio-icon { width: 36px; height: 36px; flex: none; }
.svc-radio-icon svg { width: 100%; height: 100%; }
.svc-radio-sub { display: block; color: var(--muted); font-size: .9rem; }
.svc-radio input:checked + .svc-radio-body { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.svc-radio input:focus-visible + .svc-radio-body { outline: 3px solid var(--ink); outline-offset: 2px; }
.note { background: var(--tint); border-radius: 12px; padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); font-size: .97rem; border-left: 4px solid var(--yellow); }
[dir="rtl"] .note { border-left: 0; border-right: 4px solid var(--yellow); }
.note p + p { margin-top: .35rem; color: var(--muted); }
.form-actions { margin-top: var(--s-4); }
.back-link { margin-bottom: var(--s-4); display: inline-block; text-decoration: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: var(--s-3) var(--s-4); background: var(--tint); margin-bottom: var(--s-4); }
.alert-error { background: var(--err-bg); color: #7a1a12; border: 1px solid #f3c1bb; }
.alert-error a { color: inherit; font-weight: 600; }
.alert-error ul { margin: .4rem 0 0 1.1rem; display: grid; gap: .2rem; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe0ca; }
.alert .btn { margin-top: var(--s-3); }
.tz-row { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.tz-line { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; }
.tz-line .ico { margin-top: .2rem; }
.tz-change summary { cursor: pointer; font-weight: 600; font-size: .92rem; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; display: inline-block; }
.tz-change select { margin-top: var(--s-2); max-width: 22rem; }
.dates-fs, .times-fs { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.dates { display: flex; gap: var(--s-2); overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px; scroll-snap-type: x proximity; }
.date-chip { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: .1rem; width: 4.4rem; padding: .55rem .3rem; border-radius: 12px; border: 1.5px solid #cfcabd; background: var(--paper); cursor: pointer; }
.date-chip .dc-wd, .date-chip .dc-m { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.date-chip .dc-d { font: 700 1.35rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.date-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.date-chip[aria-pressed="true"] span { color: var(--paper); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr)); gap: var(--s-2); }
.time-chip { min-height: 48px; padding: 0 .3rem; white-space: nowrap; font-size: .95rem; border-radius: 10px; border: 1.5px solid #cfcabd; background: var(--paper); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.time-chip:hover, .date-chip:hover { border-color: var(--ink); }
.time-chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.selected-line p { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; margin-bottom: var(--s-4); }
.selected-line .ico { margin-top: .25rem; background: var(--yellow); border-radius: 50%; padding: 2px; }
.book-aside { display: grid; gap: var(--s-4); min-width: 0; }
.kv { display: grid; gap: var(--s-3); margin: 0; }
.kv dt { font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary-card .small { margin-top: var(--s-4); }
.after-list { padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--ink-2); }

/* manage / confirmation */
.confirm-head { display: flex; gap: var(--s-4); align-items: flex-start; margin-bottom: var(--s-6); }
.confirm-head .lead-sm { margin-top: var(--s-2); }
.confirm-head p + p { margin-top: var(--s-2); color: var(--ink-2); }
.confirm-check { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.confirm-check .ico { width: 28px; height: 28px; }
.booking-ticket { max-width: 520px; }
.booking-ticket .kv { margin-top: var(--s-4); }
.booking-ticket > .small { margin-top: var(--s-4); }
.status { padding: .3rem .55rem; border-radius: 6px; letter-spacing: .06em; }
.status-ok { background: var(--ok-bg); color: var(--ok); }
.status-warn { background: var(--warn-bg); color: var(--warn); }
.status-off { background: var(--tint); color: var(--muted); }
.email-line { margin-top: var(--s-5); font-weight: 600; }
.manage-box { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.manage-box .btn-row { margin-top: var(--s-3); }
.confirm-panel, .resched { margin-top: var(--s-5); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5) var(--s-4); }
.confirm-panel p + p { margin-top: var(--s-2); color: var(--ink-2); }
.resched > .h4 { margin-bottom: var(--s-4); }
#manage-root > p { margin-top: var(--s-5); }

/* footer */
#site-footer { border-top: 1px solid var(--line); padding-block: var(--s-7) var(--s-5); }
.footer-inner { display: grid; gap: var(--s-6); }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: var(--s-3); color: var(--muted); }
.footer-h { font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
#site-footer ul { list-style: none; display: grid; gap: .45rem; }
#site-footer a { text-decoration: none; }
#site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.footer-base { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* sticky mobile CTA */
#sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
#sticky-cta:empty { display: none; }
#sticky-cta.is-visible { transform: none; }
body.has-sticky #site-footer { padding-bottom: calc(var(--s-5) + 76px + env(safe-area-inset-bottom, 0px)); }

#toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 10px; font-size: .92rem; max-width: calc(100% - 32px); }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .q-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-form { padding: var(--s-6); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .btn-block-sm { width: auto; }
}
@media (max-width: 639px) {
  .btn-block-sm { width: 100%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 92px; }
  .brand img { height: 76px; }
  .section { padding-block: var(--s-8); }
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: var(--s-5); }
  .nav-link { font: 600 1rem/1 var(--f-body); border: 0; padding: .5rem 0; letter-spacing: 0; }
  .nav-link:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .nav-link[aria-current="page"] { text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .nav-cta-mobile, .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
  .menu-open .main-nav { position: static; padding: 0; }
  #sticky-cta { display: none; }
  body.has-sticky #site-footer { padding-bottom: var(--s-5); }
  .hero { padding-block: var(--s-8) var(--s-9); }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: var(--s-8); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .steps::before { content: ""; position: absolute; top: 1.3rem; left: 1.4rem; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); z-index: -1; }
  .step { padding-left: 0; padding-top: 4rem; }
  .step-n { top: 0; }
  [dir="rtl"] .step { padding-right: 0; }
  .trust-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-8); align-items: start; }
  .detail-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-8); }
  .detail-side { position: sticky; top: calc(var(--header-h) + 24px); }
  .about-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--s-7); }
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .book-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); }
  .book-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .svc-radios { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-radio-body { flex-direction: column; align-items: flex-start; height: 100%; }
}

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