/* ==============================================================================
   VALLES DE CORINTO — HIGH ARCHITECTURAL ATELIER SYSTEM
   Inspirado en la estética de la referencia: Hero de gran formato con esquinas redondeadas,
   tipografía colosal en el cielo, barra superior aireada y arquitectura multi-página.
   Echeverría Quijano Construcciones S.A.S. · Paipa, Boyacá (5.7825° N — 73.1187° W)
   ============================================================================== */

/* ============ TOKENS DE DISEÑO ============ */
:root {
  --graphite: #131312;   /* Fondo hero, texto principal */
  --graphite-2: #1c1c1a; /* Superficies oscuras / contenedores */
  --graphite-3: #262523; /* Bordes y elevaciones */
  --concrete: #8e8c86;   /* Metadatos, líneas secundarias, coordenadas */
  --travertine: #e6dfd1; /* Texto sobre oscuro / blanco hueso */
  --warm: #f4f1ea;       /* Fondo claro principal (papel arquitectónico) */
  --sand: #cbbfa6;       /* Superficies suaves / acentos */
  --sand-light: #ece6da; /* Superficies secundarias claras */
  --brass: #a68a5b;      /* Latón envejecido */
  --bronze: #7a5c3e;     /* Acento hover / énfasis */

  /* Terracota y Ladrillo Auténtico de Boyacá */
  --terracotta: #b4533c;
  --terracotta-dark: #8c3b28;
  --terracotta-soft: rgba(180, 83, 60, 0.08);
  --terracotta-border: rgba(180, 83, 60, 0.35);

  --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-micro: .4s;
  --t-ui: .8s;
  --t-reveal: 1.2s;
  --pad: clamp(20px, 4vw, 56px);
}

/* ============ RESET UNIVERSAL ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--warm);
  color: var(--graphite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--warm);
  color: var(--graphite);
  font: 400 15px/1.65 var(--sans);
  overflow-x: hidden;
  position: relative;
}

/* Textura táctil de grano arquitectónico */
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, picture, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============ UTILIDADES ============ */
.meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.muted {
  color: var(--concrete);
}

/* Enlaces con línea hairline y flecha animada */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: inherit;
  transition: color var(--t-micro) var(--ease);
}

.link:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(19, 19, 18, .2);
}

.link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-ui) var(--ease);
}

.link:hover:after {
  transform: scaleX(1);
}

.link i {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--t-ui) var(--ease);
}

.link i:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.link:hover i {
  width: 40px;
}

.link.sec {
  color: var(--concrete);
}

.link.sec:hover {
  color: inherit;
}

/* ==============================================================================
   0. OVERLAY CINEMATOGRÁFICO DE INTRO INTERACTIVO (SIEMPRE DISPONIBLE)
   ============================================================================== */
.intro-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
}

.intro-video-overlay.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-controls-dock {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: clamp(24px, 5vw, 64px);
  right: clamp(24px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
}

.intro-brand-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-hud-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
}

.intro-brand-name {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  color: #ffffff;
  letter-spacing: 0.04em;
}

.btn-skip-intro {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn-skip-intro:hover {
  background: #ffffff;
  color: #131312;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==============================================================================
   1. BARRA DE NAVEGACIÓN SUPERIOR (LIMPIA, AIREADA, NO AMONTONADA)
   ============================================================================== */
.top-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 3.5vw, 56px);
  background: var(--warm);
  position: relative;
  z-index: 100;
}

.nav-brand-group {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: 'Inter', var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 1.1;
}

.nav-brand-subtitle {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--concrete);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
  list-style: none;
}

.nav-links-menu li a {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-links-menu li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-links-menu li a:hover {
  color: var(--bronze);
}

.nav-links-menu li a:hover:after,
.nav-links-menu li a.active:after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(19, 19, 18, 0.4);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  background: transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--graphite);
  color: #ffffff;
  border-color: var(--graphite);
}

/* ==============================================================================
   2. HERO CRESCENT DEVELOPMENTS (ALTA GAMA CINEMATOGRÁFICA)
   ============================================================================== */
.hero-crescent-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #0b0c0e;
  color: #ffffff;
}

.hero-crescent-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-crescent-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: 1;
}

/* Tipografía Monumental al Frente en Blanco Roto / Marfil Cálido Natural (#F5F2EB -> #D8C3A5) */
.hero-sky-monumental {
  position: absolute;
  top: 22.2%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6;
  pointer-events: none;
  width: 100%;
  padding: 0 3vw;
}

.hero-sky-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.15rem, 5.5vw, 5.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.04em 0 0.06em 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #F5F2EB 0%, #EDE6DA 58%, #D8C3A5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  white-space: nowrap;
  line-height: 1.04;
  width: 100%;
  transform: scaleY(1.08);
  transform-origin: center center;
  filter:
    drop-shadow(0 14px 30px rgba(26, 21, 18, 0.6))
    drop-shadow(0 4px 10px rgba(26, 21, 18, 0.36));
  text-align: center;
  margin: 0;
  user-select: none;
}

/* Silueta Recortada Frontal que Cubre la Base de las Letras (Efecto 3D de Profundidad) */
.hero-crescent-cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: 3;
  pointer-events: none;
}

.hero-crescent-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(21, 20, 19, 0.48) 0%, rgba(21, 20, 19, 0.14) 14%, transparent 26%),
    linear-gradient(0deg, rgba(12, 14, 11, 0.5) 0%, rgba(12, 14, 11, 0.18) 22%, transparent 38%);
  z-index: 4;
  pointer-events: none;
}

/* ==============================================================================
   2. BARRA DE NAVEGACIÓN SUPERIOR EN HERO (.crescent-nav-bar)
   ============================================================================== */
.crescent-nav-bar {
  position: relative;
  z-index: 15;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(24px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.crescent-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #f5f5f0;
}

.crescent-brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.crescent-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.crescent-brand-title {
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f5f0;
  line-height: 1.1;
}

.crescent-brand-subtitle {
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a97e;
  line-height: 1;
}

.crescent-links-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.crescent-links-menu a {
  position: relative;
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(245, 245, 240, 0.88);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.28s ease;
}

.crescent-links-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #c8a97e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}

.crescent-links-menu a:hover,
.crescent-links-menu a.active {
  color: #ffffff;
}

.crescent-links-menu a:hover::after,
.crescent-links-menu a.active::after {
  transform: scaleX(1);
}

/* Cápsula minimalista de iconos de redes sociales (Hero & Sticky Nav) */
.nav-social-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(200, 169, 126, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex: none;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(245, 242, 235, 0.82);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-social-link svg {
  width: 19px;
  height: 19px;
  display: block;
}

.nav-social-link:hover {
  color: #c8a97e;
  transform: scale(1.1);
}

/* ==============================================================================
   3. TEXTO SUTIL Y ELEGANTE EN LA ZONA VERDE (SOLO A LA IZQUIERDA)
   ============================================================================== */
.hero-green-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 10;
  pointer-events: none;
}

.hero-green-left-editorial {
  position: absolute;
  left: clamp(24px, 4.5vw, 64px);
  bottom: clamp(28px, 4.8vh, 50px);
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto;
}

.hero-green-phrase {
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: #f5f0eb;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.78), 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-green-micro {
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: clamp(0.84rem, 0.96vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.015em;
  line-height: 1.56;
  color: rgba(248, 246, 240, 0.88);
  margin: 0 0 6px;
  max-width: 540px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.82), 0 1px 4px rgba(0, 0, 0, 0.72);
}

.hero-green-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(21, 20, 19, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 169, 126, 0.52);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-green-pill svg {
  transition: transform 0.3s var(--ease);
}

.hero-green-pill:hover {
  background: rgba(200, 169, 126, 0.22);
  border-color: rgba(200, 169, 126, 0.85);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-green-pill:hover svg {
  transform: translateX(3px);
}

.advisor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72e398;
  box-shadow: 0 0 8px #72e398;
}

.btn-pill-primary:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.btn-pill-primary svg {
  transition: transform 0.3s var(--ease);
}

.btn-pill-primary:hover svg {
  transform: translateX(4px);
}

.btn-pill-glass {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: rgba(19, 19, 18, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.btn-pill-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* Badge de Ubicación en la Esquina Inferior Derecha */
.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(19, 19, 18, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.hero-location-pill svg {
  color: var(--brass);
}

/* ==============================================================================
   3. SECCIONES GENERALES & ENCABEZADOS EDITORIALES
   ============================================================================== */
.section-bounds {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sc-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
  margin-bottom: 8vh;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(19, 19, 18, .16);
}

.sc-head .meta {
  grid-column: 1 / 4;
  color: var(--bronze);
}

.sc-head h2 {
  grid-column: 4 / 11;
  font: 300 clamp(34px, 4.8vw, 76px)/.98 var(--serif);
  letter-spacing: -.02em;
  color: var(--graphite);
}

.sc-head h2 em {
  font-style: italic;
  color: var(--bronze);
}

.sc-head .count {
  grid-column: 11 / 13;
  justify-self: end;
  font: 300 26px var(--serif);
  color: var(--concrete);
}

/* ==============================================================================
   4. CATÁLOGO DE APARTAMENTOS (CARDS CON ENLACE DIRECTO A PDP)
   ============================================================================== */
.apartments-catalog-section {
  padding: 8vh 0 14vh;
}

.typologies-catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 32px;
  row-gap: 8vh;
}

.product-card {
  grid-column: span 6;
  background: #ffffff;
  border: 1px solid rgba(19, 19, 18, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.product-card-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(19, 19, 18, 0.08);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--graphite);
  color: var(--travertine);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .12em;
}

.product-badge.highlight {
  background: var(--terracotta);
  color: #ffffff;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(19, 19, 18, 0.1);
}

.product-card-title {
  font: 400 26px/1.1 var(--serif);
  color: var(--graphite);
}

.product-card-area {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--brass);
}

.product-card-specs {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 13.5px;
  color: var(--concrete);
}

.product-card-specs li {
  position: relative;
  padding-left: 14px;
}

.product-card-specs li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 19, 18, 0.08);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price-lbl {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--concrete);
  text-transform: uppercase;
}

.product-price-val {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--graphite);
  line-height: 1.1;
}

.btn-view-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--graphite);
  color: var(--warm);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.product-card:hover .btn-view-product {
  background: var(--terracotta);
  color: #ffffff;
}

/* ==============================================================================
   5. PÁGINA DE DETALLE DE APARTAMENTO (PRODUCT DETAIL PAGE - PDP)
   ============================================================================== */
.pdp-page-wrapper {
  padding: 4vh 0 12vh;
}

.pdp-breadcrumbs {
  margin-bottom: 3vh;
  font-size: 11.5px;
  color: var(--concrete);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp-breadcrumbs a {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-layout-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;
}

/* Columna Izquierda PDP: Galería de Planos y Renders */
.pdp-gallery-card {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 18, 0.12);
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
}

.pdp-main-viewer {
  width: 100%;
  aspect-ratio: 16/10;
  background: #fdfdfc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19, 19, 18, 0.08);
}

.pdp-main-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s var(--ease);
}

.pdp-thumbnails-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.pdp-thumb-btn {
  flex: 0 0 90px;
  height: 65px;
  border-radius: 8px;
  border: 1px solid rgba(19, 19, 18, 0.15);
  overflow: hidden;
  background: #ffffff;
  padding: 4px;
  transition: all 0.25s var(--ease);
}

.pdp-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-thumb-btn.active {
  border: 2px solid var(--graphite);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Columna Derecha PDP: Especificaciones y Desglose Financiero */
.pdp-info-card {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 18, 0.12);
  border-radius: 20px;
  padding: 36px;
}

.pdp-header-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--sand-light);
  color: var(--bronze);
  margin-bottom: 12px;
}

.pdp-title {
  font: 300 clamp(32px, 3.5vw, 44px)/1.08 var(--serif);
  color: var(--graphite);
  margin-bottom: 6px;
}

.pdp-subtitle {
  font-size: 14.5px;
  color: var(--concrete);
  margin-bottom: 20px;
}

.pdp-price-hero {
  padding: 16px 0;
  border-top: 1px solid rgba(19, 19, 18, 0.1);
  border-bottom: 1px solid rgba(19, 19, 18, 0.1);
  margin-bottom: 24px;
}

.pdp-price-amount {
  font: 300 40px/1 var(--serif);
  color: var(--graphite);
}

.pdp-separation-tag {
  font-size: 12px;
  color: var(--terracotta-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Desglose Financiero 20 Meses en PDP */
.pdp-fintech-box {
  background: var(--warm);
  border: 1px solid rgba(19, 19, 18, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}

.pdp-fintech-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

.pdp-fintech-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(19, 19, 18, 0.06);
}

.pdp-fintech-row.highlight {
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  border: 1px solid rgba(180, 83, 60, 0.25);
}

.pdp-monthly-val {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--terracotta-dark);
  font-weight: 600;
}

/* Botones de Acción en PDP */
.pdp-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-pdp-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--graphite);
  color: #ffffff;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.btn-pdp-reserve:hover {
  background: var(--terracotta);
}

.btn-pdp-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--graphite);
  border: 1px solid rgba(19, 19, 18, 0.3);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.btn-pdp-secondary:hover {
  border-color: var(--graphite);
  background: rgba(19, 19, 18, 0.05);
}

/* Acordeón de Acabados & Especificaciones Técnicas */
.pdp-details-tabs-section {
  margin-top: 6vh;
  background: #ffffff;
  border: 1px solid rgba(19, 19, 18, 0.12);
  border-radius: 20px;
  padding: 36px;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.spec-cell dt {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 4px;
}

.spec-cell dd {
  font-size: 15px;
  color: var(--graphite);
  font-weight: 500;
}

/* ==============================================================================
   6. FOOTER EDITORIAL (COLOPHÓN DE AUTOR)
   ============================================================================== */
.footer-editorial {
  padding: 10vh var(--pad) 5vh;
  background: var(--graphite);
  color: var(--concrete);
  border-top: 1px solid rgba(230, 223, 209, .14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 8vh;
  border-bottom: 1px solid rgba(230, 223, 209, .12);
}

.footer-brand {
  font: 400 24px/1 var(--serif);
  letter-spacing: .28em;
  color: var(--travertine);
  text-transform: uppercase;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-col ul li a {
  color: var(--travertine);
  transition: color var(--t-micro) var(--ease);
}

.footer-col ul li a:hover {
  color: var(--brass);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4vh;
  font-size: 12px;
}

/* ==============================================================================
   7. BOTÓN FLOTANTE PERMANENTE DE WHATSAPP (PEQUEÑO, DISCRETO Y ELEGANTE)
   ============================================================================== */
.floating-wa {
  position: fixed;
  bottom: clamp(24px, 3.8vh, 36px);
  right: clamp(24px, 3.5vw, 48px);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 20, 19, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(248, 246, 240, 0.9);
  border: 1px solid rgba(200, 169, 126, 0.42);
  padding: 8px 15px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'Inter', var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: all 0.3s var(--ease);
}

.floating-wa:hover {
  background: rgba(200, 169, 126, 0.24);
  color: #ffffff;
  border-color: rgba(200, 169, 126, 0.82);
  transform: translateY(-1px);
}

.floating-wa svg {
  width: 13.5px;
  height: 13.5px;
  fill: currentColor;
  opacity: 0.92;
}

.floating-wa.is-hidden-in-hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

/* ==============================================================================
   8. RESPONSIVE DESIGN (MÓVIL Y TABLET)
   ============================================================================== */
@media (max-width: 1024px) {
  .top-nav-bar, .crescent-nav-bar { padding: 18px 24px; }
  .nav-links-menu, .crescent-links-menu { display: none; }
  .hero-sky-monumental { top: 26%; }
  .hero-sky-title { font-size: clamp(1.95rem, 5.6vw, 4rem); letter-spacing: 0.075em; padding-left: 0.075em; }
  .hero-green-left-editorial {
    left: 24px;
    bottom: 32px;
    max-width: 480px;
  }
  .hero-forma-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-location-pill { margin-top: 10px; }
  .typologies-catalog-grid { grid-template-columns: 1fr; }
  .product-card { grid-column: span 12; }
  .pdp-layout-grid { grid-template-columns: 1fr; }
  .pdp-specs-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .crescent-nav-bar {
    padding: 14px 16px;
    gap: 10px;
  }
  .crescent-brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .crescent-brand-title {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .crescent-brand-subtitle {
    font-size: 8.5px;
    letter-spacing: 0.16em;
  }
  .nav-social-capsule {
    padding: 7px 11px;
    gap: 10px;
  }
  .nav-social-link svg {
    width: 18px;
    height: 18px;
  }
  .hero-sky-monumental {
    top: 27.2%;
    padding: 0 8px;
  }
  .hero-sky-title {
    font-size: clamp(1.35rem, 5.9vw, 2.45rem);
    letter-spacing: 0.065em;
    padding-left: 0.065em;
  }
  .hero-green-left-editorial {
    left: 18px;
    right: 18px;
    bottom: 82px;
    max-width: 100%;
  }
  .hero-crescent-content {
    padding: 0 20px 48px;
  }
  .hero-crescent-headline {
    font-size: clamp(34px, 9vw, 50px);
    margin-bottom: 16px;
  }
  .hero-crescent-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-crescent-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 30px;
  }
  .btn-crescent-gold, .btn-crescent-glass {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 24px;
  }
  .hero-crescent-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .crescent-stat-sep {
    display: none;
  }

  .top-nav-bar { padding: 14px 18px; }
  .nav-brand-title { font-size: 15px; letter-spacing: 0.16em; }
  .nav-brand-subtitle { font-size: 9.5px; }
  .nav-cta-btn { padding: 8px 14px; font-size: 10.5px; }

  .hero-forma-wrapper { padding: 0 12px; }
  .hero-forma-container { 
    min-height: auto; 
    border-radius: 22px; 
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hero-sky-masthead {
    top: 24px;
  }
  .hero-sky-word { 
    font-size: clamp(42px, 13vw, 76px); 
    letter-spacing: 0.05em; 
  }
  .hero-script-tag {
    display: none;
  }
  .hero-forma-bottom { 
    padding: 24px 18px; 
    margin-top: 20px;
  }
  .hero-forma-title {
    font-size: clamp(26px, 7vw, 36px);
  }
  .hero-metrics-row { 
    flex-direction: column; 
    gap: 12px; 
    padding-top: 12px;
    margin-bottom: 22px;
  }
  .metric-block:not(:last-child) { 
    border-right: none; 
    border-bottom: 1px solid rgba(255,255,255,0.15); 
    padding-right: 0;
    padding-bottom: 10px; 
  }
  .hero-pill-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-pill-primary, .btn-pill-glass {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .product-card-specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* ==============================================================================
   BANNER DE COOKIES ULTRA-LUJO (ESTILOS GLOBALES CORE)
   ============================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  background: rgba(18, 17, 16, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F6F4EF;
  border: 1px solid rgba(197, 160, 114, 0.45);
  border-radius: 16px;
  padding: 22px 26px;
  z-index: 9999999 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cookie-banner-title {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c5a072;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.88);
  margin: 0;
}

.cookie-banner a {
  color: #c5a072;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner a:hover {
  color: #e5c59b;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.cookie-accept {
  background: #c5a072 !important;
  color: #121110 !important;
  box-shadow: 0 4px 14px rgba(197, 160, 114, 0.35);
}

.cookie-accept:hover {
  background: #deb686 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197, 160, 114, 0.5);
}

.cookie-reject {
  background: transparent !important;
  color: rgba(246, 244, 239, 0.7) !important;
  border: 1px solid rgba(246, 244, 239, 0.25) !important;
}

.cookie-reject:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 74px;
    padding: 18px 20px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ==============================================================================
   BOTÓN VOLVER ARRIBA ACCESIBLE (ESTILOS GLOBALES CORE)
   ============================================================================== */
#backToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 17, 16, 0.92);
  border: 1px solid rgba(197, 160, 114, 0.4);
  color: #c5a072;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#backToTopBtn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTopBtn:hover {
  background: #c5a072;
  color: #121110;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(197, 160, 114, 0.4);
}

/* ==============================================================================
   BARRA STICKY INFERIOR EN MÓVILES (<768px)
   ============================================================================== */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: rgba(18, 17, 16, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(197, 160, 114, 0.35);
    z-index: 99998;
    padding: 8px 12px;
    gap: 10px;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.3);
  }
  .m-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0 12px;
    transition: transform 0.2s ease;
  }
  .m-cta-wa {
    background: #1e7046;
    color: #ffffff !important;
  }
  .m-cta-quote {
    background: #c5a072;
    color: #121110 !important;
  }
  .floating-wa {
    bottom: 70px !important;
  }
}

/* ==============================================================================
   MENÚ HAMBURGUESA Y DRAWER MÓVIL EDITORIAL (PREMIUM)
   ============================================================================== */
.mobile-sticky-cta {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Botón hamburguesa (oculto en desktop) */
.luxury-hamburger {
  display: none;
}

/* Drawer móvil */
.luxury-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.35s ease, opacity 0.35s ease;
}

.luxury-mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.luxury-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.luxury-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #141312;
  border-left: 1px solid rgba(200, 169, 126, 0.28);
  display: flex;
  flex-direction: column;
  padding: 24px 22px 30px;
  overflow-y: auto;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-mobile-drawer.is-open .luxury-drawer-panel {
  transform: translateX(0);
}

.luxury-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(200, 169, 126, 0.18);
  margin-bottom: 22px;
}

.luxury-drawer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.luxury-drawer-brand .brand-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f5f5f0;
}

.luxury-drawer-brand .brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #c8a97e;
  text-transform: uppercase;
}

.luxury-drawer-close {
  background: rgba(200, 169, 126, 0.1);
  border: 1px solid rgba(200, 169, 126, 0.3);
  color: #f5f5f0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.luxury-drawer-close:hover {
  background: rgba(200, 169, 126, 0.25);
  color: #ffffff;
}

.luxury-drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.luxury-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: rgba(245, 245, 240, 0.88);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}

.luxury-drawer-nav a span {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: #c8a97e;
  letter-spacing: 0.1em;
}

.luxury-drawer-nav a:hover,
.luxury-drawer-nav a.active {
  background: rgba(200, 169, 126, 0.15);
  color: #ffffff;
  border-left: 2px solid #c8a97e;
  padding-left: 18px;
}

.luxury-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 169, 126, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.luxury-drawer-footer .drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.luxury-drawer-footer .drawer-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.luxury-drawer-footer .drawer-social-icons a {
  color: rgba(245, 245, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 126, 0.2);
  transition: all 0.2s ease;
}

.luxury-drawer-footer .drawer-social-icons a:hover {
  color: #c8a97e;
  border-color: #c8a97e;
}

/* ==============================================================================
   REGLAS MÓVIL Y TABLET EXACTAS (≤ 992px)
   ============================================================================== */
@media (max-width: 992px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  /* Eliminar barra inferior pegajosa */
  .mobile-sticky-cta {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Globito WhatsApp flotante siempre visible */
  .floating-wa {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    bottom: 22px !important;
    right: 20px !important;
    z-index: 99999 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
  }
  .floating-wa svg {
    fill: #ffffff !important;
    width: 18px !important;
    height: 18px !important;
  }
  .floating-wa span {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  /* Ocultar redes sociales y enlaces de escritorio en el navbar */
  .nav-social-capsule,
  .top-nav-bar .nav-social-capsule,
  .crescent-nav-bar .nav-social-capsule,
  .lx-sticky .nav-social-capsule,
  .nav-links-menu,
  .crescent-links-menu,
  .lx-sticky nav,
  .top-nav-bar nav,
  .crescent-nav-bar nav {
    display: none !important;
  }

  /* En index.html, mantener únicamente crescent-nav-bar fijo arriba al hacer scroll */
  .lx-sticky,
  .lx-sticky.is-visible {
    display: none !important;
  }

  /* Barra superior fija al hacer scroll en index.html */
  .crescent-nav-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9500 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
    gap: 8px !important;
    background: rgba(18, 17, 16, 0.86) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(200, 169, 126, 0.25) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }

  /* Barra superior fija al hacer scroll en Etapa 1, Etapa 2, Entorno, Financiación, Contacto y subpáginas */
  header.top-nav-bar,
  .top-nav-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9500 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 12px 18px !important;
    gap: 8px !important;
    background: rgba(251, 249, 245, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(180, 150, 105, 0.28) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  }

  body.page-editorial,
  body:has(.top-nav-bar) {
    padding-top: 64px !important;
  }

  /* Marca (Logo + texto) a la izquierda */
  .crescent-brand-group,
  .nav-brand,
  .nav-brand-group,
  .lx-sticky-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: calc(100% - 48px) !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .nav-brand-group {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .nav-brand-group:not(:has(img)) {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .nav-brand-group img {
    height: 32px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }
  body.page-editorial article ul li {
    flex-wrap: wrap !important;
    gap: 4px 12px !important;
  }

  .crescent-brand-text,
  .nav-brand-text,
  .lx-sticky-brand-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .crescent-brand-title,
  .lx-sticky-brand-title {
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #f5f5f0 !important;
  }

  .top-nav-bar .nav-brand-title {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #161513 !important;
  }

  .crescent-brand-subtitle,
  .lx-sticky-brand-sub {
    font-size: 8.5px !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #c8a97e !important;
  }

  .top-nav-bar .nav-brand-subtitle {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #6B665E !important;
  }

  .crescent-brand-logo-img,
  .lx-sticky-brand img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    flex-shrink: 0 !important;
  }

  /* Botón Hamburguesa a la derecha */
  .luxury-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    flex-shrink: 0 !important;
    background: rgba(18, 17, 16, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(200, 169, 126, 0.75) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    z-index: 1010 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
  }

  .luxury-hamburger .ham-line {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #c8a97e !important;
    border-radius: 2px !important;
  }

  /* ============================================================================
     OPTIMIZACIÓN DE TIPOGRAFÍA, MÁRGENES Y GRILLAS EN MÓVIL (TODAS LAS PÁGINAS)
     ============================================================================ */
  .section-bounds {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .pdp-page-wrapper {
    padding-top: 24px !important;
    padding-bottom: 56px !important;
  }

  /* Encabezados .sc-head (Contacto, Apartamentos, etc.) sin superposición */
  .sc-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 28px !important;
    padding-bottom: 18px !important;
  }
  .sc-head.sc-head-centered {
    align-items: center !important;
    text-align: center !important;
  }
  .sc-head .meta,
  .sc-head h2,
  .sc-head .count {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: start !important;
  }
  .sc-head h2 {
    font-size: clamp(26px, 6.8vw, 36px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.01em !important;
    margin: 2px 0 !important;
  }
  .sc-head .count {
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    color: var(--ed-bronze, #A88B58) !important;
  }

  /* Contacto: Colapso limpio a 1 sola columna amplia */
  .contact-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin-bottom: 48px !important;
  }
  .contact-col-info,
  .contact-col-form {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    gap: 24px !important;
  }
  .contact-card,
  .contact-dark-card,
  .contact-map-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .contact-card h3 {
    font-size: clamp(20px, 5.4vw, 25px) !important;
    line-height: 1.24 !important;
    overflow-wrap: break-word !important;
  }
  #contactLeadForm {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  #contactLeadForm > div {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  /* Títulos y textos editoriales (Etapa 1, Etapa 2, Entorno, Financiación) */
  .ed-title-xl {
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
  }
  .ed-title-lg {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.22 !important;
  }
  .ed-title-md {
    font-size: clamp(19px, 5vw, 24px) !important;
    line-height: 1.28 !important;
  }
  .ed-masthead-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .ed-tech-row {
    flex-wrap: wrap !important;
    gap: 4px 12px !important;
    padding: 11px 0 !important;
  }
  .ed-tech-val {
    font-size: 14px !important;
    text-align: right !important;
  }
  .ed-atelier-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .ed-figure-caption {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    line-height: 1.45 !important;
  }
  .ed-parking-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 18px !important;
  }
  .ed-cinema-header {
    padding: 18px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .ed-cinema-grid-meta {
    padding: 20px !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .ed-dark-manifesto {
    padding: 36px 22px !important;
    margin: 40px 0 !important;
  }
  .ed-patrimonial-card {
    padding: 26px 20px !important;
  }
  .ed-pillar-item {
    grid-template-columns: 36px 1fr !important;
    gap: 14px !important;
    padding: 18px 0 !important;
  }

  /* Footer con márgenes amplios y respirables en todas las páginas */
  .footer-editorial {
    padding: 56px 24px 40px !important;
    box-sizing: border-box !important;
  }
  .footer-editorial .footer-wrap {
    padding: 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-bottom: 36px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 14px !important;
  }
}


/* ============================================================================
   OPTIMIZACIONES DEFINITIVAS MOBILE & DESKTOP (VALLES DE CORINTO)
   ============================================================================ */

/* Barra superior fija permanente */
.top-nav-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  z-index: 9500 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(180, 150, 105, 0.22) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

/* Compensar altura del header fijo en las páginas editoriales */
body.page-editorial,
.page-editorial .pdp-page-wrapper,
.pdp-page-wrapper {
  padding-top: 76px !important;
}

/* Grid de Contacto base (Desktop) */
.contact-main-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  margin-bottom: 80px;
}

.contact-col-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-col-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-half {
  grid-column: span 1;
}

.form-group-full {
  grid-column: span 2;
}

/* Responsivo Mobile (< 992px) */
@media (max-width: 992px) {
  /* Encabezados editoriales sin superposición */
  .sc-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(19, 19, 18, 0.12) !important;
  }

  .sc-head .meta,
  .sc-head h2,
  .sc-head .count {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: start !important;
    text-align: left !important;
    position: static !important;
    margin: 0 !important;
  }

  .sc-head .meta {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--ed-bronze, #B49669) !important;
    order: 1 !important;
  }

  .sc-head h2 {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.015em !important;
    margin: 4px 0 !important;
    color: #1a1918 !important;
    order: 2 !important;
  }

  .sc-head .count {
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #8c8273 !important;
    order: 3 !important;
  }

  /* Contacto 1 sola columna amplia en móvil */
  .contact-main-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 28px !important;
    margin-bottom: 48px !important;
  }

  .contact-col-info,
  .contact-col-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-card,
  .contact-dark-card,
  .contact-map-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .contact-lead-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .form-group-half,
  .form-group-full {
    width: 100% !important;
    grid-column: auto !important;
    box-sizing: border-box !important;
  }

  .contact-lead-form input,
  .contact-lead-form select,
  .contact-lead-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    padding: 13px 14px !important;
    border-radius: 12px !important;
  }

  /* Footer limpio, sin mayúsculas forzadas, con holgura para el botón de WhatsApp */
  .footer-editorial {
    padding: 48px 24px 110px 24px !important;
    background: #161513 !important;
    color: #e6dfd1 !important;
    box-sizing: border-box !important;
    text-transform: none !important;
  }

  .footer-editorial * {
    text-transform: none !important;
  }

  .footer-editorial .footer-brand {
    font-size: 20px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #f6f4ef !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
  }

  .footer-editorial .footer-col-title,
  .footer-editorial .footer-col h5,
  .footer-editorial h5 {
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    color: #c8a97e !important;
    margin: 20px 0 12px 0 !important;
    display: block !important;
  }

  .footer-editorial ul,
  .footer-editorial .footer-nav-list,
  .footer-editorial .footer-contact-list {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .footer-editorial ul li {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    color: #e6dfd1 !important;
  }

  .footer-editorial ul li a {
    color: #f6f4ef !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 2px 0 !important;
    transition: color 0.2s ease !important;
  }

  .footer-editorial ul li a:hover {
    color: #c8a97e !important;
  }

  .footer-editorial .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    padding-bottom: 28px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .footer-editorial .footer-legal-notice,
  .footer-editorial .footer-bottom {
    padding-top: 20px !important;
    padding-bottom: 12px !important;
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: rgba(246, 244, 239, 0.65) !important;
  }

  .footer-editorial .footer-legal-notice a {
    color: #c8a97e !important;
  }

  /* Botón Flotante WhatsApp */
  .floating-wa,
  #floatingWhatsApp,
  .floating-whatsapp-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 18px !important;
    z-index: 900 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  }
}



/* ============================================================================
   RECORTE LIMPIO DE VIDEOS YOUTUBE (OCULTA BARRA SUPERIOR DE TÍTULO Y CANAL)
   ============================================================================ */
.video-clean-frame {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #000 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

.video-clean-frame video {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

@media (max-width: 768px) {
  .video-clean-frame {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }
  .video-clean-frame video {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

.video-clean-frame iframe {
  position: absolute !important;
  top: -65px !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100% + 65px) !important;
  border: 0 !important;
}

