/* Reset básico: Elimina márgenes y paddings por defecto y establece box-sizing para incluir bordes y paddings en el ancho/alto */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos para el cuerpo de la página: Fuente, altura de línea, color de texto y fondo */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Contenedor principal: Limita el ancho máximo, centra el contenido y agrega padding lateral */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header: Barra de navegación superior con fondo blanco, sombra y posición fija al hacer scroll */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Contenedor interno del header: Flexbox para alinear elementos horizontalmente */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Marca/Logo: Enlace con logo y nombre, alineado a la izquierda */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #4A90E2;
  font-weight: bold;
  font-size: 2rem;
}

/* Logo: Imagen del logo con altura fija */
.logo {
  height: 60px;
  margin-right: 10px;
}

/* Botón de toggle para menú móvil: Oculto por defecto, se muestra en pantallas pequeñas */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navegación principal: Lista de enlaces en flexbox */
.main-nav {
  display: flex;
  gap: 2rem;
}

/* Enlaces del menú: Sin decoración, color gris, transición al pasar el mouse */
.main-nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

/* Hover en enlaces del menú: Cambia a color morado */
.main-nav a:hover {
  color: #892af7;
}

/* Dropdown: Contenedor del menú desplegable */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Contenido del dropdown: Oculto por defecto */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}

/* Enlaces del dropdown */
.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

/* Hover en enlaces del dropdown */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Mostrar dropdown al hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Estilo para enlaces activos: Resalta el menú actual */
.main-nav a.active, .dropdown-content a.active {
  color: #892af7;
  font-weight: bold;
}



/* Sección Hero: Fondo degradado, texto blanco, centrado, con overflow visible para elementos que sobresalen */
.hero {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  padding: 2rem 10;
  text-align: center;
  overflow: visible;
  position: relative;
  height: 350px; /* Altura */
  margin-top: 80px;
}

/* Contenedor dentro de Hero: Flexbox para alinear contenido, con margen izquierdo para dejar espacio a la mascota */
.hero .container {
  height: 350px; /* Altura aumentada a tres veces */
  display: flex;
  align-items: center;
  margin-left: 400px;
}

/* Mascota: Imagen posicionada absolutamente a la izquierda, sobresaliendo arriba */
.mascota {
  width: 300px;
  height: auto;
  position: absolute;
  left: 0;
  top: -2.4cm;
  flex-shrink: 0;
}

/* Contenido del Hero: Texto a la izquierda dentro del contenedor */
.hero-content {
  flex: 1;
  text-align: left;
}

/* Título del Hero: Tamaño grande, peso ligero */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* Párrafo del Hero: Tamaño mediano, máximo ancho */
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Botón primario: Estilo para enlaces de acción con fondo blanco */
.btn-primary {
  display: inline-block;
  background-color: #892af7;
  color: #e5e8ec;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

/* Hover en botón primario: Cambia fondo y eleva ligeramente */
.btn-primary:hover {
  background-color: #b785f1;
  transform: translateY(-2px);
}

/* Sección Features: Grid responsivo para artículos */
.features {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Artículos en Features: Fondo blanco, padding, sombra, transición al hover */
.features article {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

/* Hover en artículos: Eleva ligeramente */
.features article:hover {
  transform: translateY(-5px);
}

/* Títulos en Features: Color azul */
.features h3 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Footer: Fondo oscuro, texto blanco, centrado */
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

/* Párrafos en Footer: Margen inferior */
.site-footer p {
  margin-bottom: 0.5rem;
}

/* Sección de contenido general */
.content {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.content h2 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Subtítulos en contenido */
.content h3 {
  color: #4A90E2;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content h4 {
  color: #357ABD;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.content li {
  margin-bottom: 0.5rem;
}

/* Formulario en PQRS */
form {
  max-width: 600px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

input[type="submit"] {
  background-color: #4A90E2;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #357ABD;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

#close-modal {
  background-color: #4A90E2;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

#close-modal:hover {
  background-color: #357ABD;
}

/* Lista de documentos - Normatividad */
.docs-list {
  margin-bottom: 2rem;
}

.doc-item {
  background-color: #fafafa;
  border-left: 4px solid #4A90E2;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.doc-item a {
  color: #4A90E2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.doc-item a:hover {
  color: #357ABD;
  text-decoration: underline;
}

.doc-item p {
  margin-top: 0.5rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-note {
  background-color: #e8f4f8;
  border-left: 4px solid #4A90E2;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 2rem;
}

.legal-note p {
  margin: 0;
  color: #333;
}

/* Estilos para details/summary en Normatividad */
.content details {
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fafafa;
}

.content summary {
  cursor: pointer;
  padding: 1rem;
  font-size: 1.2rem;
  color: #4A90E2;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.content summary::-webkit-details-marker {
  display: none;
}

.content summary::after {
  content: ' ▼';
  position: absolute;
  right: 1rem;
  font-size: 1rem;
}

.content details[open] summary::after {
  content: ' ▲';
}

/* Lista de socios - Aliados */
.partners-list {
  padding: 1rem 0;
}

.partner-item {
  background-color: #fafafa;
  border-left: 4px solid #4A90E2;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.partner-item h4 {
  color: #6BA3D6;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.partner-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.alliance-note {
  background-color: #e8f4f8;
  border-left: 4px solid #4A90E2;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 2rem;
}

.alliance-note p {
  margin: 0;
  color: #333;
}

/* Mensaje de implementación - Inmuebles */
.implementation-message {
  background-color: #fff;
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.implementation-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.implementation-message h2 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.implementation-message p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.implementation-message p.coming-soon {
  color: #666;
  font-style: italic;
  margin-bottom: 2rem;
}

.implementation-message .btn-primary {
  display: inline-block;
  background-color: #4A90E2;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.implementation-message .btn-primary:hover {
  background-color: #357ABD;
  transform: translateY(-2px);
}

/* Sección de contacto */
.contact-sections {
  margin-bottom: 3rem;
}

.contact-sections details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fafafa;
}

.contact-sections summary {
  cursor: pointer;
  padding: 1rem;
  font-size: 1.2rem;
  color: #4A90E2;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.contact-sections summary::-webkit-details-marker {
  display: none;
}

.contact-sections summary::after {
  content: ' ▼';
  position: absolute;
  right: 1rem;
  font-size: 1rem;
}

.contact-sections details[open] summary::after {
  content: ' ▲';
}

.contact-info {
  padding: 1rem;
  background-color: #fff;
  margin: 0;
}

.location-item, .contact-item {
  background-color: #fafafa;
  border-left: 4px solid #4A90E2;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.location-item h4, .contact-item h4 {
  color: #4A90E2;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.location-item p, .contact-item p {
  color: #555;
  font-size: 0.95rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.contact-item a {
  color: #4A90E2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #357ABD;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.5rem !important;
}

/* Formulario de contacto */
.form-section {
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
}

.form-section h2 {
  color: #4A90E2;
  margin-bottom: 1rem;
}

.form-section p {
  color: #555;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #4A90E2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.form-group textarea {
  resize: vertical;
}

.form-section input[type="submit"] {
  background-color: #4A90E2;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
}

.form-section input[type="submit"]:hover {
  background-color: #357ABD;
}

/* Acordeón con details */
details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fafafa;
}

summary {
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #4A90E2;
  font-weight: bold;
  list-style: none; /* Quitar el triángulo por defecto */
  position: relative;
}

summary::-webkit-details-marker {
  display: none; /* Ocultar marcador en webkit */
}

summary::after {
  content: ' ▼';
  position: absolute;
  right: 0.5rem;
  font-size: 0.75rem;
}

details[open] summary::after {
  content: ' ▲';
}

details > div, details > p, details > ul {
  padding: 0.5rem;
  background-color: #fff;
  margin: 0;
}

/* Para detalles anidados */
details details {
  margin-bottom: 0.5rem;
  border: none;
  background-color: transparent;
}

details details summary {
  font-size: 0.6rem;
  color: #357ABD;
  padding: 0.25rem 0.5rem;
}

details details summary::after {
  right: 0.25rem;
  font-size: 0.6rem;
}

/* Media Query para pantallas pequeñas: Ajustes para móvil */
@media (max-width: 768px) {
  /* Muestra el botón de toggle */
  .nav-toggle {
    display: block;
  }

  /* Oculta el menú por defecto, se muestra al activar */
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
  }

  /* Clase active para mostrar menú */
  .main-nav.active {
    display: flex;
  }

  /* Contenedor Hero en móvil: Apila verticalmente, centra texto */
  .hero .container {
    flex-direction: column;
    text-align: center;
    margin-left: 0;
    height: auto;
  }

  /* Mascota en móvil: Posición relativa, tamaño reducido */
  .mascota {
    position: relative;
    width: 150px;
    top: 0;
    margin-bottom: 1rem;
  }

  /* Contenido Hero en móvil: Centrado */
  .hero-content {
    text-align: center;
  }

  /* Dropdown en móvil: Mostrar submenús siempre, sin sombra */
  .dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }

  /* Enlaces del dropdown en móvil: Ajustar padding */
  .dropdown-content a {
    padding: 8px 16px;
  }

  /* Título en móvil: Tamaño reducido */
  .hero h1 {
    font-size: 2rem;
  }

  /* Párrafo en móvil: Tamaño reducido */
  .hero p {
    font-size: 1rem;
  }
}

/* ========== NUEVOS ESTILOS PARA HOMEPAGE MEJORADA ========== */

/* Sección de Estadísticas */
.stats-section {
  background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
  color: #fff;
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Sección Cómo Funciona */
.how-it-works {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works h2 {
  text-align: center;
  color: #4A90E2;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.step-number {
  display: inline-block;
  background-color: #4A90E2;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-connector {
  display: none;
  position: absolute;
  right: -50px;
  top: 50%;
  width: 100px;
  height: 2px;
  background-color: #4A90E2;
  transform: translateY(-50%);
}

.step-card:not(:last-child) .step-connector {
  display: block;
}

/* Sección de Beneficios Mejorada */
.benefits-section {
  padding: 4rem 2rem;
  background-color: #fff;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-section h2 {
  text-align: center;
  color: #4A90E2;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  border-radius: 10px;
  padding: 2rem;
  border-left: 4px solid #4A90E2;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.benefit-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section - Call to Action */
.cta-section {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background-color: #fff;
  color: #4A90E2;
  font-weight: bold;
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
}

.cta-buttons .btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Respuestas para móvil */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .step-connector {
    display: none !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    border-left: none;
    border-top: 4px solid #4A90E2;
  }

  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
}

/* ========== ESTILOS PARA PÁGINA DE CONTACTO MEJORADA ========== */

/* Sección de Canales de Contacto */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.channel-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid #4A90E2;
}

.channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.channel-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.channel-card h3 {
  color: #4A90E2;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.channel-card .channel-detail {
  margin-bottom: 0.8rem;
  color: #555;
  font-size: 0.95rem;
}

.channel-card a {
  color: #4A90E2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 0.5rem;
}

.channel-card a:hover {
  color: #357ABD;
  text-decoration: underline;
}

/* Sección de Ubicaciones */
.locations-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  margin: 4rem 0;
}

.locations-title {
  text-align: center;
  color: #4A90E2;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.location-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.location-card h3 {
  color: #4A90E2;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.location-info {
  margin-bottom: 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.location-info strong {
  color: #333;
  display: block;
  margin-bottom: 0.3rem;
}

/* Sección de Formulario Mejorada */
.contact-form-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  margin: 4rem 0;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  color: #4A90E2;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-form-container > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.form-group input[type="submit"] {
  background-color: #4A90E2;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
}

.form-group input[type="submit"]:hover {
  background-color: #357ABD;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sección de respuesta rápida */
.quick-response-banner {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
  border-radius: 10px;
}

.quick-response-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.quick-response-banner p {
  font-size: 1.1rem;
  opacity: 0.95;
  color: #fff;
}

.response-time {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-top: 1rem;
  font-weight: bold;
}

/* Respuesta para móvil en página de contacto */
@media (max-width: 768px) {
  .contact-channels {
    grid-template-columns: 1fr;
  }

  .channel-card {
    padding: 2rem 1.5rem;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .contact-form-container h2 {
    font-size: 1.6rem;
  }

  .quick-response-banner h3 {
    font-size: 1.4rem;
  }
}

/* ========== ESTILOS PARA PÁGINA DE ACCESO (LOGIN) ========== */

/* Contenedor principal de acceso */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0f1f3f 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Fondo animado con gradiente borroso tipo Firebase */
.login-container::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.25) 0%, rgba(74, 144, 226, 0.1) 35%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -150px;
  pointer-events: none;
  filter: blur(80px);
  animation: float-blob1 12s ease-in-out infinite;
  z-index: 1;
}

.login-container::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(53, 122, 189, 0.3) 0%, rgba(53, 122, 189, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  left: -100px;
  pointer-events: none;
  filter: blur(80px);
  animation: float-blob2 14s ease-in-out infinite;
  z-index: 1;
}

@keyframes float-blob1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -80px) scale(1.1);
  }
  50% {
    transform: translate(-50px, -50px) scale(0.95);
  }
  75% {
    transform: translate(30px, 80px) scale(1.05);
  }
}

@keyframes float-blob2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-60px, 80px) scale(1.05);
  }
  50% {
    transform: translate(50px, 60px) scale(0.9);
  }
  75% {
    transform: translate(-40px, -80px) scale(1.1);
  }
}

/* Efecto de luces adicionales */
.login-container-lights {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  pointer-events: none;
}

.light-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 30% 30%, rgba(74, 144, 226, 0.8) 0%, rgba(74, 144, 226, 0.4) 30%, transparent 70%);
  top: -150px;
  left: -200px;
  animation: drift-1 15s ease-in-out infinite;
}

.light-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 30% 30%, rgba(100, 150, 255, 0.6) 0%, rgba(100, 150, 255, 0.3) 40%, transparent 70%);
  top: 20%;
  right: -300px;
  animation: drift-2 18s ease-in-out infinite;
}

.light-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle at 30% 30%, rgba(53, 122, 189, 0.7) 0%, rgba(53, 122, 189, 0.35) 35%, transparent 70%);
  bottom: -200px;
  left: -150px;
  animation: drift-3 20s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
  }
  25% { 
    transform: translate(100px, -120px) scale(1.1);
  }
  50% { 
    transform: translate(-80px, -100px) scale(0.95);
  }
  75% { 
    transform: translate(60px, 100px) scale(1.05);
  }
}

@keyframes drift-2 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
  }
  25% { 
    transform: translate(-120px, 100px) scale(1.05);
  }
  50% { 
    transform: translate(100px, 80px) scale(0.9);
  }
  75% { 
    transform: translate(-100px, -120px) scale(1.1);
  }
}

@keyframes drift-3 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
  }
  25% { 
    transform: translate(80px, 120px) scale(1.08);
  }
  50% { 
    transform: translate(-100px, 80px) scale(0.92);
  }
  75% { 
    transform: translate(120px, -100px) scale(1.12);
  }
}

/* Tarjeta de login */
.login-card {
  background: #0f1a2e;
  backdrop-filter: none;
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  animation: slideUp 0.6s ease-out;
}

/* Contraluz animada detrás del formulario */
.backlight-effect {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 5;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: fire-glow 10s ease-in-out infinite;
  box-shadow: 
    0 0 250px rgba(255, 100, 0, 0.8),
    0 0 350px rgba(255, 100, 0, 0.6),
    0 0 450px rgba(255, 100, 0, 0.4);
}

@keyframes fire-glow {
  0% {
    background: radial-gradient(circle, rgba(255, 50, 0, 1) 0%, rgba(255, 80, 0, 0.6) 20%, transparent 70%);
    filter: blur(140px);
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 
      0 0 250px rgba(255, 50, 0, 0.9),
      0 0 350px rgba(255, 50, 0, 0.7),
      0 0 450px rgba(255, 50, 0, 0.5);
  }
  12.5% {
    background: radial-gradient(circle, rgba(255, 80, 0, 1) 0%, rgba(255, 100, 20, 0.6) 20%, transparent 70%);
    filter: blur(145px);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
      0 0 260px rgba(255, 80, 0, 0.85),
      0 0 360px rgba(255, 80, 0, 0.65),
      0 0 460px rgba(255, 80, 0, 0.45);
  }
  25% {
    background: radial-gradient(circle, rgba(255, 120, 0, 1) 0%, rgba(255, 140, 30, 0.6) 20%, transparent 70%);
    filter: blur(150px);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 
      0 0 270px rgba(255, 120, 0, 0.9),
      0 0 370px rgba(255, 120, 0, 0.7),
      0 0 470px rgba(255, 120, 0, 0.5);
  }
  37.5% {
    background: radial-gradient(circle, rgba(255, 150, 0, 1) 0%, rgba(255, 170, 50, 0.6) 20%, transparent 70%);
    filter: blur(155px);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 
      0 0 280px rgba(255, 150, 0, 0.88),
      0 0 380px rgba(255, 150, 0, 0.68),
      0 0 480px rgba(255, 150, 0, 0.48);
  }
  50% {
    background: radial-gradient(circle, rgba(255, 180, 0, 0.95) 0%, rgba(255, 200, 80, 0.5) 20%, transparent 70%);
    filter: blur(160px);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 
      0 0 290px rgba(255, 180, 0, 0.9),
      0 0 390px rgba(255, 180, 0, 0.7),
      0 0 490px rgba(255, 180, 0, 0.5);
  }
  62.5% {
    background: radial-gradient(circle, rgba(255, 150, 0, 1) 0%, rgba(255, 170, 50, 0.6) 20%, transparent 70%);
    filter: blur(155px);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 
      0 0 280px rgba(255, 150, 0, 0.88),
      0 0 380px rgba(255, 150, 0, 0.68),
      0 0 480px rgba(255, 150, 0, 0.48);
  }
  75% {
    background: radial-gradient(circle, rgba(255, 100, 0, 1) 0%, rgba(255, 120, 20, 0.6) 20%, transparent 70%);
    filter: blur(150px);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 
      0 0 265px rgba(255, 100, 0, 0.87),
      0 0 365px rgba(255, 100, 0, 0.67),
      0 0 465px rgba(255, 100, 0, 0.47);
  }
  87.5% {
    background: radial-gradient(circle, rgba(255, 70, 0, 1) 0%, rgba(255, 90, 10, 0.6) 20%, transparent 70%);
    filter: blur(145px);
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: 
      0 0 255px rgba(255, 70, 0, 0.86),
      0 0 355px rgba(255, 70, 0, 0.66),
      0 0 455px rgba(255, 70, 0, 0.46);
  }
  100% {
    background: radial-gradient(circle, rgba(255, 50, 0, 1) 0%, rgba(255, 80, 0, 0.6) 20%, transparent 70%);
    filter: blur(140px);
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 
      0 0 250px rgba(255, 50, 0, 0.9),
      0 0 350px rgba(255, 50, 0, 0.7),
      0 0 450px rgba(255, 50, 0, 0.5);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Logo en la tarjeta */
.login-logo {
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.login-logo-img {
  max-width: 75px;
  height: auto;
  margin-bottom: 0.8rem;
  animation: fadeIn 0.8s ease-out;
  filter: drop-shadow(0 0 25px rgba(74, 144, 226, 0.8));
  position: relative;
  z-index: 2;
}

.login-logo p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0.3rem 0 0 0;
  font-size: 0.8rem;
}

/* Línea decorativa */
.login-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.5), transparent);
  margin: 1.2rem 0;
}

/* Título de la sección */
.login-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  text-align: center;
  font-weight: 400;
}

/* Grupo de formulario para login */
.login-form-group {
  margin-bottom: 0.8rem;
}

/* Fila de formulario (dos campos lado a lado) */
.login-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.login-form-row .login-form-group {
  margin-bottom: 0;
}

.login-form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.login-form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(74, 144, 226, 0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
}

.login-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login-form-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(74, 144, 226, 0.8);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
}

/* Opciones adicionales (remember me, etc) */
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0 1.2rem 0;
  font-size: 0.85rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #4A90E2;
}

.login-remember label {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  cursor: pointer;
}

.login-forgot {
  color: rgba(74, 144, 226, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.login-forgot:hover {
  color: rgba(74, 144, 226, 1);
  text-decoration: underline;
}

/* Botón de login */
.login-button {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 144, 226, 0.4);
  background: linear-gradient(135deg, #357ABD 0%, #2a5a9d 100%);
}

.login-button:active {
  transform: translateY(0);
}

/* Separador */
.login-separator {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  margin: 1.2rem 0;
  position: relative;
  font-size: 0.9rem;
}

.login-separator::before,
.login-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 144, 226, 0.2), transparent);
}

.login-separator::before {
  left: 0;
}

.login-separator::after {
  right: 0;
}

/* Enlaces de registro */
.login-footer {
  text-align: center;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(74, 144, 226, 0.2);
}

.login-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.6rem 0;
  font-size: 0.85rem;
}

.login-links {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.login-link {
  color: #4A90E2;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 8px;
  display: inline-block;
  font-size: 0.85rem;
}

.login-link:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: rgba(74, 144, 226, 0.6);
  color: rgba(74, 144, 226, 1);
}

.login-link.primary {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(53, 122, 189, 0.1));
  border-color: #4A90E2;
  color: #fff;
}

.login-link.primary:hover {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(53, 122, 189, 0.2));
}

/* Botón flotante de regreso */
.floating-back-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.5);
  }
}

.floating-back-btn:hover {
  background: linear-gradient(135deg, #357ABD 0%, #2a5a9d 100%);
  box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
  animation: none;
  transform: translateY(-5px) scale(1.1);
}

.floating-back-btn-tooltip {
  position: absolute;
  left: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-back-btn:hover .floating-back-btn-tooltip {
  opacity: 1;
}

/* Respuesta para móvil */
@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-title {
    font-size: 1.5rem;
  }

  .login-form-group input {
    padding: 0.8rem 1rem;
  }

  .login-button {
    padding: 0.9rem;
  }

  .login-form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .login-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .login-link {
    width: 100%;
    text-align: center;
  }

  .floating-back-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    top: 1rem;
    left: 1rem;
  }

  .floating-back-btn-tooltip {
    left: 60px;
    font-size: 0.75rem;
  }
}