/* ═══════════════════════════════════════════════════════════════
   E-VOLT · Editorial stylesheet
   Palette: cream / navy / terracotta / signal
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream: #F5F2EA;
  --cream-2: #EEE8DC;
  --cream-3: #E5DDC9;
  --ink: #0A1628;
  --ink-2: #1A2B42;
  --ink-3: #2E3F56;
  --terra: #C66B3D;
  --terra-dk: #A8502A;
  --signal: #00D4A0;
  --signal-dk: #009E75;
  --line: rgba(10, 22, 40, 0.14);
  --line-soft: rgba(10, 22, 40, 0.08);
  --line-light: rgba(245, 242, 234, 0.16);

  --ff-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', 'Courier New', monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--cream); }

/* RTL */
html[dir="rtl"] { font-family: 'Inter', 'Tajawal', sans-serif; }
html[dir="rtl"] .hero__accent::before,
html[dir="rtl"] .kicker__dot { margin-left: 8px; margin-right: 0; }

/* ═══════════════════ TICKER ═══════════════════ */
.ticker {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ticker__track {
  display: inline-flex;
  gap: 48px;
  padding: 10px 0;
  white-space: nowrap;
  animation: ticker 55s linear infinite;
}
.ticker__item { display: inline-flex; align-items: center; gap: 10px; }
.ticker__item em {
  color: var(--signal);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 212, 160, 0.35);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 10px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-ligatures: none;
}
.brand__logo {
  display: block;
  height: 42px;
  width: auto;
  color: var(--ink);
}
.footer__logo {
  color: var(--cream);
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.hero__slogan {
  font-family: var(--ff-mono, monospace);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: 18px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero__slogan::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--terra);
}
html[dir="rtl"] .hero__slogan { letter-spacing: 0; }
.brand__dot {
  width: 8px; height: 8px;
  background: var(--signal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--terra); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--terra);
  transition: width 0.25s;
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 16px; }
.langs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.lang {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--ff-mono);
  color: var(--ink-3);
  transition: all 0.2s;
}
.lang:hover { background: var(--cream-2); }
.lang.active { background: var(--ink); color: var(--cream); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--primary:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(80px, 12vw, 160px);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 80px; right: var(--gutter);
  width: 1px; height: 60px;
  background: var(--ink);
  opacity: 0.2;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero__meta { grid-column: 1 / -1; margin-bottom: 24px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.kicker__dot {
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero__accent {
  color: var(--terra);
  font-style: italic;
  font-weight: 600;
  position: relative;
}
.hero__accent::after {
  content: '';
  position: absolute;
  bottom: 0.08em; left: 0; right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.25;
}

.hero__lede {
  grid-column: 1 / 2;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__cta {
  grid-column: 1 / 2;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Big stat aside */
.hero__stat {
  grid-column: 2 / 3;
  grid-row: 2 / 5;
  border: 1px solid var(--ink);
  padding: 28px;
  background: var(--cream-2);
  position: relative;
}
.hero__stat::before {
  content: '—';
  position: absolute;
  top: -12px; left: 20px;
  background: var(--cream);
  padding: 0 8px;
  color: var(--terra);
  font-weight: 700;
  font-size: 18px;
}
.bigstat { display: flex; flex-direction: column; gap: 4px; }
.bigstat__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.bigstat__value {
  font-family: var(--ff-display);
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.bigstat__unit {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}
.bigstat__delta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--signal-dk);
  font-weight: 600;
  font-size: 14px;
}
.bigstat__delta em { color: var(--ink-3); font-style: normal; font-weight: 400; font-size: 11px; font-family: var(--ff-mono); }
.bigstat--sub {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  gap: 10px;
}
.bigstat__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.bigstat__row em {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: var(--terra);
  min-width: 60px;
}

/* ═══════════════════ SECTION ═══════════════════ */
.section {
  padding: clamp(60px, 10vw, 120px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.section--dark {
  max-width: 100%;
  background: var(--ink);
  color: var(--cream);
  border-top: none;
}
.section--dark .section__title { color: var(--cream); }
.section--cream2 {
  max-width: 100%;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.section--contact {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.section__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--light .eyebrow { color: rgba(245, 242, 234, 0.65); }
.section__head--light .eyebrow span { color: var(--signal); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.eyebrow span { color: var(--terra); font-weight: 500; }
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 680px;
}
.section--dark .section__sub { color: rgba(245, 242, 234, 0.7); }

/* ═══════════════════ FACTS (market) ═══════════════════ */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact {
  background: var(--cream);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}
.fact:hover { background: var(--cream-2); }
.fact--highlight { background: var(--ink); color: var(--cream); }
.fact--highlight:hover { background: var(--ink-2); }
.fact--highlight .fact__src { color: rgba(245, 242, 234, 0.5); }
.fact__num {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fact__num small {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0;
}
.fact__label {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
.fact__src {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 8px;
  letter-spacing: 0.04em;
}

/* ═══════════════════ TARIFF BARS ═══════════════════ */
.tariff {
  margin-top: 64px;
  padding: 40px;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.tariff__title {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 32px;
  font-weight: 500;
}
.tariff__bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  height: 240px;
  align-items: end;
  margin-bottom: 20px;
}
.tariff__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.tariff__fill {
  width: 100%;
  height: var(--h);
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  color: var(--cream);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--ff-display);
  font-weight: 700;
}
.tariff__bar--peak .tariff__fill { background: var(--terra); }
.tariff__fill em { font-style: normal; font-size: 14px; }
.tariff__range {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.tariff__hint {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(10, 22, 40, 0.04);
  border-left: 3px solid var(--terra);
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
  max-width: 820px;
}
.tariff__hint strong { color: var(--ink); }

.tariff__foot {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-style: italic;
}

/* ═══════════════════ TIMELINE ═══════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.timeline__item {
  background: var(--ink);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  border-top: 3px solid transparent;
  transition: all 0.3s;
}
.timeline__item:hover { background: var(--ink-2); border-top-color: var(--signal); }
.timeline__item--hot { border-top-color: var(--terra); }
.timeline__item--now { background: var(--terra); }
.timeline__item--now:hover { background: var(--terra-dk); }
.timeline__item--goal { border-top-color: var(--signal); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }

.timeline__year {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
}
.timeline__item--now .timeline__year { color: var(--cream); }
.timeline__item h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cream);
}
.timeline__item p {
  font-size: 14px;
  color: rgba(245, 242, 234, 0.7);
  line-height: 1.5;
  margin-top: auto;
}
.timeline__item--now p { color: rgba(245, 242, 234, 0.9); }

/* ═══════════════════ MAP ═══════════════════ */
.map {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.map__canvas {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--line);
  aspect-ratio: 600 / 700;
  min-height: 520px;
  color: var(--ink);
  overflow: hidden;
}
.map__canvas svg {
  width: 100%; height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2;
}
.pin__dot {
  width: 14px; height: 14px;
  background: var(--ink);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink);
  transition: transform 0.25s;
}
.pin--hot .pin__dot { background: var(--terra); box-shadow: 0 0 0 2px var(--terra), 0 0 0 8px rgba(198, 107, 61, 0.2); animation: pinpulse 2s infinite; }
@keyframes pinpulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--terra), 0 0 0 8px rgba(198, 107, 61, 0.2); }
  50% { box-shadow: 0 0 0 2px var(--terra), 0 0 0 16px rgba(198, 107, 61, 0); }
}
.pin__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 3px 8px;
  white-space: nowrap;
}
.pin:hover .pin__dot { transform: scale(1.4); }

/* Dark map variant (Sahara map with glow) */
.map__canvas--dark {
  background: radial-gradient(ellipse at 60% 40%, #0E1E36 0%, var(--ink) 70%);
  border-color: var(--ink);
}
.map__canvas--dark .pin--glow .pin__dot {
  width: 12px; height: 12px;
  background: var(--signal);
  border: 2px solid var(--cream);
  box-shadow:
    0 0 0 3px rgba(0, 212, 160, 0.25),
    0 0 16px rgba(0, 212, 160, 0.8),
    0 0 32px rgba(0, 212, 160, 0.4);
}
.map__canvas--dark .pin--glow.pin--hot .pin__dot {
  background: var(--terra);
  border-color: var(--cream);
  box-shadow:
    0 0 0 3px rgba(198, 107, 61, 0.3),
    0 0 16px rgba(198, 107, 61, 0.9),
    0 0 32px rgba(198, 107, 61, 0.5);
  animation: pinpulseGlow 2.2s infinite;
}
@keyframes pinpulseGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 107, 61, 0.3), 0 0 16px rgba(198, 107, 61, 0.9), 0 0 32px rgba(198, 107, 61, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(198, 107, 61, 0.05), 0 0 24px rgba(198, 107, 61, 1), 0 0 44px rgba(198, 107, 61, 0.3); }
}
.map__canvas--dark .pin--glow .pin__label {
  background: transparent;
  color: var(--cream);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(10, 22, 40, 0.9), 0 1px 2px rgba(0,0,0,0.6);
}

.map__legend {
  background: var(--ink);
  color: var(--cream);
  padding: 40px;
  border: 1px solid var(--ink);
}
.map__legend h3 {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
  font-weight: 500;
}
.map__legend ul { display: flex; flex-direction: column; gap: 18px; }
.map__legend li { border-bottom: 1px dashed var(--line-light); padding-bottom: 16px; }
.map__legend li:last-child { border-bottom: none; }
.map__legend strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.map__legend span { font-size: 13px; color: rgba(245, 242, 234, 0.65); line-height: 1.5; }

/* ═══════════════════ SERVICES ═══════════════════ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  transition: all 0.3s;
  position: relative;
}
.service:hover { background: var(--cream-2); transform: translateY(-2px); }
.service--hot { background: var(--terra); color: var(--cream); }
.service--hot:hover { background: var(--terra-dk); }
.service--hot .service__num,
.service--hot .service__tags li { color: rgba(245, 242, 234, 0.85); border-color: rgba(245, 242, 234, 0.3); }
.service__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.service h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.service--hot p { color: rgba(245, 242, 234, 0.9); }
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}
.service__tags li {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ═══════════════════ GALLERY CHANTIERS ═══════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:hover { transform: scale(0.99); }

.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s;
  filter: saturate(0.9) contrast(1.02);
}
.gallery__item:hover .gallery__img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}
.gallery__img[src=""], .gallery__img:not([src]) { display: none; }

.gallery__ph {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--ink) 0 2px, var(--ink-2) 2px 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(245, 242, 234, 0.5);
  position: relative;
}
.gallery__ph::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(245, 242, 234, 0.25);
}
.gallery__meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--signal);
  z-index: 1;
}
.gallery__hint {
  font-family: var(--ff-display);
  font-size: 14px;
  font-style: italic;
  z-index: 1;
}

.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.55) 40%, rgba(10, 22, 40, 0.95) 100%);
  color: var(--cream);
  transform: translateY(32%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery__item:hover figcaption { transform: translateY(0); }
.gallery__item figcaption h3,
.gallery__item figcaption p { transition: opacity 0.25s 0.05s; }
.gallery__item figcaption p { opacity: 0; }
.gallery__item:hover figcaption p { opacity: 0.85; }
.gallery__tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: var(--terra);
  color: var(--cream);
  margin-bottom: 8px;
}
.gallery__item h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.gallery__item p { font-size: 13px; opacity: 0.8; line-height: 1.4; }

.gallery__note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px dashed var(--line);
  font-size: 13px;
  font-family: var(--ff-mono);
  color: var(--ink-2);
}

/* ═══════════════════ CALCULATEUR TCO ═══════════════════ */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
}
.calc__inputs { display: flex; flex-direction: column; gap: 28px; }
.calc__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.calc__field input[type="range"] {
  width: 100%;
  height: 4px;
  background: var(--cream-3);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
  cursor: pointer;
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink);
  border-radius: 50%;
  cursor: grab;
}
.calc__field input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; background: var(--terra); box-shadow: 0 0 0 2px var(--terra); }
.calc__field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--ink);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--ink);
  border-radius: 50%;
  cursor: grab;
}
.calc__field output {
  display: block;
  margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--terra);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.calc__outputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--ink);
  color: var(--cream);
  padding: 32px;
}
.calcout {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-light);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.calcout:last-of-type { border-bottom: none; padding-bottom: 0; }
.calcout__lbl {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.6);
  width: 100%;
  margin-bottom: 4px;
}
.calcout__val {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.calcout__unit {
  font-size: 13px;
  color: rgba(245, 242, 234, 0.6);
}
.calcout--hi .calcout__val { color: var(--signal); }
.calcout--save {
  background: var(--terra);
  margin-top: 8px;
  padding: 20px;
}
.calcout--save .calcout__lbl { color: rgba(245, 242, 234, 0.9); }
.calcout--save .calcout__val { color: var(--cream); font-size: clamp(36px, 5vw, 56px); }
.calcout--save .calcout__unit { color: rgba(245, 242, 234, 0.9); }
.calcout__pct {
  display: block;
  font-family: var(--ff-mono);
  font-size: 12px;
  width: 100%;
  margin-top: 4px;
  color: rgba(245, 242, 234, 0.9);
}
.calc__disclaimer {
  font-size: 11px;
  color: rgba(245, 242, 234, 0.5);
  line-height: 1.5;
  margin-top: 16px;
  font-style: italic;
}

/* ═══════════════════ ÉCOSYSTÈME ═══════════════════ */
.eco {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.ecoitem {
  background: var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
}
.ecoitem:hover { background: var(--ink-2); }
.ecoitem h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--signal);
}
.ecoitem p { font-size: 14px; color: rgba(245, 242, 234, 0.7); line-height: 1.5; }

.norms {
  margin-top: 48px;
  padding: 32px;
  border: 1px dashed var(--line-light);
}
.norms__title {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 20px;
  font-weight: 500;
}
.norms__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.norms__grid span {
  font-family: var(--ff-mono);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  color: var(--cream);
  letter-spacing: 0.04em;
  background: var(--ink-2);
}

/* ═══════════════════ FAQ ═══════════════════ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
}
.faq__q:hover { color: var(--terra); }
.faq__q em {
  font-style: normal;
  font-size: 24px;
  color: var(--terra);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq__item.open .faq__q em { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq__a p {
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 780px;
}

/* ═══════════════════ CONTACT ═══════════════════ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact__intro { position: sticky; top: 100px; align-self: start; }
.contact__info {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__info li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
}
.contact__info span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-width: 70px;
}
.contact__info a, .contact__info em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}
.contact__info a:hover { color: var(--terra); }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field > span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.form__field input,
.form__field textarea,
.form__field select {
  padding: 14px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus { border-color: var(--ink); background: var(--cream-2); }
.form__field textarea { resize: vertical; min-height: 140px; font-family: var(--ff-body); }
.form__field input.error,
.form__field textarea.error,
.form__field select.error { border-color: var(--terra); }

.form__note { font-size: 12px; color: var(--ink-3); line-height: 1.5; font-style: italic; }
.form-success-message {
  background: var(--signal);
  color: var(--ink);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
}
.form-error-message {
  background: var(--terra);
  color: var(--cream);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 80px) var(--gutter) 28px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand .brand__mark { font-size: 32px; margin-bottom: 16px; display: block; }
.footer__brand p { font-size: 14px; color: rgba(245, 242, 234, 0.6); max-width: 320px; line-height: 1.5; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer__col a, .footer__col span {
  font-size: 14px;
  color: rgba(245, 242, 234, 0.75);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--signal); }
.footer__legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: rgba(245, 242, 234, 0.4);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__stamp {
  border: 1px solid var(--line-light);
  padding: 4px 10px;
  letter-spacing: 0.15em;
}

/* ═══════════════════ MOBILE ═══════════════════ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stat { grid-column: 1; grid-row: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .eco { grid-template-columns: repeat(2, 1fr); }
  .map { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .tariff__bars { height: 180px; }
  .nav__links { display: none; }
  .hamburger { display: flex; }
  .nav__links.active {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .eco { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .tariff { padding: 24px 16px; }
  .tariff__bars { gap: 8px; height: 150px; }
  .tariff__fill em { font-size: 10px; }
}

/* ═══════════════════ RTL ADJUSTMENTS ═══════════════════ */
html[dir="rtl"] .hero__accent::after { right: 0; left: 0; }
html[dir="rtl"] .ticker__track { animation-direction: reverse; }
html[dir="rtl"] .timeline__item { border-right: 3px solid transparent; border-top: none; }
html[dir="rtl"] .timeline__item--hot { border-right-color: var(--terra); }
html[dir="rtl"] .pin { transform: translate(50%, -50%); }

/* ═══════════════════ MOTION REDUCE ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ticker__track { animation: none; }
}
