@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary-color: #531326;
  --secondary-color: #b30045;
  --accent-color: #ffc862;
  --dark-color: #531326;
  --light-color: #f8f8f8;
  --text-color: #333;
  --text-light: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.1s ease;
} 

/* Estilos globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  transition: var();
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-color);
  color: var(--text-color);
  line-height: 1.7;
}


/* CABECERA Y NAVEGACIÓN */
header {
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.623);
  padding: 8px 5%;
  height: 70px;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 2px solid #b30045;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}
/* 
.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

.nav-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 5px 0;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
} */

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* BANNER */
.banner {  
  background-color: var(--light-color);
  position: relative;
  width: 100%;
  height: 50%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  margin-bottom: 0;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 99vh;
  object-fit: contain;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: -1;
}

.banner-contenido {
      background-color: #ffffff;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease;
  margin-bottom: 40px; /* Espacio en la parte inferior */
}

.banner h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.281);
  margin: 0 auto;
}

/* RESPONSIVO MEJORADO */
@media (max-width: 992px) {
  .banner h1 {
    font-size: 4.5rem;
  }
  
  .banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 5%;
  }
  
  .banner h1 {
    font-size: 3.5rem;
    -webkit-text-stroke-width: 2px;
  }
  
  .banner h2 {
    font-size: 1.2rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .cursos {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .banner {
    height: 70vh;
  }
  
  .banner h1 {
    font-size: 2.5rem;
  }
  
  .banner h2 {
    font-size: 1rem;
  }
  
  .search-section {
    padding: 20px 5%;
  }
  
  .modal-content {
    padding: 20px;
    width: 80%;
    max-width: 800px;
    overflow: auto; 
    height: 75%;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;

  }
}


/* SECCIÓN DE BÚSQUEDA */
.search-section {
  padding: 20px 10%;
  background: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px; /* Solapa ligeramente con el banner */
  position: relative;
  z-index: 2;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.search-container h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.search-input-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-section {
  padding: 20px 10%;
  background: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.search-section input[type="text"] {
  width: 100%;
  height: 50px;
  padding: 15px 50px 15px 20px; /* Más padding a la derecha para el icono */
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.search-section input[type="text"]:focus {
  outline: none;
  border-color: var(--secondary-color);

}

.search-button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.search-button:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.search-button i {
  font-size: 1.2rem;
}

/* .search-section button {
  position: absolute;
  right: 55px;
  top: 140px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}


.search-section button:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}
*/

/* ESTILOS PARA EL CUADRO INFORMATIVO */
.info-box {
  background-color: rgba(112, 26, 52, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 15px;
  margin-top: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 2px;
}

.info-content p {
  margin: 0;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* EFECTOS HOVER */
.info-box:hover {
  background-color: rgba(112, 26, 52, 0.15);
  transform: translateY(-2px);
  transition: var(--transition);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  
  .info-icon {
    align-self: center;
  }
}

.modal-sea {
  display: none;
  position: absolute;
  top: 100%; /* Posiciona justo debajo del input */
  left: 0;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border-radius: 0 0 10px 10px; /* Solo redondea esquinas inferiores */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: -2px; /* Solapa el borde del input */
  animation: slideDown 0.1s ease-out;
  border: 2px solid var(--secondary-color);
  border-top: none; /* Elimina el borde superior para que se integre con el input */
  box-shadow: 
    3px 3px 0 px rgba(179, 0, 69, 0.2), /* Sombra derecha */
    -3px 3px 0 1px rgba(179, 0, 69, 0.2), /* Sombra izquierda */
    0px 3px 0 1px rgba(179, 0, 69, 0.2); /* Sombra inferior */
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-input-container {
  position: relative;
}

#modalContentSearch {
  padding: 0;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(179, 0, 69, 0.2);
}

.curso-item {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(112, 26, 52, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.curso-item:hover {
  background-color: rgba(112, 26, 52, 0.05);
  color: var(--secondary-color);
  transform: translateX(3px);
}

.curso-item:last-child {
  border-bottom: none;
}

/* Efecto de scroll personalizado */
.modal-sea::-webkit-scrollbar {
  width: 8px;
}

.modal-sea::-webkit-scrollbar-track {
  background: rgba(112, 26, 52, 0.05);
  border-radius: 0 10px 10px 0;
}


.search-results-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.search-course-category {
  font-size: 0.8rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-color);
}

.no-results i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.no-results p {
  margin: 0;
  font-size: 0.9rem;
}

/* Animación para suavizar la aparición */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECCIÓN DE CURSOS */
.cursos {
  padding: 60px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  background-color: var(--light-color);
}

.curso-card { 
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
  width: 350px; /* Ancho fijo para las tarjetas */
  flex-shrink: 0; /* Evita que se reduzcan */
}


.curso-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.curso-card.oculto {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none; /* Evita que ocupen espacio al estar ocultos */
  position: absolute;
  padding: 0;
  overflow: hidden;
}

.curso-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.curso-card:hover img {
  transform: scale(1.05);
}


.curso-info {
  padding: 20px;
  position: relative;
}

.curso-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  transition: var(--transition);
}

.curso-card:hover .curso-info::before {
  background: var(--secondary-color);
}

.curso-info h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.curso-info p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.curso-card:hover .curso-info h3 {
  color: var(--secondary-color);
}

.curso-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(112, 26, 52, 0.8), rgba(179, 0, 69, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.curso-card:hover .curso-overlay {
  opacity: 1;
}

.curso-overlay h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.curso-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #fff;
  margin: 7% auto;
  padding: 10px;
  width: 80%;
  overflow: auto; 
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMACIONES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-left, .modal-right {
  flex: 1 1 300px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-left img {
  width: 100%;
  border-radius: 8px;
}

.modal-right h2 {
  font-size: 19 px;
  margin-bottom: 10px;
}

.modal-right p {
  margin-bottom: 20px;
}

.modal-right button {
  padding: 10px 20px;
  border: none;
  background: #701a34;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-right button:hover {
  background: #ffcc00;
  color: #701a34;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  
}

.popup-content-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 5px;
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: auto;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-submit {
  background-color: #701a34; /* base azul */
  color: #fff;               /* Texto en blanco */
  border: none;              /* Sin borde */
  border-radius: 5px;        /* Bordes redondeados */
  padding: 12px 24px;        /* Espaciado interno */
  font-size: 16px;           /* Tamaño de fuente */
  font-weight: 500;
  cursor: pointer;           /* Indica que es clickeable */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #5e142b; /* Tonalidad más oscura al pasar el cursor */
  transform: scale(1.03);    /* Leve aumento en tamaño para destacar */
}

.btn-submit:active {
  background-color: #370d19; /* Color aún más oscuro al hacer click */
  transform: scale(0.98);    /* Pequeño efecto de pulsación */
}

.btn-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.5); /* Resalta el foco para accesibilidad */
}

/* POPUP */
.popup, .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: absolute;
  display: inline;
  background: white;
  padding: 20px;
  width: 80%;
  max-width: 600px; 
  max-height: 600px;
  overflow-y: auto;
  border-radius: 10px;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content .close {
  position: absolute;
  display: flex;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  margin: auto;
  
}

.form-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.curso-lista a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.curso-lista a:hover {
  background-color: #ddd;
}

/* PIE DE PÁGINA */
footer {
  background: var(--dark-color);
  color: var(--text-light);
  padding: 60px 10% 30px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas de igual tamaño */
  gap: 40px;
  margin-bottom: 40px;
}

.footer-map {
  width: 100%;
  height: 100%;
  min-height: 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent-color);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.footer-section {
  flex: 1 1 200px;
  text-align: left;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.footer-section p, .footer-section a {
  margin-bottom: 15px;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}


/* Sección inferior del footer */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-section a {
  color: #ffffff; /* Color del texto normal */
  text-decoration: underline;
  font-weight: bold;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .col {
  flex: 1;
}

/* Inputs y textarea */
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  margin: 5px;
  transition: all 0.3s ease-in-out;
  z-index: inherit;
}

.form-control:focus {
  border-color: #ff0055;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 0, 81, 0.5);
}

/* Estilos para el modal de descripción */
#detalle-modal {
  display: none; /* Se muestra al activar */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Contenedor del modal */
#detalle-modal .modal-content {
  flex: 1 1 300px;
  display: flex;
  max-width: 800px;
  overflow: auto; 
      border: 1px solid black;
  flex-direction: column;
  animation: fadeIn 0.3s ease-in-out;
}

/* Animación para suavizar la aparición */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Botón para cerrar el modal */
#detalle-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Estilo para el botón de registro */
#detalle-registro-btn {
  margin: 30px auto 0 auto;  /* 30px de margen superior y centrado horizontalmente */
  background-color: #701a34; /* Color base azul */
  color: #fff;               /* Texto en blanco */
  border: none;              /* Sin borde */
  border-radius: 5px;        /* Bordes redondeados */
  padding: 12px 24px;        /* Espaciado interno */
  font-size: 16px;           /* Tamaño de fuente */
  font-weight: 500;
  cursor: pointer;           /* Indica que es clickeable */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#detalle-registro-btn:hover {
  background-color: #b30045; /* Tonalidad más oscura al pasar el cursor */
  transform: scale(1.03);    /* Leve aumento en tamaño para destacar */
}

#detalle-registro-btn:active {
  background-color: #85003c; /* Color aún más oscuro al hacer click */
  transform: scale(0.98);    /* Pequeño efecto de pulsación */
}

#detalle-registro-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 98, 0.5); /* Resalta el foco para accesibilidad */
}

/* ESTILOS PARA PÁGINA DE AGRADECIMIENTO */
.gracias-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
  background-color: var(--light-color);
}

.gracias-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  width: 100%;
  animation: fadeInUp 0.5s ease;
}

.gracias-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  animation: bounceIn 0.8s ease;
}

.gracias-content h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.gracias-mensaje {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
}

.gracias-info {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-volver {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.btn-volver:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ANIMACIONES */
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gracias-content {
    padding: 30px 20px;
  }
  
  .gracias-icon {
    font-size: 4rem;
  }
  
  .gracias-content h1 {
    font-size: 1.8rem;
  }
  
  .gracias-mensaje {
    font-size: 1rem;
  }
  .modal-content {
    flex-direction: column;
    width: 95%;
    margin: 5% auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 15px;
  }
  .modal-left, 
  .modal-right {
    flex: none;
    width: 100%;
    padding: 10px;
  }

  .modal-left {
    order: 1;
    margin-bottom: 15px;
  }

  .modal-right {
    order: 2;
    text-align: center;
  }

  .modal-left img {
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
  }

  .modal-right h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .modal-right p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
  }

  .modal-right button {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    font-size: 1rem;
  }

}

#form-message {
  padding: 15px;
  border-radius: 5px;
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
  min-height: 50px;
  display: none; /* Se mostrará con JavaScript */
}