/* General Reset */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  background-color: #f0f0f0;
}


/* Aseguramos que el body ocupe todo el alto de la ventana */
html, body {
  height: 100%;
}

/* Aseguramos que el contenedor principal ocupe todo el alto restante */
body {
  display: flex;
  flex-direction: column;
  padding-top: 70px; /* Ajusta este valor para la altura del header */
  background-color: #f0f0f0;
}


/* Esto asegura que el contenido se estire hacia arriba y empuje el footer */
.main-content {
  flex: 1;
}



/* Variables globales */
:root {
  --default-font: "Roboto", sans-serif;
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Inter", sans-serif;
  --background-color: #f7faff;
  --default-color: #212529;
  --heading-color: #2d465e;
  --accent-color: #0d83fd;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --primary: #5F5DFE;  
  --primary-darker: #4F4DFE;  
  --bg: #EFF3F4;  
  --white: #FFF;  
  --profile-bg: #FFFFFD;  
  --socials-bg: #F9FAFC;  
  --highlight-bg: #F9FAFC;  
  --text-bg: #878789;  
  --text: #797C83;  
  --border-color: #F4F4F4;  
  --social-color: #6B6C6E;  
  --active: #777485;  
  --tab-bg: #EBE9FF;  
  --tabs-border:#F2F6F5;  
  --tab-width: 7rem;  
  --tabs-gap: 0rem;  
  --tab-radius: 0.4rem;  
  --scrollbar-thumb: #e4e3f3;  
  --scrollbar-bg: #F2F6F5;  
} 


/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}


:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ff4a17; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}


:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #ff4a17; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ff4a17; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}


/* Header Style */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px; 
  background-color: #62d4a0;
  color: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  margin-bottom: 5px;
}


.aside-logo {
  text-align: left;  /* Alinea el texto a la izquierda */
  flex-grow: 1;      /* Permite que el elemento ocupe el espacio disponible */
}


.header-icon {
  font-size: 1.7em;
  margin: 0 10px;
}

.header-title {
  font-size: 1.1em;
  font-weight: bold;
}

/* Estilo del menú de navegación */
.header-nav {
  display: flex;
  gap: 15px;
}

/* Estilo del menú hamburguesa */
.hamburger-menu {
  display: none;
  font-size: 2em;
  cursor: pointer;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .header-nav {
    display: none; /* Oculta el menú de navegación en pantallas pequeñas */
    flex-direction: column; /* Disposición vertical para los enlaces */
    width: 100%; /* El menú ocupa todo el ancho */
    position: absolute;
    top: 60px; /* Posición debajo del header */
    left: 0;
    background-color: #62d4a0; /* Fondo del menú */
    padding: 10px 0;
    box-sizing: border-box;
  }

  .header-nav a {
    text-align: center;
    margin: 10px 0; /* Espaciado entre los elementos */
  }

  /* Muestra el ícono de hamburguesa solo en pantallas pequeñas */
  .hamburger-menu {
    display: block;
  }

  /* Cuando el menú está abierto */
  .header-nav.active {
    display: flex; /* Muestra el menú cuando se activa */
  }
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 45vh;
  position: relative;
  padding: 200px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center; /* Centra el texto dentro del contenedor */
}


.hero h2 {
  margin: 0;
  font-size: 100px;
  font-weight: 700;
  text-transform: none;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 40px;
}


/* Estilos para los íconos de comillas en el Hero */
#hero .quote-icon-left,
#hero .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

#hero .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

#hero .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}



@media screen and (max-width: 1023px) and (min-width: 768px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}

/* Ajuste para Móviles (1 columna) */
@media screen and (max-width: 767px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}







/* Recuadro encabezado */

.consulta-section {
  padding: 20px;
  background-color: transparent;
  border-radius: 8px;
  box-shadow: none; /* Eliminamos la sombra */
}

  .consulta-container {
    position: relative;
    background-color: #ffffff;
    color: #a0d6ff;
    max-width: auto;
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding: 0 30px 10px 10px;
    box-sizing: border-box;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    margin: 30px auto;
    padding: 20px auto;
  }


  .texto-consulta h2 {
    margin: 30px auto;
    padding: 20px auto;
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
  }

  .texto-consulta p {
    margin: 0 0 20px 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #000000;
    text-align: center; 
  }


/* Media query para pantallas medianas */
@media (max-width: 900px) {
  .consulta-container {
    padding: auto;
    max-width: 600px;
  }
  .texto-consulta h2 {
    font-size: 1.8rem;
  }
  .texto-consulta p {
    font-size: 1rem;
  }
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 600px) {
  .consulta-container {
    padding: auto;
    max-width: 100%;
    border-radius: 15px;
  }
  .texto-consulta h2 {
    margin: 0 auto 5px auto; /* Margen superior reducido */
    font-size: 1.5rem;
  }
  .texto-consulta p {
    font-size: 0.95rem;
  }
}



/* Recuadro criterios */

.criterio-container {
  position: relative;
  background-color: rgb(98, 212, 160, 0.2);
  color: #a0d6ff;
  max-width: 700px;
  width: 100%;
  height: auto;
  border: 1px solid #d1d7db;
  padding: 40px 30px 30px 40px;
  margin-bottom: 10px;
  display: none; /* Ocultos por defecto */
  border-radius: 15px;
  box-shadow: 0 0 5px rgb(0 0 0 / 0.05);
  margin: 10px auto; /* 20px arriba y abajo, automático a los lados */
  align-items: flex-start;
}

.criterio-container.active {
  display: block; /* Mostrar el activo */
}

.criterio-header {
  font-weight: bold;
  font-size: 20px;
  margin: 0 40px 10px 65px;
  color: #333;
}

.criterio-content {
  display: flex;
  align-items: flex-start;
  gap: 16px; /* Un poco más de espacio entre icono y texto */
  margin-bottom: 10px;
}

.criterio-icon {
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 100px;
  color: #1e2b41;
  z-index: 1;
}

.criterio-icon-lupa {
  position: absolute;
  left: 7px;
  top: 70%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #62d4a0;
  z-index: 2;
}

.criterio-text {
  flex-grow: 1;
  font-size: 16px;
  color: #4a4a4a;
  text-align: justify;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  padding-left: 65px;
}



.criterio-options label {
  display: block;
  font-size: 16px;
  color: #222;
  cursor: pointer;
  margin-bottom: 6px;
  margin-left: 50px;
}

/* Estilo para el botón de "Volver" */
.back-button {
  position: absolute;
  bottom: 8px; /* 10px desde el fondo */
  right: 8px; /* 10px desde la derecha */
  background-color: #62d4a0; /* Color de fondo azul */
  color: white; /* Color del texto */
  padding: 10px 15px; /* Espaciado interno del botón */
  font-size: 10px; /* Tamaño de fuente */
  border: none; /* Elimina el borde */
  border-radius: 20%; /* Hace el botón redondeado */
  cursor: pointer; /* Cambia el cursor al pasar por encima */
  display: flex; /* Para que el ícono se alinee con el texto */
  align-items: center; /* Centra el ícono y texto verticalmente */
}

.back-button i {
  margin-right: 15px; /* Espacio entre el ícono y el texto */
}

.back-button:hover {
  background-color: #003b8d; /* Color más oscuro cuando se pasa el ratón por encima */
}

/* Responsive para pantallas medianas y pequeñas */
@media (max-width: 1024px) {
  .criterio-container {
    padding: 10px 20px 10px 25px; /* Reduce el espacio de los márgenes */
    max-width: 100%; /* El recuadro ocupa todo el ancho disponible */
    margin: 15px auto; /* Espaciado alrededor */
  }

  .criterio-header {
    font-size: 18px; /* Tamaño de fuente más pequeño para el título */
    margin: 0 20px 10px 30px; /* Ajuste de márgenes */
  }

  .criterio-icon {
    font-size: 80px; /* Disminuye el tamaño del ícono */
    left: -20px; /* Ajusta la posición del ícono */
  }

  .criterio-icon-lupa {
    font-size: 40px; /* Disminuye el tamaño de la lupa */
    left: 5px; /* Ajusta la posición de la lupa */
  }

  .criterio-text {
    font-size: 14px; 
    padding-left: 50px; 
  }

  .criterio-options label {
    font-size: 14px; 
  }

  /* Estilo del botón de "Volver" */
  .back-button {
    font-size: 12px; 
    padding: 8px 12px; 
  }
}

/* Ajustes para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .criterio-container {
    padding: 10px 15px; 
  }

  .criterio-header {
    font-size: 16px;
    margin: 0 15px 10px 20px;
  }

  .criterio-icon {
    font-size: 60px; /* Ajustamos el tamaño de los íconos */
    left: -10px; /* Ajustamos la posición */
  }

  .criterio-icon-lupa {
    font-size: 30px; /* Ajuste para la lupa */
    left: 5px;
    top: 60%;
  }

  .criterio-text {
    font-size: 12px;
    padding-left: 30px;
    padding-right: 30px; /* Asegura que el texto no se corte */
  }

  .criterio-options label {
    font-size: 12px;
  }

  .back-button {
    font-size: 12px;
    padding-right: 30px;
  }
}


/* Estilo del iframe de contacto */
#iframe-container {
  display: none;  /* Ocultarlo por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#iframe-container div {
  color: white;
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
}

#iframe-container button {
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

#iframe-container button:hover {
  background-color: #128C7E;
}




/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/

/* Recuadro alrededor de la sección de estadísticas */
.stats-wrapper {
  background-color: rgba(98, 212, 160, 0.1); /* Fondo suave */
  padding: 30px; /* Aumenta el padding para hacer el recuadro más alto */
  border-radius: 10px; /* Bordes redondeados */
  border: 2px solid #e1e1e1; /* Borde gris suave */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Sombra más fuerte */
  margin-bottom: 80px; /* Añade un margen inferior de 80px */
}

/* Layout adjustments */
.stats .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; /* Aumenta el espacio entre las columnas */
  bottom: 80px;
}

.stats .col-lg-3, .stats .col-md-6 {
  flex: 1 1 calc(25% - 30px);
  max-width: calc(25% - 30px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Stats Item (elemento dentro del recuadro) */
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 250px; /* Ancho fijo */
  height: 140px; /* Ajuste de altura para darle más espacio */
  transition: transform 0.3s ease-in-out;
}

.stats .stats-item:hover {
  transform: translateY(-10px);
}

.stats .stats-item i {
  color: #62d4a0;
  font-size: 50px;
  line-height: 1;
  margin-bottom: 15px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px; /* Space between counter and description */
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px; /* Aumenta el tamaño del texto */
  color: var(--text);
}

/* Ajuste para PC/Laptops (4 columnas) */
@media screen and (min-width: 1024px) {
  .stats .col-lg-3 {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
  }
}

/* Ajuste para Tablets (2 columnas) */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .stats .col-md-6 {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Ajuste para Móviles (1 columna) */
@media screen and (max-width: 767px) {
  .stats .col-md-6, .stats .col-lg-3 {
    flex: 1 1 100%;
    max-width: 90%; /* Reduce el ancho para separarlo de los lados */
    margin: 0 auto; /* Centra las tarjetas */
  }

  .stats .stats-item {
    width: 100%; /* Ocupa todo el ancho dentro del margen */
    height: auto; /* Ajusta la altura de las tarjetas */
  }
}


/*--------------------------------------------------------------
# Beneficios
--------------------------------------------------------------*/

.section-benefits {
    text-align: center;
    padding: 30px 10px;
    background-color: #f7f7f7;
}

.section-title {
    font-size: 2em;
    color: #1e2b41;
    margin-bottom: 10px;
}

/* Contenedor de los beneficios */
.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

/* Estilo de cada beneficio */
.benefit-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

/* Cambio de tamaño al pasar el ratón */
.benefit-item:hover {
    transform: scale(1.05);
}

/* Estilo del ícono */
.benefit-icon {
    font-size: 40px;
    color: #62d4a0;
    margin-bottom: 15px;
}

/* Título */
.benefit-item h3 {
    font-size: 1em;
    color: #333;
    margin: 10px auto;
}

/* Descripción */
.benefit-item p {
    font-size: 0.9em;
    color: #777;
}

/* Agregar un color de fondo suave */
.benefit-item:nth-child(odd) {
    background-color: #e6f7e6;
}

.benefit-item:nth-child(even) {
    background-color: #f0f8ff;
}


/* Media query para pantallas pequeñas */
@media (max-width: 600px) {
    .section-title {
        font-size: 1.5em; /* Reducir tamaño de la sección título */
    }

}


/*--------------------------------------------------------------
# Rut
--------------------------------------------------------------*/

.section.promesa {
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222831;
  background-color: #ffffff
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.heading-oscuro.promesa {
  font-size: 2rem;
  font-weight: 700;
  color: #222831;
}

.features-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1 1 220px;
  max-width: 250px;
  text-align: center;
}

.image-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.image-wrapper img {
  max-width: 150px;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

/* Tamaños personalizados */
.image-practico img {
  max-width: 130px;
}

.image-ahorras img {
  max-width: 110px;
}

.image-confiable img {
  max-width: 130px;
}

.image-soporte img {
  max-width: 130px;
}


.feature-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 15px 0 15px 0;
  color: #222831;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.4;
  margin: 0;
}


/* Responsive para tablets y pantallas medianas */
@media (max-width: 992px) {
  .features-row {
    justify-content: center; /* Centrar los ítems en pantalla mediana */
    gap: 20px;
  }

  .feature-item {
    flex: 1 1 45%;  /* Dos ítems por fila aproximadamente */
    max-width: 45%;
    margin-bottom: 30px;
  }

  .image-wrapper {
    width: 90px;
    height: 90px;
  }

  .image-wrapper img {
    max-width: 120px;
  }
}

/* Responsive para móviles */
@media (max-width: 576px) {
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .image-wrapper {
    width: 80px;
    height: 80px;
  }

  .image-wrapper img {
    max-width: 100px;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .feature-item p {
    font-size: 0.85rem;
  }
}




/*--------------------------------------------------------------
# Grupo de Whatsapp
--------------------------------------------------------------*/
.whatsapp-contact-section {
  background-color: #1e2b41;
  padding: 20px 0;
  margin: 40px 0;
  color: #fff;
  position: relative;
}

.whatsapp-contact-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* separa en 3 zonas */
  align-items: center; /* centra vertical */
  position: relative;
}

.whatsapp-contact-section .whatsapp-icon {
  width: 160px;
  height: 160px;
  position: absolute; /* para sacarlo del flujo */
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.whatsapp-contact-section .text-content {
  flex: 1;
  text-align: center;
}

.whatsapp-contact-section .text-content h3 {
  margin: 0 0 5px 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.whatsapp-contact-section .text-content p {
  margin: 0;
  font-size: 1.1rem;
}

.whatsapp-contact-section .btn-whatsapp {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* evitar que el texto del botón se rompa */
}

.whatsapp-contact-section .btn-whatsapp:hover {
  background-color: #1ebe57;
}

.whatsapp-contact-section .icon-btn-whatsapp {
  width: 24px;
  height: 24px;
}

/* Estilos base para desktop ya definidos */

/* Tablets (pantallas entre 768px y 1024px) */
@media (max-width: 1024px) {
  .whatsapp-contact-section .container {
    flex-wrap: wrap; /* permite que los elementos se acomoden en varias filas */
    justify-content: center; /* centra los elementos */
    padding-left: 0; /* quitar padding que da espacio al ícono absoluto */
  }

  .whatsapp-contact-section .whatsapp-icon {
    position: relative; /* ya no absoluto para que no se desborde */
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    left: auto;
    top: auto;
    transform: none;
  }

  .whatsapp-contact-section .text-content {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  .whatsapp-contact-section .btn-whatsapp {
    flex-basis: 100%;
    justify-content: center;
    white-space: normal;
  }
}

/* Móviles (pantallas hasta 767px) */
@media (max-width: 767px) {
  .whatsapp-contact-section {
    padding: 15px 10px;
    margin: 20px 0;
  }

  .whatsapp-contact-section .container {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .whatsapp-contact-section .whatsapp-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .whatsapp-contact-section .text-content {
    flex-basis: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  .whatsapp-contact-section .btn-whatsapp {
    width: 90%;
    justify-content: center;
    padding: 12px;
  }
}


/* Preguntas frecuentes */
.faq-section {
  padding: 20px;
  background-color: transparent;
  border-radius: 8px;
  box-shadow: none; /* Eliminamos la sombra */
}

.faq-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: transparent; /* Fondo transparente */
  border: 1px solid #1e2b41; /* Borde fino de color #1e2b41 */
  border-radius: 8px; /* Borde redondeado */
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background-color: transparent; /* Fondo transparente */
  color: #1e2b41; /* Color del texto de la pregunta */
  font-size: 1.1em;
  border: none; /* Eliminamos el borde */
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.faq-question:hover {
  background-color: #62d4a0; /* Color de fondo al pasar el cursor */
  color: black; /* Cambiar el color del texto al pasar el cursor */
}

.faq-answer {
  padding: 15px;
  background-color: transparent; /* Fondo transparente */
  display: none; /* Ocultar respuesta por defecto */
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555; /* Color del texto en la respuesta */
}

/* Responsive para pantallas medianas */
@media (max-width: 900px) {
  .faq-container {
    gap: 8px;
  }

  .faq-question {
    font-size: 1em;
  }

  .faq-answer p {
    font-size: 0.9em;
  }
}

/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
  .faq-section {
    padding: 15px;
  }

  .faq-title {
    font-size: 1.3em;
  }

  .faq-question {
    font-size: 0.9em;
  }

  .faq-answer p {
    font-size: 0.85em;
  }

  .faq-item {
    padding: 10px;
  }
}


/* Estilo para la sección de contacto */
.contact-section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  background: linear-gradient(to bottom right, #62d4a0, #1e2b41);
  color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1.1em;
  line-height: 1.5;
}

.contact-methods {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px; /* Separación entre el ícono y el texto */
}

.contact-item i {
  font-size: 2em;
  margin-right: 10px;
}

.contact-item p {
  margin: 0;
  font-size: 1.1em;
}

/* Estilo para el botón de WhatsApp */
.whatsapp-btn {
  display: inline-block;
  background-color: #25D366; /* Color de fondo de WhatsApp */
  color: white; /* Color del texto */
  font-size: 16px; /* Tamaño de la fuente */
  padding: 10px 20px; /* Espaciado interno */
  border-radius: 25px; /* Bordes redondeados */
  text-decoration: none; /* Eliminar subrayado */
  text-align: center; /* Centrar el texto */
  transition: background-color 0.3s, transform 0.2s ease-in-out; /* Transición de color y animación */
}

.whatsapp-btn:hover {
  background-color: #128C7E; /* Color de fondo más oscuro */
  transform: scale(1.05); /* Efecto de ampliación */
}

.whatsapp-btn span {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: none;
}

.whatsapp-btn i {
  margin-right: 10px;
  font-size: 20px;
}

/* Estilo para el formulario */
.contact-form {
  flex: 1;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.contact-form button {
  padding: 12px 20px;
  background-color: #62d4a0;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
}

.contact-form button:hover {
  background-color: #1e2b41;
}

/* Responsive para pantallas medianas (entre 768px y 1024px) */
@media (max-width: 1024px) {
  .contact-container {
    gap: 20px;
    flex-direction: column;
    justify-content: center;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%; /* Los contenedores ocupan todo el ancho */
    margin-bottom: 20px;
  }

  .contact-info h2 {
    font-size: 2em;
  }

  .contact-info p {
    font-size: 1em;
  }

  .contact-item p {
    font-size: 1em;
  }
}

/* Responsive para pantallas pequeñas (menos de 768px) */
@media (max-width: 768px) {
.contact-section {
  padding: 40px 15px;
  display: flex; /* Activa el modelo flex */
  flex-wrap: wrap; /* Permite que los elementos se ajusten en diferentes filas si es necesario */
  justify-content: center; /* Centra los recuadros en el eje horizontal */
  align-items: center; /* Alinea los recuadros en el eje vertical */
}

  .contact-container {
    flex-direction: column;
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
    padding: 25px;
    margin-bottom: 20px;
  }

  .contact-info h2 {
    font-size: 1.8em;
  }

  .contact-info p {
    font-size: 1em;
  }

  .contact-item {
    margin-bottom: 15px;
  }

  .contact-item i {
    font-size: 1.5em;
  }

  .contact-item p {
    font-size: 1em;
  }

  .whatsapp-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .whatsapp-btn i {
    font-size: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9em;
  }

  .contact-form button {
    font-size: 1em;
    padding: 10px 18px;
  }
}


/* Mapa */
.contact-map {
  flex: 1;
  background-color: #e6f7e6;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

#map {
  height: 300px;
  width: 100%;
  border-radius: 8px;
}

    
/* Estilos aplicados solo a la imagen dentro del contenedor con clase .aside-logo */
.aside-logo img {
  display: block;
  margin: 10px auto;
  width: 30%;
  height: auto;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: pulsate 3s ease-in-out infinite;
}

.aside-logo img:hover {
  transform: scale(1.3);
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: none; /* Detiene la animación de pulsación al pasar el mouse */
}

@keyframes pulsate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .container.app-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  #bottom-navigation {
      height: 50px;
  }
  .nav-bottom .nav-icon {
      font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .container.app-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .header-title {
      font-size: 1em;
  }
  .card-title {
      font-size: 0.7em;
  }
  .contact-main button {
      font-size: 0.9em;
  }
}


/* Footer Styles */

.footer-container {
    background-color: #62d4a0;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    margin-top: 15px;
}

footer {
  margin-top: auto; /* Empuja el footer hacia abajo */
}

.footer-info {
    text-align: center;
    color: #fff;
}

.footer-info .logo img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-info .logo img:hover {
    transform: scale(1.1);
}

.footer-info p, .footer-info a {
    color: #fff; 
}

.footer-info a:hover {
    color: #fff; 
}

.footer-links, .footer-services, .footer-extra {
    color: #fff; 
}

.footer-links ul li a, 
.footer-services ul li a, 
.footer-extra ul li a { 
    color: #fff; 
    text-decoration: none;
}

.footer-links ul li a:hover, 
.footer-services ul li a:hover, 
.footer-extra ul li a:hover {
    color: #1e2b41; 
}

/* Estilo para h4 */
.footer-links h4, 
.footer-services h4, 
.footer-extra h4 {
    color: #fff; 
    font-size: 18px; 
    font-weight: bold; 
    margin-bottom: 10px; 
}

/* Hover para h4 (opcional, si deseas cambiar el color al pasar el cursor) */
.footer-links h4:hover, 
.footer-services h4:hover, 
.footer-extra h4:hover {
    color: #1e2b41; 
}


.footer-bottom {
    background-color: rgba(30, 43, 65, 0.8);
    padding: 10px;
    text-align: center;
    color: #fff; 
}

.footer-bottom a {
    color: #ccc; 
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
    font-weight: bold; /* Esto hace que el texto se ponga en negrita */
}



.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px; 
    margin-top: 20px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    background-color: #1e2b41; 
    color: #fff; 
    text-decoration: none; 
    font-size: 18px; 
    transition: all 0.3s ease; 
}

.footer-social .social-icon:hover {
    background-color: #555; 
    color: #1da1f2; 
    transform: scale(1.1); 
}

