/* Tipografías autoalojadas */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/assets/fonts/albertsans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --backdrop: #17181b;
  --panel: #0c0d0f;
  --panel-2: #131417;
  --line: #26282d;
  --line-strong: #3a3d44;
  --fg: #f3f3f4;
  --muted: #a6a8af;
  --ink: #0c0d0f;

  --display: "Montserrat", system-ui, sans-serif;
  --text: "Albert Sans", system-ui, sans-serif;

  --radius: 28px;
  --gutter: 12px;
  --pad: clamp(24px, 5vw, 72px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--backdrop);
  color: var(--fg);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--fg);
  scrollbar-color: var(--line-strong) var(--backdrop);
}

::selection { background: #e8e8ea; color: var(--ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

a { color: inherit; text-underline-offset: 0.2em; }
a[aria-disabled="true"] { cursor: not-allowed; opacity: 0.7; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  background: var(--fg); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Paneles ---------- */
main { display: grid; gap: var(--gutter); padding: var(--gutter); }

.panel {
  position: relative;
  background: var(--panel);
  overflow: hidden;
  isolation: isolate;
}
.section { padding: clamp(64px, 9vw, 128px) var(--pad); }
.wrap { max-width: 1200px; margin-inline: auto; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2-sm { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; }
.lead { color: var(--muted); font-size: 1.1875rem; max-width: 56ch; margin-top: 20px; text-wrap: pretty; }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--text); font-weight: 600; font-size: 0.96875rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn svg { transition: transform 0.3s var(--ease-out); }
.btn-primary { background: linear-gradient(180deg, #f6f6f7, #d8d9dc); color: var(--ink); }
.btn-primary:hover { background: #ffffff; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-outline:hover { border-color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Portada ---------- */
.hero {
  min-height: calc(100svh - 2 * var(--gutter));
  min-height: max(640px, calc(100svh - 2 * var(--gutter)));
  display: flex; flex-direction: column;
  padding: 28px var(--pad) clamp(40px, 7vh, 80px);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #9a9ca3, #55575e 55%, #2c2d32);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); margin-left: auto; margin-right: 8px; }
.nav-links a { font-size: 0.9375rem; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center;
}

.hero-body { position: relative; z-index: 3; margin-block: auto; padding-top: 48px; max-width: 900px; }
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 4.1rem); line-height: 1.06; letter-spacing: -0.03em;
}
.hero-title span { display: block; }
.hero-tag { margin-top: 24px; font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 1.9vw, 1.5rem); color: var(--muted); letter-spacing: -0.01em; }
.hero-lead { margin-top: 20px; max-width: 54ch; color: var(--muted); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Arte de la portada */
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 32% 26%, #62646b 0%, #34353a 34%, #17181b 72%, #0e0f11 100%);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.55), inset -14px -18px 34px rgba(0, 0, 0, 0.5);
}
.orb-lg { width: clamp(170px, 22vw, 330px); aspect-ratio: 1; top: 16%; right: 5%; }
.orb-md { width: clamp(34px, 4vw, 58px); aspect-ratio: 1; top: 54%; right: 36%; }
.orb-sm { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; bottom: 14%; right: 30%; }

.facet { position: absolute; right: 0; bottom: 0; }
.facet-back {
  width: 66%; height: 52%;
  background: linear-gradient(200deg, #1d1e22 0%, #121316 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.facet-front {
  width: 56%; height: 36%;
  background: linear-gradient(190deg, #2a2b30 0%, #15161a 75%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.facet-front::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 70%, rgba(255, 255, 255, 0.1) 100%);
  clip-path: polygon(0 calc(100% - 2px), 100% 0, 100% 2px, 0 100%);
}
.dots {
  position: absolute; width: 220px; height: 150px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.4px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.dots-a { right: 7%; top: 60%; }
.dots-b { right: 34%; bottom: 8%; opacity: 0.6; }

/* Entrada de la portada: el contenido es visible por defecto */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span, .hero-tag, .hero-lead, .actions {
    animation: rise 0.9s var(--ease-out) backwards;
  }
  .hero-title span:nth-child(1) { animation-delay: 0.05s; }
  .hero-title span:nth-child(2) { animation-delay: 0.15s; }
  .hero-tag { animation-delay: 0.3s; }
  .hero-lead { animation-delay: 0.4s; }
  .actions { animation-delay: 0.5s; }
  .orb { animation: settle 1.4s var(--ease-out) backwards; }
  .orb-md { animation-delay: 0.2s; }
  .orb-sm { animation-delay: 0.35s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes settle { from { opacity: 0; transform: translateY(28px) scale(0.94); } }

/* ---------- Problema ---------- */
.rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.3; letter-spacing: -0.015em; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.closer { margin-top: 32px; color: var(--muted); font-size: 1.1875rem; max-width: 46ch; }

/* ---------- Servicios ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; border-top: 1px solid var(--line); }
.steps li { padding: 36px 32px 8px 0; position: relative; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4a4c52, #1d1e22 70%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); font-family: var(--display); font-weight: 600; font-size: 0.9375rem; margin-bottom: 24px;
}
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--muted); margin-top: 10px; max-width: 30ch; }

/* ---------- Productos ---------- */
.product {
  position: relative; margin-top: clamp(36px, 5vw, 64px); overflow: hidden;
  display: grid; grid-template-columns: minmax(120px, 0.7fr) 2fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 56px);
}
.orb-product { position: relative; width: clamp(110px, 15vw, 200px); aspect-ratio: 1; justify-self: center; }
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.product h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pill {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.8125rem; font-weight: 500;
}
.product p { color: var(--muted); margin-top: 16px; max-width: 58ch; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.inline-form .form-status { flex-basis: 100%; margin-top: 0; }

/* ---------- Formularios ---------- */
input[type="text"], input[type="email"], textarea {
  width: 100%; background: var(--panel-2); color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px;
  font: inherit; font-size: 1rem; transition: border-color 0.2s, background-color 0.2s;
}
.inline-form input { flex: 1 1 240px; width: auto; min-height: 52px; border-radius: 999px; padding-inline: 22px; }
input::placeholder, textarea::placeholder { color: #7d7f86; }
input:hover, textarea:hover { border-color: #565a62; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-color: var(--fg); }
textarea { resize: vertical; min-height: 120px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #e8e8ea; flex: none; }
.form .btn { justify-self: start; }
.form-status { font-size: 0.9375rem; color: var(--fg); min-height: 1.5em; margin-top: 4px; }
[aria-invalid="true"] { border-color: #f0a8a8 !important; }

/* ---------- Quién hay detrás / alianzas ---------- */
.statement {
  margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4; letter-spacing: -0.015em; color: var(--fg); max-width: 34ch; text-wrap: pretty;
}
.alliances { padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--line); }
.alliances .btn { margin-top: 32px; }

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 56ch; }

/* ---------- Contacto final ---------- */
.final .split { align-items: center; }
.orb-final { width: clamp(180px, 26vw, 380px); aspect-ratio: 1; left: -6%; bottom: -22%; z-index: -1; opacity: 0.9; }

/* ---------- Pie ---------- */
.footer { padding: 36px var(--pad) 48px; color: var(--muted); font-size: 0.9375rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer .brand { color: var(--fg); }
.legal { display: flex; gap: 24px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--fg); }

/* ---------- Adaptación ---------- */
@media (max-width: 960px) {
  .split, .duo { grid-template-columns: 1fr; }
  .alliances { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 32px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .product { grid-template-columns: 1fr; }
  .orb-product { justify-self: start; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 56px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px; background: var(--panel-2);
    border: 1px solid var(--line); border-radius: 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav { justify-content: space-between; }
}

@media (max-width: 640px) {
  :root { --radius: 20px; --gutter: 8px; }
  .hero { padding-top: 20px; }
  .hero-body { padding-top: 56px; }
  .orb-lg { top: 8%; right: -14%; }
  .orb-md { top: 46%; right: 12%; }
  .orb-sm { display: none; }
  .facet-back { width: 90%; height: 34%; }
  .facet-front { width: 76%; height: 22%; }
  .actions .btn { width: 100%; }
  .form .btn, .inline-form .btn { width: 100%; justify-self: stretch; }
  .legal { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ======================================================================
   Parte inferior: negro con acento lima, cuadrícula, tarjetas con icono
   ====================================================================== */
:root {
  --backdrop: #050505;
  --panel: #0a0a0a;
  --panel-2: #0e0f0d;
  --line: #1d201b;
  --line-strong: #343a2c;
  --accent: #d9f23a;
  --card: color-mix(in srgb, var(--accent) 6%, #090a08);
  --card-line: color-mix(in srgb, var(--accent) 24%, #1a1c17);
}
body { scrollbar-color: var(--line-strong) var(--backdrop); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 78%, #fff); }
.btn-outline { border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* Cuadrícula tenue que se desvanece hacia abajo */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 16%, transparent 78%);
  mask-image: linear-gradient(transparent 0%, #000 16%, transparent 78%);
}
.final.grid-bg::before {
  -webkit-mask-image: linear-gradient(transparent 10%, #000 62%, transparent 100%);
  mask-image: linear-gradient(transparent 10%, #000 62%, transparent 100%);
}

.head-center { margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; }
.center { display: flex; justify-content: center; margin-top: 48px; }
.center-text { text-align: center; }

/* Tarjetas de servicio */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px; min-height: 270px; padding: 28px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 22px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, #1a1c17); transform: translateY(-3px); }
.card .ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  border: 1px solid var(--card-line); color: var(--accent); margin-bottom: 8px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; color: var(--accent); font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* Pasos */
.steps { margin: 72px 0 0; border-top: 1px solid var(--line); }
.step-n { background: var(--accent); color: #0a0a0a; box-shadow: none; }

/* Producto */
.product {
  margin-top: clamp(32px, 5vw, 56px); background: var(--card); border: 1px solid var(--card-line);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  border-radius: 24px; padding: clamp(28px, 5vw, 64px);
}
.product .pill { color: var(--accent); border-color: var(--card-line); }
.pillform {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 6px 6px 24px;
  border: 1px solid var(--card-line); border-radius: 999px; background: rgba(0, 0, 0, .35);
}
.pillform input { flex: 1 1 180px; min-width: 0; border: 0; background: transparent; padding: 12px 0; border-radius: 0; }
.pillform input:focus-visible { outline: 0; }
.pillform:focus-within { border-color: var(--accent); }
.pillform .round {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #0a0a0a; transition: transform 0.25s var(--ease-out);
}
.pillform .round:hover { transform: translateX(2px); }
.pillform .form-status { flex-basis: 100%; padding: 0 0 8px; margin: 0; }

/* Quiénes somos */
.duo-art { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.split-art { width: 100%; max-width: 380px; justify-self: center; }
.art-fill { fill: color-mix(in srgb, var(--accent) 7%, #0a0a0a); }
.art-line { fill: none; stroke: var(--accent); stroke-width: 2; }
.alliances { margin-top: 48px; padding: 32px 0 0 0; border-left: 0; border-top: 1px solid var(--line); }
.alliances h3 { font-size: 1.4rem; }
.alliances p { color: var(--muted); margin-top: 12px; max-width: 52ch; }
.alliances .btn { margin-top: 24px; }

/* Formularios y preguntas */
.form {
  padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--card-line); border-radius: 24px;
}
input[type="text"], input[type="email"], textarea { background: rgba(0, 0, 0, .35); border-color: var(--card-line); }
input:hover, textarea:hover { border-color: color-mix(in srgb, var(--accent) 45%, #1a1c17); }
input:focus-visible, textarea:focus-visible { outline-color: var(--accent); border-color: var(--accent); }
.consent input { accent-color: var(--accent); }
.faq summary::after { background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat; }
.rows li:hover { color: var(--accent); }
.rows { transition: none; }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .product { grid-template-columns: 1fr; }
  .duo-art { grid-template-columns: 1fr; }
  .split-art { max-width: 260px; justify-self: start; }
}

.pillform input[type="email"] { background: transparent; border: 0; border-radius: 0; padding: 12px 0; }
.pillform input[type="email"]:hover { border: 0; }
.form-status:empty { display: none; }

/* ---------- Estructura tipo Luma: aviso, tareas, manifiesto ---------- */
.announce { background: #000; color: #fff; text-align: center; padding: 11px 16px; font-size: 0.9375rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.announce span { color: var(--accent); }

.pending-card {
  max-width: 820px; margin-inline: auto; padding: clamp(28px, 5vw, 56px);
  background: var(--card); border: 1px solid var(--card-line); border-radius: 28px;
}
.pending-card .sub { color: var(--muted); margin-top: 12px; }
.tasks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 4px; }
.task {
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg); cursor: pointer;
  border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 0.96875rem; font-weight: 500; line-height: 1.2;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.task:hover { border-color: var(--accent); }
.task[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.pending-card .center { margin-top: 36px; }

.manifesto { display: grid; place-items: center; padding-block: clamp(96px, 14vw, 200px); }
.manifesto-text {
  max-width: 22em; text-align: center; text-wrap: balance;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.15; letter-spacing: -0.025em;
}

/* ---------- Menú fijo (sustituye al de la portada, que se rehará al final) ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--backdrop); border-bottom: 1px solid var(--line); }
.site-header-in { display: flex; align-items: center; gap: 24px; max-width: 1200px; margin-inline: auto; padding: 14px var(--pad); position: relative; }
.site-header .nav-links { margin-left: auto; margin-right: 8px; }
@media (max-width: 820px) {
  .site-header-in { justify-content: space-between; }
  .site-header .nav-links { top: calc(100% - 4px); left: var(--pad); right: var(--pad); margin: 0; }
}

/* Marca provisional: rombo en lugar de esfera */
.brand-mark { width: 18px; height: 18px; border-radius: 4px; background: var(--accent); box-shadow: none; transform: rotate(45deg); }

/* ---------- Portada (provisional): amarillo ácido, sin motivo a la derecha ---------- */
@keyframes v3-marquee { to { translate: -50% 0; } }
.hero-y { --y: #d9f23a; --ink: #0a0a0a; --soft: #1c1d12; }
.hero-y { background: var(--y); color: var(--ink); border-color: transparent; padding-bottom: 96px; }
.hero-y .brand-mark { width: 18px; height: 18px; border-radius: 4px; background: var(--ink); box-shadow: none; transform: rotate(45deg); }
.hero-y .brand-name, .hero-y .hero-title { color: var(--ink); }
.hero-y .nav-links a { color: var(--soft); }
.hero-y .nav-links a:hover { color: #000; }
.hero-y .hero-tag, .hero-y .hero-lead { color: var(--soft); }
.hero-y .btn-primary { background: var(--ink); color: var(--y); }
.hero-y .btn-primary:hover { background: #26270f; }
.hero-y .btn-outline, .hero-y .nav-cta { border-color: var(--ink); color: var(--ink); }
.hero-y .btn-outline:hover { background: rgba(10,10,10,.08); }
.hero-y .menu-toggle { color: var(--ink); border-color: var(--ink); }
.hero-y .hero-body { max-width: 1160px; margin-block: auto 0; padding-top: 24px; }
.hero-y .hero-title { font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: .98; letter-spacing: -0.04em; }
.hero-y .t { font-family: var(--display); font-weight: 600; }
.hero-y .v3-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; border-top: 2px solid var(--ink); opacity: var(--p-marquee, 1); }
.hero-y .v3-track { display: flex; align-items: center; gap: 40px; width: max-content; padding: 16px 40px 16px 0; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-y .v3-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.hero-y .v3-track span::after { content: ""; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg) scale(.8); }
@media (prefers-reduced-motion: no-preference) {
.hero-y .v3-track { animation: v3-marquee 26s linear infinite; }
}
@media (max-width: 900px) {
.hero-y .hero-body { margin-top: 330px; }
}
@media (prefers-reduced-motion: no-preference) {
}

@media (max-width: 820px) {
  .hero-y .nav-links { background: var(--y); border-color: var(--ink); }
  .hero-y .nav-links a { color: var(--ink); border-bottom-color: rgba(10, 10, 10, .2); }
}

/* ---------- Página continua en franjas (sin huecos ni esquinas redondeadas) ---------- */
:root { --announce: 47px; }
main { gap: 0; padding: 0; }
main > .panel:nth-child(even) { background: #070807; }
main > .panel:last-child { border-bottom: 0; }
.hero.hero-y { min-height: max(640px, calc(100svh - var(--announce))); border-bottom: 0; }
@media (max-width: 640px) { :root { --announce: 64px; } }

/* ---------- Separación entre franjas: arco de luz en lugar de línea ---------- */
main > .panel:nth-child(even) { background: var(--panel); }
.hl { color: var(--accent); }
/* Titulares: el lima de texto es más suave que el de botones para que pese lo mismo que el blanco */
.h2 { font-weight: 400; }
.h2 .hl, .hero-b .hero-title .hl, .conseq-sub .hl { color: #c2db62; }
.manifesto-text { font-weight: 500; }

.grid-bg:not(.final)::before { -webkit-mask-image: linear-gradient(transparent 0%, #000 30%, transparent 88%); mask-image: linear-gradient(transparent 0%, #000 30%, transparent 88%); }

/* ---------- "Así se ve el tiempo que recuperas": escenas alineadas ---------- */
.time-split { align-items: start; }
.time-split .h2 { margin-top: -0.12em; }
.time-rows { border-top: 0; }
.time-rows li {
  display: grid; grid-template-columns: minmax(150px, 0.38fr) 1fr; column-gap: clamp(20px, 3vw, 44px);
  align-items: baseline; padding: 0 0 clamp(24px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line); font-size: inherit; line-height: inherit; letter-spacing: 0;
}
.time-rows li:first-child { padding-top: 0; }
.time-rows li:hover { color: inherit; }
.time-rows .when { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; line-height: 1.35; color: var(--accent); letter-spacing: -0.005em; }
.time-rows .what { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--fg); text-wrap: pretty; }
.time-closer { margin-top: 0; max-width: none; font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; color: var(--muted); }
.time-closer .hl { color: var(--accent); }
@media (max-width: 960px) {
  .time-split .h2 { margin-top: 0; }
  .time-rows li { grid-template-columns: 1fr; row-gap: 8px; }
}

/* ======================================================================
   Portada B: oscura con difuminados lima y arco de luz
   ====================================================================== */
.hero-b { background: #050505; color: var(--fg); isolation: isolate; border-bottom: 0; min-height: max(640px, calc(100svh - var(--announce))); padding-bottom: 0; }
.hero-b .aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-b .aurora i { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-b .aurora .a1 { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: rgba(217, 242, 58, .20); }
.hero-b .aurora .a2 { width: 38vw; height: 38vw; right: -12vw; top: -6vw; background: rgba(150, 190, 30, .20); }
.hero-b .aurora .a3 { width: 60vw; height: 22vw; left: 20vw; top: 22vh; background: rgba(217, 242, 58, .06); }
.hero-b .arc-b {
  position: absolute; z-index: 1; left: -22%; right: -22%; bottom: -330px; height: 520px; pointer-events: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; border-top: 2px solid rgba(217, 242, 58, .95);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(217, 242, 58, .22), transparent 70%), #060705;
  box-shadow: 0 -26px 70px rgba(217, 242, 58, .38), 0 -4px 14px rgba(217, 242, 58, .5);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero-b .nav, .hero-b .hero-body, .hero-b .v3-marquee { position: relative; z-index: 3; }
.hero-b .nav { padding-top: 4px; }
.hero-b .brand-name { color: #fff; }
.hero-b .nav-links a { color: #c9cbc3; }
.hero-b .nav-links a:hover { color: #fff; }
.hero-b .nav-cta { border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero-b .nav-cta:hover { border-color: var(--accent); background: rgba(217, 242, 58, .08); }
.hero-b .hero-body { max-width: 980px; margin: auto; padding: 24px 0 170px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-b .hero-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.03em; color: #fff; }
.hero-b .hero-title span { display: block; }
.hero-b .hero-tag { color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.4rem); margin-top: 26px; }
.hero-b .hero-lead { color: #a9ac9f; margin-inline: auto; text-align: center; }
.hero-b .actions { justify-content: center; margin-top: 36px; }
.hero-b .btn-primary { background: var(--accent); color: #0a0a0a; box-shadow: 0 0 44px rgba(217, 242, 58, .38); }
.hero-b .btn-primary:hover { background: color-mix(in srgb, var(--accent) 80%, #fff); }
.hero-b .btn-outline { background: #11120f; border-color: #262823; color: #fff; }
.hero-b .btn-outline:hover { border-color: var(--accent); }
.hero-b .v3-marquee { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(5, 5, 5, .7); }
.hero-b .v3-track { color: rgba(255, 255, 255, .75); }
.hero-b .v3-track span::after { background: var(--accent); }
@media (max-width: 820px) { .hero-b .hero-body { padding-bottom: 130px; } .hero-b .arc-b { bottom: -380px; } }

/* Portada B: ajustes */
.hero-b .hero-title > span { display: block; }
.hero-b .hero-title .hl { display: inline; }
.hero-b .arc-b { bottom: -372px; }
.hero-b .hero-body { padding-bottom: 190px; }
.hero-b .v3-track { display: flex; align-items: center; gap: 40px; width: max-content; padding: 16px 40px 16px 0; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-b .v3-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.hero-b .v3-track span::after { content: ""; width: 12px; height: 12px; transform: rotate(45deg) scale(.8); }
@media (prefers-reduced-motion: no-preference) { .hero-b .v3-track { animation: v3-marquee 40s linear infinite; } }

/* Tras la portada B (que ya trae su arco) la primera franja no necesita el relleno extra del arco */
.hero-b + .panel { padding-top: clamp(64px, 9vw, 128px); }

/* Portada B: titular más largo */
.hero-b .hero-body { max-width: 1060px; }
.hero-b .hero-title { font-size: clamp(2.1rem, 4.3vw, 3.9rem); line-height: 1.12; }
.hero-b .hero-tag { max-width: 40ch; margin-inline: auto; text-wrap: balance; font-weight: 500; }

/* Portada B: el titular va en dos líneas y la cinta siempre cabe en la primera pantalla */
.hero-b .hero-body { max-width: 1320px; width: 100%; padding-top: 16px; padding-bottom: clamp(150px, 21vh, 190px); }
.hero-b .hero-title { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.hero-b .hero-title > span { text-wrap: balance; }
.hero-b .hero-tag { max-width: none; margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-b .hero-lead { margin-top: 14px; }
.hero-b .actions { margin-top: 28px; }
@media (max-width: 640px) {
  :root { --announce: 71px; }
  .hero-b .hero-body { padding-top: 40px; padding-bottom: 128px; }
  .hero-b .arc-b { left: -60%; right: -60%; bottom: -420px; }
  .hero-b .actions { width: 100%; }
  .hero-b .actions .btn { padding-inline: 20px; font-size: 0.9375rem; }
}

/* Portada B: titular y remate corto */
.hero-b .hero-tag { font-size: clamp(1.3rem, 2.1vw, 1.9rem); margin-top: 22px; color: #fff; }
.hero-b .actions { margin-top: 36px; }

/* Portada B: subtítulo de una línea */
.hero-b .hero-tag { font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin-top: 20px; }

/* ---------- Identificación de los problemas: frases en lista ---------- */
.tasks { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; max-width: 640px; margin: 32px auto 4px; }
.task { width: 100%; text-align: left; border-radius: 14px; padding: 16px 20px; font-size: 1.0625rem; line-height: 1.35; }
.task::before { content: "“"; color: var(--accent); }
.task::after { content: "”"; color: var(--accent); }
.task[aria-pressed="true"]::before, .task[aria-pressed="true"]::after { color: #0a0a0a; }

@media (max-width: 640px) {
  .pending-card .btn { width: 100%; padding-inline: 16px; font-size: 0.9375rem; line-height: 1.25; text-align: center; }
  .pending-card { padding: 24px 20px; }
}

/* ---------- Fugas de tiempo (identificación de los problemas) ---------- */
.problemas-glow {
  position: absolute; z-index: -1; left: -14%; bottom: -55%; width: 62%; height: 130%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 242, 58, .22), transparent); filter: blur(30px); pointer-events: none;
}
.problemas-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.problemas-title { font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.14; }
.problemas .lead { margin-top: 20px; max-width: 40ch; }

.btn-duo { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; color: #0a0a0a; font-weight: 600; font-size: 0.96875rem; line-height: 1.2; text-decoration: none; }
.btn-duo-label { display: inline-flex; align-items: center; min-height: 52px; padding: 8px 26px; border-radius: 999px; background: var(--accent); transition: background-color .25s var(--ease-out); }
.btn-duo-arrow { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); transition: transform .35s var(--ease-out), background-color .25s var(--ease-out); }
.btn-duo:hover .btn-duo-label, .btn-duo:hover .btn-duo-arrow { background: color-mix(in srgb, var(--accent) 78%, #fff); }
.btn-duo:hover .btn-duo-arrow { transform: rotate(45deg); }

.fugas { display: grid; gap: 8px; padding: 14px; background: #121411; border: 1px solid #23261f; border-radius: 26px; }
.fuga {
  display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; width: 100%; padding: 15px 16px;
  background: transparent; border: 1px solid transparent; border-radius: 16px; color: var(--fg); font: inherit; text-align: left; cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.fuga:hover { background: #191c17; }
.fuga-area {
  justify-self: start; padding: 5px 11px; border-radius: 999px; background: #22251f; color: #c6c9bd;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.fuga-txt { font-size: 1.03125rem; line-height: 1.38; text-wrap: pretty; }
.fuga[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 9%, #121411); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.fuga[aria-pressed="true"] .fuga-area { background: var(--accent); color: #0a0a0a; }

@media (max-width: 960px) {
  .problemas-grid { grid-template-columns: 1fr; }
  .problemas-glow { left: -40%; width: 120%; }
}
@media (max-width: 640px) {
  .fuga { grid-template-columns: 1fr; gap: 9px; padding: 14px 12px; }
  .btn-duo { display: flex; }
  .btn-duo-label { flex: 1; justify-content: center; text-align: center; padding-inline: 16px; }
}

/* Luz difusa de la franja de fugas: se apaga antes de llegar a los bordes */
.problemas-glow {
  left: -22%; top: 6%; bottom: auto; width: 74%; height: 88%; filter: none;
  background: radial-gradient(ellipse at center, rgba(217, 242, 58, .17) 0%, rgba(217, 242, 58, .07) 38%, transparent 68%);
}
@media (max-width: 960px) { .problemas-glow { left: -45%; top: 0; width: 130%; height: 60%; } }

/* ---------- Consecuencias de no actuar ---------- */
.conseq-head { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.conseq-title { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.08; }
.consecuencias .lead { margin-top: 0; font-size: 1.125rem; }
.conseq-calc { margin-top: 10px; color: #8d9085; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.conseqs { list-style: none; padding: 10px 10px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.conseq {
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px;
  background: #141613; 
}
.conseq:nth-child(odd) { margin-top: 64px; background: linear-gradient(180deg, #141613 32%, #4c6616 100%); }
.conseq::before {
  content: ""; position: absolute; inset: -10px; pointer-events: none;
  --c: var(--accent); --l: 24px; --g: 2px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--g) var(--l) no-repeat;
}
.conseq:nth-child(odd)::before { --c: #fff; }
.conseq h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 500; }
.conseq-menos { display: block; width: 26px; height: 2px; margin: auto; background: var(--accent); }
.conseq:nth-child(odd) .conseq-menos { background: #fff; }
.conseq p { color: #e4e6dd; font-size: 1.03125rem; line-height: 1.45; text-wrap: pretty; }

@media (max-width: 960px) {
  .conseq-head { grid-template-columns: 1fr; align-items: start; }
  .conseqs { grid-template-columns: 1fr; gap: 32px; }
  .conseq, .conseq:nth-child(odd) { margin-top: 0; min-height: 210px; }
}

.conseq-title .hl { white-space: nowrap; }
@media (max-width: 960px) { .conseqs { gap: 44px; } }

/* ---------- Consecuencias: explicación y calculadora ---------- */
.conseq-head { grid-template-columns: 1fr 1.02fr; align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.consecuencias .lead { margin-top: 22px; max-width: 46ch; font-size: 1.1875rem; }
.conseq-title { font-size: clamp(2.1rem, 3.7vw, 3.3rem); }

.calc { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 34px); background: #141613; }
.calc::before {
  content: ""; position: absolute; inset: -10px; pointer-events: none;
  --c: var(--accent); --l: 24px; --g: 2px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--g) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--g) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--g) var(--l) no-repeat;
}
.calc-title { font-size: 1.25rem; font-weight: 500; }
.calc-field { display: grid; gap: 12px; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 0.96875rem; color: #c6c9bd; }
.calc-row output { color: var(--fg); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 8px 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(to right, var(--accent) var(--pct, 0%), #2c2f28 var(--pct, 0%));
}
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid #141613; box-shadow: 0 0 0 1px var(--accent); }
.calc input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid #141613; box-shadow: 0 0 0 1px var(--accent); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.calc-res { padding-top: 18px; border-top: 1px solid #2a2d26; }
.calc-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--display); font-weight: 500; }
.calc-big #calc-total { font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-unit { font-size: 1.125rem; font-weight: 500; }
.calc-extra { margin-top: 10px; min-height: 3em; color: #c6c9bd; font-size: 0.96875rem; line-height: 1.5; }
.calc .btn { justify-self: start; }
.calc-nota { color: #8d9085; font-size: 0.8125rem; }

.conseq-sub { margin-bottom: clamp(22px, 3vw, 34px); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; }
.conseq { min-height: 340px; }
.conseq p { font-size: 1rem; line-height: 1.5; }
.conseq-menos { margin: auto; }
@media (max-width: 960px) {
  .conseq-head { grid-template-columns: 1fr; }
  .calc { margin-inline: 10px; }
  .conseq, .conseq:nth-child(odd) { min-height: 260px; }
}
@media (max-width: 640px) { .calc .btn { width: 100%; justify-self: stretch; } }

.conseq-title { text-wrap: balance; }
@media (max-width: 960px) { .calc { margin-top: 14px; } }

/* Consecuencias: calculadora a la izquierda y texto a la derecha */
.conseq-head { grid-template-columns: 1.02fr 1fr; }
.conseq-head .calc { order: -1; }
@media (max-width: 960px) {
  .conseq-head { grid-template-columns: 1fr; }
  .conseq-head .calc { order: 0; }
}

/* ---------- Beneficios principales ---------- */
.beneficios { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.beneficio {
  position: relative; padding: 26px 24px 28px; background: #111310; border: 1px solid #23261f; border-radius: 18px;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.beneficio::before { content: ""; position: absolute; left: -2px; top: 26px; width: 3px; height: 52px; border-radius: 2px; background: var(--accent); }
.beneficio:hover { border-color: color-mix(in srgb, var(--accent) 50%, #23261f); transform: translateY(-3px); }
.beneficio-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: #1d201a; color: var(--accent); }
.beneficio h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.beneficio p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 960px) { .beneficios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .beneficios { grid-template-columns: 1fr; gap: 14px; } }

/* Beneficios: difuminados lima detrás de los paneles */
.beneficios-franja::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 8% 34%, rgba(217, 242, 58, .17), transparent 72%),
    radial-gradient(ellipse 38% 44% at 94% 78%, rgba(160, 200, 40, .17), transparent 72%),
    radial-gradient(ellipse 34% 22% at 52% 8%, rgba(217, 242, 58, .07), transparent 72%);
}
.beneficios-franja .beneficio { background: rgba(17, 19, 16, .84); }

/* ---------- Servicios y proceso de contratación ---------- */
.servicios-franja::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 50% 62%, rgba(217, 242, 58, .1), transparent 72%);
}
.proceso { --gap: clamp(28px, 4vw, 56px); position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.proceso::before {
  content: ""; position: absolute; top: 25px; left: 26px; height: 2px;
  right: 0; background: linear-gradient(90deg, var(--accent), rgba(217, 242, 58, .22) 86%, transparent);
}
.paso { position: relative; }
.paso-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: #0a0a0a; font-family: var(--display); font-size: 1.125rem; font-weight: 600; }
.paso h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.015em; }
.paso-tag { display: inline-flex; margin-top: 12px; padding: 5px 12px; border: 1px solid var(--card-line); border-radius: 999px; color: var(--accent); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; }
.paso p { margin-top: 16px; max-width: 38ch; color: #c6c9bd; line-height: 1.55; text-wrap: pretty; }
.servicios-franja .center { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .proceso { grid-template-columns: 1fr; gap: 36px; }
  .proceso::before { top: 26px; bottom: 26px; left: 25px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(217, 242, 58, .22)); }
  .paso { padding-left: 72px; }
  .paso-n { position: absolute; left: 0; top: 0; margin: 0; }
}

.head-center .lead { text-wrap: balance; }
@media (max-width: 860px) {
  .proceso::before { top: 26px; bottom: 0; background: linear-gradient(180deg, var(--accent), rgba(217, 242, 58, .22) 86%, transparent); }
}

/* Sin barra de aviso de momento (CUADRAIA pospuesto) */
:root { --announce: 0px; }
@media (max-width: 640px) { :root { --announce: 0px; } }

/* ---------- Quién hay detrás ---------- */
/* El retrato apoya en el borde inferior de la franja y mira hacia el texto */
.equipo { padding-bottom: 0; }
.equipo-grid {
  display: grid; column-gap: clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "titulo foto" "historia foto";
}
.equipo-title { grid-area: titulo; text-wrap: balance; }
.equipo-historia { grid-area: historia; margin-top: clamp(26px, 3vw, 38px); padding-bottom: clamp(64px, 9vw, 128px); }
.equipo-historia p { max-width: 60ch; color: #c6c9bd; font-size: 1.125rem; line-height: 1.6; text-wrap: pretty; }
.equipo-historia p + p { margin-top: 18px; }
.equipo-historia strong { color: var(--fg); font-weight: 600; }
.equipo-historia .equipo-giro { margin-top: clamp(26px, 3vw, 36px); }
.equipo-giro span {
  display: block; margin-bottom: 8px; color: var(--fg);
  font-family: var(--display); font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em;
}
.equipo-historia .equipo-firma { display: flex; flex-direction: column; gap: 2px; margin-top: clamp(26px, 3vw, 36px); font-size: 1rem; line-height: 1.35; }
.equipo-firma strong { font-family: var(--display); font-size: 1.125rem; }
.equipo-firma span { color: var(--muted); }

.equipo-foto { grid-area: foto; position: relative; align-self: end; margin: 0 calc(-1 * min(9%, var(--pad))) 0 0; }
.equipo-foto::before, .equipo-foto::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.equipo-foto::before { width: 74%; aspect-ratio: 1; left: 12%; top: 4%; background: rgba(217, 242, 58, .4); }
.equipo-foto::after { width: 62%; aspect-ratio: 1; right: -8%; top: 36%; background: rgba(170, 210, 40, .3); }
.equipo-foto img {
  /* El relleno amplía la caja de la máscara: sin él, el resplandor se corta en el borde de la imagen */
  --sangrado: 130px;
  box-sizing: content-box; display: block; width: 100%; height: auto;
  padding: var(--sangrado) var(--sangrado) 0; margin: calc(-1 * var(--sangrado)) calc(-1 * var(--sangrado)) 0;
  filter: drop-shadow(0 -2px 12px rgba(217, 242, 58, .12)) drop-shadow(0 -8px 48px rgba(217, 242, 58, .22));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}
@media (max-width: 860px) {
  .equipo-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "titulo" "foto" "historia"; }
  .equipo-foto { justify-self: center; width: min(100%, 340px); margin: 28px 0 0; }
  .equipo-historia { margin-top: -20px; position: relative; }
}

/* ---------- Sin cortes entre franjas ----------
   Ningún fondo puede terminar en seco: todo se funde con el color de la franja siguiente. */
.beneficios-franja::after {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.hero-b .v3-marquee { border-top: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-b::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 170px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--panel));
}
.footer { background: var(--panel); }
body { background: var(--panel); }

/* ---------- Menú móvil ---------- */
.hero-b .nav { z-index: 4; } /* por encima del titular, que comparte nivel con el resto de la portada */
.hero-body:focus { outline: 0; }
.menu-cta { display: none; }
@media (max-width: 820px) {
  .hero-b .nav-links .menu-cta, .hero-b .nav-links .menu-cta:hover {
    display: flex; justify-content: center; margin: 10px 0 8px; padding: 15px 20px; border: 0; border-radius: 999px;
    background: var(--accent); color: #0a0a0a; font-weight: 600;
  }
}

/* ---------- Fugas: instrucción visible y botón debajo de la lista en móvil ---------- */
.fugas-ayuda { padding: 8px 16px 6px; color: #c6c9bd; font-size: 0.9375rem; line-height: 1.35; }
@media (max-width: 960px) {
  .problemas-grid { row-gap: 0; }
  .problemas-grid > div:first-child { display: contents; }
  .problemas-grid .fugas { order: 1; margin-top: 30px; }
  .problemas-grid [data-task-cta] { order: 2; justify-self: start; }
}
@media (max-width: 640px) { .problemas-grid [data-task-cta] { justify-self: stretch; } .fugas-ayuda { padding-inline: 12px; } }

/* Firma: enlace a LinkedIn con área de toque cómoda */
.equipo-firma a { align-self: flex-start; margin-top: 4px; padding-block: 8px; color: #c2db62; text-underline-offset: 4px; transition: color .2s var(--ease-out); }
.equipo-firma a:hover { color: var(--fg); }

/* ---------- Contacto ---------- */
.consent a[aria-disabled="true"] { opacity: 1; }
input[type="text"], input[type="email"], textarea { border-color: color-mix(in srgb, var(--accent) 36%, #2a2d24); } /* 3:1 sobre el formulario */
.form-sigue { color: #c6c9bd; font-size: 0.9375rem; line-height: 1.5; text-wrap: pretty; }
.form-vias { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 2px; }
.form-vias a { padding-block: 8px; color: #c2db62; text-underline-offset: 4px; transition: color .2s var(--ease-out); }
.form-vias a:hover { color: var(--fg); }

/* Logo (sustituye al rombo provisional en menú y pie) */
.brand-logo { display: block; width: auto; height: 30px; }
.footer .brand { gap: 0; }
.footer .brand-logo { height: 24px; }

/* Cierre: luz lima difusa detrás del titular y del formulario (sustituye al arco) */
.final::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 38% 42% at 22% 56%, rgba(217, 242, 58, .17), transparent 72%),
    radial-gradient(ellipse 42% 46% at 78% 46%, rgba(150, 190, 30, .22), transparent 72%);
}
@media (max-width: 820px) {
  .final::after {
    background:
      radial-gradient(ellipse 80% 22% at 30% 20%, rgba(217, 242, 58, .17), transparent 72%),
      radial-gradient(ellipse 90% 30% at 70% 64%, rgba(150, 190, 30, .22), transparent 72%);
  }
}
