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

body {
  font-family: "Arial", sans-serif;
  color: white;
}

/* HERO */
.hero {
  position: relative;
  background: url("src/img/background.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: relative;
}

.logo {
  height: 250px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.hero-text {
  max-width: 600px;
  margin: auto;
  text-align: left;
  padding: 20px 50px 60px;
}

.hero-text .subtitulo {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.boton {
  background-color: #808cff;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.boton:hover {
  background-color: #5f6bff;
}

/* MENÚ HAMBURGUESA */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 3;
}

.menu-container {
  display: flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .logo {
    height: 100px;
  }

  .menu-icon {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .menu-container {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .menu li a {
    font-size: 1rem;
    color: white;
  }

  .menu-toggle:checked + .menu-icon + .menu-container .menu {
    display: flex;
  }

  .hero-text {
    padding: 20px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .subtitulo {
    font-size: 1rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .boton {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .servicios-grid {
    grid-template-columns: 1fr !important;
  }
}

/* SOBRE NOSOTROS */
.sobre-nosotros {
  background-color: #f1f3ff;
  padding: 60px 20px;
  text-align: center;
  color: #1d1d1d;
}

.sobre-nosotros .contenedor {
  max-width: 1200px;
  margin: auto;
}

.sobre-nosotros h2 {
  font-size: 2rem;
  color: #1d1d1d;
  margin-bottom: 10px;
}

.sobre-nosotros .descripcion {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ====== SERVICIOS (FAQ) ====== */
.servicios {
  background: linear-gradient(to bottom, #ffffff, #f1f3ff);
  padding: 60px 20px;
  text-align: center;
  color: #1d1d1d;
}

.servicios .contenedor {
  max-width: 1200px;
  margin: auto;
}

.servicios h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1d1d1d;
}

.servicios .descripcion {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.servicio-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card i {
  font-size: 36px;
  color: #4e5bf2;
  margin-bottom: 15px;
}

.servicio-card h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #1d1d1d;
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-top: auto;
}

.portafolio {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  color: #1d1d1d;
}

.portafolio {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  color: #1d1d1d;
}

.portafolio .contenedor {
  max-width: 1200px;
  margin: auto;
}

.portafolio h2 {
  font-size: 2rem;
  color: #1d1d1d;
  margin-bottom: 10px;
}

.portafolio .descripcion {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.galeria-portafolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.galeria-portafolio img {
  height: 200px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #f5f5f5;
  padding: 10px;
}

.galeria-portafolio img:hover {
  transform: scale(1.05);
}
.testimonio {
  background-color: #f1f3ff;
  padding: 60px 20px;
  text-align: center;
  color: #1d1d1d;
}

.contenedor-testimonio {
  max-width: 800px;
  margin: 0 auto;
}

.contenedor-testimonio h2 {
  font-size: 1.5rem;
  color: #1d1d1d;
  font-weight: bold;
  margin-bottom: 20px;
}

.contenedor-testimonio .mensaje {
  font-size: 1rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.6;
}

.logo-testimonio {
  width: 50px;
  margin-bottom: 15px;
}

.autor {
  font-size: 0.95rem;
  color: #333;
}

.autor span {
  font-size: 0.75rem;
  color: #777;
}
.soluciones {
  background: linear-gradient(to bottom, #f1f3ff, #ffffff);
  padding: 80px 20px;
  text-align: center;
}

.contenedor-soluciones {
  max-width: 1200px;
  margin: auto;
  color: #1d1d1d;
}

.soluciones h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.soluciones h2 span {
  color: #1d1d1d;
}

.soluciones .intro {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.soluciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
}

.solucion {
  text-align: center;
  padding: 10px;
}

.solucion img {
  max-width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.solucion h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #1d1d1d;
  margin-bottom: 10px;
}

.solucion p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
.contacto {
  background-color: #f1f3ff;
  padding: 80px 20px;
  text-align: center;
}

.contenedor-contacto {
  max-width: 700px;
  margin: auto;
  color: #1d1d1d;
}

.contenedor-contacto h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto input,
.contacto textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.contacto button {
  background-color: #808cff;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contacto button:hover {
  background-color: #5f6bff;
}
.footer {
  background-color: #1f224f;
  color: white;
  padding: 60px 20px 20px;
  font-family: "Montserrat", sans-serif;
}

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

.footer-left,
.footer-right {
  flex: 1 1 300px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

.footer-left p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.footer-social a {
  color: white;
  font-size: 18px;
  margin-right: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  color: #808cff;
}

.footer-right h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-right p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #ccc;
}
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.scroll-top img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.scroll-top:hover {
  transform: scale(1.1);
}
.whatsapp-float {
  position: fixed;
  bottom: 90px; 
  right: 20px; 
  background-color: #25d366;
  color: white;
  font-size: 28px;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
