/* =========================================================
   e-auto · páginas internas — extiende styles.css
   ========================================================= */

/* ===== PAGE HEADER (dark, compacto) ===== */
.page-head {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 56px 0 88px;
  border-bottom: 1px solid #151515;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/patterns/circuit_dots.svg");
  background-size: 220px 220px;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(0,148,6,0.18), transparent 70%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 2; }

/* Background image variant — page-head con imagen de marca */
.page-head-bg {
  background: #000;
}
.page-head-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-head-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: contrast(1.05) saturate(0.85);
}
.page-head-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0,148,6,0.18), transparent 70%);
}
.page-head-bg::before { display: none; }   /* anula el patrón circuit_dots */
.page-head-bg::after  { display: none; }   /* anula el gradiente verde duplicado */

/* Brand banner full-bleed entre secciones */
.brand-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 70vh;
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(0.9);
}
.brand-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 100%);
}
.brand-banner-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 48px;
  z-index: 2;
  max-width: 720px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-banner-caption .bb-eyebrow {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.brand-banner-caption .bb-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.brand-banner-caption .bb-title em {
  font-style: normal;
  font-weight: 600;
  color: var(--green);
}
@media (max-width: 720px) {
  .brand-banner { aspect-ratio: 4 / 3; }
  .brand-banner-caption { bottom: 28px; }
}

.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 40px;
}
.breadcrumb a { color: var(--mist); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--green); }
.breadcrumb .here { color: var(--white); }

.page-head .head-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-head h1 {
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.page-head h1 em { font-style: normal; color: var(--green); }
.page-head .lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist);
  max-width: 480px;
}
.page-head .head-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.page-head .head-meta .item {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.page-head .head-meta .v {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
}
.page-head .head-meta .v .u {
  font-size: 13px;
  color: var(--slate);
  font-weight: 400;
  margin-left: 4px;
}
.page-head .head-meta .k {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 12px;
}

/* ===== SUBNAV STICKY ===== */
.subnav {
  position: sticky;
  top: 96px;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--fog);
}
.subnav .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 56px; gap: 24px;
}
.subnav-links {
  display: flex; gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 0;
  white-space: nowrap;
  position: relative;
}
.subnav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.subnav-links a:hover::after,
.subnav-links a.active::after { transform: scaleX(1); }
.subnav-action {
  display: flex; gap: 18px; align-items: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.06em;
}
.subnav-action .price {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
}

/* ===== KEY SHOT (stage grande, vista hero del producto) ===== */
.key-shot {
  margin-top: -56px;
  position: relative;
  z-index: 5;
  padding: 0 0 96px;
  background: var(--white);
}
.key-shot .wrap { position: relative; z-index: 1; }
.key-shot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--fog);
  background: var(--snow);
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(0,0,0,0.18);
}
.key-shot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.key-shot-pinpoints { z-index: 1; }
.key-shot-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 60px 60px;
}
.key-shot-stage .placeholder-van {
  width: 70%;
  border-color: var(--mist);
  background: repeating-linear-gradient(135deg,
    rgba(0,0,0,0.025) 0,
    rgba(0,0,0,0.025) 2px,
    transparent 2px,
    transparent 10px);
}
.key-shot-stage .placeholder-van .label { color: var(--slate); }
.key-shot-stage .placeholder-van .label .k { color: var(--green); }
.key-shot-stage .placeholder-van .corners span { border-color: var(--green); }
.key-shot-pinpoints {
  position: absolute; inset: 0; pointer-events: none;
}
.key-shot-pinpoints .pp {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 12px 14px;
  font-size: 11px;
  color: var(--charcoal);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.18);
  min-width: 160px;
  pointer-events: auto;
}
.key-shot-pinpoints .pp .k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
  font-weight: 700;
}
.key-shot-pinpoints .pp.p1 { top: 32px; left: 32px; }
.key-shot-pinpoints .pp.p2 { top: 32px; right: 32px; }
.key-shot-pinpoints .pp.p3 { bottom: 32px; left: 32px; }
.key-shot-pinpoints .pp.p4 { bottom: 32px; right: 32px; }

/* ===== TABLA ESPECIFICACIONES ===== */
.spec-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--fog);
}
.spec-block:last-child { border-bottom: 1px solid var(--fog); }
.spec-block .lbl .idx {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}
.spec-block .lbl h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.spec-block .lbl p {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.55;
  max-width: 220px;
}
.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.spec-table .row {
  padding: 16px 22px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.spec-table .row .k {
  font-size: 12.5px;
  color: var(--charcoal);
}
.spec-table .row .v {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.spec-table .row.full { grid-column: 1 / -1; }
.spec-table .row.highlight { background: var(--green-soft); }
.spec-table .row.highlight .v { color: var(--green-deep); }

/* ===== TABLA COMPARATIVA ===== */
.compare {
  border: 1px solid var(--fog);
  background: var(--white);
}
.compare-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  background: var(--snow);
  border-bottom: 1px solid var(--fog);
}
.compare-head .cell {
  padding: 28px 24px;
  border-right: 1px solid var(--fog);
}
.compare-head .cell:last-child { border-right: none; }
.compare-head .cell.k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  align-self: end;
}
.compare-head .model {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.compare-head h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.compare-head .sub {
  font-size: 13px;
  color: var(--charcoal);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid var(--fog);
}
.compare-row:last-child { border-bottom: none; }
.compare-row .cell {
  padding: 18px 24px;
  border-right: 1px solid var(--fog);
}
.compare-row .cell:last-child { border-right: none; }
.compare-row .cell.k {
  font-size: 12.5px;
  color: var(--charcoal);
}
.compare-row .cell.v {
  font-family: ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.compare-row .cell.v.best { color: var(--green-deep); }
.compare-row.section { background: var(--snow); }
.compare-row.section .cell.k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}
.timeline-rail {
  position: sticky;
  top: 160px;
  align-self: start;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.timeline-rail .label { color: var(--green); margin-bottom: 6px; display: block; }
.timeline-events {
  border-left: 1px solid var(--fog);
  padding-left: 40px;
}
.timeline-event { padding: 0 0 56px; position: relative; }
.timeline-event:last-child { padding-bottom: 0; }
.timeline-event::before {
  content: "";
  position: absolute;
  left: -46px; top: 6px;
  width: 12px; height: 12px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
}
.timeline-event .year {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 8px;
}
.timeline-event h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.timeline-event p {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.55;
  max-width: 580px;
}

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--fog); }
.faq-item {
  border-bottom: 1px solid var(--fog);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 24px;
  align-items: start;
  cursor: pointer;
  transition: background 0.2s var(--ease), padding 0.2s var(--ease);
}
.faq-item:hover { background: var(--snow); padding-left: 16px; padding-right: 16px; }
.faq-item .idx {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--slate);
  padding-top: 4px;
}
.faq-item .q {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.faq-item .a {
  display: none;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 720px;
}
.faq-item.open .a { display: block; }
.faq-item .toggle {
  width: 24px; height: 24px;
  border: 1px solid var(--mist);
  display: grid; place-items: center;
  position: relative;
  margin-top: 4px;
}
.faq-item .toggle::before,
.faq-item .toggle::after {
  content: ""; position: absolute; background: var(--ink);
}
.faq-item .toggle::before { width: 10px; height: 1px; }
.faq-item .toggle::after { width: 1px; height: 10px; transition: transform 0.3s var(--ease); }
.faq-item.open .toggle { border-color: var(--green); background: var(--green-soft); }
.faq-item.open .toggle::before { background: var(--green-deep); }
.faq-item.open .toggle::after { transform: scaleY(0); }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.team-card {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}
.team-card .av-ph {
  aspect-ratio: 1 / 1;
  background: var(--snow);
  border: 1px dashed var(--mist);
  margin-bottom: 22px;
  position: relative;
  display: grid; place-items: center;
}
.team-card .av-ph::before {
  content: "[ photo ]";
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.08em;
}
.team-card .av-ph .corners { position: absolute; inset: 0; }
.team-card .av-ph .corners span {
  position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--green);
}
.team-card .av-ph .corners span:nth-child(1) { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.team-card .av-ph .corners span:nth-child(2) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.team-card .av-ph .corners span:nth-child(3) { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.team-card .av-ph .corners span:nth-child(4) { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.team-card .nm {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.team-card .ti {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.team-card .bio {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.5;
}

/* ===== FOUNDERS CAROUSEL ===== */
.founders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 88px;
  align-items: center;
}

/* Image stack — perspective stage */
.founders-stage {
  position: relative;
  height: 520px;
  perspective: 1200px;
  user-select: none;
}
.founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--fog);
  background: var(--snow);
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(.4,1.6,.3,1),
              opacity 0.6s var(--ease),
              filter 0.6s var(--ease);
  cursor: pointer;
}
.founder-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 48px 48px;
}
.founder-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
}
.founder-photo .ph {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--mist);
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg,
    rgba(0,0,0,0.025) 0,
    rgba(0,0,0,0.025) 2px,
    transparent 2px,
    transparent 10px);
}
.founder-photo .ph::before {
  content: "[ photo ]";
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.founder-photo .ph .corners { position: absolute; inset: 0; pointer-events: none; }
.founder-photo .ph .corners span {
  position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--green);
}
.founder-photo .ph .corners span:nth-child(1) { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.founder-photo .ph .corners span:nth-child(2) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.founder-photo .ph .corners span:nth-child(3) { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.founder-photo .ph .corners span:nth-child(4) { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.founder-photo .corner-tag {
  position: absolute;
  top: 18px; left: 18px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 5px 9px;
  color: var(--charcoal);
  z-index: 2;
}
.founder-photo .corner-id {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--green);
  color: var(--white);
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

/* States — active vs inactive (sibling) */
.founder-photo[data-state="active"] {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
  filter: none;
  box-shadow: 0 32px 56px -28px rgba(0,0,0,0.22);
}
.founder-photo[data-state="next"] {
  z-index: 2;
  opacity: 1;
  transform: translateX(48px) translateY(-44px) scale(0.86) rotateY(-14deg);
  filter: saturate(0.7);
  cursor: pointer;
}
.founder-photo[data-state="prev"] {
  z-index: 2;
  opacity: 1;
  transform: translateX(-48px) translateY(-44px) scale(0.86) rotateY(14deg);
  filter: saturate(0.7);
  cursor: pointer;
}
.founder-photo[data-state="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}

/* Content side */
.founders-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}
.founder-meta {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.founder-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.founder-meta .counter { color: var(--slate); }
.founder-name {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.founder-role {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.founder-quote {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 36px;
  max-width: 540px;
  text-wrap: pretty;
}
.founder-quote .word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.founder-quote.in .word { opacity: 1; filter: blur(0); transform: translateY(0); }
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fog);
  padding-top: 24px;
  margin-bottom: 36px;
  gap: 24px;
}
.founder-stats .stat-i .v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}
.founder-stats .stat-i .v .u {
  font-size: 12px;
  font-weight: 400;
  color: var(--slate);
  margin-left: 3px;
}
.founder-stats .stat-i .k {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
}

/* Nav controls */
.founder-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.founder-nav .btn-round {
  width: 52px; height: 52px;
  background: var(--ink);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  border-radius: 50%;
  border: none;
}
.founder-nav .btn-round:hover { background: var(--green); }
.founder-nav .btn-round:active { transform: scale(0.96); }
.founder-nav .btn-round svg { width: 18px; height: 18px; stroke: currentColor; }
.founder-nav .progress {
  display: flex; gap: 6px;
  margin-left: 6px;
}
.founder-nav .progress .bar {
  width: 36px;
  height: 2px;
  background: var(--fog);
  position: relative;
  overflow: hidden;
}
.founder-nav .progress .bar.active::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--green);
  animation: founders-fill 6s linear forwards;
}
.founder-nav .progress .bar.played { background: var(--green); }
@keyframes founders-fill {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0%); }
}

@media (max-width: 1100px) {
  .founders { grid-template-columns: 1fr; gap: 56px; }
  .founders-stage { height: 460px; }
  .founders-content { min-height: 0; }
}
@media (max-width: 560px) {
  .founders-stage { height: 380px; }
  .founder-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--ink);
  color: var(--white);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/patterns/circuit_dots.svg");
  background-size: 240px 240px;
  opacity: 0.18;
  mix-blend-mode: screen;
}
.manifesto .wrap { position: relative; z-index: 1; }
.manifesto-text {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--white);
  max-width: 1000px;
}
.manifesto-text em { font-style: normal; color: var(--green); font-weight: 500; }
.manifesto-sign {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 24px; align-items: center;
}
.manifesto-sign .av {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
}
.manifesto-sign .nm { color: var(--white); font-size: 14.5px; font-weight: 600; }
.manifesto-sign .role { color: var(--slate); font-size: 12px; margin-top: 2px; }

/* ===== PARTNERS GRID ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.partner-cell {
  padding: 36px 20px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 140px;
  transition: background 0.2s var(--ease);
}
.partner-cell:hover { background: var(--snow); }
.partner-cell .nm {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.partner-cell .rl {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ===== SECTOR DEEP BLOCKS ===== */
.sector-deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 96px 0;
  border-bottom: 1px solid var(--fog);
  align-items: center;
}
.sector-deep:last-of-type { border-bottom: none; }
.sector-deep.flip .sector-text { order: 2; }
.sector-deep.flip .sector-visual { order: 1; }
.sector-text .num {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.sector-text h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.sector-text .desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}
.sector-text .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.sector-text .tags .tag {
  padding: 6px 12px;
  background: var(--snow);
  border: 1px solid var(--fog);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.sector-text .kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
  margin-bottom: 32px;
}
.sector-text .kpi {
  padding: 18px 20px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}
.sector-text .kpi .v {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.sector-text .kpi .v .u {
  font-size: 12px;
  font-weight: 400;
  color: var(--slate);
  margin-left: 3px;
}
.sector-text .kpi .k {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
}
.sector-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--fog);
  background: var(--snow);
  overflow: hidden;
}
.sector-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 60px 60px;
}
.sector-visual .placeholder-van {
  width: 80%;
  border-color: var(--mist);
}
.sector-visual .placeholder-van .label { color: var(--slate); }
.sector-visual .placeholder-van .label .k { color: var(--green); }
.sector-visual .placeholder-van .corners span { border-color: var(--green); }
.sector-visual .tag-tl {
  position: absolute;
  top: 24px; left: 24px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  background: var(--white);
  padding: 6px 10px;
  border: 1px solid var(--fog);
  color: var(--charcoal);
}
.sector-visual .badge-br {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--green);
  color: var(--white);
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ===== SERVICE GRID (post-venta) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.service-card {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  transition: background 0.3s var(--ease);
}
.service-card:hover { background: var(--snow); }
.service-card .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 24px;
  display: block;
}
.service-card .ic {
  width: 40px; height: 40px;
  color: var(--green);
  margin-bottom: 22px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.service-card p {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.55;
  margin-bottom: 20px;
}
.service-card ul {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--fog);
}
.service-card ul li {
  padding: 12px 0;
  font-size: 13px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--fog);
  display: flex; justify-content: space-between;
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li .v {
  font-family: ui-monospace, monospace;
  font-weight: 600;
  color: var(--ink);
  font-size: 12.5px;
}

/* ===== LOCATION CARDS ===== */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  border: 1px solid var(--fog);
  background: var(--white);
  overflow: hidden;
}
.location-card .map {
  aspect-ratio: 4 / 3;
  background: var(--snow);
  position: relative;
  border-bottom: 1px solid var(--fog);
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 30px 30px;
}
.location-card .map::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  background: var(--green);
  border: 4px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(0,148,6,0.18);
}
.location-card .map .tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  background: var(--white);
  padding: 4px 8px;
  border: 1px solid var(--fog);
  text-transform: uppercase;
}
.location-card .body { padding: 24px 28px 28px; }
.location-card .city {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}
.location-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.location-card .meta {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.55;
}
.location-card .meta strong { color: var(--ink); font-weight: 600; }
.location-card .links {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--fog);
  display: flex; gap: 18px;
}
.location-card .links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 40px;
}
.contact-form h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .field { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form .field label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid var(--fog);
  padding: 8px 0;
  font-size: 14.5px;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border 0.2s var(--ease);
  font-family: var(--font);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color: var(--green); }
.contact-form .btn { margin-top: 16px; }

.contact-side .block {
  padding: 24px 0;
  border-bottom: 1px solid var(--fog);
}
.contact-side .block:first-child { padding-top: 0; }
.contact-side .block:last-child { border-bottom: none; }
.contact-side .block .lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-side .block .v {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.contact-side .block .v a { color: inherit; }
.contact-side .block .v a:hover { color: var(--green); }
.contact-side .block .meta {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--charcoal);
  line-height: 1.55;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.step {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  position: relative;
}
.step .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 24px;
  display: block;
}
.step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step p {
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.55;
}
.step .when {
  margin-top: 16px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ===== RELATED CARDS (footer de páginas) ===== */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--fog);
  background: var(--white);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.related-card:hover {
  border-color: var(--green-soft);
  background: var(--green-soft);
  transform: translateY(-2px);
}
.related-card .k {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 10px;
}
.related-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.related-card p {
  font-size: 13.5px;
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.55;
  flex-grow: 1;
}
.related-card .arrow {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.related-card .arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.related-card:hover .arrow svg { transform: translateX(4px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .subnav { top: 64px; }
  .subnav .wrap { gap: 12px; }
  .subnav-action { display: none; }
}
@media (max-width: 1100px) {
  .page-head .head-grid { grid-template-columns: 1fr; gap: 32px; }
  .spec-block { grid-template-columns: 1fr; gap: 24px; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline-rail { position: static; }
  .sector-deep { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .sector-deep.flip .sector-text { order: 1; }
  .sector-deep.flip .sector-visual { order: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .key-shot { padding-bottom: 64px; }
}
@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .locations { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head .cell, .compare-row .cell { border-right: none; border-bottom: 1px solid var(--fog); }
  .spec-table { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .key-shot-pinpoints .pp { display: none; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .page-head .head-meta { grid-template-columns: 1fr; }
  .sector-text .kpis { grid-template-columns: 1fr; }
}

/* =========================================================
   VIDEO GALLERY · EV48 en operación
   ========================================================= */
.video-gallery-section {
  background: #000;
  color: #fff;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.video-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/patterns/voltage.svg");
  background-size: 420px 420px;
  opacity: 0.04;
  pointer-events: none;
}
.video-gallery-section .wrap { position: relative; z-index: 1; }
.video-gallery-section .section-header h2 {
  color: #fff;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.video-gallery-section .section-header h2 em {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}
.video-gallery-section .section-header .desc {
  color: rgba(255,255,255,0.65);
}

.video-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.video-clip {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060606;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  margin: 0;
}
.video-clip:hover {
  border-color: rgba(0,148,6,0.5);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(0,148,6,0.28);
}
.video-clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.92);
}
.video-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.video-clip .clip-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.video-clip .clip-tag .rec {
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.video-clip .clip-tag .rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: rec-blink 1.4s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.18; }
}

@media (max-width: 880px) {
  .video-gallery { grid-template-columns: 1fr; }
  .video-gallery-section { padding: 80px 0; }
}

/* =========================================================
   ALIANZA · e-auto + Zero Mile + iMotion
   ========================================================= */
.alianza-actores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 96px;
}
.alianza-actores .actor {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fog);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.alianza-actores .actor:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 24px 48px -22px rgba(0, 148, 6, 0.22);
}
.actor-logo {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--fog);
}
.actor-logo.dark {
  background: #000;
  border-bottom-color: rgba(255,255,255,0.08);
}
.actor-logo.light {
  background: var(--snow);
}
.actor-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.actor-body {
  padding: 28px 28px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.actor-tag {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}
.alianza-actores .actor h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.05;
}
.alianza-actores .actor p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.actor-pill {
  align-self: flex-start;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-top: 8px;
}

/* Modelos comerciales */
.modelos-title {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.modelos-title::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--green);
}
.modelos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
  margin-bottom: 96px;
}
.modelos-grid .modelo {
  padding: 32px 26px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  transition: background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.modelos-grid .modelo:hover {
  background: var(--green-soft);
}
.modelos-grid .modelo-num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 22px;
  display: block;
  font-weight: 600;
}
.modelos-grid .modelo h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.modelos-grid .modelo p {
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.modelos-grid .modelo-ideal {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--fog);
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.55;
}

/* Stats verificados */
.alianza-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--green);
  padding-top: 48px;
  margin-bottom: 64px;
}
.alianza-stats .alianza-stat {
  padding: 0 36px;
  border-left: 1px solid var(--fog);
}
.alianza-stats .alianza-stat:first-child {
  border-left: none;
  padding-left: 0;
}
.alianza-stats .alianza-stat .num {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.alianza-stats .alianza-stat .num .u {
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
  margin-left: 4px;
  letter-spacing: 0;
}
.alianza-stats .alianza-stat .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 18px;
  max-width: 260px;
  line-height: 1.5;
}

/* Ejemplo de pricing modular */
.alianza-pricing {
  background: var(--ink);
  color: var(--white);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.alianza-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/patterns/voltage.svg");
  background-size: 360px 360px;
  opacity: 0.06;
  pointer-events: none;
}
.alianza-pricing > * {
  position: relative;
  z-index: 1;
}
.alianza-pricing-eyebrow {
  grid-column: 1 / -1;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
  font-weight: 600;
}
.alianza-pricing-line {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
  max-width: 620px;
}
.alianza-pricing-line strong {
  color: var(--white);
  font-weight: 600;
}
.alianza-pricing-amount {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.015em;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.alianza-pricing-amount small {
  font-size: 0.38em;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-left: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.alianza-pricing-note {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .alianza-actores { grid-template-columns: 1fr; }
  .modelos-grid { grid-template-columns: 1fr 1fr; }
  .alianza-stats { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .alianza-stats .alianza-stat {
    border-left: none;
    padding: 0 0 24px 0;
    border-bottom: 1px solid var(--fog);
  }
  .alianza-stats .alianza-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .alianza-pricing { grid-template-columns: 1fr; padding: 36px 28px; }
  .alianza-pricing-amount { text-align: left; }
}
@media (max-width: 560px) {
  .modelos-grid { grid-template-columns: 1fr; }
  .actor-logo { height: 140px; padding: 22px; }
}

/* =========================================================
   MOBILE REFINEMENTS · internal pages
   Asesoría premium europea: comprime hero de página, baja
   tipografía a anchos reales, evita tablas comparativas
   ahogadas, deja respirar formularios y galerías.
   ========================================================= */
@media (max-width: 880px) {
  /* Page head */
  .page-head { padding: 36px 0 56px; }
  .page-head h1 {
    font-size: clamp(32px, 9vw, 64px);
    line-height: 1.02;
  }
  .page-head .lead { font-size: 15px; line-height: 1.5; }
  .page-head .head-grid { gap: 26px; }
  .page-head .head-meta { margin-top: 24px; }
  .page-head .head-meta .item { padding: 18px 18px; }
  .page-head .head-meta .v { font-size: 20px; }
  .page-head .head-meta .v .u { font-size: 12px; }
  .page-head .head-meta .k { font-size: 10px; margin-top: 10px; }

  /* Breadcrumb */
  .breadcrumb {
    margin-bottom: 24px;
    font-size: 10px;
    gap: 6px;
    flex-wrap: wrap;
  }

  /* Subnav (productos) */
  .subnav { top: 60px; }
  .subnav .wrap { height: 48px; gap: 12px; }
  .subnav-links { gap: 18px; }
  .subnav-links a { font-size: 12px; padding: 6px 0; }

  /* Key shot */
  .key-shot { padding-bottom: 56px; margin-top: -32px; }
  .key-shot-stage { aspect-ratio: 4 / 3; box-shadow: 0 18px 40px -22px rgba(0,0,0,0.18); }

  /* Spec block (productos) */
  .spec-block { padding: 36px 0; gap: 16px; }
  .spec-block .lbl .idx { margin-bottom: 10px; }
  .spec-block .lbl h3 { font-size: 19px; margin-bottom: 8px; }
  .spec-block .lbl p { font-size: 13px; max-width: none; line-height: 1.5; }
  .spec-table .row {
    padding: 12px 16px;
    gap: 12px;
    font-size: 13px;
  }
  .spec-table .row .k { font-size: 12px; }
  .spec-table .row .v { font-size: 12.5px; }

  /* Compare */
  .compare-head .cell { padding: 22px 20px; }
  .compare-head h3 { font-size: 24px; }
  .compare-head .sub { font-size: 12.5px; }

  /* Manifesto interno */
  .manifesto { padding: 80px 0; }
  .manifesto-text {
    font-size: clamp(22px, 6.8vw, 40px);
    line-height: 1.3;
  }
  .manifesto-sign { margin-top: 32px; padding-top: 22px; gap: 18px; }
  .manifesto-sign .av { width: 40px; height: 40px; font-size: 14px; }

  /* Partners (todos los logos en grilla) */
  .partner-cell { padding: 22px 14px; min-height: 108px; }
  .partner-cell .nm { font-size: 13px; }
  .partner-cell .rl { font-size: 10px; }

  /* Sector deep */
  .sector-deep { padding: 56px 0; gap: 24px; }
  .sector-text h2 {
    font-size: clamp(26px, 8vw, 44px);
    margin-bottom: 14px;
  }
  .sector-text .num { margin-bottom: 14px; }
  .sector-text .desc { font-size: 15px; line-height: 1.55; }

  /* Video gallery */
  .video-gallery-section { padding: 64px 0; }
  .video-gallery { gap: 14px; }
  .video-clip .clip-tag {
    bottom: 12px; left: 12px;
    font-size: 9.5px; padding: 6px 10px; gap: 10px;
  }

  /* Alianza */
  .alianza-actores { gap: 16px; margin-bottom: 56px; }
  .actor-logo { height: 140px; padding: 22px 28px; }
  .actor-body { padding: 22px 22px 26px; }
  .alianza-actores .actor h3 { font-size: 22px; margin-bottom: 12px; }
  .alianza-actores .actor p { font-size: 14px; line-height: 1.55; }

  /* Modelos comerciales */
  .modelos-grid { margin-bottom: 56px; }
  .modelos-grid .modelo { padding: 26px 22px; }

  /* Brand banner */
  .brand-banner { max-height: none; }
  .brand-banner-caption {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 28px;
    max-width: none;
  }
  .brand-banner-caption .bb-title {
    font-size: clamp(22px, 7vw, 40px);
    line-height: 1.1;
  }
  .brand-banner-caption .bb-eyebrow { font-size: 10px; }
}

@media (max-width: 560px) {
  .page-head h1 { font-size: clamp(28px, 10vw, 52px); }
  .page-head .head-meta { grid-template-columns: 1fr; }
  .subnav .wrap { height: 44px; }
  .subnav-links { gap: 16px; }
  /* En móvil real: las compares ya colapsan a 1col por la regla previa */
}

/* =========================================================
   COSTURA EDITORIAL · internal pages
   Mismo hairline verde centrado para separar sectores,
   bloques de servicio, galerías y manifestos internos.
   ========================================================= */
@media (max-width: 880px) {
  /* Más respiración */
  .manifesto { padding: 96px 0; }
  .video-gallery-section { padding: 88px 0; }
  .sector-deep { padding: 72px 0; }

  .manifesto,
  .video-gallery-section,
  .sector-deep:not(:first-of-type) {
    position: relative;
  }

  .manifesto::after,
  .video-gallery-section::after,
  .sector-deep:not(:first-of-type)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 148, 6, 0.55) 50%,
      transparent 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  /* sector-deep en fondo light: gradiente verde más discreto */
  .sector-deep:not(.dark):not(.on-black)::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 148, 6, 0.4) 50%,
      transparent 100%
    );
  }
}
