/* ==========================================================================
   Cifras Claras — Hoja de estilos única
   --------------------------------------------------------------------------
   Índice:
   01. Variables de diseño (paleta, tipografía, sombras)
   02. Reset y estilos base
   03. Utilidades y layout
   04. Cabecera y navegación
   05. Botones, enlaces y etiquetas
   06. Hero de portada
   07. Secciones de portada
   08. Tarjetas de calculadoras
   09. Páginas interiores y contenido editorial
   10. Calculadoras: formularios, resultados y gráficos
   11. Tablas, avisos y FAQ
   12. Pie de página
   13. Banner de cookies
   14. Animaciones y accesibilidad
   15. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Variables de diseño
   Cambia aquí la paleta completa de la web.
   -------------------------------------------------------------------------- */
:root {
  /* Azul de marca (tomado del logotipo) */
  --blue-50: #eef4ff;
  --blue-100: #dbe6ff;
  --blue-200: #bfd3ff;
  --blue-300: #93b4ff;
  --blue-400: #5f8cf5;
  --blue-500: #3b6ee0;
  --blue-600: #2a56cf;
  --blue-700: #2147b8;
  --blue-800: #1b3a96;
  --blue-900: #12265f;

  /* Acento cálido (usar con moderación) */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;

  /* Neutros */
  --ink-strong: #0d1730;
  --ink: #1c2942;
  --ink-soft: #46566e;
  --muted: #5b6b82;
  --line: #e3e8f1;
  --line-strong: #c8d2e3;
  --bg: #f5f7fc;
  --bg-blue: #edf3ff;
  --surface: #ffffff;

  /* Estados */
  --success: #15803d;
  --success-bg: #f0fdf4;
  --success-line: #bbf7d0;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-line: #fecaca;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --warning-line: #fde68a;

  /* Colores para gráficos */
  --chart-1: #2563eb;
  --chart-2: #0ea5e9;
  --chart-3: #f97316;
  --chart-4: #8b5cf6;
  --chart-5: #14b8a6;
  --chart-6: #64748b;

  /* Tipografía */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Medidas */
  --container: 1140px;
  --container-narrow: 820px;
  --header-height: 70px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px -24px rgba(15, 23, 42, 0.28);
  --shadow-lg: 0 36px 80px -38px rgba(15, 23, 42, 0.38);
  --shadow-brand: 0 18px 36px -18px rgba(33, 71, 184, 0.55);
}

/* --------------------------------------------------------------------------
   02. Reset y estilos base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-800);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

::selection {
  background: var(--blue-200);
  color: var(--ink-strong);
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   03. Utilidades y layout
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--container-narrow), 100% - 40px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 60px);
}

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

.section--blue {
  background: var(--bg-blue);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

.section-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--accent-100);
  border-radius: 999px;
  background: var(--accent-50);
  color: var(--accent-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow--blue {
  border-color: var(--blue-100);
  background: var(--blue-50);
  color: var(--blue-700);
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--blue-700);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   04. Cabecera y navegación
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.16rem;
  white-space: nowrap;
}

.brand:hover {
  color: var(--blue-700);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(33, 71, 184, 0.25);
  border-radius: 13px;
  background-color: var(--blue-700);
  background-image: url("../img/logo-cifras-claras.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(33, 71, 184, 0.7);
}

.brand-mark svg {
  display: none;
}

.brand-text::after {
  content: ".";
  color: var(--accent-600);
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 6px;
}

.nav-toggle-bars span:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100dvh - var(--header-height));
  padding: 18px 20px 26px;
  overflow-y: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.nav-list a[aria-current="page"] {
  background: var(--blue-50);
  color: var(--blue-700);
}

.nav-cta {
  align-self: flex-start;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   05. Botones, enlaces y etiquetas
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 22px 40px -18px rgba(33, 71, 184, 0.65);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(194, 65, 12, 0.65);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c, #9a3412);
  color: #fff;
  box-shadow: 0 20px 36px -16px rgba(154, 52, 18, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--blue-300);
  background: #fff;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 12px 26px -16px rgba(9, 20, 45, 0.55);
}

.btn-white:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: transparent;
  padding-inline: 10px;
}

.btn-ghost:hover {
  background: var(--blue-50);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge.is-over {
  background: var(--danger-bg);
  color: var(--danger);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon-tile--accent {
  background: var(--accent-50);
  color: var(--accent-700);
}

/* --------------------------------------------------------------------------
   06. Hero de portada
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 76px) clamp(60px, 8vw, 100px);
  background:
    radial-gradient(760px 520px at 88% 4%, rgba(33, 71, 184, 0.15), transparent 66%),
    radial-gradient(560px 420px at 2% 98%, rgba(249, 115, 22, 0.1), transparent 68%),
    linear-gradient(180deg, #fbfcff 0%, #edf4ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(33, 71, 184, 0.17) 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -300px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 71, 184, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero h1 .highlight {
  position: relative;
  color: var(--blue-700);
  white-space: nowrap;
  background-image: linear-gradient(transparent 64%, var(--accent-200) 64%);
  border-radius: 4px;
  padding-inline: 0.04em;
}

.hero-lead {
  max-width: 580px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.17rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(33, 71, 184, 0.13);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex: none;
}

.hero-visual {
  position: relative;
  display: none;
  min-height: 500px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% -2% 2% 12%;
  border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
  background: linear-gradient(145deg, rgba(33, 71, 184, 0.2), rgba(14, 165, 233, 0.08));
  filter: blur(2px);
}

.hero-photo {
  position: absolute;
  inset: 22px 8px 26px 26px;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background: var(--blue-900);
  box-shadow: var(--shadow-lg);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 45, 0) 42%, rgba(9, 20, 45, 0.58) 100%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-card {
  position: absolute;
  z-index: 3;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mock-card--main {
  top: 34px;
  left: -5%;
  width: 272px;
  animation: float-card 7s ease-in-out infinite;
}

.mock-card--rent {
  right: -3%;
  bottom: 64px;
  width: 238px;
  animation: float-card 8s ease-in-out 1.2s infinite;
}

.mock-card--trip {
  right: 3%;
  top: 0;
  width: 194px;
  padding: 14px 16px;
  animation: float-card 9s ease-in-out 0.6s infinite;
}

.hero-chip {
  position: absolute;
  left: 6px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-chip img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.hero-chip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 0.82rem;
  line-height: 1.25;
}

.hero-chip small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.71rem;
  line-height: 1.3;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-bg);
}

.mock-label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.mock-number {
  margin-top: 2px;
  color: var(--blue-700);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mock-track {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--blue-100);
}

.mock-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-700));
}

.mock-foot {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.72rem;
}

.mock-card--rent .mock-label,
.mock-card--trip .mock-label {
  margin-top: 10px;
}

.mock-card--rent .mock-number,
.mock-card--trip .mock-number {
  font-size: 1.65rem;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
  margin-top: 12px;
}

.mock-bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: var(--blue-200);
}

.mock-bars span:nth-child(2) {
  background: var(--blue-400);
}

.mock-bars span:nth-child(3) {
  background: var(--accent-500);
}

.mock-bars span:nth-child(4) {
  background: var(--blue-600);
}

.mock-bars span:nth-child(5) {
  background: var(--blue-300);
}

/* --------------------------------------------------------------------------
   07. Secciones de portada
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy p {
  color: var(--ink-soft);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat-block {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.stat-block strong {
  display: block;
  color: var(--blue-700);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.stat-block span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.calc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.calc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent-500));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.calc-card:hover,
.calc-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.calc-card:hover::before,
.calc-card:focus-within::before {
  opacity: 1;
}

.calc-card .card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--blue-100);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.calc-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.calc-card h3 a {
  color: inherit;
  text-decoration: none;
}

.calc-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.calc-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.calc-card .link-arrow {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.9rem;
}

.trust {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 55%, #1e3a8a 100%);
  color: #fff;
}

.trust::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 66%);
  pointer-events: none;
}

.trust .section-title,
.trust h3 {
  color: #fff;
}

.trust .section-lead {
  color: #c7d2fe;
}

.trust-grid {
  position: relative;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover {
  border-color: var(--blue-200);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.trust-card .icon-tile {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
  box-shadow: inset 0 0 0 1px rgba(33, 71, 184, 0.1);
}

.trust-card h3 {
  font-size: 1.06rem;
  letter-spacing: -0.015em;
}

.trust-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Variante sobre fondo azul oscuro (si se usa la sección .trust) */
.trust .trust-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.trust .trust-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.trust .trust-card .icon-tile {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.trust .trust-card h3 {
  color: #fff;
}

.trust .trust-card p {
  color: #dbeafe;
}

.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: howto;
}

.how-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.how-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-50), var(--accent-100));
  color: var(--accent-700);
  font-weight: 800;
  font-size: 0.95rem;
  counter-increment: howto;
  box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.12);
}

.how-step::before {
  content: counter(howto, decimal-leading-zero);
}

.how-card h3 {
  font-size: 1.05rem;
}

.how-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.audience-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.audience-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent-700);
}

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(420px 280px at 96% 108%, rgba(249, 115, 22, 0.42), transparent 68%),
    linear-gradient(120deg, var(--blue-700), var(--blue-900));
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.24);
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.cta-band p {
  max-width: 520px;
  margin-top: 8px;
  color: #dbeafe;
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   08. Tarjetas de calculadoras
   -------------------------------------------------------------------------- */
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

/* --------------------------------------------------------------------------
   09. Páginas interiores y contenido editorial
   -------------------------------------------------------------------------- */
.page-hero {
  --page-hero-img: url("../img/header-finanzas-900.webp");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(38px, 5.5vw, 66px) clamp(46px, 6.5vw, 78px);
  color: #fff;
  background-color: var(--blue-900);
  background-image:
    linear-gradient(102deg, rgba(8, 18, 40, 0.94) 0%, rgba(11, 27, 62, 0.86) 44%, rgba(12, 32, 74, 0.58) 100%),
    var(--page-hero-img);
  background-position: center, 50% 50%;
  background-repeat: no-repeat;
  background-size: cover, cover;
  border-radius: 0 0 clamp(20px, 3.4vw, var(--radius-xl)) clamp(20px, 3.4vw, var(--radius-xl));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
  background-size: 26px 26px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -140px;
  top: -200px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.28), transparent 66%);
  pointer-events: none;
}

.page-hero .container,
.page-hero .container--narrow {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 20px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumbs span[aria-hidden] {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.05rem, 4.6vw, 3.25rem);
  letter-spacing: -0.038em;
  text-shadow: 0 2px 26px rgba(4, 12, 30, 0.3);
}

.page-hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.page-intro {
  max-width: 800px;
  margin-top: 18px;
  color: #dce6ff;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.page-intro p + p {
  margin-top: 12px;
}

.page-intro strong {
  color: #fff;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-hero-actions .btn {
  background: #fff;
  border-color: transparent;
  color: var(--blue-700);
  box-shadow: 0 18px 34px -20px rgba(4, 12, 30, 0.8);
}

.page-hero-actions .btn:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

/* Fotografía de cabecera según la página */
body[data-page="nota"] .page-hero {
  --page-hero-img: url("../img/header-nota-900.webp");
  background-position: center, 50% 44%;
}

body[data-page="independizarse"] .page-hero,
body[data-page="sobre"] .page-hero {
  --page-hero-img: url("../img/header-finanzas-900.webp");
  background-position: center, 54% 50%;
}

body[data-page="piso"] .page-hero,
body[data-page="contacto"] .page-hero {
  --page-hero-img: url("../img/header-piso-900.webp");
  background-position: center, 50% 48%;
}

body[data-page="viaje"] .page-hero,
body[data-page="aviso"] .page-hero,
body[data-page="privacidad"] .page-hero,
body[data-page="cookies"] .page-hero,
body[data-page="404"] .page-hero {
  --page-hero-img: url("../img/header-viaje-900.webp");
  background-position: center, 50% 42%;
}

@media (min-width: 900px) {
  body[data-page="nota"] .page-hero {
    --page-hero-img: url("../img/header-nota-1600.webp");
  }

  body[data-page="independizarse"] .page-hero,
  body[data-page="sobre"] .page-hero {
    --page-hero-img: url("../img/header-finanzas-1600.webp");
  }

  body[data-page="piso"] .page-hero,
  body[data-page="contacto"] .page-hero {
    --page-hero-img: url("../img/header-piso-1600.webp");
  }

  body[data-page="viaje"] .page-hero,
  body[data-page="aviso"] .page-hero,
  body[data-page="privacidad"] .page-hero,
  body[data-page="cookies"] .page-hero,
  body[data-page="404"] .page-hero {
    --page-hero-img: url("../img/header-viaje-1600.webp");
  }
}

.article-section {
  padding-block: clamp(36px, 5vw, 56px);
}

.article-section + .article-section {
  padding-top: 0;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.01rem;
  line-height: 1.78;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  color: var(--ink-strong);
}

.prose h3 {
  margin-top: 30px;
  font-size: 1.16rem;
  color: var(--ink-strong);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg);
  color: var(--ink);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.instructions {
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.instructions > h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 15px 18px 15px 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.steps li strong {
  color: var(--ink);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 19px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.notice svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: none;
  color: var(--blue-700);
}

.notice--warning {
  border-color: var(--accent-100);
  background: var(--accent-50);
}

.notice--warning svg {
  color: var(--accent-700);
}

.notice strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Calculadoras: formularios, resultados y gráficos
   -------------------------------------------------------------------------- */
.calc-section {
  padding-block: clamp(26px, 4vw, 44px) clamp(36px, 5vw, 56px);
}

.calc-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px -42px rgba(15, 23, 42, 0.42);
}

.calc-grid {
  display: grid;
}

.calc-grid--stack {
  display: block;
}

.calc-form {
  padding: clamp(24px, 4vw, 38px);
}

.calc-form h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
}

.calc-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.calc-form .field-group {
  margin-top: 26px;
}

.field-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-group-title svg {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
  align-self: start;
}

/* La etiqueta reserva dos líneas para que las casillas de una misma fila
   queden alineadas aunque unos textos ocupen más que otros. */
.field > span,
.field > label,
.field-label {
  min-height: 2.7em;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-hint {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f8098;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b3c0d4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(33, 71, 184, 0.14);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.field--wide {
  grid-column: 1 / -1;
}

.input-money {
  position: relative;
}

.input-money input {
  padding-right: 34px;
}

.input-money::after {
  content: "€";
  position: absolute;
  right: 12px;
  bottom: 11px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
}

.calc-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.rows-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 10px;
}

.rows-header h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.rows {
  display: grid;
  gap: 10px;
}

.nota-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.nota-row .field input {
  min-height: 42px;
  background: #fff;
}

.btn-remove {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-remove svg {
  width: 16px;
  height: 16px;
}

.btn-remove:hover:not(:disabled) {
  border-color: var(--danger-line);
  background: var(--danger-bg);
  color: var(--danger);
}

.btn-remove:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.add-row-btn {
  margin-top: 12px;
}

.calc-form-actions .add-row-btn {
  margin-top: 0;
}

.example-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--accent-50);
  color: var(--accent-700);
  font-size: 0.78rem;
  font-weight: 600;
}

.example-hint button {
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--accent-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.calc-alert {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--danger-line);
  border-radius: 10px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.calc-alert--info {
  border-color: var(--accent-100);
  background: var(--accent-50);
  color: var(--accent-700);
}

.calc-output {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 100% 0, rgba(33, 71, 184, 0.1), transparent 45%),
    linear-gradient(160deg, #f8faff 0%, #eaf1ff 100%);
  border-top: 1px solid var(--blue-100);
}

.calc-output:focus {
  outline: none;
}

.calc-output:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: -3px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -4px;
}

.result-actions .btn[aria-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}

.result-label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-value {
  margin-top: 2px;
  color: var(--blue-700);
  font-size: clamp(2.35rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.result-value.is-success {
  color: var(--success);
}

.result-value.is-danger {
  color: var(--danger);
}

.result-value small {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
}

.result-caption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.status {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.status--success {
  border-color: var(--success-line);
  background: var(--success-bg);
  color: var(--success);
}

.status--danger {
  border-color: var(--danger-line);
  background: var(--danger-bg);
  color: var(--danger);
}

.status--warning {
  border-color: var(--warning-line);
  background: var(--warning-bg);
  color: var(--warning);
}

.status--info {
  border-color: var(--blue-100);
  background: #fff;
  color: var(--blue-800);
}

.meter {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background: #fff;
}

.meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-700));
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.meter-fill.is-success {
  background: linear-gradient(90deg, #4ade80, var(--success));
}

.meter-fill.is-danger {
  background: linear-gradient(90deg, #f87171, var(--danger));
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.mini-stats > div {
  padding: 12px 13px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
}

.mini-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.mini-stats dd {
  margin-top: 4px;
  color: var(--ink-strong);
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.result-footnote {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* Gráficos */
.breakdown {
  display: grid;
  gap: 16px;
}

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

.donut {
  position: relative;
  flex: none;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.4s ease;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.15;
}

.donut-center span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.donut-center strong {
  margin-top: 3px;
  color: var(--ink-strong);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.legend {
  display: grid;
  gap: 7px;
  min-width: 160px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.35;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot-color, var(--blue-600));
  flex: none;
}

.legend-value {
  margin-left: auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chart {
  display: grid;
  gap: 11px;
}

.chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.chart-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.chart-name .legend-dot {
  width: 8px;
  height: 8px;
}

.chart-value {
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chart-track {
  height: 8px;
  margin-top: 5px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: #fff;
}

.chart-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--bar-color, var(--blue-600));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.salary-box {
  padding: 14px 16px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: #fff;
}

.salary-box .salary-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.salary-box .salary-value {
  margin-top: 3px;
  color: var(--blue-800);
  font-size: 1.18rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.salary-box p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Métodos de reparto */
.radio-cards {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-card > span {
  display: block;
  padding: 12px 14px 12px 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.radio-card > span::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.radio-card input:checked + span {
  border-color: var(--blue-500);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-500);
}

.radio-card input:checked + span::before {
  border-color: var(--blue-600);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--blue-600);
}

.radio-card input:focus-visible + span {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

.radio-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}

.radio-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.member-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.member-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 0.76rem;
  font-weight: 800;
}

.member-row .field > span {
  font-size: 0.72rem;
  color: var(--muted);
}

.member-row .field input {
  min-height: 40px;
  padding: 8px 10px;
  background: #fff;
}

.member-extra[hidden] {
  display: none !important;
}

/* Tabla de reparto */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.split-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.split-table caption {
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: left;
}

.split-table th,
.split-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.split-table thead th {
  background: var(--bg);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.split-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

.split-table tbody tr:last-child th,
.split-table tbody tr:last-child td {
  border-bottom: 0;
}

.split-table td:not(:first-child),
.split-table th:not(:first-child) {
  text-align: right;
}

.split-table tfoot th,
.split-table tfoot td {
  background: var(--blue-50);
  color: var(--blue-900);
  font-weight: 800;
  border-bottom: 0;
  border-top: 1px solid var(--blue-100);
}

.split-table .person-share {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.table-note {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  position: relative;
  padding: 17px 54px 17px 20px;
  color: var(--ink-strong);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--blue-100);
}

.faq-item summary:hover {
  color: var(--blue-700);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer a {
  font-weight: 600;
}

/* Ejemplos y fórmulas */
.formula-box {
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-900);
  font-size: 0.95rem;
  line-height: 1.8;
}

.formula {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.example-box {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.example-box h3 {
  margin-top: 0;
  font-size: 1rem;
}

.example-box p {
  margin-top: 8px;
  font-size: 0.92rem;
}

.example-box ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
  font-size: 0.91rem;
}

/* Relacionadas */
.related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.related-card h3 {
  color: var(--ink-strong);
  font-size: 1rem;
}

.related-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.related-card .link-arrow {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.83rem;
}

/* --------------------------------------------------------------------------
   11. Tablas, avisos y FAQ (contenido legal y contacto)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

.contact-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.contact-detail svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: none;
  color: var(--blue-600);
}

.contact-detail strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
}

.contact-detail a,
.contact-detail span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  word-break: break-word;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--success-line);
  border-radius: 10px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 100px;
  margin-block: 26px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background:
    repeating-linear-gradient(-45deg, rgba(226, 232, 240, 0.25) 0 10px, transparent 10px 20px),
    #fbfdff;
  color: #94a3b8;
  text-align: center;
}

.ad-slot span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Pie de página
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 6vw, 80px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(760px 460px at 88% -10%, rgba(33, 71, 184, 0.42), transparent 66%),
    linear-gradient(160deg, #0a1734 0%, #071129 100%);
  color: #cbd5e1;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 68%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand:hover {
  color: #dbeafe;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-heading {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact p {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-contact a {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-contact a:hover {
  border-color: var(--accent-500);
  color: #fed7aa;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. Banner de cookies
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 250;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: cookie-in 0.35s ease both;
}

.cookie-banner.is-closing {
  animation: cookie-out 0.22s ease both;
}

.cookie-banner h2 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.cookie-banner p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.6;
}

.cookie-banner a {
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.83rem;
}

/* --------------------------------------------------------------------------
   14. Animaciones y accesibilidad
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookie-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item[open] .faq-answer {
  animation: faq-in 0.24s ease both;
}

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
/* En móvil todas las calculadoras apilan el resultado debajo del formulario,
   así que el botón "Ver resultados" debe apuntar hacia abajo. La calculadora
   de gastos de piso ya lleva la flecha hacia abajo en todos los tamaños. */
@media (max-width: 759.98px) {
  .calc-grid:not(.calc-grid--stack) .calc-form button[type="submit"] svg {
    transform: rotate(180deg);
  }
}

@media (min-width: 640px) {
  .container,
  .container--narrow {
    width: min(var(--container), 100% - 56px);
  }

  .container--narrow {
    width: min(var(--container-narrow), 100% - 56px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    padding: 22px 24px;
  }
}

@media (min-width: 760px) {
  .calc-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .calc-grid--stack {
    display: block;
  }

  .calc-output {
    border-top: 0;
    border-left: 1px solid var(--blue-100);
  }

  /* En las calculadoras apiladas el resultado va debajo del formulario:
     conservamos la separación horizontal, no la vertical. */
  .calc-grid--stack .calc-output {
    border-top: 1px solid var(--blue-100);
    border-left: 0;
  }

  .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .hero-visual {
    display: block;
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (min-width: 1000px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav-list a {
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 6px;
  }
}

@media (max-width: 639px) {
  .section-head {
    margin-bottom: 26px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .member-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  .member-row .field--member-extra {
    grid-column: 2;
  }

  /* Tabla de reparto en móvil: cada persona pasa a ser una tarjeta,
     sin scroll horizontal y sin perder la información anual. */
  .table-wrap--split {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .split-table {
    display: block;
    min-width: 0;
  }

  .split-table caption {
    display: block;
    padding: 0 0 10px;
  }

  .split-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .split-table tbody,
  .split-table tfoot {
    display: grid;
    gap: 10px;
  }

  .split-table tbody tr,
  .split-table tfoot tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name share"
      "month year";
    gap: 4px 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .split-table tfoot tr {
    border-color: var(--blue-100);
    background: var(--blue-50);
  }

  .split-table th,
  .split-table td {
    padding: 0;
    border: 0;
  }

  .split-table tbody th,
  .split-table tfoot th {
    grid-area: name;
  }

  .split-table td:nth-child(2) {
    grid-area: share;
    justify-self: end;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--blue-50);
    color: var(--blue-800);
    font-size: 0.76rem;
    font-weight: 700;
  }

  .split-table tfoot td:nth-child(2) {
    background: #fff;
  }

  .split-table td:nth-child(3) {
    grid-area: month;
    text-align: left;
    color: var(--blue-900);
    font-weight: 800;
  }

  .split-table td:nth-child(4) {
    grid-area: year;
    text-align: right;
  }

  .split-table td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
  }

  .split-table .person-share {
    font-size: 0.7rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
  }

  .result-value {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }
}

/* Portada en tablet y móvil: la foto se coloca bajo el texto */
@media (max-width: 959px) {
  .hero-visual {
    display: block;
    min-height: 480px;
    margin-top: 4px;
  }

  .hero-photo {
    inset: 0 0 24px;
    border-radius: 28px;
  }

  .mock-card--main {
    top: 22px;
    left: 0;
  }

  .mock-card--rent {
    right: 0;
    bottom: 54px;
  }

  .mock-card--trip {
    top: 8px;
    right: 2%;
  }

  .hero-chip {
    left: 10px;
    bottom: 0;
  }
}

@media (max-width: 639px) {
  .hero-visual {
    min-height: 352px;
  }

  .hero-photo {
    inset: 0 0 18px;
    border-radius: 24px;
  }

  .mock-card--main {
    top: auto;
    bottom: 28px;
    left: 10px;
    width: 214px;
    padding: 14px 16px;
  }

  .mock-card--main .mock-number {
    font-size: 1.9rem;
  }

  .mock-card--main .mock-foot {
    display: none;
  }

  .mock-card--rent,
  .mock-card--trip {
    display: none;
  }

  .hero-chip {
    top: 12px;
    right: 10px;
    bottom: auto;
    left: auto;
    padding: 7px 13px 7px 7px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .page-hero {
    background-image:
      linear-gradient(180deg, rgba(8, 18, 40, 0.93) 0%, rgba(11, 27, 62, 0.87) 100%),
      var(--page-hero-img);
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .mock-card {
    animation: none;
  }
}

/* Impresión: la web sigue siendo legible sin adornos */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .ad-slot,
  .hero-visual,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .calc-panel,
  .instructions,
  .faq-item {
    box-shadow: none;
    border-color: #999;
  }
}

