/* ============================================
   MEDEN CONTROL FISCAL - ESTILOS CORPORATIVOS
   Paleta: Verde Oscuro · Azul Marino · Café Claro
   ============================================ */

:root {
  /* Paleta corporativa principal */
  --green-dark: #1B5E20;
  --green-main: #2E7D32;
  --green-mid: #388E3C;
  --green-light: #4CAF50;
  --green-pale: #E8F5E9;
  --green-50: #F1F8F1;

  --blue-dark: #0D47A1;
  --blue-main: #1565C0;
  --blue-mid: #1976D2;
  --blue-light: #2196F3;
  --blue-pale: #E3F2FD;

  --brown-dark: #4E342E;
  --brown-main: #6D4C41;
  --brown-mid: #795548;
  --brown-light: #A1887F;
  --brown-pale: #EFEBE9;
  --beige-light: #F5F0EB;
  --beige-mid: #EDE8E3;

  /* Neutros */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --dark-bg: #0A1628;
  --dark-bg-2: #0F1E35;

  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transiciones */
  --transition: 0.3s ease;
}

/* ============================================
   RESET Y BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--beige-light);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header.light h2,
.section-header.light p { color: var(--white); }

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: var(--green-light);
  background: rgba(76,175,80,0.1);
  border-color: rgba(76,175,80,0.3);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header.light h2 { color: var(--white); }

.section-header p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-header.light p { color: rgba(255,255,255,0.75); }

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
  box-shadow: 0 4px 20px rgba(46,125,50,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46,125,50,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  background: var(--white);
  color: var(--green-main);
  border: 2px solid var(--green-main);
  padding: 13px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}
.btn-plan:hover {
  background: var(--green-main);
  color: var(--white);
}

.btn-plan-primary {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  background: var(--green-main);
  color: var(--white);
  border: 2px solid var(--green-main);
  padding: 13px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}
.btn-plan-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-submit {
  width: 100%;
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-cta-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  font-size: 16px;
  padding: 16px 36px;
}
.btn-cta-primary:hover {
  background: var(--beige-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-cta-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-size: 16px;
  padding: 16px 36px;
}
.btn-cta-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-3px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--green-pale);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.navbar-logo { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--green-main);
}

.btn-nav {
  background: var(--green-main) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius-md);
  font-size: 14px !important;
}
.btn-nav:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--dark-bg) 0%, #0D2240 50%, #0A2E1A 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--green-light);
  top: -200px;
  right: -200px;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-light);
  bottom: -150px;
  left: -100px;
}
.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--brown-light);
  top: 40%;
  left: 30%;
  opacity: 0.04;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  color: var(--green-light);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.highlight-green { color: var(--green-light); }
.highlight-brown { color: #FFCC80; }

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--green-light);
}

.stat-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--dark-bg-2);
  padding: 18px 0;
  border-bottom: 1px solid rgba(46,125,50,0.2);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  white-space: nowrap;
}

.trust-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-items span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.trust-items span i {
  color: var(--green-light);
  font-size: 11px;
}

/* ============================================
   PROBLEMAS
   ============================================ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-main);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.red { background: #FFEBEE; color: #C62828; }
.orange { background: #FFF3E0; color: #E65100; }
.yellow { background: #FFFDE7; color: #F57F17; }
.purple { background: #F3E5F5; color: #6A1B9A; }
.blue { background: #E3F2FD; color: #1565C0; }
.green { background: #E8F5E9; color: #2E7D32; }

.problem-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================
   COMPARATIVA
   ============================================ */
.solution-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.compare-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.compare-header {
  padding: 28px;
  text-align: center;
}

.compare-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
}

.compare-header i {
  font-size: 32px;
}

.bad-header {
  background: var(--gray-100);
  color: var(--gray-600);
}
.bad-header i { color: var(--gray-400); }

.meden-header {
  background: linear-gradient(135deg, var(--green-dark), var(--blue-dark));
  padding: 20px 28px;
}

.compare-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-md);
  padding: 8px 16px;
}

.compare-card ul {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.compare-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.compare-bad li { color: var(--gray-600); }
.compare-bad li i.fa-times { color: #EF5350; }
.compare-meden li { color: var(--gray-800); font-weight: 500; }
.compare-meden li i.fa-check { color: var(--green-main); }

.compare-meden {
  background: var(--white);
  border: 2px solid var(--green-main);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

/* ============================================
   CÓMO FUNCIONA (PASOS)
   ============================================ */
.steps-container {
  max-width: 900px;
  margin: 0 auto;
}

.step-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 0;
}

.step-reverse {
  flex-direction: row-reverse;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 900;
  color: var(--green-pale);
  line-height: 1;
  min-width: 90px;
  text-align: center;
  position: relative;
  top: -8px;
}

.step-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--green-main), var(--blue-main));
}

.step-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.step-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--green-main);
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.step-summary {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  border-left: 3px solid var(--green-light);
  padding-left: 14px;
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

.step-details li i {
  color: var(--green-main);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.step-details li strong { color: var(--gray-900); }

.step-connector {
  height: 40px;
  width: 3px;
  background: linear-gradient(180deg, var(--green-light), var(--blue-light));
  margin: 0 auto;
  border-radius: 3px;
}

/* ============================================
   5 CAPAS
   ============================================ */
.capas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.capa-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.capa-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(76,175,80,0.3);
  transform: translateY(-4px);
}

.capa-highlight {
  background: rgba(46,125,50,0.12);
  border-color: rgba(76,175,80,0.4);
}

.capa-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--green-light);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}

.capa-icon {
  font-size: 28px;
  color: var(--green-light);
  margin-bottom: 12px;
}

.capa-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.capa-card > p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.capa-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.capa-card li {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding-left: 12px;
  position: relative;
}

.capa-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 900;
}

/* ============================================
   MÓDULOS
   ============================================ */
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.modulo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modulo-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
  transform: translateY(-4px);
}

.modulo-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.icon-green { background: var(--green-pale); color: var(--green-main); }
.icon-blue { background: var(--blue-pale); color: var(--blue-main); }
.icon-brown { background: var(--brown-pale); color: var(--brown-main); }

.modulo-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-main);
}

.modulo-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
}

.modulo-card > p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

.modulo-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: auto;
}

.modulo-features li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.modulo-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-main), var(--blue-main), var(--brown-main));
  border-radius: 3px;
}

.roadmap-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 48px;
  position: relative;
}

.roadmap-badge {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.badge-green { background: var(--green-main); color: var(--white); }
.badge-blue { background: var(--blue-main); color: var(--white); }
.badge-brown { background: var(--brown-main); color: var(--white); }

.roadmap-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  flex: 1;
  box-shadow: var(--shadow-sm);
}

.roadmap-time {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-main);
  margin-bottom: 8px;
}

.roadmap-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.roadmap-content > p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  border-left: 3px solid var(--green-light);
  padding-left: 12px;
}

.roadmap-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roadmap-content li {
  font-size: 13.5px;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}

.roadmap-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 11px;
}

/* ============================================
   PLANES
   ============================================ */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.plan-popular {
  border: 2px solid var(--green-main);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.plan-popular:hover {
  transform: scale(1.03) translateY(-5px);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-main);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
}

.plan-premium .plan-header {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1A2E4A 100%);
}

.plan-header {
  padding: 32px 28px 28px;
  background: var(--gray-50);
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.plan-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green-main);
  margin: 0 auto 16px;
}

.plan-popular .plan-icon {
  background: var(--green-main);
  color: var(--white);
}

.plan-premium .plan-icon {
  background: rgba(76,175,80,0.15);
  color: var(--green-light);
}

.plan-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.plan-premium .plan-header h3 { color: var(--white); }

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-main);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
}

.plan-premium .price-amount { color: var(--white); }
.plan-premium .price-currency { color: var(--green-light); }

.price-period {
  font-size: 13px;
  color: var(--gray-500);
  margin-left: 4px;
}

.plan-premium .price-period { color: rgba(255,255,255,0.5); }

.plan-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.plan-premium .plan-desc { color: rgba(255,255,255,0.6); }

.plan-features {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.4;
}

.plan-features li i.fa-check { color: var(--green-main); flex-shrink: 0; margin-top: 3px; }
.plan-features .feature-no { opacity: 0.4; }
.plan-features .feature-no i.fa-times { color: var(--gray-400); flex-shrink: 0; }

.plan-card .btn-plan,
.plan-card .btn-plan-primary {
  margin: 0 28px 28px;
  width: calc(100% - 56px);
  display: block;
}

.planes-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.planes-note i { color: var(--blue-main); }

/* ============================================
   SEGURIDAD
   ============================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.security-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.security-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
  transform: translateY(-3px);
}

.security-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-main);
  margin-bottom: 16px;
}

.security-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.security-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

.security-card p strong {
  color: var(--gray-800);
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  border: 1px solid rgba(21,101,192,0.2);
  color: var(--blue-main);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.testimonio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonio-quote {
  font-size: 28px;
  color: var(--green-pale);
  margin-bottom: 16px;
}

.testimonio-card > p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.testimonio-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}

.testimonio-author span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--green-main);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--green-50);
  color: var(--green-dark);
}

.faq-question i {
  font-size: 14px;
  color: var(--green-main);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -200px;
  right: -100px;
}

.cta-shape-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -100px;
  left: 5%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-md);
  padding: 8px 20px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content > p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-features {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.cta-features span i { color: #81C784; }

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

/* ============================================
   CONTACTO
   ============================================ */
.section-contact {
  background: var(--gray-50);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
  background: var(--white);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  color: var(--green-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 100px;
}

.contact-logo { margin-bottom: 20px; }
.contact-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact-info > p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-700);
}

.contact-item i {
  width: 36px;
  height: 36px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  font-size: 14px;
  flex-shrink: 0;
}

.contact-trust {
  background: var(--beige-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 12px;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.contact-trust i { color: var(--green-main); margin-top: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-md);
  padding: 7px 16px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green-main);
  color: var(--white);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--green-main);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hamburger { display: flex; }

  .navbar-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--green-pale);
    box-shadow: var(--shadow-lg);
  }

  .navbar-links.open { display: flex; }
  .navbar-links a { font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
  .btn-nav { width: 100%; text-align: center; justify-content: center; margin-top: 8px; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { padding: 20px 16px; gap: 4px; }
  .stat-item { padding: 0 16px; }
  .stat-num { font-size: 32px; }

  .step-block, .step-reverse { flex-direction: column; gap: 16px; }
  .step-num { font-size: 48px; min-width: auto; }

  .form-row { grid-template-columns: 1fr; }

  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info { position: relative; top: 0; }

  .compare-meden { transform: none; }
  .plan-popular { transform: none; }
  .plan-popular:hover { transform: translateY(-5px); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .roadmap-timeline::before { left: 30px; }
  .roadmap-badge { width: 62px; height: 62px; font-size: 13px; }

  .capas-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .hero-cta-group { flex-direction: column; align-items: center; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  .stat-divider { width: 60px; height: 1px; }
  .stat-item { padding: 0; }
  .hero-badge { font-size: 10px; text-align: center; }
}
