/* ==========================================================================
   Wellbeing Clinic Dubai — Design tokens
   ========================================================================== */
:root {
  --c-primary: #0e5e63;
  --c-primary-600: #0b4c50;
  --c-primary-700: #083a3d;
  --c-primary-50: #e8f4f3;
  --c-primary-100: #cfe7e5;
  --c-accent: #b8864b;
  --c-accent-600: #8f6532;
  --c-accent-50: #f8f1e7;
  --c-ink: #14232a;
  --c-body: #3a4a52;
  --c-muted: #56666e;
  --c-line: #dde6e8;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8f8;
  --c-white: #ffffff;
  --c-focus: #f2b233;

  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --fs-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --fs-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --fs-lg: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-xl: clamp(1.3rem, 1.15rem + 0.75vw, 1.7rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.6vw, 3.6rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 58, 61, 0.06), 0 2px 8px rgba(8, 58, 61, 0.05);
  --shadow: 0 6px 24px rgba(8, 58, 61, 0.09);
  --shadow-lg: 0 18px 48px rgba(8, 58, 61, 0.16);

  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  overflow-wrap: break-word;
}

body.menu-open { overflow-x: clip; }

img, svg, video, iframe { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  overflow-wrap: anywhere;
}
h1 { font-family: var(--ff-display); font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-family: var(--ff-display); font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 650; }
h4 { font-size: var(--fs-base); font-weight: 650; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-inline-start: 1.25rem; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-700); }
strong { color: var(--c-ink); }

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

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--c-primary-700);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--c-white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.5vw, 2rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--c-primary); color: var(--c-white); box-shadow: 0 6px 18px rgba(14, 94, 99, 0.28); }
.btn-primary:hover { background: var(--c-primary-700); color: var(--c-white); }
.btn-accent { background: var(--c-accent-600); color: var(--c-white); }
.btn-accent:hover { background: #75511f; color: var(--c-white); }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }
.btn-light { background: var(--c-white); color: var(--c-primary-700); }
.btn-light:hover { background: var(--c-accent-50); color: var(--c-primary-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: var(--c-white); background: transparent; }
.btn-ghost-light:hover { background: var(--c-white); color: var(--c-primary-700); }
.btn-block { width: 100%; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--c-primary-700);
  color: #e3f0ef;
  font-size: var(--fs-xs);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  padding-block: 0.4rem;
}
.topbar a { color: var(--c-white); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; }
.topbar a:hover { color: #f5d9b0; }
.topbar svg { width: 15px; height: 15px; }
.topbar-hide-sm { display: none; }
.topbar-social { display: inline-flex; gap: 0.5rem; }
.topbar-social a { min-width: 32px; justify-content: center; }
@media (min-width: 768px) {
  .topbar .container { justify-content: space-between; }
  .topbar-hide-sm { display: inline-flex; }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid rgba(221, 230, 232, 0.9);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); background: rgba(255, 255, 255, 0.95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--c-ink);
  min-width: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-700));
  display: grid; place-items: center;
  color: var(--c-white);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; color: var(--c-primary-700); }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.primary-nav {
  position: fixed;
  top: var(--nav-top, 0);
  inset-inline: 0;
  bottom: 0;
  background: var(--c-white);
  padding: 1rem clamp(1rem, 0.5rem + 2.5vw, 2rem) 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  border-top: 1px solid var(--c-line);
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list > li { border-bottom: 1px solid var(--c-line); }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 0.25rem;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.nav-link:hover { color: var(--c-primary); }
.nav-link.active { color: var(--c-primary); }
.nav-link.active::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.75rem;
  top: 50%;
  width: 4px; height: 22px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: var(--c-accent);
}
.nav-cta { margin-top: 1.25rem; display: grid; gap: 0.75rem; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    padding: 0; background: transparent; border: 0; overflow: visible;
    display: flex; align-items: center; gap: 1.25rem;
  }
  .nav-list { flex-direction: row; gap: 0.25rem; }
  .nav-list > li { border: 0; }
  .nav-link { min-height: 48px; padding-inline: 0.7rem; font-size: 0.92rem; border-radius: var(--radius-pill); white-space: nowrap; }
  .nav-cta .btn { white-space: nowrap; padding-inline: 1.1rem; }
  .nav-cta .btn-outline { display: none; }
  .nav-link:hover { background: var(--c-primary-50); }
  .nav-link.active { background: var(--c-primary-50); }
  .nav-link.active::before {
    inset-inline-start: 50%; top: auto; bottom: 4px;
    width: 18px; height: 3px;
    transform: translateX(-50%);
  }
  [dir="rtl"] .nav-link.active::before { transform: translateX(50%); }
  .nav-cta { margin: 0; display: flex; gap: 0.5rem; }
}
@media (min-width: 1360px) {
  .nav-cta .btn-outline { display: inline-flex; }
}

/* ==========================================================================
   Sections & typography helpers
   ========================================================================== */
.section { padding-block: var(--sp-section); }
.section-soft { background: var(--c-bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--c-primary-50), #fff); }
.section-dark { background: var(--c-primary-700); color: #d8e9e7; }
.section-dark h2, .section-dark h3 { color: var(--c-white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-dark .eyebrow { color: #f0cf9f; }

.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: var(--fs-lg); color: var(--c-muted); }
.section-dark .lead { color: #c7dedb; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 134, 75, 0.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(207, 231, 229, 0.25), transparent 50%),
    linear-gradient(135deg, var(--c-primary-700) 0%, var(--c-primary) 100%);
  color: #e4f1ef;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem);
  overflow-x: clip;
}
.hero h1 { color: var(--c-white); }
.hero .lead { color: #d3e7e4; max-width: 620px; }
.hero .eyebrow { color: #f0cf9f; }
.hero-grid { display: grid; gap: var(--sp-7); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sp-5); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-6); padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-white);
}
.hero-badges svg { width: 16px; height: 16px; color: #f0cf9f; }

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-card h2 { color: var(--c-white); font-size: var(--fs-xl); }
.dept-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.dept-list a {
  display: flex; align-items: center; gap: 0.85rem;
  min-height: 56px;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--c-white);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.dept-list a:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(4px); color: var(--c-white); }
[dir="rtl"] .dept-list a:hover { transform: translateX(-4px); }
.dept-list .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(240, 207, 159, 0.18); display: grid; place-items: center; color: #f0cf9f; }
.dept-list .ico svg { width: 20px; height: 20px; }
.dept-list .arrow { margin-inline-start: auto; width: 18px; height: 18px; opacity: 0.7; }
[dir="rtl"] .arrow, [dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

.page-hero {
  background: linear-gradient(135deg, var(--c-primary-700), var(--c-primary));
  color: #d8ebe8;
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem);
}
.page-hero h1 { color: var(--c-white); margin-bottom: var(--sp-3); }
.page-hero .lead { color: #cfe4e1; max-width: 760px; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0 0 var(--sp-4); font-size: var(--fs-xs); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.35rem; opacity: 0.6; }
.breadcrumb a { color: #f0cf9f; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: calc(var(--sp-7) * -1);
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--c-line);
}
.stat strong { display: block; font-family: var(--ff-display); font-size: var(--fs-2xl); color: var(--c-primary); line-height: 1.1; }
.stat span { font-size: var(--fs-sm); color: var(--c-muted); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Grids & cards
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.75rem); }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-primary-100); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--c-primary-50);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.gold { background: var(--c-accent-50); color: var(--c-accent-600); }
.card .link-arrow { margin-top: auto; padding-top: var(--sp-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px;
  font-weight: 650; font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--c-primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-list li {
  font-size: var(--fs-xs);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--c-primary-50);
  color: var(--c-primary-700);
  font-weight: 600;
}

.check-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-inline-start: 1.75rem; }
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section-dark .check-list li::before { background-color: var(--c-accent); }

/* Visual feature panel (replaces imagery, fixed aspect to prevent CLS) */
.visual-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(240, 207, 159, 0.5), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(207, 231, 229, 0.35), transparent 45%),
    linear-gradient(145deg, var(--c-primary), var(--c-primary-700));
  display: grid;
  place-items: center;
  color: var(--c-white);
  box-shadow: var(--shadow-lg);
}
.visual-panel svg { width: 38%; height: auto; opacity: 0.92; }
.visual-panel .panel-caption {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-ink);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.panel-caption span { display: block; font-weight: 400; color: var(--c-muted); font-size: var(--fs-xs); }

.split { display: grid; gap: var(--sp-7); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.reverse > :first-child { order: 2; }
}

/* Technology pillars */
.pillar { border-top: 3px solid var(--c-accent); }

/* Service department block */
.dept-block { padding-block: var(--sp-7); border-bottom: 1px solid var(--c-line); }
.dept-block:last-child { border-bottom: 0; }
.dept-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: var(--sp-5); }
.dept-head .card-icon { margin: 0; }
.dept-head h2 { margin: 0; }
.dept-head p { flex-basis: 100%; margin: 0; color: var(--c-muted); }

/* Team */
.team-card { align-items: flex-start; }
.avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: var(--c-white);
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.role { color: var(--c-accent-600); font-weight: 650; font-size: var(--fs-sm); margin-top: -0.5rem; }
.meta-line { font-size: var(--fs-sm); color: var(--c-muted); }
.team-card details { width: 100%; margin-top: var(--sp-3); border-top: 1px solid var(--c-line); padding-top: var(--sp-2); }

/* Details / accordion */
details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  font-weight: 650;
  color: var(--c-ink);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "";
  width: 10px; height: 10px;
  border-inline-end: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(-135deg); }
.faq details {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq details p { margin-bottom: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--c-line); }
table { width: 100%; border-collapse: collapse; background: var(--c-white); }
th, td { text-align: start; padding: 0.85rem 1rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
th { background: var(--c-primary-50); color: var(--c-primary-700); font-size: var(--fs-sm); }
tr:last-child td { border-bottom: 0; }

/* Banks / partners */
.logo-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.logo-row li {
  display: grid; place-items: center; text-align: center;
  min-height: 72px;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  font-weight: 700;
  color: var(--c-primary-700);
}
@media (min-width: 768px) { .logo-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.discount-badge {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  color: var(--c-accent-600);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-3);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--c-primary-700), var(--c-primary));
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  color: #d8ebe8;
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
.cta-band h2 { color: var(--c-white); margin-bottom: var(--sp-2); }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* Contact */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .card-icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.info-list .card-icon svg { width: 22px; height: 22px; }
.info-list div { min-width: 0; }
.info-list strong { display: block; }
.info-list a { word-break: break-word; }

.hours-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--c-ink); }

.map-frame {
  aspect-ratio: 16 / 10;
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-primary-50);
}

/* Forms */
.form-card { background: var(--c-white); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #b9c7cb;
  background: var(--c-white);
  color: var(--c-ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(14, 94, 99, 0.18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b42318; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }
.form-status { font-weight: 600; margin-top: 0.75rem; min-height: 1.5em; }
.form-status.success { color: #146c43; }
.form-status.error { color: #b42318; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 30, 34, 0.6); }
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--c-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: clamp(1.25rem, 1rem + 2vw, 2rem);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s var(--ease);
}
.modal-dialog h2 { font-size: var(--fs-xl); padding-inline-end: 3rem; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  cursor: pointer;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--c-primary-50); }
.modal-close svg { width: 22px; height: 22px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 1rem; }
  .modal-dialog { border-radius: var(--radius-lg); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0a2b2e; color: #b9d0cd; font-size: var(--fs-sm); padding-top: var(--sp-section); }
.footer-grid { display: grid; gap: var(--sp-6); }
.footer-grid > * { min-width: 0; }
.site-footer h2 { font-family: var(--ff-sans); font-size: var(--fs-base); color: var(--c-white); letter-spacing: 0.04em; margin-bottom: var(--sp-4); }
.site-footer .brand-name { color: var(--c-white); }
.site-footer .brand-sub { color: #9fbcb8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.site-footer a { color: #d7e7e5; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: #f0cf9f; text-decoration: underline; }
.footer-about p { margin-top: var(--sp-4); }
.footer-social { display: flex; gap: 0.5rem; margin-top: var(--sp-4); }
.footer-social a { width: 48px; height: 48px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.footer-social a:hover { background: var(--c-accent-600); color: var(--c-white); text-decoration: none; }
.footer-social svg { width: 20px; height: 20px; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; padding-block: 0.3rem; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 0.3rem; color: #f0cf9f; }
.footer-contact a { min-height: 0; }
.footer-bottom {
  margin-top: var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  inset-inline-end: clamp(0.85rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: clamp(0.85rem, 0.5rem + 1.5vw, 1.75rem);
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--c-accent-600); }
.back-to-top svg { width: 24px; height: 24px; }

/* Prose for legal-style copy */
.prose { max-width: 820px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-6); }
