/*
Theme Name: ElevatEdge
Theme URI: https://elevatedge.com.sa
Author: Pixinolit
Author URI: https://pixinolit.com
Description: ElevatEdge – هندسة مستقبل الاقتصاد السعودي. Professional bilingual RTL consulting theme with dark/light mode.
Version: 2.6.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: elevatedge
Tags: rtl-language, arabic, dark-mode, business, consulting
*/

/* ═══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root,
[data-theme="dark"] {
  --bg:           #06080E;
  --bg-2:         #0B0E18;
  --bg-card:      #101420;
  --bg-card-2:    #151A28;
  --border:       rgba(255,255,255,.065);
  --border-hover: rgba(255,255,255,.14);

  /* Brand teal — ElevatEdge Option E identity */
  --gold:         #00B2B2;
  --gold-light:   #19D0C5;
  --gold-dim:     rgba(0,178,178,.15);
  --gold-glow:    0 0 48px rgba(0,178,178,.22);

  --text:         #EDF0F7;
  --text-muted:   rgba(237,240,247,.52);
  --text-dimmed:  rgba(237,240,247,.28);
  --text-inv:     #FFFFFF;

  --shadow-card:  0 4px 32px rgba(0,0,0,.45);
  --shadow-lg:    0 16px 64px rgba(0,0,0,.55);

  --header-bg:    rgba(6,8,14,.90);
  --input-bg:     rgba(255,255,255,.04);
  --scrollbar:    rgba(0,178,178,.35);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg:           #F2F4FA;
  --bg-2:         #E8EBF5;
  --bg-card:      #FFFFFF;
  --bg-card-2:    #F6F8FD;
  --border:       #DDE1F0;
  --border-hover: #C4C9E0;

  --gold:         #008080;
  --gold-light:   #00B2B2;
  --gold-dim:     rgba(0,128,128,.1);
  --gold-glow:    0 0 40px rgba(0,128,128,.12);

  --text:         #08090F;
  --text-muted:   #505575;
  --text-dimmed:  #8890A8;
  --text-inv:     #FFFFFF;

  --shadow-card:  0 2px 20px rgba(8,9,15,.08);
  --shadow-lg:    0 12px 48px rgba(8,9,15,.12);

  --header-bg:    rgba(242,244,250,.94);
  --input-bg:     #FFFFFF;
  --scrollbar:    rgba(0,128,128,.3);

  color-scheme: light;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
  overflow-x: clip; /* clip ≠ hidden: doesn't create scroll container, keeps sticky working */
  overflow-y: auto;
}

body {
  font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  background-color: transparent;
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  overflow-y: auto;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════
   ANIMATED SITE BACKGROUND
═══════════════════════════════════════════════ */
#site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-bg-img {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: bgKenBurns 48s ease-in-out infinite;
}

.site-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6,8,14,.82) 0%,
      rgba(6,8,14,.72) 40%,
      rgba(6,8,14,.78) 70%,
      rgba(6,8,14,.88) 100%
    );
}

@keyframes bgKenBurns {
  0%   { transform: scale(1.00) translate(0%,   0%);    }
  20%  { transform: scale(1.07) translate(-1.4%, 0.6%); }
  40%  { transform: scale(1.10) translate(0.8%, -0.8%); }
  60%  { transform: scale(1.06) translate(-0.6%, 1.2%); }
  80%  { transform: scale(1.09) translate(1.2%, -0.4%); }
  100% { transform: scale(1.00) translate(0%,   0%);    }
}

/* Performance: keep containment away from the fixed header/menu. */
.hero { contain: layout style; }

::selection {
  background: var(--gold);
  color: var(--bg);
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 3px; }

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 840px; }
.container--wide   { max-width: 1400px; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
.display-1 { font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.display-2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.h2        { font-size: clamp(1.7rem, 3vw, 2.8rem);   font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.h3        { font-size: clamp(1.2rem, 2vw, 1.55rem);  font-weight: 700; line-height: 1.3; }
.lead      { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-muted); line-height: 1.75; font-weight: 400; }
.caption   { font-size: .82rem; color: var(--text-dimmed); letter-spacing: .04em; }

.gradient-text {
  background: linear-gradient(135deg, #008080 0%, #00B2B2 55%, #1DDDD0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════
   SECTION LAYOUT
═══════════════════════════════════════════════ */
section { padding-block: 100px; background: transparent; }
section.section--sm  { padding-block: 64px; }
section.section--lg  { padding-block: 130px; }
section.section--alt { background: rgba(11,14,24,.84); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(0,178,178,.25);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-header--center { text-align: center; }
.section-header--center .lead { margin-inline: auto; max-width: 600px; margin-top: 16px; }

/* ═══════════════════════════════════════════════
   HEADER — Premium floating glass
═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 14px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  height: 66px;
  background: rgba(7,9,18,.30);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,.09);
  border-top-color: rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow:
    0 2px 24px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.06) inset;
  transition: background .35s ease, height .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
  height: 58px;
  background: rgba(7,9,18,.70);
  box-shadow: 0 4px 32px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.05) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 22px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height .3s ease;
}

.site-header.scrolled .site-logo img { height: 36px; }

/* Footer logo */
.footer-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav */
.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a {
  display: block;
  padding: 7px 15px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(237,240,247,.65);
  border-radius: 10px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-list > li > a:hover { color: #EDF0F7; background: rgba(255,255,255,.07); }
.nav-list > li.current > a {
  color: var(--gold-light);
  background: rgba(0,178,178,.12);
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTA Button in header */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, rgba(0,210,210,.88) 0%, rgba(0,178,178,.80) 52%, rgba(0,128,128,.88) 100%);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,178,178,.26), inset 0 1px 0 rgba(255,255,255,.26);
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0,178,178,.44), inset 0 1px 0 rgba(255,255,255,.3);
  background: linear-gradient(135deg, rgba(0,220,220,.96) 0%, rgba(0,178,178,.88) 52%, rgba(0,128,128,.96) 100%);
}

.btn-nav--outline {
  color: var(--gold-light);
  background: rgba(0,178,178,.08);
  border-color: rgba(25,212,212,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px rgba(0,178,178,.10);
}

.btn-nav--outline:hover {
  color: #fff;
  background: rgba(0,178,178,.20);
  border-color: rgba(25,212,212,.74);
  box-shadow: 0 10px 30px rgba(0,178,178,.20), inset 0 1px 0 rgba(255,255,255,.18);
}

/* Hamburger (mobile only) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  flex-shrink: 0;
  transition: background .2s;
}

.menu-toggle:hover { background: rgba(255,255,255,.10); }

.hamburger-line {
  display: block;
  width: 18px; height: 2px;
  background: rgba(237,240,247,.85);
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Primary Nav → Mobile dropdown (same element, different layout) ── */

/* ── Spotlight hover effect (replaces 3D tilt) ── */
[data-tilt] {
  --spot-x: 50%;
  --spot-y: 50%;
}

[data-tilt]:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 52px rgba(0,0,0,.32), 0 0 0 1px rgba(0,178,178,.18);
}

[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--spot-x) var(--spot-y),
    rgba(255,255,255,.065) 0%,
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block-start: 72px;
}

/* Hero image BG */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #060A12;
}

.hero-bg-img {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center 35%;
  will-change: transform;
  animation: bgKenBurns 60s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,8,14,.75) 0%,
    rgba(7,8,14,.60) 50%,
    rgba(7,8,14,.90) 100%
  );
  z-index: 1;
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(7,8,14,.80) 0%,
    rgba(7,8,14,.65) 50%,
    rgba(7,8,14,.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px 100px;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.hero-network-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,178,178,.12);
  border: 1px solid rgba(0,178,178,.3);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-network-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.hero h1 { color: #FFFFFF; margin-bottom: 24px; }
.hero h1 em { font-style: normal; }

.hero .lead { color: rgba(255,255,255,.68); max-width: 600px; margin-inline: auto; margin-bottom: 44px; }

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 32px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, rgba(0,210,210,.88) 0%, rgba(0,178,178,.80) 52%, rgba(0,128,128,.88) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(200%);
  -webkit-backdrop-filter: blur(14px) saturate(200%);
  box-shadow: 0 6px 28px rgba(0,178,178,.32), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn--primary:hover {
  background: linear-gradient(135deg, rgba(0,220,220,.96) 0%, rgba(0,178,178,.88) 52%, rgba(0,128,128,.96) 100%);
  color: #fff;
  box-shadow: 0 12px 44px rgba(0,178,178,.52), inset 0 1px 0 rgba(255,255,255,.32);
}

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 6px 24px rgba(0,178,178,.3);
}

.btn--sm { padding: 10px 22px; font-size: .85rem; }
.btn--lg { padding: 18px 44px; font-size: 1.05rem; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* WhatsApp button */
.btn--whatsapp {
  background: linear-gradient(135deg, rgba(37,211,102,.88) 0%, rgba(18,167,78,.80) 52%, rgba(13,140,65,.88) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px) saturate(200%);
  -webkit-backdrop-filter: blur(14px) saturate(200%);
  box-shadow: 0 6px 28px rgba(37,211,102,.28), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--whatsapp:hover {
  background: linear-gradient(135deg, rgba(54,232,120,.96) 0%, rgba(25,190,92,.88) 52%, rgba(18,160,76,.96) 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37,211,102,.48), inset 0 1px 0 rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.card--gold:hover {
  border-color: rgba(0,178,178,.35);
  box-shadow: var(--gold-glow);
}

.card-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1DDDD0 0%, #00B2B2 52%, #008080 100%);
  border-radius: 14px;
  margin-bottom: 24px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,178,178,.38), inset 0 1px 0 rgba(255,255,255,.25);
}
.card-icon::before {
  content: '';
  position: absolute;
  top: 2px; left: 4px; right: 4px; height: 42%;
  background: linear-gradient(to bottom, rgba(255,255,255,.22), transparent);
  border-radius: 10px 10px 50% 50%;
  pointer-events: none;
}
.card-icon svg {
  width: 26px; height: 26px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.card p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   GRID
═══════════════════════════════════════════════ */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ═══════════════════════════════════════════════
   DIVIDER / ORNAMENT
═══════════════════════════════════════════════ */
.gold-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-block: 20px;
}

.gold-line--center { margin-inline: auto; }

/* ═══════════════════════════════════════════════
   PROBLEM/SOLUTION BAND
═══════════════════════════════════════════════ */
.problem-band {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.problem-band::before {
  content: '';
  position: absolute;
  inset-inline-start: -80px;
  inset-block-start: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,178,178,.12) 0%, transparent 65%);
  pointer-events: none;
}

.problem-band::after {
  content: '';
  position: absolute;
  inset-inline-end: -60px;
  inset-block-end: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(0,178,178,.08) 0%, transparent 65%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   SECTORS GRID
═══════════════════════════════════════════════ */
#sectors-home .grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at 78% 18%, rgba(0,178,178,.12), transparent 12rem),
    linear-gradient(145deg, var(--bg-card), rgba(11,14,24,.92));
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}

/* Icon + Title side by side */
.sector-card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.sector-card-head .s3d-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  min-width: 52px;
}
.sector-card-head h3 {
  flex: 1;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

.sector-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.sector-card:hover {
  border-color: rgba(0,178,178,.3);
  box-shadow: var(--gold-glow);
  transform: translateY(-5px);
}

.sector-card:hover::before { transform: scaleX(1); }


.sector-card > p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-tag {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0,178,178,.2);
}

/* ═══════════════════════════════════════════════
   SERVICE PAGE HERO (inner pages)
═══════════════════════════════════════════════ */
.page-hero {
  background: rgba(6,8,14,.72);
  padding-block: 140px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -100px;
  inset-block-start: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .h2 { margin-bottom: 16px; }
.page-hero .lead { max-width: 680px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: .83rem;
  color: var(--text-dimmed);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: .4; }

/* ═══════════════════════════════════════════════
   SERVICE DETAIL CARD (inside service pages)
═══════════════════════════════════════════════ */

/* ── Sector / About icon box ── */
.sector-svg-icon {
  width: 60px; height: 60px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #1DDDD0 0%, #00B2B2 52%, #008080 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 22px rgba(0,178,178,.42), 0 2px 5px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.28);
}
.sector-svg-icon::before {
  content: '';
  position: absolute;
  top: 2px; left: 5px; right: 5px; height: 44%;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  border-radius: 11px 11px 55% 55%;
  pointer-events: none;
}
.sector-svg-icon svg {
  width: 30px; height: 30px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}

.service-detail-card {
  display: flex;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: border-color .25s, box-shadow .25s;
}

.service-detail-card:hover {
  border-color: rgba(0,178,178,.25);
  box-shadow: var(--shadow-card);
}

.service-detail-icon {
  width: 60px; height: 60px;
  min-width: 60px;
  background: linear-gradient(145deg, #1DDDD0 0%, #00B2B2 52%, #008080 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 22px rgba(0,178,178,.42), 0 2px 5px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.28);
  flex-shrink: 0;
}
.service-detail-icon::before {
  content: '';
  position: absolute;
  top: 2px; left: 5px; right: 5px; height: 44%;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  border-radius: 10px 10px 55% 55%;
  pointer-events: none;
}
.service-detail-icon svg {
  width: 28px; height: 28px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}

.service-detail-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-detail-body p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   FOUNDER CARDS
═══════════════════════════════════════════════ */
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}

.founder-card:hover {
  border-color: rgba(0,178,178,.25);
  box-shadow: var(--gold-glow);
}

.founder-avatar {
  height: 240px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-card-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founder-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(0,178,178,.15), transparent 70%);
}

.founder-info { padding: 32px; }
.founder-name { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.founder-title { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.founder-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s;
}

.contact-info-item:hover { border-color: rgba(0,178,178,.25); }

.contact-info-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  background: linear-gradient(145deg, #1DDDD0 0%, #00B2B2 52%, #008080 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,178,178,.38), 0 2px 4px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.25);
}
.contact-info-icon::before {
  content: '';
  position: absolute;
  top: 2px; left: 4px; right: 4px; height: 42%;
  background: linear-gradient(to bottom, rgba(255,255,255,.22), transparent);
  border-radius: 10px 10px 50% 50%;
  pointer-events: none;
}
.contact-info-icon svg {
  width: 24px; height: 24px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}

.contact-info-text strong { display: block; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-info-text span  { font-size: .88rem; color: var(--text-muted); }

.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(0,178,178,.12);
}

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

.form-group select { -webkit-appearance: none; appearance: none; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--bg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,178,178,.35);
}

.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

#form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 500;
}

#form-feedback.success { background: rgba(34,197,94,.12); color: #22C55E; border: 1px solid rgba(34,197,94,.25); }
#form-feedback.error   { background: rgba(239,68,68,.1);   color: #EF4444; border: 1px solid rgba(239,68,68,.2);  }

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,178,178,.12), transparent 60%);
  pointer-events: none;
}

.cta-section .h2 { position: relative; }
.cta-section .lead { position: relative; margin-inline: auto; max-width: 540px; margin-block: 16px 44px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ═══════════════════════════════════════════════
   STATS ROW
═══════════════════════════════════════════════ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.stat-block {
  flex: 1;
  min-width: 160px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-block: 25%;
  inset-inline-end: 0;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

/* ═══════════════════════════════════════════════
   VISION HIGHLIGHT
═══════════════════════════════════════════════ */
.vision-block {
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 28px;
  padding-block: 4px;
}

.vision-block p {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #04050A;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 72px 32px;
}

[data-theme="light"] .site-footer {
  background: #0A0C14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 32px;
}

.footer-brand .site-logo img { height: 32px; margin-bottom: 20px; }

.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.42);
  line-height: 1.75;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

.social-link:hover {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: rgba(0,178,178,.3);
}

.footer-col h4 {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: .87rem;
  color: rgba(255,255,255,.42);
  transition: color .2s, padding-inline-end .2s;
}

.footer-col a:hover {
  color: var(--gold);
  padding-inline-end: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(0,178,178,.7); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS (CSS-only, performance-safe)
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .26s; }
.reveal-delay-4 { transition-delay: .34s; }

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .form-wrap         { padding: 36px 28px; }
  .problem-band      { padding: 48px 36px; }
}

@media (max-width: 768px) {
  section { padding-block: 64px; }
  section.section--lg { padding-block: 80px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  .stats-row { flex-direction: column; }
  .stat-block:not(:last-child)::after { display: none; }

  .cta-section { padding: 48px 28px; }

  .site-header {
    top: 10px;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    height: 62px;
    border-radius: 18px;
    overflow: visible;
  }

  .site-header.scrolled {
    height: 58px;
  }

  .header-inner {
    padding-inline: 12px;
    gap: 10px;
  }

  .site-logo {
    min-width: 0;
    max-width: calc(100vw - 96px);
  }

  .site-logo img {
    width: min(52vw, 190px);
    max-width: 100%;
    height: auto;
    max-height: 38px;
  }

  .site-header.scrolled .site-logo img {
    height: auto;
    max-height: 34px;
  }

  .header-controls {
    min-width: 44px;
    justify-content: flex-end;
  }

  /* Mobile nav: primary-nav becomes a dropdown panel */
  .primary-nav {
    position: fixed;
    top: 82px;
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
    display: block;
    flex: none;
    justify-content: stretch;
    background:
      radial-gradient(circle at 82% 0%, rgba(25,212,212,.16), transparent 16rem),
      rgba(7,9,18,.96);
    backdrop-filter: blur(30px) saturate(170%);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
    border: 1px solid rgba(25,212,212,.16);
    border-top-color: rgba(25,212,212,.34);
    border-radius: 18px;
    padding: 10px;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(.98);
    transform-origin: top center;
    transition:
      opacity .24s ease,
      visibility .24s ease,
      transform .32s cubic-bezier(.2,.8,.2,1);
  }

  .primary-nav.nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-list > li > a {
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 12px;
    color: rgba(237,240,247,.80);
    transform: translateY(-4px);
    opacity: 0;
    transition: color .2s, background .2s, transform .28s ease, opacity .28s ease;
  }

  .primary-nav.nav--open .nav-list > li > a {
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav.nav--open .nav-list > li:nth-child(1) > a { transition-delay: .04s; }
  .primary-nav.nav--open .nav-list > li:nth-child(2) > a { transition-delay: .08s; }
  .primary-nav.nav--open .nav-list > li:nth-child(3) > a { transition-delay: .12s; }
  .primary-nav.nav--open .nav-list > li:nth-child(4) > a { transition-delay: .16s; }

  .nav-list > li > a:hover,
  .nav-list > li.current > a {
    color: #EDF0F7;
    background: rgba(0,178,178,.15);
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .btn-nav     { display: none; }

  .hero-content { padding-block: 60px 80px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-hero { padding-block: 120px 60px; }

  .service-detail-card { flex-direction: column; }
  .founder-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }

  .problem-band { padding: 36px 24px; }

  .container { max-width: 100%; }
  img, video, iframe { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .hero-scroll { display: none; }
}

/* Mobile hardening for hero CTAs and inner-page templates */
@media (max-width: 768px) {
  html,
  body,
  #page,
  .site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip; /* MUST be clip not hidden — hidden breaks position:sticky */
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  *,
  *::before,
  *::after {
    min-width: 0;
  }

  section,
  .page-hero,
  .container,
  .problem-band,
  .card,
  .cta-section,
  .service-detail-card,
  .founder-card {
    max-width: 100%;
  }

  section,
  .page-hero {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    width: 100%;
  }

  .hero .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 14px 10px;
    font-size: .9rem;
    white-space: nowrap;
  }

  .hero .hero-actions .btn svg {
    width: 15px;
    height: 15px;
  }

  .hero-about-btn {
    border-color: rgba(25,212,212,.72);
    color: var(--gold-light);
    background: rgba(0,178,178,.08);
  }

  .hero-about-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
  }

  .page-hero {
    overflow: hidden;
    padding-block: 108px 56px;
  }

  .page-hero .display-2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  h1,
  h2,
  h3,
  p,
  li,
  .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-hero .lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .section-label {
    max-width: 100%;
    white-space: normal;
    text-align: start;
  }

  .breadcrumb {
    flex-wrap: wrap;
    max-width: 100%;
  }

  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr auto"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr auto"],
  div[style*="grid-template-columns:repeat(auto-fit"],
  div[style*="grid-template-columns: repeat(auto-fit"],
  .problem-band > div[style*="grid-template-columns:1fr auto"],
  .problem-band > div[style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr auto"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr auto"],
  div[style*="grid-template-columns:repeat(auto-fit"],
  div[style*="grid-template-columns: repeat(auto-fit"] {
    max-width: 100%;
  }

  .problem-band {
    padding: 34px 20px;
  }

  .problem-band .h2,
  .cta-section .h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
}

@media (max-width: 480px) {
  .hero .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .hero-actions .btn {
    padding: 13px 8px;
    font-size: .84rem;
    border-radius: 999px;
  }
}

/* ═══════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
═══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  inset-inline-start: 28px;
  inset-block-end: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(37,211,102,.4);
  border-radius: 50%;
  animation: wapulse 2.5s ease-out infinite;
}

@keyframes wapulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   SERVICE DETAIL CARDS GRID
═══════════════════════════════════════════════ */
.grid--2.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ═══════════════════════════════════════════════
   LIGHT MODE: hero overlay adjustment
═══════════════════════════════════════════════ */
[data-theme="light"] .page-hero {
  background: #E8EAF4;
}

[data-theme="light"] .breadcrumb a { color: var(--gold); }

/* ═══════════════════════════════════════════════
   mb-32 utility for problem-band spacing
═══════════════════════════════════════════════ */
.mb-32 { margin-bottom: 32px !important; }

/* ═══════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════ */
@media print {
  .site-header, .hero-video-wrap, .hero-scroll,
  .menu-toggle, .theme-toggle, .btn-nav,
  .whatsapp-float { display: none; }
  body { background: white; color: black; }
}

/* ═══════════════════════════════════════════════
   VISION 2030 SECTION
═══════════════════════════════════════════════ */
.vision-2030-section {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
  background: none;
  border-radius: 0;   /* full-width, no card look */
  margin-block: 0;
}

/* Fixed parallax background image */
.v30-fixed-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Green gradient overlay on top of image */
.v30-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,46,22,.93) 0%, rgba(0,72,34,.87) 45%, rgba(0,58,28,.91) 75%, rgba(0,32,15,.96) 100%);
  z-index: 1;
}

.v30-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.v30-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.v30-glow--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,168,75,.18) 0%, transparent 70%);
  top: -160px;
  inset-inline-end: -80px;
}

.v30-glow--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,178,178,.2) 0%, transparent 70%);
  bottom: -100px;
  inset-inline-start: 8%;
}

.v30-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(200,168,75,.04) 0px, rgba(200,168,75,.04) 1px,
    transparent 0px, transparent 50%
  );
  background-size: 28px 28px;
}

.v30-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,.12);
  border: 1px solid rgba(200,168,75,.35);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: .84rem;
  font-weight: 700;
  color: #C8A84B;
  margin-bottom: 36px;
  letter-spacing: .01em;
}

.v30-inner {
  max-width: 1000px;
  margin-inline: auto;
}

.v30-headline {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.v30-year {
  font-size: clamp(5rem, 11vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #C8A84B 0%, #F0DC8A 50%, #C8A84B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -3px;
  flex-shrink: 0;
  user-select: none;
}

.v30-text { flex: 1; min-width: 260px; }

.v30-title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.v30-title strong { color: #C8A84B; }

.v30-desc {
  font-size: .94rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  max-width: 480px;
}

.v30-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.v30-pillar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,168,75,.18);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: background .25s, border-color .25s, transform .25s;
}

.v30-pillar:hover {
  background: rgba(200,168,75,.1);
  border-color: rgba(200,168,75,.4);
  transform: translateY(-3px);
}

.v30-pillar-icon {
  width: 50px; height: 50px;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.3);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #C8A84B;
}

.v30-pillar-icon svg { width: 22px; height: 22px; }

.v30-pillar-label {
  font-size: .96rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.v30-pillar-sub {
  font-size: .79rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .v30-headline { gap: 24px; }
  .v30-year { font-size: 4.5rem; }
  .v30-pillars { grid-template-columns: 1fr; gap: 12px; }
}

/* ═══════════════════════════════════════════════
   ELEVATEDGE GEOMETRIC PATTERN SYSTEM — Option E
   Angle 35° matches the icon parallelogram
═══════════════════════════════════════════════ */
:root {
  --ee-pattern-angle:        35deg;
  --ee-pattern-opacity-dark: 0.07;
  --ee-pattern-opacity-teal: 0.10;
  --ee-pattern-color:        #00B2B2;
  --ee-pattern-size:         60px;
}

.ee-pattern {
  position: relative;
  isolation: isolate;
}

.ee-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    var(--ee-pattern-angle),
    transparent 0px,
    transparent 28px,
    var(--ee-pattern-color) 28px,
    var(--ee-pattern-color) 30px
  );
  background-size: var(--ee-pattern-size) var(--ee-pattern-size);
}

.ee-pattern > * { position: relative; z-index: 1; }

.ee-pattern-dark::before  { opacity: var(--ee-pattern-opacity-dark); }

.ee-pattern-teal::before {
  opacity: var(--ee-pattern-opacity-teal);
  background-image: repeating-linear-gradient(
    var(--ee-pattern-angle),
    transparent 0px,
    transparent 28px,
    rgba(255,255,255,1) 28px,
    rgba(255,255,255,1) 30px
  );
}

/* Hero section gets the pattern overlay */
.hero.ee-pattern::before { border-radius: 0; z-index: 1; }

/* Fix: preserve absolute positioning for hero children (ee-pattern > * would override them) */
.hero .hero-video-wrap { position: absolute; z-index: 0; }
.hero .hero-content    { position: relative; z-index: 2; }
.hero .hero-scroll     { position: absolute; z-index: 2; }

/* CTA section pattern */
.cta-section.ee-pattern > * { position: relative; z-index: 1; }
