body {
  background: #faf8f4;
  font-family: 'Montserrat', Arial, sans-serif;
}

.logo-maximo {
  width: 120px;
  height: auto;
}

.text-mx-dorado {
  color: #d4af37;
}

.main-banner {
  width: 100%;
  max-width: 950px;
  margin: 1rem auto 2rem auto;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
}

.section-title {
  color: #d4af37;
  font-weight: bold;
}

.category-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 18px rgba(212,175,55,0.09);
  margin-bottom: 1.2rem;
  padding: 1.2rem 1rem;
}

.cta-btn {
  background: #ffd700;
  color: #222;
  border-radius: 2rem;
  border: none;
  font-weight: bold;
  padding: 0.7rem 1.6rem;
  margin: 0.4rem;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #ffe066;
  color: #111;
}
.whatsapp-btn {
  background: #25d366;
  color: #fff;
  border-radius: 2rem;
  border: none;
  font-weight: bold;
  padding: 0.7rem 1.6rem;
  margin: 0.4rem 0.4rem 0.4rem 0;
  transition: background 0.2s;
}
.whatsapp-btn:hover {
  background: #1ebe54;
}

.form-section {
  background: #fffbe6;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 1px 14px rgba(212,175,55,0.05);
  max-width: 500px;
  margin: 2rem auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 18px rgba(212,175,55,0.07);
  margin-bottom: 1.2rem;
  min-height: 170px;
}

footer {
  background: #222;
  color: #fff;
  padding: 2rem 1vw 1rem 1vw;
  text-align: center;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  margin-top: 3rem;
}

.footer-legal {
  font-size: 0.93rem;
  color: #b8b8b8;
}

/* Estilos para la página de la rifa */

.grid-numeros {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* 10 por fila en PC */
  gap: 10px;
  max-width: 900px;
  margin: 12px auto;
  justify-items: center;
}

@media (max-width: 900px) {
  .grid-numeros {
    grid-template-columns: repeat(8, 1fr); /* 6 por fila en tablet */
    max-width: 400px;
  }
}
@media (max-width: 600px) {
  .grid-numeros {
    grid-template-columns: repeat(5, 1fr); /* 3 por fila en móvil */
    max-width: 98vw;
  }
}

.numero-celda {
  width: 50px;
  height: 50px;
  margin: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 50%;
  border: 2px solid #d4af37;
  font-size: 1.2rem;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  position: relative;
  user-select: none;
}

.numero-libre {
  background: #e4ffd1;
  cursor: pointer;
  color: #333;
}

.numero-libre:hover {
  background: #c9ffb1;
  color: #1b7a23;
}

.numero-ocupado {
  background: #ffeaea;
  color: #ccc;
  text-decoration: line-through;
  cursor: not-allowed;
  position: relative;
}

.numero-ocupado::after {
  content: '';
  position: absolute;
  left: 5px; right: 5px; top: 24px; height: 4px;
  background: red;
  border-radius: 3px;
  transform: rotate(-20deg);
}
.leyenda { margin: 16px 0; }
@media (max-width: 600px) {
  .numero-celda { width: 38px; height: 38px; font-size: 1rem; }
  .grid-numeros { max-width: 98vw; }
}
.main-container {
  max-width: 1080px;
  margin: 0 auto;
}
body {
  background: #f8f6f1;
}
/* -------------------------------------------
   ESTILO ÚNICO PARA PÁGINAS DE INFORMACIÓN LEGAL
   (Política de Privacidad, Términos y Condiciones)
   ------------------------------------------- */

/* Estructura y tipografía */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #fafbfc;
  color: #222;
  line-height: 1.65;
}

/* Encabezado principal */
header {
  background: #232f3e;
  color: #fff;
  padding: 30px 0 20px 0;
  text-align: center;
  border-bottom: 3px solid #eabe4e;
  box-shadow: 0 4px 16px rgba(35,47,62,0.03);
  letter-spacing: 0.5px;
}

/* Contenedor central para texto legal */
.containerlegal {
  max-width: 900px;
  margin: 32px auto 56px auto;
  background: #fff;
  padding: 42px 34px 34px 34px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07);
}

/* Títulos */
h1, h2 {
  color: #232f3e;
  margin-top: 1.3em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5em;
  letter-spacing: 1px;
  margin-top: 0.6em;
  margin-bottom: 0.2em;
}

h2 {
  font-size: 1.35em;
  margin-bottom: 0.3em;
}

/* Listas */
ul, ol {
  margin-left: 1.7em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.4em;
}

/* Enlaces */
a {
  color: #eabe4e;
  text-decoration: underline;
  transition: color 0.18s;
}

a:hover {
  color: #232f3e;
}

/* Botón de regreso */
.back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 22px;
  background: #eabe4e;
  color: #232f3e;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.5px;
  transition: background 0.18s, color 0.18s;
}

.back-link:hover {
  background: #232f3e;
  color: #fff;
}

/* Pie de página */
footer {
  text-align: center;
  color: #888;
  font-size: 0.97em;
  padding: 18px 0 10px 0;
  border-top: 1px solid #eaeaea;
  background: #fafbfc;
  margin-top: 40px;
}

/* Adaptación para móviles */
@media (max-width: 700px) {
  .container {
    padding: 16px 6px 20px 6px;
  }
  header {
    padding: 20px 0 10px 0;
    font-size: 1em;
  }
  h1 {
    font-size: 1.4em;
  }
}
@media (max-width: 700px) {
  .logo-maximo {
    width: 55px;
    /* O el tamaño que prefieras */
    height: auto;
  }
}
/* ---- SELECCIÓN MÚLTIPLE PARA LA RIFA ---- */
.numero-seleccionado {
  background: #b4e0ff !important;
  color: #054872 !important;
  border-color: #2b95d6 !important;
  box-shadow: 0 0 12px rgba(43,149,214,0.15);
  z-index: 1;
}
#whatsapp-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  border-radius: 2rem;
  border: none;
  font-weight: bold;
  box-shadow: 0 2px 18px rgba(37,211,102,0.11);
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
}
#whatsapp-btn:hover {
  background: #1ebe54;
}
@media (max-width:600px) {
  #whatsapp-btn { 
    right: 10px; 
    left: 10px; 
    bottom: 15px; 
    width: calc(100vw - 20px); 
    padding: 13px 0;
    font-size: 1em;
  }
}
