/*
 * Basayer Al Amal — public website design system (basayeralamil.com)
 * ------------------------------------------------------------------
 * Plain CSS, no build step. Arabic first (RTL) with logical properties, so English (LTR) mirrors
 * itself. The page sets the theme on :root (resources/views/site/layouts/app.blade.php):
 *   --c-primary     theme colour of the general settings («الضبط العام»)
 *   --c-accent      second brand colour («الموقع الإلكتروني ← الهوية»)
 *   --c-on-primary  text on the primary colour (white or dark, by contrast)
 *   --font          the system font of the general settings, then IBM Plex Sans Arabic
 * Everything else derives from those. Nothing is loaded from another site.
 */

/* ------------------------------------------------------------------ tokens */
:root {
  --c-primary: #0d9488;
  --c-accent: #3a7d44;
  --c-on-primary: #ffffff;

  /* Fallback tints (browsers without color-mix) */
  --c-primary-50: #f0f6fb;
  --c-primary-100: #e1ecf6;
  --c-primary-200: #c3d6ea;
  --c-primary-700: #0b3a6a;
  --c-primary-900: #0a1a33;
  --c-accent-50: #eef7ef;
  --c-accent-100: #dcefdf;
  --c-accent-700: #2c5f34;

  --c-ink: #0b1b33;
  --c-text: #334357;
  --c-muted: #5f6f84;
  --c-line: #e3e9f1;
  --c-bg: #ffffff;
  --c-soft: #f5f8fc;
  --c-danger: #c62828;
  --c-success: #15803d;
  --c-whatsapp: #1c9a4f;
  --c-star: #f5a524;

  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 14px 34px -18px rgb(15 23 42 / 0.22);
  --shadow-lg: 0 2px 6px rgb(15 23 42 / 0.05), 0 30px 64px -30px rgb(15 23 42 / 0.4);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@supports (color: color-mix(in srgb, red 50%, white)) {
  :root {
    --c-primary-50: color-mix(in srgb, var(--c-primary) 6%, #fff);
    --c-primary-100: color-mix(in srgb, var(--c-primary) 12%, #fff);
    --c-primary-200: color-mix(in srgb, var(--c-primary) 26%, #fff);
    --c-primary-700: color-mix(in srgb, var(--c-primary) 82%, #000);
    --c-primary-900: color-mix(in srgb, var(--c-primary) 42%, #050b17);
    --c-accent-50: color-mix(in srgb, var(--c-accent) 8%, #fff);
    --c-accent-100: color-mix(in srgb, var(--c-accent) 16%, #fff);
    --c-accent-700: color-mix(in srgb, var(--c-accent) 80%, #000);
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[dir="ltr"] body { line-height: 1.7; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.3;
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3 { letter-spacing: -0.015em; line-height: 1.2; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--c-primary-200);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--c-primary-100); color: var(--c-ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow { width: min(100% - 2 * var(--gutter), 860px); }

/* ------------------------------------------------------------------ typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: var(--c-accent-50);
  color: var(--c-accent-700);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-100);
}
.eyebrow--light { background: rgb(255 255 255 / 0.12); color: #fff; }
.eyebrow--light::before { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18); }

.h1 { font-size: clamp(2.05rem, 1.25rem + 3.3vw, 3.55rem); }
.h2 { font-size: clamp(1.6rem, 1.12rem + 1.9vw, 2.5rem); }
.h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }

.lead {
  font-size: clamp(1.03rem, 0.96rem + 0.35vw, 1.2rem);
  color: var(--c-muted);
}

.text-gradient {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[dir="rtl"] .text-gradient { background: linear-gradient(270deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; }

.prose { color: var(--c-text); font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.prose-list { display: grid; gap: 0.6rem; margin: 0 0 1.2em; list-style: none; }
.prose-list li { position: relative; padding-inline-start: 1.9rem; }
.prose-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--c-accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232c5f34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 72% no-repeat;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.7rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 1.2rem; height: 1.2rem; }

.btn--primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
  box-shadow: 0 12px 26px -14px var(--c-primary);
}
.btn--primary:hover { background: var(--c-primary-700); transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--c-primary); }

.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 12px 26px -14px var(--c-accent); }
.btn--accent:hover { background: var(--c-accent-700); transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--c-primary-200); color: var(--c-primary); transform: translateY(-2px); }

.btn--whatsapp { background: var(--c-whatsapp); color: #fff; box-shadow: 0 12px 26px -14px var(--c-whatsapp); }
.btn--whatsapp:hover { filter: brightness(0.94); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--c-primary-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgb(0 0 0 / 0.5); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; }

.btn--sm { min-height: 42px; padding: 0.5rem 1rem; border-radius: 12px; font-size: 0.93rem; }
.btn--lg { min-height: 56px; padding: 0.85rem 1.8rem; font-size: 1.06rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-primary);
  font-weight: 600;
}
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

/* ------------------------------------------------------------------ header */
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block of the fixed mobile menu. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color 0.25s;
}
.site-header.is-scrolled {
  border-color: var(--c-line);
  box-shadow: 0 10px 30px -22px rgb(15 23 42 / 0.45);
}
.site-header.is-scrolled::before { background: rgb(255 255 255 / 0.95); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin-inline-end: auto;
  color: var(--c-ink);
}
.brand-logo img { height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.brand-logo--tile {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-900));
  box-shadow: 0 10px 22px -14px var(--c-primary);
}
.brand-logo--tile img { height: 38px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  flex: none;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-name { font-weight: 700; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tagline { font-size: 0.78rem; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: none; align-items: center; gap: 0.15rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--c-text);
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--c-primary); background: var(--c-primary-50); }
.nav a[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 0.9rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  color: var(--c-ink);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.icon-btn .icon { width: 1.35rem; height: 1.35rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-ink);
  transition: border-color 0.2s, color 0.2s;
}
.lang-switch:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.lang-switch .icon { width: 1.15rem; height: 1.15rem; }

/* Signed-in customer: «حسابي» with the first name (booking.js updates it after an inline sign-in). */
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  max-width: 11rem;
  padding: 0 0.8rem;
  border: 1px solid var(--c-primary-200);
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}
.account-chip:hover { border-color: var(--c-primary); background: #fff; }
.account-chip .icon { width: 1.3rem; height: 1.3rem; }
.account-chip-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.icon-btn .account-chip-name { display: none; }

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu: a side drawer from the menu button's side, at most 360px wide and always leaving
   at least 30px of the page visible; the dimmed strip closes it. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  transition: visibility 0s linear 0.32s;
}
.mobile-nav.is-open { visibility: visible; transition: none; }
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(11 18 32 / 0.48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  cursor: pointer;
}
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 30px));
  background: #fff;
  box-shadow: 0 0 60px -10px rgb(15 23 42 / 0.45);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  outline: none;
  overscroll-behavior: contain;
}
[dir="rtl"] .mobile-nav-panel { transform: translateX(-100%); }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
[dir="ltr"] .mobile-nav-panel { border-radius: 22px 0 0 22px; }
[dir="rtl"] .mobile-nav-panel { border-radius: 0 22px 22px 0; }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.9rem + env(safe-area-inset-top)) 1.1rem 0.9rem;
  border-bottom: 1px solid var(--c-line);
}
.mobile-nav-head .brand-logo img { height: 40px; }
.mobile-nav-close { flex-shrink: 0; }
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 1rem 1.1rem 0.5rem; }
.drawer-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary-50), #fff);
  border: 1px solid var(--c-primary-100, var(--c-primary-200));
}
.drawer-user-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent, var(--c-primary)));
  color: var(--c-on-primary, #fff);
  font-weight: 800;
  font-size: 1.2rem;
}
.drawer-user-text { display: grid; gap: 0.1rem; min-width: 0; }
.drawer-user-text strong { font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-user-text span { font-size: 0.85rem; color: var(--c-muted); }
.drawer-guest {
  padding: 1rem;
  border-radius: 16px;
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-200);
}
.drawer-guest p { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--c-ink); line-height: 1.6; }
.drawer-guest-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.drawer-guest-actions .btn { width: 100%; justify-content: center; }
.drawer-caption {
  margin: 1.1rem 0.4rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
[dir="ltr"] .drawer-caption { text-transform: uppercase; letter-spacing: 0.06em; }
.drawer-links { display: grid; gap: 0.2rem; }
.drawer-links--account { margin-top: 0.6rem; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-ink);
  transition: background-color 0.18s, color 0.18s;
}
.drawer-links a > span:nth-child(2) { flex: 1; }
.drawer-links--account a {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem;
  border: 1px solid var(--c-line);
  font-size: 0.92rem;
}
.drawer-link-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--c-primary-50);
  color: var(--c-primary);
}
.drawer-link-icon .icon { width: 1.15rem; height: 1.15rem; }
.drawer-link-arrow { width: 1rem; height: 1rem; opacity: 0.4; }
.drawer-links a:hover, .drawer-links a:focus-visible, .drawer-links a[aria-current="page"] { background: var(--c-primary-50); color: var(--c-primary); }
.drawer-links a[aria-current="page"] .drawer-link-icon { background: var(--c-primary); color: var(--c-on-primary, #fff); }
.drawer-links--account a[aria-current="page"] { border-color: var(--c-primary-200); }
.drawer-lang {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed var(--c-line);
  font-weight: 600;
  color: var(--c-ink);
}
.drawer-lang .icon { width: 1.15rem; height: 1.15rem; color: var(--c-primary); }
.drawer-logout { margin-top: 0.5rem; }
.drawer-logout button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: #b91c1c;
  cursor: pointer;
}
.drawer-logout button:hover { background: #fef2f2; }
.drawer-logout .icon { width: 1.15rem; height: 1.15rem; }
.mobile-nav-foot {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  background: #fbfcfd;
}
.mobile-nav-foot .btn { width: 100%; justify-content: center; }
.mobile-nav-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem; margin-top: 0.2rem; font-size: 0.9rem; color: var(--c-muted); }
.mobile-nav-contact a { display: inline-flex; align-items: center; gap: 0.35rem; direction: ltr; }
.mobile-nav-contact .icon { width: 1rem; height: 1rem; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-panel, .mobile-nav-backdrop { transition: none; }
}

.hide-sm { display: none; }

@media (min-width: 560px) {
  .hide-sm { display: inline-grid; }
  .account-chip.hide-sm { display: inline-flex; }
}
@media (max-width: 1279px) and (min-width: 560px) {
  .account-chip { width: 44px; padding: 0; justify-content: center; }
  .account-chip .account-chip-name { display: none; }
}
@media (min-width: 1080px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none; }
}
@media (max-width: 479px) {
  .brand--has-logo .brand-text { display: none; }
  .header-book span { display: none; }
  .header-book { width: 44px; padding: 0; }
  .lang-switch span { font-size: 0.85rem; }
}
@media (max-width: 380px) {
  .lang-switch .icon { display: none; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: var(--section-y); }
.section--soft { background: var(--c-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 55% at 85% 10%, var(--c-primary-100) 0%, transparent 70%),
    radial-gradient(45% 45% at 5% 90%, var(--c-accent-50) 0%, transparent 70%),
    linear-gradient(180deg, var(--c-primary-50) 0%, #fff 78%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--c-primary-200) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}
.hero-title { margin-bottom: 1.1rem; font-size: clamp(2.1rem, 1.25rem + 3.5vw, 3.7rem); line-height: 1.22; }
[dir="ltr"] .hero-title { line-height: 1.1; }
.hero-text { max-width: 38rem; margin-bottom: 0; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-stats {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.stat { display: flex; flex-direction: column; margin: 0; }
.stat-value {
  order: -1;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  direction: ltr;
  justify-content: flex-end;
}
[dir="ltr"] .stat-value { justify-content: flex-start; }
.stat-value .icon { width: 1.3rem; height: 1.3rem; color: var(--c-star); }
.stat-label { font-size: 0.92rem; color: var(--c-muted); }

.hero-visual { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--c-primary) 0%, var(--c-primary-900) 58%, var(--c-accent-700) 130%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: absolute; inset: 0; }
.hero-art svg.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: min(60%, 310px);
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 28px;
  background: rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
  transform: translate(-50%, -54%);
}
.hero-logo img { width: 100%; height: auto; }
.hero-figure { position: absolute; inset: 12% 18% 18%; color: #fff; }
.hero-figure svg { width: 100%; height: 100%; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--c-ink);
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.02rem; white-space: nowrap; }
.float-card small { color: var(--c-muted); font-size: 0.8rem; }
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  flex: none;
}
.float-card .fc-icon .icon { width: 1.35rem; height: 1.35rem; }
.float-card .fc-icon--star { background: #fff7e6; color: var(--c-star); }
.float-card .fc-icon--accent { background: var(--c-accent-50); color: var(--c-accent-700); }
.fc-1 { top: 7%; inset-inline-start: -5%; }
.fc-2 { top: 71%; inset-inline-end: -7%; animation-delay: -2.4s; }
.fc-3 { bottom: -4%; inset-inline-start: 9%; animation-delay: -4.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-1 { inset-inline-start: 3%; top: 4%; }
  .fc-2 { inset-inline-end: 3%; top: auto; bottom: 5%; }
  .fc-3 { display: none; }
  .float-card { max-width: 72%; padding: 0.6rem 0.8rem; font-size: 0.82rem; }
  .float-card .fc-icon { width: 36px; height: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(44px, 6vw, 84px);
  background:
    radial-gradient(50% 80% at 90% 0%, var(--c-primary-100), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, var(--c-accent-50), transparent 70%),
    var(--c-primary-50);
  border-bottom: 1px solid var(--c-line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 48px solid rgb(255 255 255 / 0.55);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero .lead { max-width: 46rem; margin-bottom: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--c-muted); list-style: none; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .icon { width: 0.9rem; height: 0.9rem; opacity: 0.6; }
.breadcrumb [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

/* ------------------------------------------------------------------ cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card--hover:hover, .card--hover:focus-within {
  transform: translateY(-6px);
  border-color: var(--c-primary-200);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--c-muted); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  flex: none;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.icon-tile .icon { width: 1.8rem; height: 1.8rem; }
.icon-tile--accent { background: var(--c-accent-50); color: var(--c-accent-700); }
.card--hover:hover .icon-tile { background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-4deg) scale(1.04); }

.service-card .card-media {
  margin: calc(-1 * clamp(22px, 2.6vw, 32px));
  margin-bottom: 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--c-primary-50);
}
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card p { flex: 1; margin-bottom: 1.25rem; }
.service-card .card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-muted);
}
.chip .icon { width: 0.95rem; height: 0.95rem; }

/* ------------------------------------------------------------------ about summary */
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-start { grid-template-columns: 1.1fr 0.9fr; } }

.check-list { display: grid; gap: 0.8rem; margin: 1.5rem 0 2rem; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 500; color: var(--c-ink); }
.check-list .check {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 0.15em;
  border-radius: 50%;
  background: var(--c-accent-50);
  color: var(--c-accent-700);
  flex: none;
}
.check-list .check .icon { width: 0.95rem; height: 0.95rem; }

.info-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); }
.mosaic-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 170px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.mosaic-tile .icon-tile { margin: 0; width: 50px; height: 50px; border-radius: 15px; }
.mosaic-tile strong { display: block; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); color: var(--c-ink); line-height: 1.25; }
.mosaic-tile span { font-size: 0.92rem; color: var(--c-muted); }
.mosaic-tile--primary { background: linear-gradient(150deg, var(--c-primary), var(--c-primary-900)); border-color: transparent; color: #fff; }
.mosaic-tile--primary strong, .mosaic-tile--primary span { color: #fff; }
.mosaic-tile--primary span { opacity: 0.8; }
.mosaic-tile--primary .icon-tile { background: rgb(255 255 255 / 0.14); color: #fff; }
.mosaic-tile:nth-child(2) { transform: translateY(24px); }
.mosaic-tile:nth-child(4) { transform: translateY(24px); }
.about-side { display: grid; gap: clamp(16px, 2vw, 22px); }
.hours-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c-primary), var(--c-primary-900));
  color: rgb(255 255 255 / 0.85);
  box-shadow: var(--shadow-lg);
}
.hours-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -50px;
  top: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 26px solid rgb(255 255 255 / 0.06);
}
.hours-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.hours-card-head .icon-tile { margin: 0; width: 50px; height: 50px; background: rgb(255 255 255 / 0.14); color: #fff; }
.hours-card h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.hours-card-head p { margin: 0; font-size: 0.92rem; color: rgb(255 255 255 / 0.75); }
.hours-list { display: grid; gap: 0.5rem; margin: 0; }
.hours-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.7rem 0.9rem; border-radius: 12px; background: rgb(255 255 255 / 0.08); }
.hours-list dt { color: rgb(255 255 255 / 0.75); }
.hours-list dd { margin: 0; color: #fff; font-weight: 600; }
.hours-list .is-closed { background: transparent; padding-block: 0.25rem; }
.hours-list .is-closed dt { font-size: 0.9rem; }

.steps-card { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow); }
.steps-card h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.steps { display: grid; gap: 1rem; margin-bottom: 1.5rem; list-style: none; counter-reset: none; }
.steps li { position: relative; display: flex; gap: 0.9rem; align-items: flex-start; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  top: 40px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(var(--c-primary-200), transparent);
}
.step-number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c-primary-50); color: var(--c-primary); font-weight: 700; flex: none; }
.steps strong { display: block; color: var(--c-ink); }
.steps span:not(.step-number) { display: block; font-size: 0.93rem; color: var(--c-muted); }

@media (min-width: 960px) { .split--faq { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .split--faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }

.about-media { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ features */
.feature {
  display: flex;
  gap: 1rem;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon-tile { width: 52px; height: 52px; margin: 0; border-radius: 16px; }
.feature h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--c-muted); font-size: 0.97rem; }

/* ------------------------------------------------------------------ ratings band */
.rating-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 90% at 100% 0%, rgb(255 255 255 / 0.12), transparent 60%),
    linear-gradient(135deg, var(--c-primary-900), var(--c-primary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.rating-band h2 { color: #fff; margin-bottom: 0.4rem; }
.rating-band p { margin: 0; color: rgb(255 255 255 / 0.8); }
.rating-score { display: flex; align-items: center; gap: 1.25rem; }
.rating-number { font-size: clamp(3.2rem, 2.4rem + 3vw, 4.6rem); font-weight: 700; line-height: 1; direction: ltr; }
.rating-meta { display: flex; flex-direction: column; gap: 0.35rem; }
.rating-meta small { color: rgb(255 255 255 / 0.75); font-size: 0.9rem; }
.stars { position: relative; display: inline-block; font-size: 0; direction: ltr; }
.stars .stars-base, .stars .stars-fill { display: flex; gap: 3px; }
.stars .stars-base { color: rgb(255 255 255 / 0.25); }
.stars .stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--c-star); white-space: nowrap; }
.stars svg { width: 24px; height: 24px; flex: none; }
@media (min-width: 860px) { .rating-band { grid-template-columns: auto 1fr; gap: 3.5rem; } }

/* ------------------------------------------------------------------ branches */
.branch-card { padding: 0; overflow: hidden; }
.branch-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(22px, 2.6vw, 30px);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.06) 100%),
    linear-gradient(135deg, var(--c-primary), var(--c-primary-900));
  color: #fff;
  overflow: hidden;
}
.branch-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
[dir="rtl"] .branch-top::before { -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%); mask-image: linear-gradient(270deg, transparent, #000 60%); }
.branch-top .icon-tile { position: relative; margin: 0; background: rgb(255 255 255 / 0.14); color: #fff; }
.branch-top h3 { position: relative; margin: 0; color: #fff; font-size: 1.3rem; }
.branch-top p { position: relative; margin: 0; font-size: 0.9rem; color: rgb(255 255 255 / 0.78); }
.branch-body { display: grid; gap: 1rem; margin: 0; padding: clamp(22px, 2.6vw, 30px); flex: 1; align-content: start; }
.branch-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.branch-row > .icon { width: 1.3rem; height: 1.3rem; margin-top: 0.25em; color: var(--c-primary); }
.branch-row dt { font-size: 0.82rem; color: var(--c-muted); }
.branch-row dd { margin: 0; color: var(--c-ink); font-weight: 500; }
.branch-row dd a:hover { color: var(--c-primary); }
.branch-hours { display: grid; gap: 0.2rem; }
.branch-hours span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; }
.branch-hours b { font-weight: 500; color: var(--c-muted); font-size: 0.92rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0 clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px); }
.branch-actions .btn { flex: 1 1 auto; }

/* ------------------------------------------------------------------ team */
.member { align-items: center; text-align: center; padding: 1.5rem 1rem; }
.member img { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--c-primary-50); }
.member h3 { margin: 0; font-size: 1rem; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 0.85rem; }
.faq details {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--c-primary-200); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-toggle {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  flex: none;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s;
}
.faq summary .faq-toggle .icon { width: 1.1rem; height: 1.1rem; }
.faq details[open] .faq-toggle { transform: rotate(45deg); background: var(--c-primary); color: var(--c-on-primary); }
.faq .faq-answer { padding: 0 1.35rem 1.25rem; color: var(--c-muted); }
.faq .faq-answer p:last-child { margin: 0; }

/* ------------------------------------------------------------------ CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(32px, 5.5vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-900) 55%, var(--c-accent-700) 120%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.14);
  pointer-events: none;
}
.cta-band::before { width: 420px; height: 420px; inset-inline-end: -120px; top: -180px; box-shadow: 0 0 0 60px rgb(255 255 255 / 0.03), 0 0 0 120px rgb(255 255 255 / 0.02); }
.cta-band::after { width: 180px; height: 180px; inset-inline-start: -60px; bottom: -90px; background: rgb(255 255 255 / 0.04); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.82); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ------------------------------------------------------------------ content pages */
.about-intro { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--c-ink); font-weight: 500; }
.mv-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mv-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; }
.mv-card--primary { background: linear-gradient(150deg, var(--c-primary), var(--c-primary-900)); color: rgb(255 255 255 / 0.88); border: 0; }
.mv-card--primary h3 { color: #fff; }
.mv-card--primary .icon-tile { background: rgb(255 255 255 / 0.14); color: #fff; }
.values-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.values-list li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 1rem; border-radius: 999px; background: var(--c-accent-50); color: var(--c-accent-700); font-weight: 600; font-size: 0.95rem; }
.values-list .icon { width: 1rem; height: 1rem; }

.detail-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 980px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; } .sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.detail-media { overflow: hidden; margin-bottom: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 8; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.aside-card { padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow); }
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card h3 { font-size: 1.1rem; }
.meta-list { display: grid; gap: 0.75rem; margin: 0 0 1.25rem; }
.meta-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px dashed var(--c-line); }
.meta-list dt { color: var(--c-muted); }
.meta-list dd { margin: 0; font-weight: 600; color: var(--c-ink); }
.aside-links { display: grid; gap: 0.35rem; list-style: none; }
.aside-links a { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem; border-radius: 12px; color: var(--c-ink); font-weight: 500; }
.aside-links a:hover { background: var(--c-primary-50); color: var(--c-primary); }
.aside-links .icon { width: 1.25rem; height: 1.25rem; color: var(--c-primary); }

.notice {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-primary-200);
  background: var(--c-primary-50);
  color: var(--c-ink);
}
.notice .icon { width: 1.4rem; height: 1.4rem; margin-top: 0.2em; color: var(--c-primary); }
.notice p { margin: 0; }
.notice--danger { border-color: #f3c3c3; background: #fdf2f2; }
.notice--danger .icon { color: var(--c-danger); }
.notice--success { border-color: #bfe3c9; background: #f1faf3; }
.notice--success .icon { color: var(--c-success); }

.soon-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.9rem; border-radius: 999px; background: #fff7e6; color: #9a5b00; font-weight: 600; font-size: 0.88rem; }
.soon-panel { display: grid; gap: 2rem; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .soon-panel { grid-template-columns: 1.2fr 0.8fr; } }
.soon-art { display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; margin-inline: auto; width: 100%; border-radius: 50%; background: radial-gradient(circle, var(--c-primary-100), var(--c-primary-50) 60%, transparent 61%); color: var(--c-primary); }
.soon-art .icon { width: 42%; height: 42%; }

/* legal */
.legal-card { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.legal-card .legal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 1.1rem clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--c-line); background: var(--c-soft); font-size: 0.9rem; color: var(--c-muted); }
.legal-card .content { padding: clamp(22px, 3.5vw, 40px); font-size: 1.02rem; line-height: 2; color: var(--c-text); white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-card .empty { padding: 3rem 1.5rem; text-align: center; color: var(--c-muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------------ contact */
.contact-layout { display: grid; gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 0.85fr 1.15fr; } }
.contact-info { display: grid; gap: 1rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-tile:hover { border-color: var(--c-primary-200); box-shadow: var(--shadow); }
.contact-tile .icon-tile { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-tile .icon-tile .icon { width: 1.45rem; height: 1.45rem; }
.contact-tile h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--c-muted); font-size: 0.97rem; }
.contact-tile a:hover { color: var(--c-primary); }
.contact-tile .lines { display: grid; gap: 0.1rem; justify-items: start; }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--c-ink); }
.field label .req { color: var(--c-danger); margin-inline-start: 0.15rem; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-soft);
  color: var(--c-ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: #94a3b8; }
.input:hover { border-color: var(--c-primary-200); }
.input:focus { outline: none; background: #fff; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-100); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.7; }
select.input {
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.15rem;
  background-position: left 1rem center;
}
[dir="ltr"] select.input { background-position: right 1rem center; }
.input[dir="ltr"] { text-align: start; }
[dir="rtl"] .input[dir="ltr"] { text-align: right; }
.field.has-error .input { border-color: var(--c-danger); background: #fff; }
.field-error { font-size: 0.86rem; color: var(--c-danger); }
.form-note { font-size: 0.86rem; color: var(--c-muted); margin: 0; }
.form-note a { color: var(--c-primary); font-weight: 600; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn .spinner { display: none; width: 1.1rem; height: 1.1rem; border: 2px solid rgb(255 255 255 / 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ SweetAlert2-style box */
.swal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(15 23 42 / 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.swal.is-open { opacity: 1; visibility: visible; }
.swal-box {
  width: min(100%, 430px);
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgb(15 23 42 / 0.5);
  transform: scale(0.92);
  transition: transform 0.25s var(--ease);
}
.swal.is-open .swal-box { transform: scale(1); }
.swal-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 50%; border: 4px solid; }
.swal-icon svg { width: 44px; height: 44px; }
.swal-icon--success { border-color: #a5dc86; color: #69b04a; }
.swal-icon--error { border-color: #f27474; color: #f27474; }
.swal-icon path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.swal.is-open .swal-icon path { animation: draw 0.55s 0.15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.swal-title { margin: 0 0 0.5rem; font-size: 1.6rem; color: #545454; }
.swal-text { margin: 0 0 1.5rem; color: #545454; font-size: 1.05rem; }
.swal-button { min-width: 120px; min-height: 46px; padding: 0.6rem 1.6rem; border: 0; border-radius: 10px; background: var(--c-primary); color: var(--c-on-primary); font-weight: 600; font-size: 1rem; }
.swal-button:focus-visible { outline: 3px solid var(--c-primary-200); outline-offset: 3px; }
.swal-box--error .swal-button { background: #7066e0; color: #fff; }
.swal-icon--warning { border-color: #facea8; color: #f8bb86; }
.swal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.swal-button--cancel { background: #6e7881; color: #fff; }
.swal-box--confirm .swal-button:not(.swal-button--cancel) { background: var(--c-danger); color: #fff; }
.swal-box--confirm .swal-text { margin-bottom: 1.25rem; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(50% 70% at 100% 0%, rgb(255 255 255 / 0.06), transparent 70%),
    var(--c-primary-900);
  color: rgb(255 255 255 / 0.74);
}
.site-footer--flush { margin-top: 0; }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 1.1fr 1.2fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 1.1rem; }
.footer-brand .brand-tagline { color: rgb(255 255 255 / 0.6); }
.footer-brand .brand-logo--tile { background: rgb(255 255 255 / 0.08); box-shadow: none; }
.footer-brand .brand-logo--plain { padding: 8px 12px; border-radius: 14px; background: #fff; }
.footer-brand p { font-size: 0.95rem; max-width: 26rem; }
.site-footer h2 { margin-bottom: 1rem; font-size: 1.02rem; color: #fff; }
.footer-links { display: grid; gap: 0.55rem; list-style: none; font-size: 0.95rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-branch { margin-bottom: 1rem; font-size: 0.93rem; }
.footer-branch strong { display: block; color: #fff; font-weight: 600; }
.footer-branch a { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-branch a:hover { color: #fff; }
.footer-branch .icon { width: 1rem; height: 1rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(255 255 255 / 0.08); color: #fff; transition: background-color 0.2s, transform 0.2s; }
.social a:hover { background: var(--c-accent); transform: translateY(-2px); }
.social .icon { width: 1.2rem; height: 1.2rem; }
.social--light a { background: var(--c-primary-50); color: var(--c-primary); }
.social--light a:hover { background: var(--c-primary); color: var(--c-on-primary); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.88rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------------ floating WhatsApp */
.wa-float {
  position: fixed;
  inset-inline-end: clamp(14px, 3vw, 24px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgb(28 154 79 / 0.65);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ------------------------------------------------------------------ reveal on scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .float-card, .wa-float::before { animation: none !important; }
}

@media print {
  .site-header, .site-footer, .wa-float, .mobile-nav, .hero-visual, .cta-band { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}

@media (min-width: 2200px) {
  :root { --container: 1360px; }
  body { font-size: 1.08rem; }
}
