:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-beige: #f3efe6;
  --hero-bg: #f7f5f0;
  --text: #2a2824;
  --text-muted: #5e5a54;
  --accent-dark: #3d3428;
  --accent-soft: #524a40;
  --gold: #e1c05f;
  --gold-sec: #c9a74d;
  --gold-light: #f0db9a;
  --border: rgba(42, 40, 36, 0.09);
  --border-gold: rgba(225, 192, 95, 0.32);
  --glow-gold: rgba(225, 192, 95, 0.22);
  --radius: 14px;
  --font: "Instrument Sans", system-ui, sans-serif;
  --font-ar: "Noto Sans Arabic", var(--font);
  --header-h: 96px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 3px rgba(42, 40, 36, 0.06);
  --shadow-md: 0 12px 40px rgba(42, 40, 36, 0.08);
  --shadow-card: 0 4px 24px rgba(42, 40, 36, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body,
.rtl {
  font-family: var(--font-ar);
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--gold-sec);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sep {
  color: var(--border);
  opacity: 0.7;
  user-select: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Top strip */
.top-strip {
  background: var(--surface-beige);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.5rem 0;
}

.top-strip a {
  color: var(--accent-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-strip a:hover {
  color: var(--gold);
}

.social-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-row a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-soft);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, color 0.2s;
  box-shadow: var(--shadow-sm);
}

.social-row a:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  background: var(--glow-gold);
  color: var(--gold);
}

.social-row svg {
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.site-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Main nav brand: don’t let flex shrink the logo (same markup on every page via site-chrome.js). */
#chrome-header .site-header .brand {
  flex-shrink: 0;
  min-width: min-content;
}

/* Scope to chrome shell so service-page .svc-logo rules never affect the site logo. */
#chrome-header .site-header .brand .site-logo,
#chrome-header img[data-logo] {
  height: 80px !important;
  width: auto !important;
  max-width: min(340px, 90vw) !important;
  min-height: 80px !important;
  max-height: calc(var(--header-h) - 10px) !important;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--accent-dark);
}

.brand-wordmark span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover {
  color: var(--accent-dark);
  background: var(--glow-gold);
  text-decoration: none;
}

.nav-desktop a.nav-link.is-active {
  color: var(--accent-dark);
  background: var(--glow-gold);
}

.mobile-nav a.nav-link.is-active {
  background: var(--surface-beige);
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-sec));
  color: #fffcf7;
  box-shadow: 0 4px 20px var(--glow-gold);
}

.btn-primary:hover {
  text-decoration: none;
  box-shadow: 0 8px 28px var(--glow-gold);
  color: #fffcf7;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--border-gold);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--glow-gold);
  text-decoration: none;
  color: var(--accent-dark);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1080px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.mobile-nav a:hover {
  background: var(--surface-beige);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, var(--glow-gold), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 40%, rgba(225, 192, 95, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(243, 239, 230, 0.9), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--accent-dark);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.stat {
  min-width: 120px;
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-sec);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.hero-card li {
  margin-bottom: 0.5rem;
}

/* Full-bleed hero carousel (homepage) */
.hero-slider {
  position: relative;
  min-height: min(88vh, 760px);
  padding: 0;
  overflow: hidden;
  background: var(--accent-dark);
}

.hero-slider__slides {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.hero-slider__slide.is-active {
  position: relative;
  flex: 1;
  min-height: min(88vh, 760px);
  opacity: 1;
  visibility: visible;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  background-color: #3d3832;
  background-size: cover;
  background-position: center;
}

.hero-slider__bg--1 {
  background-image:
    linear-gradient(105deg, rgba(42, 40, 36, 0.9) 0%, rgba(42, 40, 36, 0.45) 45%, rgba(225, 192, 95, 0.35) 100%),
    url("../images/hero/slide-1.jpg");
}

.hero-slider__bg--2 {
  background-image:
    linear-gradient(115deg, rgba(61, 52, 40, 0.92) 0%, rgba(42, 40, 36, 0.4) 50%, rgba(243, 239, 230, 0.2) 100%),
    url("../images/hero/slide-2.jpg");
}

.hero-slider__bg--3 {
  background-image:
    linear-gradient(95deg, rgba(42, 40, 36, 0.88) 0%, rgba(225, 192, 95, 0.42) 55%, rgba(42, 40, 36, 0.65) 100%),
    url("../images/hero/slide-3.jpg");
}

.hero-slider__inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  padding: clamp(4rem, 12vw, 6.5rem) 0 clamp(6rem, 14vw, 7.5rem);
}

.hero-slider__inner--split {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: clamp(2.25rem, 6vw, 3.75rem) 0 clamp(3rem, 9vw, 4.5rem);
  box-sizing: border-box;
}

.hero-slider__person {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(52%, 500px);
  max-width: min(52vw, 500px);
  min-width: 0;
  pointer-events: none;
}

.hero-slider__person img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 32px rgba(42, 40, 36, 0.28));
}

.hero-slider__slide.is-active .hero-slider__person img {
  animation: hero-person-in 0.85s var(--ease) both;
}

@keyframes hero-person-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-slider__panel {
  max-width: 36rem;
  margin-inline: auto 0;
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.35rem, 3.5vw, 2rem);
  background: rgba(225, 192, 95, 0.82);
  border: 1px solid rgba(243, 239, 230, 0.35);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 22px 50px rgba(42, 40, 36, 0.35);
  backdrop-filter: blur(4px);
}

.hero-slider__inner--split .hero-slider__panel {
  position: relative;
  z-index: 3;
  margin-inline: auto;
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.hero-slider__inner--split .hero-slider__actions {
  justify-content: center;
}

.hero-slider__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

.hero-slider__lead {
  margin: 0 0 1.25rem;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.hero-slider__panel .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero-slider__panel .eyebrow::before {
  background: rgba(255, 255, 255, 0.72);
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-slider__actions .btn-primary {
  background: #fff;
  color: var(--gold-sec);
  border-color: transparent;
}

.hero-slider__actions .btn-primary:hover {
  background: var(--surface-beige);
}

.hero-slider__actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.hero-slider__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Stacked hero (max-width 1199px): gold panel centred in the middle band; figure anchored to bottom on the background. */
@media (max-width: 1199px) {
  .hero-slider {
    min-height: min(90vh, 800px);
  }

  .hero-slider__inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* Top space, panel, then figure — row 3 is auto so the man sits flush under the gold card (no 1fr gap). */
    grid-template-rows: 1fr auto auto;
    row-gap: 0;
    width: 100%;
    min-height: min(82vh, 720px);
    padding-top: clamp(0.5rem, 2vw, 1rem);
    padding-bottom: clamp(4.25rem, 11vw, 5.5rem);
    padding-left: clamp(0.5rem, 2vw, 1rem);
    padding-right: clamp(0.5rem, 2vw, 1rem);
    isolation: isolate;
    align-items: stretch;
    justify-items: center;
    box-sizing: border-box;
  }

  /* Centre “popup” in the middle (row 2 between two flexible rows) */
  .hero-slider__inner--split .hero-slider__panel {
    grid-column: 1;
    grid-row: 2;
    place-self: center;
    z-index: 6;
    width: min(100%, 36rem);
    margin: 0;
    text-align: center;
  }

  /* Figure directly under the panel (same visual block as the gold “popup”) */
  .hero-slider__inner--split .hero-slider__person {
    grid-column: 1;
    grid-row: 3;
    place-self: start center;
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    top: auto;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .hero-slider__inner--split .hero-slider__person img {
    display: block;
    max-height: min(34vh, 280px);
    width: auto;
    max-width: min(100%, 260px);
    margin: 0 auto;
    object-fit: contain;
    object-position: bottom center;
  }

  .hero-slider__inner--split .hero-slider__actions {
    justify-content: center;
  }

  .hero-slider__slide.is-active .hero-slider__person img {
    animation: none;
  }

  .hero-slider__arrow {
    z-index: 8;
  }
}

@media (max-width: 480px) {
  .hero-slider__person img {
    max-height: min(32vh, 260px);
    max-width: min(100%, 220px);
  }
}

.hero-slider__arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(250, 249, 246, 0.18);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__arrow:hover {
  background: rgba(250, 249, 246, 0.32);
  transform: scale(1.04);
}

.hero-slider__arrow--prev {
  left: clamp(0.5rem, 2vw, 1rem);
}

.hero-slider__arrow--next {
  right: clamp(0.5rem, 2vw, 1rem);
}

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.25rem, 4vw, 2.25rem);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.hero-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s, background 0.2s;
}

.hero-slider__dot.is-active {
  background: var(--gold-light);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .hero-slider__panel {
    margin-inline: 0;
  }

  .hero-slider__dots {
    bottom: clamp(1rem, 3.5vw, 1.75rem);
  }

  .hero-slider__arrow {
    width: 38px;
    height: 38px;
    top: 38%;
  }
}

@media (max-width: 639px) {
  .hero-slider {
    min-height: min(82vh, 700px);
  }

  .hero-slider__arrow {
    top: 22%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  /* Hide carousel dots so the figure can sit flush above the next section */
  .hero-slider__dots {
    display: none;
  }

  .hero-slider__inner--split {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    padding-bottom: clamp(1rem, 4vw, 1.75rem);
  }

  /* Nudge figure a touch left so it lines up with the section below */
  .hero-slider__inner--split .hero-slider__person img {
    transform: translateX(-0.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide {
    transition: none;
  }
}

/* Service icons (flip cards + detail list) + optional logos */
.svc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
}

.svc-logo {
  display: none;
  width: 100%;
  height: 100%;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
}

.svc-logo.is-loaded {
  display: block;
}

.svc-visual.has-logo .svc-icon {
  display: none;
}

.svc-visual .svc-icon {
  margin-bottom: 0;
}

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
}

.svc-icon svg {
  width: clamp(36px, 9vw, 48px);
  height: clamp(36px, 9vw, 48px);
}

.service-detail-card .svc-icon {
  margin-bottom: 0;
}

.service-detail-card .svc-visual {
  margin-bottom: 0;
  align-self: center;
  width: clamp(84px, 14vw, 120px);
  height: clamp(84px, 14vw, 120px);
}

.service-detail-card .svc-logo {
  max-width: 120px;
  max-height: 120px;
}

@media (min-width: 900px) {
  .service-detail-card .svc-visual {
    width: min(128px, 10vw);
    height: min(128px, 10vw);
  }

  .service-detail-card .svc-logo {
    max-width: 128px;
    max-height: 128px;
  }
}

/* Home “Our services” flip cards — bigger logos on large screens */
.service-face--front .svc-visual {
  width: clamp(80px, 22vw, 112px);
  height: clamp(80px, 22vw, 112px);
  margin-bottom: 0.75rem;
}

.service-face--front .svc-logo.is-loaded {
  max-width: 112px;
  max-height: 112px;
}

@media (min-width: 900px) {
  .service-face--front .svc-visual {
    width: min(120px, 26vw);
    height: min(120px, 26vw);
    margin-bottom: 0.85rem;
  }

  .service-face--front .svc-logo.is-loaded {
    max-width: 120px;
    max-height: 120px;
  }

  .service-face--front .svc-icon svg {
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 1200px) {
  .service-face--front .svc-visual {
    width: 128px;
    height: 128px;
  }

  .service-face--front .svc-logo.is-loaded {
    max-width: 128px;
    max-height: 128px;
  }
}

/* Home services grid — mobile: tighter cards, centered intro, less empty space */
@media (max-width: 639px) {
  #services .section-head {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1.35rem;
    max-width: 100%;
  }

  #services .section-head p {
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 26rem;
    margin-inline: auto;
  }

  .service-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 0;
  }

  .service-card-inner {
    min-height: 148px;
  }

  .service-face {
    justify-content: flex-start;
    padding: 0.85rem 0.5rem 0.75rem;
  }

  #services .service-face--front .svc-visual {
    width: min(92px, 36vw);
    height: min(92px, 36vw);
    margin-bottom: 0.45rem;
  }

  #services .service-face--front .svc-logo.is-loaded {
    max-width: 92px;
    max-height: 92px;
  }

  #services .service-face--front .svc-icon svg {
    width: min(40px, 15vw);
    height: min(40px, 15vw);
  }

  .service-face h3 {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-alt {
  background: var(--surface-beige);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Why us */
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glow-gold);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--accent-dark);
}

.why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Services — home flip cards: auto columns on larger screens, 2 columns on mobile only */
.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.service-card {
  perspective: 1000px;
  min-height: 200px;
}

.service-card-inner {
  position: relative;
  height: 100%;
  min-height: 200px;
  transition: transform 0.65s var(--ease);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner {
  transform: rotateY(180deg);
}

.service-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.service-face--front {
  background: var(--surface);
}

.service-face--back {
  background: linear-gradient(155deg, var(--surface-beige) 0%, var(--gold-light) 120%);
  color: var(--accent-dark);
  transform: rotateY(180deg);
  font-size: 0.92rem;
  line-height: 1.5;
  border-color: var(--border-gold);
}

.service-face h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-face--front h3 {
  color: var(--accent-dark);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.65rem;
}

.service-face--back p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service-card-inner {
    transition: none;
    transform: none !important;
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .service-card:hover .service-card-inner,
  .service-card:focus-within .service-card-inner {
    transform: none !important;
  }
  .service-face {
    position: relative;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
    min-height: auto;
  }
  .service-face--front {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .service-face--back {
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -1px;
  }
}

/* About + video */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-beige);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Media center */
.media-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.media-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}

.media-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--accent-dark);
}

.media-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.media-card .more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
}

.media-card .more:hover {
  color: var(--gold-sec);
}

/* Partners */
.partners-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.partners-band p {
  margin: 0 auto 1.25rem;
  max-width: 560px;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--glow-gold);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.hours {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hours h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent-dark);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
  border-color: var(--border-gold);
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: min(380px, 50vh);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
  background: var(--accent-dark);
  color: #faf9f6;
}

.site-footer .brand-wordmark {
  color: #faf9f6;
}

.site-footer .brand-wordmark span {
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(250, 249, 246, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.55);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inner pages */
.page-shell {
  background: var(--bg);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}

.page-hero .lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.prose {
  max-width: 46rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text);
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--accent-dark);
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent-soft);
}

.service-detail-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 0;
}

.service-detail-card > div {
  min-width: 0;
  width: 100%;
}

.service-detail-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(0.82rem, 1.35vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1.25;
}

.service-detail-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 639px) {
  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .service-detail-card {
    padding: 1rem 0.65rem 1.05rem;
    gap: 0.6rem;
  }

  .service-detail-card .svc-visual {
    width: min(100px, 42vw);
    height: min(100px, 42vw);
  }

  .service-detail-card .svc-logo {
    max-width: 100px;
    max-height: 100px;
  }

  .service-detail-card .svc-icon svg {
    width: clamp(32px, 14vw, 40px);
    height: clamp(32px, 14vw, 40px);
  }

  .service-detail-card h3 {
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }

  .service-detail-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

.pdf-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.pdf-list li {
  margin-bottom: 0.5rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--border-gold);
  background: var(--surface-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.partner-logo-grid {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.partner-logo-cell {
  width: 100%;
  max-width: 280px;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: var(--shadow-sm);
}

.partner-logo-cell img {
  width: 100%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.range-value {
  font-weight: 700;
  color: var(--gold);
}
