/* ═══════════════════════════════════════════════
   DieselControl · style.css
   Design: Industrial-Futuristic Dark Theme
   Colors: #0D0D0D (bg), #E8A400 (gold), #4CAF50 (green), #fff
   Fonts: Bebas Neue (headings), Syne (body), JetBrains Mono (code)
═══════════════════════════════════════════════ */

/* ─── LOGO IMAGE STYLES ─── */
.loader-logo-img {
  width: 420px;
  height: 160px;
  object-fit: contain;
}
.nav-logo-img {
  height: 80px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  display: block;
}
.footer-brand-link {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 90px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  display: block;
}

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #080D08;
  --bg-1: #0D130D;
  --bg-2: #121A12;
  --bg-3: #1A241A;
  --bg-light: #F2F5F0;
  --bg-light-2: #E8EDE5;
  --gold: #E8A400;
  --gold-dim: #B07C00;
  --gold-light: #FFB800;
  --green: #43A047;
  --green-bright: #66BB6A;
  --green-dim: #2E7D32;
  --green-dark: #1B5E20;
  --green-glow: rgba(67,160,71,0.25);
  --red: #E53935;
  --orange: #FF7043;
  --blue: #42A5F5;
  --purple: #AB47BC;
  --text: #EDF2ED;
  --text-dim: #7A9A7A;
  --text-muted: #4A664A;
  --border: rgba(67,160,71,0.1);
  --border-green: rgba(67,160,71,0.35);
  --border-gold: rgba(232,164,0,0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --glow-gold: 0 0 30px rgba(232,164,0,0.25);
  --glow-green: 0 0 30px rgba(67,160,71,0.3);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, button { font-family: var(--font-body); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo { width: 200px; }

.loader-bar {
  width: 240px; height: 2px;
  background: var(--bg-3);
  border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  border-radius: 2px;
  animation: loaderAnim 1.8s ease forwards;
}
@keyframes loaderAnim {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 100%; }
}
.loader-txt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-dim);
}

/* ─── NAV ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 40px;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(8,13,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 40px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
}
.nav-brand strong { color: var(--gold); }
.nav-icon { width: 32px; height: 32px; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  transition: color var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--green);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.nav-links .nav-cta:hover { background: var(--green-bright); transform: translateY(-1px); color: #fff; }

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; z-index: 999;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 0;
  padding: 16px 0;
  transform: translateY(-10px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mm-link {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mm-link:hover { color: var(--text); }
.mm-cta { color: var(--gold); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTIONS ─── */
.section-dark {
  background: var(--bg-1);
  padding: 100px 0;
}
.section-light {
  background: var(--bg-light);
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark .section-label { color: var(--green-bright); }
.section-light .section-label { color: var(--green-dim); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 60px;
}
.section-dark .section-title { color: var(--text); }
.section-light .section-title { color: var(--bg-0); }

.accent { color: var(--gold); }
.section-light .accent { color: var(--green-dim); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
  gap: 60px;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(67,160,71,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,160,71,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(67,160,71,0.14), transparent 70%);
  top: -200px; left: -200px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,164,0,0.08), transparent 70%);
  bottom: -100px; right: -100px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(67,160,71,0.1);
  border: 1px solid var(--border-green);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--green-bright);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title-accent { color: var(--gold); }

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto; margin-right: auto;
}

.hero-ctas {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: var(--glow-green);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-green);
  color: var(--green-bright);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-ghost:hover {
  background: rgba(67,160,71,0.1);
  transform: translateY(-2px);
}
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.stat-item {
  padding: 20px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--green-bright);
  line-height: 1;
}
.stat-unit { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-bright); }
.stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 60px; background: var(--border); }

/* Hardware Visual */
.hero-hardware {
  display: flex; align-items: center; gap: 20px;
  position: relative; z-index: 1;
  flex-wrap: wrap; justify-content: center;
}

.hw-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  width: 260px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hw-card:hover {
  border-color: var(--border-green);
  box-shadow: var(--glow-green);
}
.hw-esp:hover { border-color: var(--border-green); box-shadow: var(--glow-green); }
.hw-relay:hover { border-color: var(--border-green); box-shadow: var(--glow-green); }
.hw-sensor:hover { border-color: var(--border-gold); box-shadow: var(--glow-gold); }

.hw-glow {
  position: absolute; top: -50px; right: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(67,160,71,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hw-glow-green {
  background: radial-gradient(circle, rgba(67,160,71,0.18), transparent 70%);
}
.hw-glow-gold {
  background: radial-gradient(circle, rgba(232,164,0,0.18), transparent 70%);
}

.hw-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 2px; color: var(--green-bright);
  text-transform: uppercase; margin-bottom: 12px;
}
.hw-sensor .hw-label { color: var(--gold); }

.circuit-svg, .hw-sensor-viz svg { width: 100%; }

.pulse-dot { animation: pulseGreen 2s infinite; }
@keyframes pulseGreen {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.sensor-pulse { animation: pulseGreen 1.5s infinite; }

.hw-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.hw-tags span {
  background: rgba(67,160,71,0.1);
  border: 1px solid var(--border-green);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--green-bright);
}
.hw-sensor .hw-tags span {
  background: rgba(232,164,0,0.1);
  border-color: var(--border-gold);
  color: var(--gold);
}
.hw-tags-relay span {
  background: rgba(67,160,71,0.08) !important;
  border-color: rgba(67,160,71,0.25) !important;
  color: var(--green-dim) !important;
}

/* hw-connector with label */
.hw-connector {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-dim);
}
.hw-signal-line {
  width: 2px; height: 32px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  border-radius: 2px;
}
.hw-signal-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; color: var(--green-dim);
  text-transform: uppercase;
}
.hw-arrow { width: 18px; height: 18px; color: var(--green); transform: rotate(90deg); }

/* hw-connector styles handled above */

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 3px; color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── PROBLEMA ─── */
.problema-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.problema-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.problema-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,164,0,0.3);
}
.pc-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--bg-3);
  position: absolute; top: 20px; right: 20px;
  line-height: 1;
}
.pc-icon {
  width: 36px; height: 36px; margin-bottom: 16px;
}
.pc-icon-red { color: var(--red); }
.pc-icon-orange { color: var(--orange); }
.pc-icon-yellow { color: var(--gold); }

.problema-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--text);
}
.problema-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.pc-impact {
  background: var(--bg-3);
  border-radius: 8px;
  padding: 12px;
}
.impact-label {
  display: block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 2px; color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.impact-val {
  font-size: 13px; font-weight: 600; color: var(--gold);
}

.problema-cta {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
}
.pcta-line { flex: 1; height: 1px; background: var(--border); }
.problema-cta p {
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 520px;
  flex-shrink: 0;
}

/* ─── CARACTERÍSTICAS ─── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Dark cards (default) */
.feat-card {
  background: #111A11;
  border: 1px solid rgba(67,160,71,0.15);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.4), 0 0 0 1px rgba(67,160,71,0.3);
  border-color: rgba(67,160,71,0.4);
}

/* Light main card */
.feat-main {
  grid-column: span 2;
  background: linear-gradient(140deg, #F6FAF6 0%, #EDF5EC 100%);
  border-color: rgba(67,160,71,0.25);
}
.feat-main:hover {
  border-color: rgba(67,160,71,0.5);
  box-shadow: 0 16px 44px rgba(67,160,71,0.12);
}

.fc-header {
  display: flex; align-items: center; justify-content: space-between;
}
.fc-icon { width: 30px; height: 30px; color: var(--green-bright); }
.fc-green { color: var(--green-bright); }
.fc-orange { color: #FF8A65; }
.fc-yellow { color: var(--gold); }
.fc-blue { color: #64B5F6; }
.fc-purple { color: #CE93D8; }

/* Icons on light card stay dark */
.feat-main .fc-icon { color: var(--green-dim); }

.fc-badge {
  background: rgba(67,160,71,0.15);
  border: 1px solid rgba(67,160,71,0.4);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 2px; color: var(--green-bright);
}
.feat-main .fc-badge { color: var(--green-dim); background: rgba(67,160,71,0.1); }

/* Headings */
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #E8F5E9;
  line-height: 1.2;
}
.feat-main h3 { color: #1a1a1a; }

/* Body text */
.feat-card p {
  font-size: 14px; line-height: 1.75;
  color: #A5C8A5;
  flex: 1;
}
.feat-main p { color: #2d3d2d; }
.feat-main strong { color: #111; font-weight: 700; }
.feat-card strong { color: #E8F5E9; font-weight: 700; }

/* Checklist */
.fc-list { display: flex; flex-direction: column; gap: 8px; }
.fc-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #B8D8B8;
}
.feat-main .fc-list li { color: #2d3d2d; }
.li-icon { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.feat-main .li-icon { color: var(--green-dim); }

/* Metric box */
.fc-metric {
  background: rgba(67,160,71,0.1);
  border: 1px solid rgba(67,160,71,0.3);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin-top: auto;
}
.fm-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem; color: var(--green-bright);
  line-height: 1;
}
.feat-main .fm-val { color: var(--green-dim); }
.fm-label { font-size: 11px; color: #7AAA7A; margin-top: 3px; display: block; }
.feat-main .fm-label { color: #555; }

/* Tags */
.fc-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
}
.fc-tags span {
  background: rgba(67,160,71,0.1);
  border: 1px solid rgba(67,160,71,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono); font-size: 10px;
  color: #88C888;
}

/* Formula box */
.fc-formula {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(67,160,71,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: auto;
}
.fc-formula code {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--green-bright);
}

/* ─── BENEFICIOS ─── */
.beneficios-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.ben-ring-wrap {
  display: flex; justify-content: center;
}
.ben-ring-svg { width: 300px; height: 300px; }

.ring-progress {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-progress-2 {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.ben-items { display: flex; flex-direction: column; gap: 28px; }

.ben-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.bi-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(232,164,0,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bi-green { background: rgba(76,175,80,0.1); border-color: rgba(76,175,80,0.3); }
.bi-orange { background: rgba(255,112,67,0.1); border-color: rgba(255,112,67,0.3); }
.bi-blue { background: rgba(66,165,245,0.1); border-color: rgba(66,165,245,0.3); }
.bi-icon { width: 20px; height: 20px; color: var(--gold); }
.bi-green .bi-icon { color: var(--green); }
.bi-orange .bi-icon { color: var(--orange); }
.bi-blue .bi-icon { color: var(--blue); }

.bi-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 6px;
}
.bi-content p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.bi-bar {
  height: 3px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
}
.bi-fill {
  height: 100%; width: 0;
  background: var(--gold);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bi-fill-green { background: var(--green); }
.bi-fill-orange { background: var(--orange); }
.bi-fill-blue { background: var(--blue); }

/* ─── PROCESO ─── */
.proceso-timeline {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.proceso-timeline::before {
  content: '';
  position: absolute;
  left: 44px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--green), transparent);
}

.pt-step {
  display: flex;
  gap: 24px;
  padding: 0 0 48px 0;
  position: relative;
}
.pts-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-dim);
  width: 88px;
  text-align: center;
  padding-top: 20px;
  flex-shrink: 0;
}

.pts-content {
  background: var(--bg-0);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 24px;
  flex: 1;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pts-content:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.pts-icon-wrap {
  width: 40px; height: 40px;
  background: rgba(232,164,0,0.08);
  border: 1px solid rgba(232,164,0,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.pts-icon { width: 20px; height: 20px; color: var(--gold-dim); }
.pts-green { color: var(--green-dim); }
.pts-blue { color: #1a78c2; }
.pts-red { color: #b71c1c; }
.pts-yellow { color: #c88c00; }
.pts-icon-wrap:has(.pts-green) { background: rgba(76,175,80,0.08); border-color: rgba(76,175,80,0.2); }
.pts-icon-wrap:has(.pts-blue) { background: rgba(66,165,245,0.08); border-color: rgba(66,165,245,0.2); }
.pts-icon-wrap:has(.pts-red) { background: rgba(229,57,53,0.08); border-color: rgba(229,57,53,0.2); }

.pts-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 0.5px;
  color: var(--bg-0); margin-bottom: 8px;
}
.pts-content p {
  font-size: 14px; line-height: 1.7;
  color: #444;
}

/* ─── PLATAFORMA ─── */
.platform-tabs {
  display: flex; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 40px;
}
.ptab {
  background: none; border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}
.ptab.active {
  background: var(--gold);
  color: var(--bg-0);
}
.ptab:hover:not(.active) { color: var(--text); }

.platform-screens { position: relative; }
.pscreen { display: none; }
.pscreen.active { display: block; }

.pscreen > div { opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
.pscreen.active > div { opacity: 1; transform: translateY(0); }

.screen-mock {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sm-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.sm-dot { width: 10px; height: 10px; border-radius: 50%; }
.sm-dot.r { background: #E53935; }
.sm-dot.y { background: #FBC02D; }
.sm-dot.g { background: var(--green); }
.sm-url {
  margin-left: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
}

/* Dashboard mock */
.sm-content { padding: 0; }
.dashboard-mock { display: flex; min-height: 360px; }
.dm-sidebar {
  width: 160px; background: var(--bg-1);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.dms-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 12px; color: var(--text-muted);
  transition: var(--transition);
}
.dms-item:hover { color: var(--text-dim); background: var(--bg-3); }
.dms-item.active { color: var(--gold); background: rgba(232,164,0,0.08); border-left: 2px solid var(--gold); }
.dms-icon { width: 14px; height: 14px; }

.dm-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dm-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.dm-btn-live {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1px; color: var(--green);
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.dm-live-dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: pulse 1.5s infinite;
}

.dm-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.dm-kpi {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.dk-label { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.dk-val { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.dk-green { color: var(--green); }
.dk-orange { color: var(--orange); }
.dk-yellow { color: var(--gold); }
.dk-blue { color: var(--blue); }
.dk-bar { height: 3px; background: var(--bg-2); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.dk-fill { height: 100%; background: var(--green); width: 73%; border-radius: 3px; }

.dm-chart-area {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.dm-chart-label { display: block; font-size: 10px; color: var(--text-dim); margin-bottom: 10px; }
.dm-bars { display: flex; gap: 4px; align-items: flex-end; height: 60px; }
.dm-bar-item {
  flex: 1; height: var(--h);
  background: rgba(232,164,0,0.3);
  border-radius: 3px 3px 0 0;
  transition: var(--transition);
}
.dm-bar-active { background: var(--gold) !important; }
.dm-bar-item:hover { background: var(--gold); }

.dm-status {
  background: rgba(76,175,80,0.05);
  border: 1px solid rgba(76,175,80,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px; color: var(--text-dim);
}
.dms-label { color: var(--text-muted); }
.dms-val { color: var(--green); margin-left: 8px; font-family: var(--font-mono); font-size: 11px; }

/* Reportes mock */
.reportes-mock { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.rm-header { display: flex; align-items: center; justify-content: space-between; }
.rm-title { font-size: 15px; font-weight: 700; color: var(--text); }
.rm-actions { display: flex; gap: 6px; }
.rm-btn {
  padding: 5px 10px;
  border-radius: 5px; border: none;
  font-size: 10px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body);
}
.rm-pdf { background: #E53935; color: #fff; }
.rm-excel { background: #2E7D32; color: #fff; }
.rm-csv { background: var(--bg-3); color: var(--text-dim); border: 1px solid var(--border); }

.rm-filters {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-dim);
  flex-wrap: wrap;
}
.rmf-label { color: var(--text-muted); }
.rmf-val { color: var(--text); font-weight: 600; }
.rm-apply {
  background: var(--gold); color: var(--bg-0);
  border: none; border-radius: 4px; padding: 5px 10px;
  font-size: 10px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.rm-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rms-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px; text-align: center;
}
.rms-gold { border-color: var(--border-gold); background: rgba(232,164,0,0.06); }
.rms-green { border-color: rgba(76,175,80,0.3); background: rgba(76,175,80,0.06); }
.rms-v { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.rms-gold .rms-v { color: var(--gold); }
.rms-green .rms-v { color: var(--green); }
.rms-l { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.rm-mini-chart { display: flex; gap: 4px; align-items: flex-end; height: 50px; }
.rmc-bar {
  flex: 1; height: var(--h);
  background: rgba(232,164,0,0.4);
  border-radius: 3px 3px 0 0;
}

/* Historial mock */
.historial-mock { padding: 20px; min-height: 320px; }
.hm-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.hm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-vehicle {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px;
}
.hm-alert { border-color: rgba(229,57,53,0.3); background: rgba(229,57,53,0.05); }
.hm-vname { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.5px; }
.hm-vals { display: flex; justify-content: space-between; }
.hm-km { font-size: 12px; color: var(--text-dim); }
.hm-rend { font-size: 12px; font-weight: 700; font-family: var(--font-mono); }
.hm-gold { color: var(--gold); }
.hm-green { color: var(--green); }
.hm-red { color: var(--red); }
.hm-gray { color: var(--text-muted); }

.screen-desc { padding: 0 4px; }
.screen-desc h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: 0.5px;
  color: var(--text); margin-bottom: 8px;
}
.screen-desc p { font-size: 14px; line-height: 1.7; color: var(--text-dim); }

/* ─── TECH SECTION ─── */
.tech-section { background: var(--bg-light); }

.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 60px;
}
.tech-item {
  background: var(--bg-0);
  border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column; gap: 10px;
}
.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.ti-icon-wrap {
  width: 48px; height: 48px;
  background: var(--bg-1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ti-svg { width: 28px; height: 28px; }
.tech-item span { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.5px; color: var(--text); }
.tech-item p { font-size: 13px; line-height: 1.6; color: var(--text-dim); }

.trust-badges {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 32px;
  flex: 1; min-width: 200px;
}
.tb-icon { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; }
.tb-item span { font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.tb-item strong { color: var(--text); font-weight: 700; }
.tb-divider { width: 1px; height: 60px; background: var(--border); }

/* ─── CTA FINAL ─── */
.section-cta {
  background: var(--bg-0);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,160,71,0.12), transparent 70%);
  top: -200px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,164,0,0.07), transparent 70%);
  bottom: -100px; right: -100px;
}

.cta-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.cta-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 4px; color: var(--gold);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05; letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px; line-height: 1.7;
  color: var(--text-dim); margin-bottom: 40px;
}

.cta-form {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-input, .cf-textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition);
  width: 100%;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--text-muted); }
.cf-input:focus, .cf-textarea:focus {
  outline: none;
  border-color: var(--border-gold);
}
.cf-textarea { resize: vertical; min-height: 80px; }
.cf-submit {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cf-submit:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: var(--glow-green);
}

.cta-alts {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 24px; flex-wrap: wrap;
}
.cta-alt-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-dim);
  transition: color var(--transition);
}
.cta-alt-link:hover { color: var(--green-bright); }
.ca-icon { width: 16px; height: 16px; }

/* ─── FOOTER ─── */
#footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.fg-brand .nav-brand { margin-bottom: 16px; }
.footer-brand { font-size: 20px; }
.fg-brand p {
  font-size: 13px; line-height: 1.7;
  color: var(--text-dim); max-width: 280px;
  margin-bottom: 8px;
}
.fg-domain {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); letter-spacing: 1px;
}

.fg-links {
  display: flex; flex-direction: column; gap: 10px;
}
.fg-links h5 {
  font-family: var(--font-display);
  font-size: 0.95rem; letter-spacing: 1px;
  color: var(--text); margin-bottom: 4px;
}
.fg-links a, .fg-links span {
  font-size: 13px; color: var(--text-dim);
  transition: color var(--transition);
}
.fg-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
  flex-wrap: wrap; gap: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .problema-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-main { grid-column: span 2; }
  .beneficios-layout { grid-template-columns: 1fr; }
  .ben-ring-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { flex-wrap: wrap; }
  .tb-divider { display: none; }
  .tb-item { flex: none; width: 50%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* ── Navbar & logo ── */
  #navbar { padding: 8px 16px; }
  #navbar.scrolled { padding: 6px 16px; }
  .nav-logo-img {
    height: 44px;
    max-width: 200px;
  }
  .mobile-menu { top: 62px; }

  #hero { padding: 100px 20px 60px; gap: 40px; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-hardware { flex-direction: column; }
  .hw-connector { transform: none; }
  .hw-card { width: 100%; max-width: 380px; }

  .section-dark, .section-light, .section-cta { padding: 70px 0; }

  .problema-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-main { grid-column: span 1; }

  .dm-kpis { grid-template-columns: 1fr 1fr; }
  .hm-grid { grid-template-columns: 1fr; }
  .rm-summary { grid-template-columns: 1fr 1fr; }

  .proceso-timeline::before { left: 20px; }
  .pts-num { width: 40px; }

  .platform-tabs { flex-wrap: wrap; }
  .ptab { font-size: 12px; padding: 8px 14px; }

  .cf-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .tb-item { width: 100%; }

  .tech-grid { grid-template-columns: 1fr 1fr; }

  .trust-badges { flex-direction: column; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .problema-cta { flex-direction: column; }
  .pcta-line { width: 60px; height: 1px; }

  .dm-sidebar { display: none; }

  /* Footer logo on mobile */
  .footer-logo-img {
    height: 56px;
    max-width: 220px;
  }

  /* Loader logo on mobile */
  .loader-logo-img {
    width: 240px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
  .tech-grid { grid-template-columns: 1fr; }
  .rm-summary { grid-template-columns: 1fr; }
  .dm-kpis { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stat-item { padding: 14px 20px; }
  .cta-form { padding: 20px; }

  /* Logo even more compact on very small screens */
  .nav-logo-img {
    height: 36px;
    max-width: 160px;
  }
  .loader-logo-img {
    width: 180px;
    height: 68px;
  }
}