/* =========================================================
   PROMO "TODO PARA VOS" — PLUSBELLE
   Diseño base: 1920 × 1080. En desktop las medidas escalan con --u
   (1 px de diseño = 1/1920 del ancho de la ventana, sin pasar de 1px).
   ========================================================= */

:root {
  --pink: #df336d;
  --pink-dark: #b4204f;
  --pink-glow: rgba(223, 51, 109, .65);
  --gold: #e49c2e;
  --black: #040003;
  --white: #ffffff;
  --pill-dark: #403b3f;
  --pill-darker: #363035;
  --f-ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --f-legal: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --u: min(calc(100vw / 1920), 1px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (max-width: 1199px) {
  html { scroll-padding-top: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-ui);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1 0 auto; position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.link-pink { color: var(--pink); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link-pink:hover { color: #ff5c93; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.container-promo { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; }
.container-wide { max-width: 1800px; }

/* ---------- Fondos por página ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--black) center / cover no-repeat;
}
.page-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-registro .page-bg,
.page-ganadores .page-bg { background-image: url('../img/bg-ganadores.jpg'); }
.page-bases .page-bg { background-image: url('../img/bg-bases.jpg'); }
.page-carga .page-bg { display: none; }
body.page-carga {
  background: var(--black) url('../img/bg-codigo.jpg') center top / 100% auto no-repeat;
}
@media (max-width: 767px) {
  body.page-carga { background-size: 260% auto; background-position: 70% 0; }
  .page-registro .page-bg, .page-ganadores .page-bg, .page-bases .page-bg { background-position: 70% center; }
}

/* ---------- Animación de entrada ---------- */
.js .fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--fade-delay, 0ms); }
.js .fade-up.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade-up { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: max(14px, calc(22 * var(--u)));
  padding-bottom: 12px;
  background: rgba(4, 0, 3, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  display: flex; align-items: center;
  padding: 0 max(20px, calc(97 * var(--u))) 0 max(20px, calc(70 * var(--u)));
}
.brand { flex: 0 0 auto; display: block; line-height: 0; }
.brand img { width: max(120px, calc(183 * var(--u))); height: auto; }

.main-nav { flex: 1 1 auto; margin: 0 max(18px, calc(44 * var(--u))); align-self: flex-start; margin-top: max(10px, calc(24 * var(--u))); }
.main-nav ul {
  list-style: none; margin: 0; padding: 0 max(14px, calc(30 * var(--u)));
  height: max(40px, calc(51 * var(--u)));
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid var(--white); border-radius: 999px;
}
.main-nav a {
  display: block; text-decoration: none; white-space: nowrap;
  font-family: var(--f-ui); font-weight: 800; letter-spacing: -.01em;
  font-size: max(13px, calc(22 * var(--u)));
  color: var(--white); padding: 4px max(4px, calc(6 * var(--u)));
  transition: color .2s ease;
}
.main-nav a:hover { color: #ff8fb5; }
.main-nav a.active { color: var(--pink); }
.page-ganadores .main-nav a.active { color: var(--gold); }

.header-actions { flex: 0 0 auto; display: flex; align-items: center; align-self: flex-start; margin-top: max(10px, calc(23 * var(--u))); }
.nav-toggle { display: none; }

.user-chip {
  display: flex; align-items: center; gap: max(10px, calc(18 * var(--u)));
  width: max(170px, calc(258 * var(--u))); height: max(40px, calc(52 * var(--u)));
  padding: 0 max(14px, calc(30 * var(--u)));
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  color: var(--white); font-family: var(--f-ui); font-weight: 800;
  font-size: max(14px, calc(22 * var(--u)));
  cursor: pointer; transition: background .2s ease;
}
.user-chip:hover { background: rgba(255, 255, 255, .55); }
.user-chip img { width: max(24px, calc(33 * var(--u))); height: auto; flex: 0 0 auto; }
.user-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown-menu {
  --bs-dropdown-bg: #1a1418; --bs-dropdown-color: #fff; --bs-dropdown-link-color: #fff;
  --bs-dropdown-link-hover-bg: var(--pink); --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-active-bg: var(--pink); --bs-dropdown-divider-bg: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 10px; min-width: 220px;
  font-family: var(--f-ui); font-weight: 700;
}
.user-dropdown-menu .dropdown-item { border-radius: 10px; }
.user-dropdown-menu .user-name { padding: 4px 12px 0; font-weight: 800; }
.user-dropdown-menu .user-dni { padding: 0 12px 4px; font-size: .85rem; opacity: .7; }

/* ----- Header mobile / tablet: logo al centro de la pantalla; [usuario][menú] a la derecha ----- */
@media (max-width: 1199px) {
  .site-header {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px;
  }
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 58px;
    padding: 0 10px;
  }
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    line-height: 0;
    pointer-events: auto;
    max-width: min(52vw, 220px);
  }
  .brand img {
    display: block;
    width: auto;
    height: clamp(42px, 11.5vw, 56px);
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
  }
  .header-actions {
    position: relative;
    margin: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    z-index: 50;
    pointer-events: none;
  }
  .header-actions .nav-toggle,
  .header-actions .user-area {
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 51;
  }
  .nav-open .nav-toggle {
    background: rgba(255, 255, 255, .14);
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--white);
    transition: transform .28s ease, opacity .2s ease;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .user-area { flex-shrink: 0; }
  .user-chip {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  }
  .user-chip:hover { background: rgba(255, 255, 255, .28); }
  .user-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }
  .user-chip-name { display: none; }

  .main-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: auto; z-index: 40; margin: 0;
    width: 100vw; height: 100vh; height: 100dvh; overflow-y: auto;
    padding: calc(76px + env(safe-area-inset-top, 0px)) 0 40px;
    background: rgba(4, 0, 3, .96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; height: auto; border: 0; gap: 6px; padding: 0; }
  .main-nav a { font-size: clamp(20px, 5.4vw, 30px); padding: 8px 16px; text-align: center; }
}

@media (max-width: 767px) {
  .header-inner { min-height: 54px; padding: 0 8px; }
  .brand { max-width: min(48vw, 180px); }
  .brand img {
    height: clamp(38px, 12vw, 48px);
  }
  .header-actions { gap: 6px; }
  .user-chip { width: 36px; height: 36px; min-width: 36px; }
  .user-chip img { width: 20px; height: 20px; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle span { width: 20px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; z-index: 2; padding: 18px 20px max(16px, env(safe-area-inset-bottom)); }
.site-footer p {
  margin: 0 auto; max-width: 1760px; text-align: center; text-transform: uppercase;
  font-family: var(--f-legal); font-weight: 400; line-height: 1.25; letter-spacing: -.01em;
  font-size: max(10px, calc(16.8 * var(--u)));
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* =========================================================
   BOTONES / FORMULARIOS
   ========================================================= */
.btn-pink {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 28px;
  border: 0; border-radius: 999px; background: var(--pink); color: var(--white);
  font-family: var(--f-ui); font-weight: 800; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.1;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 26px var(--pink-glow);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-pink:hover { background: #ea4a80; color: var(--white); box-shadow: 0 0 36px rgba(223, 51, 109, .85); transform: translateY(-1px); }
.btn-pink:active { transform: translateY(1px); }
.btn-pink:disabled { opacity: .8; cursor: progress; }
.btn-pink-lg { min-height: 64px; font-size: clamp(24px, 2.1vw, 40px); }
.btn-pink-xl { min-height: clamp(60px, calc(84 * var(--u)), 84px); font-size: clamp(26px, 2.1vw, 40px); }
.btn-pink .spinner-border { display: none; }
.btn-pink.is-loading .spinner-border { display: inline-block; }

.pill-input {
  display: block; width: 100%;
  height: clamp(52px, calc(86 * var(--u)), 86px);
  padding: 0 clamp(20px, calc(42 * var(--u)), 42px);
  border: 1.5px solid var(--white); border-radius: 999px;
  background: transparent; color: var(--white);
  font-family: var(--f-ui); font-weight: 400; font-size: clamp(17px, calc(28 * var(--u)), 28px);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-appearance: none; appearance: none;
}
.pill-input::placeholder { color: rgba(255, 255, 255, .92); opacity: 1; }
.pill-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(223, 51, 109, .35); }
.pill-input.is-invalid { border-color: #ff6b8f; box-shadow: 0 0 0 3px rgba(255, 107, 143, .3); }
.pill-input:disabled { opacity: .55; cursor: not-allowed; }
.pill-select {
  cursor: pointer; padding-right: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath fill='%23df336d' d='M0 0h26L13 16z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right clamp(22px, calc(48 * var(--u)), 48px) center; background-size: clamp(18px, calc(26 * var(--u)), 26px) auto;
}
.pill-select:invalid, .pill-select option[value=""] { color: rgba(255, 255, 255, .92); }
.pill-select option, .pill-select optgroup { background: #1a1418; color: var(--white); }
.pill-center { text-align: center; }

.form-error {
  display: none; margin-bottom: 14px; padding: 10px 18px; border-radius: 16px;
  background: rgba(223, 51, 109, .18); border: 1px solid rgba(223, 51, 109, .6);
  color: #ffd2e0; font-weight: 700; font-size: .95rem; text-align: center;
}
.form-error.show { display: block; }

.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, calc(30 * var(--u)), 30px); margin: clamp(16px, calc(26 * var(--u)), 26px) 0; }
.check-circle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--f-ui); font-weight: 400; font-size: clamp(15px, calc(22 * var(--u)), 22px); }
.check-circle input {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto; margin: 0;
  width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid var(--white);
  display: grid; place-content: center; cursor: pointer; background: transparent;
}
.check-circle input::before { content: ''; width: .55em; height: .55em; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .15s ease; }
.check-circle input:checked::before { transform: scale(1); }
.check-circle input:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.check-circle input.is-invalid { border-color: #ff6b8f; box-shadow: 0 0 0 3px rgba(255, 107, 143, .35); }
.check-circle a { color: #6aa8ff; text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   INICIO
   ========================================================= */
.page-home { --uh: min(calc(100vw / 1920), calc(100svh / 1080), 1px); }
.home-hero { display: flex; align-items: stretch; }
.home-stage { position: relative; width: calc(1920 * var(--uh)); height: calc(860 * var(--uh)); margin: 0 auto; }
.home-copy { position: absolute; left: calc(212 * var(--uh)); top: calc(160 * var(--uh)); width: calc(802 * var(--uh)); }
.home-copy-img { display: block; width: 100%; height: auto; }
.home-cta-hit {
  position: absolute; left: 7.9%; top: 71.8%; width: 84.1%; height: 16.4%;
  border-radius: 999px; font-size: 0; color: transparent; text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.home-cta-hit:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 40px rgba(223, 51, 109, .55); }
.home-cta-hit:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

.home-products { position: absolute; left: calc(1077 * var(--uh)); top: calc(30 * var(--uh)); width: calc(736 * var(--uh)); aspect-ratio: 736 / 834; }
.hp { position: absolute; display: block; }
.hp img { display: block; width: 100%; height: auto; }
.hp-3 { left: 0; top: 12.9%; width: 40.4%; z-index: 1; }
.hp-2 { left: 28%; top: 5.8%; width: 38%; z-index: 3; }
.hp-1 { left: 60.2%; top: 0; width: 39.8%; z-index: 2; }

@keyframes productoEntra { from { opacity: 0; transform: translateX(140px); } to { opacity: 1; transform: none; } }
@keyframes copyEntra { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js .home-copy { animation: copyEntra .9s cubic-bezier(.2,.7,.2,1) both .1s; }
.js .hp { animation: productoEntra 1s cubic-bezier(.2,.7,.2,1) both; }
.js .hp-1 { animation-delay: .5s; }
.js .hp-2 { animation-delay: 1.15s; }
.js .hp-3 { animation-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) { .js .home-copy, .js .hp { animation: none; } }

@media (max-width: 991px) {
  .home-stage { width: 100%; height: auto; padding: 8px 20px 24px; display: flex; flex-direction: column; align-items: center; }
  .home-copy { position: relative; left: auto; top: auto; width: min(84vw, 560px); }
  .home-products { position: relative; left: auto; top: auto; width: min(76vw, 470px); margin-top: 22px; }
}

/* =========================================================
   TÍTULOS EN IMAGEN
   ========================================================= */
.page-title-img, .section-title-img { margin: 0 0 clamp(22px, calc(44 * var(--u)), 44px); text-align: center; line-height: 0; }
.page-title-img img { width: auto; max-width: 100%; }
.page-registro .page-title-img img { width: min(667px, 100%); }
.page-bases .page-title-img img { width: min(881px, 100%); }
.section-title-img img { width: min(1109px, 100%); }
.section-art { display: block; line-height: 0; text-align: center; }
.section-art img { display: inline-block; width: 100%; }

/* =========================================================
   REGISTRO
   ========================================================= */
.registro-page { padding: clamp(20px, calc(56 * var(--u)), 56px) 0 clamp(30px, calc(60 * var(--u)), 60px); }
.registro-page .container-promo { max-width: 1120px; }
.registro-form { max-width: 1080px; margin: 0 auto; }
.registro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, calc(24 * var(--u)), 24px) clamp(18px, calc(30 * var(--u)), 30px); }
.registro-field-full { grid-column: 1 / -1; }
.registro-login-hint { margin: clamp(18px, calc(28 * var(--u)), 28px) 0 0; text-align: center; font-weight: 800; font-size: clamp(16px, calc(21 * var(--u)), 21px); }
.registro-logueado { text-align: center; font-size: 1.2rem; }
.registro-logueado .btn-pink { margin-top: 14px; }
@media (max-width: 767px) {
  .registro-grid { grid-template-columns: 1fr; }
  .checks { flex-direction: column; align-items: flex-start; }
  .page-registro .page-title-img img {
    width: min(280px, 78vw);
    max-width: 78vw;
    height: auto;
  }
}

/* =========================================================
   MODALES
   ========================================================= */
.modal-backdrop { --bs-backdrop-bg: #000; --bs-backdrop-opacity: .92; }
.modal-promo .modal-dialog { max-width: min(860px, 92vw); margin-left: auto; margin-right: auto; }
.modal-promo .modal-dialog-wide { max-width: min(952px, 94vw); }
.modal-promo .modal-content { position: relative; background: transparent; border: 0; box-shadow: none; color: var(--white); padding-top: clamp(40px, 6vw, 70px); }
.modal-close-x {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: clamp(44px, 3.4vw, 66px); height: clamp(44px, 3.4vw, 66px);
  border: 3px solid var(--white); border-radius: 50%; background: transparent; color: var(--white);
  display: grid; place-items: center; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.modal-close-x svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
.modal-close-x:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }

/* Login */
.modal-login .modal-dialog { max-width: min(800px, 92vw); }
.modal-login .modal-content {
  background: rgba(4, 0, 3, .94);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  padding: clamp(56px, 6vw, 78px) clamp(28px, 4vw, 56px) clamp(28px, 3vw, 40px);
  text-align: center;
}
.modal-login .modal-close-x { top: 16px; right: 16px; }
.modal-login-title { width: min(523px, 86%, 46vh); margin: 0 auto clamp(18px, 2vw, 28px); display: block; }
.modal-login form { display: grid; gap: clamp(14px, 1.3vw, 24px); }
.modal-login .pill-input { height: clamp(56px, 4.9vw, 94px); font-weight: 800; font-size: clamp(18px, 1.7vw, 32px); padding: 0 clamp(24px, 3.4vw, 64px); }
.modal-login .btn-pink { min-height: clamp(56px, 4.9vw, 94px); font-size: clamp(24px, 2.1vw, 40px); }
.modal-login-hint { margin: clamp(18px, 2vw, 30px) 0 0; font-weight: 800; font-size: clamp(16px, 1.4vw, 26px); }

/* Popups de resultado (imagen de diseño + botón real transparente encima del dibujado) */
.popup-art { position: relative; line-height: 0; }
.popup-art img { display: block; width: 100%; height: auto; }
.popup-hit {
  position: absolute; left: var(--hit-x); top: var(--hit-y); width: var(--hit-w); height: var(--hit-h);
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 0; color: transparent; text-decoration: none; transition: background .2s ease, box-shadow .2s ease;
}
.popup-hit:hover { background: rgba(255, 255, 255, .12); box-shadow: 0 0 34px rgba(223, 51, 109, .6); }
.popup-hit:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.popup-msg { margin: 16px auto 0; max-width: 640px; text-align: center; font-weight: 700; font-size: clamp(15px, 1.2vw, 20px); }
.popup-msg:empty { display: none; }
.popup-msg-small { font-size: clamp(13px, 1vw, 16px); font-weight: 600; opacity: .85; }

/* Mensaje genérico */
.modal-msg .modal-dialog { max-width: min(560px, 92vw); }
.msg-box { border: 2px solid var(--white); border-radius: 44px; padding: 36px 32px 30px; text-align: center; background: rgba(4, 0, 3, .94); }
.msg-logo { width: 150px; margin-bottom: 14px; }
.msg-text { font-family: var(--f-serif); font-weight: 700; font-style: italic; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; margin: 0 0 24px; }

/* =========================================================
   CARGÁ LOTE
   ========================================================= */
.carga-hero { padding: clamp(18px, calc(40 * var(--u)), 40px) 0 clamp(30px, calc(60 * var(--u)), 60px); }
.carga-grid { max-width: 1260px; display: grid; grid-template-columns: minmax(0, 626px) minmax(0, 432px); justify-content: center; align-items: center; column-gap: clamp(40px, calc(150 * var(--u)), 150px); }
.carga-title { margin: 0 0 clamp(14px, calc(24 * var(--u)), 24px); line-height: 0; }
.carga-title img { width: min(599px, 100%); }
.carga-producto-col { text-align: center; line-height: 0; }
.carga-producto-col img { width: min(432px, 100%); }

.field-label { display: block; margin: 0 0 10px 4px; font-weight: 800; font-size: clamp(15px, calc(22 * var(--u)), 22px); }
.carga-form .pill-input { height: clamp(50px, calc(72 * var(--u)), 72px); font-size: clamp(16px, calc(24 * var(--u)), 24px); }
.carga-form .pill-filled { background-color: rgba(255, 255, 255, .26); border-color: transparent; font-weight: 800; }
.carga-form .pill-filled:focus { border-color: var(--pink); }
.lote-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, calc(20 * var(--u)), 20px); margin-top: clamp(14px, calc(22 * var(--u)), 22px); }
.lote-inputs .pill-input { border-width: 2px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lote-inputs .pill-input::placeholder { color: rgba(255,255,255,.75); }
#cargaSocFields { margin-top: clamp(14px, calc(22 * var(--u)), 22px); }
#cargaSocFields .pill-input { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.dropzone {
  position: relative; display: flex; align-items: center; gap: 16px;
  margin-top: clamp(14px, calc(22 * var(--u)), 22px);
  min-height: clamp(56px, calc(80 * var(--u)), 80px); padding: 8px clamp(14px, calc(22 * var(--u)), 22px);
  border: 2px dashed rgba(255, 255, 255, .7); border-radius: 999px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.dropzone:hover, .dropzone.is-dragover, .dropzone:focus-visible { border-color: var(--pink); background: rgba(223, 51, 109, .12); outline: none; }
.dropzone.has-file { border-style: solid; border-color: var(--pink); }
.dropzone.is-invalid { border-color: #ff6b8f; }
.dz-icon { flex: 0 0 auto; width: clamp(36px, calc(48 * var(--u)), 48px); height: clamp(36px, calc(48 * var(--u)), 48px); border-radius: 50%; border: 2px solid var(--white); display: grid; place-items: center; }
.dz-icon svg { width: 60%; height: 60%; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dz-text { flex: 1 1 auto; min-width: 0; font-weight: 800; font-size: clamp(15px, calc(24 * var(--u)), 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-preview { flex: 0 0 auto; width: 46px; height: 46px; object-fit: cover; border-radius: 50%; border: 2px solid var(--white); }

.checks-sm { justify-content: flex-start; margin: clamp(16px, calc(26 * var(--u)), 26px) 0 clamp(16px, calc(22 * var(--u)), 22px); }
.checks-sm .check-circle { font-size: clamp(13px, calc(17 * var(--u)), 17px); font-weight: 700; }
.checks-sm .check-circle a { color: var(--pink); }
.carga-form .btn-pink { min-height: clamp(54px, calc(78 * var(--u)), 78px); font-size: clamp(22px, calc(36 * var(--u)), 36px); margin-top: clamp(16px, calc(26 * var(--u)), 26px); }

.locked-note { margin-bottom: 14px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .98rem; }
.locked-note a { color: var(--pink); font-weight: 800; }

.carga-form.is-locked .carga-form-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.carga-form.is-locked .dropzone {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .55;
}
.carga-form.is-locked .pill-input:disabled,
.carga-form.is-locked .btn-pink:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.promo-section { padding: clamp(24px, calc(50 * var(--u)), 50px) 0; }
.promo-section .container-promo { max-width: 1780px; }
#productos .section-art img { max-width: 1734px; }
.como-art img { max-width: 1418px; }
.premios-art img { max-width: 1732px; }
#premios { padding-bottom: clamp(30px, calc(70 * var(--u)), 70px); }

@media (max-width: 991px) {
  .carga-grid { grid-template-columns: minmax(0, 560px); }
  .carga-producto-col { margin-top: 36px; }
  .carga-producto-col img { width: min(300px, 70vw); }
}
@media (max-width: 767px) {
  .carga-title img { width: 100%; }
  .dz-text { white-space: normal; line-height: 1.2; font-size: 15px; }
  #productos .section-title-img img {
    width: min(300px, 82vw);
    max-width: 82vw;
    height: auto;
  }
  .como-art img {
    width: min(280px, 84vw);
    max-width: 84vw;
    height: auto;
  }
  .premios-art img, #productos .section-art img { max-width: 560px; }
  .checks-sm { align-items: flex-start; }
}

/* =========================================================
   GANADORES
   ========================================================= */
.ganadores-page { padding: clamp(14px, calc(36 * var(--u)), 36px) 0 clamp(30px, calc(60 * var(--u)), 60px); }
.ganadores-banner { position: relative; max-width: 1755px; margin: 0 auto; line-height: 0; }
.ganadores-banner img { width: 100%; }
.banner-hit { position: absolute; left: 73.8%; top: 58.7%; width: 18.3%; height: 14.6%; border-radius: 999px; font-size: 0; color: transparent; transition: background .2s ease, box-shadow .2s ease; }
.banner-hit:hover { background: rgba(255,255,255,.12); box-shadow: 0 0 30px rgba(223, 51, 109, .6); }

.ganadores-box {
  max-width: 1096px; margin: clamp(26px, calc(46 * var(--u)), 46px) auto 0;
  border: 1.5px solid var(--white); border-radius: clamp(28px, calc(40 * var(--u)), 40px);
  padding: clamp(16px, calc(16 * var(--u)), 20px) clamp(16px, calc(40 * var(--u)), 40px) clamp(22px, calc(32 * var(--u)), 32px);
  background: rgba(4, 0, 3, .35);
}
.ganadores-title { margin: 0 0 clamp(14px, calc(24 * var(--u)), 24px); text-align: center; font-family: var(--f-serif); font-weight: 700; font-size: clamp(38px, calc(66 * var(--u)), 66px); letter-spacing: .01em; }
.ganadores-title em { font-style: italic; }
.ganadores-scroll { max-height: clamp(300px, calc(310 * var(--u)), 340px); overflow-y: auto; padding-right: clamp(14px, calc(36 * var(--u)), 36px); scrollbar-width: thin; scrollbar-color: var(--pink) #3a3438; }
.ganadores-scroll::-webkit-scrollbar { width: 6px; }
.ganadores-scroll::-webkit-scrollbar-track { background: #3a3438; border-radius: 6px; }
.ganadores-scroll::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 6px; }
.ganadores-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, calc(13 * var(--u)), 13px); }
.ganador-row { display: grid; grid-template-columns: 358fr 247fr 358fr; gap: clamp(8px, calc(14 * var(--u)), 14px); }
.g-pill {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  height: clamp(48px, calc(64 * var(--u)), 64px); padding: 0 clamp(16px, calc(26 * var(--u)), 28px);
  border-radius: 999px; font-weight: 700; font-size: clamp(16px, calc(27 * var(--u)), 27px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g-pill img { flex: 0 0 auto; width: auto; height: clamp(24px, calc(36 * var(--u)), 36px); }
.g-nombre { background: var(--pill-dark); }
.g-lugar { background: var(--pink); padding-left: clamp(14px, calc(20 * var(--u)), 20px); }
.g-lugar img { filter: brightness(0) invert(1); }
.g-premio { background: var(--pill-darker); padding-left: clamp(14px, calc(22 * var(--u)), 22px); padding-right: clamp(12px, calc(16 * var(--u)), 16px); }
.ganadores-empty { margin: 0; padding: 30px 10px 40px; text-align: center; font-size: clamp(17px, calc(26 * var(--u)), 26px); }
@media (max-width: 767px) {
  .ganadores-scroll { max-height: 60vh; padding-right: 10px; }
  .ganador-row { grid-template-columns: 1fr 1fr; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .g-nombre { grid-column: 1 / -1; }
  .g-pill { font-size: 15px; height: auto; min-height: 44px; gap: 10px; white-space: normal; line-height: 1.15; padding-top: 6px; padding-bottom: 6px; }
}

/* =========================================================
   BASES Y CONDICIONES
   ========================================================= */
.bases-page { padding: clamp(14px, calc(30 * var(--u)), 30px) 0 clamp(30px, calc(56 * var(--u)), 56px); }
.bases-page .page-title-img { margin-bottom: clamp(18px, calc(36 * var(--u)), 36px); }
.bases-box {
  max-width: 1096px; margin: 0 auto;
  border: 2px solid var(--white); border-radius: clamp(36px, calc(64 * var(--u)), 64px);
  padding: clamp(28px, calc(52 * var(--u)), 52px) clamp(14px, calc(20 * var(--u)), 20px) clamp(28px, calc(52 * var(--u)), 52px) clamp(20px, calc(40 * var(--u)), 40px);
  background: rgba(4, 0, 3, .35);
}
.bases-scroll {
  max-height: clamp(380px, calc(452 * var(--u)), 480px); overflow-y: auto;
  padding-right: clamp(16px, calc(44 * var(--u)), 44px);
  scrollbar-width: auto; scrollbar-color: #000 #fff;
}
.bases-scroll:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
.bases-scroll::-webkit-scrollbar { width: 9px; }
.bases-scroll::-webkit-scrollbar-track { background: #fff; border-radius: 9px; }
.bases-scroll::-webkit-scrollbar-thumb { background: #000; border-radius: 9px; border: 1px solid #fff; }
.bases-content { font-family: var(--f-serif); font-weight: 400; font-size: clamp(14px, calc(20 * var(--u)), 20px); line-height: 1.45; text-align: justify; hyphens: auto; }
.bases-content p { margin: 0 0 .9em; }
.bases-content ol { padding-left: 1.6em; margin: 0 0 1em; }
.bases-content ol[type="a"] { list-style-type: lower-alpha; }
.bases-content li { margin-bottom: .2em; }
.bases-content .bases-head { text-align: center; margin: .4em 0 1.1em; }
.bases-content a { color: #ff8fb5; word-break: break-word; }
.bases-table { width: 100%; border-collapse: collapse; font-size: .9em; text-align: left; }
.bases-table th, .bases-table td { border: 1px solid rgba(255,255,255,.4); padding: 8px 10px; vertical-align: top; }
.bases-table th { background: rgba(223, 51, 109, .35); }
@media (max-width: 767px) {
  .bases-scroll { max-height: 62vh; }
  .bases-content { text-align: left; }
}

/* Ajustes finales mobile */
@media (max-width: 767px) {
  .modal-login-title { width: min(230px, 62%); }
  .modal-login .modal-content { padding-top: 64px; }
}
