/* ============================================================
   NUK 70 Aniversario — Landing Sorteo
   style.css — v4 refined layout
   ============================================================ */

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

:root {
  --red:      #EA3930;
  --red-dark: #c9312a;
  --teal:     #5AA3AC;
  --dark:     #1e1e1e;
  --body:     #3d3d3d;
  --muted:    #888;
  --faint:    #bbb;
  --white:    #ffffff;
  --off:      #F8F6F2;
  --border:   #E8E3DA;
  --r-sm:     8px;
  --r-md:     14px;
  --r-lg:     22px;
  --r-xl:     32px;
  --r-pill:   999px;
  --max:      1100px;
  --shadow:   0 2px 16px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'Sofia Pro Soft', 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--red); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, transform .12s;
  border: none;
  line-height: 1;
}
.btn:active { transform: scale(.98); }
.btn--red   { background: var(--red);  color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--sm    { padding: 11px 24px; font-size: 14px; }
.btn--md    { padding: 16px 36px; font-size: 16px; }
.btn--lg    { padding: 19px 44px; font-size: 18px; }
.btn--full  { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.nav__logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -.03em;
  line-height: 1;
}
.nav__logo sup { font-size: 13px; vertical-align: super; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin: 1.25rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 580px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 65%, transparent 100%),
    linear-gradient(to top,    rgba(0,0,0,.45) 0%, transparent 50%);
}

.hero__aniversario {
  position: absolute;
  top: 2rem;
  left: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.38);
  border-radius: var(--r-pill);
  padding: 6px 18px 6px 6px;
  backdrop-filter: blur(4px);
}
.hero__aniversario-badge {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.hero__aniversario-badge .n  { font-size: 18px; font-weight: 900; line-height: 1; }
.hero__aniversario-badge .a  { font-size: 7px; font-weight: 700; letter-spacing: .1em; opacity: .88; }
.hero__aniversario-text      { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: .12em; text-transform: uppercase; }

.hero__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 2.25rem 2.5rem;
  max-width: 680px;
}

.hero__title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: .65rem;
  letter-spacing: -.01em;
}

.hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  letter-spacing: .04em;
  text-transform: none;
  margin-bottom: 1.5rem;
}

.hero__card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.hero__card p { font-size: 16px; color: rgba(255,255,255,.92); line-height: 1.6; }

/* ============================================================
   PROMO BAR
   ============================================================ */
.promo-bar {
  background: var(--red);
  padding: 14px 2rem;
  text-align: center;
}
.promo-bar p { color: var(--white); font-size: 16px; font-weight: 500; line-height: 1.5; }
.promo-bar strong { font-weight: 900; }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
  background: var(--off);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.countdown__label { margin-bottom: .75rem; }
.countdown__title {
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.countdown__row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.countdown__unit-box {
  background: var(--white);
  border: 2.5px solid var(--red);
  border-radius: var(--r-md);
  padding: 18px 22px;
  min-width: 90px;
  text-align: center;
  box-shadow: var(--shadow);
}
.countdown__num  { display: block; font-size: 42px; font-weight: 900; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__word { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.countdown__colon { font-size: 34px; font-weight: 900; color: var(--red); margin-bottom: 14px; opacity: .6; }

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  padding: 5rem 2rem;
  background: var(--white);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
}
.trust__card {
  background: var(--off);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.trust__num   { font-size: 40px; font-weight: 900; color: var(--red); line-height: 1; }
.trust__label { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  background: var(--off);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
}
.step__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  border: 1px solid var(--border);
}
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step__num--teal { background: var(--teal); }
.step__title     { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.step__desc      { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   PRIZE
   ============================================================ */
.prize {
  padding: 5rem 2rem;
  background: var(--white);
}
.prize__card {
  max-width: 920px;
  margin: 2.5rem auto 0;
  background: var(--off);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid var(--border);
}
.prize__img-wrap {
  height: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.prize__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.prize__eyebrow  { margin-bottom: .5rem; }
.prize__name     { font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--dark); margin-bottom: .75rem; }
.prize__desc     { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 5rem 2rem;
  background: var(--off);
  border-top: 1px solid var(--border);
}
.form-section .section-title { text-align: center; }
.form-section .eyebrow       { text-align: center; }

.form-split {
  max-width: 1020px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* photo side */
.form-split__photo { position: relative; min-height: 680px; }
.form-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.form-split__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to top, rgba(234,57,48,.75) 0%, rgba(234,57,48,.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.75rem;
}
.form-split__overlay h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 6px;
}
.form-split__overlay p { font-size: 15px; color: rgba(255,255,255,.78); }

/* form side */
.form-split__body {
  background: var(--white);
  padding: 2.5rem 2rem;
}
.form-split__body h3 { font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.form-split__body p.sub { font-size: 15px; color: var(--muted); margin-bottom: 1.75rem; }

.fg { margin-bottom: 14px; }
.fl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.fl span { font-weight: 400; text-transform: none; letter-spacing: 0; }

.fi {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
  -webkit-appearance: none;
}
.fi:focus { border-color: var(--red); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.prod-opt {
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--off);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
  line-height: 1.3;
}
.prod-opt:hover          { border-color: var(--red); color: var(--red); background: #FFF4F4; }
.prod-opt.is-selected    { border-color: var(--red); background: #FFF0EF; color: var(--red); }

.upload {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  background: var(--off);
  transition: border-color .15s;
}
.upload:hover          { border-color: var(--red); }
.upload.uploaded       { border-color: var(--teal); border-style: solid; }
.upload__icon          { font-size: 32px; color: var(--red); margin-bottom: 8px; }
.upload__label         { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.upload__hint          { font-size: 13px; color: var(--faint); }

.consents { margin-top: 14px; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px; }
.consent-row input[type=checkbox] { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; accent-color: var(--red); }
.consent-row label { font-size: 13px; color: var(--muted); line-height: 1.65; }
.consent-row a     { color: var(--red); font-weight: 700; }

.form-legal { font-size: 12px; color: var(--faint); text-align: center; margin-top: 12px; line-height: 1.7; }
.form-legal a { color: var(--red); }

.success-box {
  display: none;
  background: #EAF5D5;
  border: 2px solid #9DC34A;
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-align: center;
  margin-top: 14px;
}
.success-box i    { font-size: 36px; color: #3B6D11; display: block; margin-bottom: 10px; }
.success-box h3   { font-size: 20px; font-weight: 900; color: #27500A; margin-bottom: 5px; }
.success-box p    { font-size: 15px; color: #3B6D11; }

/* ============================================================
   QR
   ============================================================ */
.qr-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.qr-bar p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 28px 16px 20px;
}
.qr-card__info small  { font-size: 13px; color: var(--faint); display: block; margin-bottom: 3px; }
.qr-card__info strong { font-size: 19px; font-weight: 900; color: var(--dark); display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 3rem 2rem;
  text-align: center;
}
.footer__logo { font-size: 30px; font-weight: 900; color: var(--red); margin-bottom: 14px; }
.footer p     { font-size: 14px; color: #666; line-height: 2; }
.footer a     { color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .prize__card       { grid-template-columns: 1fr; }
  .prize__img-wrap   { height: 220px; width: 100%; }
  .form-split        { grid-template-columns: 1fr; }
  .form-split__photo { min-height: 320px; }
  .trust__grid       { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 640px) {
  :root { --r-xl: 20px; }
  .hero          { margin: .6rem; height: 460px; }
  .hero__title   { font-size: 26px; }
  .hero__card    { display: none; }
  .nav           { padding: 0 1.25rem; }
  .steps__grid   { grid-template-columns: 1fr; max-width: 360px; }
  .trust__grid   { grid-template-columns: 1fr; max-width: 300px; }
  .countdown__row { gap: 8px; }
  .countdown__unit-box { min-width: 68px; padding: 14px 14px; }
  .countdown__num { font-size: 32px; }
  .form-split__body { padding: 1.75rem 1.25rem; }
  .row-2         { grid-template-columns: 1fr; }
  .container     { padding: 0 1.25rem; }
  .trust, .steps, .prize, .form-section { padding: 3.5rem 1.25rem; }
}
