/* ==========================================================================
   CONSTRUCTORA MIRANDA - ARCHITECTURAL DESIGN SYSTEM 2050
   Engineered with aesthetic-web-design, Aceternity UI & Cyber-Craft Principles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

:root {
  /* Manual Identidad de Marca Miranda Constructora:
     - 60% Azul Profundo: #0A2542 (Títulos, Navbar, Resumen, Acentos de Estructura)
     - 20% Dorado / Naranja: #D68120 (Botones de acción, acentos activos, badges)
     - 15% Gris Claro: #F5F6F8 (Fondos de sección, tarjetas secundarias)
     - 5% Gris Oscuro: #282F36 (Textos descriptivos, párrafos)
     - Blanco: #FFFFFF (Fondo principal, tarjetas, inputs)
     - Tipografía Oficial: Montserrat
  */
  --brand-blue: #0A2542;
  --brand-blue-deep: #06182B;
  --brand-blue-surface: #0E2F52;
  --brand-orange: #D68120;
  --brand-orange-bright: #E88F2A;
  --brand-orange-hover: #BF6E14;
  --brand-gray-light: #F5F6F8;
  --brand-gray-dark: #282F36;
  --brand-white: #FFFFFF;

  /* Fondos y Estructura: Gris muy claro opaco estilo textura revoque cemento */
  --bg-primary: #F0F2F5;
  --bg-secondary: #E8EBF0;
  --bg-tertiary: #DFE3E8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(240, 242, 245, 0.94);
  
  /* Jerarquía de Texto */
  --text-main: #0A2542;
  --text-muted: #282F36;
  --text-faint: #64748B;
  --text-highlight: #D68120;

  /* Acentos de Marca */
  --cyber-gold: #D68120;
  --cyber-gold-bright: #D68120;
  --cyber-gold-glow: rgba(214, 129, 32, 0.25);
  --neon-cyan: #0A2542;
  --neon-cyan-glow: rgba(10, 37, 66, 0.15);
  --neon-purple: #0A2542;
  --neon-emerald: #D68120;
  
  /* Gradientes Oficiales */
  --gradient-gold: linear-gradient(135deg, #D68120 0%, #E88F2A 100%);
  --gradient-cyber: linear-gradient(135deg, #0A2542 0%, #1A3E63 100%);
  --gradient-holo: linear-gradient(135deg, #0A2542 0%, #D68120 100%);
  --gradient-gold-mesh: radial-gradient(circle at 50% 0%, rgba(214, 129, 32, 0.08) 0%, transparent 70%);

  /* Bordes & Sombras */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-cyber: #0A2542;
  --border-gold: #D68120;
  --glass-blur: blur(14px);

  /* Espaciado & Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Tipografía Oficial: Montserrat */
  --font-display: 'Montserrat', sans-serif;
  --font-tech: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'Montserrat', monospace;

  /* Transiciones */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  /* Textura de revoque fino / cemento estucado hecha en puro CSS (SVG feTurbulence data URI + sutiles gradientes de grano) */
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.15 0 0 0 0 0.18 0 0 0 0 0.22 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 16px 16px, 160px 160px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

p {
  font-weight: 600;
  color: var(--brand-gray-dark);
}

/* Custom Interactive Cursor Glow Orb */
.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 129, 32, 0.08) 0%, rgba(214, 129, 32, 0.05) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 99999;
  filter: blur(40px);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  will-change: transform;
}

/* Interactive Neural Mesh Canvas (Bichitos de construcción de alto contraste) */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75; /* 75% de opacidad (25% de transparencia) */
}

/* Ambient Lighting */
.ambient-glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-60px) scale(1.15); }
}

.ambient-orb-1 {
  width: 650px;
  height: 650px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(214, 129, 32, 0.08) 0%, transparent 70%);
  opacity: 1;
}

.ambient-orb-2 {
  width: 750px;
  height: 750px;
  top: 35%;
  left: -250px;
  background: radial-gradient(circle, rgba(10, 37, 66, 0.05) 0%, transparent 70%);
  opacity: 1;
  animation-duration: 25s;
}

.ambient-orb-3 {
  width: 600px;
  height: 600px;
  bottom: 0;
  right: -150px;
  background: radial-gradient(circle, rgba(214, 129, 32, 0.06) 0%, transparent 70%);
  opacity: 1;
}

/* Cybernetic Dot & Grid Matrix */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(10, 37, 66, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(10, 37, 66, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 37, 66, 0.015) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(214, 129, 32, 0.3);
}

.gradient-text-cyan {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(214, 129, 32, 0.3);
}

/* HUD Telemetry Tag */
.hud-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(214, 129, 32, 0.08);
  border: 1px solid rgba(214, 129, 32, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hud-tag-gold {
  color: var(--cyber-gold-bright);
  background: rgba(214, 129, 32, 0.08);
  border-color: rgba(214, 129, 32, 0.25);
}

/* HUD Corner Brackets (2050 Cyber Aesthetic) */
.hud-card {
  position: relative;
}

.hud-card::before, .hud-card::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 15;
  transition: var(--transition-smooth);
}

.hud-card::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
}

.hud-card::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--cyber-gold);
  border-right: 2px solid var(--cyber-gold);
}

.hud-card:hover::before {
  width: 18px;
  height: 18px;
  border-color: #fff;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.hud-card:hover::after {
  width: 18px;
  height: 18px;
  border-color: #fff;
  box-shadow: 0 0 10px var(--cyber-gold);
}

/* Animated Border Beam (Magic UI Style) */
.border-beam-card {
  position: relative;
  overflow: hidden;
}

.border-beam-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 70%, var(--neon-cyan) 85%, var(--cyber-gold-bright) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBeam {
  to { --beam-angle: 360deg; }
}

.animate-beam::after {
  animation: rotateBeam 6s linear infinite;
}

/* ==========================================================================
   FLOATING SMART DOCK NAVBAR (navbar.gallery standard)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
}

.pill-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1180px;
  padding: 0.65rem 1.6rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 35px rgba(10, 37, 66, 0.08);
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(214, 129, 32, 0.25));
}

.brand-telemetry {
  display: flex;
  flex-direction: column;
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.brand-subcode {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--brand-orange);
  font-weight: 700;
  opacity: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-tech);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-orange);
  text-shadow: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-cyber);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Sound Synthesizer Audio Controller */
.btn-sfx-toggle {
  background: var(--brand-gray-light);
  border: 1px solid var(--border-medium);
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-sfx-toggle:hover {
  background: rgba(214, 129, 32, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-tech);
  text-decoration: none;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(214, 129, 32, 0.35);
  transition: var(--transition-spring);
  border: none;
}

.btn-pill-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(214, 129, 32, 0.8);
  background: linear-gradient(135deg, #FDBA74, #D68120);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ==========================================================================
   HERO 2050 - QUANTUM ARCHITECTURAL PLATFORM
   ========================================================================== */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  text-align: center;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-gray-light);
  border: 1px solid rgba(214, 129, 32, 0.35);
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-tech);
  color: var(--brand-blue);
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(10, 37, 66, 0.05);
  animation: pulseCyber 3s infinite ease-in-out;
}

@keyframes pulseCyber {
  0%, 100% { border-color: rgba(214, 129, 32, 0.25); box-shadow: 0 0 15px rgba(214, 129, 32, 0.1); }
  50% { border-color: var(--neon-cyan); box-shadow: 0 0 30px rgba(214, 129, 32, 0.35); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--brand-blue);
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--brand-blue);
  max-width: 880px;
  margin: 0 auto 2.25rem auto;
  font-weight: 700;
  line-height: 1.65;
}

/* Formulario de Datos Personales en Hero */
.hero-client-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  max-width: 980px;
  margin: 0 auto 3rem auto;
  box-shadow: 0 15px 45px rgba(10, 37, 66, 0.08);
  text-align: left;
}

.hero-client-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-field-group label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.hero-field-group input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: all 0.2s ease;
  outline: none;
}

.hero-field-group input:focus {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: 0 0 14px rgba(214, 129, 32, 0.25);
}

.hero-field-group input.field-error {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
}

/* Barra de Superficie Cubierta Deseada */
.surface-slider-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(10, 37, 66, 0.06);
  text-align: left;
}

@media (max-width: 768px) {
  .hero-client-card {
    padding: 1.5rem 1.25rem;
  }
  .hero-client-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .surface-slider-card {
    padding: 1.5rem 1.25rem;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--font-tech);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(214, 129, 32, 0.35);
  transition: var(--transition-spring);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(214, 129, 32, 0.8);
  background: linear-gradient(135deg, #FDBA74, #D68120);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  color: var(--brand-blue);
  font-weight: 700;
  font-family: var(--font-tech);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--brand-blue);
  box-shadow: 0 4px 15px rgba(10, 37, 66, 0.06);
  transition: var(--transition-smooth);
  cursor: pointer;
}


.social-proof-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.8rem;
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -12px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-stack img:hover {
  transform: scale(1.2);
  z-index: 10;
}

.proof-text {
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.proof-text strong {
  color: #fff;
  display: block;
}

.stars {
  color: #E8952B;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* Hero Showcase Frame with 2050 Hologram Overlay */
.hero-showcase {
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

.showcase-frame {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 37, 66, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: var(--brand-blue);
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #ff3366; box-shadow: 0 0 8px #ff3366; }
.dot-yellow { background-color: #ffb700; box-shadow: 0 0 8px #ffb700; }
.dot-green { background-color: #00f5a0; box-shadow: 0 0 8px #00f5a0; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.window-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyber-gold-bright);
  background: rgba(214, 129, 32, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 129, 32, 0.3);
}

.showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  overflow: hidden;
  background: #000;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Holographic Laser Scanline for 2050 Viewers */
.laser-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-cyan) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-cyan);
  pointer-events: none;
  opacity: 0;
  z-index: 20;
}

.laser-scanline.scanning {
  opacity: 1;
  animation: scanPass 2.8s infinite linear;
}

@keyframes scanPass {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.showcase-overlay-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(16px);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.overlay-left h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.overlay-left p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Stats Telemetry Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.stat-item {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(214, 129, 32, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cyber-gold-bright);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(214, 129, 32, 0.4);
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--brand-blue);
  font-family: var(--font-tech);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE ARCHITECTURAL 3D VIEWER 2050 (Bento Grid)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--cyber-gold-bright);
  background: rgba(214, 129, 32, 0.1);
  border: 1px solid rgba(214, 129, 32, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.section-desc {
  color: var(--brand-blue);
  font-size: 1.12rem;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.style-selector-tabs {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.style-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--brand-blue);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(10, 37, 66, 0.05);
}

.style-tab-btn:hover {
  background: #F8FAFC;
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.style-tab-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(10, 37, 66, 0.25);
}

.style-tab-badge {
  font-size: 0.72rem;
  font-family: var(--font-tech);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--brand-blue);
  font-weight: 700;
}

.style-tab-btn.active .style-tab-badge {
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 800;
}

/* Style Display Container */
.style-display-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.style-image-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.style-image-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-toggle-bar {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.45rem;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(14px);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  z-index: 10;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.825rem;
  font-family: var(--font-tech);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.view-toggle-btn.active {
  background: var(--cyber-gold-bright);
  color: #040508;
  box-shadow: 0 0 15px rgba(214, 129, 32, 0.5);
}

/* Hologram Scanner Button */
.btn-hologram-scan {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-hologram-scan:hover {
  background: rgba(214, 129, 32, 0.15);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

/* Interactive Hotspot Pins on Floor Plan */
.hotspot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
  z-index: 15;
}

.hotspot-layer.active {
  display: block;
}

.hotspot-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.pin-core {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon-cyan);
  border: 3px solid #000;
  box-shadow: 0 0 15px var(--neon-cyan);
  animation: pulsePin 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 900;
  color: #000;
}

@keyframes pulsePin {
  0% { transform: scale(1); box-shadow: 0 0 10px var(--neon-cyan); }
  50% { transform: scale(1.25); box-shadow: 0 0 25px var(--neon-cyan); }
  100% { transform: scale(1); box-shadow: 0 0 10px var(--neon-cyan); }
}

.pin-tooltip {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(8, 11, 18, 0.95);
  border: 1px solid var(--neon-cyan);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

.hotspot-pin:hover .pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.style-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.style-header-info h3 {
  font-size: 2.1rem;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.style-concept-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyber-gold-bright);
  margin-bottom: 1.25rem;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.style-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.features-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-chip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--brand-gray-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: var(--transition-smooth);
}

.feature-chip-item:hover {
  background: rgba(214, 129, 32, 0.04);
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
}

.chip-icon {
  font-size: 1.3rem;
  color: var(--cyber-gold-bright);
}

.chip-content strong {
  display: block;
  font-size: 0.88rem;
  font-family: var(--font-tech);
  color: var(--brand-blue);
  font-weight: 700;
}

.chip-content span {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.style-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.style-price-tag {
  font-size: 0.825rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.style-price-tag strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-blue);
  display: block;
  font-weight: 800;
}

/* ==========================================================================
   INTERACTIVE ROADMAP 2050 (PRE-OBRA & OBRA CYBER-FLOW)
   ========================================================================== */
.roadmap-section {
  padding: 5.5rem 0;
  position: relative;
}

.stages-switch-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.stages-pill-toggle {
  display: flex;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.45rem;
  box-shadow: 0 10px 30px rgba(10, 37, 66, 0.08);
}

.stage-toggle-btn {
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--font-tech);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-spring);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-toggle-btn:hover {
  color: var(--brand-orange);
}

.stage-toggle-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(214, 129, 32, 0.35);
}

.stage-toggle-btn.active span {
  color: #FFFFFF !important;
}

.stage-toggle-btn:not(.active) span {
  color: var(--brand-orange) !important;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.roadmap-step-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.65rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.roadmap-step-card:hover, .roadmap-step-card.active {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(214, 129, 32, 0.25);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-badge-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(214, 129, 32, 0.1);
  border: 1px solid rgba(214, 129, 32, 0.3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(214, 129, 32, 0.2);
}

.step-icon {
  font-size: 1.85rem;
}

.roadmap-step-card h4 {
  font-size: 1.22rem;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-family: var(--font-tech);
  font-weight: 800;
}

.roadmap-step-card p {
  font-size: 0.95rem;
  color: var(--brand-gray-dark);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-checklist {
  list-style: none;
  font-size: 0.88rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.step-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-checklist li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon-emerald);
  font-weight: 900;
}

.btn-select-all-stage {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-tech);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(10, 37, 66, 0.05);
}

.btn-select-all-stage:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: #F8FAFC;
}

.custom-checkbox-all {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  background: #FFFFFF;
}

.btn-select-all-stage.all-checked .custom-checkbox-all {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}

.btn-select-all-stage.all-checked .custom-checkbox-all::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
}

.step-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  margin-top: 1rem;
}

.step-checkbox-indicator {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-medium);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: var(--transition-smooth);
}

.step-checkbox-label {
  font-size: 0.85rem;
  font-family: var(--font-tech);
  font-weight: 700;
  color: var(--brand-blue);
}

.roadmap-step-card.selected-step {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(214, 129, 32, 0.15);
}

.roadmap-step-card.selected-step .step-checkbox-wrap {
  background: rgba(214, 129, 32, 0.12);
  border-color: var(--brand-orange);
}

.roadmap-step-card.selected-step .step-checkbox-indicator {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
}

.step-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--cyber-gold-bright);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

/* ==========================================================================
   TECHNICAL BLUEPRINT & RENDER VIEWER (PDF Legajos Guernica & Luciano)
   ========================================================================== */
.blueprints-section {
  padding: 5.5rem 0;
  position: relative;
}

.blueprints-viewer-box {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(10, 37, 66, 0.08);
}

.blueprints-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.8rem;
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.plan-picker-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.plan-select-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-family: var(--font-tech);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.plan-select-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.plan-select-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 4px 15px rgba(214, 129, 32, 0.4);
}

.blueprints-content-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  min-height: 560px;
}

.blueprint-preview-area {
  position: relative;
  background: #E8ECEF;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
  user-select: none;
}

.blueprint-detector-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 10;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detector-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-blue);
}

.detector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px rgba(214, 129, 32, 0.4);
}

.detector-dot.scanning {
  background: var(--brand-orange);
  box-shadow: 0 0 10px rgba(214, 129, 32, 0.5);
  animation: pulseDot 0.8s infinite;
}

.detector-coords {
  color: var(--brand-orange);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-family: var(--font-tech);
  font-weight: 700;
}

.blueprint-toolbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--brand-gray-light);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  z-index: 10;
  flex-wrap: wrap;
}

.tool-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--brand-blue);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.tool-btn:hover {
  background: rgba(214, 129, 32, 0.1);
  border-color: var(--neon-cyan);
  color: #fff;
}

.tool-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 4px 15px rgba(214, 129, 32, 0.35);
}

.canvas-scroll-wrapper {
  position: relative;
  flex: 1;
  min-height: 480px;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  background-image: 
    linear-gradient(rgba(214, 129, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 129, 32, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.canvas-scroll-wrapper:active {
  cursor: grabbing;
}

#blueprint-canvas {
  max-width: none;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transition: filter 0.3s ease;
  transform-origin: center center;
}

#blueprint-canvas.cyber-mode {
  filter: invert(0.92) hue-rotate(180deg) contrast(1.25) brightness(0.95);
}

.loading-spinner-cad {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 25;
  transition: opacity 0.3s ease;
}

.pulse-cad-ring {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(214, 129, 32, 0.2);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spinRing 1s infinite linear;
}

.cad-hint-overlay {
  padding: 0.5rem 1rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blueprint-info-sidebar {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blueprint-spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 1.75rem;
}

.spec-entry {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
  font-family: var(--font-tech);
}

/* ==========================================================================
   MATERIALS & BRANDS MARQUEE (CATALOGO 17-10-2026)
   ========================================================================== */
.brands-marquee-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  background: #F8FAFC;
  overflow: hidden;
  position: relative;
}

.marquee-heading {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  margin-bottom: 2rem;
  font-family: var(--font-tech);
  font-weight: 700;
}

.marquee-track {
  display: flex;
  width: calc(260px * 16);
  animation: marqueeScroll 35s linear infinite;
  gap: 3.5rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-260px * 8)); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-family: var(--font-tech);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--brand-orange);
}

/* ==========================================================================
   INTERACTIVE QUANTUM CONFIGURATOR 2050
   ========================================================================== */
.configurator-section {
  padding: 6rem 0;
}

.configurator-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(214, 129, 32, 0.15);
}

.config-col-left h3 {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.config-col-left > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.25rem;
}

.slider-group {
  margin-bottom: 2.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slider-value-badge {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyber-gold-bright);
  background: rgba(214, 129, 32, 0.12);
  border: 1px solid rgba(214, 129, 32, 0.4);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px rgba(214, 129, 32, 0.25);
}

.custom-range-slider {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyber-gold-bright);
  border: 3px solid #000;
  box-shadow: 0 0 20px var(--cyber-gold-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.amenities-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.amenity-toggle-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.amenity-toggle-card:hover {
  background: rgba(214, 129, 32, 0.04);
  border-color: var(--border-medium);
}

.amenity-toggle-card.selected {
  background: rgba(214, 129, 32, 0.12);
  border-color: var(--cyber-gold-bright);
  box-shadow: 0 0 20px rgba(214, 129, 32, 0.25);
}

.amenity-info strong {
  display: block;
  font-size: 0.925rem;
  font-family: var(--font-tech);
  color: var(--brand-blue);
  font-weight: 700;
}

.amenity-info span {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
}

.custom-switch {
  width: 44px;
  height: 24px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-smooth);
}

.custom-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: var(--transition-smooth);
}

.amenity-toggle-card.selected .custom-switch {
  background: var(--cyber-gold-bright);
}

.amenity-toggle-card.selected .custom-switch::after {
  transform: translateX(20px);
  background: #000;
}

/* Summary Column Right */
.config-col-right {
  background: var(--brand-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(10, 37, 66, 0.2);
}

.summary-heading {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-tech);
  font-weight: 800;
}

.summary-metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #CBD5E1;
}

.summary-metric-row strong {
  color: #FFFFFF;
  font-family: var(--font-tech);
  font-weight: 700;
}

.summary-grand-total {
  background: rgba(214, 129, 32, 0.15);
  border: 1px solid var(--brand-orange);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
  text-align: center;
}

.grand-total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #FDBA74;
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.grand-total-val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFFFFF;
  display: block;
}

.btn-whatsapp-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25d366;
  color: #040508;
  font-weight: 800;
  font-family: var(--font-tech);
  text-decoration: none;
  padding: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.btn-whatsapp-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7);
  background: #22c55e;
}

/* ==========================================================================
   RADIANT CTA BILLBOARD 2050
   ========================================================================== */
.cta-billboard-section {
  padding: 5.5rem 0;
}

.radiant-cta-card {
  position: relative;
  background: var(--brand-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(10, 37, 66, 0.2);
}

.cta-glow-element {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: var(--brand-orange);
  filter: blur(140px);
  opacity: 0.25;
  pointer-events: none;
}

.radiant-cta-card h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  line-height: 1.15;
}

.radiant-cta-card p {
  font-size: 1.2rem;
  color: #E2E8F0;
  max-width: 700px;
  margin: 0 auto 2.75rem auto;
}

.risk-reversal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-tech);
}

.reversal-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   CORPORATE FOOTER (Identidad de Marca Miranda)
   ========================================================================== */
.corporate-footer {
  background: var(--brand-blue);
  color: #FFFFFF;
  padding-top: 4.5rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 4rem;
  flex-wrap: wrap;
}

.footer-brand-block {
  flex: 1;
  min-width: 250px;
}

.footer-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-info-col {
  flex: 1;
  min-width: 200px;
}

.footer-col-title {
  color: var(--brand-orange);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
  font-size: 0.925rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   STRUCTURED LUXURY FOOTER
   ========================================================================== */
.footer-main {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin: 1.25rem 0;
  max-width: 340px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--neon-emerald);
  font-family: var(--font-mono);
  font-weight: 600;
}

.pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.footer-nav-col h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 0.85rem;
}

.footer-nav-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-family: var(--font-tech);
  transition: var(--transition-smooth);
}

.footer-nav-col ul li a:hover {
  color: var(--neon-cyan);
  transform: translateX(4px);
  display: inline-block;
}

.newsletter-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(214, 129, 32, 0.2);
}

.newsletter-btn {
  background: var(--cyber-gold-bright);
  border: none;
  color: #040508;
  font-weight: 800;
  padding: 0 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   MODAL WINDOW 2050
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.9);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 90px rgba(10, 37, 66, 0.25);
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: #F8FAFC;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  font-weight: 700;
}

.modal-close-btn:hover {
  color: var(--brand-orange);
}

.modal-body {
  padding: 2.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.modal-body ul li {
  color: var(--text-muted) !important;
}

.modal-body strong {
  color: var(--brand-blue);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (ALL DEVICES - MOBILE, TABLET & DESKTOP)
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .style-display-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .blueprints-content-layout {
    grid-template-columns: 1fr;
  }

  .blueprint-preview-area {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .canvas-scroll-wrapper {
    min-height: 420px;
    max-height: 480px;
  }

  .configurator-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }

  .footer-content-wrap {
    gap: 2rem;
  }
}

/* Mobile Devices & Phablets (max-width: 768px) */
@media (max-width: 768px) {
  .header-wrapper {
    top: 0.75rem;
    padding: 0 0.85rem;
  }

  .pill-navbar {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-lg);
  }

  .brand-subcode {
    display: none;
  }

  .brand-tag {
    font-size: 0.8rem;
  }

  .btn-sfx-toggle {
    display: none;
  }

  .btn-pill-cta {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Mobile Dropdown Menu State */
  .nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0.85rem;
    right: 0.85rem;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-medium);
    box-shadow: 0 15px 45px rgba(10, 37, 66, 0.18);
    gap: 1.25rem;
    z-index: 1000;
  }

  .nav-menu.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F1F5F9;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .announcement-badge {
    padding: 0.35rem 0.95rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Stage Selector */
  .stages-pill-toggle {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 0.35rem;
  }

  .stage-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.925rem;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  /* 3D Showcase Window */
  .hero-showcase {
    margin-top: 1.5rem;
  }

  .showcase-overlay-hud {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  /* Blueprints & CAD Viewer */
  .blueprints-nav-bar {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .plan-picker-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .plan-select-btn {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }

  .blueprint-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.75rem;
  }

  .canvas-scroll-wrapper {
    min-height: 320px;
    max-height: 380px;
  }

  .blueprint-info-sidebar {
    padding: 1.5rem;
  }

  /* Cotizador Interactivo */
  .configurator-box {
    padding: 1.5rem;
  }

  .config-col-left h3 {
    font-size: 1.5rem;
  }

  .amenities-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .config-col-right {
    padding: 1.5rem;
  }

  .grand-total-val {
    font-size: 2rem;
  }

  /* Radiant Billboard */
  .radiant-cta-card {
    padding: 3rem 1.25rem;
  }

  .radiant-cta-card h2 {
    font-size: 2rem;
  }

  .risk-reversal-row {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
  }

  /* Footer */
  .footer-content-wrap {
    flex-direction: column;
    gap: 2.25rem;
  }

  .cursor-glow {
    display: none;
  }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .brand-logo-img {
    height: 32px;
    width: 32px;
  }

  .btn-pill-cta span {
    display: none;
  }

  .btn-pill-cta {
    padding: 0.45rem 0.65rem;
  }
}

/* ==========================================================================
   ENCUESTA ARQUITECTÓNICA DE AUTOR - SELECCIÓN INTERACTIVA CON RENDERS
   ========================================================================== */
.survey-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.survey-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(10, 37, 66, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.survey-category-card:hover {
  border-color: rgba(10, 37, 66, 0.15);
  box-shadow: 0 16px 40px rgba(10, 37, 66, 0.07);
}

.survey-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.survey-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  background: rgba(214, 129, 32, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.survey-cat-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  margin: 0;
}

.survey-question-block {
  margin-bottom: 2.5rem;
}

.survey-question-block:last-child {
  margin-bottom: 0;
}

.survey-question-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
}

.survey-question-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange);
  flex-shrink: 0;
}

.survey-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.survey-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.survey-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Option Card */
.survey-opt-card {
  position: relative;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.survey-opt-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: 0 12px 28px rgba(10, 37, 66, 0.1);
}

.survey-opt-card.selected {
  border-color: var(--brand-orange);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(214, 129, 32, 0.16);
}

.survey-opt-card.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-bright));
  z-index: 5;
}

.survey-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.survey-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.survey-opt-card:hover .survey-img-box img {
  transform: scale(1.06);
}

.survey-check-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: transparent;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 4;
}

.survey-opt-card.selected .survey-check-badge {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(214, 129, 32, 0.5);
  transform: scale(1.08);
}

.survey-opt-content {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.survey-opt-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.survey-opt-card.selected .survey-opt-title {
  color: var(--brand-blue);
}

.survey-opt-desc {
  font-size: 0.88rem;
  color: #1E293B;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

/* Numeric Selector Card layout */
.survey-num-card {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.survey-num-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(10, 37, 66, 0.08);
}

.survey-num-pills {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.survey-num-pill-btn {
  flex: 1;
  padding: 0.65rem 0.25rem;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.survey-num-pill-btn:hover {
  border-color: var(--brand-blue);
  background: var(--bg-secondary);
}

.survey-num-pill-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 37, 66, 0.2);
}

/* Summary Panel */
.survey-summary-panel {
  background: linear-gradient(135deg, #0A2542 0%, #06182B 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(10, 37, 66, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.survey-summary-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(214, 129, 32, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.survey-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.25rem;
}

.survey-summary-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.survey-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.survey-summary-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  font-size: 0.825rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.survey-summary-chip strong {
  color: var(--brand-orange-bright);
}

.survey-summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .survey-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .survey-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .survey-category-card {
    padding: 1.5rem 1.15rem;
  }
  .survey-grid-4,
  .survey-grid-3,
  .survey-grid-2 {
    grid-template-columns: 1fr;
  }
  .survey-summary-panel {
    padding: 1.5rem 1.25rem;
  }
  .survey-summary-actions {
    flex-direction: column;
    width: 100%;
  }
  .survey-summary-actions button,
  .survey-summary-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* Stage Group Selectors (Pre-Obra / Obra) */
.stage-group-selector-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(10, 37, 66, 0.05);
  user-select: none;
}

.stage-group-selector-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 28px rgba(10, 37, 66, 0.1);
}

.stage-group-selector-card.active {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(214, 129, 32, 0.16);
}

.stage-group-selector-card:not(.active) {
  opacity: 0.65;
  background: var(--bg-secondary);
  border-color: var(--border-subtle);
}

.stage-group-chk {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid var(--border-medium);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: transparent;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.stage-group-selector-card.active .stage-group-chk {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
}

.roadmap-grid.stage-inactive {
  opacity: 0.42;
  filter: grayscale(0.5);
  transition: all 0.3s ease;
}

