body {
  background-color: #E5E7E9;
  padding-top: 30px;
}

.tarjeta-tonalli-contacto {
  max-width: 1500px;
  margin: 100px auto 60px;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Imagen estática en vez de carrusel */
.tarjeta-tonalli-carrusel {
  flex: 1;
  background: url("/assets/img/contacto/formulario1.png") no-repeat center center;
  background-size: cover;
  min-height: 659px;
}

/* Eliminamos .slider y @keyframes porque ya no se usa */

/* Formulario */
.tarjeta-tonalli-form {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  color: #2b2b2b;
}

.tarjeta-tonalli-form h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #2b2b2b;
}

.tarjeta-tonalli-form p {
  font-size: 14px;
  margin-bottom: 25px;
  color: #555;
}

.tarjeta-tonalli-form input,
.tarjeta-tonalli-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
  color: #2b2b2b;
  font-size: 14px;
}

.tarjeta-tonalli-form textarea {
  height: 100px;
  resize: none;
}

.tarjeta-tonalli-form button {
  background-color: #F1C40F;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.tarjeta-tonalli-form button:hover {
  background-color: #B7950B;
}

/* Eliminamos indicadores porque ya no hay slider */
.tarjeta-tonalli-indicadores {
  display: none;
}


/*Mapa*/
.tonalli-contacto-seccion {
  background: url("/assets/img/contacto/fondoma.png") no-repeat right center;
  background-size: 75%;
  background-color: #f2f2f2;
  background-repeat: no-repeat;
  padding: 100px 20px;
}

.tonalli-contacto-contenedor {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding: 0 20px;
}

.tonalli-contacto-lado-izquierdo {
  display: flex;
  flex-direction: column;
  width: 600px;
  gap: 40px;
  text-align: left;
}

.tonalli-contacto-mapa iframe {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.tonalli-contacto-mapa iframe:hover {
  transform: scale(1.01);
}

.tonalli-contacto-info {
  background-color: rgba(255, 255, 255, 0.65);
  padding: 25px 35px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tonalli-contacto-info h2 {
  font-size: 36px;
  color: #facc15; /* Amarillo fuerte */
  font-weight: 800;
  margin-bottom: 20px;
}

.tonalli-contacto-info p {
  font-size: 18px;
  line-height: 1.8;
  color: #222222;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.tonalli-contacto-info i {
  color: #1e3a8a; /* Azul profesional */
  margin-right: 10px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.tonalli-contacto-info span {
  color: #1e3a8a; /* Azul fuerte */
  font-weight: 600;
  font-size: 18px;
  margin-right: 5px;
}

.tonalli-contacto-info a {
  color: #f59e0b; /* Dorado suave */
  font-weight: 500;
  text-decoration: none;
}

.tonalli-contacto-info a:hover {
  text-decoration: underline;
  color: #d97706; /* Dorado más fuerte al hover */
}

/* Responsivo */
@media (max-width: 768px) {
  .tonalli-contacto-contenedor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tonalli-contacto-lado-izquierdo {
    width: 100%;
  }

  .tonalli-contacto-seccion {
    background-image: none;
  }

  .tonalli-contacto-info {
    padding: 20px;
  }

  .tonalli-contacto-info p {
    justify-content: center;
  }
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}


/* Scrollbar para navegadores basados en Webkit (Chrome, Edge, Opera, Safari) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9; /* Gris claro */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #facc15, #f59e0b); /* Amarillo solar */
  border-radius: 10px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #facc15 #f1f5f9;
}




/*LOADER*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');

#preloader-tonalli {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.8s ease;
  font-family: 'Raleway', sans-serif;
}

.loader-content img {
  width: 150px;
  max-width: 80%;
  animation: pop 3s ease-in-out infinite;
}

.loader-text {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2e6b2d;
  text-align: center;
}

@keyframes pop {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.9;
  }
}
