/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, sans-serif;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  color: #333;
}

/* Contenedor genérico */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*=============================
  TOPBAR
=============================*/
.topbar {
  background-color: #9049D0;
  /* Morado principal */
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topbar-left span {
  margin-right: 10px;
  white-space: nowrap;
}

.topbar-left .separator {
  margin: 0 10px;
}

/* Separa un poco el email de los teléfonos */
.topbar-left .email {
  margin-left: 20px;
}

.topbar-right {
  display: flex;
  align-items: center;
}

/* Enlace de la topbar */
.topbar-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 20px;
}

.topbar-link:hover {
  opacity: 0.8;
}

/* Botón de la topbar */
.topbar-btn {
  background-color: #ff4081;
  /* Rosa */
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s;
}

.topbar-btn:hover {
  background-color: #e6006f;
}

/* Icono en el botón de Registrar */
.btn-icon {
  margin-right: 8px;
  vertical-align: middle;
  height: 16px;
  /* Ajusta según necesites */
}

/*=============================
  NAVBAR
=============================*/
.navbar {
  background-color: #ffffff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 0;
}

/* Logo */
.logo img {
  height: 70px;
}

/* Menú principal */
.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu li {
  margin-left: 70px;
}

.nav-menu li a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #ff4081;
  /* Rosa al pasar hover */
}

/*=============================
  SECCIÓN HERO
=============================*/
/* 
   Versión sin forzar 100vh:
   La imagen se escalará proporcionalmente al ancho,
   y la altura se adaptará a la relación de aspecto real.
*/
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero-container {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenido sobre la imagen, desplazado hacia la izquierda */
.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  color: #000;
  /* Ahora el texto es negro */
  text-align: left;
  z-index: 1;
}

.highlight {
  color: #9049D0;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 50px;
}

/* Botón genérico */
.btn {
  text-decoration: none;
  background: #f4b400;
  /* Amarillo */
  padding: 12px 25px;
  border-radius: 25px;
  color: #000;
  font-weight: 700;
  transition: background 0.3s;
}

.btn:hover {
  background: #d09c00;
}

/*=============================
  SECCIONES GENERALES
=============================*/
/* Se han eliminado las secciones About, FAQ, etc., ya que pertenecen a páginas distintas */
.section {
  padding: 60px 0;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 0px;
}

.section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.alt-bg {
  background: #f9f9f9;
}

/* Sección de texto destacado con fondo blanco */
.highlight-section {
  background-color: #fff;
  /* Fondo blanco */
  text-align: center;
  /* Centrado horizontal */
  padding: 30px 0;
  /* Espaciado vertical */
  margin-bottom: -120px;
  /* Espacio opcional debajo */
}

/* Estilos para el texto */
.highlight-section p {
  font-size: 1.8rem;
  /* Tamaño de fuente algo mayor */
  color: #000;
  /* Texto en negro */
  font-weight: 400;
  /* Peso normal */
  max-width: 800px;
  /* Ancho máximo para no ocupar toda la pantalla */
  margin: 0 auto;
  /* Centra el texto dentro del contenedor */
  line-height: 1.4;
}

/* Parte del texto en rosa (o el color que prefieras) */
.pink-text {
  color: #ff4081;
  /* Rosa principal de tu proyecto */
  font-weight: 700;
  /* Más grueso para destacar */
}

/* Sección con 4 iconos en recuadros */
.icons-section {
  background-color: #fff;
  /* Fondo blanco */
  padding: 20px 0;
  /* Espacio arriba y abajo */
  text-align: center;
  margin-top: 120px;
}

.icons-container {
  display: flex;
  flex-wrap: wrap;
  /* Para que en pantallas pequeñas se distribuyan en varias filas */
  gap: 70px;
  justify-content: center;
  /* Centrar horizontalmente */
}


.icon-box {
  position: relative;
  background-color: #fff;
  border: 2px solid #9049D0;
  border-radius: 10px;
  width: 100%;
  padding: 40px 20px 20px 20px;
  box-sizing: border-box;
  min-height: 140px;
  /* Ajusta este valor */
  z-index: 2;
  text-align: center;
}



.icon-img {
  position: absolute;
  top: -140px;
  /* Hace que el icono sobresalga por encima del borde */
  left: 50%;
  /* Centrado horizontal */
  transform: translateX(-50%);
  width: 170px;
  /* Ajusta el tamaño del icono */
  height: auto;
  background-color: #fff;
  /* Fondo blanco para que se vea un círculo limpio */
  border: 2px solid #9049D0;
  /* Borde morado alrededor del icono */
  border-radius: 50%;
  /* Lo convierte en círculo */
  padding: 5px;
  /* Separación interna */
}



.icon-box p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

.icon-item {
  position: relative;
  width: 220px;
  /* o el ancho que usas */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  /* igual al valor absoluto de top en .icon-img */
  box-sizing: border-box;
}



/*=============================
  FOOTER
=============================*/
.footer {
  margin-top: 30px;
  /* Separación del contenido anterior */
}

/* Parte superior (columnas) */
.footer-top {
  background-color: #fff;
  /* Blanco */
  padding: 40px 0;
  border-top: 1px solid #ccc;
  /* Línea divisoria opcional */
}

.footer-top-container {
  display: flex;
  flex-wrap: wrap;
  /* Permite que las columnas bajen en pantallas pequeñas */
  justify-content: space-between;
  gap: 20px;
  /* Espacio entre columnas */
}

/* Cada columna del footer */
.footer-col {
  flex: 1;
  min-width: 200px;
  /* Ancho mínimo para que no colapsen */
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #9049D0;
  /* Morado principal para el título */
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* Columna con logo y datos de contacto */
.footer-brand img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-contact li {
  margin-bottom: 5px;
}

/* Redes sociales */
.footer-social a {
  color: #9049D0;
  margin-right: 10px;
  font-size: 1.2rem;
}

.footer-social a:hover {
  color: #ff4081;
}

/* Columnas de blogs */
.blog-item {
  margin-bottom: 15px;
}

.blog-item a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.blog-item a:hover {
  text-decoration: underline;
}

.blog-item p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* Parte inferior (barra morada) */
.footer-bottom {
  background-color: #9049D0;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

.footer-bottom-container p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-container a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom-container a:hover {
  text-decoration: none;
}

/* Sección general del listado de blog */
.blog-list-section {
  padding: 60px 0;
  /* Espacio superior e inferior */
  background-color: #f9f9f9;
  /* Color de fondo suave (opcional) */
}

.blog-list-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Contenedor que muestra las tarjetas en grid */
.posts-grid {
  margin-top: 20px;
  display: grid;
  gap: 30px;
  /* Espacio entre tarjetas */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* 
    auto-fit + minmax permite que las columnas se 
    ajusten automáticamente al ancho de la pantalla 
  */
}

/* Cada tarjeta (post) */
.post-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

/* Efecto hover para resaltar la tarjeta */
.post-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.post-card h2 a {
  text-decoration: none;
  color: #9049D0;
  /* Mismo color morado de tu topbar (opcional) */
}

.post-card h2 a:hover {
  text-decoration: underline;
}

/* Descripción */
.post-card p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.4;
}

/* Fecha */
.post-date {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Enlace "Read more" */
.read-more {
  text-decoration: none;
  color: #9049D0;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.post-thumbnail {
  margin-bottom: 15px;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 4px;
}

/*=============================
  ENTRADAS DEL BLOG
=============================*/
.blog-post h1 {
  font-size: 2.5rem;
  /* Tamaño más grande */
  font-weight: bold;
  margin-bottom: 20px;
  /* Añade espacio debajo del título */
  text-align: center;
  /* Centrar el título */
}

.featured-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 20px auto;
  /* Centra la imagen y añade separación */
}

.blog-post .post-content {
  max-width: 800px;
  margin: 0 auto;
  /* Centra el contenido */
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.blog-post h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #9049D0;
  /* Color destacado */
}

.blog-post p {
  margin-bottom: 15px;
}

.post-date {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

/*=============
 FAQ Section
 ==============*/

.faq-section {
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #9049D0;
  /* Morado principal */
}

.faq-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px;
  cursor: pointer;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, color 0.3s;
}

.faq-question::after {
  content: "＋";
  /* Símbolo de más */
  font-size: 1.5rem;
  color: #9049D0;
}

.faq-answer {
  display: none;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question::after {
  content: "−";
  /* Cambia a menos cuando está abierto */
}



.faq-item.active .faq-question {
  background: #7a3bbd;
  /* Color que tenías antes */
  color: #fff;
  /* Texto blanco para contraste */
  border-radius: 5px;
}

.faq-item.active .faq-question::after {
  content: "−";
  /* Cambia el símbolo al abrir */
  color: #fff;
}


html {
  scroll-behavior: smooth;
}

.faq-question {
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 5px;
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f9f9f9;
  padding: 0 15px;
  margin-top: 5px;
  border-left: 3px solid #9049D0;
  border-radius: 0 5px 5px 0;
}

.faq-question.active {
  background: #7a3bbd;
}

/*========= 
About Section 
==========*/
.about-section {
  background-color: #fff;
  padding: 10px 0;
  margin-top: 5vw;
}

.about-section--first {
  margin-top: 10vw;
}

.about-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
}

.about-text,
.about-image {
  width: 50%;
  /* Cada columna ocupa la mitad del ancho */
}

@media (max-width: 768px) {
  .about-container {
    flex-wrap: wrap;
    /* Permite apilarlos en pantallas pequeñas */
  }

  .about-text,
  .about-image {
    width: 100%;
  }
}

.about-text {
  padding-right: 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #9049D0;
  /* Puedes ajustar este color */
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.about-hero .hero-content {
  color: #fff;
  /* Change text color to white */
}

.about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Adjust the color and opacity as needed */
  z-index: 1;
}

.about-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  color: #fff;
  /* Change text color to white */
  text-align: left;
  z-index: 2;
  /* Ensure the content is above the overlay */
}


/*=============================
  SERVICES
  =============================*/

.new-icons-section {
  background-color: #fff;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 9vw;
}

.new-icons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Add a border */
  border-radius: 15px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  /* Puedes mantener el borde y el border-radius */
  border: 2px solid #9049D0;
  border-radius: 15px;
  /* Ajusta el padding para que no sea excesivo en pantallas medianas */
  padding: 140px 3vw 20px 3vw;
  background: #fff;
}

.new-icon-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 140px auto;
}

.new-icon-box:last-child {
  margin-bottom: 0;
  /* Remove margin-bottom for the last new-icon-box */
}

.new-icons-container .new-icon-box:first-child {
  margin-top: 20px;
}

.new-icon-img {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

.new-icon-box ul {
  list-style-type: circle;
  max-width: 520px;
  padding-left: 24px;
  margin: -100px 0 0 0;
}

.new-icon-box ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.new-icon-box ul li:first-child {
  font-size: 1.2rem;
  font-weight: bold;
  /* Highlight the first list item */
  color: #9049D0;
  /* Change the color to match the theme */
  list-style-type: none;
  margin-bottom: 20px;
}

.services-icon-box {
  position: relative;
  background-color: #fff;
  border: 2px solid #9049D0;
  /* Mismo color que la topbar */
  border-radius: 10px;
  /* Bordes redondeados */
  width: 220px;
  /* Ajusta el ancho de cada recuadro */
  padding: 40px 20px 20px;
  /* Extra espacio arriba para que el icono pueda sobresalir */
  box-sizing: border-box;
  text-align: center;
}

.services-icon-box p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

/*============
Contact Section
=============*/

.contact-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 1;
}

/* Por defecto, solo se muestra dentro del hero */
.contact-hero-outside {
  display: none;
}


.contact-hero .highlight {
  color: #9049D0;
}

.contact-hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-hero .hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.contact-hero .btn {
  text-decoration: none;
  background: #f4b400;
  /* Yellow */
  padding: 12px 25px;
  border-radius: 25px;
  color: #000;
  font-weight: 700;
  transition: background 0.3s;
}

.contact-hero .btn:hover {
  background: #d09c00;
}

.contact-hero .contact-info {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-hero .contact-info p {
  margin: 5px 0;
}

.where-we-are-section {
  padding: 60px 0;
  text-align: center;
}

.where-we-are-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #9049D0;
}

.where-we-are-section .map-img {
  width: 100%;
  max-width: 600px;
  /* Set a maximum width for the map image */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Por defecto, solo se ve el botón dentro del hero */
.hero-btn-mobile {
  display: none;
}



/*=============================
  MEDIA QUERIES
=============================*/


@media (max-width: 1024px) {
  .nav-menu li {
    margin-left: 30px;
  }

  .hero-content {
    max-width: 60vw;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

}



@media (max-width: 768px) {
  .hero-section {
    margin-bottom: 0;
  }

  .hero-container {
    position: relative;
    width: 100%;
  }

  .hero-img {
    width: 100%;
    height: auto;
    display: block;
    /* NO position: absolute, NO object-fit */
  }

  .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    justify-content: flex-start;
    /* Alinea a la izquierda */
    z-index: 1;
    padding: 0 6vw;
    text-align: left;
    pointer-events: auto;
    transform: none;
  }

  .hero-content .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.2;
    max-width: 90vw;
    word-break: break-word;
  }

  .hero-content p {
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.15;
    max-width: 90vw;
    word-break: break-word;
  }

  .hero-btn {
    display: none;
  }

  .hero-btn-mobile {
    display: block;
    margin: 20px auto 0 auto;
    width: 90vw;
    max-width: 250px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }
}

/*Hero específico de contact*/
@media (max-width: 768px) {
  .contact-hero .hero-content h1 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.2;
    max-width: 90vw;
    word-break: break-word;
  }

  .contact-hero .hero-content p {
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.15;
    max-width: 90vw;
    word-break: break-word;
  }
}

/* ===== MENÚ HAMBURGUESA Y LATERAL ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #9049D0;
  cursor: pointer;
  margin-left: 20px;
}

.side-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 30px 20px 20px 20px;
  flex-direction: column;
  transition: transform 0.3s;
  transform: translateX(100%);
}

.side-menu.open {
  display: flex;
  transform: translateX(0);
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: #9049D0;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
}

.side-menu .side-nav-menu {
  flex-direction: column;
  gap: 30px;
  list-style: none;
  padding: 0;
}

.side-menu .side-nav-menu li {
  margin: 0 0 20px 0;
}

.desktop-menu {
  display: flex;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .side-menu {
    display: flex;
    flex-direction: column;
  }
}

/* TopBar en móviles */
@media (max-width: 768px) {
  .topbar-link {
    font-size: 0.8rem;
    padding: 0 4px;
    margin-right: 4px;
  }

  .topbar-btn {
    font-size: 0.8rem;
    padding: 4px 6px;
  }

  .topbar-left span {
    font-size: 0.8rem;
    padding: 2px 2px;
  }


  .topbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* Espacio entre topbar-left y topbar-right */
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-left {
    display: flex;
    align-items: flex-start;
    white-space: normal;
    font-size: 1rem;
    gap: 2px;
    /* Espacio vertical entre líneas */
  }

  .topbar-left .separator {
    display: none;
  }

  .topbar-left span,
  .topbar-left .separator {
    margin-right: 2px;
    margin-left: 0;
  }

  .topbar-left .email {
    margin-left: 2px;
  }


}

/*highlight-section*/
@media (max-width: 768px) {
  .highlight-section p {
    font-size: 1.2rem;
    line-height: 1.1;
  }
}

/* Iconos en la sección de iconos */
@media (max-width: 768px) {
  .icon-img {
    width: 150px;
    /* O el tamaño que prefieras */
    max-width: 150px;
  }

  .icon-item {
    padding-top: 80px;
  }

  .highlight-section {
    margin-bottom: -100px;
  }
}

/*====about-section====*/
@media (max-width: 768px) {
  .about-section {
    background-color: #fff;
    margin-top: 5vw;
  }

  .about-container {
    flex-direction: column;
  }

  .about-section--first {
    margin-top: 22vw;
  }

  .about-text,
  .about-image {
    width: 100%;
    /* Cada columna ocupa el ancho completo */
    padding: 0;
  }

  .about-text {
    padding-bottom: 20px;
  }

  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .about-section--reverse .about-container .about-image {
    order: 2;
  }

  .about-section--reverse .about-container .about-text {
    order: 1;
  }
}

/*====services-section====*/
@media (max-width: 1024px) {
  .new-icon-box ul {
    padding-left: 24px;
  }

  .new-icons-container {
    padding: 140px 20px 10px 10px;
    /* Reduce el padding lateral */
  }
}


@media (max-width: 768px) {
  .new-icons-container {
    border: none;
    padding: 140px 1vw 20px 3vw;
  }

  .new-icon-box {
    gap: 24px;
  }

  .new-icon-img {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .new-icon-box ul {
    padding-left: 8vw;
  }
}

/* Contact Section */
@media (max-width: 1024px) {

  /* Oculta el bloque dentro del hero y muestra el de fuera */
  .contact-hero-inside {
    display: none;
  }

  .contact-hero-outside {
    display: block;
    max-width: 400px;
    margin: 32px auto 0 auto;
    text-align: left;
    padding-left: 2vw;
    padding-right: 2vw;
  }

  .hero-contact-title {
    margin-bottom: 2vw;
  }
}
