/* ==========================================================================
   TeamBiz v1 — CSS
   Modo claro / oscuro con variables CSS · Responsive
   ========================================================================== */

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --primary: #6366f1;
  --primary-strong: #4f46e5;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --accent-soft: #ecfeff;
  --success: #10b981;

  --bg: #ffffff;
  --bg-tint: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e9f2;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #64748b;
  --heading: #0b1220;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, .12);
  --shadow-primary: 0 10px 24px rgba(99, 102, 241, .32);

  --gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, .10), rgba(6, 182, 212, .10));

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --header-h: 72px;
  --container: 1180px;

  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
  --primary: #818cf8;
  --primary-strong: #a5b4fc;
  --primary-soft: rgba(129, 140, 248, .16);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, .14);
  --success: #34d399;

  --bg: #0b1020;
  --bg-tint: #0e1529;
  --surface: #111a33;
  --surface-2: #0e1526;
  --border: #232f4d;
  --text: #e6eaf4;
  --text-soft: #b7c0d4;
  --text-mute: #8b95ad;
  --heading: #f4f6fb;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);
  --shadow-primary: 0 10px 24px rgba(99, 102, 241, .35);

  --gradient-soft: linear-gradient(135deg, rgba(129, 140, 248, .14), rgba(34, 211, 238, .14));
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-link { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--primary-strong); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient); color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 102, 241, .42); }
.btn--outline { border: 1.5px solid var(--border); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--ghost { color: var(--text-soft); background: transparent; padding: 12px 16px; }
.btn--ghost:hover { color: var(--primary); background: var(--primary-soft); }
.btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--heading); }
[data-theme="dark"] .brand__logo { filter: invert(.9) drop-shadow(0 2px 4px rgba(0,0,0,.4)); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--text-soft);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--primary); background: var(--primary-soft); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--text-soft); border: 1.5px solid var(--border); background: var(--surface);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--surface);
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 56px;
  background: radial-gradient(60rem 32rem at 85% -8%, rgba(99, 102, 241, .18), transparent 60%),
              radial-gradient(46rem 26rem at 0% 20%, rgba(6, 182, 212, .14), transparent 55%),
              var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  margin-bottom: 20px;
}
.hero__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-soft); max-width: 34rem; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__checks li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--text-soft);
}
.hero__checks li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient); flex: none;
}

/* Mockup */
.hero__visual { position: relative; }
.mockup {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform var(--transition);
}
.hero__visual:hover .mockup { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.mockup__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.mockup__dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup__dot:nth-child(1) { background: #f87171; }
.mockup__dot:nth-child(2) { background: #fbbf24; }
.mockup__dot:nth-child(3) { background: #34d399; }
.mockup__url {
  margin-left: 10px; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; color: var(--text-mute); background: var(--bg-tint); border: 1px solid var(--border);
}
.mockup__body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.mockup__side { display: flex; flex-direction: column; gap: 8px; padding: 16px 10px; border-right: 1px solid var(--border); background: var(--surface-2); }
.mockup__side-item { height: 18px; border-radius: 6px; background: var(--border); }
.mockup__side-item.is-on { background: var(--gradient); opacity: .85; }
.mockup__main { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; }
.mockup__stat { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--gradient-soft); border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); }
.mockup__stat-label { display: block; font-size: 11.5px; color: var(--text-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mockup__stat-value { font-size: 22px; font-weight: 800; color: var(--heading); }
.mockup__spark { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.mockup__spark span { width: 9px; border-radius: 4px 4px 0 0; background: var(--gradient); opacity: .75; }
.mockup__row { display: flex; gap: 12px; align-items: center; }
.mockup__row-name { height: 10px; width: 55%; border-radius: 5px; background: var(--border); }
.mockup__row-val { height: 10px; width: 22%; border-radius: 5px; background: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.mockup__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.mockup__cell { height: 14px; border-radius: 4px; background: var(--border); }
.mockup__cell.is-head { background: var(--primary); opacity: .45; }

.hero__float {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  font-size: 13px; font-weight: 700; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.float--a { top: -16px; right: 6%; }
.float--b { bottom: -14px; left: -8px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Trust bar */
.hero__trust {
  margin-top: 72px; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero__trust-label { font-size: 13.5px; font-weight: 600; color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em; }
.hero__trust-img { opacity: .9; }
[data-theme="dark"] .hero__trust-img { filter: invert(.92) saturate(0); opacity: .8; }
.hero__trust-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--heading); }
.hero__stat span { font-size: 12.5px; color: var(--text-mute); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }

.section__head { max-width: 46rem; margin: 0 auto 56px; text-align: center; }
.section__tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--primary); background: var(--primary-soft);
}
.section__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.section__desc { font-size: 16.5px; color: var(--text-soft); }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 15px; color: var(--primary);
  background: var(--gradient-soft); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}
.pillar h3 { font-size: 19px; font-weight: 700; }
.pillar p { font-size: 14.5px; color: var(--text-soft); flex-grow: 1; }
.pillar__link { font-size: 14px; font-weight: 600; color: var(--primary); }
.pillar__link:hover { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  color: var(--accent); background: var(--accent-soft);
}
.benefit h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.benefit p { font-size: 14.5px; color: var(--text-soft); }
.benefit--cta {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: var(--gradient); border-color: transparent; color: #fff;
}
.benefit--cta h3 { color: #fff; font-size: 20px; }
.benefit--cta p { color: rgba(255,255,255,.9); }
.benefit--cta .btn { background: #fff; color: var(--primary-strong); box-shadow: none; align-self: flex-start; }
.benefit--cta .btn:hover { transform: translateY(-2px); }

/* ---------- Comparativa ---------- */
.compare {
  padding: 8px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare__table th, .compare__table td { padding: 16px 18px; font-size: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare__table thead th { font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-mute); background: var(--surface-2); }
.compare__table tbody th { font-weight: 600; color: var(--heading); width: 24%; }
.compare__table td { color: var(--text-soft); }
.compare__table tr:last-child td, .compare__table tr:last-child th { border-bottom: none; }
.compare__table .is-highlight { background: var(--gradient-soft); color: var(--text); font-weight: 500; }
.compare__table thead th.is-highlight { color: var(--primary); background: var(--primary-soft); position: relative; }
.compare__table thead th.is-highlight::after {
  content: '★ Recomendado'; position: absolute; right: 12px; top: 8px;
  font-size: 10px; letter-spacing: .05em; padding: 2px 8px; border-radius: 999px;
  color: #fff; background: var(--gradient);
}
.compare__note { padding: 18px 20px 8px; font-size: 14px; color: var(--text-mute); border-top: 1px solid var(--border); }

/* ---------- Caminos ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 46px; }
.path {
  position: relative; padding: 34px 26px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path__num {
  position: absolute; top: 6px; right: 18px;
  font-size: 72px; font-weight: 900; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--border); line-height: 1;
}
.path__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 15px; color: var(--primary); background: var(--gradient-soft); margin-bottom: 18px; }
.path h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.path p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 20px; }

.steps {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.steps__intro h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.steps__intro p { color: var(--text-soft); margin-bottom: 18px; }
.steps__bonus { padding: 14px 16px; border-radius: 12px; font-size: 14px; color: var(--text-soft); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.steps__bonus strong { color: var(--heading); }
.steps__list { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.steps__list li { display: flex; align-items: center; gap: 16px; font-size: 15.5px; color: var(--text-soft); font-weight: 500; }
.steps__list li span {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  font-weight: 800; color: var(--primary); background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
}

/* ---------- Split (Sin TI) ---------- */
.section--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.section__split-content .section__tag { margin-bottom: 12px; }
.checklist { display: flex; flex-direction: column; gap: 18px; margin: 26px 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist__mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-top: 2px; border-radius: 50%;
  font-size: 14px; font-weight: 800; color: #fff; background: var(--success);
}
.checklist strong { display: block; color: var(--heading); font-size: 15.5px; }
.checklist div { font-size: 14.5px; color: var(--text-soft); }

.no-ti { position: relative; display: flex; justify-content: center; }
.no-ti__card {
  width: min(360px, 90%); padding: 26px;
  border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.no-ti__dots { display: flex; gap: 7px; margin-bottom: 20px; }
.no-ti__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.no-ti__dots span:first-child { background: var(--primary); }
.no-ti__line { height: 14px; width: 100%; border-radius: 7px; margin-bottom: 12px; background: var(--border); }
.no-ti__line.is-short { width: 70%; background: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.no-ti__toggles { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.no-ti__toggles span { height: 40px; border-radius: 10px; border: 1.5px solid var(--border); position: relative; }
.no-ti__toggles span::after {
  content: ''; position: absolute; top: 6px; left: 6px;
  width: 28px; height: 26px; border-radius: 7px; background: var(--primary); opacity: .85;
  transition: left var(--transition);
}
.no-ti__toggles span:nth-child(2)::after { left: calc(100% - 34px); }
.no-ti__badge {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--primary-strong);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 26px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 34px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--gradient); box-shadow: var(--shadow-primary);
}
.plan__name { font-size: 15px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; font-size: 44px; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.plan__currency { font-size: 20px; font-weight: 700; color: var(--primary); }
.plan__per { font-size: 13.5px; font-weight: 500; color: var(--text-mute); }
.plan__features { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; margin: 6px 0 18px; }
.plan__features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.plan__features li::before {
  content: '✓'; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 800; color: var(--success);
  background: color-mix(in srgb, var(--success) 15%, transparent);
}

.plans__extra-card {
  display: grid; grid-template-columns: auto 1fr 1.2fr; gap: 22px; align-items: center;
  padding: 26px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.plans__extra-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  font-size: 28px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
}
.plans__extra-card h3 { font-size: 17px; margin-bottom: 2px; }
.plans__extra-price { font-size: 26px; font-weight: 800; color: var(--heading); }
.plans__extra-price span { font-size: 13px; font-weight: 500; color: var(--text-mute); margin-left: 6px; }
.plans__extra-card > p:last-child { font-size: 14.5px; color: var(--text-soft); }
.plans__note { margin-top: 14px; font-size: 13.5px; color: var(--text-mute); text-align: center; }

/* ---------- Seguridad ---------- */
.security { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sec {
  padding: 28px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.sec:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.sec__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; color: var(--success); background: color-mix(in srgb, var(--success) 13%, transparent); }
.sec h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.sec p { font-size: 14px; color: var(--text-soft); }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.tst__stars { color: #f59e0b; font-size: 15px; letter-spacing: 3px; }
.tst blockquote { font-size: 15.5px; color: var(--text); font-style: italic; line-height: 1.6; flex-grow: 1; }
.tst__footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.tst__avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 700; color: #fff; background: var(--gradient); }
.tst__footer strong { display: block; font-size: 14.5px; color: var(--heading); }
.tst__footer span { font-size: 12.5px; color: var(--text-mute); }
.testimonials__note { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--text-mute); }

.tst--coming {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; min-height: 220px;
  border-style: dashed; background: var(--bg);
}
.tst--coming .tst__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  color: var(--primary); background: var(--primary-soft);
  margin-bottom: 4px;
}
.tst--coming h3 { font-size: 18px; font-weight: 700; }
.tst--coming p { font-size: 14px; color: var(--text-mute); max-width: 18rem; }
.tst--coming:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ---------- Contacto ---------- */
.contact { background: var(--gradient-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info .section__tag { margin-bottom: 12px; }
.contact__list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  color: var(--primary); background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}
.contact__list span { display: block; font-size: 13px; color: var(--text-mute); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact__list a, .contact__list p { font-size: 16px; font-weight: 600; color: var(--heading); }
.contact__list a:hover { color: var(--primary); }

.contact__form {
  padding: 36px 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.contact__form h3 { font-size: 21px; font-weight: 800; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--surface-2); border: 1.5px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field.has-error input, .field.has-error textarea { border-color: #ef4444; }
.field__error { display: none; margin-top: 6px; font-size: 12.5px; color: #ef4444; }
.field.has-error .field__error { display: block; }
.contact__hint { margin-top: 14px; font-size: 13.5px; color: var(--text-mute); text-align: center; }
.contact__success {
  display: none; align-items: center; gap: 10px;
  padding: 14px 16px; margin-bottom: 20px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent); border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);
}
.contact__success.is-visible { display: flex; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { font-size: 14px; color: var(--text-mute); margin: 16px 0 20px; max-width: 30rem; }
.footer__brand .brand__name { font-size: 20px; }
.footer__ms { opacity: .9; }
[data-theme="dark"] .footer__ms { filter: invert(.92) saturate(0); opacity: .8; }
.footer__col h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; color: var(--heading); }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14.5px; color: var(--text-soft); transition: color var(--transition); }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  padding: 22px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}

/* ---------- Scroll top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  color: #fff; background: var(--gradient); box-shadow: var(--shadow-primary);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 48rem; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item[open] { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--heading);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--primary); }
.faq__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 18px; line-height: 1; color: var(--primary);
  background: var(--primary-soft);
  transition: transform var(--transition);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; font-size: 15px; color: var(--text-soft); }

/* ---------- Animaciones scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__float, .mockup { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header__actions .btn--ghost, .header__actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 460px; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px; }
  .nav__link { display: block; padding: 13px 16px; font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero__trust { justify-content: center; text-align: center; }
  .hero__trust-stats { justify-content: center; gap: 24px; }
  .hero__stat strong { font-size: 19px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .benefits, .security, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .section--split, .steps { grid-template-columns: 1fr; }
  .no-ti { margin-top: 30px; }
  .paths, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .plans__extra-card { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .section { padding: 68px 0; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero__cta .btn { width: 100%; }
  .hero__checks { flex-direction: column; gap: 10px; }
  .hero__trust { padding: 22px 18px; flex-direction: column; }
  .pillars, .benefits, .security, .testimonials { grid-template-columns: 1fr; }
  .mockup__body { min-height: 240px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .contact__form { padding: 28px 20px; }
}
