/* ==========================================================================
   WOW CX · Landing 01 — VERSIÓN 3: HÍBRIDA PRO (Franjas Claras & Oscuras)
   Estructura: V1 (Conversiva, modular)
   Ritmo Visual: Alternancia de franjas oscuras (#080D1A) y luminosas (#FFFFFF / #F8F9FA)
   Gradientes Neón #00E391 -> #00B4D8, Elementos 3D, Carrusel de Testimonios Oficial
   ========================================================================== */

:root {
  /* Dark Colors */
  --bg-darkest: #050811;
  --bg-dark: #080D1A;
  --bg-dark-surface: #0E162B;
  --bg-dark-card: rgba(16, 25, 48, 0.85);
  --bg-dark-card-solid: #101932;
  
  /* Light Colors */
  --bg-white: #FFFFFF;
  --bg-light-gray: #F8F9FA;
  --bg-light-alt: #F1F5F9;
  --border-light: #E2E8F0;
  --border-light-focus: #00E391;

  /* Accent Colors */
  --accent-green: #00E391;
  --accent-green-hover: #00f39c;
  --accent-green-dark: #008751;
  --accent-green-text-light: #00995c;
  --accent-cyan: #00B4D8;
  --accent-cyan-dark: #0284C7;
  --accent-yellow: #FFD166;
  --accent-coral: #FF3B30;
  --accent-coral-light: #EF4444;

  /* Text Colors */
  --text-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748B;
  --text-light-secondary: #E2E8F0;
  --text-light-muted: #94A3B8;

  /* Borders & Radii */
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-green: rgba(0, 227, 145, 0.35);
  --border-green-light: #7BDCB5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 14px 35px rgba(0, 0, 0, 0.06);
  --shadow-card-dark: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 35px -5px rgba(0, 227, 145, 0.3);

  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --header-height: 78px;
  --transition: all 0.22s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark-secondary);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Gradient Typography Utilities
   ========================================================================== */
.section-dark .highlight, 
.section-darkest .highlight,
.hero-section .highlight,
.prefooter-banner .highlight {
  color: var(--accent-green);
  background: linear-gradient(135deg, #00E391 15%, #38BDF8 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-light .highlight,
.section-light-alt .highlight {
  color: var(--accent-green-text-light);
  background: linear-gradient(135deg, #00A86B 15%, #0284C7 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Atmospheric Glows for Dark Sections */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.glow-top-left {
  top: -120px;
  left: -120px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, rgba(8, 13, 26, 0) 70%);
}

.glow-top-right {
  top: 60px;
  right: -100px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 227, 145, 0.2) 0%, rgba(8, 13, 26, 0) 70%);
}

/* ==========================================================================
   Site Header (Dark)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(5, 8, 17, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-white);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: var(--bg-darkest);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 227, 145, 0.25);
}

.btn-header-cta:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 227, 145, 0.45);
}

/* ==========================================================================
   Hero Section (Dark)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-dark);
  background-image: url('../assets/BG-HERO.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--text-white);
  padding: 56px 0 76px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.badge-pill-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 227, 145, 0.12);
  border: 1px solid rgba(0, 227, 145, 0.35);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-light-secondary);
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light-muted);
}

.check-icon {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Mobile CTA (Hidden on desktop, active on mobile) */
.hero-mobile-cta {
  display: none;
}

.btn-hero-action-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--accent-green);
  color: var(--bg-darkest);
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 22px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 227, 145, 0.35);
  text-decoration: none;
  transition: var(--transition);
}

.btn-hero-action-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 227, 145, 0.5);
  background: var(--accent-green-hover);
}

.btn-hero-action-cta .btn-circle-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #050811;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-left: 12px;
  flex-shrink: 0;
}

.hero-mobile-subnote {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  text-align: center;
  margin-top: 8px;
}

/* Hero Left Column Logos Carousel (Transparent & Contained) */
.hero-logos-carousel-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.hero-logos-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  margin-bottom: 12px;
}

.hero-marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  gap: 8px;
  user-select: none;
}

.hero-marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  min-width: 100%;
  flex-shrink: 0;
  animation: scroll-hero-marquee 20s linear infinite;
}

.hero-marquee-track:hover .hero-marquee-group {
  animation-play-state: paused;
}

.hero-logos-carousel-wrap .client-logo-item {
  height: 30px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.hero-logos-carousel-wrap .client-logo-item.logo-compact,
.hero-logos-carousel-wrap .client-logo-item[src*="shell"],
.hero-logos-carousel-wrap .client-logo-item[src*="bayer"],
.hero-logos-carousel-wrap .client-logo-item[src*="gerdau"],
.hero-logos-carousel-wrap .client-logo-item[src*="natura"] {
  height: 37px;
}

.hero-logos-carousel-wrap .client-logo-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll-hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 8px)); }
}

/* Hero Action Card (When form is in Modal) */
.hero-action-card {
  background: rgba(10, 18, 38, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--accent-green);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
}

.action-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 227, 145, 0.12);
  border: 1px solid rgba(0, 227, 145, 0.3);
  color: var(--accent-green);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.action-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.action-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light-secondary);
  margin-bottom: 22px;
}

.action-card-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.action-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.45;
}

.action-benefit-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-hero-action-cta {
  width: 100%;
  background: var(--accent-green);
  color: var(--bg-darkest);
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 10px 28px rgba(0, 227, 145, 0.35);
  margin-bottom: 12px;
}

.btn-hero-action-cta:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 227, 145, 0.5);
}

.action-card-note {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  text-align: center;
  margin: 0;
}

/* Modal / Popup Lead Form */
.lead-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lead-modal .ov {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 17, 0.78);
  cursor: pointer;
}

.lead-modal .box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0E172E;
  background-image: radial-gradient(circle at 100% 0%, rgba(0, 227, 145, 0.08) 0%, transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--accent-green, #00E391);
  border-radius: var(--radius-xl, 24px);
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.lead-modal.is-open .box {
  transform: scale(1) translateY(0);
}

.lead-modal .x {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white, #fff);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.lead-modal .x:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: var(--accent-coral, #FF3B30);
  color: #fff;
  transform: rotate(90deg);
}

.hero-form-box {
  background: #0E172E;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid var(--accent-green);
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
}

.form-header {
  margin-bottom: 22px;
}

.form-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 6px;
  display: block;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  line-height: 1.25;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-light-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-group-single {
  margin-bottom: 14px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light-secondary);
  margin-bottom: 6px;
}

.label-required {
  color: var(--accent-coral);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid #D1D5DB;
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 227, 145, 0.3);
}

.phone-wrapper {
  display: flex;
  gap: 6px;
}

.phone-prefix {
  width: 96px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid #D1D5DB;
  border-radius: 7px;
  padding: 11px 6px;
  font-size: 0.82rem;
  color: var(--text-dark);
  cursor: pointer;
}

.btn-form-submit {
  width: 100%;
  background: var(--accent-green);
  color: var(--bg-darkest);
  border: none;
  border-radius: var(--radius-full);
  padding: 15px 22px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 227, 145, 0.3);
  margin-top: 6px;
  margin-bottom: 10px;
}

.btn-form-submit:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 227, 145, 0.45);
}

.form-sub-note {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  text-align: center;
}

/* Success Box */
.form-success-box {
  display: none;
  text-align: center;
  padding: 36px 12px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 227, 145, 0.15);
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  margin-bottom: 16px;
}

.success-callout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.85rem;
  color: var(--text-light-secondary);
  text-align: left;
}

/* ==========================================================================
   Full-Width Infinite Loop Logos Marquee (Dark)
   ========================================================================== */
.client-logos-strip {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 30px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 30px;
  user-select: none;
}

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  min-width: 100%;
  flex-shrink: 0;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-track:hover .marquee-group {
  animation-play-state: paused;
}

.client-logo-item {
  height: 38px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.client-logo-item.logo-compact,
.client-logo-item[src*="shell"],
.client-logo-item[src*="bayer"],
.client-logo-item[src*="gerdau"],
.client-logo-item[src*="natura"] {
  height: 48px; /* +25% ampliación para logos casi cuadrados / compactos */
}

.client-logo-item:hover {
  opacity: 1;
  transform: scale(1.12);
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 30px));
  }
}

/* ==========================================================================
   Trust Banner (Light Strip)
   ========================================================================== */
.trust-banner-light {
  background: var(--bg-light-gray);
  border-bottom: 1px solid var(--border-light);
  padding: 22px max(3.5vw, 24px);
  width: 100%;
  box-sizing: border-box;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 227, 145, 0.15);
  color: var(--accent-green-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Section Utility Classes (Alternating Sections)
   ========================================================================== */
.section-light {
  background-color: var(--bg-white);
  color: var(--text-dark-secondary);
  padding: 90px 0;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.section-light-alt {
  background-color: var(--bg-light-gray);
  color: var(--text-dark-secondary);
  padding: 90px 0;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light-secondary);
  padding: 90px 0;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.section-darkest {
  background-color: var(--bg-darkest);
  color: var(--text-light-secondary);
  padding: 90px 0;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

/* Headings */
.section-head-center {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 52px;
}

.heading-line-block {
  display: block;
}

@media (min-width: 900px) {
  .heading-line-block {
    white-space: nowrap;
  }
}

.section-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-green-light);
  background: var(--bg-white);
  color: var(--accent-green-dark);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-dark .section-eyebrow-pill {
  background: rgba(0, 227, 145, 0.12);
  border-color: rgba(0, 227, 145, 0.35);
  color: var(--accent-green);
}

.badge-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.section-h2-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-light .section-h2-title,
.section-light-alt .section-h2-title {
  color: var(--text-dark);
}

.section-dark .section-h2-title,
.section-darkest .section-h2-title {
  color: var(--text-white);
}

.section-h2-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-light .section-h2-subtitle,
.section-light-alt .section-h2-subtitle {
  color: var(--text-dark-muted);
}

.section-dark .section-h2-subtitle {
  color: var(--text-light-muted);
}

/* Buttons with Arrow Icon */
.btn-pill-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-green);
  color: var(--bg-darkest);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 227, 145, 0.25);
  margin-top: 10px;
}

.btn-pill-arrow:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 227, 145, 0.45);
}

.btn-circle-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-darkest);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   Centered Button Containers for Sections
   ========================================================================== */
.center-btn-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 36px;
  margin-bottom: 10px;
}

/* ==========================================================================
   Section 1: Lo que está en juego (LIGHT - White Background)
   ========================================================================== */
.grid-2col-visual {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.visual-3d-container {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.visual-photo-card {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  border: none;
}

.visual-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.stakes-content-box-light {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
}

.stakes-quote-h2-light {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.stakes-desc-light {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   Section 2: El Problema (LIGHT ALT - Gray Background with Black Pill Cards)
   ========================================================================== */
.problem-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.problem-pill-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-card-item-dark {
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(135deg, #00E391 0%, #38BDF8 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg, 16px);
  color: var(--text-dark, #0F172A);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 227, 145, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card-item-dark:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 227, 145, 0.2);
}

.problem-badge-red {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EF4444;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.problem-badge-red svg {
  display: block;
  width: 11px;
  height: 11px;
  stroke: #FFFFFF;
}

.problem-text-dark {
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.problem-conclusion-card-dark {
  background: linear-gradient(145deg, #0F1A36 0%, #060B18 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-white);
}

.conclusion-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.18);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.conclusion-title-dark {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.35;
}

.conclusion-body-dark {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section 3: Testimonials Carousel (Replacing Services Section)
   ========================================================================== */
.carousel-outer-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 15px 0 25px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.testimonial-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-green-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.testimonial-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar-box {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bg-light-gray);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-company-badge {
  display: inline-block;
  background: rgba(0, 227, 145, 0.12);
  color: var(--accent-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.testimonial-quote-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  margin-bottom: 24px;
  font-style: normal;
  position: relative;
  flex-grow: 1;
}

.testimonial-quote-text::before {
  content: "“";
  font-size: 2.5rem;
  color: var(--accent-green);
  line-height: 1;
  display: block;
  margin-bottom: -10px;
  opacity: 0.6;
}

.testimonial-author-box {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* Carousel Nav Buttons */
.carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.btn-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-carousel-arrow:hover {
  background: var(--accent-green);
  color: var(--bg-darkest);
  border-color: var(--accent-green);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--accent-green-dark);
  width: 24px;
  border-radius: 999px;
}

/* ==========================================================================
   Section 4: Cómo Trabajamos (DARK - Deep Navy with Watermark Stages)
   ========================================================================== */
.stages-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stage-card-dark {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 22px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card-dark);
  transition: var(--transition);
}

.stage-card-dark:hover {
  transform: translateY(-4px);
  border-color: var(--border-green);
  background: #141E38;
}

.stage-giant-number {
  position: absolute;
  top: -15px;
  left: 12px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 227, 145, 0.14);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.stage-content {
  position: relative;
  z-index: 2;
}

.stage-heading-dark {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.stage-desc-dark {
  font-size: 0.88rem;
  color: var(--text-light-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Section 5: Cuándo Sí / Cuándo No (LIGHT - White Background)
   ========================================================================== */
.fit-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.fit-card-light {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
}

.fit-card-yes-light {
  border: 1px solid var(--border-green-light);
}

.fit-card-no-light {
  border: 1px solid #FECACA;
}

.fit-card-header-light {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.fit-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
}

.fit-card-yes-light .fit-icon-badge {
  background: rgba(0, 227, 145, 0.18);
  color: var(--accent-green-dark);
}

.fit-card-no-light .fit-icon-badge {
  background: rgba(255, 59, 48, 0.15);
  color: var(--accent-coral);
}

.fit-head-title-light {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-dark);
}

.fit-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fit-item-row-light {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-dark-secondary);
}

.fit-row-check {
  color: var(--accent-green-text-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.fit-row-cross {
  color: var(--accent-coral);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Section 6: Cierre (DARKEST - Black Background with Glowing Quote)
   ========================================================================== */
.section-closing-quote {
  padding: 80px 0;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.quote-impact-box {
  background: linear-gradient(135deg, rgba(16, 25, 48, 0.9) 0%, rgba(10, 16, 34, 0.95) 100%);
  border: 1px solid var(--border-green);
  border-left: 5px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}

.quote-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-top: 18px;
  letter-spacing: 0.01em;
}

.quote-impact-text {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-white);
}

/* ==========================================================================
   Section 7: Preguntas Frecuentes (LIGHT ALT - Gray Background)
   ========================================================================== */
.faq-grid-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item-card-light {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item-card-light[open] {
  border-color: var(--bg-darkest);
  background: var(--bg-darkest);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-summary-btn-light {
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-item-card-light[open] .faq-summary-btn-light {
  color: var(--text-white);
}

.faq-summary-btn-light::-webkit-details-marker {
  display: none;
}

.faq-circle-arrow-light {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-light-gray);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.faq-item-card-light[open] .faq-circle-arrow-light {
  background: var(--accent-green);
  color: var(--bg-darkest);
  transform: rotate(45deg);
}

.faq-content-box-light {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dark-muted);
}

.faq-item-card-light[open] .faq-content-box-light {
  color: var(--text-light-muted);
}

/* ==========================================================================
   Pre-Footer Banner (Dark) & Footer
   ========================================================================== */
.prefooter-banner {
  background: linear-gradient(135deg, #091224 0%, #060B18 100%);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0;
  color: var(--text-white);
}

.prefooter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.prefooter-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 12px;
  display: block;
}

.prefooter-h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 24px;
}

.stats-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat-huge-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-huge-label {
  font-size: 1rem;
  color: var(--text-light-muted);
  font-weight: 600;
}

.site-footer {
  background: var(--bg-darkest);
  color: var(--text-light-muted);
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--text-white);
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-form-box {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
  .grid-2col-visual, .problem-grid-layout, .faq-grid-wrapper, .prefooter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .testimonial-card-item {
    flex: 0 0 calc(50% - 12px);
    min-width: 280px;
  }
  .stages-4col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .fit-grid-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Header */
  .site-header {
    height: 60px;
    padding: 0 5px;
  }
  .header-logo {
    height: 28px;
  }
  .nav-menu {
    display: none !important;
  }
  .btn-header-cta {
    padding: 8px 14px;
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 12px;
    width: 100px;
  }

  /* Section Spacing */
  .section-container {
    padding: 48px 0;
  }
  .section-h2-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    margin-bottom: 12px;
  }
  .section-sublead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 44px;
  }
  .hero-grid {
    gap: 28px;
  }
  .badge-pill-neon {
    font-size: 0.70rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hero-points {
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-point-item {
    font-size: 0.86rem;
    gap: 8px;
  }
  .hero-logos-carousel-wrap {
    margin-top: 18px;
    padding-top: 14px;
  }
  .hero-logos-label {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }
  .hero-form-box {
    display: none !important;
  }
  .hero-mobile-cta {
    display: block !important;
    margin: 20px 0 16px !important;
    width: 100% !important;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .btn-pill-arrow .btn-circle-arrow {
      display: none;
  }

  /* Trust Banner */
  .trust-banner-light {
    padding: 16px 14px !important;
  }
  .trust-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 12px !important;
  }
  
  .trust-item {
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .trust-text {
    font-size: 0.88rem !important;
  }

  /* Section 2: Qué Hacemos */
  .stages-4col-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stage-card-light {
    padding: 20px 16px;
    border-radius: 12px;
  }

  /* Section 3: El Problema */
  .problem-card-item-dark {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 12px;
  }
  .problem-text-dark {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .problem-conclusion-card-dark {
    padding: 24px 18px;
    border-radius: 14px;
  }
  .conclusion-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  .conclusion-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Section 4: Cómo Trabajamos */
  .process-step-item {
    padding: 20px 16px;
    gap: 14px;
  }
  .step-num-badge {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .step-title {
    font-size: 1.05rem;
  }
  .step-desc {
    font-size: 0.88rem;
  }

  /* Section 5: Cuándo sí / no */
  .fit-card-light {
    padding: 22px 16px;
    border-radius: 14px;
  }
  .fit-head-title-light {
    font-size: 1.15rem;
  }
  .fit-item-row-light {
    font-size: 0.88rem;
    gap: 10px;
    line-height: 1.5;
  }
  .heading-line-block {
    display: inline;
  }

  /* Section 6: Quote */
  .quote-impact-box {
    padding: 28px 18px;
    border-radius: 14px;
  }
  .quote-lead-text {
    font-size: 1.12rem;
    line-height: 1.55;
  }
  .quote-author-name {
    font-size: 0.85rem;
  }

  /* Section 7: FAQ */
  .faq-summary-light {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .faq-content-box-light {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  /* Section 8: Prefooter */
  .prefooter-banner {
    padding: 48px 0;
  }
  .prefooter-h2 {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }
  .stats-stack {
    flex-direction: column;
    gap: 18px;
  }
  .stat-huge-number {
    font-size: 2.5rem;
  }

  /* Footer */
  .site-footer {
    padding: 32px 0;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Full Width CTA Buttons on Mobile */
  .center-btn-wrap {
    margin-top: 28px;
  }
  .btn-pill-arrow {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }

  /* Modal on Mobile */
  .lead-modal .box {
    width: 92% !important;
    max-width: 480px !important;
    padding: 24px 16px !important;
    margin: 16px auto !important;
    max-height: 90vh !important;
  }
}
