/* ==========================================================================
   BUEN-CEMENTO S.A. · MODELO 2: INMERSIVO 3D / WEBGL
   Estética Arquitectónica Industrial · Deep Slate & Concrete Tech
   WCAG AA Contrast Compliant · Cero Emojis
   ========================================================================== */

:root {
  --bg-deep: #0a0d13;
  --bg-card: #121824;
  --bg-card-hover: #182232;
  --bg-surface: #1e293b;
  --border-subtle: #1e293b;
  --border-tech: #334155;
  --border-accent: #f59e0b;
  
  --brand-orange: #f59e0b;
  --brand-orange-light: #fbbf24;
  --brand-orange-glow: rgba(245, 158, 11, 0.25);
  --brand-red: #dc2626;
  --brand-green: #10b981;
  --brand-cyan: #06b6d4;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090d16;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-tech: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-deep);
  min-height: 100vh;
}

/* Selección */
::selection {
  background-color: var(--brand-orange);
  color: var(--text-inverse);
}

/* Enlaces */
a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   1. BANNER DEMOSTRACIÓN (OBLIGATORIO)
   -------------------------------------------------------------------------- */
.demo-bar {
  background-color: #0d131f;
  border-bottom: 1px solid #1e293b;
  font-size: 0.8125rem;
  color: #94a3b8;
  position: relative;
  z-index: 100;
}

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

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

.demo-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--brand-orange-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-bar__text {
  color: #cbd5e1;
}

.demo-bar__orig-link {
  color: var(--brand-orange-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

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

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

.demo-bar__link {
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: #151d2c;
  border: 1px solid #243044;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.demo-bar__link:hover {
  background: #1e293b;
  color: #f8fafc;
  border-color: #3b4d68;
}

.demo-bar__link.active {
  background: var(--brand-orange);
  color: #0f172a;
  border-color: var(--brand-orange);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. NAVEGACIÓN PRINCIPAL
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 13, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.navbar__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.75rem 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 {
  height: 40px;
  width: auto;
  display: block;
}

.navbar__sub-brand {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-tech);
  padding-left: 0.85rem;
}

.navbar__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.15;
}

.navbar__subtitle {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.navbar__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

.navbar__nav-link:hover,
.navbar__nav-link.active {
  color: #fff;
}

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

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #0b1e13;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background: #22c35e;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   3. SECCIÓN HERO / VISUALIZADOR 3D INTERACTIVO
   -------------------------------------------------------------------------- */
.hero-3d {
  position: relative;
  min-height: calc(100vh - 105px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid var(--border-tech);
}

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

#webgl-canvas:active {
  cursor: grabbing;
}

/* Cuadrícula de Fondo Tecnológica */
.hero-3d__grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  opacity: 0.6;
}

.hero-3d__vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 65% 50%, transparent 35%, rgba(10, 13, 19, 0.75) 75%, rgba(10, 13, 19, 0.95) 100%);
}

/* Capa de Información y HUD (Z-index 10) */
.hero-3d__content {
  position: relative;
  z-index: 10;
  pointer-events: none; /* Dejar pasar mouse al canvas */
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.hero-3d__left {
  max-width: 620px;
  pointer-events: auto;
}

.hero-3d__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--border-tech);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-orange-light);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulse 2s infinite;
}

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

.hero-3d__title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-3d__title span.highlight {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-3d__subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-3d__quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.metric-pill {
  background: rgba(18, 24, 36, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-tech);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
}

.metric-pill__val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.metric-pill__lbl {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-3d__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-orange);
  color: #0f172a;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--brand-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border-tech);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #334155;
  border-color: #64748b;
}

/* --------------------------------------------------------------------------
   HUD DERECHO: PANEL DE TELEMETRÍA Y CONTROLES 3D
   -------------------------------------------------------------------------- */
.hud-panel {
  pointer-events: auto;
  background: rgba(14, 20, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-tech);
}

.hud-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.hud-panel__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-panel__status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.hud-group {
  margin-bottom: 1.15rem;
}

.hud-group__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: block;
}

.hud-view-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.hud-btn {
  background: #182232;
  border: 1px solid #243247;
  color: #cbd5e1;
  font-size: 0.76rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
}

.hud-btn:hover {
  background: #223046;
  color: #fff;
  border-color: #384c6c;
}

.hud-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--brand-orange);
  color: var(--brand-orange-light);
  font-weight: 700;
}

.hud-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hud-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #131a26;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #cbd5e1;
}

.hud-toggle-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all var(--transition-fast);
}

.hud-toggle-btn.active {
  background: var(--brand-orange);
  color: #0f172a;
  border-color: var(--brand-orange);
  font-weight: 700;
}

.hud-telemetry {
  background: #090e17;
  border: 1px dashed #243247;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.45;
}

.hud-telemetry div {
  display: flex;
  justify-content: space-between;
}

.hud-telemetry span.val {
  color: var(--brand-cyan);
}

/* --------------------------------------------------------------------------
   BARRA INFERIOR DEL HERO: HOTSPOTS E INSTRUCCIÓN DE INTERACCIÓN
   -------------------------------------------------------------------------- */
.hero-3d__bottom {
  position: relative;
  z-index: 10;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  padding: 0.75rem 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  pointer-events: none;
}

.hero-3d__hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid #334155;
  pointer-events: auto;
}

.hero-3d__hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-orange);
}

.hero-3d__hotspot-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  flex-wrap: wrap;
}

.hotspot-chip {
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid #2d3e58;
  color: #cbd5e1;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.hotspot-chip:hover {
  background: #223046;
  border-color: var(--brand-orange);
  color: #fff;
}

.hotspot-chip.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--brand-orange);
  color: var(--brand-orange-light);
  font-weight: 700;
}

.hotspot-chip__num {
  font-family: var(--font-mono);
  background: #2a374d;
  color: #94a3b8;
  font-size: 0.68rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.hotspot-chip.active .hotspot-chip__num {
  background: var(--brand-orange);
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   HOTSPOT TOOLTIP OVERLAY (EN PANTALLA)
   -------------------------------------------------------------------------- */
.hotspot-card {
  position: absolute;
  z-index: 25;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--brand-orange);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  max-width: 320px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 20px rgba(245, 158, 11, 0.25);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

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

.hotspot-card__badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--brand-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  display: block;
}

.hotspot-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.45rem;
}

.hotspot-card__desc {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.hotspot-card__spec {
  background: #0d131f;
  border-left: 2px solid var(--brand-orange);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #cbd5e1;
}

.hotspot-card__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
}

.hotspot-card__close:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. SECCIÓN FICHA TÉCNICA Y ESPECIFICACIONES NORMATIVAS
   -------------------------------------------------------------------------- */
.section-specs {
  padding: 6rem 1.25rem;
  background: #0d121c;
  position: relative;
  border-bottom: 1px solid var(--border-tech);
}

.container {
  max-width: 1380px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-orange);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: #475569;
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-card__icon-box {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.spec-card__icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-orange);
}

.spec-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.spec-card__desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.spec-table tr {
  border-bottom: 1px solid #1e293b;
}

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

.spec-table td {
  padding: 0.45rem 0;
}

.spec-table td.label {
  color: #64748b;
}

.spec-table td.value {
  text-align: right;
  color: #f1f5f9;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. CALCULADORA TÉCNICA DE DOSIFICACIÓN POR M3
   -------------------------------------------------------------------------- */
.calc-box {
  background: linear-gradient(135deg, #101622 0%, #151d2d 100%);
  border: 1px solid #28374d;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-box__info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.calc-box__info p {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.calc-form {
  background: #0b0f16;
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #141c29;
  border: 1px solid #2b394f;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-orange);
}

.calc-result-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-result-box__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-orange-light);
  font-family: var(--font-mono);
  line-height: 1;
}

.calc-result-box__lbl {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   6. SECCIÓN "TU DELIVERY, MAESTRO" & FLOTA PROPIA
   -------------------------------------------------------------------------- */
.section-delivery {
  padding: 6rem 1.25rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-tech);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.delivery-visual {
  position: relative;
  background: #131a26;
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}

.delivery-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.delivery-visual:hover img {
  transform: scale(1.06);
}

.delivery-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--brand-orange);
  color: #0b0f16;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.delivery-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.delivery-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.delivery-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.delivery-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.delivery-feat-icon {
  width: 36px;
  height: 36px;
  background: #1a2332;
  border: 1px solid #33435b;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-orange);
}

.delivery-feat-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.delivery-feat-text h4 {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.delivery-feat-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN SALVACRÉDITO / CRÉDITO EMPRESARIAL
   -------------------------------------------------------------------------- */
.section-credit {
  padding: 6rem 1.25rem;
  background: #0f1522;
  border-bottom: 1px solid var(--border-tech);
}

.credit-banner {
  position: relative;
  background: #151e2e;
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.credit-banner__img {
  height: 100%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.credit-banner__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 60%, #151e2e 100%);
}

.credit-banner__body {
  padding: 3.5rem;
}

.credit-banner__body h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.credit-banner__body p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

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

.credit-perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.credit-perk svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-orange);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. CATÁLOGO COMPLETO DE MATERIALES DE CONSTRUCCIÓN
   -------------------------------------------------------------------------- */
.section-catalog {
  padding: 6rem 1.25rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-tech);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-fast);
}

.catalog-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.catalog-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.catalog-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.catalog-card__desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.catalog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--brand-orange-light);
  font-weight: 600;
}

.catalog-card__link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. FOOTER OBLIGATORIO Y CONTACTO CORPORATIVO
   -------------------------------------------------------------------------- */
.site-footer {
  background: #080b10;
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid #1a2332;
}

/* Aviso de demostración en footer */
.footer-demo-box {
  background: #0d131e;
  border-bottom: 1px solid #1e293b;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-demo-box p {
  max-width: 980px;
  margin: 0 auto;
  color: #cbd5e1;
}

.footer-demo-box a {
  color: var(--brand-orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-col__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 38px;
  width: auto;
  align-self: flex-start;
}

.footer-col__brand p {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid #141c29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}

.footer-legal-tag {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-3d__content {
    grid-template-columns: 1fr;
  }
  .hud-panel {
    max-width: 480px;
  }
  .credit-banner {
    grid-template-columns: 1fr;
  }
  .credit-banner__img {
    height: 260px;
  }
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar__nav {
    display: none;
  }
  .demo-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-3d__title {
    font-size: 2.1rem;
  }
  .hero-3d__quick-metrics {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .credit-banner__body {
    padding: 2rem 1.5rem;
  }
}
