/* ============================================================
   FUERZA MODO CLARO SIEMPRE
   ============================================================ */
:root {
  color-scheme: light only;
}

html {
  color-scheme: light only;
  background: #fff;
}

/* ============================================================
   FUENTES
   ============================================================ */
@font-face {
  font-family: "Kiffo";
  src: url("./assets/Kiffo-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Kiffo";
  src: url("./assets/Kiffo-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

/* ============================================================
   RESET
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", system-ui, sans-serif;
  color: #333 !important;
  background: #fff !important;
  color-scheme: light only;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #ddd;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #0040a8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul {
  list-style: none;
}

/* Evita que el navegador invierta colores por modo oscuro forzado */
@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #fff !important;
    color: #333 !important;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #002c76;
  padding: 0.75rem 1rem;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img {
  height: 28px;
  width: auto;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__btn {
  background: #fff;
  color: #002c76;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}
.header__btn:hover {
  text-decoration: none;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #fff;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-toggle small {
  font-size: 0.625rem;
  color: #fff;
  margin-top: 2px;
}

/* ============================================================
   HERO (sin imagen, solo texto y botón)
   ============================================================ */
.hero {
  background: #0040a8;
  color: #fff;
  padding: 2rem 1rem 2.5rem;
}
.hero__content {
  max-width: 100%;
}
.hero__tag {
  display: inline-block;
  font-family: "Kiffo", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero__title {
  font-family: "Kiffo", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.hero__btn {
  display: inline-block;
  background: #fff;
  color: #0040a8;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 1rem;
}
.hero__btn:hover {
  text-decoration: none;
  background: #e6eff8;
}
.hero__legal {
  font-size: 0.6875rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* ============================================================
   POPUP
   ============================================================ */
.popup {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 440px;
  margin: 0 auto;
  background: #002c76;
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 900;
}
.popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
}
.popup__title {
  font-family: "Kiffo", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.popup__text {
  font-size: 0.8125rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.popup__link {
  color: #fdc130;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.popup__link:hover {
  text-decoration: underline;
}

/* ============================================================
   BOTÓN AYUDA
   ============================================================ */
.help-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #fdc130;
  color: #002c76;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}
.help-btn:hover {
  text-decoration: none;
  transform: scale(1.05);
}

/* ============================================================
   SECCIÓN ON GOLD
   ============================================================ */
.ongold {
  padding: 2rem 1rem;
  background: #f6f8fa;
}
.ongold__card {
  background: #d4e5f8;
  border-radius: 16px;
  padding: 1.5rem;
}
.ongold__img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.ongold__title {
  font-family: "Kiffo", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #002c76;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.ongold__text {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.ongold__btn {
  display: inline-block;
  background: #0040a8;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
}
.ongold__btn:hover {
  background: #002c76;
  text-decoration: none;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.section {
  padding: 2.5rem 1rem;
}
.section--gray {
  background: #f6f8fa;
}
.section__title {
  font-family: "Kiffo", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0040a8;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ============================================================
   CHIPS
   ============================================================ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.chip {
  background: #fff;
  border: 1px solid #d4e5f8;
  color: #0040a8;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover {
  background: #e6eff8;
}
.chip--active {
  background: #0040a8;
  color: #fff;
  border-color: #0040a8;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid #e6eff8;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 67, 169, 0.06);
  display: flex;
  flex-direction: column;
}
.card__badge {
  display: inline-block;
  align-self: flex-start;
  background: #ebfad7;
  color: #40640e;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.card__badge--info {
  background: #e3f3ff;
  color: #004c97;
}
.card__title {
  font-family: "Kiffo", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0040a8;
  margin-bottom: 0.5rem;
}
.card__text {
  font-size: 0.875rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.card__img {
  max-width: 180px;
  margin: 0.75rem auto;
}
.card__features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.card__features li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #4a4a4a;
  line-height: 1.4;
}
.card__features svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.card__btn {
  display: block;
  width: 100%;
  background: #fff;
  color: #0040a8;
  border: 2px solid #0040a8;
  border-radius: 100px;
  padding: 0.625rem 1.5rem;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  cursor: pointer;
  transition: all 0.2s;
}
.card__btn:hover {
  background: #0040a8;
  color: #fff;
  text-decoration: none;
}
.card__link {
  display: block;
  text-align: center;
  color: #0040a8;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  text-decoration: none;
  margin-top: 0.25rem;
}
.card__link:hover {
  text-decoration: underline;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__item {
  border-bottom: 1px solid #e6eff8;
  padding: 0.75rem 0;
}
.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #0040a8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}
.faq__question::after {
  content: "+";
  font-size: 1.25rem;
  color: #fdc130;
}
.faq__item.open .faq__question::after {
  content: "−";
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item.open .faq__answer {
  max-height: 300px;
  padding-top: 0.5rem;
}
.faq__answer p {
  font-size: 0.875rem;
  color: #4a4a4a;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #002c76;
  color: #fff;
  padding: 2rem 1rem 1rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer__grid h3 {
  font-family: "Kiffo", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer__grid li {
  margin-bottom: 0.375rem;
}
.footer__grid a {
  color: #c4d4e3;
  font-size: 0.8125rem;
}
.footer__grid a:hover {
  color: #fff;
  text-decoration: none;
}
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  font-size: 0.6875rem;
  color: #c4d4e3;
  text-align: center;
}
.footer__legal p {
  margin-bottom: 0.25rem;
}

/* ============================================================
   COOKIES
   ============================================================ */
.cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #f6f8fa;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 1050;
  font-size: 0.75rem;
}
.cookies p {
  margin: 0;
  color: #333;
}
.cookies a {
  color: #0040a8;
  font-weight: 600;
}
.cookies__close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- Móvil pequeño (hasta 480px) ---------- */
@media (max-width: 480px) {
  body {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }

  .hero {
    padding: 1.5rem 1rem 2rem;
  }
  .hero__title {
    font-size: 1.625rem;
  }
  .hero__text {
    font-size: 0.875rem;
  }
  .hero__btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }
  .section__title {
    font-size: 1.25rem;
  }

  .ongold {
    padding: 1.5rem 1rem;
  }
  .ongold__card {
    padding: 1.25rem;
  }
  .ongold__title {
    font-size: 1.25rem;
  }

  .chips {
    gap: 0.375rem;
  }
  .chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .cards-grid {
    gap: 1rem;
  }
  .card {
    padding: 1rem;
  }
  .card__title {
    font-size: 1.125rem;
  }

  .popup {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.875rem;
  }

  .help-btn {
    bottom: 4.5rem;
    right: 0.75rem;
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
  }

  .cookies {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ---------- Tablet (481px - 767px) ---------- */
@media (min-width: 481px) and (max-width: 767px) {
  body {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }

  .hero {
    padding: 2rem 1.5rem 2.5rem;
  }
  .hero__title {
    font-size: 2rem;
  }

  .section {
    padding: 2.5rem 1.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .popup {
    left: 1.5rem;
    right: 1.5rem;
  }

  .cookies {
    max-width: 100%;
  }
}

/* ---------- Escritorio (768px en adelante) ---------- */
@media (min-width: 768px) {
  body {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }

  /* Contenedor general para centrar el contenido en pantallas grandes */
  .header__inner,
  .hero,
  .ongold,
  .section,
  .footer__grid,
  .footer__legal {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .header {
    padding: 0.75rem 2rem;
  }
  .header__inner {
    padding: 0 0;
  }

  .hero {
    padding: 3.5rem 2rem 4rem;
    border-radius: 0 0 24px 24px;
  }
  .hero__content {
    max-width: 640px;
  }
  .hero__title {
    font-size: 2.75rem;
  }
  .hero__text {
    font-size: 1.125rem;
  }

  .section {
    padding: 3.5rem 2rem;
  }
  .section__title {
    font-size: 1.875rem;
  }

  .ongold {
    padding: 3rem 2rem;
  }
  .ongold__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .ongold__img {
    margin-bottom: 0;
  }
  .ongold__title {
    font-size: 1.875rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
  .card {
    padding: 1.5rem;
  }
  .card__title {
    font-size: 1.375rem;
  }

  .footer {
    padding: 3rem 2rem 1.5rem;
  }
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .popup {
    left: auto;
    right: 2rem;
    bottom: 2rem;
    max-width: 380px;
  }

  .help-btn {
    bottom: 2rem;
    right: 2rem;
  }

  .cookies {
    max-width: 1200px;
    border-radius: 12px 12px 0 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------- Pantallas muy grandes (1200px+) ---------- */
@media (min-width: 1200px) {
  .hero__content {
    max-width: 720px;
  }
  .hero__title {
    font-size: 3rem;
  }

  .cards-grid {
    gap: 2rem;
  }
}
