/* ==========================================================================
   CITY LIGHT — سيتي لايت لتنظيم المعارض والمؤتمرات
   Master Stylesheet — "Editorial Architecture" Design Language
   Warm paper canvas · hairline rules · sharp geometry · oversized display type
   (Arabic First RTL & English LTR Support)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand Core Palette (unchanged brand identity) --- */
  --color-teal: #00CFB5;
  --color-teal-dark: #00A896;
  --color-teal-deeper: #008778;
  --color-teal-light: #E6FAF6;
  --color-teal-tint: rgba(0, 207, 181, 0.10);
  --color-teal-border: rgba(0, 207, 181, 0.35);

  --color-orange: #EC7800;
  --color-orange-dark: #C96400;
  --color-orange-light: #FFF3E6;
  --color-orange-tint: rgba(236, 120, 0, 0.10);
  --color-orange-border: rgba(236, 120, 0, 0.35);

  /* --- Typography Colours (preserved) --- */
  --color-text-dark: #0D1413;
  --color-text-body: #34403E;
  --color-text-muted: #5E6D6A;
  --color-text-light: #8E9E9B;

  --color-text-on-dark: #F5F8F7;
  --color-text-on-dark-body: #C9D4D2;
  --color-text-on-dark-muted: #93A3A0;

  /* --- New Surface System: warm architectural paper --- */
  --paper: #F2F6F6;
  --paper-deep: #E6EDED;
  --paper-warm: #FAFCFC;
  --card: #FFFFFF;

  --ink: #0E1211;
  --ink-elevated: #151A19;
  --ink-soft: #1C2322;

  /* --- Hairline Rules (the backbone of this design) --- */
  --rule: rgba(11, 25, 23, 0.09);
  --rule-strong: rgba(11, 25, 23, 0.16);
  --rule-dark: rgba(255, 255, 255, 0.14);
  --rule-dark-soft: rgba(255, 255, 255, 0.08);

  /* --- Legacy aliases (kept so inline styles in HTML keep working) --- */
  --color-ink: var(--ink);
  --color-ink-elevated: var(--ink-elevated);
  --color-charcoal: var(--ink-elevated);
  --color-charcoal-light: var(--ink-soft);
  --color-border-dark: var(--rule-dark);
  --color-border-dark-subtle: var(--rule-dark-soft);
  --color-surface: var(--card);
  --color-surface-alt: var(--paper);
  --color-surface-muted: var(--paper-deep);
  --color-border: var(--rule);
  --color-border-subtle: var(--rule);

  /* --- WhatsApp --- */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;

  /* --- Typography --- */
  --font-arabic-heading: 'El Messiri', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-arabic-body: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-en-heading: 'Inter', system-ui, sans-serif;
  --font-en-body: 'Inter', system-ui, sans-serif;

  /* --- Spacing --- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* --- Geometry: soft, pill-led (Liquid Glass) --- */
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 44px;
  --radius-pill: 999px;

  /* --- Glass surfaces --- */
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --glass-soft: rgba(255, 255, 255, 0.38);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-edge: rgba(255, 255, 255, 0.55);
  --glass-blur: blur(22px) saturate(180%);
  --glass-blur-strong: blur(34px) saturate(200%);

  --glass-dark: rgba(18, 24, 23, 0.52);
  --glass-dark-strong: rgba(18, 24, 23, 0.72);
  --glass-dark-border: rgba(255, 255, 255, 0.16);

  /* --- Depth: soft layered light, plus a specular top edge --- */
  --shadow-subtle: 0 1px 3px rgba(11, 25, 23, 0.04);
  --shadow-sm: 0 2px 10px rgba(11, 25, 23, 0.05);
  --shadow-md: 0 12px 32px -10px rgba(11, 25, 23, 0.14), 0 2px 8px rgba(11, 25, 23, 0.05);
  --shadow-lg: 0 28px 64px -20px rgba(11, 25, 23, 0.22), 0 4px 14px rgba(11, 25, 23, 0.06);
  --shadow-card: 0 10px 30px -14px rgba(11, 25, 23, 0.16);
  --shadow-card-hover: 0 26px 56px -20px rgba(0, 167, 150, 0.28), 0 6px 18px rgba(11, 25, 23, 0.08);
  --shadow-dark: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --glass-inset-dark: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  /* --- Motion --- */
  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* --- Layout --- */
  --max-width: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-height: 92px;
}

/* ==========================================================================
   2. RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-arabic-body);
  background-color: var(--paper);
  color: var(--color-text-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[dir="ltr"] body {
  font-family: var(--font-en-body);
  line-height: 1.65;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: var(--font-arabic-heading);
  letter-spacing: -0.015em;
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3,
[dir="ltr"] h4, [dir="ltr"] h5, [dir="ltr"] h6 {
  font-family: var(--font-en-heading);
  letter-spacing: -0.025em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg { display: block; flex-shrink: 0; }

svg:not([width]):not([height]) {
  width: 24px;
  height: 24px;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast),
              border-color var(--transition-fast), background-color var(--transition-fast);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; user-select: none; }

::selection {
  background-color: var(--color-teal);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--ink);
  color: var(--color-teal);
  padding: 0.85rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 0.75rem; }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 8vw, 8rem);
  position: relative;
}

/* Alternate bands are differentiated by tone + a hairline, never by shadow */
.section-alt {
  background-color: var(--paper-warm);
  border-block: 1px solid var(--rule);
}

.section-dark,
.section-ink {
  background-color: var(--ink);
  color: var(--color-text-on-dark-body);
}

.section-dark h2, .section-dark h3, .section-dark h4,
.section-ink h2, .section-ink h3, .section-ink h4 {
  color: #FFFFFF;
}

/* ==========================================================================
   4. SECTION HEADERS & EDITORIAL LABELS
   ========================================================================== */
.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
}

.section-header.text-center {
  margin-inline: auto;
  text-align: center;
}

/* Editorial kicker: a rule + tracked caps, never a pill badge */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-teal-deeper);
  margin-bottom: 1.1rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--color-orange);
}

.section-header.text-center .section-label::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--color-orange);
}

.section-dark .section-label,
.section-ink .section-label,
.dark-header .section-label {
  color: var(--color-teal);
}

/* Section titles — oversized, tight, ink */
.section-header h2,
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.section-dark .section-header h2,
.section-ink .section-header h2,
.dark-header h2,
.section-dark .section-title {
  color: #FFFFFF;
}

.section-header > p,
.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 62ch;
}

.section-header.text-center > p { margin-inline: auto; }

.section-dark .section-header > p,
.section-ink .section-header > p,
.dark-header p {
  color: var(--color-text-on-dark-body);
}

/* ==========================================================================
   5. BUTTONS — flat, squared, sweep-fill on hover
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.9rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

[dir="rtl"] .btn:hover svg[fill="none"] { transform: translateX(-4px); }
[dir="ltr"] .btn:hover svg[fill="none"] { transform: translateX(4px); }

/* Primary — ink block that flips to teal */
.btn-primary {
  background-color: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.btn-primary:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
}

/* Teal solid */
.btn-teal {
  background-color: var(--color-teal);
  color: var(--ink);
  border-color: var(--color-teal);
}

.btn-teal:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
}

/* Secondary — orange */
.btn-secondary {
  background-color: var(--color-orange);
  color: #FFFFFF;
  border-color: var(--color-orange);
}

.btn-secondary:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

/* Outline on paper */
.btn-outline-dark,
.btn-outline-light {
  background-color: transparent;
  color: var(--color-text-dark);
  border-color: var(--rule-strong);
}

.btn-outline-dark:hover,
.btn-outline-light:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

/* Outline on dark surfaces */
.btn-outline,
.section-dark .btn-outline-light,
.section-ink .btn-outline-light,
.quality-box .btn-outline-light,
.cta-banner .btn-outline-light,
.site-footer .btn-outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover,
.section-dark .btn-outline-light:hover,
.section-ink .btn-outline-light:hover,
.quality-box .btn-outline-light:hover,
.cta-banner .btn-outline-light:hover,
.site-footer .btn-outline-light:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
}

/* WhatsApp */
.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: #FFFFFF;
}

.btn-dark {
  background-color: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.btn-dark:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
}

/* ==========================================================================
   6. HEADER — light paper bar, hairline rule, wide gutters
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
  z-index: 1000;
  transition: height var(--transition-base), background-color var(--transition-base),
              border-color var(--transition-base);
}

.site-header.scrolled {
  height: 68px;
  background-color: rgba(244, 241, 234, 0.97);
  border-bottom-color: var(--rule-strong);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

@media (min-width: 1600px) {
  .header-container { padding-inline: clamp(3.5rem, 6vw, 6rem); }
}

/* Brand */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.brand-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-base);
}

.site-header.scrolled .brand-logo img { height: 52px; }

/* Desktop navigation — underline that draws from the start edge */
.nav-desktop { display: none; }

@media (min-width: 992px) {
  .nav-desktop { display: block; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.35rem);
}

.nav-item a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: var(--color-text-body);
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: width var(--transition-base);
}

.nav-item a:hover { color: var(--color-text-dark); }
.nav-item a:hover::after { width: 100%; }

.nav-item.active a { color: var(--color-text-dark); }
.nav-item.active a::after {
  width: 100%;
  background-color: var(--color-orange);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 991px) {
  .site-header .btn-whatsapp,
  .header-actions .btn-whatsapp { display: none !important; }
}

/* In the header the WhatsApp CTA is outlined so the bar stays quiet */
.header-actions .btn-whatsapp {
  background-color: transparent;
  color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp);
  box-shadow: none;
}

.header-actions .btn-whatsapp:hover {
  background-color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: #FFFFFF;
}

/* Language Switcher Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-flex;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.8rem;
  color: var(--color-text-dark);
  background-color: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.lang-toggle .lang-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.lang-toggle .lang-btn-text {
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
}

.lang-toggle .lang-chevron {
  width: 0.8rem;
  height: 0.8rem;
  stroke: var(--color-teal-deeper);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.lang-dropdown.is-open .lang-toggle,
.lang-toggle:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.lang-dropdown.is-open .lang-toggle .lang-chevron,
.lang-toggle:hover .lang-chevron {
  stroke: var(--color-teal);
}

.lang-dropdown.is-open .lang-toggle .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 155px;
  background-color: #FFFFFF;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: start;
}

.lang-option:hover {
  background-color: var(--color-surface);
  color: var(--color-teal-deeper);
}

.lang-option.active {
  background-color: rgba(0, 168, 150, 0.08);
  color: var(--color-teal-deeper);
  font-weight: 700;
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
}

.lang-option.active .lang-badge {
  background: var(--color-teal);
  color: #FFFFFF;
}

.lang-name {
  flex: 1;
  font-size: 0.85rem;
}

.lang-check {
  width: 0.85rem;
  height: 0.85rem;
  stroke: var(--color-teal);
  opacity: 0;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 9px;
  color: var(--color-text-dark);
  background-color: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
}

.mobile-menu-btn svg { width: 22px; height: 22px; }

.mobile-menu-btn:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

@media (min-width: 992px) {
  .mobile-menu-btn { display: none; }
}

/* ==========================================================================
   7. MOBILE DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 18, 17, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background-color: var(--paper);
  border-left: 1px solid var(--rule);
  z-index: 1002;
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}

[dir="ltr"] .mobile-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--rule);
  transform: translateX(-100%);
}

.mobile-drawer.active,
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Overrides the legacy inline height carried on the drawer logo in every page */
.mobile-drawer-header img { height: 66px !important; width: auto; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.mobile-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
}

.mobile-close-btn:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.mobile-close-btn svg { width: 18px; height: 18px; }

/* Numbered mobile navigation */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  counter-reset: mobnav;
}

.mobile-nav-links a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1rem 0;
  color: var(--color-text-dark);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--rule);
}

.mobile-nav-links a::before {
  counter-increment: mobnav;
  content: "0" counter(mobnav);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  min-width: 1.6rem;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--color-teal-deeper); }
.mobile-nav-links a.active::before { color: var(--color-teal); }

/* ==========================================================================
   8. HERO — asymmetric editorial split (type block + framed media panel)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + clamp(2rem, 6vw, 5rem));
  padding-bottom: 0;
  background-color: var(--paper);
  color: var(--color-text-body);
  overflow: hidden;
}

/* Media panel pinned to the inline-end half */
.hero-bg-video {
  position: absolute;
  top: var(--header-height);
  bottom: 96px;
  inset-inline-end: 0;
  width: 44%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--ink);
  border-inline-start: 1px solid var(--rule);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  top: var(--header-height);
  bottom: 96px;
  inset-inline-end: 0;
  width: 44%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(14, 18, 17, 0.62) 0%, rgba(14, 18, 17, 0.10) 45%, rgba(14, 18, 17, 0.28) 100%),
    linear-gradient(to top, rgba(0, 207, 181, 0.18), transparent 60%);
}

/* Vertical brand rule marking the split */
.hero-accent-line {
  position: absolute;
  top: var(--header-height);
  bottom: 96px;
  inset-inline-end: 44%;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-teal) 0%, var(--color-teal) 38%, var(--color-orange) 38%, var(--color-orange) 100%);
  z-index: 2;
}

.hero-section .container,
.hero-container {
  position: relative;
  z-index: 3;
  margin-block: auto;
  width: 100%;
}

.hero-content {
  max-width: min(52%, 720px);
  margin-inline: 0;
  text-align: start;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

/* Brand highlights become drawn marks rather than plain colour swaps */
.highlight-teal,
.highlight-orange {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.highlight-teal { color: var(--color-teal-deeper); }
.highlight-orange { color: var(--color-orange-dark); }

.highlight-teal::after,
.highlight-orange::after {
  content: "";
  position: absolute;
  inset-inline: -0.12em;
  bottom: 0.06em;
  height: 0.32em;
  z-index: -1;
  opacity: 0.28;
}

.highlight-teal::after { background-color: var(--color-teal); }
.highlight-orange::after { background-color: var(--color-orange); }

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-inline: 0;
  margin-bottom: 2.5rem;
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid var(--rule-strong);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Bottom facts rail — hairline ruled, full width */
.hero-bottom-strip {
  position: relative;
  z-index: 3;
  margin-top: auto;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

.strip-grid,
.hero-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
}

@media (min-width: 768px) {
  .strip-grid,
  .hero-strip-inner { grid-template-columns: repeat(3, 1fr); }
}

.strip-item,
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding-block: 1.5rem;
  padding-inline: clamp(0.75rem, 2vw, 1.75rem);
  border-inline-start: 1px solid var(--rule);
  min-height: 96px;
}

.strip-item:first-child,
.hero-strip-item:first-child { border-inline-start: none; padding-inline-start: 0; }

.strip-item svg,
.hero-strip-item svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Hero on tablet / mobile — media becomes a ghosted backdrop */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-bg-video,
  .hero-overlay {
    inset-inline: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    border: none;
  }

  .hero-video-element { opacity: 0.34; filter: saturate(1.05); }

  .hero-overlay {
    background: linear-gradient(to top, var(--paper) 6%, rgba(244, 241, 234, 0.7) 60%, rgba(244, 241, 234, 0.85) 100%);
  }

  .hero-accent-line {
    inset-inline: 0;
    top: auto;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, var(--color-teal), var(--color-orange));
  }

  .hero-content {
    max-width: 100%;
    padding-block: 1rem 3rem;
  }

  .hero-strip-item:first-child { padding-inline-start: 0; }
  .hero-strip-item {
    border-inline-start: none;
    border-top: 1px solid var(--rule);
    min-height: auto;
    padding-block: 1.05rem;
    padding-inline: 0;
  }
  .hero-strip-item:first-child { border-top: none; }
}

/* ==========================================================================
   9. STATS RAIL — paper band, giant numerals, vertical hairlines
   ========================================================================== */
.stats-strip-section {
  background-color: var(--ink);
  color: var(--color-text-on-dark);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 992px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: start;
  padding: 1.5rem clamp(1rem, 2.5vw, 2rem);
  border-inline-start: 1px solid var(--rule-dark);
}

.stat-item:first-child { border-inline-start: none; padding-inline-start: 0; }

@media (max-width: 991px) {
  .stat-item:nth-child(odd) { border-inline-start: none; padding-inline-start: 0; }
  .stat-item:nth-child(n + 3) { border-top: 1px solid var(--rule-dark); }
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.1rem;
  margin-bottom: 0.6rem;
}

.stat-number {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  font-family: var(--font-arabic-heading);
}

.stat-symbol {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--color-teal);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 600;
  line-height: 1.6;
  max-width: 24ch;
}

/* Legacy stat cards (if reused) */
.stats-counter-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border-top: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .stats-counter-strip { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background-color: transparent;
  border: none;
  border-inline-start: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  text-align: start;
}

.stat-card:first-child { border-inline-start: none; }

/* ==========================================================================
   10. ABOUT SPLIT — offset frame instead of rounded card
   ========================================================================== */
.about-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .about-split-grid { grid-template-columns: 1.05fr 0.95fr; }

  /* Consecutive split blocks (services page) mirror each other */
  .about-split-grid:nth-child(even) { grid-template-columns: 0.95fr 1.05fr; }
  .about-split-grid:nth-child(even) > .about-text { order: 2; }
  .about-split-grid:nth-child(even) > .about-image-wrap { order: 1; }
}

.about-text > p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.about-image-wrapper,
.about-image-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  isolation: isolate;
}

.about-image-wrapper img,
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background-color: var(--paper-deep);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  display: block;
  transition: transform var(--transition-smooth);
}

/* Logo artwork is contained on ink, photography is cropped */
.about-image-wrap img[src*="logo"],
.about-image-wrapper img[src*="logo"] {
  object-fit: contain;
  background-color: var(--ink);
  aspect-ratio: 1 / 1;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-color: var(--ink);
}

/* The offset accent block behind the image */
.about-image-accent {
  position: absolute;
  inset-block: 18px -18px;
  inset-inline: 18px -18px;
  border: 1px solid var(--color-teal);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 207, 181, 0.09) 0 2px,
    transparent 2px 8px
  );
  z-index: -1;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
}

.about-image-wrapper:hover img,
.about-image-wrap:hover img { transform: translate(0, -4px); }

.about-stats-badge {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  background-color: var(--ink);
  color: #FFFFFF;
  padding: 1.35rem 1.75rem;
  border-radius: var(--radius-md);
}

.about-stats-badge .badge-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stats-badge .badge-label {
  font-size: 0.8rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 600;
}

/* Feature list — ruled rows */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
}

.feature-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-teal-deeper);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--color-text-dark);
}

.feature-text p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   11. SERVICES — icon-led glass cards (no photography)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 620px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1360px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  background-color: var(--glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), var(--glass-inset);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-fast);
}

/* A soft brand bloom that lifts on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: -40%;
  inset-inline-end: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 207, 181, 0.22), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal-border);
  box-shadow: var(--shadow-card-hover), var(--glass-inset);
}

.service-card:hover::after { opacity: 1; }

.service-icon-box {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;      /* the card is a column flex box: don't let this squash */
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(0, 207, 181, 0.18), rgba(236, 120, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--color-teal-deeper);
  box-shadow: var(--glass-inset);
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
  transition: background var(--transition-base), color var(--transition-fast),
              transform var(--transition-base);
}

.service-card .service-icon-box svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}

.service-card:hover .service-icon-box {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-dark));
  color: #FFFFFF;
  transform: scale(1.05) rotate(-3deg);
}

.service-title,
.service-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.service-desc,
.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-teal-deeper);
  position: relative;
  z-index: 1;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.service-link svg { width: 0.85rem; height: 0.85rem; }
[dir="rtl"] .service-link svg { transform: rotate(180deg); }

.service-card:hover .service-link {
  color: var(--color-orange-dark);
  gap: 0.7rem;
}


/* ==========================================================================
   11b. SCREENS & EQUIPMENT — photography-led cards, captions below the image
   ========================================================================== */
.gear-section { background-color: var(--paper); }

.gear-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .gear-grid { grid-template-columns: repeat(3, 1fr); }
  .gear-card.featured { grid-column: span 3; }
}

.gear-card {
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-base);
}

.gear-card:hover { background-color: var(--paper-warm); }

.gear-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--ink);
}

/* The featured card gives the screens a full cinematic band */
@media (min-width: 1100px) {
  .gear-card.featured { flex-direction: row; align-items: stretch; }
  .gear-card.featured .gear-visual { flex: 1 1 62%; aspect-ratio: auto; min-height: 420px; }
  .gear-card.featured .gear-body { flex: 1 1 38%; justify-content: center; }
  .gear-card.featured .gear-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
  /* Keep the copy grouped instead of stretching to the tall card's full height */
  .gear-card.featured .gear-specs { margin-top: 0.5rem; }
}

.gear-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-smooth);
}

.gear-card:hover .gear-visual img { transform: scale(1.04); }

.gear-tag {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  background-color: var(--color-teal);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}

.gear-body {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.gear-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-text-dark);
}

.gear-body > p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.gear-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.gear-specs li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-body);
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.gear-specs li:last-child { border-bottom: none; }

.gear-specs li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background-color: var(--color-orange);
}

.gear-cta { text-align: center; margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* ==========================================================================
   12. GALLERY — sharp mosaic, monochrome to colour, ruled caption bar
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.filter-btn {
  padding: 0.45rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.filter-btn:hover { color: var(--color-text-dark); }

.filter-btn.active {
  color: var(--color-text-dark);
  border-bottom-color: var(--color-orange);
  font-weight: 800;
}

/* Bento mosaic (home) */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1px;
  background-color: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}

@media (min-width: 768px) {
  .gallery-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(210px, 20vw);
  }
  .card-wide { grid-column: span 4; }
  .card-tall { grid-column: span 2; grid-row: span 2; }
  .card-medium { grid-column: span 2; }
}

/* Standard grid (works page) */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--ink);
  border: none;
  box-shadow: none;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: none;
}

.gallery-bento .gallery-card {
  aspect-ratio: auto;
  height: 100%;
  min-height: 190px;
}

.gallery-card.hidden { display: none !important; }

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

/* Caption bar slides up from the bottom edge */
.gallery-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(to top, rgba(14, 18, 17, 0.94) 0%, rgba(14, 18, 17, 0.72) 60%, transparent 100%);
  opacity: 1;
  transform: translateY(0);
  transition: background var(--transition-base);
  border-top: 2px solid transparent;
}

.gallery-category {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-teal);
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.gallery-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.12) contrast(1.02) brightness(1.03);
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay {
  background: linear-gradient(to top, rgba(0, 135, 120, 0.96) 0%, rgba(14, 18, 17, 0.55) 65%, transparent 100%);
  border-top-color: var(--color-orange);
}

.gallery-card:hover .gallery-category { color: #FFFFFF; }

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 18, 17, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox-modal.active { opacity: 1; visibility: visible; }

.lightbox-content {
  position: relative;
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img,
.lightbox-image {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-dark);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1.25rem;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  padding-top: 1rem;
  border-top: 2px solid var(--color-teal);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  inset-inline-end: 0;
  color: #FFFFFF;
  background: none;
  border: 1px solid var(--rule-dark);
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
}

/* ==========================================================================
   13. CLIENTS & PARTNERS
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .clients-grid { grid-template-columns: repeat(6, 1fr); }
}

.client-logo-card,
.client-logo-item {
  background-color: var(--paper-warm);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  height: 118px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background-color var(--transition-fast);
}

.client-logo-card img,
.client-logo-item img {
  width: 100%;
  height: 58px;
  max-height: 58px;
  max-width: 165px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition-fast), opacity var(--transition-fast);
}

.client-logo-card:hover,
.client-logo-item:hover { background-color: var(--ink); }

.client-logo-card:hover img,
.client-logo-item:hover img {
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 1;
}

/* Marquee band */
.clients-marquee-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background-color: var(--paper-warm);
  border-block: 1px solid var(--rule);
}

.clients-marquee-wrap,
.clients-marquee {
  overflow: hidden;
  position: relative;
  padding-block: 0;
  direction: ltr; /* see .reels-row — keeps the loop on-screen under RTL */
  border-block: 1px solid var(--rule);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clients-marquee-track,
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  direction: ltr; /* see .reels-track — keeps the loop on-screen under RTL */
  animation: marqueeScroll 40s linear infinite;
}

.clients-marquee-track .client-logo-item,
.marquee-track .client-logo-item {
  min-width: 190px;
  height: 130px;
  border-inline-end: 1px solid var(--rule);
  background-color: transparent;
}

.clients-marquee-wrap:hover .clients-marquee-track,
.clients-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   13b. INSTAGRAM REELS — two full-bleed rows scrolling right to left
   ========================================================================== */
.reels-section {
  background-color: var(--ink);
  color: var(--color-text-on-dark-body);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  overflow: hidden;
  position: relative;
  border-top: 3px solid var(--color-orange);
}

.reels-section .section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reels-row {
  overflow: hidden;
  padding-block: 0;
  /* The marquee is laid out LTR. A max-content track inside an RTL parent is
     pinned by its RIGHT edge, so it would sit off-screen to the left and the
     translate would drag it completely out of view. */
  direction: ltr;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

/* Matches the horizontal gap between cards */
.reels-row + .reels-row { margin-top: 1rem; }

.reels-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  /* Laid out LTR so the track's own origin is the left edge. On an RTL page a
     max-content track would otherwise start off-screen to the left and the
     translate would drag it out of view entirely. */
  direction: ltr;
  animation: reelsScroll 64s linear infinite;
}

/* The lower row travels the opposite way, at its own pace */
.reels-row-2 .reels-track {
  animation-name: reelsScrollReverse;
  animation-duration: 88s;
}

.reels-row:hover .reels-track,
.reels-row:focus-within .reels-track { animation-play-state: paused; }

/* Top row: right to left */
@keyframes reelsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Bottom row: left to right */
@keyframes reelsScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.reel-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(180px, 15vw, 240px);
  aspect-ratio: 9 / 16; /* the real Reels frame */
  overflow: hidden;
  background-color: var(--ink-elevated);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  display: block;
  transition: border-color var(--transition-fast);
}

.reel-card img,
.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Only a light dim — these covers carry the brand's own artwork and text,
     so heavy desaturation would bury it. */
  filter: saturate(1.03) brightness(0.96);
  transition: transform var(--transition-smooth), filter var(--transition-base);
}

.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 18, 17, 0.55), transparent 55%);
  opacity: 1;
  transition: opacity var(--transition-base), background var(--transition-base);
}

/* Persistent marker so a card reads as a video, not a photo */
.reel-play {
  position: absolute;
  z-index: 2;
  bottom: 0.7rem;
  inset-inline-start: 0.7rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 18, 17, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* A play glyph always points forward, never mirrored by RTL */
.reel-play svg { width: 12px; height: 12px; }

.reel-card:hover .reel-play,
.reel-card:focus-visible .reel-play { opacity: 0; }

.reel-badge {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.reel-badge svg {
  width: 44px;
  height: 44px;
  color: #FFFFFF;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

.reel-card:hover,
.reel-card:focus-visible { border-color: var(--color-teal); }

.reel-card:hover img,
.reel-card:hover video,
.reel-card:focus-visible img,
.reel-card:focus-visible video {
  transform: scale(1.06);
  filter: grayscale(0) brightness(1.03);
}

.reel-card:hover::after,
.reel-card:focus-visible::after {
  background: linear-gradient(to top, rgba(0, 135, 120, 0.6), rgba(14, 18, 17, 0.25));
}

.reel-card:hover .reel-badge,
.reel-card:focus-visible .reel-badge { opacity: 1; }

.reels-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (max-width: 640px) {
  .reel-card { width: 148px; }
  .reels-track { gap: 0.6rem; }
}

/* ==========================================================================
   14. PROCESS TIMELINE — connected ruled steps
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}

@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step-card {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-inline-start: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  position: relative;
  transition: background-color var(--transition-base);
}

.process-step-card:first-child { border-inline-start: none; }

@media (min-width: 768px) and (max-width: 1199px) {
  .process-step-card:nth-child(odd) { border-inline-start: none; }
}

.process-step-card::after {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: width var(--transition-smooth);
}

.process-step-card:hover { background-color: var(--paper-warm); }
.process-step-card:hover::after { width: 100%; }

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--color-orange);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.step-title {
  font-size: 1.1rem !important;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.35;
}

/* ==========================================================================
   15. FAQ — ruled accordion, no boxes
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.faq-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.faq-item.faq-open { border-bottom-color: var(--color-teal); box-shadow: none; }

.faq-question {
  width: 100%;
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: start;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
  background: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--color-teal-deeper); }
.faq-item.faq-open .faq-question { color: var(--color-teal-deeper); }

.faq-icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  flex-shrink: 0;
  border: 1px solid var(--rule-strong);
  color: var(--color-text-dark);
  transition: transform var(--transition-base), background-color var(--transition-fast),
              color var(--transition-fast), border-color var(--transition-fast);
}

.faq-item.faq-open .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.faq-item.faq-open .faq-answer {
  max-height: 420px;
  padding: 0 0 1.75rem;
}

.faq-answer p {
  max-width: 78ch;
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid var(--color-teal);
}

/* ==========================================================================
   16. QUALITY / HIGHLIGHT PANEL — full ink block, ruled points
   ========================================================================== */
.quality-section { padding-block: 0; }

.quality-section .container { padding-inline: 0; max-width: none; }

.quality-box {
  background-color: var(--ink);
  color: var(--color-text-on-dark-body);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
  border: none;
  border-top: 3px solid var(--color-teal);
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 992px) {
  .quality-box {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    padding-inline: clamp(2rem, 7vw, 7rem);
  }
}

.quality-box h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.quality-box .section-label { color: var(--color-orange) !important; }
.quality-box .section-label::before { background-color: var(--color-teal); }

.quality-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}

@media (min-width: 640px) {
  .quality-points { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

.quality-point {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dark);
  border-radius: var(--radius-md);
  padding: 1.4rem 0;
  transition: none;
}

.quality-point:hover { background: transparent; transform: none; }

.quality-point h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.quality-point h4::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background-color: var(--color-teal);
}

.quality-point:nth-child(even) h4::before { background-color: var(--color-orange); }

.quality-point p {
  font-size: 0.9rem;
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
  padding-inline-start: 1.1rem;
}

/* Legacy quality card grid */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 640px) { .quality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quality-grid { grid-template-columns: repeat(4, 1fr); } }

.quality-card {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-inline-start: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: none;
  transition: background-color var(--transition-base);
}

.quality-card:first-child { border-inline-start: none; }
.quality-card:hover { background-color: var(--paper-warm); transform: none; }

.quality-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--color-teal-deeper);
  margin-bottom: 1.25rem;
}

.quality-icon svg { width: 22px; height: 22px; }

.quality-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
}

.quality-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   17. VISION & MISSION
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 2px solid var(--ink);
}

@media (min-width: 900px) {
  .vision-mission-grid { grid-template-columns: 1fr 1fr; }
}

.vm-card {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(0rem, 3vw, 2.5rem);
  position: relative;
}

@media (min-width: 900px) {
  .vm-card + .vm-card { border-inline-start: 1px solid var(--rule); }
}

.vm-card::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 72px;
  height: 2px;
  background-color: var(--color-teal);
}

.vm-card.mission::before { background-color: var(--color-orange); }

.vm-card h3 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: 1.1rem;
}

.vm-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ==========================================================================
   18. PAGE BANNER (interior pages) — paper, oversized title
   ========================================================================== */
.page-banner {
  background-color: var(--paper);
  color: var(--color-text-body);
  padding-top: calc(var(--header-height) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

/* Oversized brand tick in the corner */
.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: clamp(-4rem, -6vw, -2rem);
  width: clamp(180px, 26vw, 380px);
  height: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 207, 181, 0.10) 0 2px,
    transparent 2px 10px
  );
  pointer-events: none;
}

.page-banner-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-teal-deeper); }
.breadcrumb a:hover { color: var(--color-orange-dark); }

.page-banner h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-bottom: 1.1rem;
}

.page-banner p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 64ch;
}

/* ==========================================================================
   19. CONTACT & FORMS
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 992px) {
  .contact-layout-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.contact-cards-stack .section-header { border-bottom: none; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.5rem 0;
  box-shadow: none;
  transition: none;
}

.contact-info-card:hover { transform: none; box-shadow: none; }

.contact-card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--color-teal-deeper);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast);
}

.contact-info-card:hover .contact-card-icon {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--color-teal);
}

.contact-card-icon svg { width: 20px; height: 20px; }

.contact-card-details h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--color-text-light);
}

.contact-card-details p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.contact-card-details a:hover { color: var(--color-teal-deeper); }

/* Form shell */
.contact-form-card,
.rfq-form-card {
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: none;
}

.rfq-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .rfq-form-grid { grid-template-columns: repeat(2, 1fr); }
  .rfq-form-full { grid-column: span 2; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.form-label .required-star {
  color: var(--color-orange);
  margin-inline-start: 3px;
}

/* Underline-only fields — a clear break from boxed inputs */
.form-input,
.form-select,
.form-textarea,
.form-control {
  width: 100%;
  padding: 0.75rem 0.25rem;
  background-color: transparent;
  border: none;
  border-bottom: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-select { padding-inline-end: 0.5rem; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  background-color: var(--paper-warm);
  border-bottom-color: var(--color-teal);
  box-shadow: none;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-control::placeholder {
  color: var(--color-text-light);
  font-weight: 500;
}

.form-textarea,
textarea.form-control {
  resize: vertical;
  min-height: 140px;
  border: 1.5px solid var(--rule-strong);
  padding: 0.9rem 1rem;
}

.form-textarea:focus,
textarea.form-control:focus { border-color: var(--color-teal); }

.form-control.is-invalid {
  border-color: #D93025;
  border-bottom-color: #D93025;
  background-color: #FDF3F2;
}

.form-error-msg {
  font-size: 0.78rem;
  color: #D93025;
  font-weight: 700;
  display: none;
  margin-top: 0.15rem;
}

.form-error-msg.visible { display: block; }

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: none;
  margin-bottom: 1.5rem;
  border-inline-start: 3px solid transparent;
}

.form-alert.success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-teal-light);
  color: var(--color-teal-deeper);
  border-inline-start-color: var(--color-teal);
}

.form-alert.error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FDF3F2;
  color: #B3261E;
  border-inline-start-color: #D93025;
}

.btn-submit-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submitting .btn-submit-spinner { display: inline-block; }
.btn-submitting .btn-text-content { opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Quick inquiry generator */
.inquiry-generator-box {
  background-color: var(--paper-warm);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.inquiry-generator-box h3,
.inquiry-generator-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: var(--color-text-dark);
}

.preset-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .preset-topics-grid { grid-template-columns: repeat(3, 1fr); }
}

.preset-topic-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-body);
  background-color: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  text-align: start;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast);
}

.preset-topic-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  opacity: 0.55;
}

[dir="rtl"] .preset-topic-btn svg { transform: rotate(180deg); }

.preset-topic-btn:hover {
  border-color: var(--ink);
  color: var(--color-text-dark);
}

.preset-topic-btn.selected {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

/* Map card */
.map-card {
  margin-top: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.map-card-info { display: flex; align-items: center; gap: 1rem; }

.map-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--color-teal-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card-icon svg { width: 22px; height: 22px; }

/* ==========================================================================
   20. CTA BANNER — full-bleed teal block
   ========================================================================== */
.cta-banner {
  background-color: var(--color-teal);
  color: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
  overflow: hidden;
  border: none;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: clamp(120px, 18vw, 300px);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(14, 18, 17, 0.08) 0 2px,
    transparent 2px 12px
  );
  pointer-events: none;
}

.cta-banner-content {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.cta-banner p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(14, 18, 17, 0.78);
  font-weight: 600;
  margin-bottom: 2rem;
  max-width: 62ch;
  margin-inline: auto;
}

.cta-banner .btn-primary {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.cta-banner .btn-primary:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
}

/* ==========================================================================
   21. FOOTER — ink, ruled columns, oversized brand block
   ========================================================================== */
.site-footer {
  background-color: var(--ink);
  color: var(--color-text-on-dark-muted);
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: 2rem;
  border-top: none;
}

.footer-grid,
.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--rule-dark);
  border-top: 1px solid var(--rule-dark);
}

@media (min-width: 640px) {
  .footer-grid,
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid,
  .footer-top-grid { grid-template-columns: 1.5fr 1fr 1.4fr; }
}

.footer-brand,
.footer-col {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(0rem, 2.5vw, 2.5rem);
  border-inline-start: 1px solid var(--rule-dark);
}

.footer-brand { border-inline-start: none; padding-inline-start: 0; }

@media (max-width: 1023px) {
  .footer-col { border-top: 1px solid var(--rule-dark); }
}

@media (max-width: 639px) {
  .footer-brand,
  .footer-col { border-inline-start: none; padding-inline: 0; }
}

.footer-brand img {
  height: 104px;
  width: auto;
  margin-bottom: 1.75rem;
}

.footer-brand p,
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links,
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.footer-links li,
.footer-nav-list li { border-bottom: 1px solid var(--rule-dark-soft); }
.footer-links li:last-child,
.footer-nav-list li:last-child { border-bottom: none; }

.footer-links a,
.footer-nav-list a {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-on-dark-body);
  padding-block: 0.7rem;
  transition: color var(--transition-fast), padding-inline var(--transition-fast);
}

.footer-links a:hover,
.footer-nav-list a:hover {
  color: var(--color-teal);
  padding-inline-start: 0.5rem;
  transform: none;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--color-text-on-dark-body);
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--rule-dark-soft);
}

.footer-contact-item:last-child { border-bottom: none; }

.footer-contact-item a:hover { color: var(--color-teal); }

.footer-contact-item svg {
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem !important;
  min-height: 1.05rem !important;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.footer-socials,
.social-links-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background-color: transparent;
  border: 1px solid var(--rule-dark);
  color: var(--color-text-on-dark);
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
              color var(--transition-fast);
}

/* Social buttons on light pages (contact) */
.contact-info-card .social-icon-btn {
  border-color: var(--rule-strong);
  color: var(--color-text-dark);
}

.social-icon-btn svg { width: 17px; height: 17px; }

.social-icon-btn:hover {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--ink);
  transform: none;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-text-on-dark-muted);
}

.footer-copyright { color: var(--color-text-on-dark-muted); }

.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: var(--color-text-on-dark-muted); }
.footer-bottom-links a:hover { color: var(--color-teal); }

/* ==========================================================================
   22. FLOATING WHATSAPP — squared tab anchored to the edge
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -14px rgba(37, 211, 102, 0.8);
  z-index: 999;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

[dir="ltr"] .floating-whatsapp { right: auto; left: 2rem; }

.floating-whatsapp svg { width: 28px; height: 28px; }

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.9);
}

/* ==========================================================================
   23. SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible,
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[dir="ltr"] .reveal-left { transform: translateX(-28px); }
.reveal-left.visible, .reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[dir="ltr"] .reveal-right { transform: translateX(28px); }
.reveal-right.visible, .reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-scale.visible, .reveal-scale.active { opacity: 1; transform: scale(1); }

.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible, .fade-in.active { opacity: 1; }

.stagger-1 { transition-delay: 0.07s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.21s; }
.stagger-4 { transition-delay: 0.28s; }
.stagger-5 { transition-delay: 0.35s; }

/* ==========================================================================
   24. RESPONSIVE TUNING
   ========================================================================== */
@media (max-width: 991px) {
  :root { --header-height: 76px; }
  .site-header { height: 76px; }
  .brand-logo img { height: 48px; }
  .site-header.scrolled .brand-logo img { height: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .site-header { height: 70px; }
  .brand-logo img { height: 54px; }
  .site-header.scrolled .brand-logo img { height: 44px; }

  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-group .btn { width: 100%; }

  .floating-whatsapp {
    bottom: 1.15rem;
    right: 1.15rem;
    width: 50px;
    height: 50px;
  }

  [dir="ltr"] .floating-whatsapp { right: auto; left: 1.15rem; }
  .floating-whatsapp svg { width: 25px; height: 25px; }
}

@media (max-width: 640px) {
  .section { padding-block: 3.25rem; }
  .section-header { margin-bottom: 2rem; }
  .gallery-bento { grid-template-columns: 1fr; }
  .gallery-bento .gallery-card { min-height: 0; aspect-ratio: 4 / 3; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-box { padding-inline: var(--gutter); }
}

/* ==========================================================================
   25. ACCESSIBILITY — reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale, .fade-in,
  .reveal.stagger-1, .reveal.stagger-2, .reveal.stagger-3,
  .reveal.stagger-4, .reveal.stagger-5 {
    opacity: 1 !important;
    transform: none !important;
  }

  .clients-marquee-track,
  .marquee-track,
  .reels-track { animation: none !important; }

  .reels-row { overflow-x: auto; }

  .hero-bg-video video { display: none !important; }
}

/* ==========================================================================
   26. PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .floating-whatsapp,
  .mobile-drawer, .drawer-overlay, .hero-bg-video, .hero-overlay {
    display: none !important;
  }

  body {
    color: #000000 !important;
    background: #FFFFFF !important;
  }
}

/* ==========================================================================
   27. LIQUID GLASS LAYER
   Cues taken from the letsgo.com.sa reference — pill geometry, floating
   translucent panels, soft layered light — rebuilt on the City Light
   teal/orange identity. Loaded last so it settles the earlier sharp rules.
   ========================================================================== */

/* --- The canvas the glass refracts ------------------------------------- */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 680px at 88% -8%, rgba(0, 207, 181, 0.20), transparent 62%),
    radial-gradient(900px 620px at 6% 4%, rgba(236, 120, 0, 0.14), transparent 58%),
    radial-gradient(1000px 900px at 50% 118%, rgba(0, 167, 150, 0.14), transparent 60%);
  background-attachment: fixed;
}

/* --- Shared glass recipe ------------------------------------------------ */
.glass,
.service-card,
.gear-card,
.faq-item,
.contact-info-card,
.process-step-card,
.vm-card,
.rfq-form-card,
.contact-form-card,
.inquiry-generator-box,
.quality-card,
.map-card,
.client-logo-card,
.client-logo-item,
.stat-card {
  background-color: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--shadow-card);
}

/* --- Sections: let the page gradient breathe through -------------------- */
.section-alt {
  background-color: rgba(255, 255, 255, 0.42);
  border-block: 1px solid var(--glass-edge);
}

.gear-section { background-color: transparent; }

/* --- Header: a floating glass pill -------------------------------------- */
.site-header {
  top: clamp(0.6rem, 1.4vw, 1.1rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, calc(100% - 2 * clamp(0.75rem, 3vw, 2rem)));
  height: 74px;
  background-color: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-inset), 0 14px 40px -18px rgba(11, 25, 23, 0.28);
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.site-header.scrolled {
  height: 64px;
  background-color: rgba(255, 255, 255, 0.86);
  border-color: var(--glass-border);
  box-shadow: var(--glass-inset), 0 18px 46px -20px rgba(11, 25, 23, 0.34);
}

.header-container { padding-inline: 0.5rem; }
.brand-logo img { height: 54px; }
.site-header.scrolled .brand-logo img { height: 46px; }

/* Nav links become soft pills rather than underlines */
.nav-item a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-item a::after { display: none; }

.nav-item a:hover {
  background-color: rgba(0, 207, 181, 0.14);
  color: var(--color-teal-deeper);
}

.nav-item.active a {
  background-color: var(--ink);
  color: #FFFFFF;
}

.lang-toggle,
.mobile-menu-btn,
.mobile-close-btn {
  border-radius: var(--radius-pill);
  border-color: var(--rule-strong);
  background-color: rgba(255, 255, 255, 0.5);
}

/* --- Buttons: full pills ------------------------------------------------ */
.btn { border-radius: var(--radius-pill); padding: 1rem 2rem; }

.btn-primary { box-shadow: 0 12px 28px -12px rgba(11, 25, 23, 0.55); }
.btn-teal { box-shadow: 0 12px 30px -12px rgba(0, 207, 181, 0.7); }
.btn-whatsapp { box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.65); }

.btn-outline-dark,
.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* --- Ruled lists become spaced glass panels ----------------------------- */
.services-grid,
.faq-list,
.contact-cards-stack {
  border-top: none;
  gap: 1rem;
}

.service-card,
.faq-item,
.contact-info-card,
.process-step-card,
.vm-card {
  border-bottom: 1px solid var(--glass-border);
  border-inline-start: 1px solid var(--glass-border);
}

.service-card { padding: clamp(1.5rem, 2.6vw, 2.25rem); }

.service-card:hover {
  background-color: var(--glass-strong);
  box-shadow: var(--glass-inset), var(--shadow-card-hover);
}

@media (min-width: 992px) {
  .service-card:hover { padding-inline: clamp(1.5rem, 2.6vw, 2.25rem); }
}

.faq-item { padding-inline: clamp(1.1rem, 2vw, 1.75rem); }
.faq-item.faq-open { border-color: var(--color-teal-border); }
.faq-answer p { border-inline-start-color: var(--color-teal); }

.contact-info-card { padding: 1.35rem; }

.process-grid { border-top: none; gap: 1rem; }
.process-step-card::after { display: none; }

.process-step-card:hover {
  background-color: var(--glass-strong);
  box-shadow: var(--glass-inset), var(--shadow-card-hover);
}

.vision-mission-grid { border-top: none; gap: 1.25rem; }
.vm-card::before { border-radius: var(--radius-pill); top: 1.25rem; inset-inline-start: 1.5rem; }

@media (min-width: 900px) {
  .vm-card + .vm-card { border-inline-start: 1px solid var(--glass-border); }
}

.quality-points { border-top: none; gap: 0.75rem; }

.quality-point {
  background-color: var(--glass-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--glass-inset-dark);
  padding: 1.25rem 1.4rem;
}

.feature-list { border-top: none; gap: 0.75rem; }

.feature-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background-color: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: 1rem 1.15rem;
  box-shadow: var(--glass-inset), var(--shadow-sm);
}

/* --- Grids that used 1px hairline fills --------------------------------- */
.gallery-grid,
.gallery-bento,
.clients-grid,
.gear-grid {
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  background-color: transparent;
  border: none;
}

.gear-card { border-radius: var(--radius-lg); overflow: hidden; }
.gear-card.featured { border-radius: var(--radius-xl); }
.gear-specs { border-top-color: var(--rule); }
.gear-specs li { border-bottom-color: var(--rule); }

.gear-tag {
  top: 1rem;
  inset-inline-start: 1rem;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  box-shadow: 0 8px 20px -8px rgba(0, 207, 181, 0.8);
}

.gallery-card { box-shadow: var(--shadow-card); }
.gallery-card:hover { box-shadow: var(--shadow-card-hover); }
.gallery-overlay { border-radius: 0 0 var(--radius-md) var(--radius-md); }

.client-logo-card,
.client-logo-item { border-radius: var(--radius-md); }

.client-logo-card:hover,
.client-logo-item:hover { background-color: var(--ink); border-color: var(--ink); }

.clients-marquee-track .client-logo-item,
.marquee-track .client-logo-item {
  border-inline-end: 1px solid var(--glass-border);
  margin-inline-end: 0.9rem;
  background-color: var(--glass);
}

/* --- Stats rail: glass on ink ------------------------------------------- */
.stats-strip-section {
  background-color: var(--ink);
  border-radius: var(--radius-xl);
  margin-inline: clamp(0.75rem, 3vw, 2rem);
  overflow: hidden;
}

.stats-grid { gap: 0.75rem; }

.stat-item {
  border-inline-start: none !important;
  border-top: none !important;
  background-color: var(--glass-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-inset-dark);
  padding: 1.5rem 1.35rem;
}

/* --- Big surfaces ------------------------------------------------------- */
.quality-section .container { padding-inline: var(--gutter); }

.quality-box {
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--shadow-dark);
}

.cta-banner {
  border-radius: var(--radius-xl);
  margin-inline: clamp(0.75rem, 3vw, 2rem);
  overflow: hidden;
}

.reels-section {
  border-top: none;
  border-radius: var(--radius-xl);
  margin-inline: clamp(0.75rem, 3vw, 2rem);
  overflow: hidden;
}

.reel-card { border-radius: var(--radius-md); border-color: var(--glass-dark-border); }
.reel-play { border-radius: var(--radius-pill); }

.page-banner {
  border-bottom: none;
  padding-top: calc(var(--header-height) + clamp(2.5rem, 6vw, 5rem));
}

.breadcrumb { border-bottom: 1px solid var(--glass-edge); }

/* --- Forms -------------------------------------------------------------- */
.form-input,
.form-select,
.form-textarea,
.form-control {
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--glass-inset);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(0, 207, 181, 0.16);
}

.preset-topic-btn {
  background-color: rgba(255, 255, 255, 0.6);
  border-color: var(--glass-border);
  box-shadow: var(--glass-inset);
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-inline: clamp(0.75rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.footer-grid,
.footer-top-grid { border-top: none; }

.social-icon-btn { background-color: rgba(255, 255, 255, 0.08); }

/* --- Drawer & lightbox -------------------------------------------------- */
.mobile-drawer {
  background-color: rgba(242, 246, 246, 0.86);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

[dir="ltr"] .mobile-drawer { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.mobile-nav-links a { border-bottom: 1px solid var(--glass-edge); }

.lightbox-close { border-radius: var(--radius-pill); }
.floating-whatsapp { border-radius: var(--radius-pill); }

/* --- Typography: the display face wants a touch more air ---------------- */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.24; }

.hero-title { letter-spacing: 0; line-height: 1.2; }

@media (max-width: 991px) {
  .site-header { height: 64px; }
  .brand-logo img { height: 46px; }

  .stats-strip-section,
  .cta-banner,
  .reels-section { margin-inline: 0.6rem; border-radius: var(--radius-lg); }

  .site-footer { margin-inline: 0.6rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* --- Hero: the media becomes a floating glass-framed panel -------------- */
.hero-section { padding-bottom: 0; }

.hero-bg-video,
.hero-overlay {
  top: calc(var(--header-height) + 0.5rem);
  bottom: 118px;
  inset-inline-end: clamp(0.75rem, 3vw, 2rem);
  width: min(46%, 720px);
  border-radius: var(--radius-xl);
  border: none;
  overflow: hidden;
}

.hero-bg-video {
  box-shadow: 0 34px 70px -28px rgba(11, 25, 23, 0.45);
  border: 1px solid var(--glass-border);
}

.hero-overlay { border: none; pointer-events: none; }

/* The brand rule turns into a soft vertical seam beside the panel */
.hero-accent-line {
  top: calc(var(--header-height) + 3.5rem);
  bottom: 160px;
  inset-inline-end: calc(min(46%, 720px) + clamp(0.75rem, 3vw, 2rem) + 0.9rem);
  width: 5px;
  border-radius: var(--radius-pill);
  opacity: 0.85;
}

.hero-content { max-width: min(50%, 700px); }

.hero-subtitle {
  border-inline-start: none;
  padding-inline-start: 0;
  padding: 1.1rem 1.35rem;
  background-color: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-inset), var(--shadow-sm);
}

/* Facts rail becomes a glass bar rather than a ruled strip */
.hero-bottom-strip {
  border-top: none;
  background-color: transparent;
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.hero-strip-inner {
  background-color: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-inset), var(--shadow-card);
  overflow: hidden;
}

.hero-strip-item {
  border-inline-start: 1px solid var(--glass-edge);
  padding-inline: clamp(1rem, 2vw, 1.75rem);
  min-height: 88px;
}

.hero-strip-item:first-child { padding-inline-start: clamp(1rem, 2vw, 1.75rem); }

@media (max-width: 991px) {
  .hero-bg-video,
  .hero-overlay {
    inset-inline: clamp(0.75rem, 3vw, 2rem);
    width: auto;
    top: calc(var(--header-height) + 0.5rem);
    bottom: 0;
    border-radius: var(--radius-lg);
  }

  .hero-accent-line { display: none; }
  .hero-content { max-width: 100%; }

  .hero-strip-item {
    border-inline-start: none;
    border-top: 1px solid var(--glass-edge);
    padding-inline: 1.25rem;
  }

  .hero-strip-item:first-child { border-top: none; }
}

/* --- About: swap the hatched frame for a soft brand glow ---------------- */
.about-image-accent {
  inset: auto;
  position: absolute;
  inset-block: 8%;
  inset-inline: 8%;
  border: none;
  background-image: none;
  background: radial-gradient(closest-side, rgba(0, 207, 181, 0.55), rgba(236, 120, 0, 0.28) 70%, transparent);
  filter: blur(46px);
  border-radius: var(--radius-pill);
  z-index: -1;
}

.about-image-wrap img,
.about-image-wrapper img { border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); }

/* --- Gallery captions sit inside the rounded frame ---------------------- */
.gallery-card { overflow: hidden; }

/* --- Process: number chip reads better at card scale -------------------- */
.step-badge {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--color-orange);
}

/* --- Retire the hatched decals; glass wants soft light, not engraving --- */
.page-banner::before {
  inset-inline-end: -6%;
  top: -30%;
  width: clamp(280px, 40vw, 620px);
  height: 150%;
  background-image: radial-gradient(closest-side, rgba(0, 207, 181, 0.34), rgba(236, 120, 0, 0.16) 68%, transparent);
  filter: blur(30px);
  border-radius: var(--radius-pill);
}

.cta-banner::before {
  inset-block: -30%;
  inset-inline-start: -8%;
  width: clamp(220px, 32vw, 520px);
  background-image: radial-gradient(closest-side, rgba(255, 255, 255, 0.45), transparent 70%);
  filter: blur(20px);
  border-radius: var(--radius-pill);
}

/* --- Section header rules read better as soft brand dashes -------------- */
.section-label::before,
.section-label::after { border-radius: var(--radius-pill); height: 2px; }

/* --- Marquee mask edges follow the rounded section --------------------- */
.clients-marquee-section { border-block: none; }

.clients-marquee-wrap,
.clients-marquee { border-block: none; }

/* --- Keep focus rings on-brand and rounded ------------------------------ */
:focus-visible { outline-offset: 4px; border-radius: var(--radius-sm); }

/* --- Stat figures read in numeric order, not RTL order ------------------
   In an RTL flex row the symbol lands to the LEFT of the digits, so "99%"
   rendered as "%99". Lay the pair out LTR and pin the group to the start. */
.stat-number-wrap { direction: ltr; }
[dir="rtl"] .stat-number-wrap { justify-content: flex-end; }
[dir="ltr"] .stat-number-wrap { justify-content: flex-start; }

/* --- Contact form honeypot -----------------------------------------------
   Off-canvas rather than display:none — some bots skip hidden inputs, but
   they fill this one. Kept out of the tab order and hidden from screen
   readers via aria-hidden on the wrapper. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
