@font-face {
  font-family: "Montserrat";
  src: url("../public/assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

[data-parallax] {
  will-change: transform;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0.6px, transparent 0.6px) 0 0/90px 90px,
    radial-gradient(circle, rgba(255, 244, 200, 0.18) 0.8px, transparent 0.8px) 0 0/140px 140px,
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 40px 60px/160px 160px,
    radial-gradient(circle at 18% 22%, rgba(233, 47, 0, 0.4), transparent 60%),
    radial-gradient(circle at 82% 14%, rgba(233, 86, 24, 0.24), transparent 62%),
    radial-gradient(circle at 52% 88%, rgba(233, 47, 0, 0.16), transparent 70%),
    #050505;
  color: #f5f6fa;
  line-height: 1.75;
  opacity: 0;
  transition: opacity 0.45s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0.7px, transparent 0.7px),
    radial-gradient(circle, rgba(255, 244, 200, 0.18) 1px, transparent 1px);
  background-size: 110px 110px, 180px 180px;
  opacity: 0.22;
  animation: bodyStars 50s linear infinite;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    url("../public/assets/stars/star1.png"),
    url("../public/assets/stars/star2.png"),
    url("../public/assets/stars/star3.png"),
    url("../public/assets/stars/star2.png"),
    url("../public/assets/stars/star1.png"),
    url("../public/assets/stars/star3.png"),
    url("../public/assets/stars/star2.png"),
    url("../public/assets/stars/star1.png"),
    url("../public/assets/stars/star3.png"),
    url("../public/assets/stars/star2.png");
  background-position:
    6% 16%,
    24% 44%,
    50% 14%,
    70% 34%,
    86% 18%,
    14% 70%,
    42% 80%,
    62% 62%,
    76% 84%,
    92% 70%;
  background-repeat: no-repeat;
  background-size:
    48px 48px,
    36px 36px,
    64px 64px,
    30px 30px,
    44px 44px,
    32px 32px,
    40px 40px,
    34px 34px,
    52px 52px,
    28px 28px;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  animation: starDrift 60s ease-in-out infinite;
}

@keyframes bodyStars {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-120px, -90px, 0);
  }
}

@keyframes starDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, -22px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(16px, 18px, 0) scale(1);
  }
}

body.is-loaded {
  opacity: 1;
}

body.is-exiting {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 3rem), 880px);
  margin: 0 auto;
}

.container--full {
  width: calc(100% - 2rem);
  max-width: none;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container--full {
    width: calc(100% - 1.5rem);
  }
}

.site-header {
  position: relative;
  padding: 4.2rem 0 3.2rem;
  background:
    linear-gradient(205deg, rgba(12, 8, 8, 0.97), rgba(45, 10, 0, 0.94) 45%, rgba(0, 0, 0, 0.95)),
    radial-gradient(circle at 18% 22%, rgba(233, 47, 0, 0.45), transparent 58%),
    radial-gradient(circle at 82% 12%, rgba(233, 104, 46, 0.28), transparent 60%);
  border-bottom: 1px solid rgba(248, 228, 141, 0.18);
  box-shadow: inset 0 -1px 0 rgba(248, 228, 141, 0.08);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -20%;
  height: 240%;
  background: radial-gradient(circle, rgba(233, 104, 46, 0.32), transparent 60%);
  opacity: 0.6;
  animation: headerGlow 16s ease-in-out infinite alternate;
  will-change: transform;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0.7px, transparent 0.7px),
    radial-gradient(circle, rgba(233, 104, 46, 0.26) 1px, transparent 1px), linear-gradient(transparent, transparent);
  background-size: 40px 40px, 66px 66px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.3;
  animation: heroTwinkle 45s linear infinite, glitterDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: clamp(2px, 0.35vw, 4px);
  height: clamp(2px, 0.35vw, 4px);
  border-radius: 50%;
  background: rgba(255, 236, 200, 0.8);
  box-shadow: 0 0 12px rgba(255, 236, 200, 0.85);
  animation: particleFloat var(--duration, 24s) var(--timing, ease-in-out) infinite;
  opacity: 0;
}

.hero-particles span::after {
  content: "";
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(255, 236, 200, 0.35), transparent 70%);
  filter: blur(3px);
}

.hero-particles span:nth-child(odd) {
  background: rgba(255, 198, 115, 0.85);
  box-shadow: 0 0 14px rgba(255, 198, 115, 0.82);
}

@keyframes glitterDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 42px -42px, -54px 54px, 0 0;
  }
}

@keyframes particleFloat {
  0% {
    transform: translate3d(var(--x-start), var(--y-start), 0) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--x-end), var(--y-end), 0) scale(1.15);
    opacity: 0;
  }
}

.site-header__brand {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2.4rem;
  z-index: 1;
}

.site-header__brand img {
  width: clamp(240px, 32vw, 380px);
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.45));
  max-width: 100%;
}

@media (max-width: 480px) {
  .site-header__brand img {
    width: min(72vw, 300px);
  }
}

.site-header h1 {
  display: none;
}

.site-header p {
  position: relative;
  z-index: 1;
  color: #d9def0;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.section {
  padding: 3.8rem 0;
  border-top: 1px solid rgba(233, 86, 24, 0.16);
}

.section--accent {
  background: linear-gradient(170deg, rgba(56, 8, 0, 0.9), rgba(18, 2, 0, 0.94));
  border-top-color: rgba(233, 86, 24, 0.24);
  border-bottom: 1px solid rgba(233, 86, 24, 0.24);
  color: #fde4d6;
}

.section--light {
  background: linear-gradient(185deg, rgba(255, 225, 210, 0.18), rgba(48, 8, 4, 0.48));
  color: #2b1410;
  backdrop-filter: blur(6px);
  padding-bottom: 4.5rem;
}

.section__panel {
  position: relative;
  padding: 2.85rem;
  border-radius: 28px;
  background: linear-gradient(152deg, rgba(36, 10, 6, 0.95), rgba(10, 0, 0, 0.92));
  border: 1px solid rgba(233, 86, 24, 0.34);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.section__panel::before {
  content: "";
  position: absolute;
  inset: -55% 45% auto -15%;
  height: 260%;
  background: radial-gradient(circle, rgba(233, 86, 24, 0.24), transparent 65%);
  transform: rotate(14deg);
  pointer-events: none;
}

.section__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.section__shine {
  position: absolute;
  top: -70%;
  left: -60%;
  width: 220%;
  height: 260%;
  background: radial-gradient(ellipse at center, rgba(233, 86, 24, 0.25) 0%, rgba(233, 86, 24, 0) 70%);
  animation: shineSweep 12s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.section__panel--accent .section__shine {
  background: radial-gradient(ellipse at center, rgba(233, 104, 46, 0.32) 0%, rgba(233, 104, 46, 0) 70%);
  opacity: 0.55;
}

.section__panel--light .section__shine {
  background: radial-gradient(ellipse at center, rgba(255, 210, 182, 0.5) 0%, rgba(255, 210, 182, 0) 70%);
  mix-blend-mode: soft-light;
  opacity: 0.6;
}

.section__panel p,
.section__panel ul {
  position: relative;
  z-index: 1;
}

.section__panel a {
  position: relative;
  z-index: 1;
  color: rgba(248, 228, 141, 0.95);
}

.section__panel--accent {
  background: linear-gradient(160deg, rgba(58, 12, 0, 0.94), rgba(22, 4, 0, 0.9));
  border-color: rgba(233, 104, 46, 0.42);
}

.section__panel--accent::before {
  background: radial-gradient(circle, rgba(233, 104, 46, 0.28), transparent 65%);
}

.section__panel--light {
  background: linear-gradient(150deg, rgba(255, 235, 223, 0.88), rgba(255, 219, 199, 0.85));
  border-color: rgba(48, 8, 4, 0.15);
  color: #2b1410;
  box-shadow: 0 24px 55px rgba(10, 15, 32, 0.22);
}

.section__panel--light::before {
  background: radial-gradient(circle, rgba(233, 104, 46, 0.18), transparent 70%);
}

.section__panel--light::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 65%);
}

.section__panel--light p,
.section__panel--light ul {
  color: #4b2016;
}

.section__panel--light a {
  color: #a53610;
}

.section__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: rgba(248, 228, 141, 0.78);
  z-index: 1;
}

.section__title h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.55rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fdf8e7;
}

.section__panel--light .section__title {
  color: #a53610;
}

.section__panel--light .section__title h2 {
  color: #2b1410;
}

.section__title--center {
  flex-direction: column;
  text-align: center;
  gap: 0.75rem;
}

.section__icon {
  width: clamp(38px, 6vw, 56px);
  height: auto;
  filter: drop-shadow(0 15px 24px rgba(0, 0, 0, 0.45));
}

.section p {
  margin-bottom: 1.5rem;
  color: #f8d9c5;
}

.section__panel--light p {
  color: #4b2016;
}

.section ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
  color: #f8d9c5;
}

.section__panel--light ul {
  color: #4b2016;
}

.section--light .container {
  color: #2b1410;
}

.logos-panel {
  position: relative;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(10, 15, 32, 0.3);
  border: 1px solid rgba(15, 19, 32, 0.12);
  text-align: center;
  overflow: hidden;
  color: #1d2233;
}

.logos-panel::before {
  content: "";
  position: absolute;
  inset: -60% 30% auto -10%;
  height: 240%;
  background: radial-gradient(circle, rgba(248, 228, 141, 0.26) 0%, rgba(248, 228, 141, 0) 70%);
  opacity: 0.5;
  pointer-events: none;
}

.logos-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}

.logos-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 19, 32, 0.08), 0 14px 30px rgba(10, 15, 32, 0.24);
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
}

.logos-carousel::before,
.logos-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(36px, 7vw, 110px);
  pointer-events: none;
  z-index: 2;
}

.logos-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, transparent 100%);
}

.logos-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.96) 0%, transparent 100%);
}

.logos-carousel__track {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  animation: logos-scroll 18s linear infinite;
}

.logos-carousel__track img {
  flex: 0 0 auto;
  height: clamp(60px, 9vw, 90px);
  width: auto;
  display: block;
  transition: transform 200ms ease;
}

.logos-carousel:hover .logos-carousel__track {
  animation-play-state: paused;
}

.logos-carousel:hover .logos-carousel__track img {
  transform: scale(1.01);
}

.list-inline {
  list-style: disc;
}

.note {
  margin-top: 2rem;
  font-style: italic;
}

.site-footer {
  padding: 2.6rem 1.5rem;
  text-align: center;
  background: rgba(12, 16, 28, 0.9);
  border-top: 1px solid rgba(248, 228, 141, 0.16);
  color: #cbd2e3;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  body {
    line-height: 1.8;
  }

  .section__panel {
    padding: 2.2rem;
  }

  .section__panel * {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .section__title {
    flex-direction: column;
    text-align: center;
    gap: 0.7rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .logos-carousel::before,
  .logos-carousel::after {
    width: clamp(14px, 6vw, 35px);
  }

  .logos-carousel__track {
    gap: clamp(14px, 4vw, 36px);
    animation: logos-scroll 12s linear infinite;
  }

  .logos-carousel__track img {
    height: clamp(70px, 16vw, 110px);
  }
}

@keyframes logos-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes headerGlow {
  0% {
    transform: translateX(-20%) rotate(12deg);
    opacity: 0.45;
  }
  100% {
    transform: translateX(18%) rotate(12deg);
    opacity: 0.75;
  }
}

@keyframes heroShimmer {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }
  45% {
    opacity: 0.45;
  }
  55% {
    opacity: 0.45;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-35%) rotate(10deg);
    opacity: 0.35;
  }
  50% {
    transform: translateX(0) rotate(10deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(35%) rotate(10deg);
    opacity: 0.35;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#beneficios-dinero.section {
  padding-bottom: 5.5rem;
}

#beneficios-dinero .section__panel {
  margin-bottom: 2.5rem;
}

.benefit-subtitle {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78em;
  color: rgba(248, 228, 141, 0.85);
  margin-bottom: 0.65rem;
}

.hero__actions {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 2.2rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(248, 228, 141, 0.2);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  text-decoration: none;
  background: rgba(17, 23, 39, 0.82);
  color: rgba(248, 228, 141, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(21, 27, 45, 0.9);
  border-color: rgba(248, 228, 141, 0.35);
}

.btn--primary {
  background: rgba(21, 27, 45, 0.92);
  color: rgba(248, 228, 141, 0.92);
  border-color: rgba(248, 228, 141, 0.32);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: rgba(25, 33, 54, 0.95);
  box-shadow: 0 10px 26px rgba(10, 13, 22, 0.55);
}

.btn--ghost {
  background: transparent;
  color: rgba(248, 228, 141, 0.85);
  border-color: rgba(248, 228, 141, 0.32);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-1px);
  background: rgba(21, 27, 45, 0.4);
  border-color: rgba(248, 228, 141, 0.45);
}

.page-beneficios .section__panel {
  opacity: 0;
  transform: translateY(48px);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
}

.page-beneficios .section__panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-beneficios .section__title,
.page-beneficios .section__shine,
.page-beneficios .section__panel p,
.page-beneficios .section__panel ul,
.page-beneficios .section__panel .benefit-subtitle,
.page-beneficios .section__panel .note {
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 0;
  transform: translateY(14px);
}

.page-beneficios .section__panel.is-visible .section__title,
.page-beneficios .section__panel.is-visible .section__shine,
.page-beneficios .section__panel.is-visible p,
.page-beneficios .section__panel.is-visible ul,
.page-beneficios .section__panel.is-visible .benefit-subtitle,
.page-beneficios .section__panel.is-visible .note {
  opacity: 1;
  transform: translateY(0);
}

/* Regional pages */
.page-regional {
  color: #f5f6fa;
}

.page-regional main {
  position: relative;
  z-index: 1;
}

.regional-hero {
  position: relative;
  padding: clamp(2.8rem, 8vw, 5rem) 1.5rem clamp(3.2rem, 9vw, 5rem);
  background:
    radial-gradient(circle at 16% 20%, rgba(233, 47, 0, 0.55), transparent 58%),
    radial-gradient(circle at 82% 24%, rgba(233, 104, 46, 0.32), transparent 62%),
    linear-gradient(200deg, rgba(10, 6, 6, 0.98), rgba(38, 6, 0, 0.95) 40%, rgba(0, 0, 0, 0.94));
  overflow: hidden;
}

.regional-hero__spotlights {
  position: absolute;
  inset: -30% -10% -40%;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 190, 120, 0.45), transparent 62%),
    radial-gradient(ellipse at 80% 18%, rgba(255, 220, 150, 0.35), transparent 65%),
    radial-gradient(ellipse at 50% 120%, rgba(233, 47, 0, 0.3), transparent 65%);
  filter: blur(12px);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: regionalSweep 18s ease-in-out infinite alternate;
}

@keyframes regionalSweep {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(18px, -22px, 0) scale(1.04);
  }
}

.regional-hero__container {
  width: min(calc(100% - 3rem), 1020px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.regional-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.regional-hero__top .btn {
  backdrop-filter: blur(4px);
}

.regional-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 228, 141, 0.32);
  background: rgba(248, 228, 141, 0.08);
  color: rgba(248, 228, 141, 0.92);
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.regional-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 3.5rem);
  align-items: center;
}

.regional-hero__brand {
  display: flex;
  justify-content: center;
}

.regional-hero__brand img {
  width: clamp(240px, 30vw, 360px);
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.52));
}

.regional-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.4rem);
}

.regional-hero__content > * {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.85s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.95s ease;
}

body.is-loaded .regional-hero__content > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.is-loaded .regional-hero__content > *:nth-child(1) {
  transition-delay: 0.2s;
}

body.is-loaded .regional-hero__content > *:nth-child(2) {
  transition-delay: 0.35s;
}

body.is-loaded .regional-hero__content > *:nth-child(3) {
  transition-delay: 0.5s;
}

.regional-hero__content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fdf2d0;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.56), 0 0 30px rgba(248, 228, 141, 0.38);
}

.regional-hero__content p {
  margin: 0;
  color: rgba(225, 230, 246, 0.86);
  max-width: 480px;
}

.regional-hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.regional-hero__actions .btn--ghost {
  border-color: rgba(248, 228, 141, 0.42);
  color: rgba(248, 228, 141, 0.9);
}

@media (max-width: 900px) {
  .regional-hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .regional-hero__content p {
    margin-inline: auto;
  }

  .regional-hero__actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .regional-hero__top {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .regional-hero__tag {
    justify-content: center;
  }
}

.regional-flipbook {
  padding: clamp(3rem, 9vw, 5rem) clamp(1.2rem, 3vw, 2rem) clamp(3.5rem, 9vw, 5.5rem);
  background: linear-gradient(188deg, rgba(58, 9, 0, 0.9), rgba(8, 0, 0, 0.94));
}

.regional-flipbook__panel {
  background: linear-gradient(152deg, rgba(255, 235, 223, 0.92), rgba(250, 219, 203, 0.9));
  color: #2b1410;
  box-shadow: 0 32px 65px rgba(8, 12, 32, 0.3);
  padding: clamp(2.5rem, 5vw, 4rem);
}

.page-regional .section__panel {
  opacity: 0;
  transform: translateY(48px);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
}

.page-regional .section__panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.regional-flipbook__header {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 3rem);
  color: #3b1a12;
}

.regional-flipbook__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(233, 86, 24, 0.28);
  background: rgba(233, 86, 24, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: rgba(150, 58, 24, 0.95);
  margin-bottom: 1rem;
}

.regional-flipbook__header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a2f12;
}

.regional-flipbook__header p {
  margin: 0 auto;
  max-width: 1200px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(74, 36, 24, 0.86);
}

.flipbook {
  --book-padding: clamp(0.6rem, 2vw, 1.2rem);
  --book-gap: clamp(0.55rem, 1.5vw, 0.9rem);
  width: min(calc(100% - 2rem), 1600px);
  margin: 0 auto;
  position: relative;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.flipbook__viewport {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--book-gap);
  padding: var(--book-padding);
  min-height: clamp(420px, 68vw, 600px);
  max-height: calc(100vh - 300px);
  cursor: pointer;
  align-items: center;
  justify-items: center;
  overflow: visible;
}

/* Modo de una sola página (para documentos horizontales) */
.flipbook.is-single-page .flipbook__viewport {
  grid-template-columns: 1fr;
  justify-items: center;
  overflow: hidden;
  position: relative;
}

.flipbook__page {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.98);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
  transform-origin: center;
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1) rotateY(0deg);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  backface-visibility: hidden;
  transition:
    opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mantener proporción pero permitir que se ajuste al espacio disponible */
.flipbook__page:not(.flipbook__page--empty) {
  aspect-ratio: var(--page-aspect, 0.707);
  max-height: 100%;
  height: auto;
  width: auto;
  max-width: 100%;
}


.flipbook__page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.2), transparent 55%);
  opacity: 0.4;
  pointer-events: none;
}

.flipbook__page--empty {
  background: linear-gradient(160deg, rgba(33, 10, 6, 0.92), rgba(10, 2, 0, 0.95));
  color: rgba(248, 228, 141, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.flipbook__page--empty::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 65%);
  opacity: 0.3;
}

.flipbook__glow {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(248, 228, 141, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.flipbook__glow.is-active {
  opacity: 1;
}

.flipbook__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.flipbook.is-turning .flipbook__glow::after {
  opacity: 1;
}

/* Efecto de slide - Salida */
.flipbook.is-sliding-out.is-next .flipbook__page--left {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flipbook.is-sliding-out.is-prev .flipbook__page--left {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efecto de slide - Entrada */
.flipbook.is-sliding-in.is-next .flipbook__page--left {
  animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.flipbook.is-sliding-in.is-prev .flipbook__page--left {
  animation: slideInFromLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Estado final */
.flipbook:not(.is-sliding):not(.is-turning) .flipbook__page {
  opacity: 1;
  filter: blur(0) brightness(1);
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

.flipbook__turn {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.42, 0, 0.58, 1);
  pointer-events: none;
  border-radius: 18px;
}

.flipbook__turn-front,
.flipbook__turn-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

.flipbook__turn-front {
  transform: rotateY(0deg);
}

.flipbook__turn-back {
  transform: rotateY(180deg);
}

.flipbook__controls {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.flipbook__controls .btn {
  min-width: clamp(160px, 12vw, 200px);
  padding: clamp(0.7rem, 1.2vw, 0.95rem) clamp(1.2rem, 2vw, 1.8rem);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  justify-content: center;
  gap: 0.5rem;
}

.flipbook__status {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 36, 24, 0.78);
}

.flipbook__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 28px;
  background: rgba(10, 6, 4, 0.78);
  color: rgba(248, 228, 141, 0.9);
  z-index: 5;
  text-align: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.flipbook__loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.flipbook__loader-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(248, 228, 141, 0.24);
  border-top-color: rgba(248, 228, 141, 0.9);
  animation: flipbookSpin 0.95s linear infinite;
}

.flipbook__loader--error {
  background: rgba(36, 6, 0, 0.88);
  border: 1px solid rgba(233, 86, 24, 0.4);
  color: rgba(255, 195, 165, 0.95);
}

@keyframes flipbookSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.flipbook.is-compact {
  width: min(calc(100% - 2rem), 1600px);
}

.flipbook.is-compact .flipbook__viewport {
  grid-template-columns: 1fr;
  padding: calc(var(--book-padding) + 0.3rem);
  min-height: clamp(400px, 50vh, 600px);
  max-height: calc(100vh - 280px);
  align-items: center;
}

.flipbook.is-compact .flipbook__turn {
  display: none;
}

.flipbook.is-compact .flipbook__page {
  max-width: 100%;
  max-height: 100%;
  margin-inline: auto;
  height: auto;
}

.flipbook.is-compact .flipbook__page--left {
  max-width: 100%;
}

.flipbook.is-compact .flipbook__page--right,
.flipbook.is-single-page .flipbook__page--right {
  display: none;
}

.flipbook.is-single-page {
  width: min(calc(100% - 2rem), 1600px);
}

.flipbook.is-single-page .flipbook__viewport {
  min-height: clamp(400px, 50vh, 600px);
  max-height: calc(100vh - 280px);
  padding: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.flipbook.is-single-page .flipbook__page--left {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.flipbook.is-compact .flipbook__controls {
  flex-direction: column;
}

.flipbook.is-compact .flipbook__controls .btn {
  width: 100%;
}

@media (max-width: 640px) {
  .flipbook {
    --book-padding: 0.85rem;
    width: calc(100% - 0.3rem);
  }

  .flipbook__viewport {
    min-height: clamp(300px, 50vh, 500px);
    max-height: calc(100vh - 200px);
  }

  .flipbook__controls {
    margin-top: clamp(1rem, 4vw, 1.4rem);
    gap: clamp(0.6rem, 3vw, 0.85rem);
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .flipbook__status {
    order: 2;
    width: 100%;
    text-align: center;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .flipbook__controls .btn {
    min-width: 0;
    flex: 1 1 46%;
    padding: 0.52rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    border-radius: 14px;
    order: 1;
  }
}

@media (max-width: 480px) {
  .flipbook {
    --book-padding: 0.65rem;
    width: calc(100% - 0.2rem);
  }

  .flipbook__viewport,
  .flipbook.is-compact .flipbook__viewport {
    padding: calc(var(--book-padding) + 0.2rem);
    min-height: clamp(300px, 45vh, 450px);
    max-height: calc(100vh - 180px);
  }

  .flipbook__page {
    max-width: 100%;
  }

  .flipbook__controls {
    margin-top: clamp(0.8rem, 5vw, 1.1rem);
    gap: clamp(0.45rem, 3vw, 0.7rem);
  }

  .flipbook__controls .btn {
    padding: 0.48rem 0.9rem;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
    border-radius: 12px;
  }
}

.regional-logos {
  padding-top: clamp(2.4rem, 6vw, 4rem);
}

.page-regional .site-footer {
  border-top: 1px solid rgba(248, 228, 141, 0.18);
}

/* Botón de zoom en el flipbook */
.flipbook__zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: rgba(74, 36, 24, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.flipbook.is-ready .flipbook__zoom-btn {
  opacity: 1;
  pointer-events: auto;
}

.flipbook__zoom-btn:hover,
.flipbook__zoom-btn:focus-visible {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.flipbook__zoom-btn svg {
  width: 20px;
  height: 20px;
}

/* Modal de imagen completa */
.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flipbook-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.flipbook-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.flipbook-modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
}

.flipbook-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.flipbook-modal__close:hover,
.flipbook-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.flipbook-modal__close svg {
  width: 24px;
  height: 24px;
}

.flipbook-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.flipbook-modal__nav:hover,
.flipbook-modal__nav:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.flipbook-modal__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.flipbook-modal__nav--prev {
  left: 1.5rem;
}

.flipbook-modal__nav--next {
  right: 1.5rem;
}

.flipbook-modal__nav svg {
  width: 24px;
  height: 24px;
}

.flipbook-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 95vh;
}

.flipbook-modal__image {
  max-width: 100%;
  max-height: calc(100% - 60px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalImageFadeIn 0.4s ease;
}

@keyframes modalImageFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.flipbook-modal__counter {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 768px) {
  .flipbook__zoom-btn {
    width: 40px;
    height: 40px;
    top: 0.75rem;
    right: 0.75rem;
  }

  .flipbook__zoom-btn svg {
    width: 18px;
    height: 18px;
  }

  .flipbook-modal__container {
    padding: 1rem;
  }

  .flipbook-modal__close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .flipbook-modal__nav {
    width: 48px;
    height: 48px;
  }

  .flipbook-modal__nav--prev {
    left: 0.75rem;
  }

  .flipbook-modal__nav--next {
    right: 0.75rem;
  }

  .flipbook-modal__image {
    max-height: calc(100% - 80px);
  }
}

.page-regional .btn {
  box-shadow: 0 12px 22px rgba(8, 0, 0, 0.35);
}

@media (max-width: 840px) {
  .flipbook {
    width: min(calc(100% - 0.5rem), 720px);
  }

  .flipbook__viewport {
    grid-template-columns: 1fr;
    padding: calc(var(--book-padding) + 0.5rem);
  }

  .flipbook__turn {
    display: none;
  }

  .flipbook__page {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .flipbook {
    width: calc(100% - 0.5rem);
  }

  .flipbook__controls {
    flex-direction: column;
  }

  .flipbook__controls .btn {
    width: 100%;
  }
}

.page-beneficios .section__panel.is-visible .section__shine {
  transition-delay: 0s;
}

.page-beneficios .site-header p,
.page-beneficios .hero__actions {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    filter 1.1s ease;
}

.page-beneficios.is-loaded .site-header p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.2s;
}

.page-beneficios.is-loaded .hero__actions {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.35s;
}

body:not(.is-loaded) .site-header__brand,
body:not(.is-loaded) .site-header p,
body:not(.is-loaded) .btn,
body:not(.is-loaded) .section__panel,
body:not(.is-loaded) .logos-panel {
  filter: blur(14px);
  opacity: 0;
  transform: translateY(28px);
}

body.is-loaded .site-header__brand,
body.is-loaded .site-header p,
body.is-loaded .btn,
body.is-loaded .section__panel,
body.is-loaded .logos-panel {
  transition: filter 0.85s ease, opacity 0.85s ease, transform 0.85s ease;
  filter: none;
  opacity: 1;
  transform: translateY(0);
}

/* Estilos para el flipbook mejorado con StPageFlip */
.flipbook__container {
  width: 100%;
  height: 100%;
  position: relative;
}

.flipbook__page-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipbook__page-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Ajustes para StPageFlip */
.flipbook.is-ready .flipbook__viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 68vw, 700px);
}

/* Mejoras visuales para el nuevo flipbook */
.flipbook.is-ready .flipbook__container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

