@font-face {
  font-family: Montserrat;
  src: url("/assets/fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --orange: #8A000B;
  --pink: #fa3f6f;
  --purple: #a33c9f;
  --deep: #59060C;
  --cream: #fff7ee;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--deep);
  font-family: Montserrat, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  min-height: 860px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f4e9d9 url("/assets/fondo-cocina.png") center 46% / cover
    no-repeat;
}
.kitchenVideo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 150px;
  background: var(--orange);
  clip-path: ellipse(74% 72% at 43% 0%);
  opacity: 0.96;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 430px;
  background: linear-gradient(
    180deg,
    rgba(255, 247, 238, 0) 0%,
    rgba(255, 247, 238, 0.1) 25%,
    rgba(255, 247, 238, 0.62) 72%,
    var(--cream) 100%
  );
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.16) 18%,
    #000 55%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.16) 18%,
    #000 55%
  );
  pointer-events: none;
}
header {
  position: relative;
  z-index: 10;
  width: min(1280px, calc(100% - 64px));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}
.headerLogo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.headerLogo img {
  height: 85px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}
.headerBrand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex: 0 0 190px;
}
.headerBrand b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -1px;
}
.headerBrand i,
footer i {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  font-style: normal;
  font-size: 12px;
}
.headerBrand small {
  font-size: 8px;
  letter-spacing: 0.05em;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.navButton {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.navButton:hover {
  background: #fff;
  color: var(--orange);
  transform: translateY(-2px);
}
.navButtonPrimary {
  background: #fff;
  color: var(--orange);
}
.navButtonPrimary:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.heroScene {
  width: min(1320px, 100%);
  height: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.campaignCopy {
  position: absolute;
  z-index: 7;
  top: 8px;
  left: 50%;
  translate: -50% 0;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(0 2px 3px rgba(111, 34, 24, 0.18));
}
.campaignCopy p {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 7px rgba(98, 30, 20, 0.22);
}
.campaignCopy p b {
  font-weight: 850;
}
.campaignCopy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 390px;
  padding: 7px 20px 8px;
  border: 2px solid #fff;
  border-radius: 9px;
  background: rgba(255, 99, 56, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 5px 16px rgba(93, 33, 24, 0.1);
  backdrop-filter: blur(3px);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 5px rgba(91, 28, 22, 0.2);
}
.campaignCopy span > b {
  font-weight: 950;
  letter-spacing: -0.055em;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.45);
}
.campaignCopy strong {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.family {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: 3px;
  width: min(43vw, 575px);
  height: 588px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 18px rgba(61, 31, 31, 0.17));
}
.happyLogo {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 24px;
  width: min(55vw, 700px);
  height: 548px;
  object-fit: contain;
  filter: drop-shadow(0 25px 16px rgba(85, 24, 93, 0.25));
}
.scrollHint {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 12px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--deep);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.scrollHint b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(80, 35, 70, 0.12);
  font-size: 15px;
}

.prizes {
  position: relative;
  z-index: 4;
  padding: 54px 32px 96px;
  background: var(--cream);
  overflow: hidden;
}
.fadeBridge {
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--cream));
}
.sectionTitle {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 54px;
}
.sectionTitle p,
.sectionTitle h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 0.9;
  letter-spacing: -3px;
  font-weight: 900;
}
.sectionTitle p {
  color: #ef4539;
}
.sectionTitle h1 {
  color: #96398e;
  margin-bottom: 20px;
}
.sectionTitle span {
  color: #796477;
  font-size: 15px;
  font-weight: 600;
}
.prizeGrid {
  width: min(1240px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.prizePanel {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  border-radius: 80px 80px 30px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 50px rgba(81, 36, 74, 0.11);
}
.prizePanel.pink {
  background: var(--pink);
}
.prizePanel.orange {
  background: #ff7a36;
}
.prizePanel.purple {
  background: #ad50aa;
}
.prizePanel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  left: 50%;
  top: 70px;
  translate: -50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.045);
}
.productShelf {
  position: relative;
  z-index: 2;
  height: 390px;
  padding: 20px 18px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}
.productShelf figure {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}
.productShelf img {
  width: 100%;
  height: 305px;
  object-fit: contain;
  filter: drop-shadow(0 18px 13px rgba(68, 17, 62, 0.27));
  transition: transform 0.35s ease;
}
.productShelf.count2 img {
  height: 280px;
}
.productShelf figure:hover img {
  transform: translateY(-9px) scale(1.035);
}
.productShelf figcaption {
  min-height: 49px;
  max-width: 165px;
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
}
.threshold {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 20px 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}
.threshold small,
.threshold span {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.threshold strong {
  display: block;
  font-size: 53px;
  line-height: 0.95;
  letter-spacing: -2px;
}

.consult {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
  position: relative;
  padding: 5px 6px 5px 14px;
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(135, 48, 28, 0.22);
}
.consultInner {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.consult h2 {
  margin: 0;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.consult form {
  min-width: 0;
  display: flex;
  padding: 3px;
  background: #fff;
  border-radius: 10px;
  box-shadow: none;
}
.consult input {
  flex: 1;
  min-width: 0;
  min-height: 32px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--deep);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}
.consult input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(163, 60, 159, 0.35);
  border-radius: 8px;
}
.consult button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 16px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transition: background 0.2s;
}
.consult button:hover {
  background: var(--orange);
}
.consult button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.brands {
  padding: 66px 0 75px;
  background: #fff;
  overflow: hidden;
}
.brands > p {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.19em;
  color: #a13e99;
  font-weight: 900;
  margin: 0 0 30px;
}
.marquee {
  overflow: hidden;
  margin: 12px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.marqueeTrack {
  width: max-content;
  display: flex;
  gap: 40px;
  animation: slide 90s linear infinite;
}
.marqueeTrack.reverse {
  animation-direction: reverse;
  animation-duration: 100s;
}
.marqueeTrack img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
footer {
  min-height: 145px;
  padding: 38px max(5vw, 32px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 42px;
  color: #78332e;
}
.footerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 12px;
}
.footerLegal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 48px);
}
.footerLegal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7d637c;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footerLegal button:hover,
.footerLegal button:focus-visible {
  color: #8A000B;
  transform: translateY(-2px);
}
.footerContent > p {
  margin: 0;
  color: #6a5768;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  font-weight: 600;
}
.footerPromoLogo {
  height: 52px;
  width: auto;
}
.legalModal {
  width: min(620px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: #4a294b;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(62, 21, 67, 0.35);
}
.legalModal::backdrop {
  background: rgba(41, 17, 44, 0.62);
  backdrop-filter: blur(7px);
}
.legalModalContent {
  position: relative;
  padding: clamp(30px, 6vw, 52px);
  background: linear-gradient(145deg, #fff 0%, #fff7fb 100%);
  overflow-y: auto;
}
.legalModalContent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #f26d35, #c23ca0, #7f4bc2);
}
.legalModalContent form {
  position: absolute;
  top: 16px;
  right: 16px;
}
.legalModalClose {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f7e8f1;
  color: #7d3f73;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.legalModalClose:hover,
.legalModalClose:focus-visible {
  transform: rotate(8deg) scale(1.06);
  background: #f1d6e8;
}
.legalModal h2 {
  max-width: calc(100% - 40px);
  margin: 0 0 20px;
  color: #8d347f;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.15;
}
.legalModal p {
  margin: 0;
  color: #6f6070;
  font-size: 14px;
  line-height: 1.75;
}

/* ── Legal document dynamic states ── */
.legalDocumentBody {
  margin-top: 8px;
}
.legalPendiente {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 40px 20px;
  color: #999;
}
.legalPendiente p {
  color: #777;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.legalPendiente small {
  color: #aaa;
  font-size: 12px;
}
.legalLoading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 50px 20px;
}
.legalLoading p {
  color: #999;
  font-size: 14px;
}
.legalVersionInfo {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.legalDocHtml {
  color: #4e5d78;
  font-size: 14px;
  line-height: 1.75;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 6px;
}
.legalDocHtml h2, .legalDocHtml h3, .legalDocHtml h4 {
  color: #59060C;
  margin: 16px 0 8px;
}
.legalDocHtml p {
  margin: 0 0 10px;
}
.legalDocHtml li {
  margin-left: 20px;
  margin-bottom: 4px;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  header {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    padding-block: 8px;
  }
  nav {
    gap: 7px;
  }
  .navButton {
    padding-inline: 12px;
    font-size: 9px;
  }
  .consult {
    flex-basis: 100%;
    max-width: 100%;
    order: 2;
  }
  nav {
    order: 1;
    width: 100%;
    justify-content: flex-end;
  }
  .headerLogo {
    order: 0;
    margin-inline: auto;
  }
  header {
    flex-wrap: wrap;
  }
  nav[aria-label="Navegación principal"] {
    display: none;
  }
  .consultInner {
    grid-template-columns: auto minmax(200px, 1fr);
    gap: 10px;
  }
  .hero {
    padding-bottom: 70px;
    background-position: 60% center;
  }
  .hero::before {
    height: 260px;
    clip-path: ellipse(120% 88% at 50% 0%);
    z-index: 1;
  }
  header {
    position: relative;
    z-index: 10;
    border-bottom: 0;
  }
  .consult {
    position: relative;
    z-index: auto;
    margin-top: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .kitchenVideo {
    object-position: 60% center;
  }
  .heroScene {
    height: 890px;
  }
  .campaignCopy {
    top: 16px;
  }
  .family {
    left: 50%;
    translate: -50% 0;
    bottom: 55px;
    width: 600px;
    max-width: 86vw;
    height: 490px;
  }
  .happyLogo {
    right: auto;
    left: 50%;
    translate: -50% 0;
    top: 140px;
    bottom: auto;
    width: 620px;
    max-width: 92vw;
    height: 390px;
  }
  .scrollHint {
    bottom: 14px;
  }
  .prizeGrid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .prizePanel {
    min-height: 500px;
  }
  .productShelf {
    height: 355px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footerContent {
    grid-column: 1;
    align-items: center;
  }
  .footerContent > p {
    text-align: center;
  }
}
@media (max-width: 540px) {
  header {
    min-height: auto;
    padding-block: 9px;
    align-items: center;
    flex-direction: column;
    gap: 0;
  }
  .headerLogo {
    margin: 0 auto;
  }
  nav[aria-label="Navegación principal"] {
    display: none;
  }
  .hero {
    padding-bottom: 70px;
  }
  .hero::before {
    height: 255px;
    clip-path: ellipse(125% 90% at 50% 0%);
    z-index: 1;
  }
  .hero::after {
    height: 390px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  header {
    position: relative;
    z-index: 10;
    border-bottom: 0;
  }
  .consult {
    position: relative;
    z-index: auto;
    max-width: 100%;
    margin-top: 0;
    padding: 4px 8px 10px;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .consultInner {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }
  .consult h2 {
    font-size: 11px;
  }
  .consult form {
    border-radius: 9px;
    padding: 3px;
  }
  .consult input {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 12px;
    text-align: left;
  }
  .consult button {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 11px;
  }
  .campaignCopy {
    top: 12px;
    width: calc(100% - 24px);
    white-space: normal;
  }
  .campaignCopy p {
    font-size: 18px;
  }
  .campaignCopy span {
    min-width: 0;
    max-width: 100%;
    font-size: 17px;
    gap: 8px;
    padding: 4px 10px 5px;
  }
  .campaignCopy strong {
    font-size: 16px;
    padding-left: 8px;
  }
  .heroScene {
    height: 725px;
  }
  .happyLogo {
    top: 65px;
    height: 305px;
  }
  .family {
    height: 360px;
    bottom: 50px;
    max-width: 90vw;
  }
  .scrollHint {
    bottom: 10px;
    z-index: 8;
  }
  .prizes {
    padding-inline: 14px;
  }
  .sectionTitle p,
  .sectionTitle h1 {
    letter-spacing: -1.8px;
  }
  .sectionTitle p {
    font-size: 38px;
  }
  .sectionTitle h1 {
    font-size: 45px;
  }
  .prizePanel {
    border-radius: 50px 50px 24px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marqueeTrack {
    animation: none;
  }
  .kitchenVideo {
    display: none;
  }
}

/* ===== Modal de resultado de saldo ===== */
.resultModal {
  width: min(560px, 92vw);
  max-width: 560px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--deep);
  box-shadow: 0 30px 80px rgba(60, 12, 65, 0.45);
  overflow: hidden;
}
.resultModal::backdrop {
  background: rgba(40, 8, 44, 0.72);
  backdrop-filter: blur(6px);
}
.resultModal[open] {
  animation: modalIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28) both;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.closeModalForm {
  margin: 0;
}
.closeModalBtn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  background: #f0e6ef;
  color: var(--deep);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  z-index: 2;
}
.closeModalBtn:hover {
  background: #e1d1df;
  transform: scale(1.05);
}
.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 45px 28px 35px;
  text-align: center;
  background: transparent;
}
.modalContent h3 {
  margin: 0 40px 2px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}
.modalSaludo {
  margin: 0;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.1;
  color: var(--deep);
}
.modalSaludo strong {
  font-weight: 900;
}
.modalPremioTexto {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 550;
  color: #6a4a6e;
}
.montoTotal {
  display: inline-block;
  margin: 0 3px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--orange);
}
.modalProductoPrincipal {
  width: 100%;
  margin: 4px 0 0;
  padding: 12px 16px 10px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff6ee, #f8eaf6);
}
.modalProductoPrincipal img {
  width: min(280px, 65vw);
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(70, 25, 68, 0.2));
  animation: floatPrize 4s ease-in-out infinite;
}
.modalProductoPrincipal figcaption {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--deep);
}
.modalCarousel {
  width: 100%;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #f1e7f0;
}
.modalCarousel.modalCarousel2,
.modalCarousel.modalCarousel1 {
  justify-content: center;
  overflow-x: visible;
}
.modalCarousel::-webkit-scrollbar {
  height: 7px;
}
.modalCarousel::-webkit-scrollbar-track {
  background: #f1e7f0;
  border-radius: 99px;
}
.modalCarousel::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 99px;
}
.modalCarousel figure {
  flex: 0 0 160px;
  min-height: 165px;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  border: 1px solid #eee2ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(70, 25, 68, 0.08);
}
.modalCarousel figure.figPrincipal {
  flex: 0 0 220px;
  min-height: 200px;
  background: linear-gradient(145deg, #fff6ee, #f8eaf6);
  border-color: #f1cbe4;
}
.modalCarousel figure.figPrincipal img {
  height: 140px;
  animation: floatPrize 4s ease-in-out infinite;
}
.modalCarousel img {
  width: 100%;
  height: 112px;
  object-fit: contain;
}
.modalCarousel figcaption {
  font-size: 11px;
  font-weight: 800;
  color: var(--deep);
}
@keyframes floatPrize {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.btnSecundario {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
  font-size: 15px;
}
@media (max-width: 540px) {
  .resultModal {
    width: 92vw;
  }
  .modalContent {
    padding: 30px 18px 22px;
    gap: 10px;
  }
  .closeModalBtn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}

/* Consulta CSV dinámica */
.hidden { display: none !important; }
.consultaSpinner { align-items: center; justify-content: center; gap: .65rem; margin-top: .75rem; color: #fff; font-weight: 700; }
.consultaSpinner:not(.hidden) { display: flex; }
.spinner { width: 1.25rem; height: 1.25rem; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: consulta-spin .7s linear infinite; }
.noResultadoIcon { font-size: 3rem; margin: 1rem 0; }
.modalMensaje { font-size: 1.1rem; font-weight: 700; color: #59060C; }
.modalAyuda { color: #666; font-size: .9rem; }
.modalNivel { background: #fde8ea; color: #8A000B; padding: .75rem 1rem; border-radius: .75rem; font-weight: 700; margin: 1rem 0; }
@keyframes consulta-spin { to { transform: rotate(360deg); } }

/* â•â• Consent checkboxes â•â• */
.consultaConsentimientos {
  display: flex; flex-direction: column; gap: 6px;
  margin: 10px 0 6px; text-align: left;
}
.consultaConsentimiento {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .78rem; color: #fff; cursor: pointer;
  line-height: 1.35;
}
.consultaConsentimiento input[type="checkbox"] {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px;
  accent-color: #F5C518; cursor: pointer;
}
.legalInlineLink {
  background: none; border: none; padding: 0; margin: 0;
  color: #F5C518; text-decoration: underline; cursor: pointer;
  font: inherit; display: inline;
}
.legalInlineLink:hover { color: #ffd700; }
@keyframes shake-it {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}
.shake { animation: shake-it .35s ease-in-out; }

/* â•â• ARCO Form in legal modal â•â• */
.legalModalWide .legalModalContent { max-width: 520px; }
.arcoField { margin-bottom: 14px; text-align: left; }
.arcoField label {
  display: block; font-weight: 600; font-size: .85rem;
  color: #59060C; margin-bottom: 4px;
}
.arcoField input,
.arcoField select,
.arcoField textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: .9rem; font-family: inherit;
  background: #fafafa; transition: border-color .2s;
}
.arcoField input:focus,
.arcoField select:focus,
.arcoField textarea:focus {
  border-color: #8A000B; outline: none; background: #fff;
}
.arcoSubmitBtn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 12px 20px;
  background: linear-gradient(135deg, #8A000B 0%, #59060C 100%);
  color: #fff; border: none; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.arcoSubmitBtn:hover { transform: scale(1.02); box-shadow: 0 4px 14px rgba(138,0,11,.35); }
.arcoSubmitBtn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.arcoResultado {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; text-align: center;
}
.arcoResultadoExito { background: #d4edda; color: #155724; }
.arcoResultadoError { background: #f8d7da; color: #721c24; }

/* â•â• Paso 2: Titular encontrado + consentimiento â•â• */
.paso2Consentimiento {
  margin-top: 10px;
  animation: fadeSlideIn .35s ease-out;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.titularEncontrado {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px; padding: 8px 14px;
  margin-bottom: 8px; text-align: left;
}
.titularSaludo {
  font-size: .75rem; color: rgba(255,255,255,.7); margin: 0;
}
.titularNombre {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 2px 0 0;
}
.continuarBtn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 10px 18px; margin-top: 8px;
  background: linear-gradient(135deg, #59060C 0%, #8A000B 100%);
  color: #fff; border: none; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.continuarBtn:hover:not(:disabled) { transform: scale(1.02); }
.continuarBtn:disabled {
  opacity: .45; cursor: not-allowed; filter: grayscale(.5);
}

/* ══ Modal de Consentimiento (paso 2) — blanco dominante ══ */
.consentModal {
  max-width: 96vw;
  width: min(620px, 96vw);
  padding: 0;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  color: #59060C;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.consentModal::backdrop {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
}
.consentModalContent {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.consentModal .closeModalBtn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  color: #59060C;
  font-size: 28px;
  line-height: 1;
  padding: 4px 10px;
  border: none;
  cursor: pointer;
  z-index: 1;
}
.consentModalTitle {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin: 0;
  color: #59060C;
}
.consentTitular {
  background: #f8f4f5;
  border: 1px solid #e0d0d2;
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
}
.consentTitularLabel {
  margin: 0;
  font-size: .78rem;
  color: #999;
}
.consentTitularNombre {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #59060C;
}
.consentModalDesc {
  margin: 0;
  text-align: center;
  font-size: .85rem;
  line-height: 1.45;
  color: #777;
}
.consentChecks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consentCheck {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f4f5;
  border: 1px solid #e0d0d2;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .8rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.consentCheck:hover {
  background: #f0e8e9;
  border-color: #c9b3b5;
}
.consentCheck input[type='checkbox'] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #59060C;
  cursor: pointer;
}
.consentCheck .legalInlineLink {
  background: transparent;
  border: none;
  color: #59060C;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}
.continuarBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #59060C 0%, #8A000B 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.continuarBtn:hover:not(:disabled) { transform: translateY(-1px); }
.continuarBtn:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.6);
}
.consentCheck.shake {
  animation: shake .5s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@media (max-width: 480px) {
  .consentModal { width: 94vw; }
  .consentModalContent { padding: 24px 20px 28px; }
  .consentModalTitle { font-size: 1.1rem; }
  .consentTitularNombre { font-size: 1rem; }
  .consentCheck { font-size: .75rem; padding: 9px 12px; gap: 8px; }
  .consentCheck input[type='checkbox'] { width: 16px; height: 16px; min-width: 16px; }
  .continuarBtn { font-size: .95rem; padding: 13px 16px; }
}


/* ══ Modal ¿Cómo participo? — pasos 1, 2, 3 ══ */
.participationModal {
  width: min(600px, 94vw);
  max-width: 94vw;
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: 22px;
  background: #fff;
  color: #59060C;
  box-shadow: 0 28px 80px rgba(0,0,0,.48);
  overflow: auto;
}
.participationModal::backdrop {
  background: rgba(38, 5, 8, .72);
  backdrop-filter: blur(5px);
}
.participationModalContent {
  position: relative;
  padding: 32px 34px 34px;
}
.participationModalClose {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f5eff0;
  color: #59060C;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.participationModalClose:hover { background: #eadcdf; transform: rotate(5deg); }
.participationEyebrow {
  display: block;
  margin-bottom: 5px;
  color: #8A000B;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.participationModal h2 {
  margin: 0;
  color: #59060C;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.15;
}
.participationIntro {
  margin: 10px 0 22px;
  color: #75666a;
  font-size: .9rem;
  line-height: 1.55;
}
.participationSteps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.participationSteps li {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #eadfe1;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #faf6f7 100%);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.participationSteps li:hover {
  transform: translateX(3px);
  border-color: #cfb2b7;
  box-shadow: 0 7px 20px rgba(89,6,12,.08);
}
.participationNumber {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #59060C;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(89,6,12,.22);
}
.participationCopy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.participationCopy strong {
  color: #59060C;
  font-size: .95rem;
}
.participationCopy span {
  color: #75666a;
  font-size: .78rem;
  line-height: 1.45;
}
.participationNotice {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  padding: 11px 14px;
  border-radius: 11px;
  background: #f7f2f3;
  color: #75666a;
  font-size: .72rem;
  line-height: 1.4;
}
.participationNotice strong { color: #59060C; white-space: nowrap; }
.participationCta {
  width: 100%;
  margin-top: 17px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #59060C, #8A000B);
  color: #fff;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.participationCta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(89,6,12,.25); }

@media (max-width: 480px) {
  .participationModal { width: 94vw; max-height: 90vh; border-radius: 18px; }
  .participationModalContent { padding: 27px 19px 24px; }
  .participationModal h2 { font-size: 1.45rem; }
  .participationIntro { font-size: .8rem; margin-bottom: 16px; }
  .participationSteps { gap: 9px; }
  .participationSteps li { min-height: 72px; padding: 11px 12px; gap: 11px; }
  .participationNumber { flex-basis: 38px; width: 38px; height: 38px; font-size: 1rem; }
  .participationCopy strong { font-size: .84rem; }
  .participationCopy span { font-size: .69rem; line-height: 1.38; }
  .participationNotice { flex-direction: column; gap: 3px; font-size: .66rem; }
  .participationCta { font-size: .84rem; padding: 12px 16px; }
}
