/* ============================================================
   InversorSubastas — Landing estilo premium ámbar/oro
   ============================================================ */

:root {
  /* Paleta ámbar: warm charcoal + gold + cream */
  --fc-dark: #1c1917;          /* espresso / stone-900 */
  --fc-dark-2: #292524;        /* stone-800 */
  --fc-primary: #b45309;       /* amber-700 — oro oscuro */
  --fc-primary-2: #d97706;     /* amber-600 */
  --fc-accent: #f59e0b;        /* amber-500 — oro vivo */
  --fc-accent-glow: rgba(245, 158, 11, .38);
  --fc-light: #fef3c7;         /* amber-100 — crema cálida */
  --fc-bg: #fffbeb;            /* amber-50 — fondo cálido */
  --fc-white: #ffffff;
  --fc-text: #1c1917;
  --fc-text-2: #292524;
  --fc-muted: #57534e;         /* stone-600 */
  --fc-line: #e7e5e4;          /* stone-200 */
  --fc-red: #dc2626;
  --fc-amber: #f59e0b;
  --fc-yellow: #fbbf24;
  --fc-green: #16a34a;         /* verde ahorro positivo */

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(5, 46, 26, .06);
  --shadow: 0 12px 32px rgba(5, 46, 26, .10);
  --shadow-lg: 0 24px 60px rgba(5, 46, 26, .16);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--fc-white);
  color: var(--fc-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--fc-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Utilidades ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--fc-bg); }
.section-dark { background: linear-gradient(160deg, var(--fc-dark) 0%, var(--fc-dark-2) 100%); color: var(--fc-white); }
.section-dark a { color: var(--fc-accent); }

.section-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--fc-light);
  color: var(--fc-primary);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section-dark .section-label {
  background: rgba(34, 197, 94, .18);
  color: #86efac;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: inherit;
}
.section-sub {
  font-size: 1.125rem;
  color: var(--fc-muted);
  max-width: 720px;
  margin: 0 0 56px;
  line-height: 1.6;
}
.section-dark .section-sub { color: rgba(255, 255, 255, .7); }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-primary) 100%);
  color: var(--fc-white);
  box-shadow: 0 10px 24px var(--fc-accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--fc-accent-glow);
}
.btn-secondary {
  background: var(--fc-white);
  color: var(--fc-primary);
  border-color: var(--fc-light);
}
.btn-secondary:hover {
  border-color: var(--fc-accent);
  background: var(--fc-light);
}
.btn-ghost {
  background: transparent;
  color: var(--fc-white);
  border-color: rgba(255, 255, 255, .25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--fc-line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: var(--fc-text);
  font-weight: 800;
  font-family: var(--font-display);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px var(--fc-accent-glow);
  color: #fff;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { font-size: 1.15rem; letter-spacing: -.02em; }
.logo-text span { color: var(--fc-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--fc-text-2);
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none !important;
}
.nav-link:hover { color: var(--fc-primary); }
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--fc-line);
}
.nav-login {
  color: var(--fc-text-2);
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none !important;
}
.nav-login:hover { color: var(--fc-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-primary) 100%);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none !important;
  box-shadow: 0 6px 16px var(--fc-accent-glow);
  transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-1px); }

.lang-sw {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.lang-sw button {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  padding: 4px 6px;
  line-height: 1;
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s;
}
.lang-sw button:hover { opacity: 1; }
.lang-sw button.ib-active { opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  align-items: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fc-text);
  border-radius: 2px;
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(34, 197, 94, .18), transparent 70%),
    radial-gradient(600px 400px at 80% 30%, rgba(22, 163, 74, .14), transparent 70%),
    linear-gradient(180deg, #f6fef9 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--fc-white);
  border: 1px solid var(--fc-light);
  color: var(--fc-primary);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--fc-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--fc-accent-glow); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 auto 20px;
  max-width: 900px;
  color: var(--fc-dark);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-title .hl {
  display: inline-block;
  padding: 0 .15em;
  background: var(--fc-light);
  border-radius: 8px;
  color: var(--fc-primary);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--fc-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-note {
  margin: 16px 0 0;
  font-size: .85rem;
  color: var(--fc-muted);
}
.hero-note strong { color: var(--fc-primary); }

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
  color: var(--fc-muted);
  font-size: .9rem;
}
.avatars { display: flex; }
.avatars .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fc-primary);
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .72rem;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
}
.avatars .av:first-child { margin-left: 0; }
.avatars .av:nth-child(2) { background: var(--fc-accent); }
.avatars .av:nth-child(3) { background: var(--fc-dark-2); }
.avatars .av:nth-child(4) { background: var(--fc-primary-2); }
.stars { color: var(--fc-yellow); letter-spacing: 2px; font-size: 1rem; }

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 56px auto 0;
  max-width: 980px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--fc-light);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fc-primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: var(--fc-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Problema / jungla ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--fc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.pain-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--fc-text);
}
.pain-desc {
  font-size: .92rem;
  color: var(--fc-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Comparativa Antes/Después ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}
.compare-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--fc-line);
}
.compare-before {
  background: #fef2f2;
  border-color: #fecaca;
}
.compare-after {
  background: linear-gradient(160deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 24px 60px var(--fc-accent-glow);
}
.compare-col h3 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
}
.compare-before h3 { color: var(--fc-red); }
.compare-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.compare-metric .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.compare-before .v { color: var(--fc-red); }
.compare-after .v { color: #fff; }
.compare-metric .l {
  font-size: .9rem;
  opacity: .8;
  line-height: 1.4;
}
.compare-arrow {
  font-size: 2rem;
  color: var(--fc-accent);
  font-weight: 800;
  text-align: center;
}

/* ---------- Casos reales (InversorSubastas) ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--fc-accent);
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--fc-light) 100%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  z-index: 0;
}
.case-card:hover::before { opacity: .5; }
.case-card > * { position: relative; z-index: 1; }
.case-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  filter: saturate(1.1);
}
.case-type {
  font-size: .72rem;
  color: var(--fc-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 12px;
}
.case-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}
.case-price-old {
  color: var(--fc-muted);
  text-decoration: line-through;
  font-size: .95rem;
}
.case-price-new {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--fc-primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.case-discount {
  display: inline-block;
  padding: 4px 12px;
  background: var(--fc-green);
  color: #fff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.case-loc {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--fc-muted);
}

/* ---------- 3 pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.pillar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--fc-line);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--fc-accent);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--fc-accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--fc-accent) 0%, var(--fc-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 18px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--fc-text);
}
.pillar-desc {
  color: var(--fc-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}
.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--fc-light);
  color: var(--fc-primary);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- Cómo funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.step {
  position: relative;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--fc-line);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fc-primary);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 14px;
  font-size: 1rem;
}
.step-time {
  font-size: .72rem;
  color: var(--fc-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--fc-text);
}
.step-desc {
  color: var(--fc-muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Clasificación A-D ---------- */
.levels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.level {
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--fc-line);
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.level:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.level-a .level-badge { background: linear-gradient(135deg, #16a34a, #065f46); }
.level-b .level-badge { background: linear-gradient(135deg, #22c55e, #15803d); }
.level-c .level-badge { background: linear-gradient(135deg, #fbbf24, #d97706); }
.level-d .level-badge { background: linear-gradient(135deg, #94a3b8, #64748b); }
.level-na .level-badge { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: var(--fc-muted); }
.level-score {
  font-weight: 700;
  color: var(--fc-text);
  font-size: .9rem;
  margin-bottom: 4px;
}
.level-desc {
  font-size: .78rem;
  color: var(--fc-muted);
  line-height: 1.4;
}

/* ---------- Screenshots ---------- */
.ss-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ss-tab {
  padding: 10px 20px;
  background: #fff;
  color: var(--fc-muted);
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.ss-tab.active,
.ss-tab:hover {
  background: var(--fc-primary);
  color: #fff;
  border-color: var(--fc-primary);
}
.ss-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--fc-line);
  background: #fff;
  max-width: 1040px;
  margin: 0 auto;
}
.ss-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.ss-cap {
  padding: 14px 20px;
  margin: 0;
  font-size: .88rem;
  color: var(--fc-muted);
  background: #fff;
  border-top: 1px solid var(--fc-line);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Características ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s, border-color .2s, background .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, .5);
  background: rgba(34, 197, 94, .08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 197, 94, .15);
  color: var(--fc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #fff;
}
.feature-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.55;
  margin: 0;
}

/* ---------- CTA grande ---------- */
.cta-box {
  background: linear-gradient(160deg, var(--fc-dark) 0%, var(--fc-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(34, 197, 94, .35), transparent 70%),
    radial-gradient(500px 300px at 80% 90%, rgba(34, 197, 94, .25), transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .section-label {
  background: rgba(34, 197, 94, .2);
  color: #86efac;
}
.cta-box .section-title {
  color: #fff;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box .section-sub {
  color: rgba(255, 255, 255, .75);
  max-width: 640px;
  margin: 0 auto 28px;
}
.cta-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}
.cta-stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--fc-accent);
  line-height: 1;
}
.cta-stat .l {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 24px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--fc-line);
  padding: 20px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fc-text);
  user-select: none;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fc-light);
  color: var(--fc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform .25s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--fc-muted);
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--fc-dark);
  color: rgba(255, 255, 255, .75);
  padding: 64px 24px 28px;
  font-size: .9rem;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}
.footer-nav-group h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 16px;
}
.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-group a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav-group a:hover { color: var(--fc-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ============================================================
   COOKIE BANNER (consentimiento)
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  color: var(--fc-text);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1001;
  border: 1px solid var(--fc-line);
}
#cookie-banner.visible { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-text { margin: 0; flex: 1; min-width: 280px; font-size: .9rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-settings,
.btn-cookie-accept {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--fc-line);
  background: #fff;
  color: var(--fc-text);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
}
.btn-cookie-accept {
  background: linear-gradient(135deg, var(--fc-accent), var(--fc-primary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px var(--fc-accent-glow);
}

/* Modal */
#cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 46, 26, .6);
  backdrop-filter: blur(4px);
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#cookie-overlay.visible { display: flex; }
#cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--fc-muted);
}
#cookie-modal h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.cookie-modal-desc {
  color: var(--fc-muted);
  font-size: .9rem;
  margin: 0 0 18px;
  line-height: 1.55;
}
.cookie-cat {
  border-bottom: 1px solid var(--fc-line);
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
}
.cat-name { flex: 1; }
.cat-right { display: flex; align-items: center; gap: 12px; }
.cat-always {
  color: var(--fc-primary);
  font-weight: 700;
  font-size: .82rem;
  margin-left: auto;
}
.cat-status {
  font-size: .78rem;
  color: var(--fc-muted);
  font-weight: 600;
}
.cookie-cat-body {
  display: none;
  padding-bottom: 14px;
  font-size: .85rem;
  color: var(--fc-muted);
  line-height: 1.55;
}
.cookie-cat-body.open { display: block; }
.cat-arrow { font-size: .85rem; transition: transform .2s; color: var(--fc-muted); }
.cat-arrow.open { transform: rotate(90deg); }

.toggle-switch { position: relative; display: inline-block; width: 42px; height: 22px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  border-radius: 22px;
  transition: .2s;
}
.toggle-slider::before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--fc-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.cookie-modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.btn-cookie-save {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--fc-accent), var(--fc-primary));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: .88rem;
  box-shadow: 0 6px 16px var(--fc-accent-glow);
}

/* ============================================================
   Legales — layout sencillo
   ============================================================ */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -.02em;
  color: var(--fc-dark);
  margin: 0 0 8px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 40px 0 12px;
  color: var(--fc-text);
}
.legal-page h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
  color: var(--fc-text);
}
.legal-page p,
.legal-page li {
  color: var(--fc-text-2);
  line-height: 1.7;
}
.legal-page a { color: var(--fc-primary); }
.legal-page .legal-meta {
  color: var(--fc-muted);
  font-size: .9rem;
  margin-bottom: 32px;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: .9rem;
}
.legal-page table th,
.legal-page table td {
  border: 1px solid var(--fc-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-page table th {
  background: var(--fc-bg);
  font-weight: 700;
  color: var(--fc-text);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--fc-line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-divider { width: 100%; height: 1px; margin: 4px 0; }
  .nav-cta { width: 100%; justify-content: center; }
  .lang-sw { margin-left: 0; justify-content: center; margin-top: 4px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .compare-col { padding: 28px 20px; }
  .cta-box { padding: 48px 24px; }
  .cta-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .levels { grid-template-columns: 1fr 1fr; }
}
