/*
Theme Name: Rico Promo
Theme URI: https://ricoarroz.example/
Author: Lupio IA
Description: Landing de la promoción Rico Arroz. Convierte el front estático en un tema WordPress con formulario que guarda registros como CPT "registro".
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rico-promo
*/

/* =========================================================
   RICO ARROZ — Promo landing
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Compensar el header sticky al hacer scroll a anclas */
section[id],
footer[id] {
  scroll-margin-top: 88px;
}
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --yellow: #FFD200;
  --yellow-soft: #FFE800;
  --red: #D62828;
  --blue: #0033A0;
  --green: #1E7F3B;
  --sky: #009CDF;
  --navy: #011545;
  --ink: #1a1a1a;
  --gray-50: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-500: #797a7d;
}

/* === Ecuador flag stripe === */
.ec-stripe {
  height: 8px;
  width: 100%;
  background: linear-gradient(to right,
    var(--yellow) 0%, var(--yellow) 25%,
    var(--red) 25%, var(--red) 50%,
    var(--blue) 50%, var(--blue) 75%,
    var(--green) 75%, var(--green) 100%);
}

/* === Header === */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 110;
}
.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  font-size: 28px;
  color: var(--blue);
}
.logo-img {
  width: 110px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 4px;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  z-index: 110;
  position: relative;
}
.menu-toggle span {
  width: 24px; height: 3px; background: var(--ink); border-radius: 2px;
  transition: .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Drawer backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* === Hero band === */
.hero-band {
  background: var(--sky);
  padding: 60px 24px;
  text-align: center;
  position: relative;
}
.hero-title {
  display: inline-block;
  background: var(--yellow);
  color: var(--red);
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 1.5px;
  padding: 18px 48px;
  border-radius: 20px;
  transform: rotate(-1deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  text-transform: uppercase;
  margin: 0;
}
.hero-sub {
  color: #fff;
  font-weight: 700;
  font-size: clamp(17px, calc(1.6vw + 2px), 26px);
  margin: 28px auto 0;
  max-width: 720px;
  line-height: 1.4;
}

/* === Chili's promo section (standalone) === */
.promo-section {
  position: relative;
  padding: 72px 56px;
  overflow: hidden;
  background-color: #0d2233;
  background-image:
    linear-gradient(rgba(0,20,40,0.45), rgba(0,20,40,0.45)),
    url('assets/stadium-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}
.promo-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 32px;
  align-items: center;
}
.premios-cover {
  display: flex;
  align-items: center;
  justify-content: center;
}
.premios-cover img {
  width: 100%;
  max-width: 820px;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  transform: scale(1.08);
  transform-origin: center;
}

/* === Form section === */
.form-section {
  background: var(--navy);
  padding: 80px 24px;
  position: relative;
}
.form-section-inner {
  max-width: 860px;
  margin: 0 auto;
}
.form-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-section-header .pill-label { margin-bottom: 12px; }
.form-section-title {
  font-family: 'Anton', sans-serif;
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0.6px;
  margin: 12px 0 0;
  text-transform: uppercase;
}

/* Chili's promo card */
.chilis-card {
  text-align: center;
  color: #fff;
}
.chilis-card img {
  margin: 0 auto;
  max-width: 540px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.form-card h2 {
  font-family: 'Anton', sans-serif;
  color: var(--blue);
  font-size: 30px;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
}
.form-card .lead {
  color: #555;
  font-size: 14px;
  margin: 0 0 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.35px;
  color: var(--ink);
}
.form-field input, .form-field select {
  height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,51,160,0.12);
}
.form-field input::placeholder { color: rgba(26,26,26,0.5); }

/* Form checks (consents) */
.form-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 24px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}
.form-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.form-check__box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  margin-top: 1px;
}
.form-check__box::after {
  content: '';
  width: 12px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity .15s;
}
.form-check input:checked + .form-check__box {
  background: var(--blue);
  border-color: var(--blue);
}
.form-check input:checked + .form-check__box::after {
  opacity: 1;
}
.form-check input:focus-visible + .form-check__box {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.form-check input:invalid:not(:focus) + .form-check__box {
  border-color: rgba(214, 40, 40, 0.6);
}
.form-check__text a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.form-check__text a:hover { color: var(--red); }

/* Form feedback */
.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-feedback.is-success {
  display: block;
  background: rgba(30,127,59,0.12);
  color: var(--green);
  border: 1px solid rgba(30,127,59,0.35);
}
.form-feedback.is-error {
  display: block;
  background: rgba(214,40,40,0.12);
  color: var(--red);
  border: 1px solid rgba(214,40,40,0.35);
}

/* File drop */
.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  border: 2px dashed rgba(0,51,160,0.4);
  border-radius: 16px;
  background: #fff;
  padding: 24px 18px;
  text-align: center;
  margin-bottom: 24px;
  transition: background .2s, border-color .2s;
  cursor: pointer;
  box-sizing: border-box;
}
.file-drop:hover, .file-drop.dragover {
  background: rgba(255,210,0,0.08);
  border-color: var(--blue);
}
.file-drop-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.file-drop-icon svg { width: 28px; height: 28px; color: var(--ink); }
.file-drop p {
  margin: 2px 0;
  max-width: 100%;
  word-break: break-word;
}
.file-drop .file-title { font-weight: 700; color: var(--blue); font-size: 15px; }
.file-drop .file-sub { color: #555; font-size: 13px; }
.file-drop .file-hint { color: #797a7d; font-size: 12px; }

/* Submit button */
.submit-btn {
  width: 100%;
  height: 60px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px -8px rgba(214,40,40,0.6);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.submit-btn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(214,40,40,0.7);
}
.submit-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.submit-btn svg { width: 20px; height: 20px; }

/* === Steps section === */
.steps-section {
  background: var(--sky);
  padding: 64px 24px 88px;
  text-align: center;
}
.pill-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 22px;
}
.section-heading {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: 1.2px;
  line-height: 1;
  padding: 14px 40px;
  border-radius: 999px;
  text-transform: uppercase;
  margin: 16px 0 48px;
}
.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.step-card {
  position: relative;
  background: var(--yellow-soft);
  border-radius: 20px;
  padding: 38px 20px 24px;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  gap: 14px;
  height: 100%;
}
.step-num {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 4px solid var(--red);
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(214,40,40,0.4);
  flex-shrink: 0;
}
.step-icon svg { width: 32px; height: 32px; }
.step-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.step-card.with-extras .step-extras {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.step-card .step-extras .mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.step-card .step-extras .mini img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.step-card .step-extras .or {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--ink);
}

/* === Premios section === */
.premios-section {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
  position: relative;
}
.premios-section .pill-label { margin-bottom: 12px; }
.premios-title {
  font-family: 'Anton', sans-serif;
  color: #fff;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.6px;
  margin: 8px 0 40px;
  text-transform: uppercase;
}

/* Premio mayor card */
.premio-mayor {
  max-width: 1024px;
  margin: 0 auto 56px;
  background: #fff;
  color: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  text-align: left;
}
.premio-mayor .badge-mayor {
  position: absolute;
  top: 0; left: 0;
  background: var(--yellow);
  color: #000;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 1.2px;
  padding: 12px 26px;
  border-radius: 0 0 999px 0;
  z-index: 2;
}
.premio-mayor-left {
  padding: 60px 24px 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.perk-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk-icon svg { width: 38px; height: 38px; }
.perk-text-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.perk-text-sub {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 14px;
  border-radius: 4px;
  transform: skewX(-12deg);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.perk-text-sub > span { display: inline-block; transform: skewX(12deg); }

.premio-mayor-right {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
    url('assets/premio-mayor.png') center/cover no-repeat;
  border-radius: 200px 0 0 200px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.flag-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}
.flag-circle .stripe { flex: 1; width: 100%; }
.flag-name {
  margin-top: 10px;
  background: var(--navy);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  padding: 4px 18px;
  border-radius: 6px;
  transform: skewX(-12deg);
  letter-spacing: 1.2px;
}
.flag-name > span { display: inline-block; transform: skewX(12deg); }
.flag-block { display: flex; flex-direction: column; align-items: center; }
.vs-label {
  font-family: 'Anton', sans-serif;
  color: var(--navy);
  background: #fff;
  font-size: 42px;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Otros premios */
.otros-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 36px;
  max-width: 480px;
}
.otros-divider .line {
  flex: 1;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.otros-divider .label {
  background: var(--red);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 1.2px;
  padding: 8px 22px;
  border-radius: 999px;
}
.otros-grid {
  max-width: 1216px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.otro-card {
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  grid-template-columns: 165px 1fr;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  text-align: left;
}
.otro-img {
  width: 165px; height: 165px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.otro-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.otro-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  text-transform: uppercase;
}

/* === Footer === */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 36px 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: var(--yellow); }

/* =========================================================
   Responsive — Mobile (≤ 900px)
   ========================================================= */
@media (max-width: 900px) {
  .header-inner { padding: 14px 12px 14px 18px; }
  .logo { font-size: 22px; }
  .logo-img { width: 80px; }
  .menu-toggle { display: flex; }

  /* Drawer lateral derecho — 25% en tablet/responsive */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 25%;
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 88px 0 24px;
    margin: 0;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 100;
    overflow-y: auto;
    max-height: none;
    border-top: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
  }

  /* Mobile pequeño: drawer full-screen */
  body.nav-locked { overflow: hidden; }

  .hero-band { padding: 36px 18px; }
  .hero-title { padding: 12px 24px; transform: rotate(-1deg); }
  .hero-sub { font-size: 16px; margin-top: 18px; }

  .promo-section { padding: 36px 18px; }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .premios-cover { display: none; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  .steps-section { padding: 44px 18px 72px; }
  .section-heading { padding: 10px 28px; margin: 14px 0 36px; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
  }
  .step-card {
    padding: 50px 20px 24px;
    min-height: 0;
    max-width: 480px;
    width: 100%;
  }
  .step-num {
    left: 50%;
    transform: translateX(-50%);
    top: -31px;
  }

  .form-section { padding: 56px 18px; }
  .form-section-title { font-size: 36px; }

  .premios-section { padding: 56px 18px; }
  .premios-title { margin-bottom: 28px; }
  .premio-mayor {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .premio-mayor .badge-mayor {
    font-size: 14px; padding: 8px 18px;
  }
  .premio-mayor-left {
    padding: 68px 24px 24px;
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }
  .perk {
    max-width: 280px;
  }
  .perk-icon { width: 56px; height: 56px; }
  .perk-icon svg { width: 28px; height: 28px; }
  .perk-text-title { font-size: 18px; }
  .premio-mayor-right {
    border-radius: 0 0 24px 24px;
    min-height: 240px;
    padding: 30px 18px;
  }
  .flag-circle { width: 80px; height: 80px; }
  .flag-name { font-size: 16px; padding: 3px 12px; }
  .vs-label { font-size: 30px; }

  .otros-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .otro-card {
    grid-template-columns: 110px 1fr;
    padding: 18px;
    gap: 16px;
    max-width: 480px;
    width: 100%;
  }
  .otro-img { width: 110px; height: 110px; }
  .otro-title { font-size: 18px; }
}

@media (max-width: 600px) {
  /* Drawer ocupa toda la pantalla en mobile */
  .nav-links {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; padding: 10px 18px; }
  .premios-title { font-size: 56px; }
  .section-heading { font-size: 30px; }
}

/* =========================================================
   Modal — Condiciones de la promo
   ========================================================= */
.rp-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity .25s ease;
}
.rp-modal.is-open {
  display: flex;
  opacity: 1;
}
.rp-modal__dialog {
  position: relative;
  background: #fff;
  color: var(--ink);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(16px);
  transition: transform .25s ease;
}
.rp-modal.is-open .rp-modal__dialog {
  transform: translateY(0);
}
.rp-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
}
.rp-modal__close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}
.rp-modal__title {
  font-family: 'Anton', sans-serif;
  color: var(--blue);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.rp-modal__body {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.rp-modal__body h2,
.rp-modal__body h3 {
  font-family: 'Anton', sans-serif;
  color: var(--navy);
  margin: 24px 0 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.rp-modal__body h2 { font-size: 22px; }
.rp-modal__body h3 { font-size: 18px; }
.rp-modal__body p { margin: 0 0 12px; }
.rp-modal__body ul,
.rp-modal__body ol {
  margin: 0 0 14px;
  padding-left: 20px;
}
.rp-modal__body li { margin-bottom: 6px; }
.rp-modal__body strong { color: var(--ink); }

@media (max-width: 600px) {
  .rp-modal { padding: 0; }
  .rp-modal__dialog {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    align-self: flex-end;
    padding: 32px 22px 24px;
  }
  .rp-modal { align-items: flex-end; }
}

/* ---------- Honeypot (trampa anti-bot, invisible para usuarios) ---------- */
.rico-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.rp-modal-open { overflow: hidden; }
