/* ═══════════════════════════════════════
   V14 INNOVATIVE — DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --green: #00c853;
  --green-dim: rgba(0, 200, 83, 0.15);
  --blue: #00b8ff;
  --blue-dim: rgba(0, 184, 255, 0.15);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.15);
  --amber: #ffb300;
  --amber-dim: rgba(255, 179, 0, 0.15);
  --red: #ff4d4d;
  --red-dim: rgba(255, 77, 77, 0.15);
  --bg: #060b14;
  --bg2: #0d1520;
  --bg3: #141e2e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.15);
  --text: #f0f2f5;
  --text-dim: rgba(240, 242, 245, 0.55);
  --text-muted: rgba(240, 242, 245, 0.35);
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 64px;
  --section-py: clamp(80px, 12vh, 140px);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --max-w: 1200px;
}
[data-theme="light"] {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #f1f5f9;
  --surface: rgba(0, 0, 0, 0.02);
  --surface-hover: rgba(0, 0, 0, 0.05);
  --border: rgba(0, 0, 0, 0.06);
  --border-active: rgba(0, 0, 0, 0.12);
  --text: #0f172a;
  --text-dim: #475569;
  --text-muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  /* Colores más vibrantes para fondo blanco */
  --green: #008a3c; /* Contraste mejorado (WCAG) */
  --blue: #0070cc;
  --purple: #7e22ce;
  --amber: #c2410c;
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
img,
video {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
}

/* ═══ UTILITIES ═══ */
.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text--red {
  background: linear-gradient(135deg, var(--red), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 40px;
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.val--bad {
  color: var(--red);
  font-weight: 600;
}
.val--good {
  color: var(--green);
  font-weight: 600;
}
.accent {
  color: var(--green);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--green), #00e676);
  color: #000;
  box-shadow: 0 0 0 0 var(--green-dim);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--green-dim);
}
.btn--glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: var(--surface-hover);
  border-color: var(--border-active);
}
.btn--glow {
  animation: btnGlow 3s ease-in-out infinite;
}
.btn--lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}
.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
@keyframes btnGlow {
  0%,
  100% {
    box-shadow: 0 0 15px var(--green-dim);
  }
  50% {
    box-shadow:
      0 0 30px var(--green-dim),
      0 0 60px rgba(0, 200, 83, 0.1);
  }
}

/* ═══ GLOBAL BG ═══ */
.aurora {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(0, 200, 83, 0.1),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .aurora {
  background: radial-gradient(
    ellipse 80% 60% at 50% -10%,
    rgba(0, 184, 255, 0.05),
    transparent 80%
  );
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  transition: all 1s ease;
}
[data-theme="light"] .orb {
  opacity: 0.08;
  filter: blur(120px);
}
.orb--1 {
  width: 600px;
  height: 600px;
  background: var(--green);
  top: -200px;
  left: -200px;
}
.orb--2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -150px;
  right: -150px;
}
.orb--3 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.noise {
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".85" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity=".03"/></svg>');
  pointer-events: none;
  z-index: 1;
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
}
.cursor {
  display: none;
}
.theme-wipe {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(6, 11, 20, 0.6);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
[data-theme="light"] .navbar {
  background: rgba(245, 247, 250, 0.8);
}
.navbar.scrolled {
  background: rgba(6, 11, 20, 0.9);
  box-shadow: var(--shadow);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.navbar__logo .powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.powered-by span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.6;
}
.powered-by img {
  height: 36px;
  width: auto;
  filter: grayscale(1) invert(1) brightness(1.2);
  opacity: 0.7;
  transition: all 0.4s ease;
  mix-blend-mode: screen;
}
[data-theme="light"] .powered-by img {
  filter: grayscale(0.2) contrast(1.1);
  opacity: 0.9;
  mix-blend-mode: multiply;
}
.powered-by:hover span {
  opacity: 1;
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 149, 0.4);
}
.powered-by:hover img {
  filter: grayscale(0) brightness(1.4) contrast(1.6) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  opacity: 1;
  /* No scale-up on hover */
  mix-blend-mode: normal;
}
.navbar__logo img {
  border-radius: 6px;
}
.navbar__logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.navbar__logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.navbar__links {
  display: flex;
  gap: 28px;
}
.navbar__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}
.navbar__links a:hover {
  color: var(--green);
}
.navbar__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}
.navbar__links a:hover::after {
  width: 100%;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar__cta {
  padding: 8px 20px;
  border-radius: var(--radius);
  background: var(--green-dim);
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.navbar__cta:hover {
  background: var(--green);
  color: #000;
}
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.navbar__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--border-active);
}
.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="light"] .theme-toggle__sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="light"] .theme-toggle__moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 11, 20, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
.mobile-link:hover {
  color: var(--green);
}
.mobile-overlay__cta {
  margin-top: 16px;
  padding: 14px 32px;
  background: var(--green);
  color: #000;
  border-radius: var(--radius);
  font-weight: 700;
}

/* Dot nav */
.dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dot-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  transition: all 0.3s;
  position: relative;
}
.dot-nav__dot.active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-dim);
}
.dot-nav__dot::before {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  white-space: nowrap;
  color: var(--text-dim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dot-nav__dot:hover::before {
  opacity: 1;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  position: relative;
}
.hero__video-wrap {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 125%;
  z-index: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 11, 20, 0.3) 0%,
    rgba(6, 11, 20, 0.6) 50%,
    rgba(6, 11, 20, 0.9) 100%
  );
  backdrop-filter: saturate(1.2);
}
[data-theme="light"] .hero__video-overlay {
  background: linear-gradient(
    to bottom,
    transparent 85%,
    rgba(255, 255, 255, 0.15) 100%
  ) !important; /* Degradado blanco muy sutil y pequeño al final */
  backdrop-filter: none !important;
  z-index: 3;
}
.hero__photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__photo-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
/* En modo claro, mantenemos la imagen del edificio pero permitimos que el video sea el protagonista */
[data-theme="light"] .hero__photo-fallback {
  display: none !important; /* Evitamos que cualquier imagen estática interfiera con el video */
}
[data-theme="light"] .hero__photo-dark {
  display: block;
}
[data-theme="light"] .hero__photo-light {
  display: none;
}
[data-theme="light"] .hero__video-wrap {
  opacity: 1;
  z-index: 2;
  filter: none; /* Eliminamos el aumento de brillo */
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.08;
  pointer-events: none;
}
.hero__grid line {
  stroke: rgba(255, 255, 255, 0.1); /* Siempre clara para no manchar el video */
  stroke-width: 0.5;
}
.hero .accent {
  color: #ffffff !important; /* Forzamos blanco en acentos dentro del Hero */
}
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__spotlight {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 200, 83, 0.08) 0%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}
[data-theme="light"] .hero__spotlight,
[data-theme="light"] .aurora {
  opacity: 0 !important; /* Eliminamos cualquier rastro de luz o color extraño sobre el video */
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  width: 100%; /* Bloquea el ancho para evitar oscilaciones del padre */
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}
.hero__badge-pulse {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.hero__badge svg {
  margin-left: 12px;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--green-dim);
  }
  50% {
    box-shadow: 0 0 0 8px transparent;
  }
}
.hero__title,
[data-theme="light"] .hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff !important; /* Blanco puro obligatorio en ambos temas */
}
.hero__line {
  display: block;
}
.typed-cursor {
  color: var(--green);
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
  margin-left: 4px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero__tagline,
[data-theme="light"] .hero__tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8) !important;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  min-height: 5.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: justify;
  text-align-last: center;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  width: 100%; /* Asegura que el contenedor de stats no se redimensione */
  margin: 0 auto;
}
.hero__stat-card {
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}
.hero__stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}
.hero__stat-card--green:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-dim);
}
.hero__stat-card--blue:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px var(--blue-dim);
}
.hero__stat-card--purple:hover {
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-dim);
}
.hero__stat-card--amber:hover {
  border-color: var(--amber);
  box-shadow: 0 0 20px var(--amber-dim);
}
.hero__stat-num,
[data-theme="light"] .hero__stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  color: #ffffff !important;
}
.hero__stat-label,
[data-theme="light"] .hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 4px;
  display: block;
}
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  z-index: 3;
  animation: floatY 2s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
.trust-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: rgba(6, 11, 20, 0.5);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .trust-strip {
  background: rgba(245, 247, 250, 0.6);
}
.trust-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.trust-strip__content {
  display: flex;
  gap: 40px;
  padding: 10px 20px;
  white-space: nowrap;
}
.trust-strip__item {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══ PROBLEMA ═══ */
.section--problem {
  background: var(--bg2);
}
.section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.20;
}
.problem__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.problem__big-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.problem__number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.problem__percent {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--red);
  font-weight: 700;
}
.problem__desc {
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-top: 8px;
}
.problem__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1200px) {
  .problem__grid {
    grid-template-columns: 1fr;
  }
  .problem__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .problem__cards {
    grid-template-columns: 1fr;
  }
}
.problem__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.4s;
}
.problem__card:hover {
  border-color: var(--red);
  background: var(--red-dim);
  transform: translateY(-4px);
}
.problem__card svg {
  color: var(--red);
  margin-bottom: 12px;
}
.problem__card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.problem__card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.deadline-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.deadline-bar__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.deadline-bar__you {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.8rem;
}
.deadline-bar__target {
  color: var(--red);
  font-weight: 700;
}
.deadline-bar__track {
  height: 8px;
  background: var(--bg3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.deadline-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--red));
  transition: width 1.5s ease;
}
.deadline-bar__marker {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 20px;
  background: var(--amber);
  border-radius: 2px;
  left: 0;
  transition: left 1.5s ease;
  box-shadow: 0 0 8px var(--amber);
}

/* ═══ SOLUCIÓN ═══ */
.section--solution {
  text-align: center;
}
.ba-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg3);
  cursor: ew-resize;
  border: 1px solid var(--border);
}
.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-slider__after {
  clip-path: inset(0 50% 0 0);
}
.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
}
.ba-slider__before .ba-placeholder {
  background: linear-gradient(
    135deg,
    rgba(255, 77, 77, 0.1),
    rgba(255, 179, 0, 0.1)
  );
}
.ba-slider__after .ba-placeholder {
  background: linear-gradient(
    135deg,
    rgba(0, 200, 83, 0.1),
    rgba(0, 184, 255, 0.1)
  );
}
.ba-slider__label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 3;
}
.ba-slider__label--before {
  left: 16px;
  background: rgba(255, 77, 77, 0.2);
  color: var(--red);
}
.ba-slider__label--after {
  right: 16px;
  background: rgba(0, 200, 83, 0.2);
  color: var(--green);
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  cursor: ew-resize;
}
.ba-slider__handle-line {
  flex: 1;
  width: 2px;
  background: white;
}
.ba-slider__handle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.ba-slider__handle-btn svg {
  color: #000;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 24px;
}
.compare-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
}
.compare-item--red {
  border-left: 3px solid var(--red);
}
.compare-item--green {
  border-left: 3px solid var(--green);
}
.compare-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.compare-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.compare-item__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.compare-item__row:last-child {
  border: none;
}
.solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ═══ SOLUTION COMPARE ═══ */
.sol-compare__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  text-align: center;
  margin: 32px 0 8px;
  color: var(--text);
}
.sol-compare {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  margin: 48px auto;
  max-width: 1000px;
  position: relative;
}
.sol-compare__card {
  flex: 1;
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0 40px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}
.sol-compare__card--bad {
  opacity: 0.8;
}
.sol-compare__card--good {
  opacity: 1;
  transform: scale(1.02);
}
.sol-compare__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(255, 77, 77, 0.08);
  color: var(--red);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 77, 77, 0.15);
  box-shadow: inset 0 0 10px rgba(255, 77, 77, 0.05);
}
.sol-compare__tag--good {
  background: rgba(0, 200, 83, 0.08);
  color: var(--green);
  border-color: rgba(0, 200, 83, 0.15);
  box-shadow: inset 0 0 10px rgba(0, 200, 83, 0.05);
}
.sol-compare__cert-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.sol-compare__cert {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  margin: 4px 0 8px;
}
.sol-compare__cert--bad {
  color: var(--red);
}
.sol-compare__cert--good {
  color: var(--green);
}

/* Energy Label Sticker */
.energy-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  max-width: 280px;
  margin: 0 auto;
}
.energy-label__bar {
  padding: 3px 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 2px 8px 8px 2px;
  text-align: right;
  transition: all 0.4s;
  opacity: 0.3;
  letter-spacing: 0.5px;
}
.energy-label__bar--active {
  opacity: 1;
  font-size: 0.9rem;
  padding: 6px 14px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transform: scaleX(1.08);
  transform-origin: left;
}
.energy-label__bar--a {
  background: #00a651;
  width: 40%;
}
.energy-label__bar--b {
  background: #51b847;
  width: 50%;
}
.energy-label__bar--c {
  background: #bdd62e;
  width: 60%;
}
.energy-label__bar--d {
  background: #fff200;
  width: 70%;
  color: rgba(0, 0, 0, 0.3);
}
.energy-label__bar--d.energy-label__bar--active {
  color: rgba(0, 0, 0, 0.8);
}
.energy-label__bar--e {
  background: #f7941d;
  width: 80%;
}
.energy-label__bar--f {
  background: #ed1c24;
  width: 90%;
}
.energy-label__bar--g {
  background: #b2232b;
  width: 100%;
}
.sol-compare__cert-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.sol-compare__rows {
  text-align: left;
}
.sol-compare__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.sol-compare__row:last-child {
  border: none;
}
.sol-compare__bar {
  height: 8px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.sol-compare__bar-fill {
  height: 100%;
  border-radius: 4px;
  width: var(--fill);
  transition: width 1.5s ease;
}
.sol-compare__bar-fill--bad {
  background: linear-gradient(90deg, var(--red), rgba(255, 77, 77, 0.5));
}
.sol-compare__bar-fill--good {
  background: linear-gradient(90deg, var(--green), rgba(0, 200, 83, 0.5));
}
.sol-compare__bar-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}
.sol-compare__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 0 40px;
  position: relative;
}
.sol-compare__arrow::before {
  content: '';
  position: absolute;
  top: -60px;
  bottom: -60px;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
  z-index: -1;
}
.sol-compare__arrow span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.calc-tech {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.val--bad {
  color: var(--red);
  font-weight: 700;
}
.val--good {
  color: var(--green);
  font-weight: 700;
}

/* ═══ SOLUTION STAT ═══ */
.sol-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto 48px;
}
.sol-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.sol-stat__text {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ═══ SOLUTION PILLARS ═══ */
.sol-pillars {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 960px;
  margin: 0 auto 40px;
  position: relative;
}
.sol-pillar {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s;
}
.sol-pillar:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.sol-pillar__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bg3);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}
.sol-pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.sol-pillar__icon--green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green);
}
.sol-pillar__icon--blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid var(--blue);
}
.sol-pillar__icon--amber {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid var(--amber);
}
.sol-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.sol-pillar p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}
.sol-pillar__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--bg3);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}
.sol-pillar__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  position: relative;
}
.sol-pillar__connector-fill {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--border),
    var(--green),
    var(--border)
  );
}

/* ═══ BENTO GRID ═══ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 32px;
}
.problem__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
.problem__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-premium);
}
[data-theme="light"] .problem__card {
  background: var(--bg);
}
.bento-card__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.bento-card:hover .bento-card__glow {
  opacity: 1;
}
.bento-card--green .bento-card__glow {
  background: radial-gradient(
    circle at 30% 30%,
    var(--green-dim),
    transparent 70%
  );
}
.bento-card--blue .bento-card__glow {
  background: radial-gradient(
    circle at 30% 30%,
    var(--blue-dim),
    transparent 70%
  );
}
.bento-card--purple .bento-card__glow {
  background: radial-gradient(
    circle at 30% 30%,
    var(--purple-dim),
    transparent 70%
  );
}
.bento-card--amber .bento-card__glow {
  background: radial-gradient(
    circle at 30% 30%,
    var(--amber-dim),
    transparent 70%
  );
}
.bento-card--hero {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card--wide {
  grid-column: span 2;
}
.bento-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.bento-card__number span {
  font-size: 0.6em;
  font-weight: 600;
}
.bento-card--green .bento-card__number {
  color: var(--green);
}
.bento-card--blue .bento-card__number {
  color: var(--blue);
}
.bento-card--purple .bento-card__number {
  color: var(--purple);
}
.bento-card--amber .bento-card__number {
  color: var(--amber);
}
.bento-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.bento-card__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}
.bento-spark {
  width: 100%;
  height: 60px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.bento-spark__line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2s ease;
}
.bento-card.animated .bento-spark__line {
  stroke-dashoffset: 0;
}
.bento-donut {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
}
.bento-donut__fill {
  stroke-dasharray: 0 201;
  transition: stroke-dasharray 1.5s ease;
}
.bento-card.animated .bento-donut__fill {
  stroke-dasharray: 150 201;
}
.bento-progress {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.bento-progress__track {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.bento-progress__fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--purple);
  transition: width 1.5s ease;
}
.bento-card.animated .bento-progress__fill {
  width: var(--fill);
}
.bento-progress__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
.bento-card__inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.bento-bar {
  width: 28px;
  background: var(--amber-dim);
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  position: relative;
}
.bento-bar span {
  font-size: 0.55rem;
  color: var(--text-muted);
  position: absolute;
  bottom: -16px;
  white-space: nowrap;
}
.bento-bar--accent {
  background: var(--amber) !important;
}
.bento-card.animated .bento-bar {
  height: var(--h);
}
.benefits__pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.benefit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}
.benefit-pill:hover {
  border-color: var(--green);
  background: var(--green-dim);
}

/* ═══ BENEFIT CARDS ═══ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* ═══ EDITORIAL BENEFITS ═══ */
/* ═══ EDITORIAL BENEFITS (HORIZONTAL) ═══ */
.benefits-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}
.benefit-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}
.benefit-col__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -2px;
  opacity: 0.8;
  margin-bottom: 24px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background-clip: text;
  -webkit-background-clip: text;
}
/* Individual Colors */
.benefit-col:nth-child(1) .benefit-col__number { color: var(--green); opacity: 0.9; }
.benefit-col:nth-child(2) .benefit-col__number { color: var(--blue); opacity: 0.9; }
.benefit-col:nth-child(3) .benefit-col__number { color: var(--amber); opacity: 0.9; }
.benefit-col:nth-child(4) .benefit-col__number { color: var(--purple); opacity: 0.9; }

.benefit-col:hover .benefit-col__number {
  transform: translateY(-8px);
  opacity: 1;
  filter: brightness(1.2);
  text-shadow: 0 0 20px currentColor;
}
.benefit-col__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.benefit-col__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 240px;
}
.benefit-col__icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  color: currentColor;
  opacity: 0.05;
  z-index: -1;
  transition: all 0.6s ease;
}
.benefit-col:nth-child(1) { color: var(--green); }
.benefit-col:nth-child(2) { color: var(--blue); }
.benefit-col:nth-child(3) { color: var(--amber); }
.benefit-col:nth-child(4) { color: var(--purple); }

.benefit-col:hover .benefit-col__icon {
  opacity: 0.15;
  transform: translateX(-50%) scale(1.2) rotate(10deg);
}
.benefit-col__icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .benefits-editorial {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .benefit-col__number {
    font-size: 3.5rem;
  }
}

/* ═══ METHOD CARDS ═══ */
.section--process {
  background: var(--bg2);
}
.section--process .section__inner {
  text-align: left;
}
.section--process .section-subtitle {
  margin-left: 0;
  border-left: 3px solid var(--green);
  padding-left: 16px;
  color: var(--text);
  font-weight: 500;
  max-width: 600px;
}
.method-connector {
  position: relative;
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  margin-bottom: 32px;
  display: none;
}
.method-connector__line,
.method-connector__fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
}
.method-connector__fill {
  background: linear-gradient(90deg, var(--green), var(--blue), var(--purple));
  width: 0;
  transition: width 1s ease;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.method-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 20px;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.method-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-premium);
}
[data-theme="light"] .method-card {
  background: var(--bg);
}
.method-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.method-card:hover .method-card__glow {
  opacity: 1;
}
.method-card[data-accent="green"] .method-card__glow {
  background: radial-gradient(
    circle at 50% 0%,
    var(--green-dim),
    transparent 70%
  );
}
.method-card[data-accent="blue"] .method-card__glow {
  background: radial-gradient(
    circle at 50% 0%,
    var(--blue-dim),
    transparent 70%
  );
}
.method-card[data-accent="purple"] .method-card__glow {
  background: radial-gradient(
    circle at 50% 0%,
    var(--purple-dim),
    transparent 70%
  );
}
.method-card[data-accent="amber"] .method-card__glow {
  background: radial-gradient(
    circle at 50% 0%,
    var(--amber-dim),
    transparent 70%
  );
}
.method-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
}
.method-card__ghost {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  opacity: 0.04;
  line-height: 1;
  z-index: 0;
}
.method-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.method-card[data-accent="green"] .method-card__icon {
  background: var(--green-dim);
  color: var(--green);
}
.method-card[data-accent="blue"] .method-card__icon {
  background: var(--blue-dim);
  color: var(--blue);
}
.method-card[data-accent="purple"] .method-card__icon {
  background: var(--purple-dim);
  color: var(--purple);
}
.method-card[data-accent="amber"] .method-card__icon {
  background: var(--amber-dim);
  color: var(--amber);
}
.method-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.method-card:hover .method-card__dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 8px var(--green-dim);
}
.method-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.method-card__desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}
.method-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--green-dim);
  color: var(--green);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* ═══ CASES CAROUSEL ═══ */
.cases-carousel {
  position: relative;
  overflow: visible; /* Permitimos ver las tarjetas de los lados */
  max-width: 1000px; /* Ventana principal del carousel */
  margin: 0 auto;
  padding: 40px 0;
}
.cases-viewport {
  display: flex;
  gap: 32px;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* El centrado se maneja por JS */
}
.case-card {
  flex: 0 0 clamp(280px, 85vw, 850px); /* Responsivo: 85% del ancho en móviles, máx 850px */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-premium);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.35;
  filter: blur(8px);
  transform: scale(0.92);
  pointer-events: none; /* Las inactivas no se clickan */
}
.case-card.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
  border-color: var(--green);
}
.case-card__img {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--bg3);
}
.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--green-dim);
  color: var(--green);
  backdrop-filter: blur(8px);
}
.case-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-card__body h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.case-card__loc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.case-card__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.case-card__col {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.case-card__col--before {
  border-left: 3px solid var(--red);
}
.case-card__col--after {
  border-left: 3px solid var(--green);
}
.case-card__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.case-card__col--before .case-card__col-title {
  color: var(--red);
}
.case-card__col--after .case-card__col-title {
  color: var(--green);
}
.case-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 3px 0;
}
.cases-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s;
}
.cases-arrow:hover {
  background: var(--surface-hover);
  border-color: var(--border-active);
}
.cases-arrow--prev {
  left: 12px;
}
.cases-arrow--next {
  right: 12px;
}
.cases-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.cases-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.cases-dots .dot.active {
  background: var(--green);
  box-shadow: 0 0 6px var(--green-dim);
}
@media (max-width: 768px) {
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-card__img {
    min-height: 200px;
  }
  .case-card__body {
    padding: 20px;
  }
}
.cases-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ═══ PROOF BAR ═══ */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 0;
  margin: 0;
}
.proof-bar__item {
  background: var(--bg2);
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.proof-bar__item svg {
  flex-shrink: 0;
}
.proof-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.proof-bar__unit {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dim);
}
.proof-bar__item p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ═══ TESTIMONIOS ═══ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.4s;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.testi-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-dim), var(--blue-dim));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.testi-card:hover::before {
  opacity: 1;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.testi-card__quote {
  position: absolute;
  top: 16px;
  right: 16px;
}
.testi-card__stars {
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.testi-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--surface);
  border: 2px solid var(--ring);
  flex-shrink: 0;
}
.testi-card__author strong {
  display: block;
  font-size: 0.85rem;
}
.testi-card__author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══ FAQ ═══ */
.faqs-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
[data-theme="light"] .faq-item.open {
  background: var(--bg2);
  border-left: 4px solid var(--green);
  padding-left: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
.faq-question:hover {
  color: var(--green);
}
.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
  color: var(--text-dim);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--green);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ─── CUSTOM AUTOCOMPLETE ─── */
.lead-form__field {
  position: relative;
}
.autocomplete-results {
  position: absolute;
  top: calc(100% - 20px); /* Adjust based on lead-form__field margin-bottom */
  left: 0;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.autocomplete-results.show {
  display: block;
}
.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover {
  background: var(--bg3);
  color: var(--green);
}
.autocomplete-item .city-name {
  font-weight: 500;
}
.autocomplete-item .postal-code {
  font-size: 0.75rem;
  opacity: 0.6;
}
.autocomplete-item.priority .city-name {
  color: var(--green);
  font-weight: 700;
}

/* Fix for overlapping in rows */
.lead-form__row .lead-form__field {
  position: relative;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}
.faq-item.open {
  border-left: 3px solid var(--green);
  padding-left: 16px;
}

/* ═══ LEAD FORM ═══ */
.section--form {
  background: var(--bg2);
}
.section--form .section__inner {
  text-align: left;
}
.section--form .section-subtitle {
  margin-left: 0;
  border-left: 3px solid var(--green);
  padding-left: 16px;
  color: var(--text);
  font-weight: 500;
  max-width: 600px;
}
.lead-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}
.lead-form__progress {
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  position: relative;
  margin-bottom: 12px;
}
.lead-form__progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  width: 33%;
  transition: width 0.4s;
}
.lead-form__steps-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lead-form__step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s;
}
.lead-form__step-label.active {
  color: var(--green);
  font-weight: 700;
}
.lead-form__step {
  display: none;
}
.lead-form__step.active {
  display: block;
  animation: fadeSlide 0.4s ease;
}
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.lead-form__step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.lead-form__type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.lead-form__type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.lead-form__type-card:has(input:checked) {
  border-color: var(--green);
  background: var(--green-dim);
}
.lead-form__type-card input {
  display: none;
}
.lead-form__type-card svg {
  color: var(--text-dim);
  transition: color 0.3s;
}
.lead-form__type-card:has(input:checked) svg {
  color: var(--green);
}
.lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.lead-form__field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.lead-form__field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s;
  -moz-appearance: textfield;
  appearance: textfield;
}
.lead-form__field input::-webkit-outer-spin-button,
.lead-form__field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.lead-form__field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.lead-form__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.lead-form__summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.lead-form__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.lead-form__summary-row:last-child {
  border: none;
}
.lead-form__privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.lead-form__privacy a {
  color: var(--green);
  text-decoration: underline;
}
.lead-form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.lead-form__success.show {
  display: block;
  animation: fadeSlide 0.5s ease;
}
.lead-form__success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 16px 0 8px;
  color: var(--green);
}

/* ═══ CTA + COUNTDOWN ═══ */
.section--cta {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 77, 77, 0.02) 0%, transparent 70%);
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--red-dim), transparent 70%);
  pointer-events: none;
  animation: ctaPulseRed 8s ease-in-out infinite;
}
@keyframes ctaPulseRed {
  0%,
  100% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(60px);
  }
  50% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.05);
    filter: blur(80px);
  }
}
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.countdown__unit {
  text-align: center;
}
.countdown__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: rgba(255, 77, 77, 0.02);
  border: 1px solid rgba(255, 77, 77, 0.15);
  border-radius: var(--radius);
  padding: 12px 20px;
  min-width: 80px;
  color: var(--text);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.03);
  transition: all 0.3s ease;
}
.countdown__unit--alert .countdown__num {
  border-color: var(--red);
  box-shadow: 0 0 15px var(--red-dim);
  color: var(--red);
  animation: alertFlash 4s ease-in-out infinite;
}
@keyframes alertFlash {
  0%, 100% {
    text-shadow: 0 0 1px var(--red);
    box-shadow: 0 0 3px var(--red-dim);
  }
  50% {
    text-shadow: 0 0 8px var(--red);
    box-shadow: 0 0 12px var(--red-dim);
  }
}

/* --- Trace Border Button --- */
.btn--alert-trace {
  position: relative;
  background: transparent !important;
  border: none !important;
  overflow: hidden;
  z-index: 1;
  padding: 18px 45px;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
}
.btn--alert-trace::before {
  content: '';
  position: absolute;
  height: 600%;
  width: 600%;
  top: -250%;
  left: -250%;
  background-image: conic-gradient(
    transparent, 
    transparent 40%, 
    #ff0000 50%, 
    transparent 60%
  );
  animation: rotateTrace 3s linear infinite;
  z-index: -2;
  opacity: 1;
  filter: blur(4px) drop-shadow(0 0 15px #ff0000);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--alert-trace::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c); 
  border-radius: var(--radius);
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes rotateTrace {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn--alert-trace:hover::before {
  background-color: #ff0000;
  filter: blur(8px) drop-shadow(0 0 25px #ff0000);
}

.btn--alert-trace:hover::after {
  background: linear-gradient(135deg, #ff1744, #d50000);
  inset: 3px; /* Slightly more border width on hover for the "filling" look */
}

.btn--alert-trace:active {
  transform: scale(0.98);
}
.countdown__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  display: block;
}
.countdown__sep {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-muted);
  margin-top: -20px;
}
.cta-subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  position: relative;
}
.footer__gradient-sep {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green),
    var(--blue),
    var(--purple),
    transparent
  );
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--white);
  text-decoration: none;
}
.footer__brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand-wrapper img {
  height: 28px;
  width: auto;
}
.footer__logo .powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__logo .powered-by img {
  height: 40px;
  width: auto;
}
[data-theme="light"] .footer__logo .powered-by {
  border-left-color: rgba(0, 0, 0, 0.1);
}
.footer__col--brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.process-item{display:flex;gap:30px;position:relative;padding-bottom:50px;transition: all .3s}
.process-item:hover{transform: translateX(10px)}
.process-step{width:60px;height:60px;background:var(--surface);border:2px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.5rem;color:var(--green);flex-shrink:0;z-index:1;transition:all .3s;box-shadow: var(--shadow)}
.process-item:hover .process-step{border-color:var(--green);box-shadow:0 0 20px var(--green-dim);background: var(--bg2)}
/* social rules moved below */
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.footer__col a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer__col a:hover {
  color: var(--green);
}
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Specific Social Icons centering to override general column links */
.footer__social a.footer__social-link,
.footer__col .footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s;
  color: var(--text-dim);
  padding: 0 !important;
  margin: 0;
}

.footer__social a svg {
  display: block !important;
  margin: 0 !important;
  width: 20px;
  height: 20px;
}

.footer__col .footer__social a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.1);
}

/* ═══ CALC OVERLAY ═══ */
.calc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
[data-theme="light"] .calc-overlay {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}
.calc-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
/* Reverted calc-window since user wants full screen */
.calc-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.01);
}
.calc-overlay__header-left {
  display: flex;
  align-items: center;
  gap: 8px; /* Reduced gap */
}
.calc-overlay__title {
  font-family: var(--font-heading);
  font-size: 1rem; /* Reverted font size */
  font-weight: 700;
}
.calc-overlay__subtitle {
  font-size: 0.75rem; /* Reverted font size */
  color: var(--text-dim);
}
.calc-overlay__close {
  width: 28px; /* Reduced size */
  height: 28px; /* Reduced size */
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.1rem; /* Reduced font size */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.calc-overlay__close:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: var(--red);
}
.calc-overlay__body {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 0;
  flex: 1;
  overflow-y: auto;
}
.calc-panel {
  padding: 16px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}
.calc-panel:last-child {
  border-right: none;
}
.calc-panel__title {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.calc-control {
  margin-bottom: 6px;
}
.calc-control__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.calc-control label {
  font-size: 0.75rem; /* Reduced font size */
  color: var(--text-dim);
  font-weight: 500;
}
.calc-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem; /* Reduced font size */
  color: var(--green);
}
.calc-control input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg3);
  border-radius: 3px;
  outline: none;
}
.calc-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; /* Reduced size */
  height: 16px; /* Reduced size */
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 0 6px var(--green-dim);
}
.calc-control__range {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem; /* Reduced font size */
  color: var(--text-muted);
  margin-top: 2px; /* Reduced margin */
}
.calc-control select {
  width: 100%;
  padding: 8px 10px; /* Reduced padding */
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 4px; /* Reduced margin */
  font-size: 0.85rem; /* Reduced font size */
}
.calc-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.calc-tech:last-child:nth-child(odd) {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
}
.calc-tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--text-dim);
}
.calc-tech svg {
  stroke: currentColor;
}
.calc-tech.active {
  border-color: var(--green);
  background: var(--green-dim);
  color: var(--green);
}
.calc-invest-box {
  background: var(--surface-dim);
  border: 1px solid var(--amber-dim);
  padding: 8px 12px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.calc-invest-label {
  font-size: 0.75rem; /* Reduced font size */
  color: var(--text-dim);
}
.calc-invest-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--amber);
  font-size: 0.95rem; /* Reduced font size */
}
.calc-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 4px;
}
.calc-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 6px; /* Reduced padding */
  text-align: center;
  transition: transform 0.3s ease;
}
.calc-metric:hover {
  transform: translateY(-4px);
  border-color: var(--green-dim);
}
.calc-metric__label {
  font-size: 0.65rem; /* Reduced font size */
  color: var(--text-dim);
  margin-bottom: 2px; /* Reduced margin */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calc-metric__val {
  font-family: var(--font-heading);
  font-size: 1rem; /* Reduced font size */
  font-weight: 800;
}
.calc-metric--green .calc-metric__val {
  color: var(--green);
}
.calc-metric--blue .calc-metric__val {
  color: var(--blue);
}
.calc-metric--purple .calc-metric__val {
  color: var(--purple);
}
.calc-metric--amber .calc-metric__val {
  color: var(--amber);
}
.calc-compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px; /* Reduced padding */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.calc-panel__title {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.calc-compare__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px; /* Reduced gap */
}
.calc-compare__box {
  padding: 10px; /* Reduced padding */
  border-radius: var(--radius-xs);
  text-align: center;
}
.calc-compare__box--red {
  background: var(--red-dim);
}
.calc-compare__box--green {
  background: var(--green-dim);
}
.calc-compare__tag {
  font-size: 0.65rem; /* Reduced font size */
  font-weight: 600;
  display: block;
  margin-bottom: 2px; /* Reduced margin */
}
.calc-compare__box--red .calc-compare__tag {
  color: var(--red);
}
.calc-compare__box--green .calc-compare__tag {
  color: var(--green);
}
.calc-compare__amount {
  font-family: var(--font-heading);
  font-size: 1rem; /* Reduced font size */
  font-weight: 800;
}
.calc-roi {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px; /* Reduced padding */
}
.calc-roi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px; /* Reduced gap */
}
.calc-roi__cell {
  text-align: center;
  padding: 6px; /* Reduced padding */
}
.calc-roi__label {
  font-size: 0.6rem; /* Reduced font size */
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px; /* Reduced margin */
}
.calc-roi__val {
  font-family: var(--font-heading);
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 700;
  color: var(--text);
}
.calc-total-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12), rgba(41, 121, 255, 0.12));
  border: 1px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 12px 10px; /* Reduced padding */
  text-align: center;
  box-shadow: 0 0 20px var(--green-dim);
}
.calc-total-card__label {
  font-size: 0.7rem; /* Reduced font size */
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px; /* Reduced margin */
}
.calc-total-card__amount {
  font-family: var(--font-heading);
  font-size: 2rem; /* Reduced font size */
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 10px var(--green-dim);
}
.calc-total-card__split {
  display: flex;
  justify-content: space-around;
  margin-top: 10px; /* Reduced margin */
  font-size: 0.7rem; /* Reduced font size */
  color: var(--text-dim);
}
.calc-total-card__split span:last-child {
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-top: 2px;
}
.calc-cta-btn {
  width: 100%;
  padding: 10px;
  background: var(--green);
  border: none;
  border-radius: var(--radius);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
}
.calc-export-btn {
  width: 100%;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
}
.calc-co2 {
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.calc-co2__val {
  font-family: var(--font-heading);
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-bottom: 0;
}
.calc-co2 span {
  font-size: 0.7rem; /* Reduced font size */
  color: var(--text-dim);
}
.calc-cta-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), #00e676);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 0 15px var(--green-dim);
}
.calc-disclaimer {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.3;
  margin-top: 8px;
  padding: 0 10px;
  text-align: center;
  opacity: 0.7;
}
.calc-cta-note {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 6px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 900px) {
  .calc-overlay__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
    padding-bottom: 40px;
  }
  .calc-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .calc-panel:last-child {
    border-bottom: none;
  }
  .calc-tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .calc-metric__val, .calc-total-card__amount {
    font-size: 1.8rem;
  }
  .calc-overlay__header {
    padding: 10px 16px;
  }
  .calc-overlay__title {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .calc-tech-grid {
    grid-template-columns: 1fr;
  }
  .calc-metrics {
    grid-template-columns: 1fr;
  }
  .calc-panel {
    padding: 15px;
  }
}
.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--green-dim);
}
.calc-cta-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.calc-disclaimer {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.3;
  margin-top: 4px;
  padding: 0 10px;
  text-align: center;
  opacity: 0.7;
}

/* ═══ LEAD POPUP ═══ */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
[data-theme="light"] .lead-popup-overlay {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}
.lead-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.lead-popup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-premium);
}
.lead-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-popup__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.lead-popup__progress {
  height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  margin-bottom: 20px;
}
.lead-popup__progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  width: 33%;
  transition: width 0.4s;
}
.lead-popup__step {
  display: none;
}
.lead-popup__step.active {
  display: block;
}
.lead-popup__step label {
  display: block;
  font-size: 0.85rem; /* Match lead-form font size */
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
  margin-top: 0; /* Reset margin top as we use Lead Form Field spacing now */
}
.lead-popup__step input:not([type="checkbox"]),
.lead-popup__step select {
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 0;
}
.lead-popup__step input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}
.lead-popup__step input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.lead-popup__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.lead-popup__summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.lead-popup__summary p {
  font-size: 0.85rem;
  padding: 4px 0;
}
.lead-popup__privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

/* ═══ COOKIE ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 500;
  transform: translateY(100%);
  transition: transform 0.4s;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.cookie-actions {
  display: flex;
  gap: 8px;
}

/* ═══ CONFETTI ═══ */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ FORM LAYOUT — PROFESSIONAL ═══ */
.form-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}
.form-trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-trust__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s;
}
.form-trust__card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}
.form-trust__card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 4px;
}
.form-trust__card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.form-trust__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-trust__badges span {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Step num badge */
.lead-form__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
}
.lead-form__step-label.active .lead-form__step-num {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}

/* Step description */
.lead-form__step-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Form rows (2-col) */
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
  align-items: end; /* Align items to the bottom of the row */
}
.lead-form__field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.lead-form__field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  min-height: 1.2rem; /* Ensure labels have consistent height even if one has a link */
  margin-bottom: 8px;
}
.lead-form__field input, 
.lead-form__field select,
.lead-form__field textarea {
  height: 48px; /* Fixed height for all inputs for perfect symmetry */
  box-sizing: border-box;
}
.lead-form__field textarea {
  height: auto; /* Except textarea */
  min-height: 80px;
}
.lead-form__field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
}
.lead-form__field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.lead-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s;
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-body);
}
.lead-form__field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}

/* Summary groups */
.lead-form__summary-group {
  margin-bottom: 16px;
}
.lead-form__summary-group:last-child {
  margin-bottom: 0;
}
.lead-form__summary-group h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* Success ref ID */
.lead-form__success-id {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Countdown unit sizes */
.countdown__unit--lg .countdown__num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--red-dim), rgba(255, 77, 77, 0.02)) !important;
  border-color: var(--red) !important;
  min-width: 90px;
  animation: alertFlash 4s ease-in-out infinite;
}
.countdown__unit--lg .countdown__label {
  color: var(--red);
  font-weight: 600;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card--hero {
    grid-row: auto;
  }
  .calc-overlay__body {
    grid-template-columns: 1fr;
  }
  .calc-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-trust {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-trust__card {
    flex: 1;
    min-width: 200px;
  }
  .sol-pillars {
    flex-wrap: wrap;
    gap: 16px;
  }
  .sol-pillar {
    flex: 1;
    min-width: 250px;
  }
  .sol-pillar__connector {
    display: none;
  }
  .benefits-editorial {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .benefit-col {
    padding-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }
  .navbar__burger {
    display: flex;
  }
  .dot-nav {
    display: none;
  }
  .hero__stats {
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
  }
  .problem__grid {
    grid-template-columns: 1fr;
  }
  .problem__cards {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--wide {
    grid-column: auto;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-connector {
    display: none;
  }
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-card__img {
    min-height: 180px;
  }
  .proof-bar {
    grid-template-columns: 1fr 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .countdown {
    flex-wrap: wrap;
    gap: 8px;
  }
  .countdown__num {
    padding: 8px 12px;
    min-width: 50px;
    font-size: 1.5rem;
  }
  .countdown__unit--lg .countdown__num {
    font-size: 1.8rem;
    min-width: 60px;
  }
  .countdown__sep {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .lead-form__type-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form {
    padding: 20px;
  }
  .lead-form__row {
    grid-template-columns: 1fr;
  }
  .form-trust__card {
    min-width: unset;
  }
  .sol-compare {
    flex-direction: column;
    gap: 16px;
  }
  .sol-compare__arrow {
    flex-direction: row;
    gap: 12px;
  }
  .sol-compare__arrow svg {
    transform: rotate(90deg);
  }
  .sol-compare__arrow::before {
    display: none;
  }
  .sol-compare__cert {
    font-size: 3rem;
  }
  .sol-pillars {
    flex-direction: column;
    gap: 16px;
  }
  .sol-pillar {
    min-width: unset;
  }
  .sol-pillar__connector {
    display: none;
  }
  .sol-stat {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .proof-bar {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .countdown__unit {
    flex: 0 0 calc(33% - 8px);
  }
  .lead-form__type-grid {
    grid-template-columns: 1fr;
  }
  .sol-compare__cert {
    font-size: 2.5rem;
  }
}

/* --- Form Validation Effects --- */
@keyframes shake-error {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-error {
  animation: shake-error 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.lead-form__privacy.error-glow {
  color: #ff4b4b !important;
  transition: color 0.3s;
}

.btn-error-state {
  background: #ff4b4b !important;
  color: #fff !important;
  border-color: #ff4b4b !important;
  box-shadow: 0 0 15px rgba(255, 75, 75, 0.4);
}

.text-highlight-white {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  display: inline-block;
  margin-top: 8px;
}
/* ═══ VALIDATION STYLES ═══ */
.lead-form__field {
  position: relative;
}
.lead-form__field.valid input,
.lead-form__field.valid select {
  border-color: var(--green) !important;
  background: rgba(0, 200, 83, 0.05);
}
.lead-form__field.valid::after {
  content: "✓";
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--green);
  font-weight: bold;
}
.lead-form__field.error input,
.lead-form__field.error select {
  border-color: var(--red) !important;
  background: rgba(255, 77, 77, 0.05);
  animation: shake 0.4s ease;
}
.lead-form__error-msg {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 0.7rem;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
}
.lead-form__field.error .lead-form__error-msg {
  opacity: 1;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ═══ CALC EXPORT BUTTON ═══ */
.calc-export-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: all 0.3s;
}
.calc-export-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-active);
}
