/* ==========================================================================
   Aqiq Altrhal — styles
   Layout concept: the roof line from the logo. Calm white and warm off-white
   bands, blue for structure, gold only for thin lines, numbers and icons.
   All directions use logical properties so Arabic (RTL) and English (LTR)
   mirror automatically.
   ========================================================================== */

:root {
  /* Brand */
  --brand-blue: #104888;
  --brand-gold: #908050;

  /* Light theme tokens */
  --bg: #ffffff;
  --bg-tint: #f6f4ec;
  --surface: #ffffff;
  --text: #14213a;
  --muted: #4a5670;
  --border: #d8d2bd;
  --heading: #14213a;
  --brand-text: #104888;
  --link: #104888;
  --gold: #908050;
  --gold-text: #6f6339;
  --primary: #104888;
  --primary-hover: #0c3a6f;
  --on-primary: #ffffff;
  --secondary-border: #104888;
  --pattern: rgba(16, 72, 136, 0.07);
  --roof-blue: #104888;
  --roof-gold: #908050;
  --panel: #104888;
  --panel-text: #ffffff;
  --panel-muted: #d5e1f2;
  --on-panel-btn-bg: #ffffff;
  --on-panel-btn-text: #104888;
  --error: #b3261e;
  --error-bg: #fdecea;
  --success: #1f6b3a;
  --focus: #104888;
  --shadow: 0 1px 2px rgba(20, 33, 58, 0.05), 0 8px 24px rgba(20, 33, 58, 0.06);
  --header-bg: rgba(255, 255, 255, 0.92);

  /* Type */
  --font-ar: "Cairo", "Noto Kufi Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif;
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.3rem + 3vw, 3.25rem);

  /* Space and shape */
  --gutter: 16px;
  --radius: 10px;
  --radius-lg: 16px;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --max: 1180px;
  --header-h: 72px;
  --origin-start: left;
}
[dir="rtl"] { --origin-start: right; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1a30;
    --bg-tint: #0f2240;
    --surface: #132a4d;
    --text: #e9eef7;
    --muted: #b1bed3;
    --border: #2a4470;
    --heading: #f4f1e6;
    --brand-text: #d9c88f;
    --link: #a9c6f0;
    --gold: #c9b77f;
    --gold-text: #d9c88f;
    --primary: #d2c088;
    --primary-hover: #e2d3a4;
    --on-primary: #0b1a30;
    --secondary-border: #d2c088;
    --pattern: rgba(201, 183, 127, 0.07);
    --roof-blue: #a9c6f0;
    --roof-gold: #c9b77f;
    --panel: #163a6b;
    --panel-text: #ffffff;
    --panel-muted: #d5e1f2;
    --on-panel-btn-bg: #d2c088;
    --on-panel-btn-text: #0b1a30;
    --error: #ffb4ab;
    --error-bg: #3a1a1d;
    --success: #9ad7ad;
    --focus: #d2c088;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --header-bg: rgba(11, 26, 48, 0.92);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b1a30;
  --bg-tint: #0f2240;
  --surface: #132a4d;
  --text: #e9eef7;
  --muted: #b1bed3;
  --border: #2a4470;
  --heading: #f4f1e6;
  --brand-text: #d9c88f;
  --link: #a9c6f0;
  --gold: #c9b77f;
  --gold-text: #d9c88f;
  --primary: #d2c088;
  --primary-hover: #e2d3a4;
  --on-primary: #0b1a30;
  --secondary-border: #d2c088;
  --pattern: rgba(201, 183, 127, 0.07);
  --roof-blue: #a9c6f0;
  --roof-gold: #c9b77f;
  --panel: #163a6b;
  --panel-text: #ffffff;
  --panel-muted: #d5e1f2;
  --on-panel-btn-bg: #d2c088;
  --on-panel-btn-text: #0b1a30;
  --error: #ffb4ab;
  --error-bg: #3a1a1d;
  --success: #9ad7ad;
  --focus: #d2c088;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  --header-bg: rgba(11, 26, 48, 0.92);
  color-scheme: dark;
}

/* Logo variant per theme (display only; colors live in the SVG files) */
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }

/* Theme toggle icon: show the theme you would switch to */
.icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ---------- 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) + env(safe-area-inset-top, 0px) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}
:root[lang="en"] body { font-family: var(--font-en); line-height: 1.65; }

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
:root[lang="en"] h1, :root[lang="en"] h2, :root[lang="en"] h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

.num { font-variant-numeric: tabular-nums; font-family: var(--font-en); }
bdi[dir="ltr"], [dir="ltr"] { unicode-bidi: isolate; }

.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;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }
.icon-xl { width: 40px; height: 40px; stroke-width: 1.4; }
[dir="rtl"] .icon-dir { transform: scaleX(-1); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

#main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 72, 136, .18); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon-dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon-dir { transform: scaleX(-1) translateX(4px); }
.icon-btn, .lang-btn, .copy-btn, .social-link, .footer-links a {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-btn:hover, .social-link:hover { transform: translateY(-2px); }
.icon-btn:active, .social-link:active, .copy-btn:active, .lang-btn:active { transform: scale(.95); }
.lang-btn:not([aria-pressed="true"]):hover { background: var(--bg-tint); color: var(--heading); }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: var(--fs-base); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: transparent; color: var(--heading); border-color: var(--secondary-border); }
.btn--secondary:hover { background: var(--bg-tint); }
.btn--on-dark { background: var(--on-panel-btn-bg); color: var(--on-panel-btn-text); }
.btn--on-dark:hover { opacity: .92; }
.btn--on-dark:focus-visible { outline-color: var(--panel-text); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  text-decoration: none;
}
.icon-btn:hover { border-color: var(--gold); color: var(--brand-text); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}
.brand { display: block; flex: none; border-radius: 6px; }
.brand .logo { width: 92px; height: auto; }
@media (min-width: 768px) { .brand .logo { width: 128px; } }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a {
  position: relative;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: var(--origin-start);
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--brand-text); background: var(--bg-tint); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current] {
  color: var(--brand-text);
  background: var(--bg-tint);
}
.main-nav a[aria-current]::after { transform: scaleX(1); background: var(--brand-text); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 8px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.lang-btn {
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}
.lang-btn[lang="ar"] { font-family: var(--font-ar); }
.lang-btn[lang="en"] { font-family: var(--font-en); }
.lang-btn[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.lang-btn:focus-visible { outline-offset: -3px; }

.btn-label-short { display: none; }
.menu-btn { display: none; }

/* Mobile navigation (only when JS is available to open it) */
@media (max-width: 1023px) {
  .js .menu-btn { display: inline-grid; }
  .js .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .js .site-header.is-open .main-nav { display: block; }
  .js .main-nav ul {
    flex-direction: column;
    padding-block: 8px 16px;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
  .js .main-nav a { width: 100%; font-size: var(--fs-base); padding-inline: 16px; }
  .js .main-nav a::after { inset-inline: 0 auto; width: 3px; height: auto; top: 10px; bottom: 10px; transform: scaleY(0); }
  .js .main-nav a:hover::after, .js .main-nav a[aria-current]::after { transform: scaleY(1); }
  .js .header-tools { margin-inline-start: auto; }
  .no-js-fallback { display: none; }
  .site-header .icon-close { display: none; }
  .site-header.is-open .icon-close { display: block; }
  .site-header.is-open .icon-menu { display: none; }
}
@media (max-width: 1023px) {
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .main-nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (min-width: 1024px) {
  .site-header .icon-close { display: none; }
}
@media (max-width: 639px) {
  .btn-label-long { display: none; }
  .btn-label-short { display: inline; }
  .btn--header { padding-inline: 12px; }
}
@media (max-width: 439px) {
  .btn--header { display: none; }
  .header-tools { gap: 6px; }
}

/* ---------- Common section parts ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }

.section-head {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-text);
  font-weight: 700;
  font-size: var(--fs-sm);
}
:root[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.lead { color: var(--muted); font-size: var(--fs-md); max-width: 62ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--pattern);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 3rem; }
}
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero h1 { display: grid; gap: .35rem; }
.hero-brand {
  color: var(--brand-text);
  font-size: var(--fs-2xl);
  line-height: 1.2;
}
.hero-title {
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2rem);
  line-height: 1.45;
}
:root[lang="en"] .hero-title { line-height: 1.25; }
.hero-text { font-size: var(--fs-md); color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: .25rem; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--gold); width: 20px; height: 20px; }

.hero-art { max-width: 420px; width: 100%; justify-self: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
.roof { stroke-width: 10; stroke-linecap: square; }
.roof-1 { stroke: var(--roof-gold); }
.roof-2 { stroke: var(--roof-blue); stroke-width: 7; }
.roof-3 { stroke: var(--roof-gold); stroke-width: 5; }
.ground { stroke: var(--roof-blue); stroke-width: 2; }
.window rect { fill: var(--roof-gold); }
@media (max-width: 959px) { .hero-art { display: none; } }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 0;
}
.card p { color: var(--muted); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--gold-text);
  background: var(--bg-tint);
}
@media (min-width: 640px) { .card--feature { grid-column: span 2; } }
@media (min-width: 1024px) {
  .card--feature {
    grid-column: span 2;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: start;
    background: var(--bg-tint);
  }
  .card--feature .card-icon { grid-row: span 2; background: var(--surface); }
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 28px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: .5;
}
.step:last-child::before { display: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
  color: var(--gold-text);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-md);
  font-variant-numeric: tabular-nums;
}
.step-body { display: grid; gap: 4px; padding-top: 8px; }
.step-body p { color: var(--muted); }

@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .step { grid-template-columns: 1fr; gap: 16px; padding-bottom: 0; }
  .step::before {
    top: 23px;
    bottom: auto;
    inset-inline-start: 64px;
    inset-inline-end: -16px;
    width: auto;
    height: 2px;
  }
  .step:last-child::before { display: none; }
  .step-body { padding-top: 0; }
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  gap: 28px 32px;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.why .icon { color: var(--gold-text); margin-top: 4px; }
.why div { display: grid; gap: 4px; }
.why p { color: var(--muted); }

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
}
.about-copy { display: grid; gap: 1rem; min-width: 0; }
.about-text { font-size: var(--fs-md); max-width: 62ch; }
.mission {
  margin: .5rem 0 0;
  padding-block: 4px;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--gold);
  display: grid;
  gap: 4px;
}
.mission p:last-child { font-size: var(--fs-md); color: var(--heading); font-weight: 600; }
.mission-label { color: var(--gold-text); font-weight: 700; font-size: var(--fs-sm); }

.facts {
  margin: 0;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.facts div { display: grid; gap: 2px; padding: 18px 22px; }
.facts div + div { border-top: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: var(--fs-sm); }
.facts dd { margin: 0; font-weight: 600; color: var(--heading); }
.facts dd.num { font-size: var(--fs-lg); letter-spacing: .04em; text-align: start; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card--wa { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: 1.05fr 1fr 1fr; }
  .contact-card--wa { grid-column: auto; }
}
.contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 0;
}
.contact-card--wa {
  background: var(--panel);
  color: var(--panel-text);
  border-color: transparent;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.contact-card--wa h3 { color: var(--panel-text); font-size: var(--fs-lg); }
.contact-card--wa p { color: var(--panel-muted); }
.contact-card--wa .icon-xl { color: var(--panel-text); }
.contact-card--wa .btn { justify-self: start; position: relative; z-index: 1; }
.big-number {
  font-family: var(--font-en);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--panel-text) !important;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-align: start;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
}
.card-title .icon { color: var(--gold-text); }
.card-title--spaced { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.muted { color: var(--muted); font-size: var(--fs-sm); }

.copy-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.value-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}
@media (max-width: 399px) {
  .contact-card { padding: 20px 16px; }
  .value-link { font-size: 0.875rem; }
  .copy-btn { width: 40px; }
}
.copy-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--border); color: var(--brand-text); }
.copy-btn .icon { width: 20px; height: 20px; }
.copy-btn.is-copied { color: var(--success); }
.copy-tip {
  position: absolute;
  bottom: calc(100% + 4px);
  inset-inline-end: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--heading);
  color: var(--bg);
  font-size: var(--fs-xs);
  white-space: nowrap;
  pointer-events: none;
}

.email-list { display: grid; gap: 6px; }
.email-list li { display: grid; gap: 0; }
.email-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }

address { font-style: normal; }

.social-list { display: grid; gap: 8px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}
.social-link:hover { border-color: var(--gold); color: var(--brand-text); }
.social-link .icon { color: var(--gold-text); }

/* ---------- Form ---------- */
.form-panel {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
@media (min-width: 1024px) {
  .form-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px; }
}
.form-intro { display: grid; gap: 8px; align-content: start; }
.form-intro h3 { font-size: var(--fs-lg); }
.form-intro p { color: var(--muted); }

.request-form {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .request-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .field--full, .form-summary { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--heading); }
.req { color: var(--error); }
.hint { font-size: var(--fs-xs); color: var(--muted); margin-top: -4px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
input:hover, select:hover, textarea:hover { border-color: var(--gold); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--fs-sm); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.form-summary {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--error-bg);
  color: var(--error);
  font-weight: 600;
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { color: var(--success); font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
  padding-top: 3.5rem;
  /* room so the floating WhatsApp button never covers footer links */
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .logo { width: 150px; }
.footer-brand p { color: var(--muted); max-width: 42ch; }
.footer-social { display: flex; gap: 8px; }
.footer-title { font-size: var(--fs-base); margin-bottom: 8px; color: var(--heading); }
.team-card { margin-block-start: 16px; }
.team-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 16px 0 0; padding: 0; }
.team-member { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.team-member h4, .team-member p { margin: 0; }
.team-wa { align-self: stretch; margin-block-start: auto; }
.footer-links { display: grid; gap: 0; }
.footer-links a {
  display: inline-block; /* not flex: flex drops the space after "WhatsApp:" */
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover { color: var(--brand-text); text-decoration: underline; }
.footer-address { color: var(--muted); padding-top: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-bottom .text-link { color: var(--link); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  z-index: 40;
  inset-inline-end: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 6px 20px rgba(11, 26, 48, .28);
  transition: transform .2s ease, background-color .2s ease;
}
[dir="rtl"] .wa-float { inset-inline-end: calc(16px + env(safe-area-inset-left, 0px)); }
.wa-float:hover { background: var(--primary-hover); transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.7; }

/* ---------- Motion ---------- */
.motion .reveal.is-pending {
  opacity: 0;
  transform: translateY(14px);
}
.motion .reveal {
  transition: opacity .6s ease, transform .6s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal.is-pending { opacity: 1 !important; transform: none !important; }
  a:hover, button:hover { transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .hero-pattern, .request-form, .copy-btn { display: none !important; }
  body { background: #fff; color: #000; }
}
