:root {
  /* Paleta oficial según Guía de Uso de la Marca IPLyC */
  --azul-loteria: #000096;
  --azul-oscuro: #06215C;
  --verde-loteria: #50BE00;
  --verde-loteria-hover: #006E32;
  --verde-degrade: linear-gradient(90deg, #50BE00 0%, #006E32 100%);
  --amarillo: #FFCD00;
  --amarillo-suave: #FEF9C3;
  --blanco: #FFFFFF;
  --gris-fondo: #F4F6FA;
  --gris-borde: #D8DEE9;
  --gris-texto: #475569;
  --texto-oscuro: #0F172A;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 150, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 0, 150, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texto-oscuro);
  background-color: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  margin-top: 0;
  line-height: 1.18;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--azul-oscuro);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.top-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-loteria);
  box-shadow: 0 0 0 3px rgba(120, 190, 32, 0.25);
}

.top-bar__status.is-closed .status-dot {
  background: var(--amarillo);
  box-shadow: 0 0 0 3px rgba(255, 205, 0, 0.25);
}

.iplyc-stripe {
  height: 5px;
  width: 100%;
  background: var(--verde-degrade);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-borde);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--azul-loteria);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--azul-loteria);
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: 0.78rem;
  color: var(--gris-texto);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto-oscuro);
}

.nav a:hover {
  color: var(--azul-loteria);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  font-family: inherit;
  font-size: 0.98rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.95rem 1.55rem;
  font-size: 1.03rem;
}

.btn--full {
  width: 100%;
}

.btn--whatsapp {
  background: var(--verde-loteria);
  color: #0b2400;
  box-shadow: 0 8px 20px rgba(120, 190, 32, 0.35);
}

.btn--whatsapp:hover {
  background: var(--verde-loteria-hover);
  color: var(--blanco);
}

.btn--primary {
  background: var(--azul-loteria);
  color: var(--blanco);
}

.btn--primary:hover {
  background: var(--azul-oscuro);
}

.btn--secondary {
  background: var(--gris-fondo);
  color: var(--texto-oscuro);
  border-color: var(--gris-borde);
}

.btn--secondary:hover {
  background: var(--gris-borde);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.icon-wa {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #12388a 0%, var(--azul-loteria) 48%, var(--azul-oscuro) 100%);
  color: var(--blanco);
  padding: 3.5rem 0 4.25rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.badge-official {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: var(--amarillo);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.text-highlight {
  color: var(--verde-loteria);
}

.hero__lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.meta-item strong {
  color: var(--amarillo);
  font-size: 0.84rem;
}

.meta-item span {
  color: rgba(255, 255, 255, 0.92);
}

.hero__card {
  background: var(--blanco);
  color: var(--texto-oscuro);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.logo-frame {
  border-radius: 14px;
  overflow: hidden;
  background: var(--azul-oscuro);
  margin-bottom: 1.1rem;
}

.hero__logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.quick-wa-box h3 {
  font-size: 1.12rem;
  color: var(--azul-loteria);
  margin-bottom: 0.25rem;
}

.quick-wa-box p {
  font-size: 0.9rem;
  color: var(--gris-texto);
  margin: 0 0 0.85rem;
}

.quick-wa-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quick-wa-form select {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  border: 2px solid var(--gris-borde);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--texto-oscuro);
  background: var(--blanco);
}

.quick-wa-form select:focus {
  outline: none;
  border-color: var(--azul-loteria);
}

/* Promo Gordo de Navidad */
.promo-navidad {
  background: var(--gris-fondo);
  padding: 2.25rem 0 0;
}

.promo-navidad__card {
  background: radial-gradient(circle at top left, #9e1b1e 0%, #780d10 52%, #4a0608 100%);
  color: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 2px solid #e5ce6b;
  box-shadow: 0 16px 38px rgba(120, 13, 16, 0.28);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
}

.promo-navidad__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: var(--amarillo);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.promo-countdown {
  display: inline-flex;
  align-items: center;
  background: rgba(120, 190, 32, 0.22);
  border: 1px solid rgba(120, 190, 32, 0.6);
  color: #d9f99d;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.promo-navidad__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-style: italic;
  margin-bottom: 0.65rem;
}

.promo-navidad__content p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
}

.promo-navidad__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.promo-navidad__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.promo-navidad__logo {
  width: 145px;
  height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.promo-navidad__prices {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.price-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.price-box--highlight {
  background: var(--blanco);
  color: #5b090b;
  border-color: #e5ce6b;
}

.price-box__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.price-box--highlight .price-box__label {
  color: #780d10;
}

.price-box__value {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #e5ce6b;
  line-height: 1.15;
}

.price-box--highlight .price-box__value {
  color: #780d10;
}

.price-box__sub {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section--light {
  background: var(--blanco);
}

.section--gray {
  background: var(--gris-fondo);
}

.section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--azul-loteria);
  background: rgba(6, 3, 141, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.section__header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.section__header p {
  margin: 0;
  color: var(--gris-texto);
}

.pozos-updated {
  margin-top: 0.5rem !important;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul-loteria) !important;
}

.game-card__pozo {
  background: rgba(6, 3, 141, 0.05);
  border-left: 3px solid var(--verde-loteria);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.pozo-amount {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--azul-loteria);
  line-height: 1.2;
}

.pozo-detail {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gris-texto);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul-loteria);
  box-shadow: var(--shadow-md);
}

.game-card--featured {
  border-color: var(--verde-loteria);
  background: linear-gradient(180deg, #ffffff 0%, #f7fce9 100%);
}

.game-card__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--gris-fondo);
  color: var(--azul-loteria);
  margin-bottom: 0.85rem;
}

.game-card__badge--yellow {
  background: var(--amarillo-suave);
  color: #854d0e;
}

.game-card__badge--green {
  background: rgba(120, 190, 32, 0.18);
  color: #365314;
}

.game-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
  color: var(--azul-loteria);
}

.game-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--gris-texto);
  flex-grow: 1;
}

.game-card__cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--verde-loteria-hover);
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.result-card {
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.result-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gris-borde);
}

.result-card__head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--azul-loteria);
}

.result-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(6, 3, 141, 0.08);
  color: var(--azul-loteria);
}

.result-badge--green {
  background: rgba(120, 190, 32, 0.18);
  color: #365314;
}

.quini-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quini-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: var(--gris-fondo);
  border-radius: 10px;
}

.quini-row__info {
  display: flex;
  flex-direction: column;
}

.quini-row__info strong {
  font-size: 0.95rem;
  color: var(--texto-oscuro);
}

.quini-row__info span {
  font-size: 0.78rem;
  color: var(--gris-texto);
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.balls span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul-loteria);
  color: var(--blanco);
  font-weight: 800;
  font-size: 0.84rem;
  display: grid;
  place-items: center;
}

.result-note {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--gris-texto);
}

.quiniela-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.quiniela-item {
  background: var(--gris-fondo);
  border-left: 3px solid var(--azul-loteria);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quiniela-item strong {
  font-size: 0.96rem;
  color: var(--azul-loteria);
}

.quiniela-item span {
  font-size: 0.85rem;
  color: var(--gris-texto);
}

.loto-plus-extra {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--gris-borde);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--azul-loteria);
}

.plus-ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--verde-loteria);
  color: #0b2400;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
}

/* Quiniela Table Card */
.quiniela-table-card {
  margin-top: 1.5rem;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.quiniela-table-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.quiniela-table-card__head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--azul-loteria);
}

.quiniela-table-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gris-texto);
}

.quiniela-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.table-hint {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gris-texto);
  text-align: center;
  margin: 0 0 0.5rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.quiniela-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: center;
}

.quiniela-table th {
  background: var(--azul-loteria);
  color: var(--blanco);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.75rem 0.65rem;
}

.quiniela-table th:first-child {
  text-align: left;
  border-top-left-radius: 10px;
}

.quiniela-table th:last-child {
  border-top-right-radius: 10px;
}

.quiniela-table th small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--amarillo);
  margin-top: 0.1rem;
}

.quiniela-table td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--gris-borde);
  font-size: 0.95rem;
}

.quiniela-table td:first-child {
  text-align: left;
  color: var(--texto-oscuro);
}

.quiniela-table tbody tr:hover {
  background: var(--gris-fondo);
}

.num-pill {
  display: inline-block;
  background: rgba(6, 3, 141, 0.08);
  color: var(--azul-loteria);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.num-empty {
  color: #94a3b8;
  font-weight: 600;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.step-card {
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--gris-borde);
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--azul-loteria);
  color: var(--amarillo);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 0.95rem;
}

.trust-banner {
  background: linear-gradient(135deg, var(--azul-loteria), var(--azul-oscuro));
  color: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.trust-banner h3 {
  font-size: 1.35rem;
  color: var(--amarillo);
  margin-bottom: 0.35rem;
}

.trust-banner p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.92);
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.location-info h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 0.65rem;
}

.location-lead {
  color: var(--gris-texto);
  margin-bottom: 1.5rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gris-fondo);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--azul-loteria);
}

.info-list p {
  margin: 0.1rem 0 0;
  color: var(--texto-oscuro);
}

.link-inline {
  color: var(--azul-loteria);
  font-weight: 700;
  text-decoration: underline;
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--gris-borde);
  background: var(--gris-fondo);
  color: var(--texto-oscuro);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
}

.social-pill--ig:hover {
  border-color: #c13584;
  background: #fdf2f8;
  color: #9d174d;
}

.social-pill--fb:hover {
  border-color: #1877f2;
  background: #eff6ff;
  color: #1d4ed8;
}

.icon-social {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gris-borde);
  box-shadow: var(--shadow-md);
  min-height: 360px;
}

.map-box iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* Footer */
.footer {
  background: var(--azul-oscuro);
  color: rgba(255, 255, 255, 0.86);
  padding: 2rem 0 5.5rem;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__brand strong {
  color: var(--blanco);
  font-size: 1.05rem;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--blanco);
}

.footer__social a:hover {
  color: var(--verde-loteria);
  text-decoration: underline;
}

.footer__legal p {
  margin: 0;
  color: var(--amarillo);
  font-weight: 600;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 4.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--verde-loteria);
  color: #0b2400;
  font-weight: 800;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.wa-float:hover {
  transform: scale(1.04);
  background: var(--verde-loteria-hover);
  color: var(--blanco);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid,
  .location-grid,
  .results-grid,
  .promo-navidad__card {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }

  .top-bar {
    font-size: 0.76rem;
    padding: 0.45rem 0;
  }

  .top-bar__inner {
    flex-wrap: nowrap;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 1.75rem 0 2.25rem;
  }

  .hero__grid {
    gap: 1.35rem;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .hero__lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .logo-frame {
    display: none;
  }

  .promo-navidad {
    padding: 1.35rem 0 0;
  }

  .promo-navidad__card {
    padding: 1.35rem;
    gap: 1.25rem;
  }

  .promo-navidad__logo {
    width: 96px;
    height: 96px;
  }

  .promo-navidad__prices {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .price-box {
    padding: 0.9rem 0.65rem;
  }

  .price-box__value {
    font-size: 1.35rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section__header {
    margin-bottom: 1.65rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .game-card {
    padding: 0.95rem 0.85rem;
  }

  .game-card__badge {
    font-size: 0.68rem;
    margin-bottom: 0.55rem;
  }

  .game-card h3 {
    font-size: 1.02rem;
  }

  .game-card p {
    font-size: 0.8rem;
    line-height: 1.38;
    margin-bottom: 0.65rem;
  }

  .pozo-amount {
    font-size: 0.98rem;
  }

  .pozo-detail {
    font-size: 0.7rem;
  }

  .game-card__cta {
    font-size: 0.8rem;
  }

  .result-card,
  .quiniela-table-card {
    padding: 1.1rem;
  }

  .quini-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .balls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .balls span {
    width: 100%;
    max-width: 34px;
    height: 30px;
    font-size: 0.78rem;
    margin-inline: auto;
  }

  .table-hint {
    display: block;
  }

  .quiniela-table-actions {
    width: 100%;
  }

  .quiniela-table-actions .btn {
    flex: 1 1 auto;
    font-size: 0.82rem;
    padding: 0.5rem 0.7rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .trust-banner {
    padding: 1.35rem;
  }

  .map-box {
    min-height: 250px;
  }

  .map-box iframe {
    height: 250px;
  }

  .btn--lg {
    width: 100%;
  }

  .wa-float__text {
    display: none;
  }

  .wa-float {
    padding: 0.9rem;
    bottom: 4.5rem;
    right: 1rem;
  }

  .footer {
    padding: 1.75rem 0 6.5rem;
  }

  .footer__legal {
    align-items: flex-start;
  }
}
