/* ==========================================================================
   VERDEPAMBA S.A.S. · Modelo 2: Inmersivo 3D / WebGL
   Estilos arquitectónicos contemporáneos, accesibilidad WCAG AAA/AA, cero emojis
   ========================================================================== */

/* --- Fuentes tipográficas locales --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-tight-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-tight-800-normal.woff2') format('woff2');
}

/* --- Variables CSS y Paleta Arquitectónica --- */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', var(--font-sans);

  /* Identidad Verdepamba: Naturaleza, Arquitectura Sólida, Sofisticación */
  --verde-oscuro: #11261d;
  --verde-profundo: #1b4332;
  --verde-bosque: #2d6a4f;
  --verde-esmeralda: #40916c;
  --verde-hoja: #52b788;
  --verde-claro: #d8f3dc;
  --verde-fondo: #eef8f2;

  --terracota: #c4683c;
  --dorado-tababela: #d4a373;
  --dorado-suave: #faedcd;

  --bg-deep: #090e0c;
  --bg-surface: #101915;
  --bg-card: #15221d;
  --bg-card-hover: #1b2d26;
  --bg-light: #f8faf9;
  --bg-white: #ffffff;

  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(17, 38, 29, 0.1);
  --border-emerald: rgba(64, 145, 108, 0.35);

  --text-main: #f1f5f3;
  --text-muted: #9ab4a7;
  --text-light-dark: #1b2e25;
  --text-light-muted: #526b5f;

  --accent: #52b788;
  --accent-glow: rgba(82, 183, 136, 0.25);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
  min-height: 100vh;
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   1. BANNER OBLIGATORIO DE DEMOSTRACIÓN SIMCODEC
   ========================================================================== */
.demo-bar {
  background: #060907;
  border-bottom: 1px solid rgba(82, 183, 136, 0.2);
  color: #c0d3cb;
  font-size: 0.8125rem;
  position: relative;
  z-index: 100;
}

.demo-bar__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.demo-bar__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.demo-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(82, 183, 136, 0.15);
  border: 1px solid rgba(82, 183, 136, 0.4);
  color: #74d9a6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.demo-bar__text {
  font-weight: 400;
}

.demo-bar__orig-link {
  color: #74d9a6;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--trans-fast);
}

.demo-bar__orig-link:hover {
  color: #a7f3d0;
}

.demo-bar__modelos {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.demo-bar__label {
  color: #78978b;
  font-weight: 600;
  font-size: 0.75rem;
  margin-right: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-bar__link {
  color: #9ab4a7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.demo-bar__link:hover {
  background: rgba(82, 183, 136, 0.15);
  color: #ffffff;
  border-color: rgba(82, 183, 136, 0.3);
}

.demo-bar__link.active {
  background: #2d6a4f;
  color: #ffffff;
  border-color: #52b788;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(82, 183, 136, 0.35);
}

/* ==========================================================================
   2. HEADER / NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 14, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--trans-fast);
}

.navbar__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.navbar__logo-wrap {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  border: 1px solid rgba(82, 183, 136, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar__titles {
  display: flex;
  flex-direction: column;
}

.navbar__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
}

.navbar__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 500;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  color: #b9cfc5;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.navbar__link:hover, .navbar__link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(82, 183, 136, 0.4);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.35);
  transition: all var(--trans-fast);
}

.navbar__cta-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
  box-shadow: 0 6px 18px rgba(82, 183, 136, 0.45);
}

/* ==========================================================================
   3. HERO PRINCIPAL & SECCIÓN 3D
   ========================================================================== */
.hero-3d {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 25%, #162a22 0%, #090e0c 75%);
  overflow: hidden;
}

/* Canvas Three.js */
#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  outline: none;
}

/* Overlays arquitectónicos sobre el visor 3D */
.hero-3d__ui {
  position: relative;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 1.5rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero-3d__header {
  pointer-events: auto;
  max-width: 520px;
  background: rgba(9, 14, 12, 0.82);
  border: 1px solid var(--border-dark);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(82, 183, 136, 0.16);
  border: 1px solid rgba(82, 183, 136, 0.35);
  color: #74d9a6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-tag__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52b788;
  box-shadow: 0 0 8px #52b788;
  animation: pulseDot 2s infinite;
}

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

.hero-3d__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.hero-3d__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.hero-3d__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-item__val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-item__val--accent {
  color: #74d9a6;
}

.metric-item__lbl {
  font-size: 0.7rem;
  color: #8faea1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Barra de controles 3D flotante */
.viewer-controls {
  pointer-events: auto;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(9, 14, 12, 0.82);
  border: 1px solid var(--border-dark);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 15;
}

.viewer-controls__label {
  font-size: 0.7rem;
  color: #8faea1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.viewer-controls__group {
  display: flex;
  gap: 0.35rem;
}

.btn-ctrl {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c7d9d0;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--trans-fast);
}

.btn-ctrl:hover {
  background: rgba(82, 183, 136, 0.15);
  color: #ffffff;
  border-color: rgba(82, 183, 136, 0.4);
}

.btn-ctrl.active {
  background: #2d6a4f;
  border-color: #52b788;
  color: #ffffff;
  font-weight: 600;
}

/* Hotspots Bar en la parte inferior del 3D */
.hero-3d__bottom {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.hotspot-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem 0.5rem;
  background: rgba(9, 14, 12, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  width: fit-content;
  max-width: 100%;
}

.hotspot-nav__title {
  font-size: 0.75rem;
  color: #8faea1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.hotspot-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfdfd7;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all var(--trans-fast);
}

.hotspot-chip:hover {
  background: rgba(82, 183, 136, 0.16);
  color: #ffffff;
  border-color: rgba(82, 183, 136, 0.35);
}

.hotspot-chip.active {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  border-color: #52b788;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.4);
}

.hotspot-chip__num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-chip.active .hotspot-chip__num {
  background: #52b788;
  color: #090e0c;
  font-weight: 700;
}

/* Tarjeta de Hotspot Informativa */
.hotspot-card {
  pointer-events: auto;
  max-width: 480px;
  background: rgba(16, 25, 21, 0.94);
  border: 1px solid var(--border-emerald);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: none;
  animation: slideInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot-card.visible {
  display: block;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotspot-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.hotspot-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #74d9a6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hotspot-card__close {
  background: transparent;
  border: none;
  color: #8faea1;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color var(--trans-fast);
}

.hotspot-card__close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hotspot-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.hotspot-card__desc {
  font-size: 0.85rem;
  color: #b7ceca;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.hotspot-card__spec {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #74d9a6;
  background: rgba(82, 183, 136, 0.1);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid #52b788;
}

/* Barra de Telemetría Inferior */
.telemetry-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.72rem;
  color: #6d8e80;
  padding: 0.25rem 0.5rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-val {
  color: #9ab4a7;
  font-family: monospace;
}

/* ==========================================================================
   4. SECCIÓN FICHA TÉCNICA Y ESPECIFICACIONES
   ========================================================================== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1380px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.3);
  color: #74d9a6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grilla de Ficha Técnica */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 183, 136, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.spec-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #74d9a6;
  margin-bottom: 1.25rem;
}

.spec-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.spec-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.spec-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-card__item {
  font-size: 0.85rem;
  color: #cfded6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-card__item svg {
  color: #52b788;
  flex-shrink: 0;
}

/* ==========================================================================
   5. CALCULADORA HIPOTECARIA VIS / VIP
   ========================================================================== */
.calc-section {
  background: radial-gradient(circle at 50% 0%, #15291f 0%, #0d1511 80%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 5rem 1.5rem;
}

.calc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-info__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 163, 115, 0.16);
  border: 1px solid rgba(212, 163, 115, 0.35);
  color: #e5b98a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.calc-info__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.calc-info__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.calc-banks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.calc-banks__label {
  font-size: 0.75rem;
  color: #8faea1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.calc-banks__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-banks__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #c9dad0;
  font-weight: 500;
}

/* Tarjeta interactiva del Simulador */
.calc-card {
  background: var(--bg-card);
  border: 1px solid rgba(82, 183, 136, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.calc-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-field {
  margin-bottom: 1.35rem;
}

.calc-field__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-field__label {
  font-size: 0.82rem;
  color: #c2d6cd;
  font-weight: 500;
}

.calc-field__value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #74d9a6;
}

.calc-range {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #52b788;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(82, 183, 136, 0.5);
  transition: transform var(--trans-fast);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Resultado de Cuota */
.calc-result {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.4) 0%, rgba(27, 67, 50, 0.6) 100%);
  border: 1px solid rgba(82, 183, 136, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.calc-result__label {
  font-size: 0.78rem;
  color: #b7d6c8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.calc-result__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.calc-result__note {
  font-size: 0.75rem;
  color: #9ab4a7;
}

/* ==========================================================================
   6. GALERÍA DE ESPACIOS Y ÁREAS COMUNALES
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  group: hover;
  transition: transform var(--trans-smooth);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 183, 136, 0.35);
}

.gallery-card__img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.05);
}

.gallery-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(9, 14, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gallery-card__body {
  padding: 1.25rem 1.5rem;
}

.gallery-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.gallery-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   7. UBICACIÓN ESTRATÉGICA Y ENTORNO TABABELA
   ========================================================================== */
.location-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 5rem 1.5rem;
}

.location-wrap {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.location-info__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.location-info__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

.location-point__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(82, 183, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #74d9a6;
  flex-shrink: 0;
}

.location-point__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.location-point__text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.location-card__addr {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.location-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--trans-fast);
}

.location-card__btn:hover {
  background: rgba(82, 183, 136, 0.2);
  border-color: #52b788;
}

/* ==========================================================================
   8. AGENDAR VISITA Y CONTACTO
   ========================================================================== */
.contact-section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(135deg, #101c16 0%, #172b22 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-info__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8rem;
  color: #b7ceca;
  font-weight: 500;
}

.form-input {
  background: rgba(9, 14, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--trans-fast);
}

.form-input:focus {
  border-color: #52b788;
  box-shadow: 0 0 0 2px rgba(82, 183, 136, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  border: 1px solid rgba(82, 183, 136, 0.5);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--trans-fast);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
  box-shadow: 0 8px 24px rgba(82, 183, 136, 0.4);
}

/* ==========================================================================
   9. FOOTER OBLIGATORIO SIMCODEC
   ========================================================================== */
.footer {
  background: #060907;
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 1.5rem 2rem;
  color: #8faea1;
  font-size: 0.85rem;
}

.footer__inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #8faea1;
  transition: color var(--trans-fast);
}

.footer__link:hover {
  color: #ffffff;
}

.footer__disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #a0baa9;
}

.footer__disclaimer strong {
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #6d8e80;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .calc-wrap, .location-wrap, .contact-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .hero-3d__ui {
    padding: 1rem;
  }

  .viewer-controls {
    top: auto;
    bottom: 5.5rem;
    right: 1rem;
    left: 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .viewer-controls__label {
    display: none;
  }

  .navbar__nav {
    display: none;
  }

  .hero-3d__title {
    font-size: 1.4rem;
  }

  .calc-card, .contact-card {
    padding: 1.5rem;
  }
}
