* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #1a1a1a;
  color: #f2f2f2;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(45deg, #070828, #2c0909);
  border-bottom: 4px double #2a018a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.61);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #c62828;
  margin: 0;
}

.site-nav a {
  color: #f2f2f2;
  text-decoration: none;
  margin-left: 15px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #c62828;
}

.hero {
  background: radial-gradient(circle at top, #333, #111);
  text-align: center;
  padding: 80px 20px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image .boton {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.boton {
  background: linear-gradient(45deg, #c62828, #8e0000);
  color: #fff;
  padding: 15px 35px;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 0 #4e0000;
  transition: all 0.3s ease; /* animación suave */
}

.boton:hover {
  background: #450101;
  box-shadow: 0 8px 15px rgba(0,0,0,0.5); /* solo cambia sombra */
}


.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 #000;
}

.servicios, .nosotros, .ubicacion {
  padding: 40px 20px;
  text-align: center;
}

.servicio-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.servicio {
  background: #333;
  padding: 20px;
  border-radius: 8px;
}

/* Responsive tablets y + */
@media(min-width: 768px) {
  .servicio-lista {
    flex-direction: row;
    justify-content: center;
  }

  .servicio {
    width: 30%;
  }
}

/* Navegación móvil */
@media(max-width: 600px) {
  .nav-container {
    flex-direction: column;
  }

  .site-nav {
    margin-top: 10px;
  }

  .hero-image .boton {
    padding: 5px 10px;
    font-size: 0.5rem;
  }
}

/* Estilo para la sección de agendar cita */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.formulario-cita {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

input, select, button {
  padding: 10px;
  border: 1px solid #555;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  background: #1a1a1a;
  color: #f2f2f2;
}

input:focus, select:focus {
  border-color: #c62828;
  outline: none;
}

button {
  background-color: #c62828;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #b71c1c;
}

.footer {
  background: #000;
  color: #f2f2f2;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}


.remove-item {
  margin-left: 10px;
}

.oculto {
  display: none;
}

/* estilos para la página de gracias */

  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
  }

  th, td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: left;
  }

  th {
    background-color: #0e1c76;
  }

.slot {
  margin: 5px;
  width: auto;
}

.slot.seleccionado {
  background-color: #b71c1c;
}

/* Tarjeta de instrucciones de pago */
.pago-card {
  background: linear-gradient(135deg, #212780, #2c0909);
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  margin: 20px 0;
}

.pago-card p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.referencia-destacada {
  color: #ffeb3b;
  font-size: 1.5rem;
  font-weight: 700;
}

.copy-btn {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.copy-btn:hover {
  background-color: #b71c1c;
}

.mensaje-referencia {
  font-style: italic;
  margin-top: 10px;
}

