#planoOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#planoOverlay.show {
  display: flex;
}

/* --- Hero --- */
.con-hero {
  position: relative;
  padding: 96px 0 64px;
  background: url("../images/proyecto-hero.webp") center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.con-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 64, 117, 0.9) 0%, rgba(13, 55, 82, 0.78) 55%, rgba(13, 55, 82, 0.55) 100%);
}

.con-hero .container {
  position: relative;
  z-index: 1;
}

.con-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.con-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}

.con-hero__desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0; /* 🔥 unificado */
}

body {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== GENERAL ===== */
.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 16px;
}

img {
  width: 100%;
  display: block;
}

/* ===== NAV ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: saturate(140%) blur(6px);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand .logo {
  width: 110px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand .logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  color: var(--primary2);
}

.navlinks a {
  opacity: 0.9;
}

.navlinks a:hover {
  opacity: 1;
}

/* ===== MOBILE ===== */
.hamburger,
.mobilemenu {
  display: none;
}

.mobilemenu.show {
  display: block;
}

/* ===== CARRUSEL ASESORES ===== */
.asesoresCarousel {
  position: relative;
  margin-top: 30px;
  padding: 0 10px; /* 🔥 mejora visual */
}

.asesoresTrack {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: none;
}

.asesoresTrack::-webkit-scrollbar {
  display: none;
}

/* Card */
.asesorCard {
  flex: 0 0 calc((100% - 60px) / 4);
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asesorCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.asesorCard img {
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.asesorCard h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  font-weight: 800;
}

.cargo {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

.telefono {
  font-weight: 800;
  margin: 8px 0;
}

/* Botón */
.btnWhatsapp {
  display: block;
  text-align: center;
  padding: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  margin-top: 10px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btnWhatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

/* ===== BOTONES CARRUSEL ===== */
.cnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary2);
  transition: all 0.25s ease;
}

.cnav:hover {
  transform: translateY(-50%) scale(1.1);
}

.cnav.left {
  left: -20px;
}

.cnav.right {
  right: -20px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary2);
  color: #fff;
  padding: 30px 0;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.copy {
  margin-top: 15px;
  border-top: 1px solid #fff3;
  padding-top: 10px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .asesorCard {
    flex: 0 0 45%;
  }
}

@media (max-width: 640px) {
  .asesorCard {
    flex: 0 0 85%;
  }

  .navlinks {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .fgrid {
    grid-template-columns: 1fr;
  }
}