/* ═══════════════════════════════════════════════════════════════
   THS CHILE — SPA Styles
   Design System: Industrial Precision (glassmorphism + dark)
════════════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface:                  #061423;
  --surface-dim:              #061423;
  --surface-bright:           #2d3a4a;
  --surface-container-lowest: #020f1e;
  --surface-container-low:    #0f1c2c;
  --surface-container:        #132030;
  --surface-container-high:   #1e2b3b;
  --surface-container-highest:#283646;
  --on-surface:               #d6e4f9;
  --on-surface-variant:       #bec8d1;
  --outline:                  #88929b;
  --outline-variant:          #3f4850;
  --brand-blue:               #0096D6;
  --accent-cyan:              #5FC8F0;
  --pure-white:               #FFFFFF;
  --surface-slate:            #111927;
}

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ── */
.headline-xl {
  font-size: 48px; font-weight: 700;
  line-height: 56px; letter-spacing: -0.02em;
  color: var(--pure-white);
}
.headline-lg {
  font-size: 32px; font-weight: 600;
  line-height: 40px; color: var(--pure-white);
}
.headline-md {
  font-size: 24px; font-weight: 600;
  line-height: 32px; color: var(--pure-white);
}
.label-caps {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.section-title {
  font-size: 32px; font-weight: 600;
  line-height: 40px; letter-spacing: -0.01em;
  color: var(--pure-white); margin-bottom: 16px;
}
.section-body {
  font-size: 16px; color: var(--on-surface-variant);
  max-width: 560px; margin: 0 auto;
}

/* ── UTILITY ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
.divider { height: 1px; background: linear-gradient(to right, transparent, rgba(95,200,240,0.35), transparent); }
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── ANIMATIONS ── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── SPA PAGE ROUTING ── */
.page { display: none; }
.page.is-active {
  display: block;
  animation: pageFadeIn 0.25s ease forwards;
}

/* ════════════════════════════════════════════
   HEADER & NAV
════════════════════════════════════════════ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,32,48,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(63,72,80,0.3);
  transition: background 0.3s, box-shadow 0.3s;
}
header.scrolled {
  background: rgba(6,20,35,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 64px; max-width: 1280px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center;
  cursor: pointer; flex-shrink: 0;
}
.nav-logo-img {
  height: 38px; width: auto;
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.88; }
.nav-links {
  display: flex; gap: 24px; align-items: center;
}
.nav-links a {
  font-size: 16px; color: var(--on-surface-variant);
  transition: color 0.25s; cursor: pointer;
}
.nav-links a:hover { color: var(--accent-cyan); }
.nav-links a.active {
  color: var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 4px; font-weight: 600;
}
.btn-nav {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 24px; border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--accent-cyan); }
.menu-btn {
  display: none; background: none; border: none;
  color: var(--on-surface-variant); cursor: pointer;
  padding: 4px;
}
.menu-btn .material-symbols-outlined { font-size: 24px; }

/* ════════════════════════════════════════════
   HOME — HERO
════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-svg {
  position: absolute; right: 0; top: 0;
  height: 100%; width: 55%; opacity: 0.08;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(6,20,35,0.96) 0%,
      rgba(6,20,35,0.82) 38%,
      rgba(6,20,35,0.30) 65%,
      rgba(6,20,35,0.15) 100%),
    linear-gradient(to top,
      rgba(6,20,35,0.55) 0%,
      transparent 40%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
}
.hero-content { max-width: 640px; }
.hero-label {
  display: inline-block; color: var(--accent-cyan);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 56px; font-weight: 700;
  line-height: 64px; letter-spacing: -0.02em;
  color: var(--pure-white); margin-bottom: 24px;
}
.hero-body {
  font-size: 18px; line-height: 28px;
  color: var(--on-surface-variant);
  max-width: 480px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 18px; font-weight: 600;
  padding: 16px 32px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.btn-hero-primary:hover {
  box-shadow: 0 0 28px rgba(0,150,214,0.45);
  transform: translateY(-1px);
}
.btn-hero-ghost {
  background: transparent; color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan); cursor: pointer;
  font-size: 18px; font-weight: 600;
  padding: 16px 32px; border-radius: 4px;
  transition: background 0.2s;
  display: inline-flex; align-items: center;
}
.btn-hero-ghost:hover { background: rgba(95,200,240,0.1); }

/* ── HOME — STATS BAR ── */
.stats-bar {
  background: var(--surface-dim);
  border-top: 1px solid rgba(95,200,240,0.2);
  border-bottom: 1px solid rgba(95,200,240,0.2);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { padding: 24px; }
.stat-item--mid {
  border-left: 1px solid rgba(63,72,80,0.3);
  border-right: 1px solid rgba(63,72,80,0.3);
}
.stat-number {
  font-size: 40px; font-weight: 300;
  line-height: 48px; color: var(--accent-cyan);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ── HOME — BENTO ── */
.section-bento { padding: 96px 0; background: var(--surface); }
.bento-header { text-align: center; margin-bottom: 64px; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 24px;
}
.bento-main {
  grid-column: span 8; border-radius: 8px;
  padding: 32px; display: flex;
  flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.bento-side {
  grid-column: span 4;
  background: var(--surface-slate);
  border-radius: 8px; padding: 32px;
  border: 1px solid rgba(63,72,80,0.4);
  transition: border-color 0.3s;
}
.bento-side:hover { border-color: rgba(0,150,214,0.5); }
.bento-icon-bg {
  position: absolute; top: 0; right: 0;
  padding: 32px; opacity: 0.08;
}
.bento-icon-bg .material-symbols-outlined { font-size: 120px; }
.bento-icon {
  font-size: 40px; color: var(--brand-blue);
  margin-bottom: 24px; display: block;
}
.bento-card-title {
  font-size: 24px; font-weight: 600;
  line-height: 32px; color: var(--accent-cyan);
  margin-bottom: 8px;
}
.bento-card-title-white { color: var(--pure-white); }
.bento-card-body { font-size: 16px; color: var(--on-surface-variant); max-width: 440px; }

.bento-wide {
  grid-column: span 8;
  background: var(--surface-container-high);
  border-radius: 8px; padding: 32px;
  display: flex; align-items: center; gap: 32px;
  overflow: hidden;
}
.bento-wide-text { flex: 1; }
.bento-wide-img {
  flex: 1; height: 100%;
  overflow: hidden; border-radius: 4px;
}
.bento-small {
  grid-column: span 4; border-radius: 8px;
  padding: 32px; border: 1px solid rgba(63,72,80,0.4);
}

/* ── HOME — PRODUCTS PREVIEW ── */
.section-products { padding: 96px 0; background: var(--surface-dim); }
.products-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 64px;
}
.products-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent-cyan); font-size: 12px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; transition: opacity 0.2s;
}
.products-link:hover { opacity: 0.75; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card-preview { cursor: pointer; }
.product-img-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  border-radius: 8px; margin-bottom: 24px;
  position: relative;
}
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-card-preview:hover .product-img-placeholder { opacity: 0.85; }
.product-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface-dim), transparent);
  opacity: 0.6;
}
.product-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(0,150,214,0.2);
  backdrop-filter: blur(8px);
  color: var(--brand-blue);
  padding: 4px 12px; border-radius: 2px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.product-name {
  font-size: 24px; font-weight: 600;
  line-height: 32px; color: var(--pure-white); margin-bottom: 8px;
}
.product-desc {
  font-size: 16px; color: var(--on-surface-variant); line-height: 24px;
}

/* ── HOME — CTA ── */
.section-cta {
  position: relative; padding: 128px 64px;
  overflow: hidden; text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background: rgba(0,150,214,0.08); z-index: 0;
}
.cta-dots {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, #5FC8F0 1px, transparent 0);
  background-size: 40px 40px;
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-title {
  font-size: 48px; font-weight: 700;
  line-height: 56px; letter-spacing: -0.02em;
  color: var(--pure-white); margin-bottom: 24px;
}
.cta-body {
  font-size: 18px; line-height: 28px;
  color: var(--on-surface-variant); margin-bottom: 40px;
}
.cta-btns { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.btn-cta-primary {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 18px; font-weight: 600;
  padding: 20px 40px; border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,150,214,0.2);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-cta-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,150,214,0.35);
}
.btn-cta-ghost {
  background: var(--surface-container); color: var(--pure-white);
  border: 1px solid rgba(63,72,80,0.6); cursor: pointer;
  font-size: 18px; font-weight: 600;
  padding: 20px 40px; border-radius: 4px;
  transition: background 0.2s;
}
.btn-cta-ghost:hover { background: var(--surface-bright); }

/* ════════════════════════════════════════════
   SHARED PAGE HEADER
════════════════════════════════════════════ */
.page-header {
  padding: 80px 0 64px;
  background: var(--surface);
}
.page-header-img {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
}
.page-header-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6,20,35,0.95) 40%, rgba(6,20,35,0.5) 100%);
  z-index: 1;
}
.page-header-img > .container { position: relative; z-index: 2; }

/* ════════════════════════════════════════════
   PRODUCTOS — PRODUCT CARDS (FULL)
════════════════════════════════════════════ */
.products-section { padding: 64px 0 96px; background: var(--surface); }
.product-card-full {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 24px;
  transition: border-color 0.3s;
}
.product-card-full:hover { border-color: rgba(0,150,214,0.4); }

.product-img-full { position: relative; overflow: hidden; min-height: 320px; }
.product-img-inner-full {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-img-overlay-full {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent, var(--surface-container));
}
.product-img-overlay-full--rev {
  background: linear-gradient(to left, transparent, var(--surface-container-high));
}
.product-tag-full {
  position: absolute; top: 20px; right: 20px;
  background: rgba(0,150,214,0.2); backdrop-filter: blur(8px);
  color: var(--brand-blue); padding: 4px 12px; border-radius: 2px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.product-info-full {
  background: var(--surface-container); padding: 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px;
}
.product-desc-text {
  font-size: 16px; color: var(--on-surface-variant); line-height: 24px;
}
.product-specs-full {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(63,72,80,0.4);
  border-bottom: 1px solid rgba(63,72,80,0.4);
  margin: 4px 0;
}
.spec-label-full {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 4px;
}
.spec-value-full {
  font-size: 18px; font-weight: 600; color: var(--pure-white);
}
.product-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-block;
  border: 1px solid rgba(95,200,240,0.4);
  color: var(--accent-cyan);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.chip-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 8px; display: block;
}

/* ── DOCS CTA ── */
.docs-cta {
  background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.4);
  border-left: 3px solid var(--brand-blue);
  border-radius: 8px; padding: 40px 48px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px; margin-top: 64px;
}
.docs-cta-text h3 { font-size: 24px; font-weight: 600; color: var(--pure-white); margin-bottom: 8px; }
.docs-cta-text p { font-size: 16px; color: var(--on-surface-variant); }
.docs-cta-btns { display: flex; gap: 16px; flex-shrink: 0; }

.btn-solid {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: box-shadow 0.25s, transform 0.15s; white-space: nowrap;
}
.btn-solid:hover { box-shadow: 0 0 24px rgba(0,150,214,0.4); transform: translateY(-1px); }
.btn-solid .material-symbols-outlined { font-size: 18px; }

.btn-dark {
  background: var(--surface-bright); color: var(--pure-white);
  border: 1px solid rgba(63,72,80,0.6); cursor: pointer;
  font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 4px;
  transition: background 0.2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-dark:hover { background: var(--surface-container-highest); }
.btn-dark .material-symbols-outlined { font-size: 18px; }

/* ════════════════════════════════════════════
   PROYECTOS
════════════════════════════════════════════ */
.filter-bar {
  padding: 40px 0; display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
}
.filter-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-right: 8px; white-space: nowrap;
}
.filter-btn {
  background: transparent; color: var(--on-surface-variant);
  border: 1px solid rgba(63,72,80,0.5);
  cursor: pointer; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.filter-btn.active {
  background: var(--brand-blue);
  color: var(--pure-white); border-color: var(--brand-blue);
}

.projects-section { padding: 0 0 96px; }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.project-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}
.project-card:hover { border-color: rgba(0,150,214,0.5); transform: translateY(-4px); }

.project-img { position: relative; overflow: hidden; height: 240px; }
.project-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.project-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface-container), transparent 60%);
}
.project-category {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.cat-corp  { background: rgba(0,150,214,0.25); color: var(--brand-blue); border: 1px solid rgba(0,150,214,0.4); }
.cat-res   { background: rgba(95,200,240,0.15); color: var(--accent-cyan); border: 1px solid rgba(95,200,240,0.3); }
.cat-edu   { background: rgba(191,198,218,0.15); color: #bfc6da; border: 1px solid rgba(191,198,218,0.3); }
.cat-remo  { background: rgba(107,211,251,0.15); color: #6bd3fb; border: 1px solid rgba(107,211,251,0.3); }

.project-info { padding: 24px; }
.project-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant); margin-bottom: 10px;
}
.project-name {
  font-size: 20px; font-weight: 600;
  color: var(--pure-white); margin-bottom: 16px; line-height: 1.3;
}
.project-specs { display: flex; flex-direction: column; gap: 8px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; }
.spec-key {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
}
.spec-val { font-size: 13px; font-weight: 600; color: var(--accent-cyan); }

/* Proyectos CTA */
.proyectos-cta {
  position: relative; padding: 96px 64px;
  overflow: hidden; text-align: center;
}

/* ════════════════════════════════════════════
   EFICIENCIA
════════════════════════════════════════════ */
.hero-strip {
  padding: 96px 0 80px;
  background: var(--surface);
  position: relative; overflow: hidden;
}
.hero-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,150,214,0.12) 0%, transparent 70%);
}
.hero-strip > .container { position: relative; z-index: 1; }

/* Stats Hero */
.stats-hero {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 64px 0;
}
.stat-hero-item {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 32px 24px;
  transition: border-color 0.3s;
}
.stat-hero-item:hover { border-color: rgba(0,150,214,0.5); }
.stat-hero-num {
  font-size: 48px; font-weight: 300;
  line-height: 1; color: var(--accent-cyan); margin-bottom: 8px;
}
.stat-hero-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* Normativa */
.norm-section { padding: 96px 0; background: var(--surface); }
.norm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.norm-features { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.norm-feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 20px;
  transition: border-color 0.3s;
}
.norm-feature:hover { border-color: rgba(0,150,214,0.4); }
.norm-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 4px; background: rgba(0,150,214,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
}
.norm-feature h4 { font-size: 16px; font-weight: 600; color: var(--pure-white); margin-bottom: 4px; }
.norm-feature p { font-size: 14px; color: var(--on-surface-variant); line-height: 22px; }

/* U-Value Chart */
.chart-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 32px;
}
.chart-title {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-surface-variant); margin-bottom: 24px;
}
.chart-bars { display: flex; flex-direction: column; gap: 16px; }
.chart-bar-row { display: flex; align-items: center; gap: 12px; }
.chart-bar-label {
  font-size: 12px; color: var(--on-surface-variant);
  width: 120px; flex-shrink: 0; text-align: right;
}
.chart-bar-track {
  flex: 1; height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
}
.chart-bar-fill { height: 100%; border-radius: 2px; transition: width 1s ease; }
.chart-bar-val {
  font-size: 12px; font-weight: 700;
  color: var(--accent-cyan); width: 56px; flex-shrink: 0;
}

/* Certifications */
.cert-section { padding: 96px 0; background: var(--surface-container-low); }
.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.cert-card {
  background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.cert-card:hover { border-color: var(--brand-blue); transform: translateY(-4px); }
.cert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,150,214,0.15);
  border: 1px solid rgba(0,150,214,0.3);
  color: var(--brand-blue);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 16px;
}
.cert-card h3 { font-size: 20px; font-weight: 600; color: var(--pure-white); margin-bottom: 12px; }
.cert-card p { font-size: 15px; color: var(--on-surface-variant); line-height: 23px; }

/* Calculator */
.calc-section { padding: 96px 0; background: var(--surface); }
.calc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.calc-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 32px;
}
.calc-field { margin-bottom: 24px; }
.calc-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 8px; display: block;
}
.calc-input {
  width: 100%; background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.5);
  color: var(--on-surface); font-family: 'Inter', sans-serif;
  font-size: 16px; padding: 12px 16px;
  border-radius: 4px; transition: border-color 0.2s;
  appearance: none;
}
.calc-input:focus { outline: none; border-color: var(--brand-blue); }
select.calc-input { cursor: pointer; }

.calc-result {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 32px;
}
.result-row {
  display: flex; justify-content: space-between;
  align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid rgba(63,72,80,0.3);
}
.result-row:last-child { border-bottom: none; }
.result-key { font-size: 13px; color: var(--on-surface-variant); }
.result-val { font-size: 24px; font-weight: 300; color: var(--accent-cyan); }

.btn-calc {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 4px;
  width: 100%; margin-top: 8px;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-calc:hover { box-shadow: 0 0 24px rgba(0,150,214,0.4); transform: translateY(-1px); }
.btn-calc .material-symbols-outlined { font-size: 18px; }

.calc-note {
  background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.4);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 8px; padding: 24px; margin-top: 20px;
}
.calc-note-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.btn-audit {
  width: 100%; margin-top: 16px;
  background: transparent; color: var(--brand-blue);
  border: 1px solid var(--brand-blue); cursor: pointer;
  font-size: 14px; font-weight: 600;
  padding: 12px; border-radius: 4px;
  transition: background 0.2s;
}
.btn-audit:hover { background: rgba(0,150,214,0.1); }

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contact-section { padding: 48px 0 96px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 32px; align-items: start;
}
.form-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 40px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field:last-child { margin-bottom: 0; }
.field-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); display: block; margin-bottom: 8px;
}
.field-icon-wrap { position: relative; }
.field-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--on-surface-variant);
  font-size: 18px; pointer-events: none;
}
.field-icon-textarea { top: 14px; transform: none; }
.form-input {
  width: 100%; background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.5);
  color: var(--on-surface); font-family: 'Inter', sans-serif;
  font-size: 16px; padding: 12px 16px 12px 44px;
  border-radius: 4px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none; border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(0,150,214,0.15);
}
.form-input::placeholder { color: rgba(190,200,209,0.4); }
select.form-input { cursor: pointer; appearance: none; }
textarea.form-input { resize: vertical; min-height: 120px; padding-top: 12px; }

.form-btns { display: flex; gap: 16px; margin-top: 8px; }
.btn-submit {
  background: var(--brand-blue); color: var(--pure-white);
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.btn-submit:hover { box-shadow: 0 0 28px rgba(0,150,214,0.4); transform: translateY(-1px); }
.btn-reset {
  background: var(--surface-bright); color: var(--on-surface-variant);
  border: 1px solid rgba(63,72,80,0.5); cursor: pointer;
  font-size: 14px; font-weight: 600;
  padding: 14px 24px; border-radius: 4px;
  transition: background 0.2s;
}
.btn-reset:hover { background: var(--surface-container-highest); }

.success-msg {
  display: none; align-items: flex-start; gap: 14px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px; padding: 20px; margin-top: 16px;
}
.success-msg.show { display: flex; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--surface-container-low);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 24px;
  transition: border-color 0.3s;
}
.sidebar-card:hover { border-color: rgba(0,150,214,0.4); }

.calc-promo {
  background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 28px;
  cursor: pointer; position: relative;
  transition: border-color 0.3s;
  overflow: hidden;
}
.calc-promo:hover { border-color: var(--accent-cyan); }
.calc-promo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,150,214,0.08) 0%, transparent 60%);
}
.calc-promo-content { position: relative; z-index: 1; }
.calc-promo-arrow {
  position: absolute; top: 20px; right: 20px;
  color: var(--accent-cyan); font-size: 20px;
  transition: transform 0.2s;
}
.calc-promo:hover .calc-promo-arrow { transform: translateX(4px); }

.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid rgba(63,72,80,0.3);
}
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 4px; background: rgba(0,150,214,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
}
.contact-sub {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 3px;
}
.contact-val { font-size: 15px; font-weight: 600; color: var(--pure-white); line-height: 1.3; }
.contact-note { font-size: 13px; color: var(--on-surface-variant); margin-top: 2px; }

.status-bar {
  background: var(--surface-container);
  border: 1px solid rgba(63,72,80,0.4);
  border-radius: 8px; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
.status-text {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--pure-white);
}
.status-version {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: var(--surface-dim);
  border-top: 1px solid rgba(63,72,80,0.3);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 64px;
  max-width: 1280px; margin: 0 auto;
}
.footer-brand {
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 52px; width: auto;
  background: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  display: block;
}
.footer-col-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pure-white); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 16px; color: var(--on-surface-variant); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-address { font-size: 16px; color: var(--on-surface-variant); line-height: 24px; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 16px; margin-top: 12px; }
.footer-socials a { color: var(--brand-blue); transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(63,72,80,0.15);
  padding: 32px 64px;
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 16px; color: var(--on-surface-variant); }
.footer-certs { display: flex; gap: 24px; }
.footer-certs span {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bento-main  { grid-column: span 2; min-height: 240px; }
  .bento-side  { grid-column: span 1; }
  .bento-wide  { grid-column: span 2; }
  .bento-small { grid-column: span 1; }
  .norm-grid   { gap: 40px; }
  .stats-hero  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.nav--open {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(19,32,48,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(63,72,80,0.3);
    padding: 16px 24px;
    z-index: 100;
  }
  .nav-links.nav--open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(63,72,80,0.2);
  }
  .nav-links.nav--open a:last-child { border-bottom: none; }
  .nav-links.nav--open a.active {
    border-bottom: 1px solid rgba(63,72,80,0.2);
    padding-bottom: 12px;
  }
  header { position: sticky; }
  .menu-btn { display: block; }
  .nav-inner { padding: 14px 24px; position: relative; }
  .container { padding: 0 24px; }
  .hero-title { font-size: 36px; line-height: 44px; }
  .cta-title  { font-size: 32px; line-height: 40px; }
  .section-cta { padding: 80px 24px; }
  .proyectos-cta { padding: 80px 24px; }
  .headline-xl { font-size: 32px; line-height: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item--mid { border: none; border-top: 1px solid rgba(63,72,80,0.3); border-bottom: 1px solid rgba(63,72,80,0.3); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-main,.bento-side,.bento-wide,.bento-small { grid-column: span 1; min-height: 200px; }
  .bento-wide-img { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card-full { grid-template-columns: 1fr; }
  .product-card-full--rev .product-img-full { order: -1; }
  .product-img-full { min-height: 220px; }
  .product-info-full { padding: 28px; }
  .product-specs-full { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .norm-grid  { grid-template-columns: 1fr; }
  .cert-grid  { grid-template-columns: 1fr; }
  .calc-grid  { grid-template-columns: 1fr; }
  .stats-hero { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .form-card  { padding: 24px; }
  .docs-cta   { flex-direction: column; align-items: flex-start; padding: 28px; }
  .docs-cta-btns { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .hero-title  { font-size: 28px; line-height: 36px; }
  .stats-hero  { grid-template-columns: 1fr; }
  .btn-nav     { display: none; }
  .cta-btns    { flex-direction: column; align-items: center; }
  .form-btns   { flex-direction: column; }
  .btn-submit, .btn-reset { width: 100%; justify-content: center; }
  .filter-bar  { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}
