/* ═══════════════════════════════════════════
   BICSA COMPANY – style-projects.css
   Paleta 100% azul/cyan — sin naranja
═══════════════════════════════════════════ */

/* ════════════════════════════════════════════
   BOTONES
════════════════════════════════════════════ */
.btn-cotizar {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  color: var(--white) !important;
  font-size: .86rem; font-weight: 700;
  padding: .5rem 1.4rem; border-radius: 50px;
  letter-spacing: .02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(1,193,217,.35);
  white-space: nowrap;
}
.btn-cotizar:hover {
  background: linear-gradient(135deg, var(--cyan-dark), var(--blue-mid));
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(1,193,217,.5);
}

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem;
  padding: .85rem 2rem; border-radius: 50px;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  transition: all var(--transition);
}
.btn-outline-dark:hover { background: rgba(255,255,255,.12); border-color: var(--white); }


/* ════════════════════════════════════════════
   NAV DROPDOWN
════════════════════════════════════════════ */
.nav-dropdown { position: relative; }
.nav-link-has-dropdown { display: flex !important; align-items: center; gap: .3rem; }
.dropdown-arrow { transition: transform var(--transition); flex-shrink: 0; }
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open  .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: .8rem; background: transparent; }

.nav-submenu {
  position: absolute; top: calc(100% + .4rem); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0,9,83,.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(1,193,217,.2); border-radius: var(--radius);
  padding: .5rem; min-width: 230px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 200;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open  .nav-submenu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu li a { display: block; padding: .6rem 1rem; color: rgba(255,255,255,.85); font-size: .84rem; font-weight: 500; border-radius: 8px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-submenu li a:hover { background: rgba(1,193,217,.15); color: var(--cyan); }


/* ════════════════════════════════════════════
   HERO NUEVO – Proyectos Cards
════════════════════════════════════════════ */
.hero-nuevo {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 55%, var(--blue-mid) 100%);
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  position: relative;
}
.hero-nuevo::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2301C1D9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1; z-index: 0;
}
.hero-nuevo .container { position: relative; z-index: 1; }

.hero-nuevo-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.hero-nuevo-text .section-tag { margin-bottom: 1rem; }
.hero-nuevo-text h1 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 800; color: var(--white); line-height: 1.18; margin-bottom: 1.1rem; }
.text-cyan { color: var(--cyan); }
.hero-nuevo-text p { color: rgba(255,255,255,.80); font-size: 1.05rem; line-height: 1.7; max-width: 420px; }

/* Cards grid 2×2 */
.hero-proj-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.hero-proj-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.28); transition: transform .3s ease, box-shadow .3s ease; display: block; text-decoration: none; color: inherit; }
.hero-proj-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(0,0,0,.38); }
.hero-proj-card-img { position: relative; height: 320px; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); }
.hero-proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-proj-card:hover .hero-proj-card-img img { transform: scale(1.06); }

/* Badge: cyan, no naranja */
.hero-proj-badge {
  position: absolute; top: .5rem; left: .5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  color: var(--white);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 50px;
}

.hero-proj-card-body { padding: .85rem 1rem 1rem; }
.hero-proj-card-name { font-size: .9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .15rem; }
.hero-proj-card-city { display: flex; align-items: center; gap: .25rem; font-size: .72rem; color: var(--gray); margin-bottom: .35rem; }
.btn-interesa { display: inline-block; background: linear-gradient(135deg, var(--cyan), var(--blue-light)); color: var(--white); font-size: .73rem; font-weight: 700; padding: .35rem .9rem; border-radius: 50px; transition: background .2s, transform .2s; }
.hero-proj-card:hover .btn-interesa { background: linear-gradient(135deg, var(--cyan-dark), var(--blue-mid)); }
.hero-proj-cards--carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .75rem;
}
.hero-proj-cards--carousel .hero-proj-card {
  min-width: min(260px, 82vw);
  scroll-snap-align: start;
}
.home-projects-controls {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.home-projects-btn {
  position: absolute;
  top: 63%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  pointer-events: auto;
}
.home-projects-btn:hover {
  transform: translateY(calc(-50% - 2px));
  background: var(--cyan);
  color: var(--white);
}
.home-projects-prev {
  left: max(28px, calc((100vw - 1540px) / 2 + 24px));
}
.home-projects-next {
  right: max(28px, calc((100vw - 1540px) / 2 + 24px));
}
.home-projects-carousel {
  scroll-behavior: smooth;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: .35rem;
}
.home-projects-carousel .hero-proj-card {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-width: 0;
}
.home-projects-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin: 1.25rem auto 0;
}
.home-projects-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.36);
  cursor: pointer;
  transition: transform .2s ease, width .2s ease, background .2s ease;
}
.home-projects-dot.active {
  width: 28px;
  background: var(--cyan);
}
.home-projects-dot:hover {
  transform: translateY(-1px);
  background: rgba(1,193,217,.85);
}
#proyectos-cards {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 5px;
  background:
    radial-gradient(circle at 18% 10%, rgba(1,193,217,.24), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(2,127,180,.26), transparent 30%),
    linear-gradient(135deg, #020a2f 0%, #001b55 48%, #00317C 100%);
  color: var(--white);
}
#proyectos-cards .container {
  width: min(1460px, calc(100% - 48px));
  max-width: none;
}
#proyectos-cards .hero-proj-layout,
#proyectos-cards .hero-nuevo-grid,
#proyectos-cards .hero-nuevo-content,
#proyectos-cards .projects-home-layout {
  display: block;
}
#proyectos-cards .hero-proj-left,
#proyectos-cards .hero-nuevo-text,
#proyectos-cards .hero-proj-text,
#proyectos-cards .projects-home-header {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 2.35rem;
  text-align: center;
}
#proyectos-cards .hero-nuevo-text p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
#proyectos-cards .section-tag,
#proyectos-cards .hero-proj-tag {
  margin-left: auto;
  margin-right: auto;
}
#proyectos-cards h2,
#proyectos-cards h1,
#proyectos-cards .section-title,
#proyectos-cards .hero-proj-title {
  color: var(--white);
}
#proyectos-cards p,
#proyectos-cards .section-desc,
#proyectos-cards .hero-proj-desc {
  color: rgba(255,255,255,.78);
}
#proyectos-cards .hero-proj-actions,
#proyectos-cards .section-actions,
#proyectos-cards .projects-home-actions {
  justify-content: center;
}
#proyectos-cards .hero-nuevo-text > div[style*="display:flex"] {
  justify-content: center;
}
#proyectos-cards .hero-proj-right,
#proyectos-cards .hero-proj-cards,
#proyectos-cards .projects-home-grid {
  width: 100%;
}
#proyectos-cards .hero-proj-cards:not(.hero-proj-cards--carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  justify-content: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}
#proyectos-cards .hero-proj-cards.project-count-5:not(.hero-proj-cards--carousel) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
#proyectos-cards .hero-proj-cards--carousel {
  gap: 1rem;
  max-width: 1400px;
  scrollbar-width: none;
}

@media (max-width: 1180px) {
  .hero-proj-card-img {
    height: 280px;
  }

  #proyectos-cards .hero-proj-cards.project-count-5:not(.hero-proj-cards--carousel) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-projects-carousel .hero-proj-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

@media (max-width: 900px) {
  .hero-proj-card-img {
    height: 260px;
  }

  #proyectos-cards .hero-proj-cards.project-count-5:not(.hero-proj-cards--carousel) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-projects-carousel .hero-proj-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 620px) {
  .hero-proj-card-img {
    height: 240px;
  }

  .home-projects-controls {
    width: 100vw;
  }

  .home-projects-btn {
    width: 36px;
    height: 36px;
    background: rgba(0,9,83,.72);
  }

  .home-projects-prev {
    left: 10px;
  }

  .home-projects-next {
    right: 10px;
  }

  .home-projects-carousel .hero-proj-card {
    flex-basis: 100%;
  }

  #proyectos-cards .hero-proj-left,
  #proyectos-cards .hero-nuevo-text,
  #proyectos-cards .hero-proj-text,
  #proyectos-cards .projects-home-header {
    margin-bottom: 1.7rem;
  }

  #proyectos-cards .hero-proj-cards.project-count-5:not(.hero-proj-cards--carousel) {
    grid-template-columns: 1fr;
  }
}
.hero-proj-cards--carousel::-webkit-scrollbar,
.clientes-carousel::-webkit-scrollbar {
  height: 8px;
}

.hero-proj-cards--carousel::-webkit-scrollbar-track,
.clientes-carousel::-webkit-scrollbar-track {
  background: rgba(11,36,116,.12);
  border-radius: 20px;
}

.hero-proj-cards--carousel::-webkit-scrollbar-thumb,
.clientes-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg,#01C1D9,#0B2474);
  border-radius: 20px;
}

.hero-proj-cards--carousel,
.clientes-carousel {
  scrollbar-color: #01C1D9 rgba(11,36,116,.12);
  scrollbar-width: thin;
}


/* ════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════ */
.section-testi-hero {
  background-color: #1d59a8;
  background-image:
    radial-gradient(ellipse at 70% 0%,   rgba(255,255,255,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(0,20,70,.35)     0%, transparent 50%),
    linear-gradient(140deg, #153f8a 0%, #2060b8 45%, #1a5eb0 100%);
  overflow: hidden; padding: 0; position: relative;
}
.section-testi-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none; z-index: 0;
}
.testi-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; max-width: 1260px; margin: 0 auto; padding: 0 3rem 0 0; gap: 2.5rem; }
.testi-hero-img { flex-shrink: 0; width: 400px; align-self: flex-end; margin-bottom: 0; padding-bottom: 0; line-height: 0; }
.testi-hero-img img { width: 100%; height: auto; display: block; margin-bottom: 0; vertical-align: bottom; }

.testi-right { flex: 1; min-width: 0; padding: 2rem 0 2rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.testi-hero-title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 1.5rem; line-height: 1.2; }

.testi-slider-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.testi-viewport { overflow: hidden; flex: 1; min-width: 0; }
.testi-track { display: flex; gap: 12px; transition: transform .42s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.testi-slide { flex-shrink: 0; display: flex; flex-direction: column; box-sizing: border-box; }

.testi-card { background: rgba(255,255,255,.14); border-radius: 12px; padding: .9rem 1rem; position: relative; margin-bottom: 18px; flex: 1; }
.testi-card::after { content: ''; position: absolute; bottom: -14px; left: 22px; border-width: 14px 10px 0; border-style: solid; border-color: rgba(255,255,255,.14) transparent transparent; }
.testi-card-quote { font-size: .94rem; color: rgba(255,255,255,.92); font-style: italic; line-height: 1.65; margin: 0; }

.testi-author { display: flex; align-items: center; gap: .55rem; }
.testi-card-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--white); flex-shrink: 0; }
.testi-card-avatar-placeholder { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2.5px solid var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-card-name { font-weight: 700; color: var(--white); font-size: .92rem; line-height: 1.2; }
.testi-card-project { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .05rem; }

.testi-btn-prev, .testi-btn-next { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.3); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.testi-btn-prev:hover, .testi-btn-next:hover { background: rgba(255,255,255,.38); transform: scale(1.08); }

.testi-dots {
  display: flex;
  gap: .35rem;
  justify-content: center;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C7D2E5;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}

.testi-dot.testi-dot-active {
  background: #12C2E9;
  width: 22px;
  border-radius: 999px;
}

.section-clientes-media {
  position: relative;
  overflow: hidden;
  background: #F5F7FB;
  color: #0B2474;
  scroll-margin-top: 300px;
}

.section-clientes-media::before {
  display: none;
}

.section-clientes-media .container {
  position: relative;
  z-index: 1;
}

.section-clientes-media .section-header h2 {
  color: #0B2474;
}

.section-clientes-media .section-header p {
  color: #7E8CA5;
}

.clientes-carousel-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: .75rem;
  max-width: 1260px;
  margin: 0 auto;
}

.clientes-carousel {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .2rem .15rem 1rem;
  scrollbar-width: none;
}

.clientes-carousel::-webkit-scrollbar {
  display: none;
}

.clientes-carousel-btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: #0B2474;
  box-shadow: 0 8px 20px rgba(15,35,95,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.clientes-carousel-btn:hover {
  transform: scale(1.05);
  background: #FFFFFF;
  color: #0B2474;
  box-shadow: 0 12px 25px rgba(15,35,95,.15);
}

.cliente-media-card {
  flex: 0 0 calc((100% - 24px) / 3);
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,35,95,.05);
  box-shadow: 0 8px 25px rgba(15,35,95,.06);
  cursor: zoom-in;
  transition: transform .24s ease, box-shadow .24s ease;
}

.cliente-media-card:hover,
.cliente-media-card:focus-visible {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: rgba(15,35,95,.08);
  box-shadow: 0 14px 35px rgba(15,35,95,.10);
  outline: none;
}

.cliente-media-frame {
  aspect-ratio: 16/10;
  background: #EAF0F9;
}

.cliente-media-frame img,
.cliente-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cliente-media-info {
  padding: 1rem 1.3rem 1.4rem;
}

.cliente-media-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B2474;
  margin-bottom: .45rem;
}

.cliente-media-info p {
  color: #667085;
  font-size: .92rem;
  line-height: 1.6;
}

.clientes-dots {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-top: .15rem;
}

@media (max-width: 900px) {
  .cliente-media-card {
    flex-basis: calc((100% - 12px) / 2);
  }
}

@media (max-width: 580px) {
  .clientes-carousel-wrap {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: .45rem;
  }

  .cliente-media-card {
    flex-basis: 100%;
  }

  .clientes-carousel-btn {
    width: 38px;
    height: 38px;
  }
}

.dist-feat-button {
  width: 100%;
  border: 1px solid rgba(1,193,217,.16);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.dist-feat-button:hover,
.dist-feat-button.active {
  border-color: #12C2E9;
  box-shadow: 0 10px 28px rgba(18,194,233,.18);
  transform: translateY(-2px);
}

.dist-feature-preview {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: #F5F7FB;
  box-shadow: 0 8px 25px rgba(15,35,95,.06);
}

.dist-feature-preview img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.dist-feature-preview span {
  display: block;
  padding: .7rem .85rem;
  font-weight: 700;
  color: #0B2474;
  background: #FFFFFF;
}


/* ════════════════════════════════════════════
   DISTRIBUCIÓN DEL DEPARTAMENTO
════════════════════════════════════════════ */
.detail-layout { max-width: 1100px !important; }
.dist-tipo-header { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.75rem; }
.dist-tipo-badge { background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid)); color: var(--white); font-size: .8rem; font-weight: 800; letter-spacing: .06em; padding: .4rem 1.2rem; border-radius: 50px; box-shadow: 0 4px 14px rgba(0,49,124,.28); }
.dist-tipo-nombre { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); }

.dist-bloque-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; position: relative; }
.dist-bloque-grid--reverse .dist-plan-box   { order: 2; }
.dist-bloque-grid--reverse .dist-feats-side { order: 1; }

.dist-plan-box { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4.75rem 5.25rem; min-height: 420px; position: relative; }
.dist-plan-box img { width: 100%; max-width: 380px; height: auto; display: block; filter: drop-shadow(0 8px 24px rgba(0,49,124,.15)); }
.dist-feats-side { display: flex; flex-direction: column; justify-content: center; padding-top: .5rem; }
.dist-feats-desc {
  font-size: .96rem; color: #4a5568; line-height: 1.72;
  margin-bottom: 0; padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(1,193,217,.08), rgba(1,193,217,.015));
}

.dist-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.dist-feat-card {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: .48rem .58rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: .48rem;
  min-height: 46px;
  box-shadow: 0 3px 14px rgba(0,49,124,.07);
  border: 1.5px solid rgba(0,49,124,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s, background .22s;
  cursor: default;
}
.dist-feat-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #fff 0%, rgba(1,193,217,.06) 100%);
  box-shadow: 0 10px 26px rgba(0,49,124,.13);
  border-color: rgba(1,193,217,.4);
}
.dist-feat-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 62%, var(--cyan) 140%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 16px rgba(0,49,124,.25);
  flex-shrink: 0;
}
.dist-feat-icon svg { width: 18px; height: 18px; }
.dist-feat-label {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--blue-dark);
  line-height: 1.25;
}
.dist-separador { border: none; border-top: 2px dashed var(--gray-light); margin: 0 0 2.75rem; }


/* ════════════════════════════════════════════
   UBICACIÓN ESTRATÉGICA
════════════════════════════════════════════ */
.ubicacion-card { background: var(--off-white) !important; border: 1.5px solid var(--gray-light) !important; box-shadow: none !important; padding: 2.5rem !important; }
.ubicacion-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: stretch; }
.ubicacion-text-side { display: flex; flex-direction: column; justify-content: center; }
.ubicacion-eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.ubicacion-eyebrow svg { flex-shrink: 0; }
.ubicacion-title { font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 800; color: var(--blue-dark); line-height: 1.15; margin-bottom: 1rem; }
.ubicacion-title span { color: var(--blue-primary); }
.ubicacion-desc { color: #4a5568; font-size: .97rem; line-height: 1.75; margin-bottom: 1.5rem; }
.ubicacion-refs { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.ubicacion-refs li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--blue-dark); font-weight: 500; }
.ubicacion-ref-dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue-light)); flex-shrink: 0; margin-top: .3rem; box-shadow: 0 0 0 3px rgba(1,193,217,.18); }
.ubicacion-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 40px rgba(0,49,124,.18); height: 420px; background: var(--gray-light); }
.ubicacion-map-wrap img    { width: 100%; height: 100%; object-fit: cover; display: block; }
.ubicacion-map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }


/* ════════════════════════════════════════════
   PÁGINA PROYECTOS – Grid
════════════════════════════════════════════ */
.page-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 55%, var(--blue-mid) 100%); padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 5rem; text-align: center; color: var(--white); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 620px; margin-inline: auto; }

.section-proyectos-grid { background: var(--off-white); }
.proj-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.proj-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--card-shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.proj-card-img { position: relative; height: 280px; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); }
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.proj-card:hover .proj-card-img img { transform: scale(1.06); }

/* Badge: cyan, sin naranja */
.proj-card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  color: var(--white); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 50px;
}

.proj-card-body { padding: 1.6rem 1.85rem 1.85rem; display: flex; flex-direction: column; flex: 1; }
.proj-card-name { font-size: 1.4rem; font-weight: 800; text-transform: none; color: var(--blue-dark); margin-bottom: .3rem; letter-spacing: 0; }
.proj-card-city { display: flex; align-items: center; gap: .4rem; color: var(--gray); font-size: .88rem; margin-bottom: .9rem; }
.proj-card-desc { color: #4a5568; font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; flex: 1; }
.btn-mas-info { display: inline-flex; align-items: center; gap: .4rem; background: linear-gradient(135deg, var(--cyan), var(--blue-light)); color: var(--white); font-size: .9rem; font-weight: 600; padding: .72rem 1.8rem; border-radius: 50px; transition: transform .25s, box-shadow .25s; box-shadow: 0 4px 16px rgba(1,193,217,.3); align-self: flex-start; }
.btn-mas-info:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(1,193,217,.45); }


/* ════════════════════════════════════════════
   DETALLE DE PROYECTO
════════════════════════════════════════════ */
.detail-hero { position: relative; height: 70vh; min-height: 480px; overflow: hidden; display: flex; }
.detail-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-clip-video { opacity: 0; transition: opacity .18s linear; }
.hero-clip-video.is-active { opacity: 1; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,9,83,.8) 0%, rgba(0,49,124,.6) 60%, rgba(2,89,154,.4) 100%); z-index: 1; }
.detail-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding-bottom: 3.5rem; }
.detail-hero-content--center { text-align: center; }
.detail-hero-content--right { text-align: right; }
.detail-hero-content--center .detail-hero-city { justify-content: center; }
.detail-hero-content--right .detail-hero-city { justify-content: flex-end; }

/* Badge detalle: cyan */
.detail-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 50px; margin-bottom: .8rem;
}

.detail-hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.4); margin-bottom: .4rem; }
.detail-hero-subtitle { max-width: 720px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.55; margin: 0 0 .65rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.detail-hero-content--center .detail-hero-subtitle { margin-inline: auto; }
.detail-hero-content--right .detail-hero-subtitle { margin-left: auto; }
.detail-hero-city { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; color: rgba(255,255,255,.82); }

.detail-page { background: var(--off-white); }
.detail-layout { display: block; padding-block: 3.5rem; max-width: 860px; margin-inline: auto; }
.detail-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--card-shadow); }
.detail-section-title { font-size: 1.2rem; font-weight: 700; color: var(--blue-dark); padding-bottom: .5rem; border-bottom: 3px solid var(--cyan); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.detail-desc { color: #4a5568; font-size: .98rem; line-height: 1.75; }

.detail-features { display: flex; flex-wrap: wrap; gap: 1rem; }
.detail-feature { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--off-white); border-radius: var(--radius); padding: 1rem 1.25rem; min-width: 90px; border: 1.5px solid var(--gray-light); }
.detail-feature-icon { margin-bottom: .4rem; }
.detail-feature-value { font-size: 1.15rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.detail-feature-label { font-size: .7rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

.detail-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.detail-gal-item { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.detail-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.detail-gal-item:hover img { transform: scale(1.08); }
.detail-parks-card { overflow: hidden; }
.park-category-block { margin-top: 1.25rem; }
.park-category-block + .park-category-block { padding-top: 1.25rem; border-top: 1px solid var(--gray-light); }
.park-category-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.park-category-head h3 { margin: 0; color: var(--dark); font-size: 1.05rem; font-weight: 700; }
.park-category-head span { color: var(--gray); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.detail-park-gallery { grid-template-columns: repeat(4,1fr); }
.detail-park-item { aspect-ratio: 16/10; }

.detail-videos { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.detail-video-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--blue-dark); cursor: pointer; }
.detail-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.detail-plan-item { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--gray-light); cursor: zoom-in; background: var(--white); transition: box-shadow .25s; }
.detail-plan-item:hover { box-shadow: var(--card-shadow); }
.detail-plan-item img { width: 100%; height: auto; display: block; }
.detail-plan-label { font-size: .78rem; font-weight: 600; color: var(--blue-dark); padding: .5rem .75rem; text-align: center; }
.detail-distribution-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.detail-distribution-item { border: 1.5px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.detail-distribution-media { aspect-ratio: 16/10; background: var(--blue-dark); overflow: hidden; }
.detail-distribution-media img,
.detail-distribution-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-distribution-copy { padding: .9rem 1rem 1rem; }
.detail-distribution-copy span { display: inline-block; color: var(--cyan); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.detail-distribution-copy h3 { margin: 0 0 .35rem; color: var(--blue-dark); font-size: 1rem; font-weight: 800; }
.detail-distribution-copy p { color: #4a5568; font-size: .88rem; line-height: 1.6; margin: 0; }
.detail-location-txt { color: #4a5568; font-size: .97rem; line-height: 1.7; }

/* Sidebar formulario */
.detail-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.detail-form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-hover); overflow: hidden; border-top: 4px solid var(--cyan); }
.detail-form-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary)); color: var(--white); padding: 1.5rem 1.75rem 1.25rem; }
.detail-form-header h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.detail-form-header p  { font-size: .84rem; color: rgba(255,255,255,.75); }
.detail-form-body { padding: 1.5rem 1.75rem 1.75rem; }
.detail-form-group { margin-bottom: 1rem; }
.detail-form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .35rem; }
.detail-form-group input, .detail-form-group select { width: 100%; padding: .68rem 1rem; border: 1.5px solid var(--gray-light); border-radius: 8px; font-size: .88rem; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s; color: var(--text-dark); }
.detail-form-group input:focus, .detail-form-group select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1,193,217,.12); }
.btn-solicitar { width: 100%; background: linear-gradient(135deg, var(--cyan), var(--blue-light)); color: var(--white); font-size: .95rem; font-weight: 700; padding: .85rem; border-radius: 50px; border: none; cursor: pointer; font-family: inherit; transition: background .25s, transform .25s, box-shadow .25s; box-shadow: 0 4px 16px rgba(1,193,217,.35); margin-top: .25rem; }
.btn-solicitar:hover { background: linear-gradient(135deg, var(--cyan-dark), var(--blue-mid)); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(1,193,217,.5); }
.detail-form-note { font-size: .75rem; color: var(--gray); text-align: center; margin-top: .85rem; }


/* ════════════════════════════════════════════
   WHATSAPP FLOTANTE
════════════════════════════════════════════ */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; background: #25D366; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,.45); z-index: 9998; transition: transform .3s ease, box-shadow .3s ease; animation: waPulse 3s ease-in-out infinite; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 18px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,.14), 0 0 0 22px rgba(37,211,102,.05); }
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.65); animation: none; }


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; order: -1; }
}

@media (max-width: 900px) {
  .hero-nuevo-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-nuevo-text p { max-width: 100%; }
  .hero-proj-cards { grid-template-columns: repeat(2,1fr); }
  .proj-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: repeat(2,1fr); }
  .detail-park-gallery { grid-template-columns: repeat(2,1fr); }
  .detail-plans   { grid-template-columns: repeat(2,1fr); }
  .detail-distribution-grid { grid-template-columns: 1fr; }
  .detail-videos  { grid-template-columns: 1fr; }
  .dist-bloque-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .dist-bloque-grid--reverse .dist-plan-box,
  .dist-bloque-grid--reverse .dist-feats-side { order: unset; }
  .dist-plan-box  { min-height: 260px; }
  .dist-feat-grid { grid-template-columns: repeat(2,1fr); gap: .7rem; }
  .ubicacion-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .ubicacion-map-wrap { height: 280px; }
  .ubicacion-card { padding: 1.5rem !important; }
  .testi-hero-inner { padding-right: 1rem; gap: 1.25rem; }
  .testi-hero-img { width: 220px; }
  .testi-right    { padding-left: 1.5rem; }
}

@media (max-width: 768px) {
  /* Nav dropdown móvil */
  .nav-submenu { position: static; transform: none !important; background: rgba(1,193,217,.08); border: 1px solid rgba(1,193,217,.15); opacity: 1; visibility: visible; pointer-events: all; display: none; min-width: 0; width: 100%; border-radius: 10px; box-shadow: none; backdrop-filter: none; padding: .4rem .5rem; margin-top: .4rem; }
  .nav-dropdown.open .nav-submenu { display: block; }
  .nav-submenu li a { font-size: .9rem; font-weight: 500; padding: .72rem .9rem; border-radius: 8px; white-space: normal; color: rgba(255,255,255,.88); }
  .nav-submenu li a:hover { background: rgba(1,193,217,.18); color: var(--white); }
  .nav-link-has-dropdown { justify-content: space-between; width: 100%; }
  .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 18px; }
}

@media (max-width: 640px) {
  .hero-proj-cards    { grid-template-columns: 1fr; }
  .detail-gallery     { grid-template-columns: 1fr; }
  .detail-park-gallery { grid-template-columns: 1fr; }
  .detail-plans       { grid-template-columns: 1fr; }
  .hero-nuevo         { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 3rem; }
  .hero-nuevo-text h1 { font-size: 1.6rem; }
  .proj-grid          { gap: 1.25rem; }
  .dist-feat-grid     { grid-template-columns: 1fr; gap: .65rem; }
  .dist-feat-icon     { width: 40px; height: 40px; border-radius: 12px; }
}

@media (max-width: 600px) {
  .testi-hero-inner { flex-direction: column; align-items: center; padding: 1.5rem 1rem 0; gap: .5rem; }
  .testi-hero-img   { width: 60%; max-width: 220px; align-self: center; }
  .testi-right      { padding: 0 0 1.5rem; width: 100%; }
}

@media (max-width: 480px) {
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 14px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 420px) {
  .dist-feat-grid { grid-template-columns: 1fr; }
  .hero-proj-card-name { font-size: .82rem; }
  .hero-proj-card-body { padding: .65rem .8rem .8rem; }
}
