/* ============================================================
   UVSCTAT319 — Servicio al Transporte Zame
   Design System v2: Light-first, Inter + Raleway, full viewport
   ============================================================ */

/* --- Tokens compartidos --- */
:root {
  /* Brand */
  --brand-red: #cc1b1b;
  --brand-red-hover: #b21515;
  --brand-green: #006b3f;
  --brand-green-light: #00895a;
  --brand-navy: #151b2d;

  /* Typography */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --s-80: 80px;
  --s-96: 96px;
  --s-120: 120px;
  --s-160: 160px;

  /* Radii */
  --r-card: 14px;
  --r-sm: 8px;
  --r-pill: 9999px;

  /* Layout */
  --gutter: 24px;
  --header-h: 84px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 48px;
  }
}
@media (min-width: 1200px) {
  :root {
    --gutter: 80px;
  }
}

/* --- Light theme (default) --- */
:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f5f0;
  --bg-elev: #ffffff;
  --bg-soft: #f9f9f6;
  --surface-card: #ffffff;
  --text: #0a0a0a;
  --text-soft: #4a4a4a;
  --text-muted: #767676;
  --text-faint: #a8a8a8;
  --border: rgba(10, 10, 10, 0.08);
  --border-strong: rgba(10, 10, 10, 0.14);
  --overlay-soft: rgba(0, 0, 0, 0.04);
  --overlay-hard: rgba(0, 0, 0, 0.33);
  --hero-grad-1: rgba(204, 27, 27, 0.1);
  --hero-grad-2: rgba(21, 27, 45, 0.1);
  --hero-grad-3: rgba(0, 107, 63, 0.06);
  --grid-line: rgba(10, 10, 10, 0.05);
  --map-filter: grayscale(0.3) contrast(1.05);
  --shadow-card:
    0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 28px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 20px 60px rgba(10, 10, 10, 0.12);
  --header-bg: rgba(255, 255, 255, 0.75);
  --header-bg-scrolled: rgba(255, 255, 255, 0.92);
}

/* --- Dark theme --- */
[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --bg-elev: #141414;
  --bg-soft: #0c0c0c;
  --surface-card: #0f0f0f;
  --text: #ffffff;
  --text-soft: #c0c0c0;
  --text-muted: #999999;
  --text-faint: #5a5a5a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --overlay-soft: rgba(255, 255, 255, 0.04);
  --hero-grad-1: rgba(204, 27, 27, 0.22);
  --hero-grad-2: rgba(21, 27, 45, 0.6);
  --hero-grad-3: rgba(0, 107, 63, 0.14);
  --grid-line: rgba(255, 255, 255, 0.04);
  --map-filter: grayscale(1) invert(1) contrast(0.9) brightness(0.6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(0, 0, 0, 0.55);
  --header-bg-scrolled: rgba(0, 0, 0, 0.88);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-red);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ============================================================
   HEADER — logo 150px, nav center 14px UC, cta + theme right
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  /* background: var(--header-bg); */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  will-change: transform;
  transition:
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    padding 0.35s ease,
    backdrop-filter 0.35s ease;
}
.header.scrolled {
  backdrop-filter: blur(18px);
}
.header--hidden {
  transform: translateY(-110%);
  pointer-events: none;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-24);
  padding: 5px 18px;
  transition: padding 0.35s ease;
}

.header.scrolled .header__inner {
  padding: 8px;
}

.header__logo img {
  width: 150px;
  height: auto;
  display: block;
  transition: width 0.35s ease;
}

[data-theme="dark"] .header__logo img,
[data-theme="dark"] .footer__brand img {
  filter: brightness(0) invert(1);
}

.header.scrolled .header__logo img {
  width: 120px;
}

.header__nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: var(--s-32);
}
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}
.header__nav a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.25s ease;
  position: relative;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--brand-red);
  transition: width 0.3s ease;
}
.header__nav a:hover {
  color: var(--text);
}
.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-12);
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  border-color: var(--brand-red);
  transform: rotate(15deg);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition:
    opacity 0.3s ease,
    transform 0.4s ease;
}
[data-theme="light"] .theme-toggle__sun {
  opacity: 1;
  transform: rotate(0);
}
[data-theme="light"] .theme-toggle__moon {
  opacity: 0;
  transform: rotate(-90deg);
}
[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(90deg);
}
[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  background: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204, 27, 27, 0.32);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--text);
  background: var(--overlay-soft);
}

/* Mobile menu toggle */
.header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .header__toggle {
    display: none;
  }
}
.header__toggle span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.header__toggle.active span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.header__toggle.active span:nth-child(2) {
  opacity: 0;
}
.header__toggle.active span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.25s ease;
}
.mobile-menu a:hover {
  color: var(--brand-red);
}

/* ============================================================
   COMMON — sections (full viewport, no max-width container)
   ============================================================ */
section {
  padding: var(--s-96) var(--gutter);
  position: relative;
}
@media (min-width: 768px) {
  section {
    padding: var(--s-120) var(--gutter);
  }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--s-20);
  display: flex;
  align-items: center;
  gap: var(--s-12);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brand-red);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s-20);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO — animated dynamic background, professional energy
   ============================================================ */
.hero {
  height: max-content;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + var(--s-48));
  padding-bottom: var(--s-64);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-grad {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 1;
  will-change: transform;
}
.hero__bg-grad--1 {
  top: -10%;
  left: -8%;
  width: 55vw;
  height: 55vw;
  background: var(--hero-grad-1);
  animation: blobDrift1 18s ease-in-out infinite alternate;
}
.hero__bg-grad--2 {
  top: 30%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--hero-grad-2);
  animation: blobDrift2 22s ease-in-out infinite alternate;
}
.hero__bg-grad--3 {
  bottom: -15%;
  left: 30%;
  width: 45vw;
  height: 45vw;
  background: var(--hero-grad-3);
  animation: blobDrift3 26s ease-in-out infinite alternate;
}
@keyframes blobDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(8vw, 6vh) scale(1.15);
  }
}
@keyframes blobDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-6vw, 4vh) scale(1.1);
  }
}
@keyframes blobDrift3 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(5vw, -6vh) scale(1.08);
  }
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 75%
  );
}
.hero__bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding-left: 0;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--s-28, 28px);
  display: flex;
  align-items: center;
  gap: var(--s-12);
}
.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--brand-red);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: var(--s-24);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-red);
}
.hero__desc {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: var(--s-40);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-32);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--overlay-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.badge-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--brand-green-light);
}

/* ============================================================
   SHOWCASE — 100vh x 100vw, no pin, image scales while scrolling
   ============================================================ */
.showcase {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  background: var(--bg-alt);
  position: relative;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-hard);
  z-index: 1;
  pointer-events: none;
}

.showcase__stage {
  width: 100%;
  height: 100%;
  position: relative;
}

.showcase__frame {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  will-change: width, height, border-radius;
  transform-origin: center center;
}
.showcase__caption {
  position: absolute;
  bottom: 8vh;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 0 var(--gutter);
}
.showcase__frame.is-bleed .showcase__caption {
  opacity: 1;
}
.showcase__caption-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-12);
}
.showcase__caption-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ============================================================
   TRUST BAR — 100% viewport
   ============================================================ */
.trust-bar {
  width: 100%;
  padding: var(--s-160) var(--gutter);
  background: var(--bg-alt);
}
.trust-bar__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--s-32);
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-48) var(--s-64);
}
.trust-bar__logo {
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
  filter: grayscale(1);
}
.trust-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
.trust-bar__logo img {
  max-height: 100%;
  max-width: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.trust-bar__logo--text {
  flex-direction: column;
  text-align: center;
  font-family: var(--font-display);
  color: var(--text-soft);
  filter: none;
  opacity: 0.7;
}
.trust-bar__logo--text span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.trust-bar__logo--text small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[data-theme="dark"] .trust-bar__logo img {
  filter: invert(1) grayscale(1) brightness(2);
}
[data-theme="dark"] .trust-bar__logo:hover img {
  filter: invert(1) brightness(1.4);
}

/* ============================================================
   SERVICES — pinned horizontal transition
   ============================================================ */
.services {
  background: var(--bg);
  padding: 0;
}
.services__intro {
  padding: var(--s-120) var(--gutter);
  max-width: 920px;
}

.services__intro .btn-primary {
  margin-top: var(--s-32);
}

.services-pinned {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-alt);
}
.services-pinned__track {
  display: flex;
  width: 200vw;
  height: 100vh;
  will-change: transform;
}
.service-slide {
  flex: 0 0 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  align-items: center;
}
.service-slide--alt {
  grid-template-columns: 1fr 1.8fr;
  background: var(--bg);
}
.service-slide__visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow-card);
}
.service-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-slide__index {
  position: absolute;
  bottom: var(--s-20);
  right: var(--s-20);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--brand-red);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.service-slide__content {
  padding: var(--s-64);
  height: 100%;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(204, 27, 27, 0.1);
  color: var(--brand-red);
  margin-bottom: var(--s-20);
}
.service-tag--green {
  background: rgba(0, 107, 63, 0.12);
  color: var(--brand-green-light);
}
.service-slide__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--s-24);
}
.service-slide__title span {
  background: linear-gradient(
    to right,
    var(--brand-red),
    color-mix(in srgb, var(--brand-red) 80%, transparent)
  );

  /* 2. Recortamos el fondo para que solo se vea a través del texto */
  -webkit-background-clip: text;
  background-clip: text;

  /* 3. Hacemos el color del texto transparente */
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.service-slide__desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: var(--s-32);
  max-width: 540px;
}
.service-slide__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12) var(--s-24);
}
.service-slide__list li {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.service-slide__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1px;
  background: var(--brand-red);
}

.fuel-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  margin-top: var(--s-24);
}
.fuel-card {
  padding: var(--s-24);
  background: var(--surface-card);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--brand-red);
}
.fuel-card__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--s-8);
}
.fuel-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-8);
}
.fuel-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mobile services fallback */
@media (max-width: 1023px) {
  .services-pinned {
    height: auto;
    background: transparent;
  }
  .services-pinned__track {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: column;
  }
  .service-slide {
    flex: 0 0 auto;
    height: auto;
    grid-template-columns: 1fr;
    padding: var(--s-64) var(--gutter);
    gap: var(--s-32);
  }
  .service-slide__visual {
    height: 56vh;
  }
  .service-slide__list {
    grid-template-columns: 1fr;
  }
  .fuel-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--s-160) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s-16);
}
.cta-banner__desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--s-32);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PROCESS — timeline + truck (drawSVG + motionPath)
   ============================================================ */
.process {
  background: var(--bg);
  padding: var(--s-120) 0;
}
.process__header {
  padding: 0 var(--gutter);
  max-width: 720px;
  margin: 0 auto var(--s-80);
  text-align: center;
}
.process__header .eyebrow {
  justify-content: center;
}
.process__header .eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brand-red);
}
.process__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.process-timeline {
  position: relative;
  padding: 70px var(--gutter) var(--s-48);
  color: var(--brand-red);
  max-width: 1400px;
  margin: 0 auto;
  --dot-w: 20px;
  --dot-h: 20px;
  --dot-gap: 40px; /* vertical distance from card top to dot center */
}
.process-timeline__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
/* Two layers: faint full track always visible + red progress driven by truck */
.process-timeline__path--track {
  stroke: var(--text);
  opacity: 0.12;
}
.process-timeline__path--progress {
  stroke: var(--brand-red);
  opacity: 1;
}
.process-timeline__truck {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: auto;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
  transform: translate(-50%, -50%);
}
[data-theme="dark"] .process-timeline__truck {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)) brightness(1.1);
}

.process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "a"
    "b"
    "c"
    "d";
  gap: 64px;
}
.process-step:nth-child(1) {
  grid-area: a;
}
.process-step:nth-child(2) {
  grid-area: b;
}
.process-step:nth-child(3) {
  grid-area: c;
}
.process-step:nth-child(4) {
  grid-area: d;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "d c";
    column-gap: 170px;
    row-gap: 170px;
  }
}

.process-step {
  padding: var(--s-20) var(--s-24);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  position: relative;
  box-shadow: var(--shadow-card);
  /* Mobile default: fully visible */
  opacity: 1;
  transition:
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.3s ease;
  max-width: 400px;
}
.process-step:hover {
  opacity: 1;
  border-color: var(--brand-red);
}

/* Tablet+ : cards stay fully visible at all times.
   Focus on the current step is communicated ONLY by the red border + glow,
   not by dimming other cards. The dot's visited/active state still marks
   the path traveled. */
@media (min-width: 768px) {
  .process-step.is-active {
    border-color: var(--brand-red);
    box-shadow:
      0 0 0 4px rgba(204, 27, 27, 0.1),
      0 8px 22px rgba(204, 27, 27, 0.148);
  }
  /* Brighten the giant index number when active so the card "lights up" */
  .process-step.is-active .process-step__num {
    opacity: 0.32;
  }
}

/* Sophisticated dot: outer ring + inner solid pip + halo glow.
   Ring fill = section bg so the path appears to "stop" at each marker. */
.process-step::before {
  content: "";
  position: absolute;
  top: calc(var(--dot-gap) * -1);
  left: 50%;
  width: var(--dot-w);
  height: var(--dot-h);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
  opacity: 0.12;
  box-shadow:
    0 0 0 4px rgba(204, 27, 27, 0),
    0 6px 18px rgba(204, 27, 27, 0);
  z-index: 2;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.process-step::after {
  content: "";
  position: absolute;
  top: calc(var(--dot-gap) * -1);
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--text);
  opacity: 0.16;
  z-index: 3;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Both visited and active dots share the "lit" look (red + opaque).
   Active just adds scale + stronger glow on top — so the card focus
   and the dot focus turn on together. */
.process-step.is-visited::before,
.process-step.is-active::before {
  border-color: var(--brand-red);
  opacity: 1;
}

.process-step.is-visited::after,
.process-step.is-active::after {
  background: var(--brand-red);
  opacity: 1;
}

.process-step.is-visited::before {
  box-shadow:
    0 0 0 4px rgba(204, 27, 27, 0.1),
    0 6px 18px rgba(204, 27, 27, 0.18);
}

.process-step:hover::before,
.process-step.is-active::before {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow:
    0 0 0 6px rgba(204, 27, 27, 0.1),
    0 8px 22px rgba(204, 27, 27, 0.32);
}
.process-step:hover::after,
.process-step.is-active::after {
  transform: translate(-50%, -50%) scale(1.3);
}

.process-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--brand-red);
  opacity: 0.16;
  margin-bottom: var(--s-8);
  letter-spacing: -0.04em;
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.process-step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.process-step__desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .process-timeline__svg,
  .process-timeline__truck,
  .process-step::before,
  .process-step::after {
    display: none;
  }
}

/* ============================================================
   CALENDARS
   ============================================================ */
.calendars {
  background: var(--bg-alt);
}
.calendars__header {
  margin-bottom: var(--s-64);
  max-width: 920px;
}
.calendars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-32);
}
@media (min-width: 768px) {
  .calendars__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.cal-table {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cal-table__header {
  padding: var(--s-24);
  background: rgba(204, 27, 27, 0.05);
  border-bottom: 1px solid var(--border);
}
.cal-table__header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.cal-table__header span {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cal-table table {
  width: 100%;
  border-collapse: collapse;
}
.cal-table th,
.cal-table td {
  padding: var(--s-16) var(--s-24);
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}
.cal-table th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cal-table td {
  font-weight: 400;
  color: var(--text);
}
.cal-table tr:last-child td {
  border-bottom: none;
}
.cal-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--s-24);
  line-height: 1.65;
}

/* ============================================================
   INFRA / STATS
   ============================================================ */
.infra {
  background: var(--bg);
}
.infra__header {
  margin-bottom: var(--s-64);
  max-width: 920px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.stat-cell {
  padding: var(--s-48) var(--s-24);
  background: var(--surface-card);
  text-align: center;
}
.stat-cell__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--s-8);
}
.stat-cell__num span:first-child {
  color: var(--brand-red);
}
.stat-cell__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--bg);
}
.gallery__pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Centered heading — sits at viewport center while the pin is active.
   z-index above the drifting items, but pointer-events: none so clicks
   pass through to the images behind. */
.gallery__heading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  z-index: 2;
  pointer-events: none;
}
.gallery__heading .reveal {
  pointer-events: auto;
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-20);
}
.gallery__title {
  margin: 0;
}
.gallery__desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}
.gallery__cta {
  margin-top: var(--s-12);
}

/* Tall absolute track — GSAP translates this on Y to drift items upward. */
.gallery__track {
  position: absolute;
  inset: 0;
  height: 320vh;
  will-change: transform;
  z-index: 1;
}

.gallery__item {
  position: absolute;
  --target-opacity: 1;
  opacity: 0;
  transform: translateY(20px);
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.gallery__item--back {
  --target-opacity: 0.55;
}
.gallery__item.is-visible {
  opacity: var(--target-opacity);
  transform: translateY(0);
}

/* Shape + size variants (width-based; height follows aspect-ratio). */
.gallery__item--p-sm {
  width: 9vw;
  aspect-ratio: 3/4;
}
.gallery__item--p-md {
  width: 12vw;
  aspect-ratio: 3/4;
}
.gallery__item--p-lg {
  width: 14vw;
  aspect-ratio: 3/4;
}
.gallery__item--l-md {
  width: 13vw;
  aspect-ratio: 4/3;
}
.gallery__item--l-lg {
  width: 17vw;
  aspect-ratio: 4/3;
}
.gallery__item--s-sm {
  width: 8vw;
  aspect-ratio: 1/1;
}
.gallery__item--s-md {
  width: 11vw;
  aspect-ratio: 1/1;
}

/* Scattered positions — 6 vertical bands × 2 items, alternating sides.
   No two bounding boxes overlap; ~30vh of breathing room within each
   horizontal zone. The center column (40-50vw) is left clear so the
   pinned heading reads cleanly. */
.gallery__item:nth-child(1) {
  top: 8vh;
  left: 14vw;
}
.gallery__item:nth-child(2) {
  top: 18vh;
  left: 66vw;
}
.gallery__item:nth-child(3) {
  top: 60vh;
  left: 76vw;
}
.gallery__item:nth-child(4) {
  top: 68vh;
  left: 6vw;
}
.gallery__item:nth-child(5) {
  top: 110vh;
  left: 70vw;
}
.gallery__item:nth-child(6) {
  top: 122vh;
  left: 22vw;
}
.gallery__item:nth-child(7) {
  top: 158vh;
  left: 58vw;
}
.gallery__item:nth-child(8) {
  top: 168vh;
  left: 8vw;
}
.gallery__item:nth-child(9) {
  top: 212vh;
  left: 62vw;
}
.gallery__item:nth-child(10) {
  top: 222vh;
  left: 24vw;
}
.gallery__item:nth-child(11) {
  top: 268vh;
  left: 74vw;
}
.gallery__item:nth-child(12) {
  top: 278vh;
  left: 16vw;
}

.gallery__slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-elev);
  box-shadow: var(--shadow-card);
  display: block;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
  pointer-events: none;
}
.gallery__slide:hover img,
.gallery__slide:focus-visible img {
  transform: scale(1.05);
}
.gallery__slide:focus-visible {
  outline: 2px solid var(--accent, #fff);
  outline-offset: 4px;
}

/* Mobile fallback: 1-column full-width vertical list, no pin */
@media (max-width: 1023px) {
  .gallery__pin {
    height: auto;
    overflow: visible;
  }
  .gallery__heading {
    position: relative;
    inset: auto;
    padding: var(--s-64) var(--gutter) var(--s-32);
  }
  .gallery__track {
    position: relative;
    inset: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-16);
    padding: 0 var(--gutter) var(--s-80);
  }
  .gallery__item,
  .gallery__item--back {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    aspect-ratio: 4/3;
    --target-opacity: 1;
  }
  .gallery__item.gallery__item--p-sm,
  .gallery__item.gallery__item--p-md,
  .gallery__item.gallery__item--p-lg,
  .gallery__item.gallery__item--l-md,
  .gallery__item.gallery__item--l-lg,
  .gallery__item.gallery__item--s-sm,
  .gallery__item.gallery__item--s-md {
    width: 100%;
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: clamp(16px, 4vw, 48px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox__stage {
  position: relative;
  max-width: min(1400px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.lightbox.is-open .lightbox__img {
  opacity: 1;
  transform: scale(1);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  padding: 0;
  z-index: 2;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.lightbox__close:active,
.lightbox__nav:active {
  transform: scale(0.94);
}
.lightbox__close svg,
.lightbox__nav svg {
  width: 22px;
  height: 22px;
}
.lightbox__close {
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
}
.lightbox__nav--prev {
  left: clamp(12px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--next {
  right: clamp(12px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--prev:active {
  transform: translateY(-50%) scale(0.94);
}
.lightbox__nav--next:active {
  transform: translateY(-50%) scale(0.94);
}
@media (max-width: 600px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__nav svg {
    width: 18px;
    height: 18px;
  }
}
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--bg-alt);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-64);
}
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-80);
  }
}
.about__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-soft);
}
.about__text p + p {
  margin-top: var(--s-20);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}
.pillar {
  padding: var(--s-24);
  border-left: 2px solid var(--border-strong);
  transition: border-color 0.3s ease;
}
.pillar:hover {
  border-left-color: var(--brand-red);
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-8);
}
.pillar__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   NORMATIVA
   ============================================================ */
.normativa {
  background: var(--bg);
}
.normativa__header {
  margin-bottom: var(--s-64);
  max-width: 920px;
}

.norms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-20);
}
@media (min-width: 768px) {
  .norms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .norms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.norm-card {
  padding: var(--s-28, 28px);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.norm-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}
.norm-card__tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(0, 107, 63, 0.1);
  color: var(--brand-green-light);
  margin-bottom: var(--s-16);
  align-self: flex-start;
}
.norm-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-12);
}
.norm-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  flex-grow: 1;
}
.norm-card__link {
  margin-top: var(--s-20);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  transition: gap 0.2s ease;
}
.norm-card__link:hover {
  gap: var(--s-8);
}

/* ============================================================
   ALLIES
   ============================================================ */
.allies {
  background: var(--bg-alt);
}
.allies__header {
  margin-bottom: var(--s-64);
  max-width: 920px;
}

.allies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-20);
}
@media (min-width: 768px) {
  .allies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ally-card {
  padding: var(--s-32);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  position: relative;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}
.ally-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.ally-card--current {
  border-color: var(--brand-red);
  border-width: 1.5px;
}
.ally-card__badge {
  position: absolute;
  top: var(--s-16);
  right: var(--s-16);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--brand-red);
  color: #ffffff;
}
.ally-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.ally-card__location {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-16);
}
.ally-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--s-20);
}
.ally-card__link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.ally-card__link:hover {
  border-color: var(--text);
}

.allies-stats {
  display: flex;
  justify-content: center;
  gap: var(--s-48);
  margin-top: var(--s-48);
  flex-wrap: wrap;
}
.allies-stats__item {
  text-align: center;
}
.allies-stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-4);
}
.allies-stats__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--bg);
}
.contact__header {
  margin-bottom: var(--s-64);
  max-width: 920px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-64);
}
@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-80);
  }
}

.contact-info__item {
  display: flex;
  gap: var(--s-16);
  padding: var(--s-20) 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__icon {
  width: 22px;
  flex-shrink: 0;
  color: var(--brand-red);
  margin-top: 2px;
}
.contact-info__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-4);
}
.contact-info__value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
}

.contact-map {
  margin-top: var(--s-32);
  overflow: hidden;
  aspect-ratio: 16/6;
  background: var(--bg-elev);
  border: none;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: var(--map-filter);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-20);
}
@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  width: 100%;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-red);
  background: var(--bg);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23767676' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-msg {
  font-family: var(--font-body);
  font-size: 13px;
  padding: var(--s-16);
  border-radius: var(--r-sm);
  display: none;
}
.form-msg--success {
  background: rgba(0, 107, 63, 0.08);
  color: var(--brand-green-light);
  border: 1px solid rgba(0, 107, 63, 0.2);
}
.form-msg--error {
  background: rgba(204, 27, 27, 0.08);
  color: var(--brand-red);
  border: 1px solid rgba(204, 27, 27, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--s-80) var(--gutter) var(--s-40);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-48);
  margin-bottom: var(--s-160);
}
@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer__brand p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: var(--s-20);
  max-width: 360px;
}
.footer__brand img {
  height: 150px;
  width: auto;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--s-20);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.footer__links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  line-height: 1.5;
}
.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-16);
  padding-top: var(--s-32);
  border-top: 1px solid var(--border);
}
.footer__copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}
.footer__legal {
  display: flex;
  gap: var(--s-24);
}
.footer__legal a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.footer__legal a:hover {
  color: var(--text);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .hero {
    min-height: 88vh;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .allies-stats {
    gap: var(--s-32);
  }
  .footer__top {
    gap: var(--s-40);
  }
  .header__inner {
    padding: 14px var(--gutter);
  }
  .header__logo img {
    width: 130px;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
  }
  .showcase__img {
    width: 86%;
    height: 60%;
  }
}
