/* ============================================================
   deleFOCO — Portada del ecosistema
   Componentes: Header, Hero, AudienceSwitcher, ServiceVertical,
   VisualMarquee, EcosystemNavigation, CTA, Footer, LanguageSwitcher
   ============================================================ */

/* ---------- Botones ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn span {
  transition: transform .25s ease;
}

.btn:hover span {
  transform: translateX(4px);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(229, 9, 20, .4);
}

.btn-outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 19px 30px;
  font-size: 15px;
}

.btn-red::after,
.btn-white::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}

.btn-red:hover::after,
.btn-white:hover::after {
  left: 140%;
}

/* ---------- Header ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, box-shadow .3s ease;
}

.topbar.is-scrolled {
  background: var(--bar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: #1c1c1c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

  .brand .logo {
    display: block;
    width: 180px;
    height: auto;
    object-fit: contain;
    transition: width .35s var(--ease);
  }

  .topbar.is-scrolled .brand .logo {
    width: 150px;
  }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  color: #c9c9c9;
  transition: color .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.segmented {
  display: flex;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 3px;
}

.segmented button,
.seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  color: #aaa;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.seg-btn:hover,
.segmented button:hover {
  color: #fff;
}

.segmented button.active,
.seg-btn.active {
  background: #fff;
  color: #000;
}

.lang-segmented button.active,
.lang-segmented .seg-btn.active {
  background: var(--red);
  color: #fff;
}

.header-cta {
  margin-left: 5px;
  padding: 11px 15px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.header-cta:hover {
  background: var(--red-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(229, 9, 20, .35);
}

/* Botón de menú móvil */
.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  background: rgba(10, 10, 10, .5);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s ease, width .35s var(--ease);
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; width: 14px; }
.burger span:nth-child(3) { top: 26px; }

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Menú móvil ---------- */
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: calc(var(--bar-h) + 26px) 22px 30px;
  background: #070707;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}

.mobilemenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mm-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #1e1e1e;
}

.mm-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid #1e1e1e;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(14px);
}

.mm-nav a small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--ink-mute);
}

.mm-nav a::after {
  content: "→";
  color: var(--red);
  font-size: 18px;
  transition: transform .25s ease;
}

.mm-nav a:hover::after,
.mm-nav a:focus-visible::after {
  transform: translateX(5px);
}

.mobilemenu.is-open .mm-nav a {
  animation: mmIn .5s var(--ease) forwards;
  animation-delay: calc(60ms * var(--i, 0) + 80ms);
}

@keyframes mmIn {
  to { opacity: 1; transform: none; }
}

.mm-foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mm-lang {
  display: flex;
  gap: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(880px, 100svh);
  padding-top: var(--bar-h);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .74;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .75) 40%, rgba(5, 5, 5, .24) 72%, rgba(5, 5, 5, .16) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .92) 0%, rgba(5, 5, 5, .16) 52%, rgba(5, 5, 5, .2) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 62%);
  mask-image: linear-gradient(to right, #000 0%, transparent 62%);
}


  /* =========================================================
     ÍCONO DELEFOCO HERO (FONDO)
     ========================================================= */
  .hero-delefoco-icon {
    position: absolute;
    width: 640px;
    height: 640px;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: 0.16;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
  }

  .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px var(--gutter) 76px;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: .94;
  letter-spacing: -.05em;
  max-width: 18ch;
  min-height: calc(2 * .94em);
  margin: 0 0 30px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .5);
}

.hero h1 .accent {
  color: var(--red);
}

.hero-lede {
  max-width: 54ch;
  min-height: calc(3 * 1.65em);
  margin: 0 0 40px;
  color: rgba(247, 247, 245, .86);
  font-size: var(--fs-lead);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .btn-lg {
  min-width: 216px;
}

.hero-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, .62);
  transition: color .25s ease;
}

.hero-alt::after {
  content: "↓";
  color: var(--red);
  font-size: 14px;
  transition: transform .25s ease;
}

.hero-alt:hover {
  color: #fff;
}

.hero-alt:hover::after {
  transform: translateY(3px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 66px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-facts li {
  min-height: 59px;
  padding: 22px 26px 4px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(247, 247, 245, .68);
}

.hero-facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

/* ---------- Bloque rojo de audiencia ---------- */
.audience {
  position: relative;
  background: var(--red);
  color: #fff;
  padding: 96px 0 104px;
  overflow: hidden;
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.audience .wrap {
  position: relative;
}

.audience h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.04em;
  max-width: 18ch;
  margin: 0 0 18px;
}

.audience-lede {
  max-width: 56ch;
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-lead);
  line-height: 1.65;
}

/* Tabs de audiencia */
.aud-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 38px 0 44px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
}

.aud-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  text-align: left;
  transition: background-color .28s ease, color .28s ease, transform .28s var(--ease);
}

.aud-tab strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.aud-tab span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .8;
}

.aud-tab:hover {
  color: #fff;
}

.aud-tab[aria-selected="true"] {
  background: #fff;
  color: var(--red);
}

.aud-tab[aria-selected="true"]:hover {
  transform: translateY(-1px);
}

.aud-panel-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.aud-panel-title b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(0, 0, 0, .45);
  padding: 4px 9px;
  border-radius: 2px;
  background: rgba(0, 0, 0, .2);
}

.aud-panel {
  animation: panelIn .5s var(--ease) both;
}

.aud-panels {
  display: grid;
}

.aud-panels > .aud-panel {
  grid-area: 1 / 1;
}

.aud-panels > .aud-panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}

.aud-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(255, 255, 255, .24);
}

.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 26px 32px;
  background: var(--red);
  color: #fff;
  transition: background-color .3s ease, color .3s ease;
}

.aud-card-index {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .62);
  transition: color .3s ease;
}

.aud-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.aud-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  transition: color .3s ease;
}

.aud-card-go {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 16px;
}

.aud-card-go::after {
  content: "→";
  transition: transform .28s var(--ease);
}

.aud-card:hover {
  background: #0b0b0b;
}

.aud-card:hover .aud-card-index {
  color: var(--red-2);
}

.aud-card:hover p {
  color: rgba(247, 247, 245, .8);
}

.aud-card:hover .aud-card-go::after {
  transform: translateX(6px);
}

.aud-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  background: var(--band-bg);
  color: var(--band-ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 58s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  padding: 0 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.marquee-group i {
  font-style: normal;
  font-size: 12px;
  color: var(--red);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* ---------- Verticales ---------- */
.section {
  padding: 108px 0;
}

.section-alt {
  background: var(--alt);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-kicker::before {
  content: "";
  flex: none;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 62px;
}

.section-head h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.04em;
  max-width: 20ch;
}

.section-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.65;
  max-width: 48ch;
}

.verticals-list {
  display: flex;
  flex-direction: column;
}

.vertical {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, .92fr) 320px;
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: background-color .35s ease;
}

.vertical-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vertical:last-child {
  border-bottom: 1px solid var(--line);
}

.vertical-inner {
  display: contents;
}

.vertical-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink-mute);
  -webkit-text-stroke: 0;
  transition: color .3s ease, transform .3s var(--ease);
}

.vertical-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vertical-title h3 {
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1;
  letter-spacing: -.04em;
}

.vertical-title h3 a::after {
  content: "";
  position: absolute;
  inset: -14px -18px;
  z-index: 1;
}

.vertical-title p {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.vertical-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  max-width: 44ch;
  transition: color .3s ease;
}

.vertical-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.vertical-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s var(--ease);
}

.vertical:hover .vertical-media img {
  transform: scale(1.08);
}

.vertical-media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, .72);
  color: rgba(247, 247, 245, .7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.vertical-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-2);
}

.vertical-go::after {
  content: "→";
  transition: transform .3s var(--ease);
}

.vertical:hover .vertical-go::after {
  transform: translateX(6px);
}

.vertical:hover .vertical-num {
  color: var(--red);
  transform: translateX(4px);
}

.vertical:hover {
  background: linear-gradient(90deg, rgba(229, 9, 20, .06), transparent 42%);
}

.vertical:focus-within {
  background: linear-gradient(90deg, rgba(229, 9, 20, .06), transparent 42%);
}

/* Cambio de copy por audiencia en verticales */
.vertical-desc-b2b,
.vertical-desc-b2c {
  transition: opacity .25s ease;
}

[data-audience="b2b"] .vertical-desc-b2c,
[data-audience="b2c"] .vertical-desc-b2b {
  display: none;
}

.vertical-cta-b2b,
.vertical-cta-b2c {
  transition: opacity .25s ease;
}

[data-audience="b2b"] .vertical-cta-b2c,
[data-audience="b2c"] .vertical-cta-b2b {
  display: none;
}

/* ---------- Ecosistema (mapa de nodos) ---------- */
.eco {
  position: relative;
  background: var(--alt);
  padding: 108px 0 116px;
  overflow: hidden;
}

.eco-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 48px;
  align-items: start;
}

.eco-nodes {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.eco-nodes::before,
.eco-nodes::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}

.eco-nodes::before { top: 33.33%; }
.eco-nodes::after { top: 66.66%; }

.eco-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease);
}

.eco-node:hover,
.eco-node[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--surface);
  transform: translateY(-3px);
}

.eco-node-num {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--ink-mute);
  transition: color .3s ease;
}

.eco-node-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.eco-node-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eco-node[aria-pressed="true"] .eco-node-hint {
  color: var(--red-2);
}

.eco-detail {
  position: sticky;
  top: calc(var(--bar-h) + 28px);
  min-height: 260px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  background: var(--surface);
}

.eco-detail-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--red-2);
}

.eco-detail h3 {
  margin: 10px 0 14px;
  font-size: 26px;
  letter-spacing: -.03em;
}

.eco-detail p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.eco-detail-rel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.eco-detail-rel b {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eco-detail .btn {
  margin-top: 20px;
}

/* ---------- Oportunidades ---------- */
.opps {
  padding: 104px 0;
  background: var(--red);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.opps::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 100% 56px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 70%);
  mask-image: linear-gradient(to right, #000, transparent 70%);
}

.opps .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 60px;
  align-items: center;
}

.opps h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0 0 20px;
  max-width: 16ch;
}

.opps-lede {
  max-width: 48ch;
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-lead);
  line-height: 1.65;
  margin-bottom: 34px;
}

.opps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.opps-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.opps-cats span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.opps-card {
  position: relative;
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .14);
}

.opps-card-label {
  display: block;
  margin-bottom: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.opps-card h3 {
  font-size: 22px;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.opps-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
  margin-bottom: 22px;
}

.opps-card .btn {
  background: #fff;
  color: var(--red);
}

.opps-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

/* ---------- Confianza / capacidades ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 28px 36px;
  background: var(--bg);
  transition: background-color .3s ease;
}

.trust-cell:hover {
  background: var(--surface);
}

.trust-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--red);
}

.trust-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.trust-text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.trust-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--ink-mute);
  max-width: 62ch;
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(760px, 92svh);
  padding: 110px 0;
  text-align: center;
}

.final-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: .58;
}

.final-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, .94) 5%, rgba(5, 5, 5, .58) 55%, rgba(5, 5, 5, .48) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .5), rgba(5, 5, 5, .16), rgba(5, 5, 5, .5));
}

.final .eyebrow {
  justify-content: center;
}

.final h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.04em;
  max-width: 22ch;
  margin: 0 auto 22px;
}

.final-lede {
  max-width: 50ch;
  margin: 0 auto 46px;
  color: rgba(247, 247, 245, .8);
  font-size: var(--fs-lead);
  line-height: 1.65;
}

.final-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.final-path {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(0, 0, 0, .3);
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.final-path:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.final-path strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.final-path span {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 247, 245, .74);
  transition: color .3s ease;
}

.final-path::after {
  content: "→";
  margin-top: 6px;
  font-size: 17px;
  color: var(--red-2);
  transition: color .3s ease, transform .3s var(--ease);
}

.final-path:hover::after {
  color: #fff;
  transform: translateX(6px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid #161616;
  padding: 70px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid #161616;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 42ch;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col a {
  display: inline-block;
  padding: 7px 0;
  min-height: 34px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .25s ease;
}

.footer-col a:hover {
  color: var(--red-2);
}

.footer-col .seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 34px;
  padding: 6px 10px;
}

.footer-lang {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 26px;
  font-size: 12px;
  color: var(--ink-mute);
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.footer-bottom a {
  display: inline-block;
  padding: 7px 0;
  min-height: 34px;
}

.footer-bottom a:hover {
  color: var(--ink-soft);
}

/* ---------- Cursor contextual ---------- */
[data-cursor="explore"] {
  cursor: pointer;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .eco-map {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .eco-detail {
    position: static;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .section-head h2 {
    max-width: 26ch;
  }
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
    order: 3;
  }

  .controls {
    margin-left: auto;
  }

  .aud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opps .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .vertical {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .vertical-media {
    display: none;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 74px 0;
  }

  .audience {
    padding: 68px 0 74px;
  }

  .eco {
    padding: 74px 0 80px;
  }

  .opps {
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-inner {
    padding: 68px var(--gutter) 58px;
  }

  .hero h1 {
    max-width: 100%;
    min-height: calc(2 * .94em);
  }

  .hero-facts li {
    min-height: 45.5px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .hero-facts li {
    padding: 14px 0 14px 18px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .hero-facts li:first-child {
    padding-left: 18px;
    border-top: 0;
  }

  .header-cta {
    display: none;
  }

  .aud-tabs {
    display: flex;
    width: 100%;
  }

  .aud-tab {
    flex: 1;
    padding: 12px 16px;
  }

  .aud-tab span {
    display: none;
  }

  .eco-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eco-nodes::before,
  .eco-nodes::after {
    display: none;
  }

  .final {
    min-height: auto;
    padding: 84px 0;
  }

  .final-paths {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .aud-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .vertical {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0;
  }

  .vertical-num {
    order: -1;
  }

  .vertical-detail {
    gap: 12px;
  }

  .hero-actions .btn-lg {
    width: 100%;
    min-width: 0;
  }

  .mobilemenu {
    padding-bottom: 26px;
  }

  .mm-nav a {
    font-size: 19px;
    padding: 17px 2px;
  }
}

/* Tablet horizontal: reajusta el hero para no romper la proporción */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero {
    min-height: min(760px, 100svh);
  }

  .aud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


  @media (max-width: 1040px) {
    .hero-delefoco-icon {
      width: 420px;
      height: 420px;
      left: -70px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.12;
    }
  }

  @media (max-width: 768px) {
    .hero-delefoco-icon {
      width: 320px;
      height: 320px;
      left: 50%;
      top: 20px;
      transform: translateX(-50%);
      opacity: 0.12;
    }
  }

  @media (max-width: 620px) {
    .brand .logo {
      width: 148px;
    }
    .topbar.is-scrolled .brand .logo {
      width: 128px;
    }
    .hero-delefoco-icon {
      width: 240px;
      height: 240px;
      left: 50%;
      top: 12px;
      transform: translateX(-50%);
      opacity: 0.1;
    }
  }

  body.theme-light .hero-delefoco-icon {
    opacity: 0.1;
    filter: none;
  }

@media (max-width: 560px) {
  .hero h1 {
    min-height: calc(3 * .94em);
  }
}

@media (max-width: 480px) {
  .hero-lede {
    min-height: calc(4 * 1.65em);
  }
}

@media (max-width: 440px) {
  .hero-facts li {
    min-height: 62px;
  }
  .hero-facts li:first-child {
    min-height: 44.5px;
  }
}

@media (max-width: 410px) {
  .hero h1 {
    min-height: calc(4 * .94em);
  }
}

@media (max-width: 370px) {
  .hero-lede {
    min-height: calc(5 * 1.65em);
  }
  .hero-facts li:first-child {
    min-height: 61px;
  }
}

@media (max-width: 330px) {
  .hero-lede {
    min-height: calc(6 * 1.65em);
  }
}
