/* ═══════════════════════════════════════════════════════════════════════════
   Digital Corner Protection Systems — Main Stylesheet
   Stack: CSS Custom Properties · Grid · Flexbox · Vanilla CSS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --color-brand:        #A6192E;
  --color-brand-dark:   #7A0F1F;
  --color-brand-light:  #D62B42;
  --color-brand-pale:   #F8E8EB;

  /* Neutrals */
  --color-charcoal:     #1F1F1F;
  --color-slate:        #4A4A4A;
  --color-mid:          #6B7280;
  --color-muted:        #9CA3AF;
  --color-border:       #E5E7EB;
  --color-pearl:        #F5F5F7;
  --color-white:        #FFFFFF;

  /* Accent */
  --color-blue:         #2B6CB0;
  --color-blue-light:   #EBF4FF;
  --color-success:      #10B981;
  --color-warning:      #F59E0B;
  --color-error:        #EF4444;

  /* Semantic (Light Theme — default) */
  --bg:                 #FFFFFF;
  --bg-secondary:       #F5F5F7;
  --bg-tertiary:        #EDEDEF;
  --bg-card:            #FFFFFF;
  --text:               #1F1F1F;
  --text-secondary:     #4A4A4A;
  --text-muted:         #6B7280;
  --border:             #E5E7EB;
  --brand:              #A6192E;
  --brand-dark:         #7A0F1F;
  --brand-light:        #D62B42;
  --shadow-sm:          0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:          0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:          0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-brand:       0 8px 32px rgba(166,25,46,.25);

  /* Layout */
  --container-max:      1280px;
  --container-pad:      clamp(1rem, 4vw, 2rem);
  --section-pad-v:      clamp(4rem, 8vw, 7rem);

  /* Typography */
  --font-sans:          'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic:        'Cairo', 'Segoe UI', system-ui, sans-serif;
  --fs-xs:              0.75rem;
  --fs-sm:              0.875rem;
  --fs-base:            1rem;
  --fs-lg:              1.125rem;
  --fs-xl:              1.25rem;
  --fs-2xl:             1.5rem;
  --fs-3xl:             1.875rem;
  --fs-4xl:             2.25rem;
  --fs-5xl:             3rem;
  --fs-6xl:             3.75rem;
  --fw-light:           300;
  --fw-normal:          400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;
  --fw-extrabold:       800;
  --lh-tight:           1.2;
  --lh-snug:            1.375;
  --lh-normal:          1.5;
  --lh-relaxed:         1.75;

  /* Transitions */
  --t-fast:             150ms ease;
  --t-base:             250ms ease;
  --t-slow:             400ms ease;
  --t-spring:           400ms cubic-bezier(.34,1.56,.64,1);

  /* Radius */
  --r-sm:               6px;
  --r-md:               10px;
  --r-lg:               16px;
  --r-xl:               24px;
  --r-full:             9999px;

  /* Navbar */
  --navbar-h:           72px;
}

/* ── Dark Theme ──────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:             #0A0A0A;
  --bg-secondary:   #111111;
  --bg-tertiary:    #1A1A1A;
  --bg-card:        #161616;
  --text:           #F5F5F7;
  --text-secondary: #C0C0C5;
  --text-muted:     #8A8A90;
  --border:         #2A2A2A;
  --brand:          #D62B42;
  --brand-dark:     #A6192E;
  --brand-light:    #E84560;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md:      0 4px 16px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg:      0 10px 40px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4);
  --shadow-brand:   0 8px 32px rgba(214,43,66,.35);
}

[data-theme="dark"] .navbar-logo,
[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}

/* ── 2. Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--t-base), color var(--t-base);
  overflow-x: hidden;
}

body.rtl { font-family: var(--font-arabic); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

/* ── Skip Link ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  z-index: 10000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* ── 3. Layout Utilities ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad-v); }
.section--dark { background: var(--bg-secondary); }
.section--brand { background: var(--brand); color: #fff; }

.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }

/* ── 4. Typography ───────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: var(--r-full);
}

.section-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 640px;
}

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-inline: auto; }
.section-header.centered .section-label { margin-inline: auto; }

/* ── 5. Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 12px 40px rgba(166,25,46,.4);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text);
}

.btn-white {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-pearl);
}

.btn-sm { padding: .55rem 1.25rem; font-size: var(--fs-sm); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--fs-lg); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  color: var(--text-secondary);
  transition: background var(--t-base), color var(--t-base);
}
.btn-icon:hover { background: var(--bg-secondary); color: var(--text); }
.btn-icon:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.btn-lang {
  display: inline-flex;
  align-items: center;
  padding: .375rem .875rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  transition: all var(--t-base);
}
.btn-lang:hover { border-color: var(--brand); color: var(--brand); }
.btn-lang--sm { padding: .3rem .7rem; font-size: var(--fs-xs); }

/* ── 6. Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand);
  transition: background var(--t-base), color var(--t-base);
}
[data-theme="dark"] .card-icon { background: rgba(214,43,66,.15); }
.card:hover .card-icon {
  background: var(--brand);
  color: #fff;
}

.card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: .5rem;
  color: var(--text);
}
.card-desc {
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* ── 7. Navbar ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
[data-theme="dark"] .site-header {
  background: rgba(10,10,10,.92);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: 2rem;
}

.navbar-brand { flex-shrink: 0; }
.navbar-logo {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: filter var(--t-base);
}
@media (min-width: 1024px) {
  .navbar-logo { height: 52px; max-width: 340px; }
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: .25rem;
  margin-inline-start: auto;
}
@media (min-width: 1024px) { .navbar-nav { display: flex; } }

.navbar-nav > li { position: relative; }

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--t-base), background var(--t-base);
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--brand); background: var(--color-brand-pale); }
[data-theme="dark"] .navbar-nav a:hover,
[data-theme="dark"] .navbar-nav a.active { background: rgba(214,43,66,.12); }
.navbar-nav a[aria-current="page"],
.navbar-nav a.active { color: var(--brand); font-weight: var(--fw-semibold); }

.chevron {
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron { transform: rotate(180deg); }

/* ── Services Mega-Dropdown (3-column grouped) ────────────────────────────── */
.has-dropdown { position: relative; }

/* Transparent bridge fills the gap so the mouse doesn't lose hover mid-travel */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  inset-inline-start: -20px;
  inset-inline-end: -20px;
  height: .875rem;
  display: none;
}
.has-dropdown:hover::after { display: block; }

.services-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  inset-inline-start: 0;
  width: 920px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  z-index: 1000;
  overflow: hidden;
}
.has-dropdown:hover .services-dropdown,
.has-dropdown:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

/* Group column */
.svc-col { display: flex; flex-direction: column; }
.svc-col:not(:last-child) { border-inline-end: 1px solid var(--border); }

/* Group block */
.svc-group { padding: .6rem 0; }
.svc-group + .svc-group { border-top: 1px solid var(--border); }

/* Group header label */
.svc-group-hd {
  display: block;
  padding: .45rem 1rem .3rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: .85;
}

.svc-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: .625rem;
  padding: 12px 18px !important;   /* exact spec */
  font-size: 14px !important;       /* exact spec */
  font-weight: 500 !important;      /* exact spec */
  color: var(--text-secondary) !important;
  background: transparent !important;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease !important;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
.svc-dropdown-item:last-of-type { border-bottom: none !important; }
.svc-dropdown-item:hover {
  background: rgba(166,25,46,.08) !important;  /* brand rgba 0.08 */
  color: var(--brand) !important;
  transform: translateX(4px) !important;
}
[data-theme="dark"] .svc-dropdown-item {
  border-bottom-color: rgba(255,255,255,.06) !important;
}
[data-theme="dark"] .svc-dropdown-item:hover { background: rgba(214,43,66,.10) !important; }

.svc-dd-icon {
  flex-shrink: 0;
  width: 18px;    /* exact spec */
  height: 18px;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease;
}
.svc-dd-icon svg { width: 18px; height: 18px; }

.svc-dd-label { flex: 1; }

.svc-dd-arrow {
  flex-shrink: 0;
  opacity: 0;
  color: var(--brand);
  transition: opacity 200ms ease, transform 200ms ease;
}
.svc-dropdown-item:hover .svc-dd-arrow { opacity: 1; transform: translateX(3px); }

.svc-dropdown-footer {
  padding: .5rem .75rem .625rem;
  border-top: 1px solid var(--border);
  margin-top: .25rem;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-inline-start: auto;
}
@media (min-width: 1024px) { .navbar-actions { margin-inline-start: 0; } }

.navbar-cta { display: none; }
@media (min-width: 1024px) { .navbar-cta { display: inline-flex; } }

/* Theme toggle icons */
.theme-toggle { position: relative; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Hamburger */
.navbar-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--r-sm);
  transition: background var(--t-base);
}
@media (min-width: 1024px) { .navbar-burger { display: none; } }
.navbar-burger:hover { background: var(--bg-secondary); }
.navbar-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--text);
  transition: transform var(--t-base), opacity var(--t-base);
}
.navbar-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: var(--navbar-h) 0 0 0;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform var(--t-slow);
  z-index: 999;
  display: block;
}
[dir="rtl"] .mobile-menu { transform: translateX(100%); }
.mobile-menu.open { transform: translateX(0); }

/* Mobile menu backdrop */
.mobile-backdrop {
  position: fixed;
  inset: var(--navbar-h) 0 0 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

.mobile-nav { padding-block: 1.5rem 3rem; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a {
  display: block;
  padding: .875rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--text);
  transition: background var(--t-base), color var(--t-base);
}
.mobile-nav a:hover { background: var(--bg-secondary); color: var(--brand); }
.mobile-nav .btn { width: 100%; margin-top: .5rem; }
.view-all-link { color: var(--brand) !important; font-weight: var(--fw-semibold) !important; }

.mobile-accordion-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--text);
  transition: background var(--t-base);
}
.mobile-accordion-btn:hover { background: var(--bg-secondary); }

.mobile-submenu {
  display: none;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--border);
  margin-inline-start: 1rem;
  margin-top: .25rem;
}
.mobile-accordion.open .mobile-submenu { display: flex; }
.mobile-accordion.open .chevron { transform: rotate(180deg); }
.mobile-submenu a { font-size: var(--fs-base); padding: .6rem 1rem; }

/* Mobile service groups — nested accordion */
.mobile-svc-groups { flex-direction: column; gap: 0; padding-inline-start: 0; }
.mobile-svc-group { border-bottom: 1px solid var(--border); }
.mobile-svc-group:last-of-type { border-bottom: none; }

/* Group toggle button */
.mobile-svc-group-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem .45rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
}
.mobile-svc-group-btn .chevron {
  flex-shrink: 0;
  transition: transform var(--t-base);
  opacity: .6;
}
.mobile-svc-accordion.open .mobile-svc-group-btn .chevron { transform: rotate(180deg); }

/* Service items within group */
.mobile-svc-items {
  display: none;
  flex-direction: column;
  padding-inline-start: .75rem;
  border-inline-start: 2px solid rgba(168,32,44,.2);
  margin-inline-start: 1rem;
  margin-bottom: .4rem;
}
.mobile-svc-accordion.open .mobile-svc-items { display: flex; }
.mobile-svc-items a { padding: .5rem 1rem; font-size: .88rem; }
.mobile-svc-group a { padding: .55rem 1.25rem; font-size: .88rem; }

/* ── Mobile menu — active / current page indicators ─────────────── */
.mobile-nav a.active {
  color: var(--brand);
  font-weight: var(--fw-semibold);
  background: rgba(168,32,44,.07);
  border-radius: var(--r-md);
  position: relative;
}
.mobile-nav a.active::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  border-radius: 9999px;
  background: var(--brand);
}
.mobile-nav .mobile-svc-items a.active {
  color: var(--brand);
  font-weight: var(--fw-semibold);
  background: rgba(168,32,44,.07);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.mobile-nav .mobile-svc-items a.active::before {
  display: none;
}
.mobile-accordion-btn.mob-active {
  color: var(--brand);
  font-weight: var(--fw-semibold);
}
.mob-here-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 6px rgba(168,32,44,.7);
  flex-shrink: 0;
  margin-inline-end: auto;
  margin-inline-start: .5rem;
  animation: mob-pulse 2s ease-in-out infinite;
}
@keyframes mob-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.65); }
}

.mobile-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: .75rem;
}

/* ── 8. Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--navbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(166,25,46,.06) 0%, transparent 70%);
}
[data-theme="dark"] .hero-gradient {
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(214,43,66,.1) 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: var(--r-full);
  background: radial-gradient(circle, rgba(166,25,46,.12) 0%, transparent 70%);
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-brand-pale);
  color: var(--brand);
  border: 1px solid rgba(166,25,46,.2);
  border-radius: var(--r-full);
  padding: .35rem .875rem .35rem .5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .hero-badge { background: rgba(214,43,66,.15); border-color: rgba(214,43,66,.3); }
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%        { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--brand); }

.hero-subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--brand);
  margin-inline-start: -8px;
}
.hero-trust-avatars .hero-trust-avatar:first-child { margin-inline-start: 0; }
.hero-trust-text { font-size: var(--fs-sm); color: var(--text-muted); }
.hero-trust-text strong { color: var(--text); }

/* Hero Visual */
.hero-visual {
  display: none;
  position: relative;
}
@media (min-width: 900px) { .hero-visual { display: flex; justify-content: center; } }

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.25rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.hero-stat-cell {
  background: var(--bg-card);
  padding: 1.5rem;
  text-align: center;
}
.hero-stat-num {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--brand);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hero-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .35rem .75rem;
  border-radius: var(--r-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

/* Floating badge on hero visual */
.hero-float-badge {
  position: absolute;
  bottom: -1rem;
  inset-inline-start: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: .875rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%        { transform: translateY(-8px); }
}
.float-badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .float-badge-icon { background: rgba(214,43,66,.15); }
.float-badge-text strong { display: block; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text); }
.float-badge-text small  { font-size: var(--fs-xs); color: var(--text-muted); }

/* ── 9. Stats Section ────────────────────────────────────────────────────── */
.stats-section {
  background: var(--brand);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item { text-align: center; color: #fff; }
.stat-number {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: var(--fw-extrabold);
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
}
.stat-suffix { font-size: .6em; font-weight: var(--fw-bold); }
.stat-label {
  font-size: var(--fs-sm);
  opacity: .85;
  font-weight: var(--fw-medium);
}

/* ── 10. Services Grid ───────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(166,25,46,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(166,25,46,.2);
}
.service-card:hover::before { opacity: 1; }
[data-theme="dark"] .service-card:hover { border-color: rgba(214,43,66,.3); }

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--t-base), color var(--t-base);
}
[data-theme="dark"] .service-card-icon { background: rgba(214,43,66,.15); }
.service-card:hover .service-card-icon { background: var(--brand); color: #fff; }
.service-card-icon svg { width: 26px; height: 26px; }

.service-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: .625rem;
  line-height: var(--lh-snug);
}

.service-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand);
  transition: gap var(--t-fast);
}
.service-card:hover .service-card-link { gap: .625rem; }

/* ── 11. Solutions Grid ──────────────────────────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--t-base);
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.solution-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
  transform: translateY(-4px);
}

.solution-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.solution-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: var(--lh-snug);
}

/* ── 12. Why Us ──────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .125rem;
}
[data-theme="dark"] .why-icon { background: rgba(214,43,66,.15); }
.why-icon svg { width: 22px; height: 22px; }

.why-item-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: .375rem;
}
.why-item-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); }

/* ── 13. Partners Carousel ───────────────────────────────────────────────── */
.partners-section { background: var(--bg-secondary); }
.partners-track-wrap { overflow: hidden; position: relative; }
.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.partners-track-wrap::before { inset-inline-start: 0; background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%); }
.partners-track-wrap::after  { inset-inline-end: 0;   background: linear-gradient(to left,  var(--bg-secondary) 0%, transparent 100%); }

.partners-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  height: 48px;
  opacity: .5;
  filter: grayscale(100%);
  transition: opacity var(--t-base), filter var(--t-base);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  letter-spacing: -.02em;
  white-space: nowrap;
  padding: .5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.partner-logo:hover { opacity: 1; filter: none; }

/* ── 14. Portfolio / Filterable Grid ─────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: all var(--t-base);
  cursor: pointer;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.portfolio-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.portfolio-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.portfolio-card:hover .portfolio-card-img::after { opacity: 1; }

.portfolio-card-tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  margin: 1.25rem 1.25rem .5rem;
}

.portfolio-card-body { padding: 0 1.25rem 1.5rem; }
.portfolio-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: .375rem;
}
.portfolio-card-sub { font-size: var(--fs-sm); color: var(--text-muted); }

/* ── 15. Testimonials ────────────────────────────────────────────────────── */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.5rem;
  font-size: 5rem;
  font-weight: var(--fw-extrabold);
  color: var(--brand);
  opacity: .15;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: .25rem;
  margin-bottom: 1rem;
  color: #F59E0B;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}
[data-theme="dark"] .testimonial-avatar { background: rgba(214,43,66,.2); }
.testimonial-name { font-weight: var(--fw-semibold); color: var(--text); font-size: var(--fs-sm); }
.testimonial-role { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .125rem; }

/* ── 16. CTA Banner ──────────────────────────────────────────────────────── */
.cta-section {
  background: var(--brand);
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  color: #fff;
  margin-bottom: 1rem;
  line-height: var(--lh-tight);
}
.cta-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  line-height: var(--lh-relaxed);
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ── 17. Page Hero ───────────────────────────────────────────────────────── */
.page-hero {
  background: var(--bg-secondary);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero-title {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: 1rem;
}
.page-hero-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
@media (max-width: 767px) {
  .page-hero { padding-block: 4rem 3rem; }
  .page-hero-inner { max-width: 100%; text-align: center; }
  .page-hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .page-hero-subtitle { font-size: var(--fs-base); }
  .breadcrumb { justify-content: center; }
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: var(--brand); font-weight: var(--fw-medium); }

/* ── 18. Contact Form ────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.5fr; }
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.office-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.office-flag { font-size: 1.75rem; }
.office-name { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text); }
.office-details { display: flex; flex-direction: column; gap: .5rem; }
.office-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.office-detail svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
.office-detail a { color: var(--text-secondary); transition: color var(--t-fast); }
.office-detail a:hover { color: var(--brand); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.form-label .req { color: var(--brand); margin-inline-start: .25rem; }

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  color: var(--text);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(166,25,46,.15);
}
.form-control:invalid:not(:placeholder-shown) { border-color: var(--color-error); }

textarea.form-control { min-height: 140px; resize: vertical; }

.form-honey { display: none !important; }

.form-submit { margin-top: .5rem; }
.form-submit .btn { width: 100%; }

.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-top: 1rem;
  display: none;
}
.form-message.success { background: rgba(16,185,129,.1); color: #059669; border: 1px solid rgba(16,185,129,.3); display: block; }
.form-message.error   { background: rgba(239,68,68,.1);  color: #DC2626; border: 1px solid rgba(239,68,68,.3);  display: block; }

/* ── 19. About Page ──────────────────────────────────────────────────────── */
.about-who-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-who-layout { grid-template-columns: 1fr 1fr; }
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 600px) {
  .about-values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--t-base);
}
.value-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand);
}
.value-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.value-name { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--text); }

/* Mission / Vision cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .mission-vision-grid { grid-template-columns: 1fr 1fr; }
}

.mv-card {
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mv-card--mission {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-color: transparent;
}
.mv-card--vision { background: var(--bg-card); }
.mv-card-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: .75rem;
}
.mv-card-text { font-size: var(--fs-lg); line-height: var(--lh-relaxed); }
.mv-card--vision .mv-card-label { color: var(--brand); }
.mv-card--vision .mv-card-text  { color: var(--text-secondary); }

/* ── 20. Service Detail Page ─────────────────────────────────────────────── */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .service-detail-layout { grid-template-columns: 1fr 340px; }
}

.service-features { display: flex; flex-direction: column; gap: 1.25rem; }
.service-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .125rem;
}
[data-theme="dark"] .feature-check { background: rgba(214,43,66,.2); }
.feature-check svg { width: 13px; height: 13px; }
.feature-text strong { display: block; font-weight: var(--fw-semibold); color: var(--text); margin-bottom: .125rem; }
.feature-text p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); }

.service-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--navbar-h) + 1.5rem);
}
.sidebar-cta-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: .625rem;
}
.sidebar-cta-text { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 1.5rem; }
.sidebar-cta .btn { width: 100%; margin-bottom: .75rem; }

.service-related { display: flex; flex-direction: column; gap: .5rem; margin-top: 2rem; }
.related-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: all var(--t-base);
  border: 1px solid var(--border);
}
.related-link:hover { border-color: var(--brand); color: var(--brand); background: var(--color-brand-pale); }
[data-theme="dark"] .related-link:hover { background: rgba(214,43,66,.1); }
.related-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── 21. Products ────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--t-base);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.product-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-secondary);
  letter-spacing: -.03em;
}
.product-name { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--text); margin-bottom: .375rem; }
.product-category { font-size: var(--fs-xs); color: var(--brand); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .06em; }

/* ── 22. Animations ──────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 480ms; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 560ms; }
.stagger-children.visible > *:nth-child(n+9) { opacity: 1; transform: none; transition-delay: 640ms; }

/* ── 23. Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-top { padding-block: 4rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-brand .footer-logo { height: 84px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 1.25rem; max-width: 280px; }

/* Google Review Badge */
.footer-google-review {
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .55rem .9rem; border-radius: 10px; margin-top: .5rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  text-decoration: none; transition: background .2s, border-color .2s;
  width: fit-content;
}
.footer-google-review:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.2); }
.footer-google-review svg:first-child { flex-shrink: 0; }
.footer-gr-body { display: flex; flex-direction: column; gap: 2px; }
.footer-gr-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); line-height: 1; }
.footer-gr-stars { display: flex; gap: 1px; line-height: 1; }
[data-theme="light"] .footer-google-review { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }
[data-theme="light"] .footer-google-review:hover { background: rgba(0,0,0,.08); }

.footer-social { display: flex; gap: .625rem; margin-bottom: 1rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base);
}
.social-link:hover { border-color: var(--brand); color: var(--brand); background: var(--color-brand-pale); }
[data-theme="dark"] .social-link:hover { background: rgba(214,43,66,.15); }

.footer-flags { display: flex; gap: .5rem; }
.flag-chip {
  padding: .25rem .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}

.footer-heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: .375rem;
}
.footer-links a:hover { color: var(--brand); }

.footer-offices { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-office { display: flex; gap: .75rem; align-items: flex-start; }
.office-flag { font-size: 1.25rem; flex-shrink: 0; margin-top: .125rem; }
.footer-office strong { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); margin-bottom: .25rem; }
.footer-office address, .footer-office a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-office a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy { font-size: var(--fs-sm); color: var(--text-muted); }
.footer-bottom-actions { display: flex; align-items: center; gap: .75rem; }

/* ── 24. Cookie Banner ───────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  padding-block: 1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.cookie-banner-inner p { font-size: var(--fs-sm); color: var(--text-secondary); }
.cookie-banner-inner a { color: var(--brand); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ── 25. Policy Pages ────────────────────────────────────────────────────── */
.policy-content {
  max-width: 800px;
  margin: 4rem auto;
  padding-inline: var(--container-pad);
}
.policy-content h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin: 2.5rem 0 1rem;
}
.policy-content h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin: 2rem 0 .75rem;
}
.policy-content p, .policy-content li {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: 1rem;
}
.policy-content ul { padding-inline-start: 1.5rem; }
.policy-content li { list-style: disc; }
.policy-content .updated {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* ── 26. 404 ─────────────────────────────────────────────────────────────── */
.notfound-page {
  min-height: calc(100svh - var(--navbar-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}
.notfound-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--brand);
  opacity: .15;
  position: absolute;
}
.notfound-content { position: relative; z-index: 1; }
.notfound-title { font-size: var(--fs-3xl); font-weight: var(--fw-bold); color: var(--text); margin-bottom: .75rem; }
.notfound-msg { color: var(--text-muted); margin-bottom: 2rem; }

/* ── 27. Utility ─────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.d-none { display: none !important; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }   .mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; } .mb-8 { margin-bottom: 2rem; }
.gap-2 { gap: .5rem; }  .gap-4 { gap: 1rem; }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }
.text-brand  { color: var(--brand); }

/* Phone/email links always LTR regardless of page language */
a[href^="tel:"], a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.text-muted  { color: var(--text-muted); }

/* ── 28. Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .navbar { justify-content: space-between; gap: 0; }
}

@media (max-width: 768px) {
  .services-dropdown { display: none !important; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  /* Theme toggle & language switcher hidden in navbar on mobile — both live in the mobile menu */
  .navbar-actions .theme-toggle,
  .navbar-actions .btn-lang { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   29. Service Image Hero Banners
   ══════════════════════════════════════════════════════════════════════════ */
.service-hero-img {
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-xl);
}
.service-hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255,255,255,.9);
}
.service-hero-img-placeholder .img-icon {
  font-size: 4rem;
  opacity: .8;
}
.service-hero-img-placeholder .img-label {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: .05em;
}

/* GPS gradient */
.service-img--gps {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}
/* Networking */
.service-img--networking {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
/* Cybersecurity */
.service-img--cyber {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #3d0000 100%);
}
/* CCTV */
.service-img--cctv {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b00 50%, #4a2c00 100%);
}
/* Access Control */
.service-img--access {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}
/* Cloud */
.service-img--cloud {
  background: linear-gradient(135deg, #0575e6 0%, #021b79 100%);
}
/* Generic */
.service-img--generic {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
}

/* ══════════════════════════════════════════════════════════════════════════
   30. Meitrack / GPS Product Cards
   ══════════════════════════════════════════════════════════════════════════ */
.gps-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gps-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
}
.gps-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.gps-product-img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  font-size: 3.5rem;
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.gps-product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.4) 100%);
}
.gps-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  background: var(--bg-secondary);
}
.gps-product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
}
.gps-product-tag {
  position: absolute;
  top: .875rem;
  inset-inline-end: .875rem;
  z-index: 1;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.gps-product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.gps-product-model {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .375rem;
}
.gps-product-name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: .75rem;
  line-height: var(--lh-snug);
}
.gps-product-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.25rem;
  flex: 1;
}
.gps-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-bottom: 1.25rem;
}
.spec-chip {
  padding: .2rem .625rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: .7rem;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}
.gps-product-actions { display: flex; gap: .625rem; }
.gps-product-actions .btn { flex: 1; font-size: var(--fs-sm); padding: .55rem 1rem; }

/* ── Meitrack Partner Banner ─────────────────────────────────────────────── */
.partner-banner {
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}
.partner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(166,25,46,.2) 0%, transparent 60%);
}
.partner-banner-logo {
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: 1rem 2rem;
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.partner-banner-content { flex: 1; position: relative; z-index: 1; min-width: 200px; }
.partner-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-full);
  padding: .3rem .875rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .875rem;
}
.partner-banner-title {
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  font-weight: var(--fw-extrabold);
  color: #fff;
  margin-bottom: .5rem;
  line-height: var(--lh-tight);
}
.partner-banner-sub {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.75);
  line-height: var(--lh-relaxed);
}

/* ── GPS Stats Strip ────────────────────────────────────────────────────── */
.gps-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
.gps-stat-cell {
  background: var(--bg-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.gps-stat-num {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--brand);
  line-height: 1;
  margin-bottom: .25rem;
}
.gps-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: var(--fw-medium);
}

/* ── Use Cases Grid ──────────────────────────────────────────────────────── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--t-base);
}
.use-case-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.use-case-emoji { font-size: 2.25rem; margin-bottom: .75rem; display: block; }
.use-case-title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }

/* ── Image Gallery Grid ──────────────────────────────────────────────────── */
.img-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: .75rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .img-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
}
.img-gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: var(--r-md);
}
.img-gallery-item:first-child {
  grid-row: 1 / 3;
}
@media (max-width: 768px) {
  .img-gallery-item:first-child { grid-row: 1 / 2; grid-column: 1 / 3; }
}
.img-gallery-item img,
.img-gallery-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.img-gallery-item:hover img,
.img-gallery-item:hover .img-gallery-placeholder { transform: scale(1.05); }
.img-gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-direction: column;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-weight: var(--fw-bold);
  font-size: 1rem;
}
.img-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  opacity: 0;
  transition: opacity var(--t-base);
}
.img-gallery-item:hover .img-gallery-overlay { opacity: 1; }

/* Company Info Box */
.company-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}
.info-box-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-box-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .info-box-icon { background: rgba(214,43,66,.15); }
.info-box-icon svg { width: 20px; height: 20px; }
.info-box-label { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.info-box-value { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); }
.info-box-value a { color: var(--text); transition: color var(--t-fast); }
.info-box-value a:hover { color: var(--brand); }

/* ── Product / Service Images ─────────────────────────────────────────────── */
.product-image {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  transition: transform 300ms ease, box-shadow 300ms ease;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  width: 100%;
  display: block;
}
.product-image:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}

/* ── Sub-category Cards ───────────────────────────────────────────────────── */
.subcats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .subcats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .subcats-grid { grid-template-columns: 1fr; } }

.subcat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.subcat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.subcat-card:hover .subcat-img { transform: scale(1.05); }

.subcat-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-tertiary); }
.subcat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.subcat-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; font-size: .8rem;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.85);
  transition: transform 300ms ease;
}
.subcat-card:hover .subcat-img-placeholder { transform: scale(1.05); }

.subcat-body { padding: 1rem; }
.subcat-name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); margin-bottom: .25rem; }
.subcat-desc { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: .625rem; line-height: 1.5; }
.subcat-link { font-size: var(--fs-xs); color: var(--brand); font-weight: var(--fw-medium); text-decoration: none; }
.subcat-link:hover { text-decoration: underline; }

/* ── Benefit Cards ────────────────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--color-brand-pale);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .benefit-icon { background: rgba(214,43,66,.15); }
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); margin-bottom: .25rem; }
.benefit-desc  { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }

/* ── Service Workflow / Process ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  inset-inline-end: -.75rem;
  top: 2rem;
  font-size: 1.25rem;
  color: var(--brand);
  opacity: .5;
}
.rtl .process-step:not(:last-child)::after { content: '←'; }
@media (max-width: 768px) {
  .process-step::after { display: none; }
}

.process-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); margin-bottom: .375rem; }
.process-desc  { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }

/* ── Service FAQ ─────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: start;
  padding: 1rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question:hover { color: var(--brand); }
.faq-chevron { flex-shrink: 0; transition: transform var(--t-base); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.25rem 1.25rem; }

/* ── Service Anchor Nav (sticky sidebar) ─────────────────────────────────── */
.services-anchor-nav {
  position: sticky;
  top: 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}
.anchor-nav-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.anchor-nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .625rem;
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--t-fast);
  margin-bottom: .125rem;
}
.anchor-nav-link:hover,
.anchor-nav-link.active { background: var(--color-brand-pale); color: var(--brand); }
[data-theme="dark"] .anchor-nav-link:hover,
[data-theme="dark"] .anchor-nav-link.active { background: rgba(214,43,66,.12); }

/* ── Services Page Layout ────────────────────────────────────────────────── */
.services-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1024px) { .services-page-layout { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .services-anchor-nav { display: none; } }

.service-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.alt-bg { background: var(--bg-secondary); }

.service-block-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (max-width: 768px) { .service-block-header { grid-template-columns: 1fr; } }

.service-block-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.service-block-img-placeholder {
  width: 100%; height: 100%;
  min-height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.85);
}

.service-cta-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section--alt { background: var(--bg-secondary); }
