/* src/css/proyectos.css — Página Proyectos (rediseño 2026)
   Portado desde ProyectosHero JSX (Variante A — carrusel imagen-dominante).
   Prefijo .pr- en todos los selectores de página.
   ============================================================================= */

/* =========================================================
   §1 HERO
   ========================================================= */

.pr-hero {
  position: relative;
  min-height: clamp(560px, 100svh, 800px);
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-white);
}

.pr-hero__img {
  position: absolute;
  inset: 0;
  background-image: url('/img/Proyectos/HeroProyectos.webp');
  background-size: cover;
  background-position: center;
}

/* Overlay gradiente — JSX: 180deg, 0.5→0.15→0.92 */
.pr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 46, 51, 0.50)  0%,
    rgba(7, 46, 51, 0.15) 40%,
    rgba(7, 46, 51, 0.92) 100%
  );
}

/* Marcador vertical: línea blanca desde top:120, altura calc(100%-240px) */
.pr-hero__vline {
  position: absolute;
  top: 120px;
  left: 24px;
  width: 1px;
  height: calc(100% - 240px);
  background: rgba(250, 250, 248, 0.18);
}

/* Segmento amarillo: primeros 80px de la línea */
.pr-hero__vline-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 80px;
  background: var(--hs-yellow);
}

/* Contenedor del contenido — padding del JSX: 160px 72px 72px 120px */
.pr-hero__content {
  position: relative;
  min-height: inherit;
  padding: var(--hero-pad-top) var(--section-pad-x) var(--section-pad-y);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-white);
}

/* ── Eyebrow ── */
.pr-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.pr-hero__eyebrow-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-yellow);
  font-family: var(--font-mono);
}

.pr-hero__eyebrow-sep {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(250, 250, 248, 0.40);
  flex-shrink: 0;
}

.pr-hero__eyebrow-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.75);
}

/* ── Headline ── */
.pr-hero__h1 {
  color: var(--color-white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 18ch;
  margin: 0;
}

.pr-hero__h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--hs-yellow);
}

/* ── Footer: grid 3 columnas ── */
.pr-hero__footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: end;
}

/* Descripción */
.pr-hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-white-82);
  max-width: 40ch;
  margin: 0;
}

/* CTAs */
.pr-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* Scroll indicator */
.pr-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 8px;
}

.pr-hero__scroll-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white-50);
  font-family: var(--font-mono);
}

.pr-hero__scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(250, 250, 248, 0.40);
  margin-left: 12px;
  position: relative;
}

.pr-hero__scroll-dot {
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hs-yellow);
}

/* ── Animación reducida ── */
@media (prefers-reduced-motion: no-preference) {
  .pr-hero__scroll-dot {
    animation: pr-scroll-bob 2s ease-in-out infinite;
  }

  @keyframes pr-scroll-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .pr-hero__content {
    padding: 140px 48px 56px 80px;
  }

  .pr-hero__vline {
    left: 48px;
  }

  .pr-hero__footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .pr-hero__scroll {
    display: none;
  }
}

/* < 768px (mobile) — alineado con ns-hero */
@media (max-width: 768px) {
  .pr-hero {
    min-height: 680px;
  }

  .pr-hero__content {
    padding: 120px 24px 64px 56px;
  }

  .pr-hero__vline {
    left: 24px;
  }

  .pr-hero__footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pr-hero__ctas {
    flex-direction: column;
  }

  .pr-hero__ctas .hs-btn {
    width: 100%;
    justify-content: center;
  }
}

/* < 640px — alineado con ns-hero */
@media (max-width: 640px) {
  .pr-hero {
    min-height: 660px;
  }

  .pr-hero__content {
    padding: 112px 20px 56px 48px;
  }

  .pr-hero__vline {
    left: 18px;
  }

  .pr-hero__h1 {
    font-size: clamp(2.4rem, 9vw, 2.8rem);
  }

  .pr-hero__eyebrow {
    margin-bottom: 28px;
  }

  .pr-hero__desc {
    font-size: 15px;
  }
}


/* =========================================================
   §2 STATS — 4 contadores editoriales
   Portado de ProyectosStats JSX
   ========================================================= */

.pr-stats {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--hs-bg);
  border-bottom: 1px solid var(--hs-line-light);
  list-style: none;
}

/* Reset ul */
.pr-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hs-ink);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Cada stat: padding asimétrico del JSX (0 left en primer ítem, 32px en el resto) */
.pr-stats__item {
  padding: 28px 32px 28px 0;
  border-right: 1px solid var(--hs-line-light);
}

.pr-stats__item:first-child {
  padding-left: 0;
}

.pr-stats__item:not(:first-child) {
  padding-left: 32px;
}

.pr-stats__item:last-child {
  border-right: none;
}

/* Fila número + unidad alineados al baseline */
.pr-stats__n-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Número grande — Outfit 54/700/-0.035em */
.pr-stats__n {
  font-family: var(--hs-display, 'Outfit', sans-serif);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--hs-ink);
}

/* Unidad inline */
.pr-stats__unit {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--hs-ink-60);
}

/* Descripción debajo */
.pr-stats__desc {
  font-size: 13px;
  color: var(--hs-ink-60);
  line-height: 1.5;
  margin-top: 10px;
  max-width: 24ch;
}

/* ── Responsive ── */

/* 2 columnas: ítems 1 y 3 tienen border-right; 2 y 4 no */
@media (max-width: 960px) {
  .pr-stats {
    padding: 64px 48px;
  }

  .pr-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Resetea los bordes del desktop */
  .pr-stats__item {
    border-right: none;
    padding: 28px 24px 28px 0;
  }

  .pr-stats__item:not(:first-child) {
    padding-left: 0;
  }

  /* Borde derecho solo en col izquierda (ítems impares) */
  .pr-stats__item:nth-child(odd) {
    border-right: 1px solid var(--hs-line-light);
    padding-right: 24px;
  }

  .pr-stats__item:nth-child(even) {
    padding-left: 24px;
  }

  /* Borde inferior entre filas */
  .pr-stats__item:nth-child(1),
  .pr-stats__item:nth-child(2) {
    border-bottom: 1px solid var(--hs-line-light);
    padding-bottom: 28px;
  }

  .pr-stats__item:nth-child(3),
  .pr-stats__item:nth-child(4) {
    padding-top: 28px;
  }
}

/* 1 columna: borde inferior entre ítems, sin bordes laterales */
@media (max-width: 640px) {
  .pr-stats {
    padding: 48px 24px;
  }

  .pr-stats__grid {
    grid-template-columns: 1fr;
  }

  .pr-stats__item {
    border-right: none !important;
    border-bottom: 1px solid var(--hs-line-light);
    padding: 24px 0 !important;
  }

  .pr-stats__item:last-child {
    border-bottom: none;
  }

  .pr-stats__n {
    font-size: 44px;
  }
}


/* =========================================================
   §3 CARRUSEL FILTRABLE
   Portado de ProyectosVariantA JSX
   ========================================================= */

.pr-carrusel {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--hs-bg);
}

/* ── Header ── */
.pr-carrusel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.pr-carrusel__h2 {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 20px;
  max-width: 14ch;
  color: var(--hs-ink);
}

.pr-carrusel__h2-muted {
  color: var(--hs-ink-45);
}

.pr-carrusel__intro {
  max-width: 38ch;
  color: var(--hs-ink-60);
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 8px;
}

/* ── Filter chips ── */
.pr-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hs-line-light);
}

.pr-chips__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  margin-right: 8px;
  flex-shrink: 0;
}

.pr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hs-line-light);
  background: transparent;
  color: var(--hs-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pr-chip:hover {
  border-color: var(--hs-ink-45);
}

.pr-chip.is-active {
  border-color: var(--hs-ink);
  background: var(--hs-ink);
  color: var(--color-white);
}

.pr-chip__count {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.6;
}

/* ── Showcase grid ── */
.pr-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: 540px;
  opacity: 1;
  transition: opacity 220ms ease;
}

.pr-showcase.is-out {
  opacity: 0;
  transition: opacity 180ms ease;
}

/* Image panel (left) */
.pr-showcase__img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 540px;
}

.pr-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 46, 51, 0.05) 0%, rgba(7, 46, 51, 0.50) 100%);
}

/* Top-left: index + system badge */
.pr-showcase__idx {
  position: absolute;
  top: 24px;
  left: 28px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--color-white);
}

.pr-showcase__counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 248, 0.65);
}

.pr-showcase__idx-sep {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(250, 250, 248, 0.40);
  align-self: center;
}

.pr-showcase__system {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-yellow);
}

/* Bottom-left: sector + location + name */
.pr-showcase__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--color-white);
}

.pr-showcase__caption-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pr-showcase__sector {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.78);
}

.pr-showcase__caption-div {
  display: block;
  width: 1px;
  height: 10px;
  background: rgba(250, 250, 248, 0.40);
}

.pr-showcase__loc {
  font-size: 12px;
  font-weight: 500;
  color: rgba(250, 250, 248, 0.78);
}

.pr-showcase__name {
  color: var(--color-white);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
  margin: 0;
}

/* Info panel (right) */
.pr-showcase__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 8px;
}

.pr-showcase__infoheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.pr-showcase__ficha-label,
.pr-showcase__year-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
}

.pr-showcase__year-label {
  letter-spacing: 0.08em;
  text-transform: none;
}

.pr-showcase__desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hs-ink);
  margin-bottom: 32px;
}

/* ── Specs grid ── */
.pr-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hs-line-light);
}

.pr-spec__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--hs-line-light);
}

.pr-spec__item--left {
  border-right: 1px solid var(--hs-line-light);
  padding-right: 16px;
}

.pr-spec__item--right {
  padding-left: 20px;
}

.pr-spec__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  margin-bottom: 6px;
}

.pr-spec__v {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hs-ink);
}

.pr-showcase__techspec {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--hs-ink-60);
  line-height: 1.7;
  margin-top: 24px;
}

/* ── Navigation ── */
.pr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hs-ink);
}

.pr-nav__counter {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hs-ink);
}

.pr-nav__total {
  color: var(--hs-ink-45);
  font-weight: 500;
}

.pr-nav__btns {
  display: flex;
  gap: 10px;
}

.pr-nav__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.pr-nav__btn--prev {
  border: 1px solid var(--hs-ink-25);
  background: transparent;
  color: var(--hs-ink);
}

.pr-nav__btn--prev:hover {
  border-color: var(--hs-ink);
}

.pr-nav__btn--next {
  border: 1px solid var(--hs-ink);
  background: var(--hs-ink);
  color: var(--color-white);
}

.pr-nav__btn--next:hover {
  background: #2A2A2A;
}

/* ── Thumb strip ── */
.pr-thumbs {
  margin-top: 48px;
}

.pr-thumbs__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pr-thumbs__caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
}

.pr-thumbs__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--hs-ink-45);
}

.pr-thumbs__grid {
  display: grid;
  gap: 10px;
}

.pr-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.pr-thumb:hover {
  opacity: 0.8;
}

.pr-thumb.is-active {
  opacity: 1;
}

.pr-thumb__img {
  aspect-ratio: 1.5 / 1;
  border-radius: 6px;
  overflow: hidden;
  outline: 1px solid var(--hs-line-light);
  outline-offset: 0;
  transition: outline 0.2s ease;
}

.pr-thumb.is-active .pr-thumb__img {
  outline: 2px solid var(--hs-ink);
  outline-offset: 2px;
}

.pr-thumb__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  margin-bottom: 2px;
}

.pr-thumb__name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--hs-ink);
}

.pr-thumbs__overflow {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--hs-ink-45);
  margin-top: 14px;
  text-align: right;
}

/* ── Responsive carrusel ── */

@media (max-width: 960px) {
  .pr-carrusel {
    padding: 80px 48px 72px;
  }

  .pr-carrusel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }

  .pr-carrusel__h2 {
    font-size: 48px;
  }

  .pr-carrusel__intro {
    max-width: 100%;
    padding-bottom: 0;
  }

  .pr-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pr-showcase__img {
    min-height: 400px;
  }

  .pr-showcase__info {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .pr-spec {
    grid-template-columns: 1fr;
  }

  .pr-spec__item--left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--hs-line-light);
  }

  .pr-spec__item--right {
    padding-left: 0;
  }

  .pr-thumbs {
    display: none;
  }
}

@media (max-width: 640px) {
  .pr-carrusel {
    padding: 56px 24px 56px;
  }

  .pr-carrusel__h2 {
    font-size: 36px;
  }

  .pr-showcase__img {
    min-height: 300px;
  }

  .pr-showcase__name {
    font-size: 32px;
  }
}

/* =========================================================
   §4 COBERTURA — split 2 columnas + mapa SVG Argentina
   Portado de ProyectosCobertura (JSX ref)
   ========================================================= */

.pr-cobertura {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--hs-bg-alt);
  border-top: 1px solid var(--hs-line-light);
}

.pr-cobertura__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: stretch;
}

.pr-cobertura__left {
  padding-top: 12px;
}

.pr-cobertura__h2 {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 20px;
  max-width: 14ch;
  color: var(--hs-ink);
}

.pr-cobertura__desc {
  font-size: 16px;
  color: var(--hs-ink);
  line-height: 1.7;
  margin-top: 28px;
  max-width: 46ch;
}

.pr-cobertura__desc--sec {
  font-size: 14px;
  color: var(--hs-ink-60);
  margin-top: 16px;
}

/* Lista de sucursales */
.pr-suc-list {
  margin-top: 44px;
  border-top: 1px solid var(--hs-ink);
}

.pr-suc-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hs-line-light);
}

.pr-suc-item__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--hs-yellow);
  font-weight: 600;
}

.pr-suc-item__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hs-ink);
}

.pr-suc-item__addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--hs-ink-60);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.pr-suc-item__role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  white-space: nowrap;
}

/* Tarjeta del mapa */
.pr-map-card {
  background: var(--hs-dark-deep);
  border-radius: 18px;
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pr-map-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 35%, rgba(242,168,0,0.06), transparent 55%);
  pointer-events: none;
}

.pr-map-card__map {
  position: relative;
  flex: 1;
  min-height: 380px;
  overflow: hidden;
}

.pr-map-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Dots posicionados sobre la imagen del mapa */
.pr-map-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hs-yellow);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(242,168,0,0.25), 0 0 16px rgba(242,168,0,0.35);
  animation: pr-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes pr-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242,168,0,0.25), 0 0 16px rgba(242,168,0,0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(242,168,0,0.10), 0 0 24px rgba(242,168,0,0.20); }
}

@media (prefers-reduced-motion: reduce) {
  .pr-map-dot {
    animation: none;
  }
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 960px) {
  .pr-cobertura {
    padding: 80px 40px;
  }

  .pr-cobertura__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pr-map-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .pr-cobertura {
    padding: 64px 24px;
  }

  .pr-cobertura__h2 {
    font-size: 40px;
  }

  .pr-map-card {
    display: none;
  }
}


/* ============================================================ */
/* §5 — CTA FINAL                                               */
/* ============================================================ */

.pr-cta {
  background: var(--hs-dark-deep);
  color: var(--color-white);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

.pr-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.pr-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,31,35,0.5) 0%, var(--hs-dark-deep) 80%);
}

.pr-cta__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.pr-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
}

/* ── Copy (izquierda) ── */

.pr-cta__eyebrow {
  color: var(--hs-yellow);
}

.pr-cta__h2 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 24px;
  max-width: 18ch;
}

.pr-cta__h2-em {
  font-style: italic;
  font-weight: 600;
  color: var(--hs-yellow);
}

.pr-cta__desc {
  color: rgba(250,250,248,0.7);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 42ch;
}

/* ── Acciones (derecha) ── */

.pr-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
}

.pr-cta__btn {
  padding: 18px 28px;
  justify-content: space-between;
}

.pr-cta__btn.hs-btn--primary {
  font-size: 15px;
}

.pr-cta__btn.hs-btn--ghost-light {
  font-size: 14px;
}

.pr-cta__btn:hover {
  opacity: 0.95;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* ── Mini-stats ── */

.pr-cta__stats {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(250,250,248,0.12);
}

.pr-cta__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pr-cta__stat-value {
  font-family: var(--hs-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}

.pr-cta__stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.5);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .pr-cta {
    padding: 80px 40px;
  }

  .pr-cta__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pr-cta__btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pr-cta {
    padding: 64px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-cta .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =============================================================
   §3 MOBILE — thumb strip → carousel horizontal (≤768px)
   El bloque anterior oculta .pr-thumbs con display:none;
   aquí lo recuperamos como carousel snap.
   ============================================================= */

@media (max-width: 768px) {
  .pr-thumbs {
    display: block;
    margin-top: 32px;
    /* Extender el carousel a los bordes de la sección */
    margin-inline: -24px;
  }

  .pr-thumbs__meta {
    padding-inline: 24px;
  }

  .pr-thumbs__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4, 16px);
    padding-inline: var(--space-4, 16px);
    padding-bottom: var(--space-4, 16px);
    scrollbar-width: none;
  }

  .pr-thumbs__grid::-webkit-scrollbar {
    display: none;
  }

  .pr-thumb {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    max-width: 380px;
  }

  .pr-thumbs__overflow {
    padding-inline: 24px;
  }
}


/* =============================================================
   §3 MOBILE — filter chips → scrollable horizontal (≤640px)
   ============================================================= */

@media (max-width: 640px) {
  .pr-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-2, 8px);
    padding-bottom: var(--space-2, 8px);
    scrollbar-width: none;
    /* Extender hasta los bordes de la sección */
    margin-inline: -24px;
    padding-inline: 24px;
  }

  .pr-chips::-webkit-scrollbar {
    display: none;
  }

  .pr-chip {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
