/* ==========================================================================
   JLE - Power Generation & Backup
   Styles and Visual System 2026
   ========================================================================== */

:root {
  --black: #08090a;
  --black-pure: #020202;
  --surface-dark: #0f1013;
  --surface-card: #15161a;
  --surface-card-hover: #1c1d23;
  
  --paper: #f3f2ee;
  --paper-card: #ffffff;
  --paper-line: #dcd9d2;
  
  --red: #d20b13;
  --red-hover: #f01922;
  --red-dark: #9e070d;
  --red-glow: rgba(210, 11, 19, 0.35);
  
  --ink: #141517;
  --ink-secondary: #56595e;
  --ink-light: #7c7f85;
  
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.72);
  --white-faint: rgba(255, 255, 255, 0.42);
  
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  
  --font-brand: 'Montserrat', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-body: 'Space Grotesk', 'Montserrat', sans-serif;
  
  --max: 1280px;
  --header-height: 88px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --trans: 0.28s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans), opacity var(--trans);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

strong, b {
  font-weight: 800;
}

.section-paper strong,
.section-paper b {
  color: var(--ink);
}

.page-width {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

/* ==========================================================================
   Floating WhatsApp Button: White icon on Black Background
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  background: #000000;
  border-color: var(--red);
  box-shadow: 0 14px 34px rgba(210, 11, 19, 0.4);
}

.whatsapp-btn-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-btn-inner svg {
  fill: #ffffff;
  display: block;
}

.whatsapp-label {
  color: #ffffff;
  white-space: nowrap;
}

/* ==========================================================================
   Reading Progress Bar & Site Header
   ========================================================================== */

.scroll-progress {
  height: 3px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--trans), border-color var(--trans), box-shadow var(--trans);
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 clamp(32px, 5.5vw, 76px);
  box-sizing: border-box;
}

.site-header.scrolled {
  background: rgba(4, 5, 6, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
  transition: transform var(--trans);
}

.brand:hover img {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  opacity: 0.78;
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--trans);
}

.main-nav a:hover {
  opacity: 1;
  color: #fff;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .nav-cta {
  opacity: 1;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background var(--trans), transform var(--trans);
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--red-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform var(--trans), opacity var(--trans);
}

/* ==========================================================================
   Typography & Shared Utilities
   ========================================================================== */

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--red);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 20px;
  display: inline-block;
}

.eyebrow.red {
  color: var(--red);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

/* Buttons */
.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 26px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  background: var(--red);
  color: #fff;
}

.button-red:hover {
  background: var(--red-hover);
  box-shadow: 0 6px 20px var(--red-glow);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.button-block {
  width: 100%;
}

.text-link {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.text-link span {
  color: var(--red);
  font-size: 16px;
}

.text-link:hover {
  opacity: 1;
  color: #fff;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
  color: #fff;
}

.arrow-link span {
  color: var(--red);
  font-size: 18px;
  transition: transform var(--trans);
}

.arrow-link:hover span {
  transform: translateX(4px) translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  padding: 80px 0 60px;
}

.hero-video, .hero-video video, .hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video video {
  object-fit: cover;
  object-position: center;
  filter: brightness(0.48) contrast(1.15) saturate(0.8);
}

.hero-scrim {
  background: 
    linear-gradient(90deg, rgba(8, 9, 10, 0.97) 0%, rgba(8, 9, 10, 0.82) 45%, rgba(8, 9, 10, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.95) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: linear-gradient(90deg, #000 60%, transparent 95%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  max-width: 820px;
}

.hero-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-left: 3px solid var(--red);
  margin-bottom: 28px;
}

.hero-tag-badge {
  color: #fff;
  font-weight: 500;
}

.hero-tag-sep {
  opacity: 0.3;
}

.hero-tag-sub {
  color: var(--white-dim);
}

.hero h1 {
  font-size: clamp(54px, 7.8vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 580px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--white-dim);
  margin-bottom: 38px;
}

.hero-copy strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.hero-metric-item strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-metric-item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-faint);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-foot {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 64px), var(--max));
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--white-faint);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue i {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

/* ==========================================================================
   SECTION 01: POR QUÉ JLE
   ========================================================================== */

.intro {
  padding: 140px 0;
  position: relative;
}

.intro-layout {
  display: grid;
  grid-template-columns: 200px 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.section-label {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white-faint);
}

.intro-statement h2 {
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 0.94;
  margin-bottom: 28px;
}

.intro-statement h2 span {
  color: var(--white-faint);
}

.large-copy {
  font-size: 18px;
  line-height: 1.65;
  color: var(--white-dim);
  margin-bottom: 40px;
}

.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  stroke: #ffffff;
  display: block;
}

.highlight-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.highlight-item p {
  font-size: 14px;
  color: var(--white-dim);
  margin: 0;
}

/* Intro Visual Card */
.intro-visual-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.visual-media-box {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.visual-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--ease);
}

.intro-visual-card:hover .visual-media-box img {
  transform: scale(1.04);
}

.media-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
  border-left: 2px solid var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.visual-card-footer {
  padding: 20px 24px;
  background: var(--surface-card);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.spec-mini span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--white-faint);
  text-transform: uppercase;
}

.spec-mini strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-top: 3px;
}

/* ==========================================================================
   SECTION 02: SOLUCIONES (VENTA, RENTA, MANTENIMIENTO)
   ========================================================================== */

.services {
  padding: 140px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}

.section-head h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.94;
  margin: 0;
}

.section-note {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-item {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.service-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #bbb;
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card-item:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 15, 17, 0.9);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
}

.card-badge.featured-badge {
  background: var(--red);
}

.card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.service-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.1em;
}

.power-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  background: rgba(210, 11, 19, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
}

.service-card-item h3 {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--ink);
}

.service-card-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  border-top: 1px solid var(--paper-line);
  padding-top: 18px;
}

.card-features li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 1px solid #dcd9d2;
  border-radius: 2px;
  flex-shrink: 0;
}

.feat-check svg {
  stroke: var(--red);
  display: block;
}

.card-cta {
  margin-top: auto;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--paper-line);
}

.card-cta span {
  color: var(--red);
  font-size: 16px;
  transition: transform var(--trans);
}

.card-cta:hover {
  color: var(--red);
}

.card-cta:hover span {
  transform: translateX(4px) translateY(-2px);
}

/* Service Card Featured (Renta) */
.service-card-featured {
  border-color: var(--red);
  position: relative;
}

.service-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  z-index: 2;
}

.card-cta.featured-cta {
  color: var(--red);
}

/* ==========================================================================
   SECTION 03: CAPACIDAD (RED SECTION)
   ========================================================================== */

.capacity {
  position: relative;
  overflow: hidden;
  padding: 140px 0 160px;
  background: var(--red);
  color: #fff;
}

.capacity-noise {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.capacity-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 200px 1.2fr 1fr;
  gap: 48px;
}

.section-label-light {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

.capacity-copy h2 {
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.07em;
  margin-bottom: 30px;
}

.capacity-copy h2 strong {
  font-weight: 800;
}

.capacity-copy h2 em {
  color: rgba(255, 255, 255, 0.6);
}

.capacity-copy > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.capacity-tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.tier-card {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 22px;
  border-radius: 4px;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.tier-kw {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.tier-card p {
  font-size: 13px;
  margin: 0;
  opacity: 0.85;
}

/* Capacity Stats Column */
.capacity-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 48px;
}

.stat-box {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-box:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-number strong {
  font-family: var(--font-brand);
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.stat-number span {
  font-size: 24px;
  font-weight: 700;
  opacity: 0.85;
}

.stat-box small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}

/* ==========================================================================
   SECTION 04: GALERÍA DE EQUIPOS EN CAMPO
   ========================================================================== */

.gallery-section {
  padding: 140px 0;
  background: #0b0c0f;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.gallery-card.gallery-wide {
  grid-column: 1 / -1;
}

.gallery-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.gallery-wide .gallery-media {
  aspect-ratio: 21/9;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.04);
}

.gallery-glass {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
  background: linear-gradient(0deg, rgba(4, 5, 6, 0.96) 0%, rgba(4, 5, 6, 0.72) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.gallery-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-glass h4 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.gallery-glass p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--white-dim);
  margin-bottom: 14px;
  max-width: 520px;
}

.gallery-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-meta-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  border-radius: 2px;
}

/* ==========================================================================
   SECTION 05: INGENIERÍA & ESPECIFICACIONES
   ========================================================================== */

.engineering-section {
  padding: 140px 0;
}

.engineering-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.schematic-box {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  padding: 36px 30px 24px;
  border-radius: 4px;
  position: relative;
}

.schematic-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
}

.schematic-box img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: contrast(1.05);
}

.schematic-caption {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-align: center;
}

.engineering-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  padding: 28px;
  border-radius: 4px;
  position: relative;
  transition: transform var(--trans);
}

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

.spec-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 16px;
}

.spec-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}

.spec-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   SECTION 06: RESALDO COMPROBADO / CERTIFICACIONES
   ========================================================================== */

.proof {
  padding: 140px 0;
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.proof-visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.proof-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.visual-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(8, 9, 10, 0.9);
  padding: 6px 14px;
  border-left: 2px solid var(--red);
}

.proof-copy h2 {
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 0.94;
  margin-bottom: 24px;
}

.proof-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--white-dim);
  margin-bottom: 34px;
}

.proof-list {
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.proof-list strong {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
}

.proof-list span {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 07: SECTORES DONDE OPERAMOS
   ========================================================================== */

.sectors {
  padding: 130px 0 140px;
  overflow: hidden;
}

.sector-marquee {
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: 24px 0;
  margin: 30px 0 60px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track span {
  font-family: var(--font-brand);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.marquee-track .marquee-sep {
  color: var(--red);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 32px);
  opacity: 0.95;
  letter-spacing: -0.05em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.sector-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sector-mini-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  padding: 28px;
  border-radius: 4px;
  transition: transform var(--trans);
}

.sector-mini-card:hover {
  transform: translateY(-4px);
}

.sector-icon-box {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid #dcd9d2;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.sector-mini-card:hover .sector-icon-box {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(210, 11, 19, 0.14);
}

.sector-icon-box svg {
  stroke: var(--red);
  display: block;
}

.sector-mini-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.sector-mini-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   SECTION 08: CONTACTO Y COTIZADOR
   ========================================================================== */

.contact {
  padding: 140px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 0.94;
  margin-bottom: 24px;
}

.contact-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--white-dim);
  margin-bottom: 40px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.direct-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.direct-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--white-faint);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.direct-item a {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.direct-item a span {
  color: var(--red);
  font-size: 18px;
}

.direct-item a:hover {
  color: var(--red);
}

.direct-address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-dim);
  margin: 0;
}

/* Quote Form */
.contact-form {
  background: var(--surface-card);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 4px;
}

.form-header-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d20b13' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form select option {
  background: #111215;
  color: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--white-faint);
  font-size: 14px;
}

.contact-form .button {
  margin-top: 14px;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  min-height: 20px;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background: #040405;
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--white-dim);
  max-width: 320px;
}

.footer-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
}

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

.footer-col-nav li {
  margin-bottom: 10px;
}

.footer-col-nav a {
  font-size: 13px;
  color: var(--white-dim);
}

.footer-col-nav a:hover {
  color: var(--red);
}

.qr-box {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.qr-box img {
  width: 78px;
  height: 78px;
  background: #fff;
  padding: 4px;
  border-radius: 2px;
}

.qr-box p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--white-dim);
  margin: 0;
}

.footer-bottom-row {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-faint);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.back-to-top {
  color: #fff;
  transition: color var(--trans);
}

.back-to-top:hover {
  color: var(--red);
}

/* ==========================================================================
   CALCULATOR PAGE STYLES (calculadora.html)
   ========================================================================== */

.calc-page-header {
  padding: 130px 0 60px;
  position: relative;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.calc-page-header h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.95;
  margin-bottom: 24px;
}

.calc-page-desc {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white-dim);
}

.calc-section {
  padding: 70px 0 110px;
  background: var(--surface-dark);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.calc-panel-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
  position: relative;
}

.calc-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
}

.calc-tab-btn {
  flex: 1;
  background: none;
  border: 0;
  color: var(--white-dim);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 8px;
  cursor: pointer;
  border-radius: 2px;
  text-align: center;
  transition: background var(--trans), color var(--trans);
}

.calc-tab-btn.active {
  background: var(--red);
  color: #fff;
}

.calc-field {
  margin-bottom: 24px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 10px;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  padding: 14px 60px 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}

.calc-input:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.calc-unit {
  position: absolute;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}

.calc-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.calc-preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.calc-preset-btn:hover,
.calc-preset-btn.active {
  background: rgba(210, 11, 19, 0.2);
  border-color: var(--red);
  color: #fff;
}

.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 8px var(--red-glow);
}

.calc-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d20b13' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.calc-select option {
  background: #111215;
  color: #fff;
}

/* Right HUD / Telemetry Results */
.calc-hud {
  background: #020202;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
  position: sticky;
  top: 110px;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white-faint);
  text-transform: uppercase;
}

.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #10b981;
}

.hud-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.hud-primary-value {
  margin-bottom: 30px;
}

.hud-val-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.hud-big-num {
  font-family: var(--font-brand);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #fff;
}

.hud-big-num em {
  font-style: normal;
  font-size: 24px;
  color: var(--red);
  margin-left: 6px;
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.hud-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 3px;
}

.hud-metric-box span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--white-faint);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hud-metric-box strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.calc-capacity-alert {
  padding: 16px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.5;
}

.calc-capacity-alert.alert-warning {
  background: rgba(210, 11, 19, 0.12);
  border-left: 3px solid var(--red);
  color: var(--white-dim);
}

.calc-capacity-alert.alert-ok {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  color: #fff;
}

.calc-capacity-alert strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.calc-cta-btn {
  width: 100%;
}

/* Reference Table & FAQ Section */
.calc-guide-section {
  padding: 110px 0;
  background: var(--paper);
  color: var(--ink);
}

.calc-formulas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.formula-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  padding: 28px;
  border-radius: 4px;
}

.formula-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}

.formula-badge {
  display: inline-block;
  background: rgba(210, 11, 19, 0.1);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 2px;
  margin: 10px 0 14px;
}

.formula-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.calc-table-wrap {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  overflow-x: auto;
  margin-top: 24px;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.calc-table th {
  background: #ebe9e4;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}

.calc-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--ink-secondary);
}

.calc-table tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.calc-table strong {
  color: var(--ink);
  font-weight: 700;
}

.calc-table .min-badge {
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    height: 82px;
    padding: 0 clamp(28px, 4.5vw, 52px);
  }

  .intro-layout, .capacity-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .capacity-stats {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list-grid, .engineering-specs-grid, .sector-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-layout, .calc-formulas-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-layout, .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 76px;
  }

  .page-width {
    width: calc(100% - 48px);
  }

  .site-header {
    height: 76px;
    padding: 0 28px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 9, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 0;
    display: none;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .main-nav .nav-cta {
    margin-top: 20px;
    text-align: center;
  }

  .hero {
    min-height: 640px;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-foot {
    display: none;
  }

  .intro, .services, .capacity, .gallery-section, .engineering-section, .proof, .sectors, .contact {
    padding: 85px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
  }

  .service-list-grid, .engineering-specs-grid, .sector-cards-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card.gallery-wide .gallery-media {
    aspect-ratio: 16/10;
  }

  .contact-form {
    padding: 24px;
  }

  .calc-hud {
    position: static;
    margin-top: 24px;
    padding: 24px;
  }

  .calc-panel-card {
    padding: 24px;
  }

  .calc-tabs {
    flex-direction: column;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   CATALOG STYLES (catalogo-plantas-de-luz.html)
   ========================================================================== */
/* Catalog Page Header with Background Banner */
.catalog-page-header {
  position: relative;
  padding-top: 0;
  padding-bottom: clamp(50px, 6vw, 80px);
  background-color: #08090a;
  background-image: 
    linear-gradient(180deg, 
      rgba(8, 9, 10, 0.02) 0%, 
      rgba(8, 9, 10, 0.1) 32%, 
      rgba(8, 9, 10, 0.62) 58%, 
      rgba(8, 9, 10, 0.94) 78%, 
      #08090a 100%),
    radial-gradient(circle at 50% 25%, rgba(227, 6, 19, 0.1) 0%, transparent 60%),
    url('../assets/banner-catalogo.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* Espacio superior para que la flota de generadores arranque limpia y visible antes del texto */
.catalog-hero-backdrop-spacer {
  height: clamp(230px, 29vw, 420px);
  width: 100%;
  pointer-events: none;
}

.catalog-header-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.catalog-header-inner h1 {
  font-family: var(--font-brand);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.catalog-header-inner h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.catalog-page-desc {
  color: #cfd4d8;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.catalog-hotline-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 9, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(227, 6, 19, 0.4);
  padding: 10px 22px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.catalog-hotline-strip .hotline-pill {
  background: var(--red);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.catalog-hotline-strip a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.2s ease;
}

.catalog-hotline-strip a:hover {
  color: #ff4d5a;
}

/* Catalog Filter Bar */
.catalog-toolbar-section {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(8, 9, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.catalog-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-filter-btn {
  background: #121316;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: #181a1f;
}

.catalog-filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(227, 6, 19, 0.35);
}

.catalog-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.6;
}

.catalog-search-input {
  width: 100%;
  background: #121316;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 14px 9px 38px;
  color: #ffffff;
  font-family: var(--font-base);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.2);
}

.catalog-search-input::placeholder {
  color: #6c737a;
}

/* Results Count & Meta Strip */
.catalog-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-count-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.catalog-count-badge strong {
  color: var(--red);
}

.catalog-notice {
  font-size: 12px;
  color: #8c9298;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

/* Catalog Grid - 2 Column Layout for Improved Readability & Square Generator Images */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.catalog-card {
  background: #111215;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 6, 19, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(227, 6, 19, 0.12);
}

.catalog-card-media {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #1e2026 0%, #111215 90%);
  padding: 30px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  min-height: 290px;
}

.catalog-card-media img {
  max-width: 100%;
  max-height: 245px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.04);
}

.catalog-badge-capacity {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 9, 10, 0.85);
  border: 1px solid rgba(227, 6, 19, 0.5);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.catalog-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cdd2d6;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-card-title {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
}

.catalog-card-title span.kw-highlight {
  color: var(--red);
}

.catalog-card-model {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8c9298;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catalog-specs-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.catalog-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-spec-label {
  color: var(--text-dim);
  font-family: var(--font-base);
}

.catalog-spec-val {
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 600;
}

.catalog-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #a4abb1;
  margin-bottom: 22px;
  flex-grow: 1;
}

.catalog-card-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-catalog-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.22s ease;
}

.btn-catalog-quote:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.4);
}

.btn-catalog-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #8c9298;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: not-allowed;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-catalog-details:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #b0b7be;
}

.btn-catalog-details .details-tag {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: #a0a6ac;
  font-family: var(--font-mono);
  margin-left: 4px;
}

/* Empty State */
.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #111215;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text-dim);
}

.catalog-empty-state h3 {
  font-family: var(--font-brand);
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
}

.catalog-empty-state p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* CTA Bottom Strip */
.catalog-cta-section {
  background: linear-gradient(180deg, #121316 0%, #0d0e12 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}

.catalog-cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.catalog-cta-box h2 {
  font-family: var(--font-brand);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.catalog-cta-box p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.catalog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-card-actions {
    grid-template-columns: 1fr;
  }
  .catalog-hero-backdrop-spacer {
    height: clamp(160px, 24vw, 260px);
  }
}

@media (max-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter-tabs {
    overflow-x: auto;
    padding-bottom: 6px;
    flex-wrap: nowrap;
  }
  .catalog-filter-btn {
    white-space: nowrap;
  }
  .catalog-search-wrap {
    width: 100%;
    flex: 1 1 100%;
  }
  .catalog-specs-table {
    grid-template-columns: 1fr;
  }
  .catalog-hero-backdrop-spacer {
    height: clamp(130px, 26vw, 190px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .status-pulse {
    animation: none;
  }
}
