:root {
  --azul: #0f276f;
  --magenta: #bc439e;
  --gris: #5d6a8a;
}

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

/* 🔴 FIX GLOBAL SCROLL */
html,
body {
  overflow-x: hidden;
}

section {
  padding: 100px 8vw;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
}

/* HERO */

.hero-logo {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-logo img {
  width: 400px;
  max-width: 90%;
  opacity: 0.9;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4));
}

.hero {
  height: 90vh;
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 39, 111, 0.9),
    rgba(188, 67, 158, 0.8)
  );
}

.hero-content {
  position: relative;
  margin-top: 140px;
  max-width: 700px;
}

.hero p {
  margin-top: 20px;
}

.btn-primary {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 40px;
  background: white;
  color: var(--azul);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: var(--magenta);
  color: white;
  border-radius: 30px;
  text-decoration: none;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card h3 {
  margin: 15px;
}

.card p {
  margin: 0 15px;
}

.icon {
  margin: 15px;
  color: var(--magenta);
}

/* CONSULTORIA */

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.highlight-img img {
  width: 100%;
  border-radius: 15px;
}

/* PROCESO */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* BENEFICIOS */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits ul {
  list-style: none;
  margin-top: 20px;
}

.benefits li {
  margin-bottom: 10px;
}

.benefits-img img {
  width: 100%;
  border-radius: 12px;
}

/* CONTACTO */

.contacto {
  background: #f5f5f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-item a {
  text-decoration: none;
  color: #333;
}

.mapa iframe {
  border-radius: 10px;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 40px;
  color: #777;
}

/* WHATSAPP */

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.whatsapp img {
  width: 32px;
}

/* DOCUMENTOS */

.documentos {
  background: #f7f7f7;
  text-align: center;
}

.documentos-intro {
  max-width: 700px;
  margin: auto;
  margin-bottom: 40px;
}

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.doc-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.doc-card:hover {
  transform: translateY(-8px);
}

.doc-card i {
  color: #bc439e;
  margin-bottom: 10px;
}

/* PROMO */

.promo-hogar {
  background: #0f276f;
  color: white;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.promo-img img {
  width: 100%;
  border-radius: 12px;
}

.promo-destacado {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 0;
}

/* 🔥 RESPONSIVE */

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  .hero-logo img {
    width: 200px;
  }

  .hero-content {
    margin-top: 100px;
    padding: 0 15px;
  }

  .highlight-grid,
  .benefits-grid,
  .contact-grid,
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .promo-img img {
    height: 200px;
    object-fit: cover;
  }

  .whatsapp {
    right: 15px;
    bottom: 15px;
    width: 60px;
    height: 60px;
  }

  .whatsapp img {
    width: 28px;
  }
}
