/* ============================================================
   EUROBUD PLUS — landing-vitrina
   Dark asphalt / steel / signal-gradient system
   ============================================================ */

:root {
  /* palette */
  --bg:        #0D0D0F;
  --bg-2:      #0A0A0C;
  --surface:   #1A1C1F;
  --surface-2: #16181B;
  --text:      #F2F3F4;
  --text-2:    #A9B0B7;
  --text-3:    #6E757C;
  --gold:      #E9BF14;
  --grad-a:    #F5A92A;
  --grad-b:    #ECE833;
  --gradient:  linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);
  --line:      rgba(169,176,183,0.14);
  --line-soft: rgba(169,176,183,0.08);

  /* type */
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  /* layout */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 64px);
  --section-gap: clamp(96px, 14vw, 196px);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fixed background layer — funciona también en móvil
   (background-attachment: fixed no es fiable en navegadores móviles).
   Una capa fija a pantalla completa, detrás del contenido. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../img/center-lines.png"),
    url("../img/asphalt-bg.png");
  background-repeat: no-repeat, repeat-y, repeat;
  background-position: center top, center top, center top;
  background-size: cover, 150px auto, 540px auto;
}

/* faint extra grain to break up tile repetition */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }

::selection { background: rgba(233,191,20,0.28); color: #fff; }

/* ---------- typography helpers ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sec-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.1em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.h-section {
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -0.025em;
}

p { margin: 0; text-wrap: pretty; }

.lead {
  color: var(--text-2);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

/* ---------- layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

.section-pad { padding-block: var(--section-gap); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .sec-num { flex: none; padding-top: 6px; }
.section-head .head-text { flex: 1; }
.section-head .head-text .kicker { margin-bottom: 16px; display: block; }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 30px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--text); }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 13px;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang button.active { color: var(--bg); background: var(--gold); }

.burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(64px, 9vh, 120px);
}
.hero-media {
  position: absolute;
  inset: -8% 0 0 0;
  z-index: 0;
  will-change: transform;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.82) contrast(1.04);
  transform: scale(1.06);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,15,0.62) 0%, rgba(13,13,15,0.18) 32%, rgba(13,13,15,0.55) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13,13,15,0.78) 0%, rgba(13,13,15,0.22) 55%, rgba(13,13,15,0) 100%);
}
.hero .wrap { z-index: 2; }

.hero-line {
  width: clamp(64px, 9vw, 132px);
  height: 3px;
  background: var(--gradient);
  margin-bottom: 30px;
  transform-origin: left center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 104px);
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero-sub {
  margin-top: 30px;
  max-width: 56ch;
  font-size: clamp(16px, 1.55vw, 21px);
  color: var(--text-2);
  line-height: 1.6;
}
.hero-anchor {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 17px);
  color: var(--text);
  letter-spacing: 0.01em;
}
.hero-anchor .dot { color: var(--gold); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .bar {
  width: 1px; height: 46px;
  background: linear-gradient(var(--text-3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -50%; } 60%,100% { top: 100%; }
}

/* ============================================================
   02 — KEY FACTS
   ============================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 46px) clamp(22px, 2.4vw, 36px) clamp(30px, 3.4vw, 50px);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.fact .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.fact .num .plus,
.fact .num .sup {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact .fact-label {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
  max-width: 22ch;
}

/* ============================================================
   03 — TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  margin-top: 8px;
}
.tl-track {
  position: absolute;
  left: clamp(7px, 0.6vw, 9px);
  top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(var(--grad-a), var(--grad-b));
}
.tl-item {
  position: relative;
  padding-left: clamp(46px, 5vw, 78px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--text-3);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tl-item.lit .tl-dot {
  border-color: var(--grad-a);
  box-shadow: 0 0 0 4px rgba(245,169,42,0.12);
}
.tl-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.tl-item.lit .tl-year {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-text { color: var(--text-2); max-width: 62ch; font-size: 16px; }

/* ============================================================
   04 — PRODUCTION BASE
   ============================================================ */
.base-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.2vw, 30px);
}
.base-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.base-card .card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.base-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.9);
}
.base-card .card-body {
  padding: clamp(26px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.base-card h3 {
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.02em;
}
.base-card .card-meta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.base-card p { color: var(--text-2); font-size: 15.5px; }

/* equipment carousel */
.eq-carousel {
  margin-top: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 40px) clamp(20px, 2.2vw, 30px);
}
.eq-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.eq-carousel .eq-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eq-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.eq-counter #eqNum {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eq-viewport {
  display: grid;
  align-items: center;
}
.eq-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.eq-slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.eq-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 22vw, 280px);
  padding: 10px;
}
.eq-media img {
  width: 100%;
  max-height: clamp(180px, 22vw, 280px);
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
}
.eq-info { display: flex; flex-direction: column; gap: 16px; }
.eq-brands {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eq-name {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.eq-desc { color: var(--text-2); font-size: clamp(15px, 1.4vw, 17px); max-width: 42ch; }

.eq-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(22px, 2.6vw, 34px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
}
.eq-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.eq-arrow:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.eq-arrow:active { transform: translateY(0); }
.eq-dots { display: flex; align-items: center; gap: 10px; flex: 1; }
.eq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(169,176,183,0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), width 0.4s var(--ease);
}
.eq-dot:hover { background: rgba(169,176,183,0.55); }
.eq-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--gradient);
}

.base-tagline {
  margin-top: clamp(40px, 5vw, 72px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.base-tagline .arrow {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.15em;
}

/* ============================================================
   05 — CASES
   ============================================================ */
.case-flag {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.case-flag:hover { transform: translateY(-4px); border-color: rgba(245,169,42,0.5); }
.case-flag .flag-media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.case-flag .flag-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9);
  transition: transform 0.7s var(--ease);
}
.case-flag:hover .flag-media img { transform: scale(1.04); }
.flag-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gradient);
  padding: 6px 12px;
}
.case-flag .flag-body {
  padding: clamp(30px, 3.2vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.case-flag .client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: -0.02em;
}
.case-rows { display: flex; flex-direction: column; gap: 16px; }
.case-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.case-row:first-child { border-top: 0; padding-top: 0; }
.case-row .rk {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 3px;
}
.case-row .rv { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.case-row .rv strong { color: var(--text); font-weight: 700; }

/* secondary case grid (cases 3,4,5) */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(245,169,42,0.5); }
.case-card .cc-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-card .cc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
  transition: transform 0.7s var(--ease);
}
.case-card:hover .cc-media img { transform: scale(1.05); }
.case-card .cc-body {
  padding: clamp(22px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.case-card h3 {
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.18;
}
.case-card .cc-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.case-card .cc-row { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.case-card .cc-row .rk {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 2px;
}

/* compact "other works" cards */
.case-grid.compact { grid-template-columns: repeat(4, 1fr); }
.case-card.mini .cc-media { aspect-ratio: 3 / 2; }
.case-card.mini h3 { font-size: clamp(16px, 1.4vw, 19px); }
.case-card.mini p { color: var(--text-2); font-size: 13.5px; }

.subhead {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3);
  margin: clamp(40px,5vw,64px) 0 clamp(22px,2.4vw,30px);
  display: flex; align-items: center; gap: 16px;
}
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   06 — SERVICES
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 34px);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--surface); }
.service .svc-mark {
  width: 26px; height: 26px;
  position: relative;
  flex: none;
}
.service .svc-mark::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.9;
}
.service .svc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ============================================================
   07 — SPAIN
   ============================================================ */
.spain {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spain-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.spain-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.45) contrast(1.05);
}
.spain-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13,13,15,0.92) 0%, rgba(13,13,15,0.6) 55%, rgba(13,13,15,0.3) 100%),
    radial-gradient(120% 80% at 90% 30%, rgba(245,169,42,0.10), transparent 55%);
}
.spain .wrap {
  position: relative; z-index: 2;
  padding-block: clamp(120px, 16vw, 220px);
}
.spain-route {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 30px;
}
.spain-route .leg.to {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spain-route .conn {
  width: clamp(40px, 6vw, 96px);
  height: 2px;
  background: linear-gradient(90deg, var(--text-3), var(--grad-a));
  position: relative;
}
.spain-route .conn::after {
  content: "";
  position: absolute; right: -1px; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid var(--grad-a);
  border-right: 2px solid var(--grad-a);
  transform: translateY(-50%) rotate(45deg);
}
.spain h2 { font-size: clamp(34px, 5vw, 68px); max-width: 14ch; }
.spain p { margin-top: 28px; max-width: 52ch; color: var(--text-2); font-size: clamp(16px,1.5vw,20px); }

/* ============================================================
   08 — FOOTER
   ============================================================ */
.footer {
  padding-block: clamp(64px, 8vw, 110px) clamp(40px, 4vw, 56px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 34px; margin-bottom: 24px; }
.footer-brand p { color: var(--text-3); font-size: 14.5px; max-width: 38ch; }
.footer-col .fc-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 18px;
}
.footer-col p { color: var(--text-2); font-size: 15px; margin-bottom: 8px; }
.footer-col a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.footer-col a:hover { border-color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
  color: var(--text-3); font-size: 13px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.hero .anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
body.loaded .hero .anim { opacity: 1; transform: none; }
.hero .hero-line { transform: scaleX(0); opacity: 1; transition: transform 0.9s var(--ease); }
body.loaded .hero .hero-line { transform: scaleX(1); }
.hero-line { transition-delay: 0.15s; }
.hero-eyebrow { transition-delay: 0.05s; }
.hero h1 { transition-delay: 0.18s; }
.hero-sub { transition-delay: 0.34s; }
.hero-anchor { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(76vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 0 40px;
    background: rgba(10,10,12,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    z-index: 99;
  }
  .nav.open a { font-size: 22px; font-family: var(--font-display); }
  .burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none; border: 0; cursor: pointer;
    padding: 8px; z-index: 101;
  }
  .burger span { width: 24px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .base-grid { grid-template-columns: 1fr; }
  .case-flag { grid-template-columns: 1fr; }
  .case-flag .flag-media { min-height: 240px; }
  .case-grid, .case-grid.compact { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 0; }
  .services { grid-template-columns: 1fr; }
  .eq-slide { grid-template-columns: 1fr; gap: 18px; }
  .eq-media { min-height: 0; }
  .eq-media img { max-height: 200px; }
  .case-row { grid-template-columns: 92px 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .anim, .hero .hero-line { transition: none !important; opacity: 1 !important; transform: none !important; }
  .scroll-cue .bar::after { animation: none !important; }
  .hero-media img, .hero-media video { transform: none !important; }
}