/* ==========================================================
   Hoopytech web v1
   Misma identidad: papel #fafafa, tinta #0a0a0a, General Sans,
   escala de grises. Menos ruido y más contraste que la v3:
   sin marquee, sin tarjetas flotantes, sin monitor animado.
   ========================================================== */

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

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #fafafa;
  --white: #ffffff;
  --gray-100: #f1f1f1;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;   /* solo sobre fondo oscuro (7,9:1 sobre tinta) */
  --gray-500: #5f5f5f;   /* texto secundario sobre claro (6,3:1 sobre blanco) */
  --gray-600: #474747;   /* texto de párrafo sobre claro (9:1) */
  --border: #e0e0e0;
  --border-strong: #8a8a8a;
  --border-dark: rgba(255, 255, 255, 0.16);
  --error: #b42318;      /* 6,4:1 sobre blanco */
  --ok: #146c2e;         /* 6,5:1 sobre blanco */
  --radius: 1.1rem;
  --radius-sm: 0.75rem;
  --ancho: 1160px;
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); scroll-padding-top: 5.5rem; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--white); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.cierre :focus-visible, .footer :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.saltar {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.7rem 1.1rem; border-radius: 0.5rem;
  font-weight: 600; text-decoration: none;
}
.saltar:focus { top: 1rem; }

/* ===== CABECERA (navegación) ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding: 0.9rem 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { max-width: var(--ancho); margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; }
.nav-menu { margin-left: auto; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.95rem; font-weight: 500; color: var(--gray-600); text-decoration: none;
}
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border); border-radius: 0.6rem; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.25s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem; border-radius: 100px;
  font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 1.5px solid var(--ink); cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: 0 8px 24px rgba(10, 10, 10, 0.18); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-claro { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-claro:hover { background: transparent; color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.nav-cta.btn { min-height: 44px; padding: 0.55rem 1.3rem; font-size: 0.95rem; }

.enlace-flecha {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.enlace-flecha::after { content: "→"; text-decoration: none; display: inline-block; transition: transform 0.2s; }
.enlace-flecha:hover::after { transform: translateX(3px); }

.enlace-boton {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* ===== ESTRUCTURA ===== */
.container { max-width: var(--ancho); margin: 0 auto; }
.section { padding: 5.5rem 2rem; }
.section--blanca { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; max-width: 26ch; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); max-width: 64ch; margin-bottom: 2.5rem; }
.section-title + .rejilla, .section-title + .pasos, .section-title + .chips, .section-title + .lista-marcas, .section-title + .faq { margin-top: 2rem; }
.texto-lectura { max-width: 72ch; }
.texto-lectura p { color: var(--gray-600); margin-bottom: 1rem; }
.nota { color: var(--gray-500); font-size: 1rem; margin-top: 1.5rem; max-width: 68ch; }
.nota a { color: var(--ink); }

/* ===== CABECERA DE PÁGINA ===== */
.cabecera { padding: 5rem 2rem 4.5rem; }
.cabecera--portada { padding: 6.5rem 2rem 5.5rem; }
.etiqueta {
  display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 1.2rem;
}
.cabecera h1 {
  font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em;
  max-width: 20ch; margin-bottom: 1.5rem;
}
.cabecera-texto { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--gray-600); max-width: 62ch; margin-bottom: 2.2rem; }
.acciones { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; }
.lema { margin-top: 2rem; font-weight: 600; color: var(--gray-500); letter-spacing: -0.01em; }
.cabecera--estado { min-height: 55vh; }
.enlaces-estado { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.enlaces-estado a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

/* ===== REJILLAS Y TARJETAS ===== */
.rejilla { display: grid; gap: 1.25rem; list-style: none; }
.rejilla--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column;
}
.section:not(.section--blanca) .tarjeta { background: var(--white); }
.tarjeta h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 0.7rem; }
.tarjeta p { color: var(--gray-600); }
.tarjeta-etiqueta { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500) !important; margin-bottom: 0.6rem; }
.tarjeta--linea { padding: 2.4rem 2.2rem; border-color: var(--border-strong); }
.tarjeta--linea h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.tarjeta--linea .enlace-flecha { margin-top: auto; padding-top: 1.2rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips li { border: 1px solid var(--border-strong); border-radius: 100px; padding: 0.55rem 1.1rem; font-weight: 500; background: var(--paper); }

.lista-marcas { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; max-width: 72ch; }
.lista-marcas li { position: relative; padding-left: 1.8rem; color: var(--gray-600); font-size: 1.1rem; }
.lista-marcas li::before { content: "→"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }

/* ===== PASOS ===== */
.pasos { list-style: none; display: grid; gap: 1.25rem; counter-reset: paso; }
.pasos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pasos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.paso {
  counter-increment: paso; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
}
.section--blanca .paso { background: var(--paper); }
.paso::before {
  content: counter(paso, decimal-leading-zero); display: block;
  font-size: 0.9rem; font-weight: 700; color: var(--gray-500); letter-spacing: 0.04em; margin-bottom: 0.9rem;
}
.paso h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.paso p { color: var(--gray-600); font-size: 1rem; }
.paso-resultado { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.paso-resultado strong { color: var(--ink); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-size: 1.1rem; font-weight: 600; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gray-600); padding: 0 0 1.3rem; max-width: 68ch; }

/* ===== CIERRE ===== */
.cierre { background: var(--ink); color: var(--white); }
.cierre-titulo { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; max-width: 30ch; margin-bottom: 0.9rem; }
.cierre p { color: #d6d6d6; font-size: 1.15rem; margin-bottom: 1.8rem; max-width: 60ch; }
.cierre .cierre-correo { margin: 1.6rem 0 0; font-size: 1rem; }
.cierre a:not(.btn) { color: var(--white); }

/* ===== CONTACTO ===== */
.contacto-rejilla { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.contacto-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.contacto-alternativa { color: var(--gray-600); }
.contacto-alternativa a { color: var(--ink); font-weight: 600; }

.formulario { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.3rem; min-width: 0; }
.form-group > label, .form-opciones legend { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.45rem; }
.opcional { font-weight: 400; color: var(--gray-500); }
.ayuda { font-size: 0.92rem; color: var(--gray-500); margin: -0.15rem 0 0.5rem; }
.form-group input[type="text"], .form-group input[type="email"], .form-group textarea {
  width: 100%; min-height: 48px; background: var(--paper);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.5;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); outline: 3px solid rgba(10, 10, 10, 0.18); outline-offset: 0; }
.form-group [aria-invalid="true"] { border-color: var(--error); }
.form-opciones { border: none; padding: 0; }
.form-opciones[aria-invalid="true"] .opcion { border-color: var(--error); }
.opcion {
  display: flex; align-items: center; gap: 0.7rem; min-height: 48px;
  padding: 0.6rem 1rem; margin-bottom: 0.5rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem;
}
.form-opciones .opcion { font-weight: 400; color: var(--ink); }
.opcion:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.opcion input { width: 20px; height: 20px; accent-color: var(--ink); flex-shrink: 0; }
.form-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; font-weight: 400 !important; color: var(--gray-600) !important; cursor: pointer; }
.form-consent input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--ink); flex-shrink: 0; }
.form-consent a { color: var(--ink); }
.campo-error { color: var(--error); font-size: 0.95rem; font-weight: 500; margin-top: 0.4rem; }
.campo-error::before { content: "⚠ "; }
.form-submit { width: 100%; }
.form-estado:empty { display: none; }
.form-estado { border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; font-weight: 500; border: 1.5px solid var(--border-strong); }
.form-estado--enviando { background: var(--paper); }
.form-estado--ok { border-color: var(--ok); color: var(--ok); background: #f1f8f3; }
.form-estado--ok::before { content: "✓ "; }
.form-estado--error { border-color: var(--error); color: var(--error); background: #fdf3f2; }
.form-estado--error::before { content: "⚠ "; }
.form-estado:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.trampa { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ===== PIE ===== */
.footer { background: var(--ink); color: var(--white); padding: 4rem 2rem 2.5rem; border-top: 1px solid var(--border-dark); }
.footer-inner { max-width: var(--ancho); margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid var(--border-dark); }
.footer-brand img { height: 26px; width: auto; margin-bottom: 1.1rem; }
.footer-brand a { display: inline-block; }
.footer-brand p { font-size: 0.98rem; color: #d6d6d6; max-width: 340px; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-titulo { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 0.9rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a, .footer-links span, .footer-links .enlace-boton { display: inline-flex; align-items: center; min-height: 32px; font-size: 0.98rem; color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-links .enlace-boton:hover { text-decoration: underline; }
.footer-links span { color: #d6d6d6; }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--gray-400); }

/* ===== PÁGINAS LEGALES ===== */
.legal { padding: 4.5rem 2rem 5.5rem; background: var(--paper); }
.legal .container { max-width: 780px; }
.legal .section-kicker { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin: 0.6rem 0 0.4rem; }
.legal .legal-updated { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2.6rem; margin-bottom: 0.7rem; }
.legal h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.6rem; margin-bottom: 0.5rem; }
.legal p { color: var(--gray-600); margin-bottom: 1rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 1rem; color: var(--gray-600); }
.legal ul li { margin-bottom: 0.5rem; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.15em; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal code { font-family: var(--mono); background: var(--gray-100); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.88em; }
.legal-table { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal-table th, .legal-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { background: var(--white); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-table tr:last-child td { border-bottom: none; }

/* ===== BANNER Y PREFERENCIAS DE COOKIES ===== */
.cookie-banner {
  position: fixed; z-index: 1000; left: 50%; bottom: 1.2rem;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 2.4rem); max-width: 720px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: 0 20px 60px rgba(10, 10, 10, 0.2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.cookie-banner.visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cookie-banner h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
.cookie-banner p { font-size: 0.95rem; color: var(--gray-600); margin: 0 0 1rem; line-height: 1.5; }
.cookie-banner p a { color: var(--ink); }
.cookie-banner-actions, .cookie-prefs-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.cookie-banner .btn, .cookie-prefs-actions .btn { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.cookie-banner .btn-ghost, .cookie-prefs-actions .btn-ghost { border-color: var(--gray-500); }

.cookie-prefs {
  position: fixed; inset: 0; z-index: 1001; display: none; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, 0.55); padding: 1.2rem;
}
.cookie-prefs.visible { display: flex; }
.cookie-prefs-inner {
  position: relative; background: var(--white); color: var(--ink);
  border-radius: var(--radius); border: 1px solid var(--border);
  padding: 2rem; max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.35);
}
.cookie-prefs-close {
  position: absolute; top: 0.8rem; right: 0.8rem; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border); color: var(--ink); cursor: pointer;
  font-size: 1.3rem; line-height: 1;
}
.cookie-prefs-close:hover { background: var(--ink); color: var(--white); }
.cookie-prefs h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; padding-right: 3rem; }
.cookie-prefs-lede { font-size: 0.95rem; color: var(--gray-600); margin: 0 0 1.4rem; line-height: 1.5; }
.cookie-cat { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 0.8rem; background: var(--paper); }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.cookie-cat-head strong { font-size: 1rem; font-weight: 600; }
.cookie-cat p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }
.cookie-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cookie-switch .slider { position: absolute; inset: 0; background: var(--gray-300); border-radius: 100px; transition: background 0.25s; }
.cookie-switch .slider::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  background: var(--white); border-radius: 50%; transition: transform 0.25s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.cookie-switch input:checked + .slider { background: var(--ink); }
.cookie-switch input:checked + .slider::before { transform: translateX(18px); }
.cookie-switch input:focus-visible + .slider { outline: 3px solid var(--ink); outline-offset: 2px; }
.cookie-switch input:disabled + .slider { background: var(--ink); opacity: 0.4; }
.cookie-prefs-actions { margin-top: 1.6rem; justify-content: flex-end; }

/* ===== BLOQUES DEL BLOG (be-) =====
   Se inyectan en la portada desde el servidor. Scroll nativo con
   scroll-snap; las flechas solo lo empujan. Sin avance automático. */
.be-section { background: var(--white); border-top: 1px solid var(--border); }
.be-section .section-header { margin-bottom: 2.5rem; }
.be-section .section-kicker { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.8rem; }
.be-carrusel { position: relative; }
.be-pista {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 0.5rem; scrollbar-width: none;
}
.be-pista::-webkit-scrollbar { display: none; }
.be-card { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.be-card:hover { border-color: var(--ink); }
.be-card a { display: block; padding: 1.8rem 1.6rem; text-decoration: none; color: inherit; height: 100%; }
.be-card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.6rem; }
.be-card p { font-size: 0.98rem; color: var(--gray-600); margin-bottom: 1rem; }
.be-meta { font-size: 0.85rem; color: var(--gray-500); display: block; }
.be-controles { display: none; gap: 0.6rem; margin-top: 1.4rem; }
.be-carrusel[data-be-desborda] .be-controles { display: flex; }
.be-flecha {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.be-flecha svg { width: 18px; height: 18px; }
.be-flecha:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.be-flecha:disabled { opacity: 0.35; cursor: default; }
.be-todo { margin-top: 1.6rem; }
.be-todo a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 1100px) { .be-pista { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); } }
@media (max-width: 900px)  { .be-pista { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (max-width: 620px)  { .be-pista { grid-auto-columns: 86%; } }

/* ===== MOVIMIENTO REDUCIDO ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .be-pista { scroll-behavior: auto; }
}

/* ===== ADAPTACIÓN ===== */
@media (max-width: 1080px) {
  .pasos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 1.2rem; }
}
@media (max-width: 960px) {
  .nav { padding: 0.6rem 1.25rem; }
  .nav-inner { gap: 0.75rem; }
  .nav-menu { margin-left: 0; order: 3; }
  .nav-cta { margin-left: auto; }
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(10, 10, 10, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; min-height: 48px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .rejilla--3, .pasos--3 { grid-template-columns: minmax(0, 1fr); }
  .contacto-rejilla { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .section { padding: 4rem 1.25rem; }
  .cabecera, .cabecera--portada { padding: 3.5rem 1.25rem 3.5rem; }
  .legal { padding: 3rem 1.25rem 4rem; }
  .footer { padding: 3rem 1.25rem 2rem; }
}
@media (max-width: 720px) {
  .rejilla--2, .pasos--4 { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .formulario { padding: 1.5rem 1.2rem; }
  .tarjeta, .tarjeta--linea { padding: 1.6rem 1.3rem; }
  .acciones .btn { width: 100%; }
  .footer-links { gap: 2rem; }
}
@media (max-width: 400px) {
  .nav-logo img { height: 22px; }
  .nav-cta.btn { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
  .cookie-banner { bottom: 0.6rem; width: calc(100% - 1.2rem); padding: 1.1rem; }
  .cookie-banner-actions .btn, .cookie-prefs-actions .btn { flex: 1 1 100%; }
  .cookie-prefs-inner { padding: 1.5rem 1.2rem; }
}
