/* ============================================================
   Creative Hub Partners — según DESIGN_DIRECTION.md
   ============================================================ */

:root {
  --ch-black: #050505;
  --ch-dark: #0B0B0B;
  --ch-card: #111111;
  --ch-card-high: #161616;
  --ch-card-soft: rgba(255, 255, 255, 0.055);
  --ch-yellow: #F5AD1A;
  --ch-yellow-soft: rgba(245, 173, 26, 0.14);
  --ch-white: #FFFFFF;
  --ch-soft: #F4F4F4;
  --ch-text: rgba(255, 255, 255, 0.74);
  --ch-muted: #A7A7A7;
  --ch-border: rgba(255, 255, 255, 0.10);
  --ch-border-strong: rgba(245, 173, 26, 0.35);
  --font-display: 'Sora', sans-serif;
  --font-text: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ch-black);
  color: var(--ch-text);
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fondo global: ecosistema conectado (luz ambiental + grid técnico) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 82% -5%, rgba(245, 173, 26, 0.05), transparent 70%),
    radial-gradient(45% 35% at -8% 45%, rgba(245, 173, 26, 0.035), transparent 70%),
    radial-gradient(50% 40% at 50% 110%, rgba(245, 173, 26, 0.04), transparent 70%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ch-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

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

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

section[id], [id="postular"] { scroll-margin-top: 90px; }

::selection { background: var(--ch-yellow); color: #0A0A0A; }

.hl { color: var(--ch-yellow); }

/* ---------- Kickers y cabeceras de sección ---------- */

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ch-yellow);
  margin-bottom: 20px;
}

.section { padding-block: clamp(96px, 12vw, 140px); position: relative; }
.section-raise { background: var(--ch-dark); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-sub { margin-top: 16px; color: var(--ch-text); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 16px 32px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ch-yellow);
  color: #0A0A0A;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245, 173, 26, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ch-white);
}
.btn-ghost:hover {
  border-color: var(--ch-border-strong);
  color: var(--ch-yellow);
}

.btn-sm { padding: 11px 22px; font-size: 0.92rem; }
.btn-lg { padding: 19px 42px; font-size: 1.08rem; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: background 0.35s ease, padding 0.35s ease,
              border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 7, 7, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--ch-border);
  padding-block: 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img { height: 46px; width: auto; }
.header-logo { display: inline-flex; }

.header-right { display: flex; align-items: center; gap: 22px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--ch-border);
  border-radius: 999px;
}
.lang-switch a {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ch-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-switch a:hover { color: var(--ch-white); }
.lang-switch a.is-active { background: var(--ch-yellow); color: #0A0A0A; }

.header-nav { display: flex; gap: 32px; }
.header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ch-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--ch-yellow); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(245, 173, 26, 0.09) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 55% 45%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 55% 45%, #000 25%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-sub {
  margin-top: 26px;
  font-size: 1.15rem;
  max-width: 32em;
}

.hero-ctas {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ch-white);
}
.stat-label { font-size: 0.85rem; color: var(--ch-muted); }

/* --- Visual del hero: Partner Network Dashboard --- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 46px 26px;
}

.hero-dash {
  position: relative;
  background: rgba(17, 17, 17, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--ch-border);
  border-radius: 22px;
  padding: 22px 22px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(245, 173, 26, 0.07);
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ch-border);
}
.dash-dots { display: flex; gap: 5px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash-dots i:first-child { background: rgba(245, 173, 26, 0.8); }
.dash-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ch-white);
}
.dash-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ch-yellow);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ch-yellow-soft);
  border: 1px solid rgba(245, 173, 26, 0.3);
  white-space: nowrap;
}
.dash-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ch-yellow);
  box-shadow: 0 0 10px var(--ch-yellow);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.dash-tile {
  background: var(--ch-card-soft);
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  padding: 14px 14px 12px;
  transition: border-color 0.25s ease;
}
.dash-tile:hover { border-color: var(--ch-border-strong); }
.dash-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ch-yellow);
}
.dash-label {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--ch-muted);
}

.dash-row { margin-top: 16px; }
.dash-row-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ch-muted);
}
.dash-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ch-text);
  background: var(--ch-card-soft);
  border: 1px solid var(--ch-border);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.dash-chip:hover { border-color: var(--ch-border-strong); color: var(--ch-white); }
.dash-chip svg { width: 11px; height: 11px; color: var(--ch-yellow); }
.dash-chip--code {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ch-white);
}
.dash-chip--code i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ch-yellow);
  box-shadow: 0 0 8px rgba(245, 173, 26, 0.8);
  animation: dot-pulse 3.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.network-lines line {
  stroke: rgba(245, 173, 26, 0.30);
  stroke-width: 0.35;
  stroke-dasharray: 2.2 1.6;
  animation: dash-drift 26s linear infinite;
}
@keyframes dash-drift { to { stroke-dashoffset: -38; } }

.net-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ch-white);
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid var(--ch-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: chip-float 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.net-chip--city {
  color: var(--ch-yellow);
  border-color: rgba(245, 173, 26, 0.3);
  background: rgba(245, 173, 26, 0.08);
}
@keyframes chip-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

.net-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ch-yellow);
  box-shadow: 0 0 12px rgba(245, 173, 26, 0.8);
  animation: dot-pulse 4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ch-border);
  background: rgba(11, 11, 11, 0.6);
  padding-block: 16px;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ch-muted);
  transition: color 0.25s ease;
}
.marquee-item:hover { color: var(--ch-white); }
.marquee-item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ch-yellow);
  opacity: 0.7;
  margin-inline: 22px;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- Barra de prueba / social proof ---------- */

.proof-bar {
  border-bottom: 1px solid var(--ch-border);
  background: var(--ch-black);
}
.proof-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-block: 34px;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--ch-border);
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--ch-yellow);
  line-height: 1;
}
.proof-label {
  font-size: 0.82rem;
  color: var(--ch-muted);
  line-height: 1.3;
}

/* ---------- 01 Contexto ---------- */

.context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.context-copy p { margin-top: 20px; max-width: 34em; }
.context-copy p:last-child { color: var(--ch-white); font-weight: 500; }

.statement {
  position: relative;
  padding: 44px 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245, 173, 26, 0.08), rgba(245, 173, 26, 0.015) 55%);
  border: 1px solid rgba(245, 173, 26, 0.22);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ch-white);
}
.statement em { color: var(--ch-yellow); font-style: normal; }
.statement-mark {
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--ch-yellow);
  margin-bottom: 18px;
}

/* ---------- Cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--ch-card);
  border: 1px solid var(--ch-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.section-raise .card { background: #151515; }
.card:hover {
  transform: translateY(-4px);
  border-color: var(--ch-border-strong);
  box-shadow: 0 0 0 1px rgba(245, 173, 26, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ch-yellow-soft);
  color: var(--ch-yellow);
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; line-height: 1.6; color: var(--ch-text); }

/* ---------- 02 Tipos de partner ---------- */

.ptype-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ptype-card {
  position: relative;
  background: var(--ch-card);
  border: 1px solid var(--ch-border);
  border-radius: 24px;
  padding: 40px 36px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.ptype-card:hover {
  transform: translateY(-4px);
  border-color: var(--ch-border-strong);
  box-shadow: 0 0 0 1px rgba(245, 173, 26, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
}
.ptype-tag {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ch-yellow);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 173, 26, 0.3);
  background: var(--ch-yellow-soft);
}
.ptype-card .card-icon { margin-bottom: 24px; }
.ptype-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.ptype-card > p { font-size: 0.98rem; max-width: 34em; }
.ptype-hook {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ch-yellow);
  line-height: 1.4;
}
.ptype-mod {
  display: block;
  margin-top: 22px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ch-muted);
}
.ptype-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--ch-border);
}
.ptype-chips span {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--ch-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ch-text);
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ptype-chips span:hover { border-color: var(--ch-border-strong); color: var(--ch-white); }

/* Áreas creativas: mini-cards con icono */
.areas-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 64px 0 24px;
  font-size: 1.05rem;
  font-weight: 600;
}
.areas-title::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--ch-yellow);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.area-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--ch-card-soft);
  border: 1px solid var(--ch-border);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out),
              background 0.25s ease;
}
.area-card:hover {
  border-color: var(--ch-border-strong);
  transform: translateY(-3px);
  background: rgba(245, 173, 26, 0.05);
}
.area-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ch-yellow-soft);
  color: var(--ch-yellow);
}
.area-icon svg { width: 17px; height: 17px; }
.area-name { font-size: 0.9rem; font-weight: 500; color: var(--ch-text); }

/* ---------- 03 Cobertura ---------- */

.coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 900px;
}
.chip {
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--ch-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ch-white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.chip:hover {
  border-color: var(--ch-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.chip--lead {
  border-color: rgba(245, 173, 26, 0.35);
  background: var(--ch-yellow-soft);
  color: var(--ch-yellow);
}
.chip--more { border-style: dashed; color: var(--ch-muted); }

/* ---------- 04 Timeline ---------- */

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.timeline-step {
  position: relative;
  padding: 36px 26px 30px;
  border-radius: var(--radius-card);
  background: var(--ch-card);
  border: 1px solid var(--ch-border);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.timeline-step:hover { border-color: var(--ch-border-strong); transform: translateY(-4px); }
.timeline-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -21px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--ch-border-strong), transparent);
}
.timeline-step:nth-child(3n)::after,
.timeline-step:last-child::after { display: none; }

.timeline-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 173, 26, 0.5);
  margin-bottom: 18px;
}
.timeline-step h3 { margin-bottom: 10px; }
.timeline-step p { font-size: 0.94rem; line-height: 1.6; }

/* ---------- 06 Estándar de calidad ---------- */

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
}
.quality-copy p { margin-top: 20px; max-width: 36em; }
.quality-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quality-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--ch-card);
  border: 1px solid var(--ch-border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ch-white);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.quality-item:hover { border-color: var(--ch-border-strong); transform: translateX(4px); }
.quality-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ch-yellow-soft);
  color: var(--ch-yellow);
}
.quality-check svg { width: 15px; height: 15px; }

/* ---------- 06 Editorial ---------- */

.section-editorial {
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(245, 173, 26, 0.06), transparent 70%),
    var(--ch-black);
  border-block: 1px solid var(--ch-border);
}
.editorial-inner { max-width: 860px; text-align: center; }
.editorial-lead {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ch-white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.editorial-body { max-width: 46em; margin-inline: auto; }
.editorial-body + .editorial-body { margin-top: 18px; }

.editorial-quote {
  max-width: 40em;
  margin: 44px auto 0;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245, 173, 26, 0.08), rgba(245, 173, 26, 0.015) 55%);
  border: 1px solid rgba(245, 173, 26, 0.22);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ch-white);
}
.editorial-quote em { color: var(--ch-yellow); font-style: normal; }

/* ---------- 07 Aviso ---------- */

.notice {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 44px 44px;
  border-radius: 24px;
  background: var(--ch-card);
  border: 1px solid rgba(245, 173, 26, 0.3);
  border-left: 3px solid var(--ch-yellow);
}
.notice-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ch-yellow-soft);
  color: var(--ch-yellow);
}
.notice-copy h2 { font-size: 1.4rem; margin-bottom: 12px; }
.notice-copy p { max-width: 58em; }
.notice-copy strong { color: var(--ch-white); }

/* ---------- 08 Formulario ---------- */

.section-form { overflow: hidden; }
.form-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60%;
  background: radial-gradient(ellipse 55% 45% at 50% 18%, rgba(245, 173, 26, 0.08), transparent 70%);
  pointer-events: none;
}

.form-lead {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ch-white);
}
.form-lead + .section-sub { margin-top: 10px; }

/* Honeypot: invisible para humanos, presente para bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-form, .form-success {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  background: rgba(17, 17, 17, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--ch-border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
}

.form-block { border: 0; padding-block: 40px; border-top: 1px solid var(--ch-border); }
.form-block:first-of-type { border-top: 0; padding-top: 0; }

.form-block-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 0;
}
.form-block-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ch-border-strong);
  color: var(--ch-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--ch-yellow-soft);
}
.form-block-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ch-white);
}
.form-block-desc { display: block; font-size: 0.9rem; color: var(--ch-muted); margin-top: 3px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid + .form-grid, .form-grid + .field, .field + .form-grid, .field + .field { margin-top: 20px; }

.field { display: flex; flex-direction: column; gap: 9px; }
.field label, .field-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ch-white);
}
.field-label small { color: var(--ch-muted); font-weight: 400; }

input[type="text"], input[type="tel"], input[type="email"], input[type="url"],
select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ch-card-high);
  border: 1px solid var(--ch-border);
  color: var(--ch-white);
  font-family: var(--font-text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
textarea { resize: vertical; min-height: 110px; }
::placeholder { color: var(--ch-muted); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}
select:invalid { color: var(--ch-muted); }
select option { background: var(--ch-card-high); color: var(--ch-white); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ch-yellow);
  box-shadow: 0 0 0 3px rgba(245, 173, 26, 0.18);
}

.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea,
.chip-select.is-invalid .chip-option span {
  border-color: rgba(255, 96, 96, 0.6);
}

/* Chips seleccionables */
.chip-select { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-option { cursor: pointer; }
.chip-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-option span {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--ch-border);
  background: var(--ch-card-high);
  color: var(--ch-text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease,
              color 0.2s ease, box-shadow 0.2s ease;
}
.chip-option:hover span { border-color: rgba(255, 255, 255, 0.25); }
.chip-option input:checked + span {
  background: var(--ch-yellow);
  border-color: var(--ch-yellow);
  color: #0A0A0A;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(245, 173, 26, 0.28);
}
.chip-option input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(245, 173, 26, 0.35);
}

/* Confirmaciones */
.confirm-list { display: flex; flex-direction: column; gap: 16px; }
.confirm-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--ch-card-high);
  border: 1px solid var(--ch-border);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.confirm-item:hover { border-color: rgba(255, 255, 255, 0.2); }
.confirm-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.confirm-box {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.confirm-item input:checked ~ .confirm-box {
  background: var(--ch-yellow);
  border-color: var(--ch-yellow);
  color: #0A0A0A;
}
.confirm-item input:checked ~ span:last-child { color: var(--ch-white); }
.confirm-item input:focus-visible ~ .confirm-box {
  box-shadow: 0 0 0 3px rgba(245, 173, 26, 0.3);
}
.confirm-item.is-invalid { border-color: rgba(255, 96, 96, 0.6); }

.form-footer { text-align: center; padding-top: 26px; border-top: 1px solid var(--ch-border); }
.form-footer .btn { width: 100%; justify-content: center; }
.form-trust { margin-top: 16px; font-size: 0.85rem; color: var(--ch-muted); }
.form-error {
  margin-bottom: 18px;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255, 96, 96, 0.08);
  border: 1px solid rgba(255, 96, 96, 0.35);
  color: #FF9B9B;
  font-size: 0.92rem;
}

/* Éxito */
.form-success { text-align: center; padding-block: 80px; }
.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(80, 200, 120, 0.12);
  border: 1px solid rgba(80, 200, 120, 0.45);
  color: #6FDB96;
}
.form-success h2 { margin-bottom: 14px; }
.form-success p { max-width: 36em; margin-inline: auto; }

/* ---------- Thank-you ---------- */

.ty-main {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 130px 24px 80px;
  overflow: hidden;
}
.ty-card { max-width: 640px; padding-block: 64px; }
.ty-logo { height: 54px; width: auto; margin: 0 auto 36px; }
.ty-secondary { margin-top: 18px; font-size: 0.92rem; color: var(--ch-muted); max-width: 34em; margin-inline: auto; }
.ty-card .btn { margin-top: 34px; }

/* ---------- 09 FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--ch-card);
  border: 1px solid var(--ch-border);
  border-radius: 16px;
  transition: border-color 0.25s ease;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--ch-border-strong); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ch-white);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ch-yellow);
  border-radius: 2px;
}
.faq-icon::before { inset: 8px 0; }
.faq-icon::after { inset: 0 8px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-body { padding: 0 26px; overflow: hidden; }
.faq-body p { padding-bottom: 24px; font-size: 0.97rem; max-width: 60em; }

/* ---------- Cierre ---------- */

.closing { overflow: hidden; text-align: center; }
.closing-glow {
  position: absolute;
  bottom: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 80%;
  background: radial-gradient(ellipse 50% 55% at 50% 100%, rgba(245, 173, 26, 0.10), transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; max-width: 760px; }
.closing h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.closing p { margin: 24px auto 40px; max-width: 36em; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--ch-border); padding-block: 52px; }
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  text-align: right;
}
.footer-company {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ch-white);
}
.footer-addr { font-size: 0.85rem; color: var(--ch-muted); margin-bottom: 6px; }
.logo-img--footer { height: 40px; }
.footer-note { font-size: 0.88rem; color: var(--ch-muted); }
.footer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ch-yellow);
  text-decoration: none;
}
.footer-link:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ptype-grid { grid-template-columns: 1fr; }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-step:nth-child(3n)::after { display: block; }
  .timeline-step:nth-child(2n)::after,
  .timeline-step:last-child::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { justify-self: center; max-width: 560px; }
  .context-grid { grid-template-columns: 1fr; gap: 48px; }
  .quality-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-inner { grid-template-columns: repeat(3, 1fr); gap: 22px 20px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-nav { display: none; }
  .logo-img { height: 38px; }
  .header-right { gap: 10px; }
  .lang-switch a { padding: 4px 8px; }
  .btn-sm { padding: 10px 16px; font-size: 0.85rem; }
  .ptype-card { padding: 32px 26px; }
  .ptype-tag { position: static; display: inline-block; margin-bottom: 18px; }
  .editorial-quote { padding: 28px 26px; font-size: 1.1rem; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-stats { gap: 28px; }
  .hero-visual { max-width: 100%; padding: 34px 0 40px; }
  .net-chip { font-size: 0.7rem; padding: 6px 11px; }
  .net-chip--side { display: none; }
  .hero-dash { padding: 16px 14px 18px; }
  .dash-tiles { gap: 8px; }
  .dash-tile { padding: 11px 10px 10px; }
  .dash-num { font-size: 1.25rem; }
  .dash-label { font-size: 0.6rem; }
  .dash-name { font-size: 0.78rem; }
  .dash-status { font-size: 0.6rem; padding: 5px 9px; }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-block: 28px; }
  .proof-num { font-size: 1.6rem; }
  .quality-item { font-size: 1rem; padding: 16px 18px; }
  .area-card { padding: 12px 12px; gap: 9px; }
  .area-name { font-size: 0.82rem; }
  .marquee-item { font-size: 0.8rem; }
  .marquee-item::after { margin-inline: 16px; }
  .timeline { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid--3, .timeline, .form-grid { grid-template-columns: 1fr; }
  .timeline-step::after { display: none; }
  .notice { flex-direction: column; padding: 32px 26px; }
  .statement { padding: 34px 28px; font-size: 1.15rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer-grid { flex-direction: column; gap: 28px; }
  .footer-contact { align-items: flex-start; text-align: left; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net-chip, .net-dot, .network-lines line,
  .marquee-track, .dash-status i, .dash-chip--code i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
