/* ============================================
   GRUPO CH CONSTRUCTORES S.A.S.
   style.css — Global Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --azul: #304666;
  --azul-medio: #3d5a82;
  --azul-oscuro: #1e2e42;
  --azul-claro: #f0f4f8;
  --blanco: #ffffff;
  --gris-suave: #f4f6f9;
  --gris-borde: #e0e7ef;
  --gris-texto: #6b7a8d;
  --negro-suave: #1a1a2e;
  --acento: #c9a97a;

  --fuente: 'Montserrat', sans-serif;

  --sombra: 0 4px 24px rgba(48, 70, 102, 0.10);
  --sombra-hover: 0 8px 32px rgba(48, 70, 102, 0.18);
  --radio: 12px;
  --radio-sm: 6px;
  --transicion: all 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--fuente);
  color: var(--negro-suave);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--fuente);
  font-weight: 700;
  line-height: 1.2;
  color: var(--azul-oscuro);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--gris-texto);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--blanco) !important; }
.text-azul { color: var(--azul) !important; }

.bg-azul { background: var(--azul); }
.bg-azul-oscuro { background: var(--azul-oscuro); }
.bg-gris { background: var(--gris-suave); }
.bg-white { background: var(--blanco); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radio-sm);
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transicion);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--azul);
  color: var(--blanco);
}

.btn-primary:hover {
  background: var(--azul-medio);
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
}

.btn-outline {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}

.btn-outline:hover {
  background: var(--azul);
  color: var(--blanco);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--blanco);
  color: var(--azul);
}

.btn-white:hover {
  background: var(--gris-suave);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--blanco);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(48, 70, 102, 0.08);
  border-radius: 20px;
}

.section-label-white {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-texto);
  max-width: 600px;
  margin: 0 auto 48px;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--azul);
  border-radius: 2px;
  margin: 16px auto 40px;
}

.divider-left {
  margin: 16px 0 40px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gris-borde);
  transition: var(--transicion);
}

.navbar.scrolled {
  box-shadow: var(--sombra);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--azul-oscuro);
  transition: var(--transicion);
  position: relative;
  padding-bottom: 3px;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul);
  transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--azul);
}

.navbar-cta {
  background: var(--azul);
  color: var(--blanco) !important;
  padding: 10px 20px;
  border-radius: var(--radio-sm);
  font-weight: 700 !important;
}

.navbar-cta::after { display: none !important; }

.navbar-cta:hover {
  background: var(--azul-medio) !important;
  color: var(--blanco) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-oscuro);
  border-radius: 2px;
  transition: var(--transicion);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blanco);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--azul-oscuro);
  padding: 16px 0;
  border-bottom: 1px solid var(--gris-borde);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transicion);
}

.mobile-menu a:hover {
  color: var(--azul);
  padding-left: 8px;
}

.mobile-menu .btn {
  margin-top: 24px;
  justify-content: center;
  width: 100%;
}

/* Page offset for fixed navbar */
.page-offset {
  padding-top: 72px;
}

/* ============================================
   HERO SLIDER (Home)
   ============================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 46, 66, 0.75) 0%,
    rgba(48, 70, 102, 0.55) 50%,
    rgba(30, 46, 66, 0.45) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.hero-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--blanco);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  max-width: 700px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-price {
  display: inline-block;
  color: var(--acento);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transicion);
  border: none;
}

.slider-dot.active {
  background: var(--blanco);
  transform: scale(1.3);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--blanco);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.3);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul) 100%);
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transicion);
}

.breadcrumb a:hover { color: var(--blanco); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================
   PROJECT HERO (individual project pages)
   ============================================ */
.project-hero {
  position: relative;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 46, 66, 0.85) 0%,
    rgba(30, 46, 66, 0.5) 60%,
    rgba(30, 46, 66, 0.2) 100%
  );
}

.project-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.project-hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.project-status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-comercializacion { background: #2ecc71; color: #fff; }
.badge-desarrollo { background: #f39c12; color: #fff; }
.badge-ultimas { background: #e74c3c; color: #fff; }
.badge-comercial { background: var(--azul); color: #fff; }

/* ============================================
   FICHA TÉCNICA
   ============================================ */
.ficha-tecnica {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.ficha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.ficha-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--radio-sm);
  background: var(--gris-suave);
}

.ficha-item-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.ficha-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 4px;
}

.ficha-item-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
}

.ficha-price-highlight {
  background: var(--azul);
  color: var(--blanco);
}

.ficha-price-highlight .ficha-item-label {
  color: rgba(255,255,255,0.7);
}

.ficha-price-highlight .ficha-item-value {
  color: var(--blanco);
  font-size: 1.1rem;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
}

.project-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img img {
  transform: scale(1.06);
}

.project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-lotes { background: #2ecc71; color: #fff; }
.badge-casas { background: var(--azul); color: #fff; }
.badge-campestre { background: #27ae60; color: #fff; }
.badge-comercial-card { background: #e67e22; color: #fff; }
.badge-urgente { background: #e74c3c; color: #fff; }

.project-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-location {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 8px;
}

.project-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-card-desc {
  font-size: 0.88rem;
  color: var(--gris-texto);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.project-card-price {
  font-size: 0.8rem;
  color: var(--gris-texto);
  margin-bottom: 4px;
  font-weight: 600;
}

.project-card-price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 20px;
}

.project-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--gris-borde);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-card-area {
  font-size: 0.8rem;
  color: var(--gris-texto);
  font-weight: 600;
}

/* ============================================
   GALLERY / LIGHTBOX
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 46, 66, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radio-sm);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blanco);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blanco);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

/* ============================================
   ZONAS SOCIALES
   ============================================ */
.zonas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.zona-item {
  background: var(--blanco);
  border-radius: var(--radio-sm);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

.zona-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.zona-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.zona-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--azul-oscuro);
}

/* ============================================
   BENEFITS / VALUE PROPS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 28px 24px;
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  border-left: 4px solid var(--azul);
  transition: var(--transicion);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--gris-texto);
  line-height: 1.6;
}

/* ============================================
   PROPUESTA DE VALOR — checklist
   ============================================ */
.propuesta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.propuesta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gris-suave);
  border-radius: var(--radio-sm);
}

.propuesta-check {
  width: 24px;
  height: 24px;
  background: var(--azul);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.propuesta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul-oscuro);
}

/* ============================================
   TIPOLOGÍAS (Valle de Saldaña)
   ============================================ */
.tipologia-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tipologia-tab {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid var(--azul);
  color: var(--azul);
  background: transparent;
  font-family: var(--fuente);
  transition: var(--transicion);
}

.tipologia-tab.active,
.tipologia-tab:hover {
  background: var(--azul);
  color: var(--blanco);
}

.tipologia-content {
  display: none;
}

.tipologia-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.tipologia-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tipologia-images img {
  border-radius: var(--radio-sm);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.tipologia-images img.full {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* ============================================
   PRECIO TABLE (Paraíso Mall)
   ============================================ */
.lotes-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.lotes-table th {
  background: var(--azul);
  color: var(--blanco);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lotes-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gris-borde);
  font-size: 0.9rem;
  color: var(--azul-oscuro);
}

.lotes-table tr:last-child td {
  border-bottom: none;
}

.lotes-table tr:hover td {
  background: var(--gris-suave);
}

.lotes-table .precio-cell {
  font-weight: 700;
  color: var(--azul);
}

/* ============================================
   OPCIONES ENTREGA (Puerto Bahía)
   ============================================ */
.opciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.opcion-card {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.opcion-header {
  padding: 24px;
  background: var(--azul);
  color: var(--blanco);
}

.opcion-header.alt {
  background: var(--azul-oscuro);
}

.opcion-tipo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.opcion-precio {
  font-size: 1.8rem;
  font-weight: 800;
}

.opcion-body {
  padding: 24px;
  background: var(--gris-suave);
}

.opcion-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--azul-oscuro);
  font-weight: 600;
  border-bottom: 1px solid var(--gris-borde);
}

.opcion-feature:last-child {
  border-bottom: none;
}

.opcion-feature span {
  font-size: 1.1rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-title {
  color: var(--blanco);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-banner-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
  background: var(--gris-suave);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--blanco);
  border-radius: var(--radio-sm);
  margin-bottom: 12px;
  box-shadow: var(--sombra);
}

.contact-detail-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--azul);
  color: var(--blanco);
  border-radius: var(--radio-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--gris-texto);
}

.contact-detail-value {
  font-weight: 700;
  color: var(--azul-oscuro);
  font-size: 1rem;
}

.contact-form-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 40px;
  box-shadow: var(--sombra);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  font-family: var(--fuente);
  font-size: 0.95rem;
  color: var(--negro-suave);
  background: var(--blanco);
  transition: var(--transicion);
  outline: none;
}

.form-control:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(48, 70, 102, 0.1);
}

.form-control::placeholder {
  color: #b0bec5;
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  justify-content: center;
}

/* ============================================
   PLANO SECTION
   ============================================ */
.plano-container {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  cursor: zoom-in;
  position: relative;
}

.plano-container img {
  width: 100%;
  transition: transform 0.3s ease;
}

.plano-container:hover img {
  transform: scale(1.01);
}

.plano-hint {
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================
   UBICACIÓN / CONECTIVIDAD
   ============================================ */
.conectividad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.conectividad-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--blanco);
  border-radius: var(--radio-sm);
  box-shadow: var(--sombra);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azul-oscuro);
}

.conectividad-dot {
  width: 10px;
  height: 10px;
  background: var(--azul);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--azul-oscuro);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radio-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transicion);
  border: 1px solid rgba(255,255,255,0.12);
}

.footer-social a:hover {
  background: var(--azul);
  color: var(--blanco);
  border-color: var(--azul);
}

.footer-col h4 {
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transicion);
}

.footer-links a:hover {
  color: var(--blanco);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item span:first-child {
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transicion);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--blanco);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse-wa 2.5s infinite;
}

@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================
   ABOUT SECTION (Home)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper img {
  border-radius: var(--radio);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--sombra-hover);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--azul);
  color: var(--blanco);
  padding: 20px;
  border-radius: var(--radio);
  text-align: center;
  box-shadow: var(--sombra);
}

.about-img-badge-num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.about-img-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-stat {
  padding: 20px;
  background: var(--gris-suave);
  border-radius: var(--radio-sm);
  text-align: center;
}

.about-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--azul);
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--gris-texto);
  font-weight: 600;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-badge {
    bottom: 16px;
    right: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tipologia-content.active {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-slider {
    height: 100svh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .slider-arrows {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 56px 0;
  }

  .ficha-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .opciones-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zonas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form-card {
    padding: 24px;
  }

  .page-hero {
    height: 240px;
  }

  .project-hero {
    height: 70vh;
  }

  .project-hero-overlay {
    background: rgba(30, 46, 66, 0.7);
  }

  .lotes-table {
    font-size: 0.82rem;
  }

  .lotes-table th,
  .lotes-table td {
    padding: 10px 12px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .propuesta-list {
    grid-template-columns: 1fr;
  }

  .conectividad-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .zonas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ficha-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .tipologia-images {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   LUCIDE ICONS
   ============================================ */
.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ficha-item-icon .lucide { width: 28px; height: 28px; color: var(--azul); }
.zona-icon .lucide        { width: 32px; height: 32px; color: var(--azul); }
.benefit-icon .lucide     { width: 32px; height: 32px; color: var(--azul); }
.contact-detail-icon .lucide { width: 22px; height: 22px; color: var(--blanco); }
.footer-contact-item .lucide { width: 16px; height: 16px; color: rgba(255,255,255,0.6); margin-top:2px; }
.opcion-feature .lucide   { width: 18px; height: 18px; color: var(--azul); }
.conectividad-item .lucide { width: 14px; height: 14px; color: var(--blanco); }
.about-stat .lucide       { width: 20px; height: 20px; }
.hero-badge .lucide       { width: 14px; height: 14px; }
.breadcrumb .lucide       { width: 12px; height: 12px; }
.propuesta-check .lucide  { width: 14px; height: 14px; color: var(--blanco); }
.section-label .lucide    { width: 12px; height: 12px; }
.btn .lucide              { width: 18px; height: 18px; }

/* conectividad dot → icon replacement */
.conectividad-dot {
  width: 10px; height: 10px;
  background: var(--azul);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   ABOUT SLIDER (Quiénes Somos)
   ============================================ */
.about-slider {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-hover);
  aspect-ratio: 4/3;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.about-slide.active {
  opacity: 1;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transicion);
}

.about-dot.active {
  background: var(--blanco);
  transform: scale(1.3);
}
