/* Tipografías servidas desde el propio dominio (sin peticiones a Google Fonts) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fuentes/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fuentes/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fuentes/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fuentes/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fuentes/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* TusClaves — página corporativa. Identidad del logo: blanco, negro (#0F1115) y naranja de marca (#EB5A25).
   Títulos en Plus Jakarta Sans y texto en Inter: sobrios y legibles. */
:root {
  --blanco: #ffffff;
  --gris-fondo: #f5f5f6;
  --negro: #0f1115;
  --texto: #0f1115;
  --texto-2: #474b53;
  --texto-3: #767a82;
  --linea: #e4e5e8;
  --naranja: #eb5a25;
  --naranja-oscuro: #c7441a;   /* textos y botones sobre blanco (contraste) */
  --naranja-suave: #fdeee7;
  --radio: 14px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titulos: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--blanco); color: var(--texto); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--titulos); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }

.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }
.angosto { width: min(820px, 100% - 32px); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--negro); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; }
.falta { background: #fde8e8; color: #b3141a; padding: 0 6px; border-radius: 4px; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.boton--naranja { background: var(--naranja-oscuro); color: #fff; box-shadow: 0 1px 2px rgb(15 17 21 / 0.12); }
.boton--naranja:hover { background: #ad3a14; }
.boton--borde { background: #fff; color: var(--texto); border-color: #cfd2d8; }
.boton--borde:hover { border-color: var(--texto); }
.boton--claro { background: #fff; color: var(--negro); }
.boton--claro:hover { background: #f1f1f2; }
.boton--chico { height: 40px; padding: 0 16px; font-size: 14px; }
/* Ícono de WhatsApp en los botones de compra */
.boton--wa::before {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2c-1.6 0-3.1-.4-4.4-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2c-1.6 0-3.1-.4-4.4-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.boton--chico.boton--wa::before { width: 16px; height: 16px; }

/* Aviso superior y barra */
.aviso-superior { background: var(--negro); color: #fff; font-size: 13px; }
.aviso-superior__fila { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.barra { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--linea); }
.barra__fila { height: 72px; display: flex; align-items: center; gap: 28px; }
.marca img { height: 60px; width: auto; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--texto-2); font-size: 14.5px; font-weight: 500; }
.menu a:hover { color: var(--naranja-oscuro); }
.hamburguesa { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.hamburguesa span { display: block; width: 22px; height: 2px; background: var(--negro); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Portada: banner del premio y, debajo, el mensaje */
.portada { padding: 28px 0 0; }
.banner { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--negro); }
.banner__img { width: 100%; aspect-ratio: 1600 / 595; object-fit: cover; }
.banner__etiqueta { position: absolute; left: 20px; top: 20px; background: var(--naranja); color: #fff; font-weight: 600; font-size: 13.5px; padding: 6px 12px; border-radius: 6px; }
.portada__texto { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; padding: 36px 0 32px; }
.portada h1 { font-size: clamp(28px, 3.3vw, 40px); max-width: 760px; }
.portada__lead { font-size: 17px; color: var(--texto-2); margin-top: 12px; max-width: 640px; }
.portada__botones { display: flex; flex-direction: column; gap: 10px; }

.ficha-rapida { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--linea); border-radius: 14px; }
.ficha-rapida div { padding: 18px 22px; border-left: 1px solid var(--linea); }
.ficha-rapida div:first-child { border-left: 0; }
.ficha-rapida dt { font-size: 13px; color: var(--texto-3); font-weight: 500; }
.ficha-rapida dd { margin: 2px 0 0; font-family: var(--titulos); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* Secciones */
.seccion { padding: 88px 0; }
.seccion--gris { background: var(--gris-fondo); }
.seccion h2 { font-size: clamp(26px, 3vw, 34px); }
.seccion h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--naranja); border-radius: 2px; margin-top: 14px; }
.seccion__lead { color: var(--texto-2); font-size: 17px; margin-top: 16px; max-width: 680px; }
.nota { margin-top: 18px; font-size: 14px; color: var(--texto-3); }
.nota a { color: var(--naranja-oscuro); }

/* Premios */
.premios { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 40px; }
.premio { position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; background: var(--negro); }
.premio img { width: 100%; height: 420px; object-fit: cover; }
.premio figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff;
  background: linear-gradient(0deg, rgb(15 17 21 / 0.9), rgb(15 17 21 / 0));
}
.premio__nota { display: block; font-size: 13px; font-weight: 600; color: #ffb08f; }
.premio figcaption strong { display: block; font-family: var(--titulos); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.premios__mas { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.premios__mas li { background: var(--gris-fondo); border: 1px solid var(--linea); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; color: var(--texto-2); }
.premios__mas strong { color: var(--texto); }

/* Tabla de fechas */
.tabla-envoltura { margin-top: 36px; overflow-x: auto; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); }
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.tabla th { text-align: left; font-size: 13px; font-weight: 600; color: var(--texto-3); padding: 14px 18px; border-bottom: 1px solid var(--linea); }
.tabla td { padding: 16px 18px; border-bottom: 1px solid var(--linea); vertical-align: top; color: var(--texto-2); }
.tabla td:first-child { font-weight: 700; color: var(--texto); white-space: nowrap; }
.tabla td:nth-child(3) { font-weight: 700; color: var(--texto); }
.tabla tr:last-child td { border-bottom: 0; }
.tabla__mayor td { background: var(--naranja-suave); }

/* Cómo comprar */
.pasos { list-style: none; padding: 0; margin: 40px 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pasos li { display: flex; gap: 14px; align-items: flex-start; }
.pasos__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--negro); color: #fff; font-family: var(--titulos); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.pasos h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.pasos p { margin-top: 6px; color: var(--texto-2); font-size: 15px; }

/* Legalidad */
.legalidad { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.datos-sorteo { margin: 32px 0 0; border-top: 1px solid var(--linea); }
.datos-sorteo div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); align-items: center; }
.datos-sorteo dt { font-size: 14px; color: var(--texto-3); font-weight: 600; }
.datos-sorteo dd { margin: 0; font-size: 16px; font-weight: 600; }
.datos-sorteo a { color: inherit; text-decoration: none; }
.datos-sorteo__edsa img { width: 170px; height: auto; }
.legalidad__lateral { display: grid; gap: 16px; }
.cuentas { background: var(--negro); color: #fff; border-radius: var(--radio); padding: 26px; }
.cuentas h3 { font-size: 17px; }
.cuentas__fila { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); margin-top: 6px; }
.cuentas__fila span { color: #b9bcc2; font-size: 14px; }
.cuentas__fila strong { font-family: var(--titulos); font-size: 21px; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.cuentas__titular { margin-top: 12px; font-weight: 600; }
.cuentas__aviso { margin-top: 12px; font-size: 14px; color: #ffb08f; }
.verifica { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px; }
.verifica h3 { font-size: 17px; }
.verifica p { margin-top: 8px; color: var(--texto-2); font-size: 15px; }

/* Ganadores */
.ganadores { margin-top: 32px; }
.ganador { display: flex; align-items: center; gap: 28px; border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px 28px; max-width: 760px; }
.ganador__numero { font-family: var(--titulos); font-size: 60px; font-weight: 700; letter-spacing: 0.03em; line-height: 1; color: var(--naranja-oscuro); font-variant-numeric: tabular-nums; }
.ganador__premio { font-family: var(--titulos); font-size: 19px; font-weight: 700; }
.ganador__detalle { margin-top: 4px; color: var(--texto-2); font-size: 14.5px; }

/* Preguntas */
.faq { margin-top: 32px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--naranja-oscuro); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--texto-2); }

/* Contacto */
.contacto { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contacto .boton { margin-top: 28px; }
.mapa { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); aspect-ratio: 4 / 3; background: var(--gris-fondo); }
.mapa iframe { width: 100%; height: 100%; border: 0; }

/* Pie */
.pie { background: var(--negro); color: #fff; padding: 40px 0; }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pie__marca { display: flex; align-items: center; gap: 14px; }
.pie__marca img { height: 56px; width: auto; }
.pie__marca span { font-size: 14px; color: #b9bcc2; }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: 22px; }
.pie__enlaces a { color: #d9dbdf; text-decoration: none; font-size: 14px; }
.pie__enlaces a:hover { color: #ffb08f; }
.pie__legal { margin-top: 24px; font-size: 13px; color: #8d9097; }

/* WhatsApp flotante (celular) */
.flotante { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: none; align-items: center; justify-content: center; color: #fff; background: #25d366; box-shadow: 0 8px 20px rgb(15 17 21 / 0.3); }

/* Páginas legales */
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(26px, 3vw, 34px); }
.legal h2 { font-size: 18px; margin-top: 32px; }
.legal p, .legal li { color: var(--texto-2); margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--naranja-oscuro); }
.legal .volver { display: inline-block; margin-top: 36px; font-weight: 600; }

@media (max-width: 980px) {
  .premios, .legalidad, .contacto { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .ficha-rapida { grid-template-columns: 1fr 1fr; }
  .ficha-rapida div:nth-child(3) { border-left: 0; }
  .ficha-rapida div:nth-child(n+3) { border-top: 1px solid var(--linea); }
}
@media (max-width: 760px) {
  .menu { position: fixed; inset: 108px 0 auto 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--linea); padding: 4px 16px 12px; transform: translateY(-140%); transition: transform .25s ease; box-shadow: 0 16px 30px -24px rgb(15 17 21 / 0.5); }
  .menu a { padding: 14px 2px; border-bottom: 1px solid var(--linea); font-size: 16px; color: var(--texto); }
  .menu.abierto { transform: none; }
  .hamburguesa { display: block; }
  .hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .solo-escritorio { display: none; }
  .aviso-superior { font-size: 12px; }
  .portada { padding-top: 16px; }
  .banner { border-radius: 14px; }
  .banner__img { aspect-ratio: 2 / 1; object-position: 45% center; }
  .banner__etiqueta { left: 12px; top: 12px; font-size: 12.5px; }
  .portada__texto { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .portada h1 { font-size: 26px; }
  .portada__lead { font-size: 15.5px; }
  .ficha-rapida div { padding: 14px 16px; }
  .ficha-rapida dd { font-size: 18px; }
  .seccion { padding: 64px 0; }
  .premio img { height: 260px; }
  .tabla { min-width: 0; }
  .tabla thead { display: none; }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; }
  .tabla tr { padding: 10px 0; border-bottom: 1px solid var(--linea); }
  .tabla tr:last-child { border-bottom: 0; }
  .tabla td { display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 6px 16px; border: 0; }
  .tabla td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--texto-3); }
  .tabla td:first-child { white-space: normal; }
  .pasos { grid-template-columns: 1fr; gap: 20px; }
  .datos-sorteo div { grid-template-columns: 1fr; gap: 2px; }
  .ganador { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flotante { display: flex; }
  .pie { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
