/* RESET Y BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin:0;
  padding:0;
}
body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

/* HEADER GENERAL */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* LOGO */
.logo img {
  height: 50px;
}

/* MENÚ PRINCIPAL DESKTOP */
.main-nav {
  flex: 1;
  margin-left: 20px;
}
.nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.main-cat {
  position: relative;
}
.main-cat > a,
.main-cat > button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 10px 15px;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  text-decoration: none;
}
.main-cat > a:hover,
.main-cat > button:hover {
  color: #007bff;
}
.main-cat ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: #ffffff;
  border: 1px solid #ddd;
  list-style: none;
  min-width: 200px;
  z-index: 3000;
}
.main-cat ul li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.main-cat ul li a:hover {
  background-color: #f0f0f0;
}
.main-cat.open > ul {
  display: block;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 38px;
  background: none;
  border: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: #1a1a1a;
}

/* MENÚ MÓVIL */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background-color: #333;
  color: white;
  z-index: 2000;
  transition: left 0.3s ease-in-out;
  padding: 20px;
  overflow-y: auto;
}
.mobile-menu.open {
  left: 0;
}
.close-menu {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1999;
}
.mobile-menu-overlay.active {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  margin-top: 60px;
}
.mobile-nav-list li {
  margin-bottom: 20px;
  font-size: 20px;
}
.mobile-nav-list li button {
  background: none;
  border: none;
  color: white;
  font-size: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.mobile-nav-list li ul {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
  list-style: none;
}
.mobile-nav-list li.open > ul {
  display: block;
}
.mobile-nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}
/* Ítems del menú principal */
.mobile-nav-list li > a,
.mobile-nav-list li > button {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: white;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  transition: background-color 0.3s;
}

/* Estilo para los íconos "+" */
.mobile-nav-list li > button span {
  font-weight: normal;
  margin-left: auto;
}

/* Subenlaces */
.mobile-nav-list li ul li a {
  text-transform: none;
  font-weight: normal;
  font-size: 16px;
  padding-left: 20px;
  display: block;
  color: #ccc;
}

/* Hover en enlaces */
.mobile-nav-list li > a:hover,
.mobile-nav-list li > button:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media screen and (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
@media screen and (min-width: 801px) {
  .menu-toggle {
    display: none !important;
  }
  .main-cat.has-sub:hover > ul {
    display: block;
  }
}

/*footer*/
.footer {
  background-color: #111;
  color: #ccc;
  padding: 20px 40px 20px;
  font-size: 15px;
}

.footer a {
  color: #00c4ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-contact,
.footer-email,
.footer-menu {
  flex: 1 1 50px;
}

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

.footer-menu li {
  margin-bottom: 8px;
  color: white;
}
.footer-menu li a{
  color: white;
  text-decoration: underline;
}

.footer-menu li a:hover{
  color: #00c4ff;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact,
  .footer-email,
  .footer-menu {
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
  }
  .footer-menu ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: 20px;
    padding-right: 20px;
    
  
  }
}
/*page header*/

.page-header{
    width:100%;
    height: auto;
    background: url("img/stacked-peaks-haikei.svg") no-repeat center center;
    background-size: cover;
    padding-top: 130px;
    padding-bottom: 40px;
}
.page-header h1{
    color: #fff;
    text-align: center;
    font-size: 2rem;
}

.intro-mweb {
  padding: 80px 20px;
  background-color: #fff;
}

.intro-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: 2.3rem;
  color: #222;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

.intro-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 140px;
}

.stat-box h3 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 5px;
}

.stat-box h3 span {
  font-size: 1.5rem;
}

.stat-box p {
  color: #222;
  font-weight: 500;
}
/* Estado inicial oculto */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Cuando aparece en pantalla */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .intro-flex {
    flex-direction: column;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 1.8rem;
  }
  .intro-images{
    display: flex;
    flex-direction: row;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .intro-images img {
    max-height: 240px;
    object-fit: cover;
    width: 48%;
  }

  .intro-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    margin-bottom: 20px;
  }
}

/*features*/
.features-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
  
}

.feature-box {
  text-align: left;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box .icon {
  font-size: 28px;
  color: #007bff;
  margin-bottom: 10px;
  display: inline-block;
}

.feature-box h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.icon {
  width: 28px;
  height: 28px;
  stroke: #007bff;
  stroke-width: 2;
  margin-bottom: 12px;
  display: inline-block;
}
/*Info-bloques*/
.info-blocks {
  padding: 60px 20px;
  background-color: #fff;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.info-row.reverse {
  flex-direction: row-reverse;
}

.info-img {
  flex: 1 1 400px;
}

.info-img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.info-text {
  flex: 1 1 400px;
}

.info-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #222;
}

.info-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .info-row,
  .info-row.reverse {
    flex-direction: column;
  }

  .info-text,
  .info-img {
    flex: 1 1 100%;
  }

  .info-text {
    text-align: center;
  }
}


.nosotros-contactos {
  background: url("img/stacked-peaks-haikei.svg") no-repeat center center;
    background-size: cover;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  
}

.nosotros-contactos h2 {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 500;
  line-height: 1.5;
}
.nosotros-contactos a{
    text-decoration: none;
}

.contactar-ahora {
  background-color: #00e0b8;
  color: #000;
  border: none;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contactar-ahora:hover {
  background-color: #00c9a8;
  transform: scale(1.05);
}

/*FAQ*/
.faq-container h2{
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.faq-answer a{
  font-weight: 600;
  text-decoration: none;
}
.faq-answer a:hover{
  text-decoration: underline;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  background-color: #0073e6; /* color azul de tu marca */
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #005bb5;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  background-color: #ffffff;
  color: #333;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  border-left: 3px solid #0073e6;
  border-right: 3px solid #0073e6;
  border-bottom: 3px solid #0073e6;
}

.faq-item.open .faq-answer {
  display: block;
}

/*contactos*/
.contacto-container {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.contacto-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.contacto-img img {
  max-width: 400px;
  border-radius: 12px;
}



.contacto-texto {
  flex: 1;
}

.contacto-texto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contacto-texto p {
  font-size: 1rem;
  line-height: 1.6;
}

.datos-contacto {
  display: flex;
  justify-content: space-around;
  margin-bottom: 3rem;
  text-align: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-box i {
  color: #1a73e8;
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.info-box p {
  font-size: 1rem;
}

.contacto-detalles .detalle {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contacto-detalles .detalle img {
  max-width: 400px;
  border-radius: 8px;
}

.contacto-detalles .detalle div {
  flex: 1;
}

.contacto-detalles .detalle h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contacto-detalles .detalle p {
  line-height: 1.5;
}

.contacto-detalles .detalle .azul {
  background: #1a73e8;
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

.btn-ver {
  display: inline-block;
  margin-top: 1rem;
  background: white;
  color: #1a73e8;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
}

.redes-sociales {
  text-align: center;
  margin-top: 4rem;
}

.redes-sociales h3 {
  margin-bottom: 1rem;
}

.iconos-redes a {
  margin: 0 10px;
  background: #eef3ff;
  padding: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
}

.iconos-redes a:hover {
  background: #d6e1fa;
}

.iconos-redes i {
  width: 24px;
  height: 24px;
  color: #1a73e8;
}

@media (max-width: 768px) {
  .contacto-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .datos-contacto {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contacto-detalles .detalle {
    flex-direction: column;
  }

  .contacto-detalles .detalle img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .contacto-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .contacto-detalles .detalle div,
  .contacto-detalles .detalle .azul {
    width: 100%;
  }
}


/*whatsapp button*/
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 10px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebc59;
}

.whatsapp-btn i {
  width: 20px;
  height: 20px;
}


/*flecha arriba*/
#backToTopBtn {
  position: fixed;
  bottom: 90px; /* más arriba que el botón de WhatsApp */
  right: 20px;
  background-color: #0033cc; /* azul del sitio */
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #0022aa;
}

#backToTopBtn i {
  width: 20px;
  height: 20px;
}