/* ═══════════════════════════════════════════════════════════════
   3D PILES — Stylesheet v2
   FUEGO Y PRECISIÓN · Bebas Neue + Space Grotesk
   Dark void · Fire orange · Gold · Cyan
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-void:    #020407;
  --bg-deep:    #060d16;
  --bg-dark:    #0b1929;
  --bg-panel:   #0f2035;

  /* Borders */
  --border:       rgba(255,255,255,0.05);
  --border-light: rgba(255,255,255,0.10);
  --border-fire:  rgba(255,69,0,0.30);
  --border-cyan:  rgba(0,212,255,0.30);

  /* Accent colours */
  --fire:       #ff4500;
  --fire-2:     #ff6b1a;
  --fire-glow:  rgba(255,69,0,0.20);
  --fire-dim:   rgba(255,69,0,0.08);
  --gold:       #ffb800;
  --gold-glow:  rgba(255,184,0,0.18);
  --gold-dim:   rgba(255,184,0,0.08);
  --cyan:       #00d4ff;
  --cyan-glow:  rgba(0,212,255,0.18);
  --cyan-dim:   rgba(0,212,255,0.08);

  /* Text */
  --text:       #edf2f7;
  --text-muted: #6a8eab;
  --text-faint: #2d4560;
  --white:      #ffffff;

  /* Typography */
  --ff-display: 'Bebas Neue', Impact, sans-serif;
  --ff-body:    'Space Grotesk', system-ui, sans-serif;

  /* Type scale */
  --fs-xs:   0.72rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;
  --fs-5xl:  5rem;
  --fs-6xl:  7rem;
  --fs-hero: clamp(5rem, 14vw, 10rem);

  /* Weights */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* Line heights */
  --lh-tight:   1.0;
  --lh-snug:    1.2;
  --lh-normal:  1.5;
  --lh-relaxed: 1.75;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-w:    1320px;
  --sec-py:   clamp(var(--sp-16), 8vw, var(--sp-32));

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --sh-sm:   0 2px 8px rgba(0,0,0,0.3);
  --sh-md:   0 8px 32px rgba(0,0,0,0.4);
  --sh-lg:   0 24px 80px rgba(0,0,0,0.5);
  --sh-fire: 0 4px 40px rgba(255,69,0,0.4);
  --sh-cyan: 0 4px 40px rgba(0,212,255,0.3);
  --sh-gold: 0 4px 40px rgba(255,184,0,0.3);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 280ms ease;
  --t-slow: 550ms cubic-bezier(0.16,1,0.3,1);
}

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background-color: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--fire-dim);
  color: var(--fire-2);
}

/* ── 3. UTILITIES ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-16));
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal.in-view  { opacity: 1; transform: translateY(0); }

/* ── 4. SHARED TYPOGRAPHY ─────────────────────────────────────── */
.section-tag {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--fire);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-3xl), 5.5vw, var(--fs-5xl));
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  color: var(--text);
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-6);
}
.section-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 54ch;
  line-height: var(--lh-relaxed);
}

.section-head {
  margin-bottom: var(--sp-16);
}
.section-head--center {
  text-align: center;
}
.section-head--center .section-tag {
  justify-content: center;
}
.section-head--center .section-tag::before { display: none; }
.section-head--center .section-desc {
  margin-inline: auto;
}

/* ── 5. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-sm);
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--fire {
  background: linear-gradient(135deg, var(--fire) 0%, var(--fire-2) 60%, var(--gold) 100%);
  color: var(--white);
  border: none;
  box-shadow: var(--sh-fire);
}
.btn--fire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.btn--fire:hover {
  box-shadow: 0 8px 60px rgba(255,69,0,0.6);
  transform: translateY(-2px) scale(1.01);
}
.btn--fire:active { transform: translateY(0) scale(1); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--ghost:hover {
  border-color: var(--fire);
  color: var(--fire);
  background: var(--fire-dim);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--outline:hover {
  border-color: var(--fire);
  color: var(--fire);
  background: var(--fire-dim);
}

.btn--full { width: 100%; justify-content: center; }

/* ── 6. NAVIGATION ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base);
  padding-block: var(--sp-5);
}

.site-header.scrolled {
  background: rgba(2,4,7,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border), 0 4px 40px rgba(0,0,0,0.5);
  padding-block: var(--sp-3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  letter-spacing: 0.04em;
  color: var(--text);
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}
.nav__logo:hover { opacity: 0.85; }

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  color: var(--white);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  line-height: 1;
}

.nav__logo-text em {
  color: var(--fire);
  font-style: italic;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__link--cta {
  background: linear-gradient(135deg, var(--fire), var(--fire-2));
  color: var(--white) !important;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-sm);
  font-weight: var(--fw-semi);
  box-shadow: 0 2px 20px rgba(255,69,0,0.3);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  box-shadow: var(--sh-fire);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 7. HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(var(--sp-32), 15vw, 10rem);
  overflow: hidden;
  background: var(--bg-void);
}

/* Canvas (background elements) */
.hero__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Perspective floor grid */
.hero__grid-floor {
  position: absolute;
  bottom: -5%;
  left: -10%;
  right: -10%;
  height: 60%;
  background-image:
    linear-gradient(rgba(255,69,0,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,69,0,0.10) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(55deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 90%);
}

/* Glow spots */
.hero__glow-fire {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,69,0,0.14) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero__glow-cyan {
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* Animated scanner line */
.hero__scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,69,0,0) 10%,
    rgba(255,69,0,0.6) 40%, rgba(255,184,0,0.8) 50%,
    rgba(255,69,0,0.6) 60%, rgba(255,69,0,0) 90%,
    transparent 100%);
  animation: scanLine 8s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes scanLine {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* Noise texture overlay */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Content layout */
.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.hero__content { max-width: 900px; }

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  width: fit-content;
}
.hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 0 rgba(255,69,0,0.5);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,69,0,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(255,69,0,0); }
}

/* Hero title */
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--sp-8);
  line-height: 1;
}
.hero__title-line {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  letter-spacing: 0.02em;
  line-height: 1.0;
}
.hero__title-solid {
  color: var(--text);
}
.hero__title-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.25);
  font-size: calc(var(--fs-hero) * 1.4);
  line-height: 0.92;
}
.hero__title-fire {
  background: linear-gradient(120deg, var(--fire) 0%, var(--fire-2) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-headline */
.hero__sub {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: var(--sp-5);
}

/* Body text */
.hero__desc {
  font-size: clamp(var(--fs-md), 1.8vw, var(--fs-lg));
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 58ch;
  margin-bottom: var(--sp-10);
}

/* CTAs */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Metrics bar */
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6) var(--sp-10);
  padding: var(--sp-6) var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: fit-content;
}
.hero__metric {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.hero__metric-val {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  letter-spacing: 0.03em;
  color: var(--fire);
  line-height: 1;
}
.hero__metric-label {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.hero__metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  right: clamp(var(--sp-5), 5vw, var(--sp-16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.5;
}
.hero__scroll-text {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.hero__scroll-track {
  width: 1px;
  height: 56px;
  background: var(--border-light);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.hero__scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, var(--fire), transparent);
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ── 8. MARQUEE ───────────────────────────────────────────────── */
.marquee-band {
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-fire);
  border-bottom: 1px solid var(--border-fire);
  padding-block: var(--sp-4);
  position: relative;
  z-index: 2;
}
.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.marquee-band::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep), transparent);
}
.marquee-band::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
  gap: var(--sp-6);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee__item {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee__sep {
  color: var(--fire);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── 9. SERVICES ──────────────────────────────────────────────── */
.services {
  padding-block: var(--sec-py);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: 'SERVICIOS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(6rem, 16vw, 14rem);
  color: rgba(255,255,255,0.012);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

/* Featured service card */
.svc-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  opacity: 0;
  transition: opacity var(--t-base);
  background: linear-gradient(135deg, var(--fire-dim) 0%, transparent 60%);
}
.svc-card:hover {
  border-color: var(--border-fire);
  transform: translateY(-4px);
  box-shadow: var(--sh-fire), 0 20px 60px rgba(0,0,0,0.35);
}
.svc-card:hover::before { opacity: 1; }

.svc-card--featured {
  grid-row: 1 / 3;
  padding: var(--sp-10);
  background: linear-gradient(145deg, var(--bg-panel) 0%, var(--bg-dark) 100%);
  border-color: var(--border-fire);
}
.svc-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.svc-card__number {
  font-family: var(--ff-display);
  font-size: var(--fs-5xl);
  line-height: 1;
  color: rgba(255,69,0,0.08);
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.svc-card--featured .svc-card__number {
  font-size: clamp(6rem, 12vw, 10rem);
  color: rgba(255,69,0,0.06);
}

.svc-card__icon {
  width: 56px;
  height: 56px;
  color: var(--fire);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--fire-dim);
  border: 1px solid var(--border-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.svc-card__icon svg { width: 100%; height: 100%; }

.svc-card__title {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-xl), 2vw, var(--fs-3xl));
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: var(--lh-snug);
  position: relative;
  z-index: 1;
}
.svc-card:not(.svc-card--featured) .svc-card__title {
  font-size: var(--fs-xl);
}

.svc-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  position: relative;
  z-index: 1;
}
.svc-card--featured .svc-card__desc {
  font-size: var(--fs-md);
}

.svc-card__tags {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
  position: relative;
  z-index: 1;
}
.svc-card__tags li {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  padding-left: var(--sp-4);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.svc-card__tags li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--fire);
  font-size: 10px;
}

.svc-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--fire);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  transition: color var(--t-fast), gap var(--t-fast);
  position: relative;
  z-index: 1;
}
.svc-card__link:hover {
  color: var(--gold);
  gap: var(--sp-3);
}

/* Sub-grid within services */
.services__sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* ── 10. AUDIENCES ────────────────────────────────────────────── */
.audiences {
  padding-block: var(--sec-py);
  background: var(--bg-void);
}

.audiences__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.audience-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  background: var(--bg-deep);
  transition: border-color var(--t-base), transform var(--t-base);
}
.audience-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.audience-card__bg-num {
  position: absolute;
  bottom: -var(--sp-4);
  right: var(--sp-4);
  font-family: var(--ff-display);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  bottom: -0.15em;
}
.audience-card:nth-child(even) .audience-card__bg-num {
  color: rgba(255,69,0,0.04);
}

.audience-card__body { position: relative; z-index: 1; }

.audience-card__title {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-3xl));
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-4);
}

.audience-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

.audience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.audience-card__tags span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--t-fast);
}
.audience-card:hover .audience-card__tags span {
  border-color: var(--border-fire);
  color: var(--fire);
}

/* ── 11. PROCESS ──────────────────────────────────────────────── */
.process {
  padding-block: var(--sec-py);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: 'PROCESO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(6rem, 20vw, 16rem);
  color: rgba(255,255,255,0.01);
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  list-style: none;
  /* connecting line */
  padding-top: var(--sp-12);
}
.process__steps::before {
  content: '';
  position: absolute;
  top: var(--sp-12);
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, var(--fire) 0%, var(--gold) 50%, rgba(255,184,0,0.1) 100%);
  transform: translateY(-50%);
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--sp-6);
  position: relative;
}

.process__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  letter-spacing: 0.05em;
  color: var(--fire);
  background: var(--bg-void);
  border: 2px solid var(--fire);
  box-shadow: 0 0 24px rgba(255,69,0,0.3);
  flex-shrink: 0;
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 1;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.process__step:hover .process__step-num {
  background: var(--fire-dim);
  box-shadow: 0 0 40px rgba(255,69,0,0.5);
}

.process__step-line { display: none; } /* Used for mobile only */

.process__step-title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-3);
}

.process__step-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ── 12. TECHNOLOGY ───────────────────────────────────────────── */
.technology {
  padding-block: var(--sec-py);
  background: var(--bg-void);
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.tech-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.tech-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-base);
}
.tech-card:hover { transform: translateY(-4px); }

/* FDM — fire */
.tech-card:not(.tech-card--cyan):not(.tech-card--gold) {
  border-top: 3px solid var(--fire);
}
.tech-card:not(.tech-card--cyan):not(.tech-card--gold):hover {
  border-color: var(--fire);
  box-shadow: var(--sh-fire), 0 20px 60px rgba(0,0,0,0.35);
}
.tech-card:not(.tech-card--cyan):not(.tech-card--gold)::after {
  background: linear-gradient(145deg, var(--fire-dim) 0%, transparent 60%);
}
.tech-card:not(.tech-card--cyan):not(.tech-card--gold):hover::after { opacity: 1; }

/* SLA — cyan */
.tech-card--cyan { border-top: 3px solid var(--cyan); }
.tech-card--cyan:hover {
  border-color: var(--cyan);
  box-shadow: var(--sh-cyan), 0 20px 60px rgba(0,0,0,0.35);
}
.tech-card--cyan::after { background: linear-gradient(145deg, var(--cyan-dim) 0%, transparent 60%); }
.tech-card--cyan:hover::after { opacity: 1; }

/* SLS — gold */
.tech-card--gold { border-top: 3px solid var(--gold); }
.tech-card--gold:hover {
  border-color: var(--gold);
  box-shadow: var(--sh-gold), 0 20px 60px rgba(0,0,0,0.35);
}
.tech-card--gold::after { background: linear-gradient(145deg, var(--gold-dim) 0%, transparent 60%); }
.tech-card--gold:hover::after { opacity: 1; }

.tech-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

.tech-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  letter-spacing: 0.05em;
  line-height: 1;
  width: fit-content;
}
.tech-card:not(.tech-card--cyan):not(.tech-card--gold) .tech-card__badge { color: var(--fire); }
.tech-card--cyan .tech-card__badge { color: var(--cyan); }
.tech-card--gold .tech-card__badge { color: var(--gold); }

.tech-card__title {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tech-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  position: relative;
  z-index: 1;
  flex: 1;
}

.tech-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.tech-spec {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.tech-spec dt {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.tech-spec dd {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
}

/* ── 13. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials {
  padding-block: var(--sec-py);
  background: var(--bg-deep);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.testimonial {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}
.testimonial:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.testimonial__quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--fire);
  opacity: 0.15;
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-6);
  pointer-events: none;
  user-select: none;
}

.testimonial__stars {
  color: var(--gold);
  font-size: var(--fs-sm);
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}

.testimonial__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--white);
  flex-shrink: 0;
  font-family: var(--ff-body);
}

.testimonial__name {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text);
  font-style: normal;
}
.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ── 14. FAQ ──────────────────────────────────────────────────── */
.faq {
  padding-block: var(--sec-py);
  background: var(--bg-void);
}

.faq .section-head { max-width: 600px; }

.faq__list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question { display: block; }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text);
  text-align: left;
  transition: color var(--t-fast);
}
.faq__trigger:hover { color: var(--fire); }

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 999px;
  transition: all var(--t-base);
}
.faq__icon::before { width: 10px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 10px; }

.faq__trigger[aria-expanded="true"] .faq__icon {
  border-color: var(--fire);
  background: var(--fire-dim);
  transform: rotate(45deg);
}
.faq__trigger[aria-expanded="true"] .faq__icon::before,
.faq__trigger[aria-expanded="true"] .faq__icon::after {
  background: var(--fire);
}

.faq__answer {
  padding-bottom: var(--sp-6);
  max-width: 68ch;
}
.faq__answer[hidden] { display: none; }
.faq__answer p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ── 15. CONTACT ──────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 80vh;
}

/* Left panel */
.contact__panel {
  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-panel) 100%);
  border-right: 1px solid var(--border-fire);
  padding: var(--sec-py) clamp(var(--sp-6), 5vw, var(--sp-16));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact__panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--fire), var(--gold), transparent);
}
.contact__panel::after {
  content: '';
  position: absolute;
  bottom: 0; right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255,69,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact__panel-content { position: relative; z-index: 1; }

.contact__title { font-size: clamp(var(--fs-3xl), 4vw, var(--fs-4xl)); }

.contact__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 46ch;
  margin-bottom: var(--sp-8);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact__detail-icon {
  font-size: var(--fs-md);
  color: var(--fire);
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__detail strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: var(--sp-1);
}
.contact__detail a,
.contact__detail span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.contact__detail a:hover { color: var(--fire); }

.contact__trust {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
  margin-bottom: var(--sp-8);
}
.contact__trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact__trust li span {
  color: var(--fire);
  font-size: 8px;
}

.contact__parent-link {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}
.contact__parent-link a {
  color: var(--fire);
  font-weight: var(--fw-medium);
  transition: color var(--t-fast);
}
.contact__parent-link a:hover { color: var(--gold); }

/* Right form */
.contact__form-wrap {
  background: var(--bg-deep);
  padding: var(--sec-py) clamp(var(--sp-6), 5vw, var(--sp-16));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 580px;
}
.contact-form.form--success {
  text-align: center;
  align-items: center;
  padding: var(--sp-16) 0;
}
.form-success-icon {
  font-size: var(--fs-4xl);
  color: var(--fire);
  margin-bottom: var(--sp-4);
  animation: glowPulse 2s ease-in-out infinite;
}
.form-success-title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  color: var(--text);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.02em;
}
.form-success-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 40ch;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.form-label span { color: var(--fire); }
.form-label--inline {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
  cursor: pointer;
}

.form-input {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  appearance: none;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus {
  outline: none;
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.15);
}

.form-select { cursor: pointer; }

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

.form-checkbox {
  width: 18px;
  height: 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color var(--t-fast);
  accent-color: var(--fire);
}

.form-link {
  color: var(--fire);
  text-decoration: underline;
  text-decoration-color: rgba(255,69,0,0.4);
}
.form-link:hover { color: var(--gold); }

.form-note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ── 16. FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-16);
  padding-block: var(--sp-16);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__logo { margin-bottom: var(--sp-2); }

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 30ch;
}
.footer__parent {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.footer__parent a {
  color: var(--fire);
  transition: color var(--t-fast);
}
.footer__parent a:hover { color: var(--gold); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.footer__col { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
}
.footer__col ul a {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  transition: color var(--t-fast);
  letter-spacing: 0.02em;
}
.footer__col ul a:hover { color: var(--fire); }

.footer__bottom {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
}
.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ── 17. RESPONSIVE ───────────────────────────────────────────── */

/* Large tablets / small desktop */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .svc-card--featured {
    grid-row: auto;
  }
  .services__sub-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .tech__grid {
    grid-template-columns: 1fr 1fr;
  }
  .tech-card:last-child {
    grid-column: span 2;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .process__steps {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
  .process__steps::before { display: none; }
  .process__step {
    text-align: left;
    align-items: flex-start;
    padding: var(--sp-6);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
  }
  .audiences__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__panel {
    border-right: none;
    border-bottom: 1px solid var(--border-fire);
  }
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* Mobile */
@media (max-width: 700px) {
  /* Nav */
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(2,4,7,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-8);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-slow);
    z-index: 999;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav__link { font-size: var(--fs-xl); }
  .nav__burger { display: flex; z-index: 1001; }

  /* Hero */
  .hero__title-outline { -webkit-text-stroke-width: 1.5px; }
  .hero__metrics { max-width: 100%; }
  .hero__metric-divider { display: none; }
  .hero__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  /* Services */
  .services__sub-grid { grid-template-columns: 1fr; }

  /* Audiences */
  .audiences__grid { grid-template-columns: 1fr; }

  /* Process */
  .process__steps {
    grid-template-columns: 1fr;
  }

  /* Tech */
  .tech__grid { grid-template-columns: 1fr; }
  .tech-card:last-child { grid-column: auto; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
