/* Verdea Nutrition Clinic template - public site styles.
   Colours come from CSS variables, overwritten at runtime from Config/clinic.config.js (branding).
   Logical properties (inline/block) are used throughout so right-to-left languages work without extra CSS. */
:root {
  --green: #1f6f43; --green-dark: #15502f; --green-soft: #e8f4ec; --leaf: #8fbf6a;
  --ink: #14231b; --muted: #4d5f55; --line: #dbe6df; --bg: #ffffff; --bg-soft: #f6faf7;
  --danger: #b3261e; --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 35, 27, .05), 0 8px 24px rgba(20, 35, 27, .06);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img, svg { max-inline-size: 100%; block-size: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
:lang(ar) h1, :lang(ar) h2 { font-family: var(--font); letter-spacing: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; transition: inset-block-start .2s; }
.skip-link:focus { inset-block-start: 12px; }
.wrap { inline-size: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { inline-size: min(880px, 100% - 32px); }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-inline-size: 60ch; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 650; text-decoration: none; cursor: pointer; background: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; box-shadow: 0 6px 18px rgba(31, 111, 67, .28); transform: translateY(-1px); }
.btn-ghost { border-color: var(--green); color: var(--green); background: #fff; }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-sm { min-block-size: 44px; padding: 8px 18px; font-size: .95rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link-btn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 6px; min-block-size: 32px; }

/* ---------- demo bar ---------- */
.demo-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; background: #fff7d6; color: #5c4400; padding: 8px 16px; font-size: .9rem; text-align: center; border-block-end: 1px solid #ecd98a; }
.demo-bar[hidden] { display: none; } .demo-bar p { margin: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-block-end: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-block-size: var(--header-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-inline-size: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-inline-size: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; }
:lang(ar) .brand-text strong { font-family: var(--font); }
.brand-text small { color: var(--muted); font-size: .78rem; }
.menu-toggle { display: inline-grid; place-items: center; inline-size: 48px; block-size: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.site-nav { position: absolute; inset-inline: 0; inset-block-start: 100%; background: #fff; border-block-end: 1px solid var(--line); padding: 8px 16px 20px; display: none; box-shadow: var(--shadow); }
.site-nav.open { display: block; }
.site-nav ul { display: grid; }
.site-nav li a { display: block; padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 550; border-block-end: 1px solid var(--line); }
.nav-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-block-start: 16px; flex-wrap: wrap; }
.lang-picker select { min-block-size: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; background: #fff; }
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 18px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { padding: 8px 10px; border: 0; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
  .site-nav li a:hover { background: var(--green-soft); }
  .nav-tools { padding: 0; flex-wrap: nowrap; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-green { background: linear-gradient(180deg, var(--green-soft), #fff 70%); }
.section-head { margin-block-end: clamp(28px, 5vw, 52px); max-inline-size: 760px; }
.section-head.center { margin-inline: auto; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-block-end: 18px; }
:lang(ar) .eyebrow { letter-spacing: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* reveal animation (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 96px); background: radial-gradient(1200px 500px at 85% -10%, var(--green-soft), transparent 60%); }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--green-dark); margin-block-end: 16px; }
:lang(ar) .hero-sub { font-family: var(--font); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.hero-points { display: grid; gap: 8px; color: var(--muted); }
.hero-points li { display: flex; gap: 10px; align-items: center; } .hero-points svg { color: var(--green); flex: none; }
.hero-visual img { inline-size: 100%; block-size: auto; border-radius: 28px; box-shadow: var(--shadow); background: var(--green-soft); object-fit: cover; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

/* ---------- before / after ---------- */
.ba { margin: 0; }
.ba-stage { --pos: 50%; position: relative; inline-size: min(100%, 520px); margin-inline: auto; aspect-ratio: 896 / 1008; border-radius: 24px; overflow: hidden; background: var(--green-soft); box-shadow: var(--shadow); touch-action: pan-y; direction: ltr; }
.ba-img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; inset-block: 0; inset-inline-start: var(--pos); inline-size: 3px; margin-inline-start: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.ba-handle { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); inline-size: 48px; block-size: 48px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow); }
.ba-range { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-stage:has(.ba-range:focus-visible) .ba-handle { outline: 3px solid #0b57d0; outline-offset: 3px; }
.ba-tag { position: absolute; inset-block-start: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-weight: 700; font-size: .85rem; pointer-events: none; }
.ba-tag-before { inset-inline-start: 14px; } .ba-tag-after { inset-inline-end: 14px; color: var(--green-dark); }
.ba-disclaimer { margin-block-start: 18px; text-align: center; font-size: .92rem; color: var(--muted); max-inline-size: 640px; margin-inline: auto; padding: 12px 16px; border: 1px dashed var(--leaf); border-radius: 12px; background: #fff; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.values { display: grid; gap: 16px; }
.value { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { margin-block-end: 4px; } .value p { margin: 0; color: var(--muted); }
.value-icon, .service-icon, .ci { flex: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- services ---------- */
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service { display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,35,27,.1); }
.service p { color: var(--muted); flex: 1; }
.service-icon { margin-block-end: 12px; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .88rem; font-weight: 600; text-decoration: none; }

/* ---------- technology ---------- */
.tech-list { display: grid; gap: clamp(32px, 6vw, 72px); }
.tech-row { display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.tech-img img { inline-size: 100%; border-radius: 24px; background: var(--green-soft); box-shadow: var(--shadow); }
.tech-copy p { color: var(--muted); font-size: 1.08rem; }
@media (min-width: 860px) {
  .tech-row { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .tech-row:nth-child(even) .tech-img { order: 2; }
}

/* ---------- team ---------- */
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.doctor { text-align: center; }
.doctor-photo { inline-size: 132px; block-size: 132px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--green-soft); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.doctor-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.doctor-title { color: var(--green); font-weight: 600; margin-block-end: 8px; }

/* ---------- journey ---------- */
.journey { display: grid; gap: 28px; counter-reset: step; }
.step { position: relative; padding-inline-start: 68px; }
.step-num { position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; z-index: 1; }
.step::before { content: ""; position: absolute; inset-inline-start: 23px; inset-block-start: 48px; inset-block-end: -28px; inline-size: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step { padding-inline-start: 0; padding-block-start: 68px; text-align: center; }
  .step-num { inset-inline-start: 50%; margin-inline-start: -24px; }
  :dir(rtl) .step-num { margin-inline-start: 0; margin-inline-end: -24px; }
  .step::before { inset-inline-start: calc(50% + 32px); inset-block-start: 23px; inline-size: calc(100% - 44px); block-size: 2px; inset-block-end: auto; }
  :dir(rtl) .step::before { inset-inline-start: auto; inset-inline-end: calc(50% + 32px); }
}

/* ---------- booking ---------- */
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 4vw, 40px); box-shadow: var(--shadow); }
.stepper { display: flex; gap: 4px; justify-content: space-between; margin-block-end: 8px; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; color: var(--muted); position: relative; min-inline-size: 0; }
.stepper .dot { inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 2px solid var(--line); font-weight: 700; font-size: .85rem; z-index: 1; }
.stepper li.current .dot { background: var(--green); border-color: var(--green); color: #fff; }
.stepper li.done .dot { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.stepper li.current { color: var(--ink); font-weight: 650; }
.stepper .lbl { overflow-wrap: anywhere; }
@media (max-width: 480px) { .stepper .lbl { display: none; } .stepper li.current .lbl { display: block; position: absolute; inset-block-start: 36px; white-space: nowrap; } .step-of { margin-block-start: 28px; } }
.step-of { text-align: center; margin-block-end: 20px; }
.step-title { font-size: 1.35rem; margin-block-end: 18px; outline-offset: 6px; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, background-color .2s; min-block-size: 76px; justify-content: center; }
.choice-body small { color: var(--muted); }
.choice:hover .choice-body { border-color: var(--leaf); }
.choice input:checked + .choice-body { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + .choice-body { outline: 3px solid #0b57d0; outline-offset: 2px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-block-start: 28px; flex-wrap: wrap; }
.wizard-nav .btn:only-child { margin-inline-start: auto; }
.form-error { color: var(--danger); background: #fdecea; border: 1px solid #f5c2be; padding: 10px 14px; border-radius: 10px; margin-block: 16px 0; font-weight: 550; }
.selected-line { margin-block: 16px 0; font-weight: 650; color: var(--green-dark); min-block-size: 1.65em; }
.booking-off { text-align: center; padding: 24px; background: var(--bg-soft); border-radius: 12px; margin: 0; }
.demo-note { background: #fff7d6; border: 1px solid #ecd98a; color: #5c4400; padding: 10px 14px; border-radius: 10px; font-size: .92rem; margin-block: 16px 0; }

/* calendar */
.cal { max-inline-size: 440px; margin-inline: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.cal-title { font-weight: 700; font-size: 1.1rem; text-transform: capitalize; }
.cal-nav { inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.cal-nav:hover:not(:disabled) { background: var(--green-soft); } .cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { color: var(--muted); font-size: .78rem; text-align: center; text-transform: uppercase; margin-block-end: 4px; }
.cal-msg { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.day { aspect-ratio: 1; min-block-size: 40px; border-radius: 10px; border: 1.5px solid transparent; background: #fff; font-weight: 600; cursor: pointer; padding: 0; position: relative; transition: background-color .15s, border-color .15s; }
.day.st-available { border-color: var(--leaf); background: #fff; color: var(--green-dark); }
.day.st-available:hover { background: var(--green-soft); }
.day.selected { background: var(--green); border-color: var(--green); color: #fff; }
.day.st-booked { background: repeating-linear-gradient(135deg, #fbe9e7 0 5px, #fff 5px 10px); color: #8c3a30; border-color: #efc5bf; cursor: not-allowed; }
.day.st-unavailable { color: #8a968f; background: var(--bg-soft); cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.day.st-closed { color: #8a968f; background: repeating-linear-gradient(45deg, #eef1ef 0 4px, #fff 4px 8px); cursor: not-allowed; border-color: #e1e6e3; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-block: 16px 8px; font-size: .85rem; color: var(--muted); }
.legend li { display: inline-flex; gap: 8px; align-items: center; }
.swatch { inline-size: 18px; block-size: 18px; border-radius: 5px; border: 1.5px solid transparent; display: inline-block; }
.sw-available { border-color: var(--leaf); background: #fff; }
.sw-booked { background: repeating-linear-gradient(135deg, #fbe9e7 0 4px, #fff 4px 8px); border-color: #efc5bf; }
.sw-unavailable { background: var(--bg-soft); border-color: #cfd8d3; position: relative; }
.sw-unavailable::after { content: ""; position: absolute; inset: 7px 2px auto; block-size: 1.5px; background: #8a968f; }
.sw-closed { background: repeating-linear-gradient(45deg, #eef1ef 0 3px, #fff 3px 6px); border-color: #e1e6e3; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-block-start: 8px; }
.slot { min-block-size: 48px; border-radius: 12px; border: 1.5px solid var(--leaf); background: #fff; font-weight: 650; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; padding: 4px; }
.slot small { font-size: .7rem; font-weight: 500; }
.slot.st-available:hover { background: var(--green-soft); }
.slot.selected { background: var(--green); border-color: var(--green); color: #fff; }
.slot.st-booked { border-color: #efc5bf; color: #8c3a30; background: repeating-linear-gradient(135deg, #fbe9e7 0 5px, #fff 5px 10px); cursor: not-allowed; }
.slot.st-unavailable { border-color: #dfe5e1; color: #7b8780; background: var(--bg-soft); cursor: not-allowed; }
.slot.st-booked span, .slot.st-unavailable span { text-decoration: line-through; }

/* forms */
.details-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { inline-size: 100%; min-block-size: 48px; padding: 10px 14px; border: 1.5px solid #b9c8bf; border-radius: 12px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.err { color: var(--danger); font-weight: 550; } .hint { color: var(--muted); } .req { color: var(--danger); }
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; margin-block-start: 18px; }
.consent input { inline-size: 24px; block-size: 24px; flex: none; accent-color: var(--green); margin-block-start: 2px; }
.summary { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 12px 16px; border-block-end: 1px solid var(--line); }
.summary > div:last-child { border: 0; } .summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; }
.done .summary { inline-size: 100%; text-align: start; }
.done-icon { inline-size: 72px; block-size: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.ref { display: grid; gap: 2px; padding: 12px 22px; background: var(--green-soft); border-radius: 14px; margin: 0; }
.ref strong { font-size: 1.6rem; letter-spacing: .08em; color: var(--green-dark); } .ref .label { font-size: .85rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.faq-item[open] { border-color: var(--leaf); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 650; list-style: none; position: relative; min-block-size: 56px; }
:dir(rtl) .faq-item summary { padding: 18px 20px 18px 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 20px; inset-block-start: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); transition: transform .2s; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); } .contact-grid > .card { min-inline-size: 0; }
.contact-list { display: grid; gap: 18px; } .contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .label { display: block; font-size: .85rem; color: var(--muted); } .contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.social { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 20px; }
.hours { inline-size: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; font-weight: 500; }
.hours tr:last-child th, .hours tr:last-child td { border: 0; }
.hours td { text-align: end; } .hours td span { white-space: nowrap; } .hours .closed { color: var(--muted); } .hours .break { display: block; color: var(--muted); font-size: .8rem; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--green-dark); }
.today { margin-inline-start: 8px; font-size: .7rem; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.map-frame { border-radius: 14px; overflow: hidden; background: var(--green-soft); margin-block-end: 12px; aspect-ratio: 8 / 5; }
.map-frame img, .map-frame iframe { inline-size: 100%; block-size: 100%; border: 0; display: block; object-fit: cover; }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr 1.3fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { background: #0f2118; color: #d5e4da; padding-block: 56px 28px; }
.site-footer a { color: #d5e4da; } .site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer .small { color: #a9c0b2; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-brand { display: flex; gap: 10px; align-items: center; color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-block-end: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-block-start: 36px; padding-block-start: 20px; border-block-start: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) { .day.selected, .slot.selected { outline: 3px solid Highlight; } }

/* very small phones (320px) */
@media (max-width: 420px) {
  .card { padding: 18px; }
  .hours td span { white-space: normal; }
  .hours th, .hours td { font-size: .92rem; }
  .today { display: block; margin: 2px 0 0; inline-size: fit-content; }
}
@media (max-width: 420px) { .brand-text small { display: none; } .brand-text strong { font-size: 1rem; } }

/* ---------- photography additions ---------- */
.ba-sim { position: absolute; inset-inline: 0; inset-block-end: 14px; margin-inline: auto; inline-size: fit-content; padding: 6px 14px; border-radius: 999px; background: rgba(20, 35, 27, .78); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.about-side { display: grid; gap: 20px; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.food-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.food { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--green-soft); min-block-size: 260px; box-shadow: var(--shadow); }
.food img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .6s ease; }
.food:hover img { transform: scale(1.03); }
.food figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; display: grid; gap: 2px; padding: 40px 20px 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 25, 17, .78)); }
.food figcaption span { font-size: .92rem; opacity: .95; }
@media (min-width: 760px) { .food-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .food { min-block-size: 320px; } .food-1 { grid-column: span 7; } .food-2 { grid-column: span 5; } .food-3 { grid-column: span 5; } .food-4 { grid-column: span 7; } }
.map-placeholder { display: grid; place-items: center; align-content: center; gap: 10px; block-size: 100%; padding: 20px; text-align: center; color: var(--green-dark); background: linear-gradient(135deg, var(--green-soft), #fff); }
.demo-only { margin-block-start: 22px; }
.demo-only[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .food img { transition: none; } .food:hover img { transform: none; } }

/* shown only if the page could not initialise (see bootFail in app.js) */
.boot-error { margin: 24px auto; inline-size: min(880px, 100% - 32px); padding: 16px 20px; border: 1px solid #f5c2be; border-radius: 12px; background: #fdecea; color: #7a1d17; font-weight: 550; }
