/* ── TOKENS ─────────────────────────────── */
:root {
  --navy:     #0F2D5E;
  --navy-d:   #081C3A;
  --navy-l:   #E6F1FB;
  --blue:     #185FA5;
  --blue-l:   #B5D4F4;
  --sky:      #0A84FF;
  --red:      #FF3A4A;
  --red-l:    #FFE8EA;
  --amber:    #BA7517;
  --amber-l:  #FAEEDA;
  --teal:     #1D9E75;
  --teal-l:   #E1F5EE;
  --dark:     #1A1A1A;
  --mid:      #555555;
  --gray:     #F6F8FC;
  --gray-m:   #E0E0E0;
  --gray-d:   #888888;
  --white:    #FFFFFF;
  --radius:   10px;
  --radius-l: 16px;
  --shadow:   0 2px 16px rgba(15,45,94,0.10);
  --shadow-h: 0 6px 32px rgba(15,45,94,0.18);
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', Arial, sans-serif; background: var(--white); color: var(--dark); font-size: 15px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray); }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--sky); flex-shrink: 0; }
.section-title { font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.025em; }
.section-sub { font-size: 16px; color: var(--mid); line-height: 1.7;  }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-navy { background: var(--navy-l); color: var(--navy); }
.tag-red { background: var(--red-l); color: var(--red); }
.tag-amber { background: var(--amber-l); color: var(--amber); }
.tag-teal { background: var(--teal-l); color: var(--teal); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: 100px; border: 2px solid var(--navy); cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; text-align: left; word-spacing: normal; }
.check-list li span { text-align: left; word-spacing: normal; }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.x-list { display: flex; flex-direction: column; gap: 10px; }
.x-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; text-align: left; word-spacing: normal; }
.x-list li span { text-align: left; word-spacing: normal; }
.x-list li::before { content: '✕'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── FLOATING CTA ────────────────────────── */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-wa {
  display: flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  padding: 12px 18px; border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.float-wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

/* ── FLOATING "VOLVER A RESULTADO" ── */
.wz-back-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 200;
  display: none; align-items: center; gap: 8px;
  background: #fff; color: var(--navy); border: 1.5px solid var(--gray-m);
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  padding: 12px 20px; border-radius: 100px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}
.wz-back-float.wz-show { display: flex; }
.wz-back-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); border-color: var(--blue); color: var(--blue); }
@media (max-width: 640px) {
  .wz-back-float { bottom: 16px; left: 16px; font-size: 12px; padding: 10px 16px; }
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--gray-m);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo a { display: block; cursor: pointer; }
.nav-logo-placeholder {
  height: 44px; width: 170px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--gray-m); border-radius: 8px;
  color: var(--gray-d); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 1.3;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--mid); transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  font-size: 13px !important; font-weight: 700 !important;
  padding: 10px 22px; border-radius: 100px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--sky) !important; color: #fff !important; }

/* Mobile hamburger toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; padding: 0; margin: 0;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────── */
.hero {
  background: var(--navy-d);
  padding: 88px 24px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; right: -100px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,132,255,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 60px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(24,95,165,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-l); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue-l); }
.hero h1 {
  font-size: 48px; font-weight: 800; color: #fff; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 40px;
}
.hero h1 em { color: var(--blue-l); font-style: normal; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  padding: 16px 32px; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(10,132,255,0.40);
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.hero-btn-main:hover { background: #0076E8; transform: translateY(-2px); }
.hero-btn-sec {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(4px);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  padding: 14px 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.15s; text-decoration: none;
}
.hero-btn-sec:hover { background: rgba(255,255,255,0.20); }
.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
}
.hero-stat { flex: 1; padding: 0 24px 32px 0; border-right: 1px solid rgba(255,255,255,0.08); }
.hero-stat:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.hero-stat-num { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; margin-bottom: 5px; }
.hero-stat-num span { color: var(--blue-l); }
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.4; }

/* Hero right: countdown card */
.hero-countdown-card {
  background: var(--white); border-radius: var(--radius-l) var(--radius-l) 0 0;
  padding: 32px 28px; box-shadow: var(--shadow-h);
}
.hcd-official-link { display: none; font-size: 12px; color: var(--mid); line-height: 1.5; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-m); }
.hcd-official-link a { color: var(--blue); font-weight: 700; text-decoration: none; }
.hcd-official-link a:hover { text-decoration: underline; }
.hcd-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.hcd-see-more { display: block; width: 100%; text-align: center; font-size: 15px; font-weight: 700; color: var(--blue); cursor: pointer; text-transform: none; letter-spacing: normal; border: 2px solid var(--blue); border-radius: var(--radius); padding: 10px 14px; background: none; font-family: 'Poppins', sans-serif; }
.hcd-see-more:hover { color: #fff; background: var(--blue); text-decoration: none; }

/* Modal: lo que la ley exige */
.ley-modal-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(8,20,40,0.65);
  z-index: 999; align-items: center; justify-content: center; padding: 24px;
  pointer-events: none;
}
.ley-modal-overlay.active { display: flex; }
.ley-modal {
  position: relative;
  background: var(--navy-d); color: #fff; border-radius: var(--radius-l);
  padding: 30px 26px 26px; width: 100%; max-width: 380px;
  max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-h);
  pointer-events: auto;
}
.ley-modal-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; color: rgba(255,255,255,0.55);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.ley-modal-close:hover { color: #fff; }
.hcd-tooltip-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-l); margin-bottom: 16px; }
.hcd-tooltip-list { display: flex; flex-direction: column; gap: 14px; }
.hcd-tooltip-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.88); }
.hcd-tooltip-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--blue-l); }
.hcd-tooltip-highlight { color: #FF8A93; font-weight: 700; }
.hcd-tooltip-highlight .hcd-tooltip-icon { color: #FF8A93; }
.hcd-timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.hcd-unit { text-align: center; background: var(--navy-d); border-radius: var(--radius); padding: 12px 8px; }
.hcd-num { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hcd-lbl { font-size: 9px; font-weight: 600; color: var(--blue-l); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }
.hcd-deadline {
  display: flex; align-items: center; gap: 8px;
  background: var(--red-l); border-radius: var(--radius); padding: 10px 14px;
  font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 18px;
}
.hcd-deadline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse 1.5s infinite; }

/* ── LEY SECTION ─────────────────────────── */
.ley-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.fine-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.fine-box { background: var(--red-l); border: 1px solid #FFADB3; border-radius: var(--radius); padding: 18px; text-align: center; }
.fine-num { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.fine-desc { font-size: 11px; color: #A32D2D; line-height: 1.4; }
.risk-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--dark); padding: 4px 0; text-align: left; }
.risk-icon { color: var(--amber); font-weight: 700; flex-shrink: 0; }
.ley-note {
  margin-top: 20px; background: var(--amber-l); border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px;
}
.ley-note strong { font-size: 13px; color: #633806; display: block; margin-bottom: 4px; }
.ley-note p { font-size: 12px; color: #854F0B; line-height: 1.6; }

/* ── TECH SECTION ────────────────────────── */
.tech-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 40px; }
.tech-card {
  background: var(--white); border: 1px solid var(--gray-m);
  border-radius: var(--radius-l); overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tech-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.tech-card-img { width: 100%; height: 130px; object-fit: cover; display: block; }
.tech-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy-l);
  display: flex; align-items: center; justify-content: center;
  margin: 16px auto 10px;
}
.tech-name { font-size: 14px; font-weight: 700; color: var(--navy); text-align: center; padding: 0 14px; margin-bottom: 6px; }
.tech-desc { padding: 0 14px 16px; }
.tech-desc ul { padding-left: 16px; list-style: disc; }
.tech-desc li { font-size: 12px; color: var(--mid); line-height: 1.6; }
.tech-bio-note {
  margin-top: 32px; background: var(--navy-l); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px;
  font-size: 14px; color: var(--navy); line-height: 1.65;
}

/* ── CONFIGURADOR SECTION ────────────────── */
.configurador-hero {
  background: linear-gradient(135deg, var(--navy-d) 0%, #0F3A78 60%, #183D80 100%);
  border-radius: var(--radius-l); padding: 56px 48px; margin-bottom: 40px;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cfg-meta-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.cfg-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }
.cfg-meta-item .cfg-meta-icon { font-size: 14px; opacity: 0.8; }
.configurador-hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,132,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cfg-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6EE79F; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.cfg-eyebrow::before { content: ''; width: 20px; height: 2px; background: #6EE79F; }
.configurador-hero h2 {
  font-size: 32px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em;
}
.configurador-hero h2 em { color: var(--blue-l); font-style: normal; }
.configurador-hero p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 20px; }

/* Wizard */
.wz-card {
  background: var(--white); border-radius: var(--radius-l);
  box-shadow: 0 4px 40px rgba(15,45,94,0.14); max-width: 920px; margin: 0 auto; overflow: hidden;
}
.wz-header { background: var(--navy); padding: 28px 32px 22px; }
.wz-logo-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-l); margin-bottom: 6px; }
.wz-title-inner { font-size: 34px; font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 16px; letter-spacing: -0.025em; }
.wz-title-inner em { font-style: italic; }
.wz-sub-inner { font-size: 13px; color: var(--blue-l); line-height: 1.5; }
.wz-progress-wrap { padding: 18px 32px 4px; }
.wz-progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-d); margin-bottom: 6px; }
.wz-progress-bar { height: 4px; background: var(--gray-m); border-radius: 2px; }
.wz-progress-fill { height: 100%; background: var(--teal); border-radius: 2px; transition: width 0.35s ease; }
#wz-wizard, .wz-results { padding: 24px 32px 28px; }
.wz-q-label { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 18px; line-height: 1.4; }
.wz-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.wz-opt-btn {
  background: var(--white); border: 1.5px solid var(--gray-m);
  border-radius: var(--radius); padding: 14px 16px; text-align: left; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.wz-opt-btn:hover { border-color: var(--teal); background: var(--teal-l); }
.wz-opt-btn.wz-selected { border: 2px solid var(--teal); background: var(--teal-l); }
.wz-opt-btn.wz-selected .wz-opt-label { color: #0F6E56; }
.wz-opt-label { font-size: 14px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.wz-opt-desc { font-size: 12px; color: var(--gray-d); line-height: 1.4; }
.wz-nav-row { margin-top: 4px; }
.wz-btn-back {
  background: none; border: 1px solid var(--gray-m); color: var(--gray-d);
  border-radius: 6px; padding: 7px 14px; font-size: 13px; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.wz-btn-back:hover { background: var(--gray); }
.wz-results { display: none; }
.wz-results.active { display: block; }
.wz-res-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.wz-res-count { font-size: 13px; color: var(--gray-d); margin-bottom: 20px; }
.wz-scenario-card {
  background: var(--gray); border: 1px solid var(--gray-m);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
.wz-sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.wz-sc-sw { font-size: 15px; font-weight: 700; color: var(--navy); }
.wz-badge { font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 700; white-space: nowrap; }
.wz-badge-nube { background: var(--navy-l); color: var(--blue); }
.wz-badge-local { background: #EEEDFE; color: #3C3489; }
.wz-badge-server { background: var(--amber-l); color: var(--amber); }
.wz-sc-tipo { font-size: 12px; color: var(--gray-d); margin-bottom: 10px; }
.wz-sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 10px; }
.wz-sc-field { font-size: 11px; color: var(--gray-d); margin-bottom: 2px; }
.wz-sc-val { font-size: 12px; font-weight: 600; color: var(--dark); }
.wz-sc-terminals { border-top: 1px solid var(--gray-m); padding-top: 10px; }
.wz-sc-tlab { font-size: 10px; color: #b4b2a9; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.wz-sc-label-bold { font-size: 12px; font-weight: 700; color: #000; margin-bottom: 4px; }
.wz-term-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.wz-term-chip { font-size: 11px; background: var(--white); border: 1px solid var(--gray-m); border-radius: 4px; padding: 3px 8px; color: #5f5e5a; }
.wz-term-chip-link { cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.wz-term-chip-link:hover { background: var(--navy-l); border-color: var(--blue); color: var(--navy); text-decoration: underline; }
.wz-cta-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.wz-btn-reset {
  background: var(--white); border: 1px solid var(--gray-m); color: var(--gray-d);
  border-radius: 6px; padding: 11px 18px; font-size: 13px; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.wz-btn-reset:hover { background: var(--gray); }
.wz-btn-consult {
  background: var(--teal); border: none; color: var(--white);
  border-radius: 6px; padding: 11px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; transition: background 0.15s;
}
.wz-btn-consult:hover { background: #0F6E56; }
.wz-btn-email {
  background: var(--white); border: 2px solid var(--teal); color: var(--teal);
  border-radius: 6px; padding: 9px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; transition: background 0.15s, color 0.15s;
}
.wz-btn-email:hover { background: var(--teal-l); }
.wz-no-results { text-align: center; padding: 2.5rem 1rem; color: var(--gray-d); font-size: 14px; line-height: 1.6; }

/* ── SOFTWARE ─────────────────────────────── */
.opciones-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.opcion-card { border-radius: var(--radius-l); padding: 28px; border: 1px solid transparent; }
.opcion-cloud { background: var(--teal-l); border-color: #9FE1CB; }
.opcion-local { background: var(--navy-l); border-color: #0A84FF; }
.opcion-enterprise { background: #EEEDFE; border-color: #AFA9EC; }
.opcion-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.opcion-cloud .opcion-badge { background: #9FE1CB; color: #085041; }
.opcion-local .opcion-badge { background: #0A84FF; color: #fff; }
.opcion-enterprise .opcion-badge { background: #CECBF6; color: #3C3489; }
.opcion-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.opcion-body { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.opcion-list li { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--dark); padding: 3px 0; }
.opcion-cloud .opcion-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.opcion-local .opcion-list li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.opcion-enterprise .opcion-list li::before { content: '✓'; color: #534AB7; font-weight: 700; flex-shrink: 0; }

/* ── CHECADORES ──────────────────────────── */
.tech-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; margin-top: 32px; }
.tech-tab {
  padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--gray-m); background: var(--white); color: var(--mid);
  transition: all 0.15s;
}
.tech-tab:hover { border-color: var(--blue); color: var(--navy); }
.tech-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.checadores-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.checador-group { display: none; }
.checador-group.active { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.checador-card {
  background: var(--white); border: 1px solid var(--gray-m);
  border-radius: var(--radius-l); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  scroll-margin-top: 100px;
}
.checador-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.checador-img {
  width: 100%; aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--navy-l) 0%, var(--gray) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.checador-img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.checador-img-icon { font-size: 32px; color: var(--blue); opacity: 0.5; }
.checador-img-label { font-size: 10px; color: var(--gray-d); font-weight: 500; }
.checador-badge { position: absolute; top: 10px; right: 10px; }
.checador-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.checador-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.checador-specs { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.checador-specs li { font-size: 11px; color: var(--mid); display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.checador-specs li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.checador-tech { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.checador-tech span { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 100px; background: var(--navy-l); color: var(--navy); }

/* ── FORMULARIO ──────────────────────────── */
.form-section { background: var(--navy-d); padding: 88px 24px; }
.form-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center;
}
.form-left .eyebrow { color: var(--blue-l); }
.form-left .eyebrow::before { background: var(--blue-l); }
.form-title { font-size: 34px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.025em; }
.form-title em { color: var(--blue-l); font-style: normal; }
.form-sub { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px; }
.form-promises { display: flex; flex-direction: column; gap: 14px; }
.form-promise-item { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.82); }
.form-promise-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.form-box { background: var(--white); border-radius: var(--radius-l); padding: 36px; box-shadow: var(--shadow-h); }
.form-box-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-box-sub { font-size: 13px; color: var(--gray-d); margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-m); border-radius: var(--radius);
  font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--dark);
  outline: none; transition: border-color 0.15s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #BBBBBB; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--sky); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  border: none; border-radius: 100px; cursor: pointer;
  transition: background 0.15s, transform 0.15s; margin-top: 6px;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); }
.form-privacy { font-size: 11px; color: var(--gray-d); text-align: center; margin-top: 10px; line-height: 1.5; }
.form-confirm { text-align: center; padding: 12px 4px 4px; }
.form-confirm-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-l); color: var(--teal);
  font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-confirm-title { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.form-confirm-text { font-size: 13.5px; color: var(--gray-d); line-height: 1.6; margin-bottom: 20px; }
.wa-note {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px;
  background: #E8F8EE; border-radius: var(--radius); font-size: 12px; color: #1A6835; font-weight: 500;
}
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; flex-shrink: 0; }

/* ── COMPLEMENTARIOS ─────────────────────── */
.comp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.comp-card {
  background: var(--white); border: 1px solid var(--gray-m);
  border-radius: var(--radius-l); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.comp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.comp-link { display: block; text-decoration: none; position: relative; }

/* ── BADGE + TOOLTIP "SE ABRE EN OTRA PESTAÑA" ── */
.comp-ext-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(15,45,94,0.82); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.15s, transform 0.15s;
}
.comp-link:hover .comp-ext-badge { background: var(--sky); transform: scale(1.08); }
.comp-ext-badge svg { width: 15px; height: 15px; }
.comp-ext-tooltip {
  position: absolute; top: 46px; right: 10px; z-index: 3;
  background: #fff; color: var(--navy); white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--gray-m);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.comp-link:hover .comp-ext-tooltip { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .comp-ext-tooltip { display: none; }
}
.comp-icon-wrap {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--navy-l) 0%, #ddeaf8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-direction: column; gap: 6px;
}
.comp-img-label { font-size: 9px; color: var(--mid); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.comp-body { padding: 14px; }
.comp-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.comp-desc { font-size: 11px; color: var(--mid); line-height: 1.5; }

/* ── EXPERTISE STRIP ─────────────────────── */
.expertise-strip {
  background: var(--navy); border-radius: var(--radius-l); padding: 40px 48px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 40px;
}
.exp-stat { text-align: center; }
.exp-num { font-size: 36px; font-weight: 800; color: var(--blue-l); letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.exp-label { font-size: 12px; color: rgba(255,255,255,0.62); line-height: 1.4; }

/* ── FOOTER ──────────────────────────────── */
footer { background: var(--navy-d); padding: 48px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 38px; width: auto; opacity: 0.90; }
.footer-social { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.70);
  transition: background 0.2s, color 0.2s; font-size: 15px;
}
.footer-social-link:hover { background: var(--blue); color: #fff; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.35); text-align: right; line-height: 1.7; }

/* ── CTA MID-PAGE STRIP ──────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 40px 24px; text-align: center;
}
.cta-strip h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.cta-strip-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-countdown-card { border-radius: var(--radius-l); margin-top: 32px; }
  .hero h1 { font-size: 36px; }
  .ley-grid { grid-template-columns: 1fr; gap: 32px; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .configurador-hero { grid-template-columns: 1fr; }
  .opciones-grid { grid-template-columns: 1fr; }
  .checador-group.active { grid-template-columns: repeat(2,1fr); }
  .form-inner { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: repeat(2,1fr); }
  .expertise-strip { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .section-title { font-size: 27px; }
  .wz-title-inner { font-size: 27px; }
}
@media (max-width: 580px) {
  .hero h1 { font-size: 30px; }
  .tech-grid { grid-template-columns: 1fr; }
  .checador-group.active { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    border-bottom: 1px solid var(--gray-m);
    box-shadow: 0 16px 28px rgba(15,45,94,0.12);
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }
  .nav-links.open { max-height: 420px; opacity: 1; }
  .nav-links a { padding: 14px 24px; border-bottom: 1px solid var(--gray-m); width: 100%; }
  .nav-links a.btn-advisor {
    margin: 14px 24px 18px; padding: 12px 20px; border-bottom: none;
    justify-content: center; width: auto;
  }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat, .hero-stat:last-child { border: none; padding: 0; }
  .hcd-timer { grid-template-columns: repeat(2,1fr); }
  .fine-pair { grid-template-columns: 1fr; }
  .expertise-strip { grid-template-columns: 1fr 1fr; padding: 24px; }
  .float-cta { bottom: 16px; right: 16px; }
}

/* Animated gradient for hero highlight */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-gradient-text {
  background: linear-gradient(90deg, #B5D4F4, #5BA3E8, #0A84FF, #185FA5, #B5D4F4);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  font-style: normal;
}


/* Unified advisor button */
.btn-advisor {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: 100px; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-advisor:hover { background: #0F6E56; transform: translateY(-1px); }


.email-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 15px;
}
.email-modal-overlay.active {
  display: flex;
}
.email-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease;
  z-index: 10000;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.email-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.2s;
}
.email-modal-close:hover {
  background: #f0f0f0;
}
#email-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A2D6E;
  margin: 0;
}
.email-modal-sub {
  color: #555;
  font-size: 13px;
  margin: 0 0 10px 0;
  line-height: 1.5;
}
.email-form-group {
  margin-bottom: 5px;
}
.email-form-group label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #333;
  margin-bottom: 5px;
}
.email-form-group input,
.email-form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.email-form-group input:focus,
.email-form-group select:focus {
  outline: none;
  border-color: #0A84FF;
  box-shadow: 0 0 0 3px rgba(10,132,255,0.1);
}
.email-form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(160deg, #0A84FF 0%, #0066CC 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.email-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10,132,255,0.3);
}
.email-form-submit:active {
  transform: translateY(0);
}
/* Confirmación */
#email-modal-confirm {
  text-align: center;
  padding: 20px 0;
}
.email-confirm-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.email-confirm-small {
  font-size: 12px;
  color: #888;
  margin: 8px 0 20px 0;
}
.email-confirm-btn {
  padding: 12px 32px;
  background: #0A84FF;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.email-confirm-btn:hover {
  background: #0066CC;
}

/* Estilos para mensajes en el modal */
#modal-mensaje {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 4px;
    border: 1px solid;
    display: none;
    font-weight: 500;
}

.mensaje-exito {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.mensaje-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Hacer la imagen del CAPTCHA interactiva */
#email-form img[src*="captcha2.php"] {
    cursor: pointer;
    transition: opacity 0.3s;
}

#email-form img[src*="captcha2.php"]:hover {
    opacity: 0.8;
}

/* Estilos para el campo de CAPTCHA */
.captcha-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.captcha-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}
/* Forzar z-index de SweetAlert2 */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    z-index: 100000 !important;
}

/* Si usas la versión antigua */
.swal-overlay {
    z-index: 99999 !important;
}

.swal-modal {
    z-index: 100000 !important;
}