/* SalaryInSpain — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
  --primary: #1A3C5E;
  --accent: #E8734A;
  --bg: #F7F9FC;
  --text: #1C2B3A;
  --text-secondary: #6B7C93;
  --green: #2D9E6B;
  --red: #D94F4F;
  --selected-bg: #FFF3EE;
  --selected-border: #E8734A;
  --white: #ffffff;
  --border: #E2E8F0;
  --shadow: 0 2px 12px rgba(26,60,94,0.08);
  --shadow-lg: 0 8px 32px rgba(26,60,94,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { line-height: 1.7; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ─── HEADER / NAV ───────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo:hover { text-decoration: none; color: var(--primary); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.25s;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: #d4633c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,115,74,0.35); text-decoration: none; color: var(--white); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
}
.btn--ghost:hover { text-decoration: underline; }

.btn--full { width: 100%; }

.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ─── HERO (index) ───────────────────────────────────────── */
.hero {
  background: var(--primary);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  max-width: 700px;
  letter-spacing: -0.5px;
}

.hero p.subheadline {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero .cta-wrapper {
  width: 100%;
  max-width: 360px;
}

.hero .btn--primary { font-size: 1.1rem; padding: 18px 32px; }

.hero-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}

/* ─── SECTION: CALCULATORS ───────────────────────────────── */
.section { padding: 80px 0; }
.section--alt { background: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { color: var(--primary); margin-bottom: 12px; }
.section-title p { color: var(--text-secondary); font-size: 1.05rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: #EEF4FB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.card h3 { color: var(--primary); margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; flex: 1; margin-bottom: 24px; }
.card .btn { align-self: flex-start; }

/* ─── TRUST SECTION ──────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--primary);
}
.trust-item h4 { color: var(--primary); margin-bottom: 6px; font-size: 1rem; }
.trust-item p { color: var(--text-secondary); font-size: 0.88rem; }

/* ─── AFFILIATE SECTION ──────────────────────────────────── */
.affiliate-section { padding: 64px 0; background: var(--white); border-top: 1px solid var(--border); }
.affiliate-section h2 { text-align: center; margin-bottom: 8px; color: var(--primary); font-size: 1.3rem; }
.affiliate-note-top { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 36px; }

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.affiliate-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.affiliate-card .brand { font-weight: 700; color: var(--primary); font-size: 1rem; }
.affiliate-card p { color: var(--text-secondary); font-size: 0.88rem; flex: 1; }
.affiliate-card a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.affiliate-disclosure {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ─── EMAIL FORM ─────────────────────────────────────────── */
.email-section { padding: 64px 0; background: var(--bg); }
.email-section h2 { text-align: center; color: var(--primary); margin-bottom: 8px; }
.email-section p { text-align: center; color: var(--text-secondary); margin-bottom: 32px; }

.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.email-form input:focus { outline: none; border-color: var(--accent); }

.email-success {
  text-align: center;
  color: var(--green);
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-logo {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: block;
}

.footer-tagline { font-size: 0.85rem; max-width: 320px; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ─── CALCULATOR PAGES ───────────────────────────────────── */
.calc-hero {
  background: var(--primary);
  padding: 48px 0 40px;
  text-align: center;
  color: var(--white);
}

.calc-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.calc-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ─── TYPEFORM-STYLE WIZARD ──────────────────────────────── */
.wizard-wrapper {
  padding: 40px 0 80px;
}

.progress-bar-outer {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 48px;
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.step {
  display: none;
  animation: stepIn 0.35s ease forwards;
}
.step.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.step h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--primary);
  margin-bottom: 8px;
}

.step .step-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Options list */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 540px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}
.option-btn:hover { border-color: var(--accent); background: #fffaf7; }
.option-btn.selected {
  border-color: var(--selected-border);
  background: var(--selected-bg);
  color: var(--primary);
}

.option-btn .opt-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background: #EEF4FB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background 0.2s;
}
.option-btn.selected .opt-icon { background: #FDEAE0; }

.option-btn .opt-text { flex: 1; }
.option-btn .opt-title { display: block; font-weight: 600; }
.option-btn .opt-sub { display: block; font-size: 0.82rem; color: var(--text-secondary); font-weight: 400; margin-top: 1px; }

.option-btn .check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.option-btn.selected .check {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Option grid (regions) */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  max-width: 600px;
}
.option-chip {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  text-align: center;
}
.option-chip:hover { border-color: var(--accent); background: #fffaf7; }
.option-chip.selected {
  border-color: var(--selected-border);
  background: var(--selected-bg);
  color: var(--primary);
  font-weight: 700;
}

/* Two-option big buttons */
.options-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 480px;
}
.option-big {
  padding: 28px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: all 0.2s;
}
.option-big:hover { border-color: var(--accent); background: #fffaf7; }
.option-big.selected { border-color: var(--selected-border); background: var(--selected-bg); }
.option-big .big-num { font-size: 2.2rem; font-weight: 800; color: var(--primary); display: block; }
.option-big .big-label { font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; margin-top: 4px; display: block; }
.option-big.selected .big-num { color: var(--accent); }

/* Slider */
.slider-wrapper {
  max-width: 520px;
  margin-bottom: 32px;
}
.slider-display {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.slider-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(232,115,74,0.4);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 2px 16px rgba(232,115,74,0.6); }
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.slider-beckham-tip {
  margin-top: 12px;
  padding: 10px 14px;
  background: #EEF4FB;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--primary);
  display: none;
}
.slider-beckham-tip.visible { display: block; }

/* Navigation buttons */
.step-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.btn--back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 0;
  font-weight: 500;
}
.btn--back:hover { color: var(--text); }

/* Info alert in wizard */
.info-alert {
  padding: 12px 16px;
  background: #EEF4FB;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 24px;
  max-width: 520px;
}
.warn-alert {
  padding: 12px 16px;
  background: #FFF8E7;
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #92400E;
  margin-bottom: 24px;
  max-width: 520px;
}

/* STOP SCREEN */
.stop-screen {
  max-width: 520px;
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stop-screen .stop-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.stop-screen h2 { color: var(--red); margin-bottom: 12px; }
.stop-screen p { color: var(--text-secondary); margin-bottom: 24px; }

/* ─── RESULTS ─────────────────────────────────────────────── */
.results-section { display: none; }
.results-section.visible { display: block; }

.results-hero {
  background: var(--primary);
  padding: 48px 0;
  color: var(--white);
}

.results-authority {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.results-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  font-weight: 500;
}

.results-big {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
}

.results-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.results-annual {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.badge-rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 16px;
}
.badge-rate--green { background: rgba(45,158,107,0.25); color: #5DCFA0; }
.badge-rate--blue { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }

.results-panel {
  background: var(--white);
  padding: 48px 0;
}

.breakdown-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}
.breakdown-table td {
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #F0F4F8;
}
.breakdown-table td:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.breakdown-table .row-deduction td:last-child { color: var(--red); }
.breakdown-table .row-total td {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px solid var(--primary);
  border-bottom: none;
  padding-top: 14px;
}
.breakdown-table .row-total td:last-child { color: var(--accent); }
.breakdown-table .row-neutral td { color: var(--text-secondary); font-size: 0.88rem; }

.breakdown-divider {
  border: none;
  border-top: 2px solid var(--primary);
  margin: 4px 0;
}

/* Regional comparison */
.regional-section { padding: 48px 0; background: var(--bg); }
.regional-section h2 { color: var(--primary); margin-bottom: 8px; }
.regional-section p.subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }

.region-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  max-width: 640px;
}
.region-name {
  width: 130px;
  min-width: 130px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.region-bar-wrap { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.region-bar { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.6s ease; }
.region-row.highlight .region-bar { background: var(--accent); }
.region-amount {
  width: 90px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.region-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.region-badge--best { background: rgba(45,158,107,0.15); color: var(--green); }
.region-badge--worst { background: rgba(217,79,79,0.12); color: var(--red); }

/* Beckham alert */
.beckham-alert {
  background: linear-gradient(135deg, #1A3C5E 0%, #2A5280 100%);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  max-width: 640px;
}
.beckham-alert .ba-text h3 { color: var(--white); margin-bottom: 4px; }
.beckham-alert .ba-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.beckham-alert .btn--primary { white-space: nowrap; }

/* CTAs post-result */
.post-results-cta { padding: 48px 0; }
.post-results-cta h2 { color: var(--primary); margin-bottom: 6px; }
.post-results-cta p { color: var(--text-secondary); margin-bottom: 28px; }

/* ─── BECKHAM RESULTS ─────────────────────────────────────── */
.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 560px;
  margin-top: 32px;
}
.savings-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
}
.savings-card .sc-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.savings-card .sc-value { font-size: 1.6rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.savings-card .sc-sub { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin-top: 24px;
}
.comp-col { background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); padding: 16px; }
.comp-col .cc-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.comp-col .cc-value { font-size: 1.2rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.comp-col.highlight-col { background: rgba(232,115,74,0.2); }
.comp-col.highlight-col .cc-value { color: var(--accent); }

.timeline-bar {
  margin-top: 32px;
  max-width: 560px;
}
.timeline-bar h3 { margin-bottom: 16px; color: var(--primary); }
.tl-year {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.tl-num { width: 24px; font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); }
.tl-bar-wrap { flex: 1; height: 20px; background: var(--border); border-radius: 4px; overflow: hidden; }
.tl-bar { height: 100%; background: var(--green); border-radius: 4px; display: flex; align-items: center; padding-left: 8px; }
.tl-bar span { font-size: 0.75rem; font-weight: 700; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }

.checklist { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.check-icon { color: var(--green); width: 18px; min-width: 18px; margin-top: 1px; }

/* Date picker */
.date-picker {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.date-picker select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  min-width: 140px;
}
.date-picker select:focus { outline: none; border-color: var(--accent); }

/* Autónomo specific */
.tarifa-plana-banner {
  background: linear-gradient(135deg, #2D9E6B, #1e7a52);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 520px;
}
.tarifa-plana-banner h4 { color: var(--white); margin-bottom: 4px; }
.tarifa-plana-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.tarifa-plana-banner .tpb-amount { font-size: 1.8rem; font-weight: 800; color: var(--white); }

/* Email step */
.email-step-form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.email-step-form input {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}
.email-step-form input:focus { outline: none; border-color: var(--accent); }

.skip-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
}

/* ─── RESULTS DISCLAIMER ─────────────────────────────────── */
.results-disclaimer {
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
  line-height: 1.7;
  max-width: 640px;
}

/* ─── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.color-accent { color: var(--accent); }
.color-green { color: var(--green); }
.color-secondary { color: var(--text-secondary); }
.tabular { font-variant-numeric: tabular-nums; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .affiliate-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .savings-grid { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .beckham-alert { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .options-two { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .region-name { width: 90px; min-width: 90px; font-size: 0.8rem; }
  .region-amount { width: 72px; font-size: 0.82rem; }
  .date-picker select { min-width: 120px; }
  .email-form { flex-direction: column; }
}
