body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff; /* Fondo blanco para toda la página */
    color: black; /* Letras negras por defecto */
  }
  
  /* NAV */
  header {
    background: rgba(222, 221, 221, 0.9);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.95em;
  }
  
  /* HERO */
  .hero {
  min-height: 60vh; /* Altura del bloque */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* Fondo blanco total */
  position: relative;
  overflow: hidden; /* Importante para que el logo no se salga del bloque */
  padding: 0;
  margin: 0;
  }
  
  .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;         /* Empuja el texto hacia abajo */
  padding-bottom: 20px;
  box-sizing: border-box;
  }
  
  /* LOGO */
  .logo {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
}

  
  /* TITULOS */
  .hero h1 {
    font-size: 2.8em;
    margin: 10px 0;
  }
  
  .hero p {
    margin: 20px auto;
  }
  
  /* BOTÓN */
  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #22c55e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
  }
  
  .btn:hover {
    background: #16a34a;
  }
  
  /* CONFIANZA */
  .confianza {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: #020617;
    flex-wrap: wrap;
  }
  
  .confianza-box {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
  }

  h1 {
    text-align: center;
}

/* SOBRE NOSOTROS */
 .nosotros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 60px;
  background: #0b0f14;
}

/* TEXTO IZQUIERDA */
.nosotros-texto {
  width: 65%;
  text-align: left;
}

.nosotros-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: left;
}

.nosotros-texto p {
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* IMAGEN DERECHA */
.nosotros-imagen {
  width: 30%;
}

/* SOBRE NOSOTROS CELULAR */
.nosotros-imagen img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-left: auto;
}

@media (max-width: 768px) {
  .nosotros {
    flex-direction: column;
    padding: 50px 20px;
  }

  .nosotros-texto,
  .nosotros-imagen {
    width: 100%;
  }

  .nosotros-texto {
    text-align: center;
  }

  .nosotros-texto h2 {
    text-align: center;
  }
}
  
  /* SERVICIOS */
.servicios {
  padding: 80px 10%;
  background: #fdfdfd;
  text-align: center;
}

.servicios h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.servicio-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden; /* Corta la imagen para que no sobresalga */
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: left;
}

.servicio-card:hover {
  transform: translateY(-10px);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card:hover .card-image img {
  transform: scale(1.1); /* Efecto de zoom suave */
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #1e3a8a; /* Azul marino profesional */
  margin-bottom: 12px;
}

.card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-leer {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.btn-leer:hover {
  border-bottom: 2px solid #1e3a8a;
}

/* SERVICIO CELULAR */
@media (max-width: 768px) {
  .servicios { padding: 50px 20px; }
}

  
  /* CTA */
  .cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #020617, #1e293b);
  }

 /* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

.whatsapp img {
  width: 10px;
}

/* MAPA */
.mapa-container {
  position: relative;
  width: 100%;
}

/* MAPA */
.mapa-container {
  position: relative;
  width: 100%;
}

/* MAPA */
.mapa-container iframe {
  width: 100%;
  height: 550px;
  border: 0;
}

/* CUADRO GRANDE DENTRO DEL MAPA */
.mapa-info {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%; /* 🔥 más grande */
  
  background: rgba(17, 24, 39, 0.95);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 50px;
}


@media (max-width: 768px) {
  .mapa-info {
    position: static;
    transform: none;
    margin: 20px auto;
  }
}
  
  /* FOOTER */
  footer {
    text-align: center;
    padding: 10px;
    background: rgb(255, 253, 253);
  }