/* مكتب المستشار مرتضى منصور — site stylesheet (look C «الشكل المعتاد»)
   One file, no build step. RTL-first; logical properties throughout. */

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/cairo-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;
}

:root {
  --bg: #ffffff;
  --soft: #f6f5f3;
  --soft-2: #efedea;
  --ink: #18181b;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --red: #b11e22;
  --red-dk: #931619;
  --red-tint: #fbf1f1;
  --wa: #128c4a;
  --dark: #141414;
  --dark-2: #1f1f22;
  --on-dark: #d4d4d8;
  --pending-bg: #fff8e6;
  --pending-line: #b45309;
  --pending-ink: #7c2d12;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 12px 32px -14px rgba(24, 24, 27, 0.22);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.85 var(--font);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--dark); color: var(--on-dark); font-size: 0.86rem; line-height: 1.5; }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
a.topbar__item:hover { color: #fff; }
.topbar__spacer { flex: 1; }
.topbar .icon { color: #a1a1aa; }
@media (max-width: 899px) { .topbar { display: none; } }

/* ---------- Open-now status pill ---------- */
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.status[hidden] { display: none; }
.nw { white-space: nowrap; }
.band .status, .hero-card .status { display: flex; width: fit-content; margin-top: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a1a1aa; flex: none; }
.status.is-open::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22); }
.status.is-closed::before { background: #ef4444; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(8px); }
}
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.header__cta { flex: none; }
.lang-switch {
  flex: none; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { color: var(--red); border-color: currentColor; }
.menu-btn {
  display: none; margin-inline-start: auto; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1079px) {
  .header__in .header__cta { display: none; }
}
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .header__in { gap: 12px; }
  .brand img { height: 44px; }
  .menu-btn { display: inline-flex; margin-inline-start: 0; order: 2; }
  .lang-switch { margin-inline-start: auto; order: 1; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 16px;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: 13px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--red); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--wa .icon { color: var(--wa); }
.btn--outline.btn--wa:hover .icon { color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow .icon { width: 1em; height: 1em; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  color: var(--red); font-size: 0.92rem; font-weight: 700; letter-spacing: 0;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.h-section { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 800; line-height: 1.45; text-wrap: balance; }
.lead { color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.15rem); margin-top: 12px; max-width: 62ch; }
.section-head--center .lead { margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; line-height: 1.7; }

/* ---------- Home hero ---------- */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: min(38vw, 460px);
  background: linear-gradient(90deg, rgba(177, 30, 34, 0.06), rgba(177, 30, 34, 0)) ;
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 7vw, 88px);
}
.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.38;
  text-wrap: balance; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--red); }
.hero__lead { color: var(--ink-2); font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 56ch; }
.hero .btn-row { margin-top: 28px; }
.hero-card__list { margin-top: 14px; }
.hero-card .status { margin-top: 6px; font-size: 0.9rem; }
.hero-card__more { margin-top: 18px; }
.creds { margin-top: 30px; display: grid; gap: 10px; }
.creds li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.creds .icon { color: var(--red); margin-top: 0.35em; width: 1.05em; height: 1.05em; stroke-width: 2.4; }

@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero::after { display: none; }
}

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 22px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact__label { color: var(--red); font-size: 0.85rem; font-weight: 700; }
.fact__text { font-weight: 700; line-height: 1.6; margin-top: 4px; }
@media (max-width: 899px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 16px; }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-inline-start: 0; padding-inline: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
}
.card--elevated { box-shadow: var(--shadow); }
.area-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.area-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.area-card__num { color: var(--red); font-weight: 800; font-size: 0.9rem; }
.area-card__title { font-size: 1.15rem; font-weight: 800; line-height: 1.5; }
.area-card__text { color: var(--ink-2); font-size: 0.97rem; line-height: 1.75; }
.area-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: 0.95rem; }
.center-row { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Founder / split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
.plate {
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px);
  position: relative; overflow: hidden;
}
.plate::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 64px; height: 4px; background: var(--red); }
.plate__role { color: #f0b4b6; font-weight: 700; font-size: 0.92rem; }
.plate__name { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.4; margin-top: 6px; }
.plate__list { margin-top: 18px; display: grid; gap: 10px; color: var(--on-dark); }
.plate__list li { display: flex; gap: 10px; align-items: flex-start; }
.plate__list .icon { color: #f87171; margin-top: 0.38em; width: 1em; height: 1em; stroke-width: 2.4; }
.prose-block p + p { margin-top: 14px; }
.prose-block .btn-row { margin-top: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, arabic-indic);
  position: absolute; top: 20px; inset-inline-start: clamp(20px, 2.4vw, 28px);
  width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 800; line-height: 1;
}
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- Contact band ---------- */
.band { background: var(--dark); color: #fff; }
.band__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.5; }
.band p { color: var(--on-dark); margin-top: 6px; }
@media (max-width: 799px) { .band__in { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero__in { padding-block: clamp(32px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.4; text-wrap: balance; }
.page-hero .lead { margin-top: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--ink-3); margin-bottom: 10px; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a {
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  color: var(--ink-2); font-size: 0.92rem; font-weight: 600; text-decoration: none;
}
.chips a:hover { border-color: var(--red); color: var(--red); }
.practice { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line); }
.practice:first-child { border-top: 0; padding-top: 0; }
.practice__num { color: var(--red); font-weight: 800; font-size: 0.95rem; }
.practice h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 800; line-height: 1.5; }
.practice__intro { color: var(--ink-2); margin-top: 8px; }
.practice .btn { margin-top: 18px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks .icon { color: var(--red); margin-top: 0.4em; width: 1em; height: 1em; stroke-width: 2.4; }
@media (max-width: 799px) { .practice { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.person { border-top: 4px solid var(--red); display: flex; flex-direction: column; gap: 6px; }
.person__role { color: var(--red); font-weight: 700; font-size: 0.92rem; }
.person__name { font-size: 1.3rem; font-weight: 800; line-height: 1.5; }
.person__text { color: var(--ink-2); }
.person--lead { background: var(--dark); color: #fff; border-color: var(--red); border-inline: 0; border-bottom: 0; }
.person--lead .person__role { color: #f0b4b6; }
.person--lead .person__text { color: var(--on-dark); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 899px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Forms (booking composer) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.3rem; font-weight: 800; line-height: 1.5; }
.form-card__sub { color: var(--ink-2); font-size: 0.93rem; margin-top: 2px; }
.field { margin-top: 14px; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 5px; }
.field .opt { color: var(--ink-3); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 1rem; line-height: 1.5; transition: border-color 0.15s, box-shadow 0.15s;
}
.select {
  appearance: none; -webkit-appearance: none; padding-inline-start: 14px; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2352525b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(177, 30, 34, 0.16); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: 0.88rem; font-weight: 600; margin-top: 4px; }
.field__error:empty { display: none; }
.field__hint { color: var(--ink-3); font-size: 0.85rem; margin-top: 4px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 379px) { .field-row { grid-template-columns: 1fr; } }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.radios legend { font-weight: 700; font-size: 0.93rem; margin-bottom: 5px; padding: 0; }
.radio { position: relative; flex: 1 1 140px; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; text-align: center;
}
.radio input:checked + span { border-color: var(--red); background: var(--red-tint); color: var(--red-dk); }
.radio input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-card .btn { margin-top: 18px; }
.form-note { color: var(--ink-2); font-size: 0.86rem; line-height: 1.7; margin-top: 12px; }
.form-done { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #ecfdf3; color: #14532d; font-size: 0.93rem; line-height: 1.7; }
.form-done[hidden] { display: none; }
.form-done a { font-weight: 700; color: inherit; }
.noscript-note { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--pending-bg); color: var(--pending-ink); font-size: 0.9rem; }

/* ---------- Info lists (contact, booking aside) ---------- */
.info-list { display: grid; gap: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding-block: 14px; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list .icon { color: var(--red); width: 22px; height: 22px; margin-top: 3px; }
.info-list__label { display: block; color: var(--ink-3); font-size: 0.85rem; font-weight: 700; }
.info-list__value { font-weight: 700; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--red); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; }
.hours td { color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { background: var(--red-tint); color: var(--red-dk); }
.hours tr.is-today th::after { content: " (اليوم)"; font-weight: 600; font-size: 0.85em; }

.map-box {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--soft); min-height: 340px; display: grid; place-items: center; text-align: center;
}
.map-box__inner { padding: 28px; max-width: 420px; }
.map-box__inner .icon { width: 40px; height: 40px; color: var(--red); margin: 0 auto 10px; }
.map-box__inner p { color: var(--ink-2); font-size: 0.93rem; margin-bottom: 16px; }
.map-box .btn-row { justify-content: center; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Prose (terms / privacy) ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 899px) { .doc { grid-template-columns: 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.toc__title { font-weight: 800; margin-bottom: 8px; }
.toc ol { display: grid; gap: 2px; font-size: 0.93rem; }
.toc a { color: var(--ink-2); text-decoration: none; display: block; padding: 3px 0; }
.toc a:hover { color: var(--red); }
@media (max-width: 899px) { .toc { position: static; } }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 800; line-height: 1.5; margin-top: 40px; margin-bottom: 10px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: 10px; }
.prose ul { padding-inline-start: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); font-weight: 600; text-underline-offset: 4px; }
.doc-meta { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); margin-bottom: 30px; font-size: 0.95rem; }
.doc-meta strong { font-weight: 800; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--red-tint); border-inline-start: 4px solid var(--red); }
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }

/* Pending decisions — visibly marked; scripts/check-pending.sh blocks deploy while any remain. */
.pending {
  list-style: none; margin-inline-start: -1.3em; margin-top: 10px !important;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--pending-bg); border-inline-start: 4px solid var(--pending-line); color: var(--pending-ink);
}
.pending__tag {
  display: inline-block; margin-inline-end: 8px; padding: 1px 10px; border-radius: 999px;
  background: var(--pending-line); color: #fff; font-size: 0.8rem; font-weight: 700; vertical-align: 1px;
}
.pending-summary { margin-bottom: 26px; padding: 16px 18px; border-radius: var(--radius); background: var(--pending-bg); border: 1px solid #f5d38a; color: var(--pending-ink); }
.pending-summary strong { font-weight: 800; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.notfound__code { color: var(--red); font-weight: 800; font-size: clamp(3rem, 10vw, 5.5rem); line-height: 1; }
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-top: 12px; }
.notfound p { color: var(--ink-2); margin-top: 8px; }
.notfound .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 56px 40px; }
.footer__brand img { height: 76px; width: auto; }
.footer__brand p { margin-top: 14px; max-width: 36ch; line-height: 1.8; }
.footer__title { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 12px; }
.footer__links { display: grid; gap: 6px; }
.footer__links a, .footer__contact a { color: var(--on-dark); text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact { display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: #a1a1aa; margin-top: 0.3em; width: 1.05em; height: 1.05em; }
.footer__bottom { border-top: 1px solid #2a2a2e; padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: 0.86rem; color: #a1a1aa; }
.footer__bottom a { color: #d4d4d8; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 999px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 559px) { .footer__grid { grid-template-columns: 1fr; padding-block: 40px 28px; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .actionbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line-2);
    box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .actionbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 66px; padding: 6px 4px; color: var(--ink); font-weight: 700; font-size: 0.86rem; text-decoration: none;
  }
  .actionbar a + a { border-inline-start: 1px solid var(--line); }
  .actionbar .icon { width: 24px; height: 24px; }
  .actionbar__wa .icon { color: var(--wa); }
  .actionbar a.actionbar__book { background: var(--red); color: #fff; border-inline-start-color: var(--red); }
}

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

@media print {
  .topbar, .site-header, .actionbar, .site-footer, .toc, .btn, .map-box { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  .page-hero { background: none; border: 0; }
  .doc { display: block; }
}

/* ---------- Booking aside / contact map spacing ---------- */
.aside-title { font-size: 1.2rem; font-weight: 800; line-height: 1.5; margin-top: 30px; margin-bottom: 12px; }
.aside-title--first { margin-top: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.prose-block .callout { margin-top: 22px; }
.map-wrap { margin-top: 18px; }
.card > .form-card__title + .info-list, .card > .form-card__title + .muted { margin-top: 14px; }
.card .btn-row { margin-top: 20px; }
.card .hours { margin-block: 10px 14px; }
@media (max-width: 1239px) { .topbar__item--addr { display: none; } }
@media (max-width: 1039px) { .topbar__item--mail { display: none; } }
.crumbs ol, .toc ol, .nav ul { list-style: none; margin: 0; padding: 0; }
.crumbs ol { margin-bottom: 10px; }

/* ---------- English pages (dir=ltr) ---------- */
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] .hero h1, html[lang="en"] .h-section { line-height: 1.25; }
[dir="ltr"] .icon--fwd { transform: scaleX(-1); }
[dir="ltr"] .hero::after { background: linear-gradient(270deg, rgba(177, 30, 34, 0.06), rgba(177, 30, 34, 0)); }
[dir="ltr"] .select { background-position: right 14px center; }
[dir="ltr"] .crumbs li + li::before { content: "›"; }
