/* ==========================================================================
   Tamam Care · site.css v3 (consolidated design, RTL, mobile-first)
   Replaces style.css + footer.css + booking.css + home-services.css + service-pages.css
   ========================================================================== */

@font-face { font-family: Lama; src: url('../lama.woff') format('woff'), url('../lama.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Lama; src: url('../lama-bold.woff') format('woff'), url('../lama-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --brand: #1d6f8c;        /* text, buttons (5.7:1 on white) */
  --brand-logo: #2480a2;   /* logo colour, decorative / large text */
  --brand-deep: #0f4c63;   /* dark surfaces */
  --sky: #66c0ed;          /* logo accent, decorative only */
  --tint: #e8f4f8;
  --tint-2: #f4f9fb;
  --ink: #123b4a;
  --muted: #4a6672;
  --line: #d6e6ec;
  --surface: #fff;
  --wa: var(--brand);      /* WhatsApp buttons use the brand blue (was green #127a47) */
  --wa-dark: var(--brand-deep);  /* was #0d5f37 */
  --danger: #b3261e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 76, 99, .06), 0 8px 24px rgba(15, 76, 99, .07);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--tint-2); color: var(--ink);
  font-family: Lama, "Segoe UI", Tahoma, Arial, sans-serif; font-size: 17px; line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(32px, 6vw, 54px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
bdi { unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand-deep); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.site-main > section, .site-main > .breadcrumbs, .section { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.site-main > section { padding-block: clamp(48px, 7vw, 88px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--brand); font-size: 14px; font-weight: 700; }
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--sky); }
.section-head { display: grid; gap: 8px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; } }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; line-height: 1.3;
  cursor: pointer; transition: background-color .15s, transform .15s;
}
.button:hover { background: var(--brand-deep); color: #fff; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.button-whatsapp { background: var(--wa); }
.button-whatsapp:hover { background: var(--wa-dark); }
.button-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-ghost:hover { background: var(--surface); color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ----------
   Slim white bar: logo on the right, plain text links toward the left (RTL), "اتصل بنا" as an understated
   text link with the outline phone icon. Desktop height 100px. Below 900px the links move into a dropdown. */
:root { --header-h: 100px; --nav-ink: #2c4352; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e6eef1; }
.site-header-inner { display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gutter), var(--container)); min-height: calc(var(--header-h) - 1px); margin-inline: auto; }
.brand { display: block; flex: none; line-height: 0; }
.site-header .brand img { width: 190px; height: auto; aspect-ratio: 378 / 177; }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 2.8vw, 38px); margin-inline-start: auto; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; color: var(--nav-ink); font-size: 16px; font-weight: 400; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.primary-nav a:hover { color: var(--brand); }
.primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--sky); }
.nav-call .icon { width: 18px; height: 18px; stroke-width: 1.6; color: var(--nav-ink); }
.nav-call:hover .icon { color: var(--brand); }
.primary-nav a:focus-visible { outline: 2px solid #2481a2; outline-offset: 4px; border-radius: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-icon { display: grid; gap: 4px; width: 20px; margin: auto; }
.menu-icon i { display: block; height: 2px; border-radius: 2px; background: var(--nav-ink); transition: transform .2s, opacity .2s; }
[data-menu-open] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[data-menu-open] .menu-icon i:nth-child(2) { opacity: 0; }
[data-menu-open] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .site-header .brand img { width: 170px; } }
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header-inner { position: relative; gap: 12px; }
  .site-header .brand img { width: 150px; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  .primary-nav {
    position: absolute; inset-inline: calc(-1 * var(--gutter)); top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px var(--gutter) 16px; background: #fff; border-top: 1px solid #e6eef1; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(15, 76, 99, .1);
  }
  [data-menu-open] .primary-nav { display: flex; }
  .primary-nav a { min-height: 52px; padding-inline: 8px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav a[aria-current="page"]::after { inset-inline: 0 auto; inset-block: 12px; bottom: 12px; width: 3px; height: auto; }
  .primary-nav a[aria-current="page"] { padding-inline-start: 16px; }
  .nav-call { border-bottom: 0 !important; }
  .primary-nav a:focus-visible { outline-offset: -2px; }
}
@media (max-width: 360px) { .site-header .brand img { width: 136px; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.breadcrumbs p { margin: 0; }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin-inline: 6px; color: #8aa3ad; }
.breadcrumbs .last { color: var(--muted); }

/* ---------- Home: hero ---------- */
.hero { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; padding-top: clamp(28px, 5vw, 64px) !important; }
.hero h1 { margin-bottom: 16px; }
.hero h1 span { display: block; color: var(--brand); }
.hero-lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-actions .button { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-actions .button { flex: 0 0 auto; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--brand); }
.hero-trust a { color: inherit; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 28px 28px 28px 96px; background: var(--tint); }
.hero-media::before { content: ''; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%; border-radius: 0 0 28px 0; background: var(--sky); opacity: .35; z-index: -1; }
.hero-badge { position: absolute; inset-inline-end: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; }
.hero-badge strong { display: block; color: var(--ink); font-size: 15px; }
.hero-badge .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--brand); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero-media { max-width: 520px; justify-self: end; width: 100%; }
}
@media (max-width: 899px) { .hero-media img { aspect-ratio: 5 / 4; border-radius: 24px 24px 24px 64px; } }

/* ---------- Home hero: photographic slider (matched to the CleaningFlow hero, RTL) ---------- */
.site-main > .hero-x {
  --hx-gutter: 16px;
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  width: calc(100% - 2 * var(--hx-gutter)); max-width: none; margin: 0 auto; padding: 0 !important;
  min-height: clamp(520px, calc(80vh - var(--header-h)), 720px);
  overflow: hidden; border-radius: 0 0 22px 22px; background: #15191b; color: #fff;
}
.hx-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #cfdde2 url("../img/hero-video-poster.webp") center / cover no-repeat; }
/* Full-bleed cover. Desktop keeps the gloved hand and spray (centre-left of the frame) clear of the RTL text column. */
.hx-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 40% 50%; }
/* The footage is very bright (white glass and foam), so the overlay is deeper than for photos:
   about 74% behind the text, easing to 42% on the far side so the cleaning stays visible. */
.hero-x::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(8, 36, 48, .8) 0, rgba(8, 36, 48, .74) 660px, rgba(8, 36, 48, .42) 980px, rgba(8, 36, 48, .28) 100%); }
/* Hero copy (2026-11-20 redesign): IBM Plex Sans Arabic, scoped to the hero. A right-aligned block with a
   sensible measure leaves the left of the video open; understated label, medium-weight headline,
   restrained 10px buttons. */
.hero-x { font-family: 'IBM Plex Sans Arabic', 'Lama', system-ui, sans-serif; }
.hx-inner { width: 100%; max-width: 1240px; margin-inline: auto; padding: 72px clamp(28px, 5vw, 72px) 96px; }
.hx-copy { max-width: 560px; }
.hx-label { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #bfe6f8; font-size: 15px; font-weight: 500; line-height: 1.6; }
.hx-label::before { content: ''; flex: none; width: 28px; height: 2px; border-radius: 2px; background: #67c1ee; }
.hx-label .hx-sep { color: rgba(191, 230, 248, .55); }
.hero-x h1 { margin: 0; color: #fff; font-family: inherit; font-size: clamp(34px, 3.3vw, 48px); font-weight: 600; line-height: 1.5; letter-spacing: 0; text-shadow: 0 1px 18px rgba(0, 0, 0, .18); }
.hero-x h1 .hx-line { display: block; }
.hx-lead { max-width: 50ch; margin: 20px 0 0; color: #e2eef2; font-size: 18px; font-weight: 400; line-height: 1.9; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 24px; border: 1px solid transparent; border-radius: 10px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.hx-btn svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hx-btn-primary { background: #fff; color: #0f4c63; }
.hx-btn-primary:hover { background: #e8f4f8; color: #0f4c63; }
.hx-btn-ghost { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); color: #fff; }
.hx-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.hx-btn-ghost svg { transition: transform .2s ease; }
.hx-btn-ghost:hover svg { transform: translateX(-3px); }
.hero-x :focus-visible { outline: 2px solid #67c1ee; outline-offset: 3px; }
/* Subtle entrance: the copy rises 12px and fades in once; off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hx-copy > * { animation: hx-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hx-copy > :nth-child(2) { animation-delay: .06s; }
  .hx-copy > :nth-child(3) { animation-delay: .12s; }
  .hx-copy > :nth-child(4) { animation-delay: .18s; }
  @keyframes hx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
/* Video pause/play: bottom end corner (left in RTL), 44px touch target. */
.hx-controls { position: absolute; inset-inline-end: clamp(16px, 2.4vw, 28px); bottom: 22px; display: flex; }
.hx-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(0, 0, 0, .4); color: #fff; cursor: pointer; }
.hx-toggle[hidden] { display: none; }
.hx-toggle svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hx-toggle .hx-ic-play, .hx-toggle[data-state="paused"] .hx-ic-pause { display: none; }
.hx-toggle[data-state="paused"] .hx-ic-play { display: block; }
.hx-toggle:hover { background: rgba(0, 0, 0, .6); }
@media (max-width: 1023px) {
  .site-main > .hero-x { min-height: clamp(500px, 60vh, 640px); }
  .hx-inner { padding: 56px clamp(28px, 6vw, 56px) 88px; }
  .hx-copy { max-width: 600px; }
  /* Portrait crop: anchor on the gloved hand and spray bottle. */
  .hx-video { object-position: 36% 50%; }
  .hx-media { background-position: 36% 50%; }
  .hero-x::before { background: linear-gradient(to bottom, rgba(8, 36, 48, .68) 0%, rgba(8, 36, 48, .7) 60%, rgba(8, 36, 48, .76) 100%); }
}
@media (max-width: 599px) {
  .site-main > .hero-x { --hx-gutter: 8px; min-height: 0; border-radius: 0 0 18px 18px; }
  .hx-inner { padding: 40px 22px 84px; }
  .hx-label { gap: 10px; margin-bottom: 16px; font-size: 14px; }
  .hx-label::before { width: 20px; }
  .hero-x h1 { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.55; }
  .hx-lead { margin-top: 14px; font-size: 16px; line-height: 1.85; }
  .hx-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .hx-btn { min-height: 50px; }
  .hx-controls { bottom: 16px; inset-inline-end: 14px; }
}

/* ---------- Service cards (home + directory) ---------- */
.services-section { background: transparent; }
.service-grid, .home-service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 900px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card, .home-service-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover, .home-service-card:hover { border-color: #a9d2e1; box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3, .home-service-card h3 { margin: 6px 0 2px; }
.service-card p, .home-service-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-card-icon, .home-service-meta { display: flex; align-items: center; justify-content: space-between; color: var(--brand); }
.service-card-icon .icon, .home-service-meta svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--tint); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-service-meta span { order: 2; color: #8aa3ad; font-size: 13px; }
.service-card .stretched, .home-service-detail { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; min-height: 44px; font-weight: 700; text-decoration: none; }
.service-card .stretched::after, .home-service-detail::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.home-service-detail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-tags, .home-service-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.service-tags a, .home-service-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: 14px; text-decoration: none; }
.service-tags a:hover, .home-service-tags a:hover { background: #d3ebf3; }
.services-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--tint); }
.services-footer p { margin: 0; color: var(--ink); }

/* ---------- Why us ---------- */
.why-section .why-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.why-item { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-item .icon { width: 40px; height: 40px; padding: 9px; margin-bottom: 8px; border-radius: 50%; background: var(--brand); color: #fff; }
.why-item h3 { font-size: 19px; }
.why-item p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.gallery-item { position: relative; margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.gallery-item figcaption { position: absolute; inset-inline: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 14px; font-weight: 700; width: fit-content; }
@media (min-width: 900px) {
  .gallery-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; overflow: visible; }
  .gallery-item img { aspect-ratio: auto; height: 100%; }
}

/* ---------- Reviews carousel ---------- */
.reviews-section { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 96px) !important; }
/* Full-bleed very light gray band behind the section (the section itself stays in the content width). */
.reviews-section::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #f3f4f4; z-index: -1; }
.reviews-head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.reviews-head h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(32px, 5vw, 48px); line-height: 1.25; }
.reviews-disclosure { margin: 0; color: var(--muted); font-size: 15px; }

.reviews-carousel { position: relative; }
.reviews-viewport {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 14px; border-radius: 4px;
}
.reviews-viewport::-webkit-scrollbar { display: none; }
.reviews-viewport:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.reviews-track { display: flex; align-items: stretch; gap: 24px; width: max-content; }

.review-card {
  --card-w: 352px;
  flex: 0 0 var(--card-w); width: var(--card-w); display: flex; flex-direction: column;
  margin: 0; padding: 28px 28px 24px; border-radius: 14px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(18, 59, 74, .05);
}
.review-stars { display: flex; gap: 4px; color: var(--brand-logo); }
.review-stars .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.review-stars .icon.is-empty { color: #d6e6ec; }
.review-label { align-self: flex-start; margin: 16px 0 0; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: 13px; font-weight: 700; }
.review-text { flex: 1; margin: 12px 0 0; }
.review-text p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.9; }
.review-footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #dde3e5; }
.review-avatar { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-logo); color: #fff; font-family: Tahoma, "Segoe UI", Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1; object-fit: cover; }
.review-footer > div { min-width: 0; }
.review-author { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; }
.review-source { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.review-source a { color: var(--brand); }

.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.reviews-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cfdde2; border-radius: 50%; background: var(--surface); color: var(--brand); cursor: pointer; transition: border-color .15s, background-color .15s; }
.reviews-btn:hover { border-color: var(--brand); background: var(--tint); }
.reviews-btn .icon { width: 20px; height: 20px; }
/* RTL: "previous" points right (toward the start), "next" points left. The base chevron points left. */
.reviews-prev .icon { transform: scaleX(-1); }
.icon-pause, .icon-play { display: block; width: 14px; height: 14px; }
.icon-pause { border-inline: 4px solid currentColor; width: 12px; }
.icon-play { display: none; width: 0; height: 0; border-block: 7px solid transparent; border-left: 12px solid currentColor; margin-left: 3px; }
.reviews-toggle.is-paused .icon-pause { display: none; }
.reviews-toggle.is-paused .icon-play { display: block; }
.reviews-all { margin: 18px 0 0; text-align: center; }
.reviews-all .text-link .icon { width: 18px; }

@media (min-width: 900px) {
  /* Soft fade at both edges so cards glide in and out. */
  .reviews-viewport { -webkit-mask-image: linear-gradient(to left, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to left, transparent, #000 4%, #000 96%, transparent); }
}
@media (max-width: 899px) { .review-card { --card-w: min(46vw, 340px); } }
@media (max-width: 600px) {
  /* Mobile: one card plus a visible slice of the next one; swipe replaces the arrows. */
  .review-card { --card-w: 80vw; padding: 22px 20px 20px; }
  .reviews-track { gap: 14px; }
  .reviews-prev, .reviews-next { display: none; }
  .review-text p { font-size: 16px; }
}

/* ---------- Steps ---------- */
/* ---------- Home order process (#how), matched to the "Order Process" reference: white, centered head, 3 open columns ---------- */
.site-main > .order-process { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), 1180px); padding-block: 88px 96px; }
.order-process::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -1; }
.op-eyebrow { margin: 0 0 6px; text-align: center; color: #2481a2; font-size: 16px; font-weight: 400; line-height: 1.5; }
.order-process > h2 { margin: 0 0 72px; text-align: center; color: #1c2629; font-size: 42px; font-weight: 700; line-height: 1.3; }
.op-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 88px; margin: 0; padding: 0; list-style: none; }
.op-step { min-width: 0; }
.op-head { display: flex; align-items: center; gap: 30px; margin-bottom: 44px; }
.op-num { flex: none; color: #2481a2; font-size: 52px; font-weight: 400; -webkit-text-stroke: 1.5px currentColor; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.op-line { flex: 1; height: 1px; margin-inline-end: 24px; background: #e2e6e8; }
.op-step h3 { margin: 0 0 14px; color: #1c2629; font-size: 22px; font-weight: 700; line-height: 1.4; }
.op-step p { margin: 0; color: #6b7376; font-size: 16px; line-height: 1.8; }
@media (max-width: 1023px) {
  .op-steps { gap: 0 40px; }
  .op-head { gap: 20px; margin-bottom: 30px; }
  .op-num { font-size: 44px; }
  .op-step h3 { font-size: 20px; }
}
@media (max-width: 899px) {
  .site-main > .order-process { padding-block: 64px 72px; }
  .order-process > h2 { font-size: 34px; margin-bottom: 44px; }
  .op-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 600px; margin-inline: auto; }
  .op-head { margin-bottom: 18px; }
  .op-line { flex: 0 1 140px; margin-inline-end: 0; }
}
@media (max-width: 599px) {
  .site-main > .order-process { padding-block: 56px 60px; }
  .op-eyebrow { font-size: 15px; }
  .order-process > h2 { font-size: 28px; margin-bottom: 36px; }
  .op-steps { gap: 34px; }
  .op-head { gap: 16px; margin-bottom: 14px; }
  .op-num { font-size: 40px; -webkit-text-stroke-width: 1.2px; }
  .op-line { flex-basis: 96px; }
  .op-step h3 { margin-bottom: 8px; font-size: 20px; }
  .op-step p { font-size: 16px; line-height: 1.75; }
}

/* ---------- FAQ (home + FAQ page) ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details, .faq-body details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq-list summary, .faq-body summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker, .faq-body summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-body summary::after { content: '+'; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after, .faq-body details[open] summary::after { content: '−'; }
.faq-list details > :not(summary), .faq-body details > :not(summary) { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.faq-more { margin-top: 16px; }

/* ---------- Booking ([tamam_booking]): compact centred form on white ---------- */
.site-main > .booking-section { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), 880px); padding-block: 88px 96px; scroll-margin-top: calc(var(--header-h) + 8px); }
.booking-section::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -1; }
/* When the form ends the page, the white runs on through the footer's top margin so no tinted strip shows. */
.site-main > .booking-section:last-child::before { bottom: calc(-1 * clamp(32px, 5vw, 64px)); }
.bk-head { margin: 0 auto 32px; text-align: center; }
.bk-head h2 { margin: 0 0 10px; color: #1c2629; font-size: 40px; font-weight: 700; line-height: 1.3; }
.bk-head h2::after { content: ''; display: block; width: 48px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: #67c1ee; }
.bk-head p { max-width: 52ch; margin: 0 auto; color: #5b6669; font-size: 18px; line-height: 1.8; }
.bk-form { padding: 32px 40px 30px; border: 1px solid #dde5e8; border-radius: 14px; background: #fff; box-shadow: 0 6px 28px rgba(28, 38, 41, .05); }
.bk-required-note { margin: 0 0 18px; color: #66737a; font-size: 14px; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.bk-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.bk-field--wide { grid-column: 1 / -1; }
.bk-field label { color: #1c2629; font-size: 15px; font-weight: 700; }
.bk-req { color: #b3261e; }
.bk-field input, .bk-field select, .bk-field textarea {
  width: 100%; min-height: 52px; padding: 11px 16px; border: 1px solid #c9d5da; border-radius: 8px; background: #fff;
  color: #1c2629; font: inherit; font-size: 16px; line-height: 1.5; color-scheme: light; transition: border-color .15s, box-shadow .15s;
}
.bk-field select { appearance: none; padding-inline-end: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232481a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 18px; }
.bk-field textarea { min-height: 104px; resize: vertical; }
.bk-field input::placeholder, .bk-field textarea::placeholder { color: #6b777d; opacity: 1; }
.bk-field input:hover, .bk-field select:hover, .bk-field textarea:hover { border-color: #9fb6bf; }
.bk-field input:focus-visible, .bk-field select:focus-visible, .bk-field textarea:focus-visible { outline: none; border-color: #2481a2; box-shadow: 0 0 0 3px rgba(103, 193, 238, .4); }
.bk-field [aria-invalid="true"] { border-color: #b3261e; background-color: #fffafa; }
.bk-field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
.bk-error { display: flex; align-items: center; gap: 6px; margin: 0; color: #b3261e; font-size: 14px; font-weight: 700; line-height: 1.5; }
.bk-error[hidden] { display: none; }
.bk-error svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Optional date/details: native disclosure (keyboard + expanded state built in). */
.bk-optional { margin-top: 22px; border: 1px solid #dde5e8; border-radius: 10px; background: #fafcfd; }
.bk-optional summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 16px; border-radius: 10px; color: #1d6f8c; font-weight: 700; cursor: pointer; list-style: none; }
.bk-optional summary::-webkit-details-marker { display: none; }
.bk-optional-hint { color: #66737a; font-size: 14px; font-weight: 400; }
.bk-chevron { width: 20px; height: 20px; margin-inline-start: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.bk-optional[open] .bk-chevron { transform: rotate(180deg); }
.bk-optional summary:hover .bk-optional-label { text-decoration: underline; text-underline-offset: 5px; }
.bk-optional summary:focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; }
.bk-optional-body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 20px; padding: 4px 16px 18px; }
.bk-actions { display: grid; justify-items: center; gap: 8px; margin-top: 26px; text-align: center; }
.bk-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 24px; border: 0; border-radius: 8px; background: #2481a2; color: #fff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; transition: background-color .15s; }
.bk-submit .icon { width: 20px; height: 20px; }
.bk-submit:hover { background: #1d6f8c; }
.bk-submit:active { transform: translateY(1px); }
.bk-submit:focus-visible { outline: 2px solid #2481a2; outline-offset: 3px; }
.bk-note { margin: 2px 0 0; color: #5b6669; font-size: 15px; }
.booking-section .booking-status { margin: 0; color: #1d6f8c; font-size: 15px; font-weight: 700; }
.booking-section .booking-status:empty { display: none; }
.bk-call { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #1d6f8c; font-size: 15px; text-decoration: none; }
.bk-call bdi { font-weight: 700; font-variant-numeric: tabular-nums; }
.bk-call:hover { text-decoration: underline; text-underline-offset: 4px; }
.bk-call:focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; border-radius: 4px; }
/* Error summary after a failed submit (focused, announced, links to each field). */
.bk-summary { margin: 0 0 22px; padding: 16px 18px; border: 1px solid #e8b4b0; border-inline-start: 4px solid #b3261e; border-radius: 8px; background: #fdf3f2; }
.bk-summary[hidden] { display: none; }
.bk-summary:focus-visible { outline: 2px solid #b3261e; outline-offset: 3px; }
.bk-summary h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #8c1d18; font-size: 16px; font-weight: 700; line-height: 1.5; }
.bk-summary h3 svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bk-summary ul { margin: 0; padding-inline-start: 26px; }
.bk-summary li { margin: 2px 0; }
.bk-summary a { display: inline-block; padding: 4px 0; color: #8c1d18; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.bk-summary a:focus-visible { outline: 2px solid #b3261e; outline-offset: 2px; border-radius: 3px; }
/* Success note uses an icon as well as colour. */
.booking-section .booking-status[data-state="ok"] { display: inline-flex; align-items: center; gap: 8px; color: #1f6b3a; }
.booking-section .booking-status[data-state="ok"]::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #1f6b3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* Keep focused controls clear of the sticky header and the fixed mobile action bar. */
.booking-section :is(input, select, textarea, button, summary, a, .bk-summary) { scroll-margin-block: calc(var(--header-h) + 16px) 24px; }
@media (max-width: 900px) { .booking-section :is(input, select, textarea, button, summary, a, .bk-summary) { scroll-margin-block-end: calc(16px + env(safe-area-inset-bottom)); } }
.bk-field :is(input, select, textarea), .bk-submit, .bk-optional summary { touch-action: manipulation; }
@media (max-width: 599px) {
  .site-main > .booking-section { padding-block: 56px 64px; }
  .bk-head { margin-bottom: 24px; }
  .bk-head h2 { font-size: 30px; }
  .bk-head p { font-size: 17px; }
  .bk-form { padding: 22px 18px 20px; }
  .bk-grid, .bk-optional-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bk-optional { margin-top: 18px; }
  .bk-actions { margin-top: 22px; }
}

/* ---------- Inner page heads ---------- */
.page-hero { padding-bottom: clamp(24px, 4vw, 40px) !important; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 60ch; }
.page-hero + section, .page-hero + .contact-grid { padding-top: 0 !important; }
.page-title { width: min(100% - 2 * var(--gutter), var(--container)); margin: 24px auto 0; }

/* ---------- Service detail pages ---------- */
.service-hero { display: grid; gap: 28px; align-items: center; padding-top: clamp(20px, 4vw, 40px) !important; }
.service-hero h1 em { font-style: normal; color: var(--brand); }
.service-hero > div > p, .service-hero-copy > p { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 52ch; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.service-hero-media { margin: 0; }
.service-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 24px 24px 24px 72px; background: var(--tint); }
.service-hero-panel { display: grid; place-items: center; min-height: 220px; padding: 28px; border-radius: 24px 24px 24px 72px; background: linear-gradient(140deg, var(--brand-deep), var(--brand)); color: #fff; text-align: center; }
.service-hero-panel img { width: 120px; border-radius: 22px; margin-inline: auto; }
.service-hero-panel p { margin: 12px 0 0; color: #d9eef7; font-size: 15px; }
@media (min-width: 900px) { .service-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
@media (max-width: 899px) { .service-hero-panel { display: none; } .service-hero-media img { aspect-ratio: 16 / 10; border-radius: 20px 20px 20px 56px; } }
.detail-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); padding-top: 0 !important; }
.detail-grid article { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.detail-grid h2 { font-size: clamp(21px, 2.6vw, 26px); }
.detail-grid ul { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.detail-grid li { display: flex; gap: 10px; align-items: baseline; }
.detail-grid li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); transform: translateY(-2px); }
.detail-grid p { color: var(--muted); }
.related { padding-top: 0 !important; }
.related h2 { font-size: clamp(21px, 2.6vw, 26px); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand-deep); text-decoration: none; font-weight: 700; font-size: 15px; }
.related-links a:hover { border-color: var(--brand); }
.related-links a:last-child { background: var(--tint); }

/* ---------- Services directory ---------- */
.directory .home-service-intro { margin-bottom: 20px; }
.directory .home-service-intro p { color: var(--muted); max-width: 60ch; font-size: 18px; }
.tc-directory-nav { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 10px var(--gutter); overflow-x: auto; background: var(--tint-2); scrollbar-width: none; }
.tc-directory-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; }
.tc-directory-nav a:hover { border-color: var(--brand); color: var(--brand); }
.tc-directory-group { padding-top: 24px; scroll-margin-top: calc(var(--header-h) + 64px); }
.tc-directory-group h2 { font-size: clamp(22px, 3vw, 28px); }
.home-service-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-weight: 700; text-decoration: none; }
.home-service-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- About ---------- */
.about-intro { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-intro figure { margin: 0; }
.about-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 24px 24px 24px 72px; }
.about-intro p { color: var(--muted); }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1fr 1fr; } }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(22px, 4vw, 36px) !important; margin-block: 0 clamp(48px, 7vw, 88px); border-radius: 24px; background: var(--tint); }
.cta-band h2 { margin: 0 0 4px; font-size: clamp(22px, 3vw, 28px); }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding-top: 0 !important; }
.contact-card { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.contact-card:hover { border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow); }
.contact-card .icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--tint); color: var(--brand); }
.contact-card.is-whatsapp .icon { background: var(--tint); color: var(--wa); }
.contact-card strong { display: block; font-size: 18px; }
.contact-card small { color: var(--muted); font-size: 15px; }
.contact-card.is-static:hover { border-color: var(--line); box-shadow: none; }

/* ---------- Legal / generic content ---------- */
.legal, .prose { max-width: 760px !important; }
.legal p, .prose p { color: var(--muted); }

/* ---------- Footer (white, four columns, RTL) ---------- */
.site-footer { margin-top: clamp(32px, 5vw, 64px); background: #fff; color: var(--ink); border-top: 1px solid #e3e9eb; font-size: 15px; }
.site-footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 32px;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: clamp(44px, 6vw, 72px) clamp(32px, 4vw, 48px);
}
.footer-logo { display: inline-block; border-radius: 8px; }
.footer-logo img { display: block; width: 156px; height: auto; aspect-ratio: 378 / 177; }
.footer-about { margin: 18px 0 0; max-width: 36ch; color: #44616b; font-size: 16px; line-height: 1.85; }
.footer-location { display: flex; align-items: center; gap: 8px; margin: 0; color: #44616b; font-size: 15px; }
.footer-location .icon { color: var(--brand-logo); }
.footer-col h2 { margin: 0 0 14px; color: var(--brand-logo); font-size: 19px; font-weight: 700; line-height: 1.4; }
.footer-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-col a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding-block: 4px;
  color: #34525d; text-decoration: none; border-radius: 6px; transition: color .15s;
}
.footer-col .footer-place { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding-block: 4px; color: #34525d; }
.footer-col a:hover { color: var(--brand-logo); text-decoration: underline; text-underline-offset: 5px; }
.site-footer a:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.footer-contact-col .icon {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  background: rgba(103, 193, 238, .16); color: var(--brand-logo);
}
.footer-contact-col bdi { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.site-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: 20px 28px;
  border-top: 1px solid #e3e9eb; font-size: 14px;
}
.footer-copy { margin: 0; color: #44616b; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal a:hover { color: var(--brand-logo); }

@media (min-width: 600px) and (max-width: 899px) {
  /* Tablet: two balanced columns (brand + quick links, then services + contact). */
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (max-width: 599px) {
  /* Mobile: brand first, the two link groups side by side, contact on its own row. */
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-brand, .footer-contact-col { grid-column: 1 / -1; }
  .footer-col h2 { font-size: 18px; margin-bottom: 8px; }
  .footer-col a { font-size: 15px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (min-width: 900px) {
  .site-footer-inner { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
}

/* ---------- Mobile quick actions ---------- */
.mobile-actions { display: none; }
@media (max-width: 900px) {
  .mobile-actions {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15, 76, 99, .08);
  }
  .mobile-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; }
  .mobile-call { background: var(--tint); color: var(--brand-deep); }
  .mobile-book { background: var(--wa); color: #fff; }
  .mobile-book:hover { color: #fff; }
  /* body padding for the fixed bar removed 2026-11-24 (bar no longer rendered) */
}

/* ---------- Section surfaces ---------- */
.surface-band { position: relative; }
.surface-band::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: var(--surface); border-block: 1px solid var(--line); z-index: -1; }
.site-main { position: relative; z-index: 0; overflow-x: clip; }

/* ---------- Home services (matched to reference at 1280px: 1180 container, 3 cols, 30px gaps) ---------- */
.site-main > .home-services { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), 1180px); padding-block: 72px 80px; }
.home-services::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -1; }
.hs-eyebrow { margin: 0 0 6px; text-align: center; color: #2481a2; font-size: 18px; font-weight: 400; line-height: 1.5; }
.home-services > h2 { margin: 0 0 52px; text-align: center; color: #1c2629; font-size: 44px; font-weight: 700; line-height: 1.3; }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.hs-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 21px; border: 0; border-radius: 0; background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .055);
  transition: box-shadow .2s ease;
}
.hs-card:hover { box-shadow: 0 8px 34px rgba(0, 0, 0, .09); }
.hs-top { display: flex; align-items: flex-start; justify-content: space-between; height: 36px; margin-bottom: 38px; }
.hs-icon { width: 36px; height: 36px; fill: none; stroke: #2481a2; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.hs-icon .hs-acc { stroke: #67c1ee; stroke-width: 1; }
.hs-icon .hs-dot { fill: #67c1ee; stroke: none; }
.hs-num { margin-top: 2px; color: #2481a2; font-size: 18px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
/* Lama ships only 400 and 700; a hairline stroke on the regular weight gives a semibold density. */
.hs-card h3 { margin: 0 0 8px; color: #1c2629; font-size: 26px; font-weight: 400; -webkit-text-stroke: .65px currentColor; line-height: 1.35; }
.hs-card p { flex: 1; margin: 0; color: #6b7376; font-size: 15px; line-height: 1.7; }
.hs-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; margin-top: 8px; color: #2481a2; font-size: 16px; text-decoration: none; }
.hs-link:hover { text-decoration: underline; text-underline-offset: 5px; }
/* The whole card is the touch and click target through the details link; focus is drawn on the card. */
.hs-link::after { content: ''; position: absolute; inset: 0; }
.hs-link:focus-visible { outline: none; }
.hs-card:has(.hs-link:focus-visible) { outline: 2px solid #2481a2; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(103, 193, 238, .35); }
.hs-all { margin: 44px 0 0; text-align: center; }
.hs-all a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 26px; border: 1px solid #2481a2; border-radius: 0; color: #2481a2; font-size: 16px; text-decoration: none; transition: background-color .15s, color .15s; }
.hs-all a:hover { background: #2481a2; color: #fff; }
.hs-all a:focus-visible { outline: 2px solid #2481a2; outline-offset: 3px; }
@media (max-width: 1023px) {
  .home-services > h2 { font-size: 38px; margin-bottom: 40px; }
  .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 599px) {
  .site-main > .home-services { padding-block: 56px 60px; }
  .hs-eyebrow { font-size: 16px; }
  .home-services > h2 { font-size: 32px; margin-bottom: 30px; }
  .hs-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hs-top { margin-bottom: 28px; }
  .hs-card h3 { font-size: 23px; }
  .hs-all a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hs-card { transition: none; } }

/* ---------- Home about (after the hero): text right, team photo left ---------- */
.site-main > .home-about { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px 72px; align-items: center; width: min(100% - 2 * var(--gutter), 1180px); padding-block: 96px 40px; }
.home-about::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -2; }
.ha-text { max-width: 600px; }
.ha-eyebrow { margin: 0 0 6px; color: #2481a2; font-size: 18px; line-height: 1.5; }
.home-about h2 { margin: 0 0 22px; color: #1c2629; font-size: 44px; font-weight: 700; line-height: 1.3; }
.home-about h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 16px; border-radius: 3px; background: #67c1ee; }
.ha-text p:not(.ha-eyebrow) { margin: 0 0 14px; color: #5b6669; font-size: 17px; line-height: 1.9; }
.ha-text p.ha-lead { color: #1c2629; font-size: 19px; }
.ha-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; margin-top: 14px; padding: 8px 26px; border: 1px solid #2481a2; border-radius: 999px; color: #2481a2; font-size: 17px; font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s; }
.ha-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ha-cta:hover { background: #2481a2; color: #fff; }
.ha-cta:focus-visible { outline: 2px solid #2481a2; outline-offset: 3px; }
/* Two photos: the team group photo leads; the single technician photo supports it from the outer (left) side,
   overlapping only the equipment strip at the bottom edge so no team member is covered. Natural 3:2 proportions. */
.ha-media { position: relative; display: grid; margin: 0; }
.ha-media img { display: block; width: 100%; height: auto; aspect-ratio: 889 / 591; object-fit: cover; border-radius: var(--r-media, 12px); background: #e8f4f8; }
.ha-main { margin: 0; }
.ha-support { position: relative; width: 52%; margin: -36px 0 0; margin-inline-start: auto; padding: 6px; border-radius: calc(var(--r-media, 12px) + 6px); background: #fff; box-shadow: 0 14px 30px rgba(15, 76, 99, .14); }
.ha-support img { border-radius: var(--r-media, 12px); }
@media (max-width: 1023px) {
  .site-main > .home-about { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 72px 32px; }
  .ha-text { max-width: 680px; }
  .ha-media { width: 100%; max-width: 640px; margin-inline: auto; }
  .home-about h2 { font-size: 38px; }
}
@media (max-width: 759px) {
  .site-main > .home-about { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 56px 24px; }
  .home-about h2 { font-size: 32px; margin-bottom: 18px; }
  .ha-text p.ha-lead { font-size: 18px; }
  .ha-media { gap: 12px; max-width: none; }
  .ha-support { width: 100%; margin: 0; padding: 0; background: none; box-shadow: none; }
}

/* ---------- Home FAQ: accessible accordion (native details/summary), thin separators ---------- */
.site-main > .home-faq { width: min(100% - 2 * var(--gutter), 900px); padding-block: 88px 96px; }
.hf-eyebrow { margin: 0 0 6px; text-align: center; color: #2481a2; font-size: 18px; line-height: 1.5; }
.home-faq > h2 { margin: 0 0 44px; text-align: center; color: #1c2629; font-size: 42px; font-weight: 700; line-height: 1.3; }
.hf-list { border-top: 1px solid #d9e1e4; }
.hf-item { border-bottom: 1px solid #d9e1e4; }
.hf-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 4px; color: #1c2629; font-size: 19px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; transition: color .15s; }
.hf-item summary::-webkit-details-marker { display: none; }
.hf-item summary:hover { color: #2481a2; }
.hf-item summary:focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; border-radius: 6px; }
/* Plus that turns into a minus, inside a thin ring. */
.hf-icon { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid #cfe3ea; border-radius: 50%; background: #fff; transition: background-color .2s, border-color .2s; }
.hf-icon::before, .hf-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #2481a2; transition: transform .2s ease, opacity .2s ease; }
.hf-icon::after { transform: rotate(90deg); }
.hf-item[open] .hf-icon { border-color: #67c1ee; background: #eaf6fc; }
.hf-item[open] .hf-icon::after { transform: rotate(90deg) scaleX(0); opacity: 0; }
.hf-item-a { padding: 0 4px 24px 56px; }
.hf-item-a p { max-width: 68ch; margin: 0; color: #5b6669; font-size: 17px; line-height: 1.9; }
.hf-item-a a { color: #2481a2; font-weight: 700; text-underline-offset: 4px; }
.hf-item-a a:focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; border-radius: 3px; }
.hf-more { margin: 32px 0 0; text-align: center; }
.hf-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #2481a2; font-size: 17px; font-weight: 700; text-decoration: none; }
.hf-more a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hf-more a:focus-visible { outline: 2px solid #2481a2; outline-offset: 3px; border-radius: 4px; }
.hf-more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) {
  .site-main > .home-faq { padding-block: 60px 68px; }
  .hf-eyebrow { font-size: 16px; }
  .home-faq > h2 { font-size: 32px; margin-bottom: 30px; }
  .hf-item summary { min-height: 64px; padding-block: 16px; font-size: 17px; }
  .hf-icon { width: 34px; height: 34px; }
  .hf-item-a { padding: 0 2px 20px 0; }
  .hf-item-a p { font-size: 16px; }
}

/* =====================================================================
   Consistency pass (2026-11-20): one spacing, heading, radius and
   background system for the homepage sections and shared components.
   Exceptions kept on purpose: service cards stay square and the hero keeps
   its rounded lower corners (both from the approved reference designs).
   ===================================================================== */
:root {
  --sec-y: 88px;          /* vertical section padding */
  --h2: 42px;             /* section heading size */
  --eyebrow: 17px;        /* small label above section headings */
  --r-card: 10px;         /* cards and form panels */
  --r-media: 12px;        /* standalone photos */
  --band: #f4f9fb;        /* the single tinted section background */
}
@media (max-width: 1023px) { :root { --sec-y: 72px; --h2: 36px; } }
@media (max-width: 599px)  { :root { --sec-y: 52px; --h2: 30px; --eyebrow: 16px; } }

/* Section rhythm: white and tinted bands alternate, all with the same padding. */
.site-main > .home-about { padding-block: var(--sec-y) 0; }
.site-main > .home-services, .site-main > .order-process, .site-main > .home-faq, .site-main > .booking-section { padding-block: var(--sec-y); }
.site-main > .reviews-section { padding-block: var(--sec-y) !important; }
.reviews-section::before { background: var(--band); }
.review-card { border: 1px solid #e3ecef; border-radius: var(--r-card); box-shadow: none; }

/* One heading scale and one eyebrow size. */
.home-about h2, .home-services > h2, .reviews-head h2, .order-process > h2, .home-faq > h2, .bk-head h2 { font-size: var(--h2); line-height: 1.3; }
.ha-eyebrow, .hs-eyebrow, .op-eyebrow, .hf-eyebrow { font-size: var(--eyebrow); }

/* Radii: cards/panels share one value, photos another. */
.bk-form { border-radius: var(--r-card); }
.bk-optional, .bk-optional summary { border-radius: 8px; }

/* Booking → footer: no double gap when the form ends the page. */
.site-main > .booking-section:last-child::before { bottom: 0; }
body:has(.site-main > .booking-section:last-child) .site-footer { margin-top: 0; }

/* Small controls: at least 24px tall targets with a visible keyboard focus ring. */
.review-source a { display: inline-flex; align-items: center; min-height: 32px; padding-block: 4px; text-underline-offset: 3px; }
.review-label { font-size: 14px; padding: 3px 10px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 2px; }
:where(.review-source a, .breadcrumbs a, .reviews-all a, .footer-col a, .footer-legal a, .site-footer a):focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; border-radius: 4px; }
:where(a, button, summary, select, input, textarea):focus-visible { outline: 2px solid #2481a2; outline-offset: 2px; }


/* Mobile: shorter homepage. Compact single-column service cards (two columns
   start at 600px where titles fit on one line), a shorter About photo. */
@media (max-width: 599px) {
  .hs-grid { gap: 12px; }
  .hs-card { padding: 18px 18px 14px; }
  .hs-top { height: 30px; margin-bottom: 10px; }
  .hs-icon { width: 30px; height: 30px; }
  .hs-num { font-size: 16px; }
  .hs-card h3 { margin-bottom: 4px; font-size: 21px; }
  .hs-card p { font-size: 15.5px; line-height: 1.75; }
  .hs-link { min-height: 32px; margin-top: 4px; }
  .hs-all { margin-top: 28px; }
  .site-main > .home-about { gap: 24px; }
  .ha-cta { margin-top: 6px; }
  .op-steps { gap: 26px; }
  .reviews-head { margin-bottom: 22px; }
}

/* ---------- Team photos from the media library (2026-11-20) ----------
   Landscape work photos keep their natural proportions (no forced 4:3 crop), so the workers and
   machines at the frame edges stay visible. width/height attributes reserve the space. */
.service-hero-media img.tc-photo, .about-intro img.tc-photo { aspect-ratio: auto; height: auto; object-fit: initial; }
/* AC cleaning photo (portrait): keep the AC unit and the back logo inside the 4:3 / 16:10 crop. */
.service-hero-media img.tc-ac { object-position: 50% 33%; }
/* Apartment cleaning photo: keep the extraction wand and its nozzle on the carpet in the crop. */
.service-hero-media img.tc-apt { object-position: 34% 78%; }
/* Home service cards: the photo bleeds to the card edges above the title. */
.hs-photo { margin: -21px -21px 18px; }
.hs-photo img { display: block; width: 100%; height: auto; background: #e8f4f8; }
.hs-card:has(.hs-photo) .hs-top { margin-bottom: 14px; }
@media (max-width: 599px) { .hs-photo { margin: -18px -18px 14px; } .hs-card:has(.hs-photo) .hs-top { margin-bottom: 8px; } }
/* Sofa page: two supporting work photos under the service details. */
.service-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 0 !important; }
.service-photos figure { margin: 0; }
.service-photos img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--tint); }
.service-photos figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 599px) { .service-photos { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- About page: work photo slider (2026-11-20) ----------
   Native horizontal scroll-snap track (touch swipe, trackpad and keyboard work as usual); arrows,
   a counter and a pausable auto-advance come from app.js. One photo per view, 16:9. */
.work-slider { position: relative; }
.ws-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; max-width: 960px; margin-inline: auto; border-radius: var(--radius); }
.ws-viewport::-webkit-scrollbar { display: none; }
.ws-viewport:focus-visible { outline: 2px solid #2481a2; outline-offset: 4px; }
.ws-track { display: flex; margin: 0; padding: 0; list-style: none; }
.ws-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.ws-slide figure { position: relative; margin: 0; }
.ws-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.ws-slide figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 15px; font-weight: 700; }
.ws-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.ws-btn, .ws-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cfdde2; border-radius: 50%; background: var(--surface); color: var(--brand); cursor: pointer; transition: border-color .15s, background-color .15s; }
.ws-btn:hover, .ws-toggle:hover { border-color: var(--brand); background: var(--tint); }
.ws-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-prev svg { transform: scaleX(-1); }   /* RTL: previous points right, next points left */
.ws-toggle[hidden] { display: none; }
.ws-toggle svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ws-toggle .ws-ic-play, .ws-toggle[data-state="paused"] .ws-ic-pause { display: none; }
.ws-toggle[data-state="paused"] .ws-ic-play { display: block; }
.ws-count { min-width: 64px; color: var(--muted); font-size: 16px; text-align: center; font-variant-numeric: tabular-nums; direction: ltr; }
@media (max-width: 599px) { .ws-slide figcaption { inset-inline-start: 10px; bottom: 10px; padding: 4px 12px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .ws-viewport { scroll-behavior: auto; } }

/* ---------- Homepage booking, split layout (2026-11-20) ----------
   Dark teal card: introduction on the right (RTL), white form panel on the left. Brand teal / light blue
   replace the reference's greens. Scoped to .bk-split; the standard booking form on other pages is unchanged. */
.site-main > .booking-section.bk-split { width: min(100% - 2 * var(--gutter), 1180px); }
.bks-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; padding: 56px; border-radius: 24px; background: linear-gradient(150deg, #10536b 0%, #0f4c63 55%, #0c4155 100%); color: #fff; }
/* One quiet decorative shape behind the introduction's lower corner. */
.bks-card::before { content: ''; position: absolute; inset-inline-start: -110px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; background: rgba(103, 193, 238, .12); z-index: -1; }
.bks-intro h2 { margin: 0 0 14px; color: #fff; font-size: var(--h2, 42px); font-weight: 700; line-height: 1.3; }
.bks-intro h2::after { content: ''; display: block; width: 48px; height: 3px; margin-top: 16px; border-radius: 3px; background: #67c1ee; }
.bks-intro > p { max-width: 40ch; margin: 0 0 26px; color: #d3e8f0; font-size: 18px; line-height: 1.85; }
.bks-contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bks-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }
.bks-contact a:hover { color: #bfe6f8; }
.bks-contact a:focus-visible { outline: 2px solid #67c1ee; outline-offset: 3px; border-radius: 6px; }
.bks-contact bdi { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bks-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #8fd3f3; }
.bks-ic .icon { width: 20px; height: 20px; }
/* White form panel */
.bk-split .bks-form { padding: 30px 32px 26px; border: 0; border-radius: 18px; background: #fff; color: #1c2629; box-shadow: 0 18px 40px rgba(4, 30, 40, .22); }
.bk-split .bk-required-note { margin-bottom: 16px; font-size: 13.5px; }
.bks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.bk-split .bk-field { gap: 7px; }
.bk-split .bk-field label { font-size: 14.5px; }
.bks-opt { color: #66737a; font-size: 13px; font-weight: 400; }
.bk-split .bk-field :is(input, select, textarea) { min-height: 52px; border: 1px solid #e1e8eb; border-radius: 10px; background-color: #f5f8f9; font-size: 16px; }
.bk-split .bk-field textarea { min-height: 52px; height: 52px; padding-block: 13px; line-height: 1.6; resize: vertical; }
.bk-split .bk-field :is(input, select, textarea):hover { border-color: #b9cbd2; }
.bk-split .bk-field :is(input, select, textarea):focus-visible { background-color: #fff; border-color: #2481a2; box-shadow: 0 0 0 3px rgba(103, 193, 238, .4); }
.bk-split .bk-field [aria-invalid="true"] { border-color: #b3261e; background-color: #fffafa; }
.bk-split #bk-phone { text-align: left; }
.bk-split #bk-phone::placeholder { text-align: left; }
.bks-actions { display: grid; justify-items: center; gap: 8px; margin-top: 22px; text-align: center; }
.bk-split .bks-submit { min-height: 56px; border-radius: 12px; background: #0f4c63; font-size: 18px; }
.bk-split .bks-submit:hover { background: #2481a2; }
.bk-split .bk-note { margin: 2px 0 0; color: #5b6669; font-size: 14.5px; line-height: 1.7; }
@media (max-width: 1023px) {
  .bks-card { gap: 36px; padding: 44px 36px; }
}
@media (max-width: 899px) {
  .bks-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 28px; border-radius: 20px; }
  .bks-intro > p { margin-bottom: 18px; }
  .bks-contact { grid-auto-flow: column; justify-content: start; gap: 8px 24px; }
}
@media (max-width: 599px) {
  .site-main > .booking-section.bk-split { width: min(100% - 16px, 1180px); }
  .bks-card { gap: 22px; padding: 28px 18px 18px; border-radius: 18px; }
  .bks-card::before { width: 260px; height: 260px; bottom: -120px; inset-inline-start: -90px; }
  .bks-intro h2 { font-size: 28px; margin-bottom: 10px; }
  .bks-intro h2::after { margin-top: 12px; }
  .bks-intro > p { font-size: 16.5px; line-height: 1.8; }
  .bks-contact { grid-auto-flow: row; gap: 4px; }
  .bks-contact a { font-size: 16px; }
  .bk-split .bks-form { padding: 22px 16px 18px; border-radius: 14px; }
  .bks-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- IBM Plex Sans Arabic (hero only), self-hosted, SIL OFL 1.1 ---------- */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-600-normal.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; }

/* ---------- Homepage closing CTA banner (2026-11-20) ---------- */
.site-main > .cta-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; width: 100%; max-width: none; min-height: 340px; margin: 0; padding: 36px var(--gutter); scroll-margin-top: var(--header-h); color: #fff; text-align: center; background: #0f4c63; }
.site-main > .cta-banner { background-color: #0f4c63; background-image: url('../img/cta-wood-table-1680.webp'); background-repeat: no-repeat; background-size: cover; background-position: 50% 38%; }
.cta-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(8, 36, 48, .78) 0%, rgba(8, 36, 48, .7) 60%, rgba(8, 36, 48, .6) 100%); }
.cta-inner { max-width: 760px; }
.cta-label { margin: 0 0 6px; color: #c4e8f9; font-size: 17px; font-weight: 700; line-height: 1.6; }
.cta-banner h2 { margin: 0; color: #fff; font-size: clamp(32px, 2.8vw, 40px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.cta-text { max-width: 66ch; margin: 10px auto 0; color: #e4eff3; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; margin-top: 20px; padding: 10px 28px; border-radius: 999px; background: #fff; color: #1d6f8c; font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: background-color .2s ease, color .2s ease; }
.cta-btn svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.cta-btn:hover { background: #e8f4f8; color: #0f4c63; }
.cta-btn:hover svg { transform: translateX(-3px); }
.cta-btn:focus-visible { outline: 3px solid #67c1ee; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .cta-btn, .cta-btn svg { transition: none; } .cta-btn:hover svg { transform: none; } }
body:has(.site-main > .cta-banner:last-child) .site-footer { margin-top: 0; border-top: 0; }
@media (max-width: 599px) {
  .site-main > .cta-banner { min-height: 0; padding: 32px 20px; }
  .site-main > .cta-banner { background-image: image-set(url('../img/cta-wood-table-960.webp') 1x, url('../img/cta-wood-table-1680.webp') 2x); background-position: 84% 50%; }
  .cta-banner::before { background: rgba(8, 36, 48, .68); }
  .cta-label { margin-bottom: 4px; font-size: 15px; }
  .cta-banner h2 { font-size: 25px; line-height: 1.4; }
  .cta-text { margin-top: 8px; font-size: 15.5px; line-height: 1.8; }
  .cta-btn { min-height: 48px; margin-top: 18px; padding-inline: 24px; font-size: 16px; }
}
@media (min-width: 600px) and (max-width: 1023px) { .site-main > .cta-banner { min-height: 0; padding-block: 40px; padding-inline: clamp(40px, 8vw, 72px); background-image: image-set(url('../img/cta-wood-table-960.webp') 1x, url('../img/cta-wood-table-1680.webp') 2x); background-position: 70% 40%; } .cta-inner { max-width: 600px; } }

/* ---------- 404 page ---------- */
.not-found { display: grid; place-items: center; min-height: 60vh; padding-block: clamp(48px, 8vw, 96px) !important; }
.nf-box { max-width: 620px; margin-inline: auto; text-align: center; }
.nf-code { margin: 0; color: var(--brand-logo); font-size: clamp(64px, 14vw, 112px); font-weight: 700; line-height: 1; opacity: .25; }
.nf-box .eyebrow { justify-content: center; margin-top: 10px; }
.nf-box h1 { margin: 6px 0 14px; color: var(--ink); font-size: clamp(28px, 5vw, 40px); line-height: 1.4; }
.nf-text { margin: 0 auto 28px; max-width: 34em; color: var(--muted); font-size: 17px; line-height: 1.9; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nf-actions .button { min-width: 180px; }
.nf-actions .button .icon { width: 20px; height: 20px; }
@media (max-width: 599px) { .nf-actions { flex-direction: column; align-items: stretch; } .nf-actions .button { width: 100%; } }

/* ---------- FAQ page: heading + intro centred directly above the questions; questions and answers stay right-aligned ---------- */
.site-main > .page-hero[aria-labelledby="faq-title"] { max-width: 760px; margin-inline: auto; padding-bottom: 24px !important; text-align: center; }
.page-hero[aria-labelledby="faq-title"] .eyebrow { justify-content: center; }
.page-hero[aria-labelledby="faq-title"] h1 { margin-inline: auto; text-wrap: balance; }
.page-hero[aria-labelledby="faq-title"] .lead { max-width: 34em; margin: 0 auto; text-wrap: pretty; }
.page-hero[aria-labelledby="faq-title"] + .prose .faq-list, .page-hero[aria-labelledby="faq-title"] + .prose .faq-list :is(summary, p) { text-align: start; }
@media (max-width: 699px) { .site-main > .page-hero[aria-labelledby="faq-title"] { padding-bottom: 20px !important; } }

/* ---------- Inner pages: tighter top spacing (header → breadcrumbs → first section) ----------
   The first section after the breadcrumbs used the full section spacing (--sec-y: 88px laptop / 52px phone).
   It now starts at a fixed, comfortable distance on every page that uses the shared page template. */
.site-main > .breadcrumbs { padding-top: 16px; }
.site-main > .breadcrumbs + section, .site-main > .breadcrumbs + .contact-grid { padding-top: 32px !important; }
@media (max-width: 599px) {
  .site-main > .breadcrumbs { padding-top: 12px; }
  .site-main > .breadcrumbs + section, .site-main > .breadcrumbs + .contact-grid { padding-top: 22px !important; }
}
/* 404 (no breadcrumbs): content starts near the top instead of being centred in a tall box */
.site-main.not-found { min-height: 0; align-content: start; padding-block: 48px 72px !important; }
.site-main.not-found > .nf-box { padding-block: 0 !important; }
@media (max-width: 599px) { .site-main.not-found { padding-block: 32px 56px !important; } }

/* ---------- FAQ page: question groups and team photo ---------- */
.prose .faq-group { margin: 28px 0 12px; color: var(--ink); font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; line-height: 1.5; text-align: start; }
.prose .faq-group:first-child { margin-top: 0; }
.prose .faq-photo { margin: 28px 0 0; }
.prose .faq-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.prose .faq-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; text-align: center; }

/* ---------- FAQ page: Rank Math table of contents ---------- */
.prose .wp-block-rank-math-toc-block { margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose .wp-block-rank-math-toc-block h2 { margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; text-align: start; }
.prose .wp-block-rank-math-toc-block ul { display: grid; gap: 4px; margin: 0; padding-inline-start: 20px; }
.prose .wp-block-rank-math-toc-block li { margin: 0; color: var(--brand); }
.prose .wp-block-rank-math-toc-block a { display: inline-flex; min-height: 36px; align-items: center; color: var(--brand); font-weight: 600; text-decoration: none; }
.prose .wp-block-rank-math-toc-block a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose .faq-group { scroll-margin-top: calc(var(--header-h, 76px) + 16px); }
@media (min-width: 700px) { .prose .wp-block-rank-math-toc-block ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }

/* ---------- FAQ page: intro line and booking-steps graphic ---------- */
.prose .faq-intro { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.8; text-align: start; }
.prose .faq-steps { margin: 0 0 16px; }
.prose .faq-steps img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }

/* ---------- Contact page guide: example request message ---------- */
.prose blockquote.contact-example { margin: 4px 0 14px; padding: 14px 18px; border: 1px solid var(--line); border-inline-start: 4px solid #66c0ed; border-radius: 12px; background: #fff; }
.prose blockquote.contact-example p { margin: 0; color: var(--ink); line-height: 1.9; }

/* ---------- Contact page: collapsed «تفاصيل الحجز وعرض السعر» ---------- */
.prose details.contact-more { margin-top: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose details.contact-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 20px; color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.prose details.contact-more > summary::-webkit-details-marker { display: none; }
.prose details.contact-more > summary::after { content: '+'; flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 20px; }
.prose details.contact-more[open] > summary::after { content: '−'; }
.prose details.contact-more > summary:focus-visible { outline: 3px solid #66c0ed; outline-offset: 2px; border-radius: 14px; }
.prose .contact-more-body { padding: 0 20px 20px; }
.prose .contact-more-body .faq-group:first-child { margin-top: 4px; }

/* ---------- FAQ: collapsed groups (تجهيز الزيارة / عروض أسعار الخدمات) ---------- */
.prose details.faq-fold { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose details.faq-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; color: var(--brand); font-weight: 700; cursor: pointer; list-style: none; }
.prose details.faq-fold > summary::-webkit-details-marker { display: none; }
.prose details.faq-fold > summary::after { content: '+'; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 19px; }
.prose details.faq-fold[open] > summary::after { content: '−'; }
.prose details.faq-fold > summary:focus-visible { outline: 3px solid #66c0ed; outline-offset: 2px; border-radius: 14px; }
.prose .faq-fold-count { white-space: nowrap; margin-inline-start: auto; color: var(--muted); font-weight: 500; font-size: 14px; }
.prose .faq-fold-body { padding: 0 14px 14px; }
.prose .faq-fold-body .faq-photo { margin: 14px 0 0; }

/* ---------- About page guide: collapsible TOC + team photos ---------- */
.prose details.toc-fold { margin: 0 0 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose details.toc-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.prose details.toc-fold > summary::-webkit-details-marker { display: none; }
.prose details.toc-fold > summary::after { content: '+'; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 19px; }
.prose details.toc-fold[open] > summary::after { content: '−'; }
.prose details.toc-fold > summary:focus-visible { outline: 3px solid #66c0ed; outline-offset: 2px; border-radius: 14px; }
.prose details.toc-fold .wp-block-rank-math-toc-block { margin: 0; border: 0; background: none; padding-top: 0; }
.prose details.toc-fold .wp-block-rank-math-toc-block > h2 { display: none; }
.prose .about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.prose .about-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.prose .about-photos .about-photo-ac { object-position: 50% 33%; }

.prose details.faq-fold + p { margin-top: 18px; }

/* =====================================================================
   About page redesign (2026-11-24): one rhythm from top to bottom.
   Same container, section padding (--sec-y), heading size (--h2), eyebrow,
   card radius (--r-card) and photo radius (--r-media) as the homepage.
   White bands (.ab-band) alternate with the page tint.
   ===================================================================== */
.site-main > .ab-hero, .site-main > .ab-sec { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), var(--container)); }
.ab-band::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -1; }
.site-main > .ab-sec { padding-block: var(--sec-y); }

/* Hero */
.site-main > .ab-hero { display: grid; gap: 32px 64px; align-items: center; padding-block: 8px var(--sec-y) !important; }
.ab-hero h1 { margin-bottom: 14px; font-size: clamp(32px, 4.4vw, 50px); }
.ab-hero .lead { margin-bottom: 10px; color: var(--ink); font-size: clamp(17px, 1.8vw, 19px); line-height: 1.9; }
.ab-hero p { color: var(--muted); max-width: 60ch; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.ab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.ab-facts li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.ab-facts strong { color: var(--brand); font-size: 17px; line-height: 1.4; }
.ab-facts span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ab-hero-media { margin: 0; }
.ab-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-media); }
@media (min-width: 900px) { .site-main > .ab-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* Contents chips (Rank Math TOC block) */
.site-main > .wp-block-rank-math-toc-block { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto; padding-block: 18px; border-top: 1px solid var(--line); }
.site-main > .wp-block-rank-math-toc-block::before { content: ''; position: absolute; inset: 0 50%; width: 100vw; margin-inline-start: -50vw; background: #fff; z-index: -1; }
.site-main > .wp-block-rank-math-toc-block > h2 { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; }
.site-main > .wp-block-rank-math-toc-block nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-main > .wp-block-rank-math-toc-block nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: 15px; font-weight: 700; text-decoration: none; }
.site-main > .wp-block-rank-math-toc-block nav a:hover { background: #d3ebf3; }

/* Section heads */
.ab-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.ab-head .eyebrow { font-size: var(--eyebrow); }
.ab-h2 { margin: 0; font-size: var(--h2); line-height: 1.3; scroll-margin-top: calc(var(--header-h, 76px) + 16px); }
.ab-sub { margin: 12px 0 0; color: var(--muted); }

/* Team */
.ab-split { display: grid; gap: 28px 56px; align-items: center; }
.ab-text p { color: var(--muted); }
.ab-note { margin-top: 8px; padding: 16px 18px; border-inline-start: 4px solid var(--sky); border-radius: var(--r-card); background: var(--tint-2); }
.ab-note p { margin: 0 0 4px; color: var(--ink); }
.ab-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-media); }
.ab-photo-ac { object-position: 50% 30%; }
@media (min-width: 900px) { .ab-split { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); } }

/* How we work */
.ab-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ab-steps li { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.ab-num { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%; background: var(--sky); color: var(--brand-deep); font-weight: 700; }
.ab-steps h3 { margin-bottom: 6px; font-size: 19px; }
.ab-steps p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.ab-fold { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.ab-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 20px; color: var(--brand); font-weight: 700; cursor: pointer; list-style: none; }
.ab-fold > summary::-webkit-details-marker { display: none; }
.ab-fold > summary::after { content: '+'; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 19px; }
.ab-fold[open] > summary::after { content: '−'; }
.ab-fold-body { padding: 0 20px 18px; }
.ab-fold-body p { color: var(--muted); }
.ab-fold-body ul { display: grid; gap: 8px; margin: 0; }
.ab-fold-body li { color: var(--muted); line-height: 1.8; }
.ab-fold-body strong { color: var(--ink); }

/* Service scope */
.ab-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ab-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--tint-2); }
.ab-card h3 { margin-bottom: 4px; font-size: 19px; }
.ab-card .service-tags a { background: #fff; border: 1px solid var(--line); }
.ab-card .service-tags a:hover { border-color: var(--brand); background: #fff; }
.ab-all { margin-top: 18px; }
.ab-all .button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Gallery + CTA spacing follow the same rhythm */
.ab-scope + .work-slider { padding-block: var(--sec-y) !important; }
.site-main > .ab-cta { background: #fff; border: 1px solid var(--line); }

@media (max-width: 599px) {
  .ab-facts { grid-template-columns: 1fr; }
  .ab-facts li { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .ab-actions .button { flex: 1 1 140px; }
  .ab-photo { aspect-ratio: 1 / 1; }
  .ab-all { flex-direction: column; align-items: stretch; text-align: center; }
  .ab-cta .actions .button { flex: 1 1 140px; }
}
.ab-card .ab-card-send { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.75; }
.ab-card .ab-card-send strong { color: var(--ink); }
.site-main > .wp-block-rank-math-toc-block + .ab-sec { padding-top: calc(var(--sec-y) * .6); }
@media (max-width: 899px) {
  .site-main > .ab-hero { gap: 0; }
  .ab-hero-text { display: contents; }
  .ab-hero-media { order: 1; margin-top: 24px; }
  .ab-facts { order: 2; margin-top: 16px; }
}

/* =====================================================================
   FAQ page redesign (2026-11-24): centred head, slim contents bar (same chip
   bar as the About page), four question groups in one 820px column with a
   tighter rhythm; answers stay collapsed until tapped.
   ===================================================================== */
.page-hero[aria-labelledby="faq-title"] .fq-intro { max-width: 34em; margin: 8px auto 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.page-hero[aria-labelledby="faq-title"] + .wp-block-rank-math-toc-block { justify-content: center; }
.site-main > .fq-group { width: min(100% - 2 * var(--gutter), 820px); max-width: 820px !important; margin-inline: auto; padding-block: 36px 4px; }
.site-main > .wp-block-rank-math-toc-block + .fq-group { padding-top: 40px; }
.site-main > .fq-group:has(+ .cta-band) { padding-bottom: 48px; }
.fq-group .fq-h2 { margin: 0; color: var(--ink); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; scroll-margin-top: calc(var(--header-h, 76px) + 16px); }
.fq-group .fq-count { margin: 2px 0 14px; color: var(--muted); font-size: 14px; }
.fq-group .faq-list { gap: 10px; }
.fq-group .faq-list summary { line-height: 1.6; }
.fq-group .faq-steps { margin: 0 0 14px; }
.fq-group .faq-photo { margin: 14px 0 0; }
.site-main > .fq-group + .cta-band { width: min(100% - 2 * var(--gutter), 820px); }
@media (max-width: 599px) {
  .site-main > .page-hero[aria-labelledby="faq-title"] { padding-bottom: 18px !important; }
  .site-main > .fq-group { padding-top: 26px; }
  .site-main > .wp-block-rank-math-toc-block + .fq-group { padding-top: 28px; }
  .fq-group .fq-count { margin-bottom: 10px; }
  .fq-group .faq-list { gap: 8px; }
  .fq-group .faq-list summary { min-height: 52px; padding: 10px 14px; font-size: 16px; }
  .fq-group .faq-list details > :not(summary) { padding: 0 14px 14px; font-size: 16px; }
  .page-hero[aria-labelledby="faq-title"] + .wp-block-rank-math-toc-block { justify-content: flex-start; }
}
.fq-group .faq-list + .faq-steps { margin: 14px 0 0; }

/* =====================================================================
   Service pages: contents bar after the hero + guide cards (2026-11-24).
   Same card style as .detail-grid; photos use the media radius.
   ===================================================================== */
.is-service > .wp-block-rank-math-toc-block + .detail-grid { padding-top: 28px !important; }
.svc-guide { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; padding-top: 16px !important; }
.svc-guide-col { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.svc-guide h2 { font-size: clamp(21px, 2.6vw, 26px); }
.svc-guide p { color: var(--muted); }
.svc-steps { display: grid; gap: 10px; margin: 0 0 4px; padding-inline-start: 1.3em; color: var(--muted); }
.svc-steps li::marker { color: var(--brand); font-weight: 700; }
.svc-steps strong { color: var(--ink); }
.svc-photo { margin: 16px 0 0; }
.svc-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-media, 12px); }
.svc-photo .svc-steps-img { aspect-ratio: 16 / 9; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.svc-reviews { margin: 14px 0 0; font-size: 15px; }
.svc-guide + .related { padding-top: 32px !important; }
@media (max-width: 599px) { .svc-guide-col { padding: 18px; } .svc-steps { gap: 8px; } }
.is-service > .detail-grid:has(+ .svc-guide) { padding-bottom: 0; }

/* All services: Rank Math TOC block replaces the old .tc-directory-nav, same sticky chip row. */
.tc-service-directory .wp-block-rank-math-toc-block { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 10px var(--gutter); overflow-x: auto; background: var(--tint-2); scrollbar-width: none; }
.tc-service-directory .wp-block-rank-math-toc-block::-webkit-scrollbar { display: none; }
.tc-service-directory .wp-block-rank-math-toc-block > h2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.tc-service-directory .wp-block-rank-math-toc-block nav ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tc-service-directory .wp-block-rank-math-toc-block nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tc-service-directory .wp-block-rank-math-toc-block nav a:hover { border-color: var(--brand); color: var(--brand); }
.tc-directory-group h2[id], .dir-guide h2[id] { scroll-margin-top: calc(var(--header-h) + 70px); }
.tc-service-directory + .dir-guide { padding-top: 8px !important; }
.svc-photo.dir-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-photo.dir-photos img { aspect-ratio: 4 / 3; }
.svc-photo.dir-photos figcaption { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
/* All services: three work photos in one row (same height as the previous two-photo row on phones). */
.svc-photo.dir-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.svc-photo.dir-photos img { aspect-ratio: 1 / 1; }

/* Privacy page: lead, contents bar (Rank Math TOC block), section headings, last updated. */
.legal .legal-lead { font-size: clamp(17px, 1.9vw, 19px); color: var(--ink); }
.legal .wp-block-rank-math-toc-block { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card, 10px); background: #fff; }
.legal .wp-block-rank-math-toc-block > h2 { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; }
.legal .wp-block-rank-math-toc-block nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.legal .wp-block-rank-math-toc-block nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.legal h2 { margin: 28px 0 8px; font-size: clamp(20px, 2.4vw, 24px); scroll-margin-top: calc(var(--header-h, 76px) + 16px); }
.legal .legal-updated { margin-top: 24px; font-size: 14px; }
.svc-photo img.svc-photo-right { object-position: 100% 50%; }
