/* ==================================================================
   THEME VARIABLES (overwritten at runtime from siteConfig.colors)
================================================================== */
:root {
  --color-primary: #b91c1c;
  --color-primary-dark: #7f1d1d;
  --color-primary-light: #fee2e2;
  --color-secondary: #0f172a;
  --color-secondary-light: #374151;
  --color-accent: #d4a017;
  --color-background: #ffffff;
  --color-background-soft: #f8fafc;
  --color-background-dark: #0b1220;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #ffffff;
  --color-card-background: #ffffff;
  --color-border: #e5e7eb;
  --color-navbar-background: #ffffff;
  --color-navbar-text: #0f172a;
  --color-navbar-transparent-text: #ffffff;
  --color-button-primary-background: #b91c1c;
  --color-button-primary-text: #ffffff;
  --color-button-secondary-background: transparent;
  --color-button-secondary-text: #ffffff;
  --color-button-secondary-border: #ffffff;
  --color-overlay-dark: rgba(0, 0, 0, 0.6);
  --color-whatsapp: #25d366;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.35);
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Playfair Display", "Inter", serif;
  --font-arabic: "Tajawal", "Cairo", system-ui, sans-serif;
}
/* ==================================================================
   DARK THEME — palette variables come from JS (buildPalette).
   These rules cover component-level adjustments that aren't driven
   by CSS variables alone (translucent surfaces, color-shifts, etc.).
================================================================== */
html[data-theme="dark"] body {
  color-scheme: dark;
}
html[data-theme="dark"] .navbar.solid {
  background: var(--color-primary);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .lang-btn,
html[data-theme="dark"] .navbar.solid .lang-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}
html[data-theme="dark"] .lang-btn:hover,
html[data-theme="dark"] .navbar.solid .lang-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
html[data-theme="dark"] .tb-theme {
  background: rgba(255, 255, 255, 0.08);
}
/* Cards / surfaces in dark mode get a subtle inner sheen instead of a hard border */
html[data-theme="dark"] .card,
html[data-theme="dark"] .contact-info,
html[data-theme="dark"] .brand-item {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.7);
}
html[data-theme="dark"] .contact-buttons .btn-soft {
  background: var(--color-card-background);
  color: var(--color-text);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 22px -16px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .contact-buttons .btn-soft:hover {
  background: var(--color-background-soft);
}
html[data-theme="dark"] .btn-outline {
  background: var(--color-background-soft);
  color: var(--color-text);
}
/* Drawer surface gets a deeper background to feel premium in dark mode */
html[data-theme="dark"] .nav-drawer {
  background: var(--color-card-background);
}
/* Scroll indicator in hero — keep it visible on a dark navbar */
html[data-theme="dark"] .navbar.transparent .nav-toggle,
html[data-theme="dark"] .navbar.transparent .nav-link,
html[data-theme="dark"] .navbar.transparent .nav-brand,
html[data-theme="dark"] .navbar.transparent .lang-btn {
  color: #fff;
}
/* Suppress transitions until the first paint to avoid drawer/theme flicker */
html.no-transitions *,
html.no-transitions *::before,
html.no-transitions *::after {
  transition: none !important;
  animation: none !important;
}
/* ==================================================================
   BASE
================================================================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* The root element is the real scroll container on mobile, so the
     horizontal-overflow guard must live here too (body alone can't clip
     fixed/off-canvas boxes whose containing block is the viewport).
     `clip` avoids making <html> a scroll container — which would break
     position: sticky — with `hidden` as the fallback for old browsers. */
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
html[dir="rtl"] body {
  font-family: var(--font-arabic);
  line-height: 1.85;
}
img {
  max-width: 100%;
  display: block;
}
/* A switched-off section never takes space, whatever display its layout uses. */
.top-bar[hidden],
.whatsapp-float[hidden],
main > section[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--color-text);
  font-weight: 700;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-weight: 700;
}
::selection {
  background: var(--color-primary);
  color: #fff;
}
/* ---------- ACCESSIBILITY ---------- */
/* Skip link — visually hidden until focused, then slides into view */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 2000;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: none;
}
/* Visible keyboard focus ring on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 6px;
}
/* ==================================================================
   TOP BAR (above navbar — call + WhatsApp + social media)
================================================================== */
:root {
  --topbar-h: 40px;
  --navbar-h: 76px;
}
.top-bar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--topbar-h);
  z-index: 101;
  /* A deep brand band — sits between the mid-dark secondary and the near-black
     footer token, so it reads dark but not pitch black. Both are primary-derived. */
  background: color-mix(in srgb, var(--color-secondary) 45%, var(--color-background-dark));
  color: #e2e8f0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}
.top-bar.hidden-up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.top-bar-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  font-weight: 500;
}
.top-bar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.top-bar a.tb-social {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
}
.top-bar svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.top-bar a.tb-social svg {
  width: 14px;
  height: 14px;
}
.top-bar .tb-text {
  direction: ltr;
}
/* Theme toggle button (lives in the top bar) */
.tb-theme {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #e2e8f0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  margin-inline-start: 0.35rem;
}
.tb-theme:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}
.tb-theme svg {
  width: 16px;
  height: 16px;
}
.tb-theme .icon-sun {
  display: none;
}
.tb-theme .icon-moon {
  display: inline-flex;
}
html[data-theme="dark"] .tb-theme .icon-sun {
  display: inline-flex;
}
html[data-theme="dark"] .tb-theme .icon-moon {
  display: none;
}
@media (max-width: 700px) {
  .top-bar {
    height: 36px;
    font-size: 0.78rem;
  }
  .top-bar-container {
    padding: 0 0.85rem;
  }
  .top-bar a {
    padding: 0.3rem 0.55rem;
  }
  .top-bar a.tb-social {
    width: 28px;
    height: 28px;
  }
  .top-bar .tb-label {
    display: none;
  }
}
/* ==================================================================
   NAVBAR
================================================================== */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease,
    top 0.4s ease,
    backdrop-filter 0.4s ease;
  padding: 1rem 0;
}
body.no-topbar .navbar {
  top: 0;
}
.navbar.topbar-hidden {
  top: 0;
}
.navbar.transparent {
  background: transparent;
}
.navbar.transparent .nav-link,
.navbar.transparent .nav-brand,
.navbar.transparent .lang-btn,
.navbar.transparent .nav-toggle {
  color: var(--color-navbar-transparent-text);
}
.navbar.solid {
  background: var(--color-primary);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 0.55rem 0;
}
.navbar.solid .nav-link,
.navbar.solid .nav-brand,
.navbar.solid .lang-btn,
.navbar.solid .nav-toggle {
  color: var(--color-on-primary);
}
.navbar.solid .nav-link::after {
  background: var(--color-on-primary);
}
.navbar.solid .nav-link:hover {
  color: var(--color-on-primary);
  opacity: 0.85;
}
.navbar.solid .lang-btn {
  background: var(--color-on-primary-border);
  color: var(--color-on-primary);
}
.navbar.solid .lang-btn:hover {
  background: var(--color-on-primary);
  color: var(--color-primary);
}
/* ----- Alternate style: neutral light/dark surface (settings.navbarStyle = "default") */
.navbar.navbar-style-default.solid {
  background: var(--color-card-background);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.navbar.navbar-style-default.solid .nav-link,
.navbar.navbar-style-default.solid .nav-brand,
.navbar.navbar-style-default.solid .lang-btn,
.navbar.navbar-style-default.solid .nav-toggle {
  color: var(--color-navbar-text);
}
.navbar.navbar-style-default.solid .nav-link::after {
  background: var(--color-primary);
}
.navbar.navbar-style-default.solid .nav-link:hover {
  color: var(--color-primary);
  opacity: 1;
}
.navbar.navbar-style-default.solid .lang-btn {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-navbar-text);
}
.navbar.navbar-style-default.solid .lang-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
/* Dark mode: a translucent, primary-tinted glass navbar. The surface is the
   primary-derived navbar token made semi-transparent so the backdrop blur
   shows through, with a faint primary glow underneath. Changing
   theme.primary re-tints all of it. */
html[data-theme="dark"] .navbar.navbar-style-default.solid {
  background: color-mix(in srgb, var(--color-navbar-background) 80%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 8px 30px -6px rgba(0, 0, 0, 0.55),
    0 2px 18px -8px color-mix(in srgb, var(--color-primary) 60%, transparent);
}
html[data-theme="dark"] .navbar.navbar-style-default.solid .lang-btn {
  background: rgba(255, 255, 255, 0.08);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.nav-brand img {
  height: 50px;
  width: auto;
  transition: height 0.4s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}
.navbar.solid.shrink .nav-brand img {
  height: 38px;
}
.nav-brand-mobile {
  display: none;
} /* shown only on mobile */
.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
}
.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  color: inherit;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--color-primary);
}
/* Language switcher (desktop = text pill, mobile = flag-only circle) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: inherit;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.navbar.solid .lang-btn {
  background: rgba(0, 0, 0, 0.05);
}
.lang-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}
.lang-btn .lang-flag {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
/* Flag icons (SVG file or inline SVG). Emoji flags don't render on Windows,
   so the switcher uses image/SVG flags — sized relative to the button text. */
.lang-btn .lang-flag svg,
.lang-btn .lang-flag .lang-flag-img {
  width: 1.4em;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.lang-btn .lang-text {
  font-weight: 600;
}
/* When the slot renders a theme toggle (only one language enabled) */
.lang-btn.mode-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}
.lang-btn.mode-btn svg {
  width: 18px;
  height: 18px;
}
.lang-btn.mode-btn .icon-sun {
  display: none;
}
.lang-btn.mode-btn .icon-moon {
  display: inline-flex;
}
html[data-theme="dark"] .lang-btn.mode-btn .icon-sun {
  display: inline-flex;
}
html[data-theme="dark"] .lang-btn.mode-btn .icon-moon {
  display: none;
}
/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  color: inherit;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ==================================================================
   MOBILE NAV LAYOUT (≤ 960px)
================================================================== */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }
  .nav-brand-desktop {
    display: none;
  }
  .nav-menu-desktop {
    display: none;
  }
  .nav-brand-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-decoration: none;
  }
  .nav-brand-mobile img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    transition: height 0.4s ease;
  }
  .navbar.solid .nav-brand-mobile img {
    height: 44px;
  }
  .nav-container {
    padding: 0 1rem;
  }
  /* Show only the flag on mobile language button */
  .lang-btn .lang-text {
    display: none;
  }
  .lang-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .lang-btn .lang-flag {
    font-size: 1.15rem;
  }
  .lang-btn .lang-flag svg,
  .lang-btn .lang-flag .lang-flag-img {
    width: 1.6em;
  }
}
/* ==================================================================
   PAGE OVERLAY (when mobile drawer is open)
================================================================== */
.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 110;
}
.page-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================================
   MOBILE DRAWER MENU
================================================================== */
/* Drawer side rule:
   - English (LTR) -> drawer enters from the LEFT edge
   - Arabic  (RTL) -> drawer enters from the RIGHT edge
   We use physical positioning per direction so the slide-in feel
   matches the user's reading flow.                                  */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  height: 100vh;
  width: 84%;
  max-width: 340px;
  background: var(--color-navbar-background);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.18);
}
html[dir="rtl"] .nav-drawer {
  left: auto;
  right: 0;
  transform: translateX(110%);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
}
.nav-drawer.open {
  transform: translateX(0) !important;
}
.nav-drawer-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.nav-drawer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
  width: 100%;
}
.nav-drawer-brand img {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}
.nav-drawer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--color-text);
  line-height: 1.2;
}
html[dir="rtl"] .nav-drawer-brand span {
  font-family: var(--font-arabic);
}
.drawer-close {
  position: absolute;
  top: 0.6rem;
  inset-inline-end: 0.7rem;
  background: transparent;
  border: 0;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.drawer-close:hover {
  background: var(--color-background-soft);
  color: var(--color-primary);
}
.nav-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0;
  flex: 1 1 auto;
  overflow-y: auto;
}
.nav-drawer-menu li {
  padding: 0;
}
.nav-drawer-menu .nav-link {
  display: block;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
  border-inline-start: 3px solid transparent;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    padding 0.25s ease;
}
.nav-drawer-menu .nav-link::after {
  display: none;
}
.nav-drawer-menu .nav-link:hover,
.nav-drawer-menu .nav-link.active {
  background: var(--color-background-soft);
  color: var(--color-primary);
  border-inline-start-color: var(--color-primary);
}
.nav-drawer-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.drawer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.drawer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--color-background-soft);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.drawer-social a svg {
  width: 16px;
  height: 16px;
}
.drawer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.drawer-lang .lang-btn {
  background: var(--color-background-soft);
  color: var(--color-text);
  border: 0;
}
.drawer-lang .lang-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.drawer-lang .lang-btn .lang-text {
  display: inline;
}
.drawer-lang .lang-btn {
  width: auto;
  height: auto;
  padding: 0.45rem 0.95rem;
}
/* ==================================================================
   HERO
================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  overflow: hidden;
  /* Cross-browser parallax (iOS-safe).
     `clip-path` confines the fixed `.hero-bg` child to the hero box without
     creating a new containing block (which would break `position: fixed`).
     `isolation: isolate` keeps the bg's negative z-index inside this section. */
  clip-path: inset(0);
  isolation: isolate;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.65) 100%),
    rgba(0, 0, 0, var(--hero-overlay-opacity, 0.5));
}
/* Primary-tinted dark overlay — matches the Statistics section vibe.
   Activated by hero.overlayStyle: "primary" in config. Honors --hero-overlay-opacity. */
.hero.hero-overlay-primary .hero-overlay {
  background:
    radial-gradient(
      900px 480px at 15% 15%,
      color-mix(in srgb, var(--color-primary) 55%, #000),
      transparent 60%
    ),
    radial-gradient(
      800px 460px at 85% 85%,
      color-mix(in srgb, var(--color-primary) 35%, #000),
      transparent 60%
    ),
    color-mix(in srgb, var(--color-primary) 22%, var(--color-background-dark));
  opacity: var(--hero-overlay-opacity, 0.85);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 7rem 1.5rem 3rem;
}
@media (max-width: 700px) {
  .hero-content {
    padding: 6rem 1rem 2.5rem;
  }
}
.hero-logo {
  height: 100px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  color: var(--color-text-light);
  margin: 0 0 1.1rem;
  line-height: 1.15;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.hero p {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  opacity: 0.95;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* ==================================================================
   BUTTONS
================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.btn-primary {
  background: var(--color-button-primary-background);
  color: var(--color-button-primary-text);
  box-shadow: 0 8px 22px -12px var(--color-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px var(--color-primary);
  background: var(--color-primary-dark);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-button-secondary-text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-button-secondary-text);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--color-background-soft);
  color: var(--color-text);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -12px rgba(15, 23, 42, 0.18);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px -12px var(--color-whatsapp);
}
.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px var(--color-whatsapp);
}
/* ==================================================================
   SECTIONS
================================================================== */
section {
  padding: 6.5rem 1.5rem;
}
@media (max-width: 700px) {
  section {
    padding: 4rem 1rem;
  }
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin: 0 0 0.75rem;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 999px;
}
.section-title p {
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 1.6rem auto 0;
  font-size: 1.02rem;
}
/* ==================================================================
   ABOUT
================================================================== */
.about {
  background: var(--color-background-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset-inline-start: -18px;
  bottom: -18px;
  width: 60%;
  height: 60%;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-image {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  z-index: 1;
}
.about-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin: 0 0 1.25rem;
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.about-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-wrap::before {
    display: none;
  }
}
/* ==================================================================
   CARD GRID (services + products)
================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--color-card-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-background-soft);
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-image {
  transform: scale(1.07);
}
.card-body {
  padding: 1.6rem 1.6rem 1.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}
.card-body p {
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.96rem;
  flex: 1;
}
.card .btn {
  align-self: flex-start;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}
html[dir="rtl"] .card .btn {
  align-self: flex-end;
}
/* ==================================================================
   TEAM — elegant circular portrait cards
================================================================== */
.team {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(
      1200px 400px at 50% -10%,
      rgba(0, 0, 0, 0.04),
      transparent 60%
    ),
    var(--color-background);
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .team {
  background:
    radial-gradient(
      1200px 400px at 50% -10%,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    ),
    var(--color-background);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 5rem 1.75rem; /* large vertical gap to make room for the overlapping circle */
  margin-top: 5.5rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 1rem;
}
.team-card {
  position: relative;
  background: var(--color-card-background);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 4.5rem 1.6rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  isolation: isolate;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    160deg,
    var(--color-primary) 0%,
    transparent 35%,
    transparent 65%,
    var(--color-primary) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  border-color: transparent;
}
.team-card:hover::before {
  opacity: 1;
}
html[data-theme="dark"] .team-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}
/* Circular portrait — overlaps the top of the card */
.team-photo {
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-background-soft);
  box-shadow:
    0 0 0 4px var(--color-card-background),
    0 8px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease;
}
.team-photo::after {
  /* Subtle gradient ring behind the avatar — appears on hover */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    var(--color-primary),
    transparent 35%,
    transparent 65%,
    var(--color-primary)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-card:hover .team-photo {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 4px var(--color-card-background),
    0 14px 32px rgba(0, 0, 0, 0.18);
}
.team-card:hover .team-photo::after {
  opacity: 1;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-card:hover .team-photo img {
  transform: scale(1.07);
}
.team-photo-empty {
  background: linear-gradient(
    135deg,
    var(--color-background-soft),
    var(--color-card-background)
  );
}
.team-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.team-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.2px;
}
.team-role {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.team-role::after {
  /* Decorative divider under the role */
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0.7rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
}
.team-bio {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 32ch;
}
.team-social {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.team-social a svg {
  width: 15px;
  height: 15px;
}
.team-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 5rem 1rem;
    max-width: 360px;
  }
  .team-card {
    padding: 4.25rem 1.25rem 1.5rem;
  }
}
/* ==================================================================
   STATS / ACHIEVEMENTS — dark primary background, borderless cards
================================================================== */
.stats {
  position: relative;
  padding: 5.5rem 0;
  /* Deep, primary-derived gradient base. Every tone is a color-mix of
     --color-primary, so re-theming the brand color re-themes this section. */
  background:
    radial-gradient(
      1100px 560px at 12% 12%,
      color-mix(in srgb, var(--color-primary) 42%, transparent),
      transparent 62%
    ),
    radial-gradient(
      950px 520px at 88% 90%,
      color-mix(in srgb, var(--color-primary) 30%, transparent),
      transparent 60%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--color-primary) 32%, var(--color-background-dark)),
      color-mix(in srgb, var(--color-primary) 12%, var(--color-background-dark)) 55%,
      var(--color-background-dark)
    );
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
/* Floating, blurred colour blobs. `screen` blending lets the overlapping
   primary tints melt together into soft luminous gradients on the dark base. */
.stats-blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(90px);
  mix-blend-mode: screen;
  will-change: transform;
  animation: statsBlobFloat 20s ease-in-out infinite alternate;
}
.stats-blob.b1 {
  /* Pure primary — top-left anchor */
  width: 460px;
  height: 460px;
  top: -130px;
  left: -110px;
  background: var(--color-primary);
  opacity: 0.7;
  animation-duration: 22s;
}
.stats-blob.b2 {
  /* Bright pastel highlight — bottom-right */
  width: 500px;
  height: 500px;
  bottom: -160px;
  right: -120px;
  background: color-mix(in srgb, var(--color-primary) 55%, #ffffff);
  opacity: 0.5;
  animation-duration: 26s;
  animation-direction: alternate-reverse;
  animation-delay: -6s;
}
.stats-blob.b3 {
  /* Auto-derived accent hue — centre-right */
  width: 400px;
  height: 400px;
  top: 24%;
  left: 56%;
  background: var(--color-accent);
  opacity: 0.45;
  animation-duration: 24s;
  animation-delay: -11s;
}
.stats-blob.b4 {
  /* Deep saturated primary — lower-left */
  width: 360px;
  height: 360px;
  bottom: -60px;
  left: 18%;
  background: color-mix(in srgb, var(--color-primary) 78%, var(--color-background-dark));
  opacity: 0.55;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
  animation-delay: -3s;
}
.stats-blob.b5 {
  /* Soft lifted primary — upper-right glow */
  width: 320px;
  height: 320px;
  top: -80px;
  right: 22%;
  background: color-mix(in srgb, var(--color-primary) 40%, #ffffff);
  opacity: 0.4;
  animation-duration: 19s;
  animation-delay: -8s;
}
@keyframes statsBlobFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(46px, -34px) scale(1.12) rotate(8deg);
  }
  66% {
    transform: translate(-28px, 30px) scale(0.92) rotate(-6deg);
  }
  100% {
    transform: translate(24px, 18px) scale(1.05) rotate(4deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats-blob {
    animation: none;
  }
}
/* A faint grain/vignette keeps edges rich without hiding the colour. */
.stats-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 40%,
    transparent 55%,
    color-mix(in srgb, var(--color-background-dark) 70%, transparent) 100%
  );
}
/* Section title sits on dark bg */
.stats .section-title h2,
.stats .section-title p {
  color: #fff;
}
.stats .section-title p {
  opacity: 0.85;
}
.stats > .container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-top: 2.75rem;
  max-width: 1100px;
  margin-inline: auto;
}
/* Borderless, transparent cards — just the numbers floating on the dark bg */
.stat-card {
  position: relative;
  text-align: center;
  padding: 1.25rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: transparent;
}
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 0.4rem;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.35s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.stat-card:hover .stat-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(255, 255, 255, 0.18);
}
.stat-icon svg {
  width: 26px;
  height: 26px;
}
.stat-value-wrap {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.stat-prefix,
.stat-suffix {
  color: #fff;
  opacity: 0.75;
  font-size: 0.6em;
  font-weight: 700;
}
.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@media (max-width: 540px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stat-card {
    padding: 1rem 0.5rem;
  }
  .stat-icon {
    width: 48px;
    height: 48px;
  }
  .stat-icon svg {
    width: 22px;
    height: 22px;
  }
}
/* ==================================================================
   MULTI-SLIDE GALLERY
================================================================== */
.slider-section {
  background: var(--color-background);
}
.slider {
  position: relative;
  margin: 0 auto;
  padding: 0 4rem;
}
.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.slider-slide {
  flex: 0 0 calc(100% / var(--slides-visible, 3));
  padding: 0 8px;
  box-sizing: border-box;
}
.slider-slide-inner {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-background-soft);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.slider-slide-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.slider-slide-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.slider-slide-inner:hover::after {
  opacity: 1;
}
.slider-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.slider-slide-inner:hover img {
  transform: scale(1.06);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-card-background);
  color: var(--color-secondary);
  border: 1px solid var(--color-border);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  z-index: 2;
}
.slider-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.06);
}
.slider-arrow.prev {
  left: 0;
}
.slider-arrow.next {
  right: 0;
}
html[dir="rtl"] .slider-arrow.prev {
  left: auto;
  right: 0;
}
html[dir="rtl"] .slider-arrow.next {
  right: auto;
  left: 0;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-border);
  border: 0;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    width 0.3s ease;
}
.slider-dot.active {
  background: var(--color-primary);
  width: 28px;
}
@media (max-width: 768px) {
  .slider {
    padding: 0 2.5rem;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .slider {
    padding: 0 0.25rem;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .slider-arrow.prev {
    left: -4px;
  }
  .slider-arrow.next {
    right: -4px;
  }
  html[dir="rtl"] .slider-arrow.prev {
    left: auto;
    right: -4px;
  }
  html[dir="rtl"] .slider-arrow.next {
    right: auto;
    left: -4px;
  }
}
/* ==================================================================
   BRANDS
================================================================== */
.brands {
  background: var(--color-background-soft);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.brand-item {
  background: var(--color-card-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  min-height: 130px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.brand-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.85;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}
.brand-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.brand-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
/* ==================================================================
   PARALLAX COMPANY NAME
================================================================== */
.parallax-company {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Same primary-derived gradient backdrop as the Statistics section, with the
     shared .stats-blob floating blobs rendered inside it. */
  background:
    radial-gradient(
      1100px 560px at 12% 12%,
      color-mix(in srgb, var(--color-primary) 42%, transparent),
      transparent 62%
    ),
    radial-gradient(
      950px 520px at 88% 90%,
      color-mix(in srgb, var(--color-primary) 30%, transparent),
      transparent 60%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--color-primary) 32%, var(--color-background-dark)),
      color-mix(in srgb, var(--color-primary) 12%, var(--color-background-dark)) 55%,
      var(--color-background-dark)
    );
  color: var(--color-text-light);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 768px) {
  .parallax-company {
    min-height: 50vh;
  }
}
/* Faint vignette to deepen the edges (matches the stats overlay). */
.parallax-company .overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 40%,
    transparent 55%,
    color-mix(in srgb, var(--color-background-dark) 70%, transparent) 100%
  );
}
.parallax-company .content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}
.parallax-company h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  color: var(--color-text-light);
  margin: 0 0 0.75rem;
  letter-spacing: 3px;
}
.parallax-company p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  opacity: 0.95;
  margin: 0;
}
/* ==================================================================
   CONTACT
================================================================== */
.contact {
  background: var(--color-background);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contact-map {
  width: 100%;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 460px;
}
.contact-info {
  background: var(--color-card-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .contact-info {
    padding: 1.5rem;
  }
}
.contact-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}
.contact-info .subtitle {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-detail:last-of-type {
  border-bottom: 0;
  margin-bottom: 1.25rem;
}
.contact-detail .icon-circle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail .icon-circle svg {
  width: 20px;
  height: 20px;
}
.contact-detail .label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-detail .value {
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
  display: block;
}
.contact-detail .value + .value {
  margin-top: 0.2rem;
}
.contact-detail a.value {
  text-decoration: none;
  transition: color 0.25s ease;
}
.contact-detail a.value:hover {
  color: var(--color-primary);
}
.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
}
.contact-buttons .btn {
  width: 100%;
  padding: 0.78rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-buttons .btn-direction {
  grid-column: 1 / -1;
}
/* Soft, elegant contact action buttons. They share a neutral surface
   and reveal a colored accent on hover, keeping the section calm. */
.contact-buttons .btn-soft {
  background: var(--color-background-soft);
  color: var(--color-text);
  border: 0;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 6px 18px -12px rgba(15, 23, 42, 0.18);
}
.contact-buttons .btn-soft .btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.contact-buttons .btn-soft:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.28);
}
.contact-buttons .btn-soft.is-whatsapp .btn-ico {
  color: var(--color-whatsapp);
}
.contact-buttons .btn-soft.is-whatsapp:hover {
  background: var(--color-whatsapp);
  color: #fff;
}
.contact-buttons .btn-soft.is-whatsapp:hover .btn-ico {
  color: #fff;
}
.contact-buttons .btn-soft.is-waze .btn-ico {
  color: #33ccff;
}
.contact-buttons .btn-soft.is-waze:hover {
  background: #33ccff;
  color: #fff;
}
.contact-buttons .btn-soft.is-waze:hover .btn-ico {
  color: #fff;
}
.contact-buttons .btn-soft.is-maps .btn-ico {
  color: #4285f4;
}
.contact-buttons .btn-soft.is-maps:hover {
  background: #4285f4;
  color: #fff;
}
.contact-buttons .btn-soft.is-maps:hover .btn-ico {
  color: #fff;
}
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map,
  .contact-map iframe {
    min-height: 350px;
  }
}
@media (max-width: 480px) {
  .contact-buttons {
    grid-template-columns: 1fr;
  }
}
/* ==================================================================
   SCROLL-TO-TOP BUTTON
================================================================== */
.scroll-top {
  position: fixed;
  bottom: 24px; /* same distance from the bottom as the WhatsApp float */
  /* Always on the physical right on desktop (even in RTL). Mobile re-centers below. */
  right: 28px;
  inset-inline-end: auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 89;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.scroll-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 600px) {
  .scroll-top {
    bottom: 24px;
    right: auto;
    inset-inline-end: auto;
    left: 50%;
    transform: translate(-50%, 14px);
    width: 44px;
    height: 44px;
  }
  .scroll-top.visible {
    transform: translate(-50%, 0);
  }
  .scroll-top:hover {
    transform: translate(-50%, -2px);
  }
}
/* ==================================================================
   WHATSAPP FLOATING BUTTON
================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--color-whatsapp);
  opacity: 0.5;
  animation: pulseRing 2.2s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
}
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
/* ==================================================================
   FOOTER
================================================================== */
footer.site-footer {
  background: var(--color-background-dark);
  color: #cbd5e1;
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.footer-col h4 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--color-primary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 54px;
  width: auto;
}
.footer-brand strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.footer-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition:
    color 0.25s ease,
    padding 0.25s ease;
  font-size: 0.95rem;
  display: inline-block;
}
.footer-links a::before {
  content: "\203A"; /* › */
  display: inline-block;
  margin-inline-end: 8px;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}
html[dir="rtl"] .footer-links a::before {
  content: "\203A"; /* › in RTL too — same glyph, no flip */
}
.footer-links a:hover {
  color: #fff;
  padding-inline-start: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: #94a3b8;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--color-primary);
}
.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-contact-item a:hover {
  color: #fff;
}
.social-icons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
  text-decoration: none;
}
.social-icons a svg {
  width: 18px;
  height: 18px;
}
.social-icons a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.footer-bottom strong {
  color: #fff;
}
/* Language switcher inside the footer */
.footer-lang {
  margin-bottom: 0.5rem;
}
.footer-lang .lang-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer-lang .lang-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.footer-credit {
  font-size: 0.85rem;
  color: #94a3b8;
}
.footer-credit a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.footer-credit a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ==================================================================
   SCROLL REVEAL ANIMATION (with fade-out on scroll up)
================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.left {
  transform: translateX(-30px);
}
.reveal.right {
  transform: translateX(30px);
}
.reveal.left.visible,
.reveal.right.visible {
  transform: translateX(0);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content > * {
  animation: fadeUp 1s ease both;
}
.hero-content > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.7s;
}
/* RTL polish — directional chevron is handled via content swap above */
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
  html {
    scroll-behavior: auto;
  }
}
/* ==================================================================
   GENERATOR EXTENSIONS
   Responsive hero image, text-only About, image-only / text-only cards,
   image-fit modes, gallery captions, team initials, single-column
   contact. Appended so the original rules above stay untouched.
================================================================== */
/* Hero: the image comes from CSS variables so phones can load the
   smaller variant; without an image the brand gradient shows. */
.hero-bg {
  background-image: var(--hero-bg, none);
}
@media (max-width: 768px) {
  .hero-bg {
    background-image: var(--hero-bg-sm, var(--hero-bg, none));
  }
}
.hero.hero-no-image .hero-bg {
  background-image:
    radial-gradient(1000px 600px at 20% 10%, color-mix(in srgb, var(--color-primary) 70%, transparent), transparent 65%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-background-dark));
}
.hero-content p {
  white-space: normal;
}
/* About without an image: centered single column. */
.about-grid.about-grid--text {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.about-grid--text .about-buttons {
  justify-content: center;
}
/* Cards ---------------------------------------------------------- */
figure.card {
  margin: 0;
}
.card-grid--fit-contain .card-image-wrap {
  background: var(--color-card-background);
}
.card-grid--fit-contain .card-image {
  object-fit: contain;
  padding: 0.75rem;
}
.card-grid--fit-contain .card:hover .card-image {
  transform: scale(1.03);
}
/* Image-only tile: no body, no empty placeholder; optional caption. */
.card.card--image-only {
  position: relative;
  padding: 0;
}
.card--image-only .card-image-wrap {
  aspect-ratio: 4 / 3;
  height: 100%;
}
.card--image-only .card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.card--image-only .card-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 2.25rem 1.1rem 0.95rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}
.card-grid--fit-contain .card--image-only .card-caption {
  position: static;
  padding: 0.85rem 1.1rem 1rem;
  color: var(--color-text);
  background: none;
  border-top: 1px solid var(--color-border);
}
/* Text-only card: an accent edge instead of an empty image box. */
.card.card--text-only {
  border-top: 4px solid var(--color-primary);
}
.card--text-only .card-body {
  padding-top: 1.85rem;
}
.card-grid--text {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
/* Gallery --------------------------------------------------------- */
figure.slider-slide {
  margin: 0;
}
.slider-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.75rem 1rem 0.85rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}
.slider-slide-inner.has-caption::after {
  display: none;
}
/* Team: initials when there is no photo. */
.team-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-empty span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
/* Contact without a map: one centered column. */
.contact-grid.contact-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
/* Intrinsic width/height attributes (added for layout stability) must not
   force a pixel height where the original CSS only sized the width. */
.about-image,
.team-photo img,
.brand-item img {
  height: auto;
}
/* ==================================================================
   SECTION LAYOUTS + CORPORATE SECTIONS
   Every layout is presentation only (same content), responsive,
   RTL-aware (logical properties) and driven by the theme variables, so
   light/dark mode and the brand color apply automatically.
================================================================== */
/* ---------- light section backgrounds + heading alignment ---------- */
section.sb-plain:not(.stats--strip):not(.hero) { background: var(--color-background) !important; }
section.sb-soft:not(.stats--strip):not(.hero) { background: var(--color-background-soft) !important; }
section.sb-tint:not(.stats--strip):not(.hero) { background: color-mix(in srgb, var(--color-primary) 6%, var(--color-background)) !important; }
.head-start .section-title { text-align: start; }
.head-start .section-title h2::after { left: auto; inset-inline-start: 0; transform: none; }
.head-start .section-title p { margin-inline: 0; }
.btn .btn-ico { display: inline-flex; }
.btn .btn-ico svg { width: 18px; height: 18px; }

/* ---------- carousels (scroll-snap, no library) ---------- */
.carousel { position: relative; }
.carousel-track {
  --cv: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cv) - 1) * 1.5rem) / var(--cv));
  gap: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-primary) 45%, transparent); outline-offset: 4px; border-radius: 12px; }
.carousel-item { scroll-snap-align: start; min-width: 0; display: flex; }
.carousel-item > * { width: 100%; }
.carousel-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--color-border); background: var(--color-card-background); color: var(--color-text);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel.no-scroll .carousel-nav { display: none; }
@media (max-width: 1024px) { .carousel-track { --cv: 2; } }
@media (max-width: 700px) { .carousel-track { --cv: 1.12; gap: 1rem; grid-auto-columns: calc((100% - 0.12 * 1rem) / var(--cv)); } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 3rem 4.5rem;
  background: rgba(5, 8, 12, 0.92);
}
.lightbox.open { display: flex; animation: lbIn 0.2s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lb-img { max-width: min(1200px, 100%); max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lb-caption { color: #e5e7eb; font-size: 0.95rem; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center;
  cursor: pointer; font-size: 1.9rem; line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.26); }
.lb-close { top: 1rem; inset-inline-end: 1rem; }
.lb-prev { inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); }
.lb-prev svg, .lb-next svg { width: 24px; height: 24px; }
.lb-count { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: 0.85rem; }
@media (max-width: 700px) {
  .lightbox { padding: 4rem 0.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 0.8rem; transform: none; }
}

/* ---------- HERO layouts ---------- */
.hero.hero--split, .hero.hero--centered {
  min-height: auto;
  color: var(--color-text);
  clip-path: none;
  padding: 8.5rem 1.5rem 5rem;
  background:
    radial-gradient(900px 520px at 88% -5%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--color-accent) 10%, transparent), transparent 70%),
    var(--color-background-soft);
}
.hero--split h1, .hero--centered h1 { color: var(--color-text); text-shadow: none; }
.hero--split p, .hero--centered p { color: var(--color-text-muted); }
.hero--split .hero-logo, .hero--centered .hero-logo { filter: none; height: 72px; }
.hero--split .hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hero--split .hero-content { padding: 0; max-width: none; text-align: start; }
.hero--split .hero-logo { margin-inline: 0; }
.hero--split p { margin-inline: 0; }
.hero--split .hero-buttons { justify-content: flex-start; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: calc(var(--radius-lg) + 4px); box-shadow: var(--shadow-lg);
}
.hero--centered .hero-inner { text-align: center; }
.hero--centered .hero-content { padding: 0; margin: 0 auto; }
.hero-banner { margin-top: 3rem; }
.hero-banner img { width: 100%; max-height: 520px; object-fit: cover; display: block; border-radius: calc(var(--radius-lg) + 4px); box-shadow: var(--shadow-lg); }
.hero.hero--minimal {
  min-height: 58vh;
  background:
    radial-gradient(900px 480px at 15% 0%, color-mix(in srgb, var(--color-primary) 55%, transparent), transparent 65%),
    linear-gradient(140deg, var(--color-primary-dark), var(--color-background-dark));
}
.hero--minimal .hero-overlay { opacity: 0.25; }
.hero--minimal .hero-content { padding-top: 8rem; padding-bottom: 3.5rem; }
@media (max-width: 900px) {
  .hero--split .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero--split .hero-content { text-align: center; }
  .hero--split .hero-logo { margin-inline: auto; }
  .hero--split p { margin-inline: auto; }
  .hero--split .hero-buttons { justify-content: center; }
  .hero.hero--split, .hero.hero--centered { padding-top: 7rem; }
}

/* ---------- SERVICES / PRODUCTS layouts ---------- */
.card-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.card-grid--horizontal { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.card-grid--horizontal .card:not(.card--image-only):not(.card--text-only) { flex-direction: row; }
.card-grid--horizontal .card:not(.card--image-only):not(.card--text-only) .card-image-wrap { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }
.card-grid--image .card:not(.card--text-only) { position: relative; }
.card-grid--image .card:not(.card--text-only) .card-image-wrap { aspect-ratio: 3 / 4; }
.card-grid--image .card:not(.card--text-only):not(.card--image-only) .card-body {
  position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.4rem 1.4rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}
.card-grid--image .card:not(.card--text-only) .card-body h3 { color: #fff; }
.card-grid--image .card:not(.card--text-only) .card-body p { color: rgba(255, 255, 255, 0.86); flex: none; margin-bottom: 0.9rem; }
.card-grid--image .card:not(.card--text-only) .btn-outline { background: rgba(255, 255, 255, 0.16); color: #fff; }
.card-grid--carousel { display: block; }
.card-grid--carousel .carousel-item .card { height: 100%; }
@media (max-width: 1024px) {
  .card-grid[style*="--cols"] { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 560px) {
  .card-grid--horizontal .card:not(.card--image-only):not(.card--text-only) { flex-direction: column; }
  .card-grid--horizontal .card:not(.card--image-only):not(.card--text-only) .card-image-wrap { flex: none; aspect-ratio: 1 / 1; min-height: 0; }
}

/* ---------- 1:1 images on phones (products + gallery) ---------- */
@media (max-width: 700px) {
  #products .card-image-wrap,
  #products .card--image-only .card-image-wrap,
  .card-grid--image .card:not(.card--text-only) .card-image-wrap { aspect-ratio: 1 / 1; }
  .slider-slide-inner { aspect-ratio: 1 / 1; }
}

/* ---------- ACHIEVEMENTS layouts ---------- */
.stats.stats--grid, .stats.stats--inline { background: var(--color-background-soft); color: var(--color-text); }
.stats--grid .section-title h2, .stats--inline .section-title h2 { color: var(--color-text); }
.stats--grid .section-title p, .stats--inline .section-title p { color: var(--color-text-muted); opacity: 1; }
.stats--grid .stat-card { background: var(--color-card-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 2rem 1rem; }
.stats--grid .stat-icon, .stats--inline .stat-icon { background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }
.stats--grid .stat-value-wrap, .stats--inline .stat-value-wrap,
.stats--grid .stat-prefix, .stats--grid .stat-suffix, .stats--inline .stat-prefix, .stats--inline .stat-suffix { color: var(--color-primary); text-shadow: none; }
.stats--grid .stat-label, .stats--inline .stat-label { color: var(--color-text-muted); }
.stats--inline { padding: 4rem 0; }
.stats--inline .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 2rem; }
.stats--inline .stat-card { flex: 1 1 180px; border-inline-start: 1px solid var(--color-border); padding: 0.75rem 1rem; }
.stats--inline .stat-card:first-child { border-inline-start: 0; }
.stats--inline .stat-icon { display: none; }
@media (max-width: 540px) {
  .stats--inline .stat-card { flex-basis: 50%; border: 0; }
}

/* ---------- GALLERY layouts ---------- */
.slider-slide-inner[data-lb] { cursor: zoom-in; }
.gallery-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1rem; }
.gallery-item {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-md);
  cursor: zoom-in; background: var(--color-background-soft); box-shadow: var(--shadow-sm);
}
.gallery-item:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
.gallery--grid .gallery-item { aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem 0.9rem 0.75rem; color: #fff;
  font-weight: 600; font-size: 0.9rem; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}
.gallery--masonry .gallery-grid { display: block; column-count: var(--cols, 3); column-gap: 1rem; }
.gallery--masonry .gallery-item { break-inside: avoid; margin-bottom: 1rem; }
.gallery--masonry .gallery-item img { height: auto; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--masonry .gallery-grid { column-count: 2; }
}
@media (max-width: 700px) {
  .gallery-grid { gap: 0.6rem; }
  .gallery--grid .gallery-item, .gallery--masonry .gallery-item { aspect-ratio: 1 / 1; }
  .gallery--masonry .gallery-item img { height: 100%; }
  .gallery--masonry .gallery-grid { column-gap: 0.6rem; }
  .gallery--masonry .gallery-item { margin-bottom: 0.6rem; }
}

/* ---------- TEAM layouts ---------- */
.team-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.team-grid--compact { gap: 1.25rem; margin-top: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.team-grid--compact .team-card { padding: 1.4rem; flex-direction: row; text-align: start; align-items: center; gap: 1rem; }
.team-grid--compact .team-photo { position: static; transform: none; width: 72px; height: 72px; flex: 0 0 72px; box-shadow: 0 0 0 3px var(--color-card-background), 0 6px 16px rgba(0, 0, 0, 0.1); }
.team-grid--compact .team-card:hover .team-photo { transform: none; }
.team-grid--compact .team-body { align-items: flex-start; }
.team-grid--compact .team-bio { display: none; }
.team-grid--compact .team-role::after { display: none; }
.team-grid--compact .team-social { justify-content: flex-start; margin-top: 0.6rem; }
.team--slider .carousel { margin-top: 2rem; }
.team--slider .carousel-track { padding-top: 76px; }
@media (max-width: 1024px) {
  .team-grid[style*="--cols"] { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ---------- VISION & MISSION ---------- */
.vm { background: var(--color-background); }
.vm-wrap { display: grid; gap: 1.75rem; }
.vm--cards .vm-wrap.vm-count-2 { grid-template-columns: 1fr 1fr; }
.vm-block {
  position: relative; overflow: hidden; background: var(--color-card-background);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2.25rem;
  box-shadow: var(--shadow-sm); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vm-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vm-block::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--color-primary), var(--color-accent)); }
.vm-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); margin-bottom: 1.25rem;
}
.vm-icon svg { width: 28px; height: 28px; }
.vm-body h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.vm-body p { margin: 0; color: var(--color-text-muted); line-height: 1.85; }
.vm--cards .vm-media img { aspect-ratio: 16 / 9; }
.vm-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: var(--radius-md); margin-bottom: 1.25rem; }
.vm--split .vm-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; padding: 2rem; }
.vm--split .vm-block:nth-child(2) > .vm-media, .vm--split .vm-block:nth-child(2) > .vm-icon { order: 2; }
.vm--split .vm-media img { margin: 0; aspect-ratio: 4 / 3; }
.vm--split .vm-icon { width: 100%; height: 100%; min-height: 200px; border-radius: var(--radius-md); margin: 0; }
.vm--split .vm-icon svg { width: 72px; height: 72px; }
.vm--stacked .vm-wrap { max-width: 880px; margin: 0 auto; }
.vm--stacked .vm-block { display: flex; gap: 1.5rem; align-items: flex-start; }
.vm--stacked .vm-media { flex: 0 0 160px; }
.vm--stacked .vm-media img { margin: 0; aspect-ratio: 1 / 1; }
.vm--stacked .vm-icon { flex: 0 0 60px; margin: 0; }
@media (max-width: 900px) {
  .vm--cards .vm-wrap.vm-count-2 { grid-template-columns: 1fr; }
  .vm--split .vm-block { grid-template-columns: 1fr; gap: 1.25rem; }
  .vm--split .vm-block:nth-child(2) > .vm-media, .vm--split .vm-block:nth-child(2) > .vm-icon { order: 0; }
  .vm--split .vm-icon { min-height: 110px; }
}
@media (max-width: 560px) {
  .vm-block { padding: 1.6rem; }
  .vm--stacked .vm-block { flex-direction: column; }
  .vm--stacked .vm-media { flex: none; width: 100%; }
}

/* ---------- VALUES / WHY CHOOSE US ---------- */
.features { background: var(--color-background-soft); }
#why-us.features { background: var(--color-background); }
.features-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.feature {
  background: var(--color-card-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 2rem 1.6rem; text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border)); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-accent)));
  color: var(--color-on-primary, #fff); box-shadow: 0 12px 24px -12px var(--color-primary);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-img { width: 72px; height: 72px; margin: 0 auto 1.25rem; }
.feature-img img { width: 100%; height: 100%; object-fit: contain; }
.feature h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }
.features--horizontal .features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.features--horizontal .feature { display: flex; gap: 1.25rem; text-align: start; align-items: flex-start; padding: 1.6rem; }
.features--horizontal .feature-icon, .features--horizontal .feature-img { margin: 0; flex: 0 0 56px; width: 56px; height: 56px; }
.features--list .features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 0.25rem 2.5rem; max-width: 1000px; margin: 0 auto; }
.features--list .feature { display: flex; gap: 1rem; text-align: start; padding: 1.1rem 0; background: none; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; }
.features--list .feature:hover { transform: none; box-shadow: none; }
.features--list .feature-icon { margin: 0; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); box-shadow: none; }
.features--list .feature-icon svg { width: 20px; height: 20px; }
.features--list .feature-img { margin: 0; flex: 0 0 42px; width: 42px; height: 42px; }
@media (max-width: 1024px) {
  .features-grid[style*="--cols"] { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* ---------- HOW WE WORK ---------- */
.process { background: var(--color-background-soft); }
.steps { list-style: none; margin: 0; padding: 0; }
.step-body h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.step-body p { margin: 0; color: var(--color-text-muted); line-height: 1.7; }
.step-icon {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 0.6rem;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary);
}
.step-icon svg { width: 20px; height: 20px; }
.step-num { font-weight: 800; letter-spacing: 0.5px; }
/* timeline */
.process--timeline .steps { position: relative; max-width: 940px; margin: 0 auto; }
.process--timeline .steps::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 27px; width: 2px;
  background: linear-gradient(var(--color-primary), color-mix(in srgb, var(--color-primary) 12%, transparent));
}
.process--timeline .step { position: relative; display: flex; gap: 1.5rem; align-items: flex-start; padding-bottom: 2rem; }
.process--timeline .step:last-child { padding-bottom: 0; }
.process--timeline .step-marker {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--color-primary); color: var(--color-on-primary, #fff); font-size: 1.05rem;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.process--timeline .step-body {
  flex: 1; background: var(--color-card-background); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .process--timeline .steps::before { inset-inline-start: calc(50% - 1px); }
  .process--timeline .step { width: 50%; padding-inline-end: 3rem; }
  .process--timeline .step:nth-child(even) { margin-inline-start: 50%; padding-inline-end: 0; padding-inline-start: 3rem; }
  .process--timeline .step-marker { position: absolute; top: 0; inset-inline-end: -28px; }
  .process--timeline .step:nth-child(even) .step-marker { inset-inline-end: auto; inset-inline-start: -28px; }
  .process--timeline .step:nth-child(odd) .step-body { text-align: end; }
}
/* numbered cards */
.process--cards .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.process--cards .step {
  position: relative; overflow: hidden; background: var(--color-card-background); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.1rem 1.6rem 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process--cards .step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process--cards .step-marker { position: absolute; top: 0.6rem; inset-inline-end: 1rem; font-size: 3.3rem; line-height: 1; color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.process--cards .step-body { position: relative; }
/* horizontal steps */
.process--steps .steps { display: flex; gap: 1rem; }
.process--steps .step { flex: 1; text-align: center; position: relative; min-width: 0; }
.process--steps .step-marker {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-card-background); border: 2px solid var(--color-primary); color: var(--color-primary);
  font-size: 1.15rem; position: relative; z-index: 1;
}
.process--steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; inset-inline-start: calc(50% + 40px); width: calc(100% - 80px + 1rem); height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 8px, transparent 8px 14px); opacity: 0.6;
}
.process--steps .step-body { padding: 0 0.4rem; }
@media (max-width: 900px) {
  .process--steps .steps { flex-direction: column; gap: 1.75rem; }
  .process--steps .step:not(:last-child)::after { display: none; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--color-background-soft); }
.tm-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tm-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.tm-card {
  margin: 0; position: relative; height: 100%; display: flex; flex-direction: column; gap: 1rem;
  background: var(--color-card-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
}
.tm-card::before {
  content: "\201C"; position: absolute; top: 0.4rem; inset-inline-end: 1.2rem; font-size: 4.5rem; line-height: 1;
  font-family: Georgia, serif; color: color-mix(in srgb, var(--color-primary) 22%, transparent);
}
.tm-stars { display: flex; gap: 2px; }
.tm-stars span { color: var(--color-border); display: inline-flex; }
.tm-stars span.on { color: #f5b301; }
.tm-stars svg { width: 18px; height: 18px; fill: currentColor; }
.tm-card blockquote, .tm-feature blockquote { margin: 0; }
.tm-card blockquote p { margin: 0; color: var(--color-text); line-height: 1.8; }
.tm-card figcaption, .tm-feature figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.tm-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.tm-initials { display: grid; place-items: center; background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); font-weight: 800; }
.tm-card figcaption strong, .tm-feature figcaption strong { display: block; }
.tm-card figcaption span, .tm-feature figcaption span { color: var(--color-text-muted); font-size: 0.85rem; }
.tm-featured { max-width: 860px; margin: 0 auto; text-align: center; }
.tm-feature { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.tm-feature::before { content: "\201C"; font-size: 5rem; line-height: 0.6; font-family: Georgia, serif; color: var(--color-primary); margin-top: 1rem; }
.tm-feature blockquote p { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.75; font-weight: 500; color: var(--color-text); }
.tm-feature figcaption { justify-content: center; text-align: start; }
.tm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 1.75rem; }
.tm-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--color-border); cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.tm-dot.active { width: 28px; background: var(--color-primary); }
@media (max-width: 1024px) {
  .tm-grid[style*="--cols"] { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--color-background); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.5rem; align-items: start; }
.faq-cols .faq-list { max-width: none; margin: 0; }
.faq-item {
  background: var(--color-card-background); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border)); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-primary) 50%, transparent); outline-offset: -3px; }
.faq-toggle { flex: 0 0 28px; height: 28px; border-radius: 50%; position: relative; background: color-mix(in srgb, var(--color-primary) 12%, transparent); }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--color-primary); transform: translate(-50%, -50%); transition: transform 0.25s ease;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 1.35rem 1.25rem; color: var(--color-text-muted); line-height: 1.85; }
.faq-a p { margin: 0; }
@media (max-width: 800px) { .faq-cols { grid-template-columns: 1fr; } }

/* ---------- CALL TO ACTION ---------- */
.cta-section { padding-block: 4.5rem; background: var(--color-background); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius-lg) + 6px); padding: clamp(2.4rem, 5vw, 4rem); }
.cta-text h2 { margin: 0 0 0.75rem; font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.25; }
.cta-text p { margin: 0; font-size: 1.05rem; line-height: 1.75; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.btn-on-dark { background: #fff; color: var(--color-primary-dark); border: 2px solid #fff; }
.btn-on-dark:hover { background: transparent; color: #fff; }
.btn-on-dark-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.7); }
.btn-on-dark-outline:hover { background: #fff; color: var(--color-primary-dark); }
/* fills: brand gradient (default) · custom color · image with overlay */
.cta-box { color: var(--cta-ink, #fff); box-shadow: var(--shadow-lg); }
.cta-box .cta-text h2 { color: inherit; }
.cta-box .cta-text p { color: inherit; opacity: 0.9; }
.cta-fill-brand .cta-box {
  background:
    radial-gradient(520px 260px at 12% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(480px 260px at 100% 100%, color-mix(in srgb, var(--color-accent) 45%, transparent), transparent 70%),
    linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.cta-fill-color .cta-box {
  background:
    radial-gradient(520px 260px at 12% 0%, rgba(255, 255, 255, 0.14), transparent 70%),
    var(--cta-fill);
}
.cta-light .cta-box { box-shadow: var(--shadow-md, var(--shadow-lg)); }
.cta-light .cta-text p { opacity: 0.8; }
.cta-fill-image .cta-box {
  background: linear-gradient(rgba(5, 10, 20, var(--cta-overlay, 0.55)), rgba(5, 10, 20, var(--cta-overlay, 0.55))), var(--cta-bg) center / cover no-repeat;
}
@media (max-width: 700px) {
  .cta-fill-image .cta-box { background-image: linear-gradient(rgba(5, 10, 20, var(--cta-overlay, 0.55)), rgba(5, 10, 20, var(--cta-overlay, 0.55))), var(--cta-bg-sm, var(--cta-bg)); }
}
/* layouts: centered banner · split · full-width band */
.cta--banner .cta-box, .cta--background .cta-box { text-align: center; }
.cta--banner .cta-text p, .cta--background .cta-text p { max-width: 680px; margin-inline: auto; }
.cta--banner .cta-buttons, .cta--background .cta-buttons { justify-content: center; }
.cta--split .cta-box { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta--split .cta-buttons { margin-top: 0; flex-shrink: 0; }
@media (max-width: 800px) {
  .cta--split .cta-box { flex-direction: column; align-items: flex-start; }
}
.cta-section.cta--background { padding: 0; }
.cta--background > .container { max-width: none; width: 100%; padding-inline: 0; }
.cta--background .cta-box {
  min-height: 380px; display: flex; flex-direction: column; justify-content: center; border-radius: 0; box-shadow: none;
  padding-block: clamp(3.5rem, 8vw, 6rem); padding-inline: max(1.25rem, calc((100% - 1160px) / 2));
}

/* ---------- opening hours (contact section) ---------- */
.contact-detail.hours { flex-direction: column; align-items: stretch; gap: 0.5rem; }
.hours-head { display: flex; align-items: center; gap: 0.85rem; }
.hours-head .label { flex: 1; }
.hours-badge { font-size: 0.75rem; font-weight: 700; padding: 0.22rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.hours-badge.is-open { background: rgba(34, 197, 94, 0.14); color: #16a34a; }
.hours-badge.is-closed { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.hours-list { margin: 0.25rem 0 0; display: grid; gap: 0.1rem; padding-inline-start: calc(40px + 0.85rem); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--color-border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row dt { color: var(--color-text-muted); }
.hours-row dd { margin: 0; font-weight: 600; }
.hours-row.closed dd { color: var(--color-text-muted); font-weight: 500; }
@media (max-width: 480px) { .hours-list { padding-inline-start: 0; } }
.team-grid--compact .team-photo-empty span { font-size: 1.35rem; }

/* ==================================================================
   THEME SYSTEM — shared structures
   Themed headers, the themed hero compositions, multi-page page headers,
   the new section layouts (numbered list, editorial rows, statement /
   overlap About, strip / mosaic gallery) and footer variants. Structure
   only: colours and type come from the tokens, and each theme file in
   themes/ gives it its own character. html[data-header] is set only for
   themed sites, so the original design is untouched.
================================================================== */
:root {
  --font-arabic-display: var(--font-arabic);
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --hdr-offset: 0px;
}
html[data-header][dir="rtl"] h1,
html[data-header][dir="rtl"] h2,
html[data-header][dir="rtl"] h3,
html[data-header][dir="rtl"] h4 { font-family: var(--font-arabic-display); }

/* ---------- themed headers: positioning + surfaces ---------- */
/* body must not become a scroll container (overflow-x: hidden does, because
   <html> already clips) — otherwise the sticky header never sticks */
html[data-header] body { overflow-x: hidden; overflow-x: clip; }
html[data-header] .navbar {
  position: sticky; top: 0; padding: 0;
  background: var(--color-navbar-background); color: var(--color-navbar-text);
  box-shadow: 0 1px 0 var(--color-border);
}
html[data-header] .navbar .nav-container { min-height: 76px; }
html[data-header] .navbar.solid,
html[data-header] .navbar.navbar-style-default.solid {
  background: var(--color-navbar-background); padding: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 0 var(--color-border);
}
html[data-header] .navbar.solid .nav-link,
html[data-header] .navbar.solid .nav-brand,
html[data-header] .navbar.solid .nav-toggle,
html[data-header] .navbar.solid .lang-btn { color: var(--color-navbar-text); }
html[data-header] .navbar.solid .nav-link::after { background: var(--color-primary); }
html[data-header] .navbar.solid .nav-link:hover { color: var(--color-primary); opacity: 1; }
html[data-header] .navbar .lang-btn,
html[data-header] .navbar.solid .lang-btn { background: transparent; border: 1px solid var(--color-border); color: inherit; }
html[data-header] .navbar .lang-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-button-primary-text); }
html[data-header] .navbar.navbar--overlay { position: fixed; top: 0; left: 0; right: 0; }
html[data-header] .navbar.navbar--overlay.transparent { background: transparent; box-shadow: none; }
html[data-header] .navbar.transparent .lang-btn { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
html[data-header] .nav-brand img { filter: none; height: 44px; }
html[data-header] .navbar.solid.shrink .nav-brand img { height: 40px; }
html[data-header] .nav-link.active::after,
html[data-header] .nav-link[aria-current="page"]::after { width: 100%; }
html[data-header] .top-bar { position: relative; }
html[data-header] .top-bar.hidden-up { transform: none; opacity: 1; pointer-events: auto; }
html[data-header] .navbar.topbar-hidden { top: 0; }
.nav-cta { white-space: nowrap; padding: 0.62rem 1.15rem; font-size: 0.88rem; }
.nav-side-end { gap: 0.6rem; }

/* full-width: menu sits beside the logo */
html[data-header="full"] .nav-menu-desktop { justify-content: flex-start; margin-inline-start: 2.25rem; }

/* split navigation: logo centred between two menu groups */
@media (min-width: 961px) {
  html[data-header="split"] .nav-container {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    position: relative; padding-inline: 6rem; min-height: 88px;
  }
  html[data-header="split"] .nav-side-start { grid-column: 2; grid-row: 1; justify-content: center; }
  html[data-header="split"] .nav-menu-start { grid-column: 1; grid-row: 1; justify-content: flex-end; }
  html[data-header="split"] #navMenuDesktop { grid-column: 3; grid-row: 1; justify-content: flex-start; }
  html[data-header="split"] .nav-menu-desktop { gap: 2rem; }
  html[data-header="split"] .nav-side-end { position: absolute; inset-inline-end: 1.5rem; top: 50%; transform: translateY(-50%); }
  html[data-header="split"] .nav-brand { flex-direction: column; gap: 0.25rem; }
}

/* compact: menu behind a button on every screen */
html[data-header="compact"] .nav-menu-desktop { display: none; }
html[data-header="compact"] .nav-toggle { display: flex; }

/* floating: a contained bar set in from the page edges */
html[data-header="floating"] .navbar,
html[data-header="floating"] .navbar.solid,
html[data-header="floating"] .navbar.navbar-style-default.solid {
  position: fixed; top: 0; left: 0; right: 0; padding: 14px 1rem 0;
  background: transparent; box-shadow: none;
}
html[data-header="floating"] .nav-container {
  max-width: 1180px; min-height: 64px; padding: 0.45rem 0.55rem 0.45rem 1.25rem;
  background: var(--color-navbar-background); border: 1px solid var(--color-border);
  border-radius: 999px; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.45);
}
html[dir="rtl"][data-header="floating"] .nav-container { padding: 0.45rem 1.25rem 0.45rem 0.55rem; }
html[data-header="floating"] .navbar .nav-link,
html[data-header="floating"] .navbar .nav-brand,
html[data-header="floating"] .navbar .nav-toggle { color: var(--color-navbar-text); }

/* minimal editorial: typography-led links over a thin rule */
html[data-header="editorial"] .navbar,
html[data-header="editorial"] .navbar.solid { background: var(--color-background); box-shadow: none; }
html[data-header="editorial"] .nav-container { border-bottom: 1px solid var(--color-text); min-height: 72px; }
html[data-header="editorial"] .nav-menu-desktop { justify-content: flex-end; gap: 2.25rem; }
html[data-header="editorial"] .nav-link { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
html[dir="rtl"][data-header="editorial"] .nav-link { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
html[data-header="editorial"] .nav-link::after { bottom: -4px; height: 1px; background: currentColor; }

@media (max-width: 960px) {
  html[data-header] .navbar .nav-container { min-height: 64px; }
  html[data-header="floating"] .nav-container { min-height: 58px; }
  html[data-header] .nav-brand-mobile img { filter: none; height: 40px; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
}

/* ---------- themed heroes ---------- */
html[data-header] .hero { --hero-pad-top: calc(var(--hdr-offset) + 4.5rem); }
/* themed heroes: the photograph stays in place (no fixed "parallax" layer) */
html[data-header] .hero-bg { position: absolute; will-change: auto; }
@media (max-width: 768px) { html[data-header] .hero-bg { background-image: var(--hero-bg-sm, var(--hero-bg)); } }
html[data-header] .hero.hero--background,
html[data-header] .hero.hero--video,
html[data-header] .hero.hero--industrial { min-height: 92vh; }
html[data-header] .hero.hero--background .hero-content,
html[data-header] .hero.hero--video .hero-content { padding-top: calc(var(--hdr-offset) + 4rem); }
html[data-header] .hero.hero--split,
html[data-header] .hero.hero--centered { padding-top: var(--hero-pad-top); }
.hero .hero-eyebrow {
  margin: 0 0 1.1rem; max-width: none; opacity: 1; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-primary);
}
html[dir="rtl"] .hero-eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.hero .hero-lead { margin: 0 0 2rem; }

/* light compositions share a calm page background */
.hero.hero--classic, .hero.hero--editorial, .hero.hero--asymmetric, .hero.hero--showcase, .hero.hero--services {
  min-height: auto; clip-path: none; text-align: start; color: var(--color-text);
  background: var(--color-background); padding: var(--hero-pad-top, 8rem) 1.5rem 5.5rem;
}
.hero--classic h1, .hero--editorial h1, .hero--asymmetric h1, .hero--showcase h1, .hero--services h1 { color: var(--color-text); text-shadow: none; }
.hero--classic .hero-lead, .hero--editorial .hero-lead, .hero--asymmetric .hero-lead, .hero--showcase .hero-lead, .hero--services .hero-lead { color: var(--color-text-muted); margin-inline: 0; max-width: 56ch; }
.hero--classic .hero-buttons, .hero--editorial .hero-buttons, .hero--asymmetric .hero-buttons, .hero--showcase .hero-buttons, .hero--services .hero-buttons { justify-content: flex-start; }
.hero--classic .hero-content, .hero--showcase .hero-content, .hero--services .hero-content { padding: 0; max-width: none; }

/* classic corporate: headline + framed photograph */
.hero--classic .hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; align-items: center; }
.hero-frame { position: relative; margin: 0; isolation: isolate; }
.hero-frame::before {
  content: ""; position: absolute; z-index: -1; inset: 1.5rem auto -1.5rem 1.5rem; width: 100%;
  border: 1px solid var(--color-primary);
}
html[dir="rtl"] .hero-frame::before { inset: 1.5rem 1.5rem -1.5rem auto; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; display: block; }

/* editorial typography: oversized headline, minimal imagery */
.hero--editorial .hero-inner { display: block; }
.hero-display { font-size: clamp(2.8rem, 8vw, 7.2rem) !important; line-height: 1 !important; letter-spacing: -0.03em; max-width: 15ch; margin: 0 0 2.5rem !important; }
html[dir="rtl"] .hero-display { letter-spacing: 0; line-height: 1.2 !important; }
.hero-ed-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; border-top: 1px solid var(--color-border); padding-top: 1.75rem; }
.hero-ed-foot .hero-lead { margin: 0; }
.hero-ed-media { margin: 3.5rem 0 0; }
.hero-ed-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }

/* the hero is a flex container: themed compositions span the full container width */
html[data-header] .hero > .hero-inner { width: 100%; }

/* asymmetric: photograph and text overlapping off-axis */
.hero--asymmetric .hero-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero-asym-media { grid-column: 1 / span 8; grid-row: 1; margin: 0; }
.hero-asym-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.hero-asym-card {
  grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 2;
  background: var(--color-card-background); padding: clamp(1.75rem, 3.5vw, 3.25rem);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-lg);
}
.hero-asym-second { grid-column: 4 / span 2; grid-row: 2; margin: -6rem 0 0; position: relative; z-index: 3; }
.hero-asym-second img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border: 6px solid var(--color-background); }

/* video background */
.hero.hero--video { clip-path: inset(0); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-video-toggle {
  /* the floating WhatsApp button owns the end corner */
  position: absolute; z-index: 3; inset-inline-start: 1.5rem; bottom: 1.5rem; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer;
}
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero.has-ticker .hero-video-toggle { bottom: calc(1.5rem + 3.4rem); }
.hero-video-toggle .ico-play { display: none; }
.hero-video-toggle[aria-pressed="true"] .ico-play { display: inline-flex; }
.hero-video-toggle[aria-pressed="true"] .ico-pause { display: none; }
.hero-video-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* product showcase: real product photos around the headline */
.hero--showcase .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; align-items: center; }
.hero-showcase { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.hero-showcase.hs-count-1 { grid-template-columns: 1fr; grid-template-rows: auto; }
.hero-showcase.hs-count-2 { grid-template-rows: auto; }
.hs-item { position: relative; margin: 0; overflow: hidden; background: var(--color-background-soft); }
.hs-item.hs-1 { grid-row: span 2; }
.hs-count-2 .hs-item.hs-1 { grid-row: auto; }
.hs-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.hs-count-1 .hs-img { aspect-ratio: 4 / 3; }
.hs-item figcaption {
  position: absolute; inset-inline-start: 0.85rem; bottom: 0.85rem; padding: 0.35rem 0.75rem; font-size: 0.82rem; font-weight: 600;
  background: var(--color-card-background); color: var(--color-text); box-shadow: var(--shadow-sm);
}

/* service-focused: headline + the main services as direct links */
.hero--services .hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
.hero-svc { display: grid; gap: 1.25rem; }
.hero-svc-media { margin: 0; }
.hero-svc-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hero-svc-list { list-style: none; margin: 0; padding: 0; background: var(--color-card-background); border: 1px solid var(--color-border); }
.hero-svc-list li + li { border-top: 1px solid var(--color-border); }
.hero-svc-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; text-decoration: none; color: var(--color-text); font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.hero-svc-list a:hover { background: var(--color-background-soft); color: var(--color-primary); }
.hs-n { font-size: 0.8rem; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.hs-go svg { width: 18px; height: 18px; }

/* architectural / industrial: full photograph + structured facts band */
.hero.hero--industrial { display: flex; flex-direction: column; justify-content: center; text-align: start; padding: 0; }
.hero--industrial .hero-overlay { background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 100%); }
html[dir="rtl"] .hero--industrial .hero-overlay { background: linear-gradient(270deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 100%); }
.hero--industrial .hero-inner { flex: 1; display: flex; align-items: center; padding: calc(var(--hdr-offset) + 4rem) 1.5rem 4rem; }
.hero--industrial .hero-content { padding: 0; max-width: 760px; }
.hero--industrial .hero-lead { margin-inline: 0; }
.hero--industrial .hero-buttons { justify-content: flex-start; }
.hero-facts { position: relative; z-index: 2; background: var(--color-background); color: var(--color-text); }
.hero-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.hero-fact { padding: 1.6rem 1.5rem; border-inline-start: 1px solid var(--color-border); }
.hero-fact:first-child { border-inline-start: 0; }
.hero-fact strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; color: var(--color-text); }
.hero-fact span { font-size: 0.9rem; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .hero--classic .hero-inner, .hero--showcase .hero-inner, .hero--services .hero-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero-frame { margin-inline: 1.5rem; }
  .hero-ed-foot { grid-template-columns: 1fr; }
  .hero--asymmetric .hero-inner { display: flex; flex-direction: column; }
  .hero-asym-card { margin: -3rem 1rem 0; }
  .hero-asym-second { display: none; }
  .hero-fact { border-inline-start: 0; border-top: 1px solid var(--color-border); }
  .hero-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-fact:nth-child(2n) { border-inline-start: 1px solid var(--color-border); }
}

/* ---------- multi-page: page header + previews ---------- */
.page-head { position: relative; isolation: isolate; padding: calc(var(--hdr-offset) + 4.5rem) 1.5rem 3.75rem; background: var(--color-background-soft); }
.page-head.has-bg { color: #fff; background: var(--color-background-dark); }
.page-head-bg { position: absolute; inset: 0; z-index: -1; background: var(--ph-bg) center / cover no-repeat; }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72)); }
.page-head h1 { margin: 0.6rem 0 0.75rem; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; }
.page-head.has-bg h1 { color: #fff; }
.page-head p { margin: 0; max-width: 62ch; color: var(--color-text-muted); font-size: 1.08rem; }
.page-head.has-bg p { color: rgba(255, 255, 255, 0.86); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--color-text-muted); }
.page-head.has-bg .breadcrumb { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-bottom-color: currentColor; }
.is-page-main > .container > .section-title,
.is-page-main .about-text > h2,
.is-page-main .about-kicker { display: none; }
.section-more { display: flex; justify-content: center; margin-top: 2.75rem; }
.head-start .section-more { justify-content: flex-start; }

/* ---------- About: statement + framed overlap ---------- */
.about-statement { max-width: 880px; text-align: center; }
.about-kicker { margin: 0 0 1.6rem; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); }
html[dir="rtl"] .about-kicker { letter-spacing: 0; text-transform: none; font-size: 1rem; font-family: var(--font-arabic); }
.about-lead p { margin: 0 0 1.25rem; color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.85; }
.about-lead p.about-first { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.05rem); line-height: 1.45; color: var(--color-text); }
html[dir="rtl"] .about-lead p.about-first { font-family: var(--font-arabic-display); line-height: 1.75; }
.about-statement .about-buttons { justify-content: center; margin-top: 1.5rem; }
.about-wide { margin: 3.5rem 0 0; }
.about-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.about--overlap .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.about--overlap .about-image-wrap::before { display: none; }
.about--overlap .about-image-wrap .about-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about--overlap .about-text {
  position: relative; z-index: 2; margin-inline-start: -4.5rem; padding: clamp(1.75rem, 3.5vw, 3.25rem);
  background: var(--color-card-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-md);
}
.about--overlap .about-grid--text .about-text { margin-inline-start: 0; }
@media (max-width: 960px) {
  .about--overlap .about-grid { grid-template-columns: 1fr; }
  .about--overlap .about-text { margin: -3rem 1rem 0; }
}

/* ---------- Services / products: numbered list + editorial rows ---------- */
.row-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.row-item {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; gap: 1.5rem; align-items: center;
  padding: 1.75rem 0.75rem; border-bottom: 1px solid var(--color-border); transition: background 0.25s ease;
}
.row-item:hover { background: var(--color-background-soft); }
.row-num { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.row-main h3 { margin: 0 0 0.35rem; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.3; }
.row-main p { margin: 0; color: var(--color-text-muted); max-width: 66ch; }
.row-thumb { margin: 0; }
.row-thumb img { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.row-go {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--color-border); color: var(--color-text); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.row-go svg { width: 18px; height: 18px; }
.row-go:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-button-primary-text); }
.ed-rows { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.ed-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ed-row:nth-child(even) .ed-media { order: 2; }
.ed-media { margin: 0; }
.ed-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ed-text .row-num { display: block; margin-bottom: 0.75rem; }
.ed-text h3 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.2; }
.ed-text p { margin: 0 0 1.5rem; color: var(--color-text-muted); }
/* rows without photographs read as an editorial index: number · title · text */
.ed-rows:not(:has(.ed-media)) { gap: 0; border-bottom: 1px solid var(--color-border); }
.ed-row--text { grid-template-columns: 1fr; }
.ed-row--text .ed-text {
  display: grid; grid-template-columns: 4.5rem minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline; padding-block: 2rem; border-top: 1px solid var(--color-border);
}
.ed-row--text .ed-text .row-num { margin: 0; }
.ed-row--text .ed-text h3 { margin: 0; }
.ed-row--text .ed-text p { margin: 0; grid-column: 3; }
.ed-row--text .ed-text > .btn { grid-column: 3; justify-self: start; margin-top: 1.1rem; }
@media (max-width: 800px) {
  .ed-row--text .ed-text { grid-template-columns: 3rem minmax(0, 1fr); row-gap: 0.6rem; }
  .ed-row--text .ed-text p, .ed-row--text .ed-text > .btn { grid-column: 2; }
  .row-item { grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: 1rem; padding: 1.35rem 0.25rem; }
  .row-thumb { display: none; }
  .ed-row { grid-template-columns: 1fr; }
  .ed-row:nth-child(even) .ed-media { order: 0; }
}

/* ---------- Gallery: numbered strip + mosaic ---------- */
.gallery--scroll .carousel-track { --cv: 2.6; }
.gallery--scroll .gallery-item { aspect-ratio: 4 / 5; border-radius: 0; box-shadow: none; }
.gallery-num {
  position: absolute; z-index: 2; inset-inline-start: 0.85rem; top: 0.85rem; padding: 0.2rem 0.55rem;
  font-size: 0.75rem; font-weight: 600; background: rgba(0, 0, 0, 0.55); color: #fff; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .gallery--scroll .carousel-track { --cv: 1.6; } }
@media (max-width: 560px) { .gallery--scroll .carousel-track { --cv: 1.15; } }
.gallery-grid.gallery-grid--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 0.75rem; }
.gallery-grid--mosaic .gallery-item { aspect-ratio: auto !important; }
.gallery-grid--mosaic .gallery-item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid--mosaic .gallery-item:nth-child(6n + 4) { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery-grid.gallery-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery-grid--mosaic .gallery-item:nth-child(6n + 4) { grid-column: span 1; }
}

/* ---------- Footer variants ---------- */
.footer-centered { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.footer-centered .footer-brand { flex-direction: column; justify-content: center; }
.footer-centered .footer-desc { margin: 0; max-width: 60ch; opacity: 0.8; }
.footer-inline-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; }
.footer-inline-links a { text-decoration: none; color: inherit; opacity: 0.85; }
.footer-inline-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; }
.footer-contact-line .footer-contact-item { margin: 0; }
.footer-statement { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.fs-lead { padding-bottom: 2.5rem; margin-bottom: 2.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.fs-kicker { display: block; margin-bottom: 0.75rem; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
html[dir="rtl"] .fs-kicker { letter-spacing: 0; text-transform: none; }
.fs-big, .site-footer .fs-big { display: inline-block; font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.1; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.fs-big:hover, .site-footer .fs-big:hover { color: var(--color-primary); }
.fs-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 800px) { .fs-cols { grid-template-columns: 1fr; } }

/* ---------- themed defaults (all new themes) ---------- */
html[data-header] .stats-blob { display: none; }
html[data-header] .hero.hero-overlay-primary .hero-overlay { background: color-mix(in srgb, var(--color-primary) 28%, rgba(6, 9, 15, 0.78)); opacity: var(--hero-overlay-opacity, 0.9); }
html[data-header] .hero.hero--split, html[data-header] .hero.hero--centered { background: var(--color-background-soft); }
html[data-header] .hero-media img, html[data-header] .hero-banner img { border-radius: var(--radius-md); }
html[data-header] .section-title h2::after { background: var(--color-primary); }
/* ticker band */
.hero-ticker { position: relative; z-index: 3; width: 100%; overflow: hidden; background: var(--color-primary); color: var(--color-button-primary-text); padding: 0.85rem 0; margin-top: auto; }
.tk-track { display: flex; width: max-content; animation: tk-scroll 38s linear infinite; }
html[dir="rtl"] .tk-track { animation-name: tk-scroll-rtl; }
.tk-run { display: flex; align-items: center; gap: 1.5rem; padding-inline-end: 1.5rem; white-space: nowrap; }
.tk-item { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
html[dir="rtl"] .tk-item { letter-spacing: 0; text-transform: none; }
.tk-sep { opacity: 0.6; font-size: 0.7rem; }
.hero-ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tk-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track, html[dir="rtl"] .tk-track { animation: none; } }
.hero.has-ticker { flex-direction: column; }
.hero.has-ticker > .hero-ticker { align-self: stretch; }
.hero > .hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; }
.hero--industrial > .hero-ticker { position: relative; }
.hero--classic > .hero-ticker, .hero--editorial > .hero-ticker, .hero--asymmetric > .hero-ticker,
.hero--showcase > .hero-ticker, .hero--services > .hero-ticker { position: relative; margin: 4.5rem -1.5rem -5.5rem; width: auto; }
.hero--split > .hero-ticker, .hero--centered > .hero-ticker { position: relative; margin: 4.5rem -1.5rem -5rem; width: auto; }
.hero.hero--industrial { align-items: stretch; }

/* Arabic is cursive: letter-spacing breaks the joins, so themed RTL pages never track text */
html[dir="rtl"][data-header] body, html[dir="rtl"][data-header] body * { letter-spacing: 0 !important; }

/* split vision / mission without a photo: a quiet tinted panel, not an empty frame */
html[data-header] .vm--split .vm-icon { border: 0 !important; border-radius: var(--radius-md); background: color-mix(in srgb, var(--color-primary) 7%, var(--color-background-soft)) !important; color: var(--color-primary); transform: none; }
html[data-header] .vm--split .vm-icon svg { transform: none; }

/* the achievements band keeps the page gutter like every other section */
html[data-header] .stats { padding-inline: 1.5rem; }
@media (max-width: 700px) { html[data-header] .stats { padding-inline: 1rem; } }

/* start-aligned section heads: content blocks start on the same edge */
html[data-heads="start"] .features--list .features-grid,
html[data-heads="start"] .faq-list,
html[data-heads="start"] .stats--grid .stats-grid, html[data-heads="start"] .stats--inline .stats-grid,
html[data-heads="start"] .team-grid { margin-inline: 0; }
html[data-heads="start"] .team-grid,
html[data-heads="start"] .stats--grid .stats-grid, html[data-heads="start"] .stats--inline .stats-grid { padding-inline: 0; max-width: none; }
html[data-heads="start"] .section-more { justify-content: flex-start; }
html[data-heads="start"] .vm--stacked .vm-wrap { margin-inline: 0; }
html[data-heads="start"] .stats--inline .stats-grid { justify-content: flex-start; }
html[data-heads="start"] .about-statement { max-width: 1240px; text-align: start; }
html[data-heads="start"] .about-statement > :not(.about-wide) { max-width: 960px; }
html[data-heads="start"] .about-statement .about-buttons { justify-content: flex-start; }

/* themed team: portrait cards (photo across the top, details below) */
html[data-header] .team-grid--cards { margin-top: 0; gap: 1.5rem; padding: 0; }
html[data-header] .team--slider .carousel-track { padding-top: 0; }
html[data-header] .team-grid--cards .team-card, html[data-header] .team--slider .team-card {
  padding: 0; overflow: hidden; text-align: start; align-items: stretch; border-radius: var(--radius-md);
}
html[data-header] .team-grid--cards .team-card::before, html[data-header] .team--slider .team-card::before { display: none; }
html[data-header] .team-grid--cards .team-card:hover, html[data-header] .team--slider .team-card:hover { transform: none; }
html[data-header] .team-grid--cards .team-photo, html[data-header] .team--slider .team-photo {
  position: relative; top: auto; left: auto; transform: none; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; box-shadow: none;
}
html[data-header] .team-grid--cards .team-card:hover .team-photo, html[data-header] .team--slider .team-card:hover .team-photo { transform: none; box-shadow: none; }
html[data-header] .team-grid--cards .team-photo::after, html[data-header] .team--slider .team-photo::after { display: none; }
html[data-header] .team-grid--cards .team-photo img, html[data-header] .team--slider .team-photo img { height: 100%; position: absolute; inset: 0; }
html[data-header] .team-grid--cards .team-photo-empty span, html[data-header] .team--slider .team-photo-empty span { font-size: 2.6rem; }
html[data-header] .team-grid--cards .team-body, html[data-header] .team--slider .team-body { padding: 1.2rem 1.35rem 1.4rem; align-items: flex-start; }
html[data-header] .team-role::after { display: none; }
html[data-header] .team-social { justify-content: flex-start; }
/* mosaic: six images fill four columns exactly */
.gallery-grid--mosaic { grid-auto-flow: dense; }
.gallery-grid--mosaic .gallery-item:nth-child(6n + 5), .gallery-grid--mosaic .gallery-item:nth-child(6n + 6) { grid-column: span 2; }
@media (max-width: 760px) { .gallery-grid--mosaic .gallery-item:nth-child(6n + 5), .gallery-grid--mosaic .gallery-item:nth-child(6n + 6) { grid-column: span 1; } }
/* intrinsic width/height attributes must not defeat the aspect ratios above */
.about-wide img, .about--overlap .about-image-wrap .about-image, .hero-frame img, .hero-ed-media img, .hero-asym-media img,
.hero-asym-second img, .hero-svc-media img, .row-thumb img, .ed-media img, .hero-showcase.hs-count-1 .hs-img { height: auto; }

/* ==================================================================
   NEW CONTENT: eyebrows, header note, hero slides, about points,
   card extras, countdown, pricing, timeline, certifications, app,
   newsletter (all only appear when their content exists)
================================================================== */
.section-eyebrow { display: block; margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-primary); }
html[dir="rtl"] .section-eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.top-bar-note { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 1rem; }
@media (max-width: 760px) { .top-bar-note { display: none; } }
.hero-bg.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-bg.hero-slide.is-on { opacity: 1; }
.about-highlights { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.about-highlights li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; line-height: 1.5; }
.about-hl-ico { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--color-primary) 14%, transparent); color: var(--color-primary); margin-top: 1px; }
.about-hl-ico svg { width: 13px; height: 13px; }
.about-image-wrap.has-second { position: relative; padding-bottom: 12%; }
/* the second photo sits in front of the main one (.about-image is z-index 1) */
.about-image-2 { position: absolute; z-index: 2; width: 46%; inset-inline-end: -4%; bottom: 0; border-radius: var(--radius-lg); border: 6px solid var(--color-background); box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; height: auto; }
/* framed overlap: the text card covers the inner side, so the inset goes to the outer corner */
.about--overlap .about-image-2 { inset-inline-end: auto; inset-inline-start: -4%; }
@media (max-width: 960px) {
  .about-image-2, .about--overlap .about-image-2 { inset-inline-start: auto; inset-inline-end: 0; width: 42%; }
  /* framed overlap stacks the text card over the photo's bottom: the inset moves to the top corner */
  .about--overlap .about-image-wrap.has-second { padding-bottom: 0; }
  .about--overlap .about-image-2 { top: 0.9rem; bottom: auto; inset-inline-end: 0.9rem; width: 38%; }
}
.card.has-badge { position: relative; }
.card-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--color-primary); color: var(--color-on-primary, #fff); font-size: 0.75rem; font-weight: 700; line-height: 1.2; box-shadow: var(--shadow-sm); }
.card--text-only .card-badge { position: static; display: inline-block; margin: 1.4rem 1.6rem 0; align-self: flex-start; }
.card-body .card-meta { color: var(--color-text-muted); font-size: 0.85rem; margin: 0.15rem 0 0.6rem; }
.card-body .card-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--color-primary); margin: 0.4rem 0 0.9rem; }
.cta-countdown, .countdown { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.cta--banner .cta-countdown, .cta--background .cta-countdown { justify-content: center; }
.cd-unit { min-width: 64px; padding: 0.55rem 0.7rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.14); text-align: center; display: grid; gap: 0.1rem; }
.cd-unit b { font-size: 1.4rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-unit small { font-size: 0.7rem; opacity: 0.85; }
.cta-light .cd-unit { background: rgba(0, 0, 0, 0.07); }
/* pricing */
.price-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-items: stretch; }
.price-grid.price-n1 { --cols: 1; max-width: 420px; margin-inline: auto; }
.price-grid.price-n2 { --cols: 2; max-width: 860px; margin-inline: auto; }
.price-grid.price-n4 { --cols: 4; }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid.price-n1 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 2rem 1.7rem; border-radius: var(--radius-lg); background: var(--color-card-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-featured { border-color: var(--color-primary); box-shadow: 0 24px 48px -28px var(--color-primary); }
.price-card h3 { margin: 0; font-size: 1.2rem; }
.price-badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 14%, transparent); color: var(--color-primary); font-size: 0.75rem; font-weight: 700; vertical-align: middle; }
.price-card > .price-badge { align-self: flex-start; }
.price-card.is-featured > .price-badge { background: var(--color-primary); color: var(--color-on-primary, #fff); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem; }
.price-amount { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.1; color: var(--color-text); }
.price-period { color: var(--color-text-muted); font-size: 0.9rem; }
.price-desc { margin: 0; color: var(--color-text-muted); line-height: 1.7; }
.price-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; flex: 1 1 auto; align-content: start; }
.price-feats li { display: flex; gap: 0.55rem; align-items: flex-start; line-height: 1.5; }
.price-ico, .app-feats li > span:first-child { flex: 0 0 18px; color: var(--color-primary); margin-top: 2px; }
.price-ico svg, .app-feats svg { width: 18px; height: 18px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; border-top: 1px solid var(--color-border); }
.price-row { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 1.4rem 0.4rem; border-bottom: 1px solid var(--color-border); }
.price-row.is-featured { background: color-mix(in srgb, var(--color-primary) 6%, transparent); padding-inline: 1rem; }
.price-row-main h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.price-row-main p { margin: 0; color: var(--color-text-muted); }
.price-row-feats { font-size: 0.88rem; margin-top: 0.35rem !important; }
.price-row-side { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; text-align: end; }
.price-row-side .price-amount { font-size: 1.4rem; }
@media (max-width: 680px) { .price-row { flex-direction: column; align-items: flex-start; } .price-row-side { justify-content: flex-start; text-align: start; } }
/* timeline */
.tl { list-style: none; margin: 0 auto; padding: 0; }
html[data-heads="start"] .tl-vertical, html[data-heads="start"] .price-list { margin-inline: 0; }
.tl-vertical { max-width: 760px; position: relative; padding-inline-start: 2.2rem; }
.tl-vertical::before { content: ""; position: absolute; inset-inline-start: 0.55rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: color-mix(in srgb, var(--color-primary) 30%, var(--color-border)); }
.tl-vertical .tl-item { position: relative; padding: 0 0 2rem; }
.tl-vertical .tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; inset-inline-start: -2.2rem; top: 0.35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--color-background); border: 3px solid var(--color-primary); }
.tl-year { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--color-primary); margin-bottom: 0.25rem; }
.tl-body h3 { margin: 0 0 0.3rem; font-size: 1.12rem; }
.tl-body p { margin: 0; color: var(--color-text-muted); line-height: 1.7; }
.tl-horizontal { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1.5rem; overflow-x: auto; padding: 0.4rem 0.2rem 1rem; position: relative; scroll-snap-type: x mandatory; }
.tl-horizontal .tl-item { position: relative; padding-top: 2.2rem; scroll-snap-align: start; }
.tl-horizontal .tl-item::before { content: ""; position: absolute; top: 0.55rem; inset-inline: 0 -1.5rem; height: 2px; background: color-mix(in srgb, var(--color-primary) 30%, var(--color-border)); }
.tl-horizontal .tl-item:last-child::before { inset-inline-end: 0; }
.tl-horizontal .tl-dot { inset-inline-start: 0; top: 0; }
@media (max-width: 760px) { .tl-horizontal { grid-auto-flow: row; grid-auto-columns: auto; } .tl-horizontal .tl-item::before { display: none; } .tl-horizontal .tl-item { padding-top: 0; padding-inline-start: 2rem; } .tl-horizontal .tl-dot { top: 0.35rem; } }
/* certifications */
.cert-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.cert { margin: 0; padding: 1.7rem 1.3rem; border-radius: var(--radius-lg); background: var(--color-card-background); border: 1px solid var(--color-border); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.cert-media { width: 100%; height: 84px; display: grid; place-items: center; }
.cert-media img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.cert-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); }
.cert-icon svg { width: 30px; height: 30px; }
.cert figcaption { display: grid; gap: 0.2rem; }
.cert figcaption strong { font-size: 1.02rem; }
.cert figcaption span { color: var(--color-text-muted); font-size: 0.88rem; }
.cert-year { font-weight: 700; color: var(--color-primary) !important; }
.cert-strip { list-style: none; margin: 0; padding: 1.2rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2.4rem; border-radius: var(--radius-lg); background: var(--color-card-background); border: 1px solid var(--color-border); }
.cert-chip .cert-media { width: auto; height: 64px; }
.cert-chip .cert-media img { max-height: 64px; max-width: 160px; }
.cert-chip-name { display: inline-block; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--color-border); font-weight: 600; font-size: 0.9rem; }
/* app */
.app-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1040px; margin: 0 auto; }
.app-wrap--text { grid-template-columns: 1fr; text-align: center; max-width: 720px; }
.app--centered .app-wrap { grid-template-columns: 1fr; text-align: center; max-width: 720px; }
.app--centered .app-phone { order: 2; }
.app-phone { justify-self: center; width: min(280px, 72vw); padding: 12px; border-radius: 38px; background: #0b1220; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.app-phone img { width: 100%; height: auto; aspect-ratio: 9 / 18; object-fit: cover; border-radius: 28px; display: block; }
.app-text h2 { margin: 0 0 0.8rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.app-text > p { color: var(--color-text-muted); line-height: 1.8; margin: 0 0 1rem; }
.app-feats { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.6rem; }
.app-feats li { display: flex; gap: 0.55rem; align-items: flex-start; }
.app-wrap--text .app-feats, .app--centered .app-feats { justify-items: center; }
.app-stores { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.app-wrap--text .app-stores, .app--centered .app-stores { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.1rem; border-radius: 12px; background: #0b1220; color: #fff; text-decoration: none; transition: transform 0.25s ease; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.store-badge:hover { transform: translateY(-2px); }
.store-ico svg { width: 24px; height: 24px; display: block; }
.store-txt { display: grid; line-height: 1.15; text-align: start; }
.store-txt small { font-size: 0.68rem; opacity: 0.8; }
.store-txt strong { font-size: 1.02rem; }
@media (max-width: 860px) { .app-wrap { grid-template-columns: 1fr; text-align: center; } .app-feats { justify-items: center; } .app-stores { justify-content: center; } }
/* newsletter */
.nl-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 60%, var(--color-accent))); color: var(--color-on-primary, #fff); }
.nl--split .nl-box { background: var(--color-card-background); color: var(--color-text); border: 1px solid var(--color-border); }
.nl-text h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: inherit; }
.nl-text p { margin: 0; opacity: 0.9; line-height: 1.7; }
.nl-form { display: flex; gap: 0.6rem; }
.nl-form input { flex: 1 1 auto; min-width: 0; padding: 0.85rem 1.1rem; border-radius: 999px; border: 1px solid transparent; background: #fff; color: #0f172a; font: inherit; }
.nl--split .nl-form input { border-color: var(--color-border); background: var(--color-background); color: var(--color-text); }
.nl-form input[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2); }
.nl--band .nl-form .btn { background: #0b1220; color: #fff; border-color: #0b1220; }
.nl-note, .nl-status { margin: 0.7rem 0 0; font-size: 0.82rem; opacity: 0.85; }
@media (max-width: 760px) { .nl-box { grid-template-columns: 1fr; text-align: center; } .nl-form { flex-direction: column; } }
