/* Carrusel principal: seis diapositivas completas, sin reproducción automática. */
.hero-carousel {
  position: relative;
  isolation: isolate;
  outline: none;
  touch-action: pan-y pinch-zoom;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-carousel:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; border-radius: var(--surface-radius); }
.hero-slides { display: grid; min-height: min(72rem, calc(100svh - 7.5rem)); }
.hero-slide { grid-area: 1 / 1; min-height: inherit; overflow: clip; animation: hero-slide-in .28s ease both; }
.hero-slide[hidden] { display: none; }
.hero-slide .hero-grid,
.hero-plan-slide { min-height: inherit; }
.hero-slide h2 { max-width: 14ch; margin: .35rem 0 clamp(1rem, 2vw, 1.6rem); color: var(--cream); font: 900 clamp(2.8rem, 1.75rem + 4.3vw, 7.2rem)/.94 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.hero-slide h2 strong { color: var(--acid); }
.hero-promise { align-self: center; max-width: 36rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(247,247,237,.42); border-radius: var(--surface-radius); background: rgba(247,247,237,.1); color: var(--cream); }
.hero-promise__icon { display: grid; width: 4.5rem; height: 4.5rem; margin-bottom: 1.2rem; place-items: center; border-radius: 50%; background: var(--acid); color: var(--navy); font: 900 2rem/1 var(--font-display); }
.hero-promise p { margin: 0 0 1.2rem; font: 800 clamp(1.35rem, 1rem + 1vw, 2.2rem)/1.12 var(--font-display); text-transform: uppercase; }
.hero-promise li,
.hero-benefits li { margin: .55rem 0; font-weight: 700; }
.hero-plan-slide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .8fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 6rem); }
.hero-plan-slide h2 { max-width: 12ch; }
.hero-benefits { display: grid; gap: .5rem; margin: clamp(1.25rem, 2vw, 2rem) 0 0; padding-left: 1.2rem; color: var(--cream); font-size: clamp(1rem, .4vw + .9rem, 1.3rem); }
.hero-plan-action { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(247,247,237,.42); border-radius: var(--surface-radius); background: rgba(42,37,67,.3); color: var(--cream); }
.hero-plan-phill { width: auto; max-width: 100%; height: min(18rem, 28vh); justify-self: center; object-fit: contain; }
.hero-plan-price { margin: 0; color: var(--acid); font: 900 clamp(2.8rem, 2rem + 3vw, 6rem)/.94 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.hero-plan-price span { display: block; margin-top: .55rem; color: var(--cream); font: 700 clamp(.9rem, .3vw + .85rem, 1.15rem)/1.25 var(--font-ui); letter-spacing: 0; }
.hero-slide--premium { background: linear-gradient(135deg, var(--navy), #17132a 58%, #3a3153); }
.hero-carousel-controls { position: absolute; z-index: 4; left: 50%; bottom: clamp(1rem, 2vw, 1.75rem); display: flex; gap: .4rem; align-items: center; max-width: calc(100% - 2rem); padding: .35rem; border: 1px solid rgba(247,247,237,.34); border-radius: var(--surface-radius); background: rgba(42,37,67,.82); box-shadow: 0 14px 34px -24px rgba(0,0,0,.9); backdrop-filter: blur(12px); transform: translateX(-50%); }
.hero-carousel-dots { display: flex; gap: .18rem; }
.hero-carousel-dots button,
.hero-carousel-arrow { display: grid; width: 44px; height: 44px; min-width: 44px; place-items: center; border: 0; border-radius: var(--surface-radius); background: transparent; color: var(--cream); cursor: pointer; font: 700 .75rem/1 var(--font-data); }
.hero-carousel-arrow { font-size: 1.1rem; }
.hero-carousel-dots button:hover,
.hero-carousel-arrow:hover { background: rgba(247,247,237,.15); }
.hero-carousel-dots button[aria-current="true"] { background: var(--acid); color: var(--navy); }
.hero-carousel-dots button:focus-visible,
.hero-carousel-arrow:focus-visible { outline: 3px solid var(--acid); outline-offset: 2px; }
@keyframes hero-slide-in { from { opacity: .45; transform: translateX(1.25rem); } }
@media (max-width: 70rem) {
  .hero-slides { min-height: auto; }
  .hero-slide,
  .hero-slide .hero-grid,
  .hero-plan-slide { min-height: clamp(42rem, 86svh, 58rem); }
  .hero-plan-slide { grid-template-columns: 1fr; align-content: center; }
  .hero-plan-action { max-width: 38rem; }
}
@media (max-width: 42rem) {
  .hero-slide,
  .hero-slide .hero-grid,
  .hero-plan-slide { min-height: auto; }
  /* Mantiene el selector accesible pero reduce a la mitad el aire visual reservado bajo la tarjeta. */
  .hero-slide { padding-bottom: 4.65rem; }
  .hero-plan-slide { gap: 1.4rem; padding: 1.35rem 1.1rem 1rem; }
  .hero-slide h2 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .hero-plan-action { padding: 1.2rem; }
  .hero-plan-phill { height: min(9rem, 22vh); }
  .hero-carousel-controls { bottom: .75rem; gap: .1rem; }
  .hero-carousel-dots button { width: 44px; min-width: 44px; height: 44px; font-size: .68rem; }
  .hero-carousel-arrow { display: none; }
}

.hero-carousel-pause {
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid rgba(247,247,237,.55);
  border-radius: var(--surface-radius);
  background: rgba(42,37,67,.72);
  color: var(--cream);
  font: 800 .78rem/1 var(--font-ui);
  text-transform: uppercase;
  cursor: pointer;
}

.hero-carousel-pause[aria-pressed="true"] {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--navy);
}

@media (max-width: 70rem) {
  .hero .hero-visual > .hero-slide-phill--muro {
    position: static;
    width: min(100%, 35rem);
    height: auto;
    max-width: 100%;
    max-height: none;
    justify-self: end;
    object-position: right bottom;
  }
}

@media (forced-colors: active) {
  .hero-carousel-controls,
  .hero-plan-action,
  .hero-promise { border: 1px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } }

.download-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.download-copy { max-width: 62ch; color: var(--cream); }
.download-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 56rem) { .download-panel { grid-template-columns: 1fr; } }


/* Ajustes 29/08/2026 · copy principal y jerarquía visual aprobados. */
.hero-main-title {
  max-width: 13.5ch !important;
  font-size: clamp(3rem, 1.75rem + 4.5vw, 6.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.04em !important;
}
.hero-plan-label {
  margin: 0;
  color: var(--cream);
  font: 850 clamp(.82rem, .25vw + .78rem, 1rem)/1.2 var(--font-ui);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero .evidence-card {
  bottom: clamp(15.5rem, 18vw, 20rem);
}
.hero .evidence-card h2 {
  font-size: clamp(1.08rem, .45vw + 1rem, 1.45rem);
  font-weight: 900;
  letter-spacing: .015em;
}
@media (max-width: 70rem) {
  .hero-main-title {
    max-width: 14ch !important;
    font-size: clamp(2.8rem, 1.9rem + 4vw, 5.25rem) !important;
  }
  .hero .evidence-card { bottom: auto; }
}
@media (max-width: 42rem) {
  .hero-main-title {
    max-width: 13ch !important;
    font-size: clamp(2.4rem, 10.5vw, 3.75rem) !important;
    line-height: .96 !important;
  }
}

/* Phill hero slides · 29/08/2026 */
.hero-slide-phill {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(18, 15, 32, .26));
}
.hero-visual--damage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 34rem;
}
.hero-slide-phill--muro {
  width: min(43vw, 39rem);
  max-height: min(58rem, calc(100svh - 10rem));
}
.episode-float-card {
  position: absolute;
  z-index: 3;
  right: clamp(.5rem, 2vw, 2rem);
  bottom: clamp(7rem, 10vw, 11rem);
  width: min(23rem, 56%);
  padding: clamp(.85rem, 1.25vw, 1.15rem);
  border: 1px solid rgba(247, 247, 237, .36);
  border-radius: var(--surface-radius);
  background: rgba(53, 48, 82, .91);
  color: var(--cream);
  box-shadow: 0 26px 58px -30px rgba(0, 0, 0, .9);
  backdrop-filter: blur(12px);
}
.episode-float-card__eyebrow {
  margin: 0 0 .45rem;
  color: var(--acid);
  font: 820 .7rem/1.2 var(--font-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.episode-float-card > strong {
  display: block;
  margin-bottom: .55rem;
  font: 880 clamp(1rem, .35vw + .95rem, 1.3rem)/1.08 var(--font-ui);
  text-transform: uppercase;
}
.episode-float-card dl { margin: 0; font-family: var(--font-data); font-size: .78rem; }
.episode-float-card dl div {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: .6rem;
  padding: .36rem 0;
  border-top: 1px solid rgba(247, 247, 237, .18);
}
.episode-float-card dt { color: rgba(247, 247, 237, .72); }
.episode-float-card dd { margin: 0; text-align: right; }
.hero-plan-action--visual {
  align-content: center;
  overflow: hidden;
}
.hero-plan-action--visual .hero-plan-phill {
  width: min(100%, 25rem);
  height: min(24rem, 36vh);
  margin: -.5rem auto .15rem;
  filter: drop-shadow(0 24px 30px rgba(18, 15, 32, .24));
}
@media (max-width: 70rem) {
  .hero-visual--damage {
    width: min(100%, 42rem);
    min-height: 0;
    justify-self: center;
    place-items: center;
  }
  .hero-slide-phill--muro { width: min(68vw, 33rem); max-height: none; }
  .episode-float-card {
    position: static;
    width: min(100%, 32rem);
    margin-top: -2.25rem;
  }
  .hero-plan-action--visual .hero-plan-phill {
    width: min(100%, 24rem);
    height: min(21rem, 32vh);
  }
}
@media (max-width: 42rem) {
  .hero-slide-phill--muro { width: min(84vw, 25rem); }
  .episode-float-card { margin-top: -1.25rem; }
  .episode-float-card dl div { grid-template-columns: 1fr; gap: .12rem; }
  .episode-float-card dd { text-align: left; }
  .hero-plan-action--visual .hero-plan-phill {
    width: min(72vw, 18rem);
    height: auto;
    max-height: 15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide-phill { transform: none !important; }
}

/* Hero maestro coherente · 29/08/2026 */
/*
 * La slide 01 es la plantilla estructural de las seis.
 * Cambia el contenido, no la geometría: título, copy, CTA, Phill y tarjeta
 * ocupan siempre la misma zona.
 */
.hero-slide .hero-grid {
  --hero-copy-bottom: clamp(2rem, 2.8vw, 2.8rem);
  --hero-note-space: 3.4rem;

  grid-template-columns: minmax(0, .95fr) minmax(min(38vw, 34rem), 1.05fr);
  align-items: stretch;
}

.hero-slide .hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: 820px;
  padding-block: clamp(1rem, 1.8vw, 1.6rem) var(--hero-copy-bottom);
}

.hero-main-title,
.hero-slide-title,
.hero-slide h2.hero-main-title {
  max-width: 13.5ch !important;
  margin: 0 !important;
  color: var(--cream);
  font: 570 clamp(3rem, 1.75rem + 4.5vw, 6.8rem)/.92 var(--font-ui) !important;
  letter-spacing: -.04em !important;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-emphasis {
  color: var(--acid);
  font-family: var(--font-ui);
  font-weight: 950 !important;
  text-transform: uppercase;
}

.hero-kicker--business {
  color: var(--acid);
  font-size: clamp(1.45rem, .8vw + 1.2rem, 1.9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .07em;
}

.hero-kicker--business::before {
  width: 2rem;
  font-size: 1rem;
}

.hero-slide .hero-sub {
  max-width: 45ch;
  margin: clamp(1.6rem, 2.2vw, 2.5rem) 0 0;
  font-weight: 430;
  line-height: 1.58;
}

.hero-slide[aria-label="4 de 6"] .hero-sub strong,
.hero-slide[aria-label="5 de 6"] .hero-sub strong,
.hero-slide[aria-label="6 de 6"] .hero-sub strong {
  color: var(--acid);
  font-family: var(--font-ui);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  margin-top: auto;
  padding-top: clamp(2.2rem, 3vw, 3.2rem);
}

.hero-slide .hero-note {
  min-height: var(--hero-note-space);
  max-width: 48ch;
  margin: .8rem 0 0;
}

.hero-slide .hero-actions .button {
  min-height: 58px;
  padding: 1rem 1.65rem;
  font-size: clamp(.94rem, .18vw + .9rem, 1.05rem);
  font-weight: 850;
}

.hero-slide .button--primary {
  border: 3px solid var(--cream);
  background: var(--acid);
  color: var(--navy);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .88), 0 0 0 1px rgba(247, 247, 237, .16);
}

.hero-slide .button--secondary {
  border-width: 2px;
}

.hero-slide .hero-visual {
  position: relative;
  display: block;
  min-height: 100%;
  align-self: stretch;
}

.hero .hero-visual > .phill-hero.hero-slide-phill {
  position: absolute;
  z-index: 1;
  right: clamp(-1.8rem, -.8vw, -.25rem);
  bottom: 0;
  width: min(48vw, 790px);
  height: 96%;
  max-width: min(48vw, 790px);
  max-height: 96%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-18px 24px 34px rgba(42, 37, 67, .25));
}

/*
 * Tarjeta común: más ancha y situada en la zona baja de Phill.
 * En escritorio debe quedar casi a la altura de sus pies.
 */
.hero .hero-info-card.evidence-card {
  position: absolute;
  z-index: 3;
  top: auto;
  right: auto;
  bottom: calc(var(--hero-copy-bottom) + var(--hero-note-space) + .8rem);
  left: clamp(2.25rem, 4vw, 5rem);
  transform: translateX(50px);
  width: min(540px, 86%);
  min-height: 12.5rem;
  padding: clamp(1rem, 1.25vw, 1.3rem);
  border: 1px solid rgba(247, 247, 237, .32);
  border-radius: var(--surface-radius);
  background: rgba(53, 48, 82, .91);
  color: var(--cream);
  box-shadow: 0 22px 52px -30px rgba(0, 0, 0, .92);
  backdrop-filter: blur(12px);
}

.hero .hero-info-title {
  margin: 0 0 .65rem;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: clamp(1.15rem, .6vw + 1rem, 1.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.hero .hero-info-title span,
.hero .hero-info-title strong {
  display: block;
}

.hero .hero-info-title strong {
  margin-top: .18rem;
  color: var(--acid);
  font-size: 1.45em;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.hero .hero-info-card .hint {
  margin-bottom: .8rem;
  font-size: clamp(.86rem, .16vw + .8rem, .98rem);
}

.hero .hero-info-card .data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 1.7vw, 1.6rem);
  row-gap: 0;
  font-size: clamp(.86rem, .18vw + .8rem, 1rem);
}

.hero .hero-info-card .data-row {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .8rem;
  min-width: 0;
  min-height: 2.15rem;
  padding-block: .34rem;
}

.hero .hero-info-card .data-row dt {
  white-space: nowrap;
}

.hero .hero-info-card .data-row dd {
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.hero .data-row .hit {
  text-transform: uppercase;
}

/* Desplazamientos por escena para preservar cara, gesto y elemento protagonista. */
.hero-slide-phill--monitoriza + .hero-info-card,
.hero-slide-phill--episodios + .hero-info-card,
.hero-slide-phill--business + .hero-info-card {
  left: clamp(1.6rem, 3.2vw, 4.2rem);
}

.hero-slide-phill--pasado + .hero-info-card {
  left: clamp(1.8rem, 3.5vw, 4.5rem);
}

/* Muro: mayor presencia y apoyo visual contra el borde derecho. */
.hero .hero-visual > .hero-slide-phill--muro {
  right: clamp(-7rem, -5vw, -3.5rem);
  width: min(70vw, 1150px);
  height: 131.25%;
  max-width: min(70vw, 1150px);
  max-height: 131.25%;
  object-position: right bottom;
}

/* Neutraliza las geometrías antiguas específicas por plan/muro. */
.hero .hero-visual--damage,
.hero .hero-plan-slide,
.hero .hero-plan-action,
.hero .hero-plan-action--visual,
.hero .episode-float-card {
  all: revert;
}

@media (max-width: 86rem) {
  .hero .hero-info-card.evidence-card {
    left: clamp(1.5rem, 3vw, 3.5rem);
    width: min(500px, 88%);
  }

  .hero-slide-phill--monitoriza + .hero-info-card,
  .hero-slide-phill--episodios + .hero-info-card,
  .hero-slide-phill--business + .hero-info-card,
  .hero-slide-phill--pasado + .hero-info-card {
    left: clamp(1.15rem, 2.5vw, 3rem);
  }
}

@media (max-width: 70rem) {
  .hero-slide .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.1rem, 3vw, 1.8rem);
    min-height: 0;
  }

  .hero-slide .hero-copy {
    min-height: 0;
    padding-block: 0;
  }

  .hero-main-title,
  .hero-slide-title,
  .hero-slide h2.hero-main-title {
    max-width: 14ch !important;
    font-size: clamp(2.8rem, 1.9rem + 4vw, 5.25rem) !important;
  }

  .hero-slide .hero-actions {
    margin-top: 0;
    padding-top: clamp(2.2rem, 3vw, 3.2rem);
  }

  .hero-slide .hero-note {
    min-height: 0;
  }

  .hero-slide .hero-visual {
    display: grid;
    gap: .75rem;
    width: min(100%, 48rem);
    min-height: 0;
    justify-self: center;
    justify-items: center;
  }

  .hero .hero-visual > .phill-hero.hero-slide-phill {
    position: static;
    width: auto;
    height: min(60vw, 28rem);
    max-width: 100%;
    max-height: none;
    object-position: center bottom;
  }

  .hero .hero-info-card.evidence-card,
  .hero-slide-phill--monitoriza + .hero-info-card,
  .hero-slide-phill--episodios + .hero-info-card,
  .hero-slide-phill--business + .hero-info-card,
  .hero-slide-phill--pasado + .hero-info-card {
    position: absolute;
    top: auto;
    right: auto;
    bottom: clamp(1.5rem, 3.5vw, 2.75rem);
    left: 50%;
    transform: translateX(calc(-50% + 50px));
    width: min(calc(100% - 50px), 38rem);
    min-height: 0;
    margin: 0;
  }
}

@media (max-width: 42rem) {
  .hero-main-title,
  .hero-slide-title,
  .hero-slide h2.hero-main-title {
    max-width: 13ch !important;
    font-size: clamp(2.4rem, 10.5vw, 3.75rem) !important;
    line-height: .96 !important;
  }

  .hero-slide .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0;
  }

  .hero-slide .hero-actions .button {
    width: 100%;
  }

  .hero .hero-visual > .phill-hero.hero-slide-phill {
    position: relative;
    z-index: 1;
    width: auto;
    height: min(115.625vw, 37.5rem);
    max-width: 140.625vw;
  }

  .hero .hero-info-card.evidence-card {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(100% - 50px);
    margin: 0;
    transform: translate(calc(-50% + 50px), 0);
  }

  .hero .hero-info-card .data-list {
    grid-template-columns: 1fr;
  }

  .hero .hero-info-card .data-row {
    grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
    gap: .65rem;
  }

  .hero .hero-info-card .data-row dd {
    text-align: right;
    white-space: normal;
  }
}

/* El muro recibe un +25 % adicional también en reflow/móvil. */
@media (max-width: 70rem) {
  .hero .hero-visual > .phill-hero.hero-slide-phill--muro {
    height: min(75vw, 35rem);
    max-width: 125%;
  }
}
@media (max-width: 42rem) {
  .hero .hero-visual > .phill-hero.hero-slide-phill--muro {
    height: min(144.53125vw, 46.875rem);
    max-width: 175%;
  }
}

@media (forced-colors: active) {
  .hero .hero-info-card.evidence-card {
    border: 1px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-visual > .phill-hero.hero-slide-phill {
    transform: none !important;
  }
}
