/* =============================================================
   Be Happy Marketing — styles.css  (rediseño corporativo, nov 2026)
   Lenguaje visual: fondo negro, tipografía grande y contundente,
   esquinas rectas, un acento de marca (azul Be-Happy) y la media
   luna roja del logo como recurso gráfico propio.
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Header/Nav
   6. Buttons  7. Components  8. Home  9. Forms  10. Cookies
   11. Footer  12. Responsive  13. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root{
  --paper:#000000;
  --paper-alt:#0D0D11;
  --paper-raised:#15151B;
  --paper-light:#F4F4F6;
  --ink:#FFFFFF;
  --ink-muted:#B6B6C2;
  --ink-soft:#80808E;
  --line:#2A2A33;
  --line-strong:#41414D;

  --brand-blue:#0709F1;          /* azul exacto del logo — rellenos */
  --blue:#5867FF;                /* azul legible sobre negro — iconos y acentos */
  --blue-deep:#A3ABFF;           /* azul claro para texto enlazado */
  --blue-tint:rgba(7,9,241,.16);
  --blue-tint-2:rgba(7,9,241,.28);

  --yellow:#F1DA07;
  --yellow-ink:#F1DA07;
  --yellow-tint:rgba(241,218,7,.12);

  --red:#FD0404;
  --red-soft:#FF4A4A;
  --red-tint:rgba(253,4,4,.14);

  --radius-lg:4px;
  --radius-md:3px;
  --radius-sm:2px;
  --radius-pill:2px;

  --shadow-sm: none;
  --shadow-md: 0 24px 48px -24px rgba(7,9,241,.55);
  --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.8);

  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-soft: cubic-bezier(0.25,0.46,0.45,0.94);

  --font-display:"Inter Tight","Inter",-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,monospace;

  --header-h: 84px;
  --container: 1320px;

  color-scheme: dark;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; tab-size:2; overflow-x:clip; scroll-behavior:smooth; background:var(--paper); }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:clip; overscroll-behavior-y:none;
}
img,svg,video{ display:block; max-width:100%; }
img{ height:auto; }
button{ font:inherit; color:inherit; cursor:pointer; border:0; background:none; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
p{ text-wrap:pretty; }
input,textarea,select{ font:inherit; color:inherit; }
::selection{ background:var(--yellow); color:#000; }
:focus-visible{ outline:2px solid var(--yellow); outline-offset:3px; }

h1,h2,h3,h4{
  font-family:var(--font-display); font-weight:700;
  letter-spacing:-0.025em; line-height:1.04;
  text-wrap:balance; margin:0; color:var(--ink);
}
strong{ color:var(--ink); }

.mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; }
.ico{ fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.ico-fill{ fill:currentColor; stroke:none; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container{ max-width:var(--container); margin-inline:auto; padding-inline:clamp(20px,4vw,48px); }
.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-link{
  position:fixed; top:-100px; left:1rem; z-index:9999;
  padding:.7rem 1.1rem; background:var(--yellow); color:#000; font-weight:700; font-size:14px;
  transition:top .2s var(--ease-out);
}
.skip-link:focus{ top:1rem; }

/* Etiqueta superior: guion amarillo (el del logo) + texto en mayúsculas */
.eyebrow{ display:inline-flex; align-items:center; gap:12px; margin-bottom:20px; max-width:100%; }
.eyebrow span:not(.dot){ min-width:0; }
.eyebrow .dot{ width:22px; height:4px; border-radius:1px; background:var(--yellow); flex-shrink:0; }
.eyebrow span{
  font-family:var(--font-body); font-size:12.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink); font-weight:600;
}

.section{ padding:clamp(72px,10vw,140px) 0; position:relative; }
.section-alt{ background:var(--paper-alt); }
.section-head{ max-width:820px; margin-bottom:clamp(40px,5vw,64px); }
.section-head.center{ margin-inline:auto; text-align:center; }
h2.h2{ font-size:clamp(34px,5vw,68px); }
h3.h3{ font-size:clamp(22px,2.2vw,28px); }
.dek{ margin-top:22px; color:var(--ink-muted); font-size:clamp(17px,1.4vw,19px); max-width:60ch; line-height:1.6; }
.section-head.center .dek{ margin-inline:auto; }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible{ opacity:1; transform:none; }

.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase;
  padding:5px 11px; border-radius:var(--radius-pill); border:1px solid var(--line-strong); color:var(--ink-muted);
}
.badge.pending{ color:var(--red-soft); border-color:color-mix(in srgb, var(--red) 45%, var(--line)); background:var(--red-tint); text-transform:none; letter-spacing:0; font-family:var(--font-body); }

/* Breadcrumbs */
.breadcrumbs{ padding-top:26px; }
.breadcrumbs ol{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:13px; color:var(--ink-soft); margin:0; padding:0; list-style:none; }
.breadcrumbs a{ color:var(--ink-soft); }
.breadcrumbs a:hover{ color:var(--ink); }
.breadcrumbs li:not(:last-child)::after{ content:"/"; margin-left:6px; color:var(--line-strong); }
.breadcrumbs li[aria-current]{ color:var(--ink); font-weight:500; }

/* =============================================================
   5. Header / Navigation
   ============================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease-out);
}
.site-header.is-scrolled{ border-color:var(--line); }
.nav-row{
  height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  transition:height .2s var(--ease-out);
}
.site-header.is-scrolled .nav-row{ height:68px; }

.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand-logo-chip{ display:inline-flex; align-items:center; justify-content:center; background:transparent; padding:0; }
/* El PNG trae margen interno: lo compensamos para que el logo se vea a tamaño real */
.brand-logo{ display:block; height:58px; width:auto; transition:height .2s var(--ease-out); }
.site-header.is-scrolled .brand-logo{ height:46px; }
.footer-brand .brand-logo{ height:96px; }
.mobile-nav-head .brand-logo{ height:48px; }

.nav-primary{ display:none; }
.nav-primary ul{ display:flex; align-items:center; gap:4px; }
.nav-primary a, .nav-primary button.nav-link{
  position:relative; display:flex; align-items:center; gap:6px;
  padding:10px 14px; font-size:15px; font-weight:500; color:var(--ink);
}
.nav-primary a::after, .nav-primary button.nav-link::after{
  content:""; position:absolute; left:14px; right:14px; bottom:4px; height:2px; background:var(--yellow);
  transform:scaleX(0); transform-origin:left; transition:transform .25s var(--ease-out);
}
.nav-primary a:hover::after, .nav-primary button.nav-link:hover::after,
.nav-primary li[aria-current] > a::after, .has-mega.is-open > button.nav-link::after{ transform:scaleX(1); }
.nav-primary .caret{ width:10px; height:10px; transition:transform .2s var(--ease-out); }
.has-mega.is-open .caret{ transform:rotate(180deg); }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border:1px solid var(--line-strong); color:var(--ink);
}
.nav-toggle svg{ width:20px; height:20px; }

/* Mega menu */
.mega{
  position:absolute; left:0; right:0; top:100%;
  background:#0A0A0D; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.has-mega.is-open .mega{ opacity:1; visibility:visible; transform:none; }
.mega-inner{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; padding:36px clamp(20px,4vw,48px) 36px; max-width:var(--container); margin-inline:auto; }
.mega-item{ display:flex; gap:16px; padding:20px; border-left:1px solid var(--line); transition:background .18s var(--ease-out); }
.mega-item:hover{ background:var(--paper-raised); }
.mega-item::after{ display:none; }
.mega-ico{ flex-shrink:0; width:40px; height:40px; background:var(--brand-blue); display:flex; align-items:center; justify-content:center; color:#fff; }
.mega-ico svg{ width:20px; height:20px; }
.mega-item h4{ font-size:16px; margin-bottom:6px; letter-spacing:-.01em; }
.mega-item p{ margin:0; font-size:13.5px; color:var(--ink-muted); line-height:1.5; }
.mega-item .services{ margin-top:8px; display:block; font-size:12px; color:var(--ink-soft); }
.mega-foot{ border-top:1px solid var(--line); padding:18px clamp(20px,4vw,48px); display:flex; justify-content:flex-end; max-width:var(--container); margin-inline:auto; }
.mega-foot a{ font-size:14px; font-weight:600; color:var(--ink); display:inline-flex; align-items:center; gap:8px; }
.mega-foot a svg{ width:16px; height:16px; color:var(--yellow); }

/* Mobile nav */
.mobile-nav{
  position:fixed; inset:0; z-index:200; background:#000;
  transform:translateX(100%); transition:transform .32s var(--ease-out);
  overflow-y:auto;
}
.mobile-nav.is-open{ transform:none; }
.mobile-nav-head{ display:flex; align-items:center; justify-content:space-between; padding:0 20px; height:var(--header-h); border-bottom:1px solid var(--line); }
.mobile-nav-body{ padding:8px 20px 40px; }
.mobile-nav-body > ul > li{ border-bottom:1px solid var(--line); }
.mobile-nav-body > ul > li > a, .mobile-nav-body summary{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 2px; font-family:var(--font-display); font-weight:600; font-size:24px; letter-spacing:-.02em; list-style:none;
}
.mobile-nav-body summary::-webkit-details-marker{ display:none; }
.mobile-nav-body summary svg{ width:18px; height:18px; transition:transform .2s var(--ease-out); }
.mobile-nav-body details[open] summary svg{ transform:rotate(180deg); }
.mobile-sub{ padding:0 0 16px; display:flex; flex-direction:column; gap:2px; }
.mobile-sub a{ padding:10px 12px; font-size:16px; color:var(--ink-muted); border-left:2px solid var(--line); }
.mobile-sub a:hover{ color:var(--ink); border-color:var(--yellow); }
.mobile-nav-cta{ margin-top:26px; display:flex; flex-direction:column; gap:10px; }

/* =============================================================
   6. Buttons & links
   ============================================================= */
.btn{
  font-family:var(--font-body); font-weight:600; font-size:15px; line-height:1;
  padding:17px 26px; border-radius:var(--radius-sm);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  transition:background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; transition:transform .2s var(--ease-out); }
.btn:hover svg{ transform:translateX(4px); }
.btn-primary{ background:var(--brand-blue); color:#fff; border:1.5px solid var(--brand-blue); }
.btn-primary:hover{ background:#fff; color:#000; border-color:#fff; }
.btn-secondary{ background:transparent; color:#fff; border:1.5px solid #fff; }
.btn-secondary:hover{ background:#fff; color:#000; }
.btn-ghost{ background:transparent; color:var(--ink-muted); border:1.5px solid var(--line-strong); }
.btn-ghost:hover{ border-color:#fff; color:#fff; }
.btn-yellow{ background:var(--yellow); color:#000; border:1.5px solid var(--yellow); }
.btn-yellow:hover{ background:#fff; border-color:#fff; }
.btn-block{ width:100%; }
.btn-sm{ padding:12px 18px; font-size:14px; }
.btn[disabled]{ opacity:.55; pointer-events:none; }

.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:40px; }

/* Enlace de texto con flecha y subrayado animado */
.link-arrow{
  display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:15px; color:var(--ink);
  background:linear-gradient(var(--yellow),var(--yellow)) 0 100% / 0 2px no-repeat;
  padding-bottom:4px; transition:background-size .3s var(--ease-out);
}
.link-arrow svg{ width:16px; height:16px; color:var(--yellow); transition:transform .25s var(--ease-out); }
.link-arrow:hover{ background-size:100% 2px; }
.link-arrow:hover svg{ transform:translateX(4px); }

/* =============================================================
   7. Components (compartidos por todo el sitio)
   ============================================================= */
.card{
  background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-lg);
  transition:transform .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.section-alt .card{ background:#17171E; }

/* Service cards grid */
.solutions-grid{ display:grid; grid-template-columns:repeat(1,1fr); gap:0; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.solutions-grid > .card{ border:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; }
.solution-card{ padding:34px 30px; display:flex; flex-direction:column; gap:16px; position:relative; }
.solution-card::before{
  content:""; position:absolute; left:0; top:0; height:3px; width:100%; background:var(--brand-blue);
  transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease-out);
}
a.solution-card:hover, .solution-card:hover{ background:#1C1C24; }
.solution-card:hover::before{ transform:scaleX(1); }
.solution-card .ico{ width:auto; height:auto; background:none; color:var(--blue); display:flex; }
.solution-card > .ico{ width:48px; height:48px; background:var(--brand-blue); color:#fff; align-items:center; justify-content:center; }
.solution-card .ico svg{ width:24px; height:24px; }
.solution-card h3{ font-size:22px; letter-spacing:-.02em; }
.solution-card p{ margin:0; color:var(--ink-muted); font-size:15px; }
.solution-card .services-inline{ display:flex; flex-wrap:wrap; gap:6px; margin-top:2px; }
.tag-chip{ font-size:11.5px; font-family:var(--font-mono); padding:4px 9px; border-radius:var(--radius-pill); background:transparent; color:var(--ink-muted); border:1px solid var(--line-strong); }
.solution-card .go{ margin-top:auto; display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--ink); padding-top:8px; }
.solution-card .go svg{ width:15px; height:15px; color:var(--yellow); transition:transform .2s var(--ease-out); }
.solution-card:hover .go svg{ transform:translateX(4px); }
.solution-card .rank{ font-family:var(--font-mono); font-size:12px; color:var(--ink-soft); }

/* Project / case cards */
.projects-grid{ display:grid; grid-template-columns:1fr; gap:0; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.projects-grid > .card{ border:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; }
.project-card{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.project-card:hover{ background:#1C1C24; }
.project-flow{ padding:30px 30px 12px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.pf-node{ font-family:var(--font-mono); font-size:11px; padding:5px 10px; border-radius:var(--radius-pill); background:var(--blue-tint); color:var(--blue-deep); border:1px solid rgba(88,103,255,.3); }
.pf-arrow{ color:var(--ink-soft); font-size:12px; }
.project-body{ padding:8px 30px 32px; }
.project-body h3{ font-size:24px; margin-bottom:10px; }
.project-body p{ margin:0; color:var(--ink-muted); font-size:15px; }

/* Experiencia real */
.experience-grid{ display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:clamp(36px,5vw,56px); }
.experience-card{ padding:0; display:flex; flex-direction:column; text-align:left; overflow:hidden; }
.experience-card:hover{ border-color:var(--line-strong); }
.experience-logo{ display:flex; align-items:center; justify-content:center; height:180px; background:#fff; padding:28px; }
.experience-logo img{ max-height:100%; width:auto; max-width:80%; object-fit:contain; transition:transform .5s var(--ease-out); }
.experience-card:hover .experience-logo img{ transform:scale(1.05); }
.experience-body{ padding:26px 28px 30px; }
.experience-body h3{ font-size:22px; margin-bottom:8px; }
.experience-body p{ margin:0; color:var(--ink-muted); font-size:15px; }
.experience-body .go{ margin-top:16px; display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--ink); }
.experience-body .go svg{ width:15px; height:15px; color:var(--yellow); transition:transform .2s var(--ease-out); }
.experience-card:hover .go svg{ transform:translateX(4px); }

/* Ecosystem diagram */
.ecosystem{ margin-top:20px; }
.eco-track{ display:flex; align-items:center; gap:0; overflow-x:auto; padding:20px 4px 28px; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; }
.eco-node{ flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:12px; width:118px; text-align:center; }
.eco-node .circle{
  width:58px; height:58px; border-radius:50%; background:#000; border:1.5px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; color:var(--ink-muted);
  transition:border-color .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out), color .3s;
}
.eco-node .circle svg{ width:22px; height:22px; }
.eco-node span{ font-size:12.5px; color:var(--ink-muted); font-weight:500; line-height:1.3; }
.eco-node.is-visible .circle{ border-color:var(--brand-blue); background:var(--brand-blue); color:#fff; transform:scale(1.05); }
.eco-node:nth-child(5).is-visible .circle{ border-color:var(--yellow); background:var(--yellow); color:#000; }
.eco-node:nth-child(15).is-visible .circle{ border-color:var(--red); background:var(--red); color:#fff; }
.eco-connector{ flex:0 0 auto; width:44px; height:2px; background:var(--line-strong); position:relative; margin:0 -2px; align-self:flex-start; margin-top:28px; }
.eco-connector::after{ content:""; position:absolute; inset:0; background:var(--blue); transform-origin:left; transform:scaleX(0); transition:transform .5s var(--ease-out); }
.eco-connector.is-visible::after{ transform:scaleX(1); }

/* Agent / IA radial diagram */
.agent-diagram{ position:relative; width:100%; max-width:520px; aspect-ratio:1/1; margin-inline:auto; }
.agent-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:128px; height:128px; border-radius:50%; background:var(--brand-blue);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px;
  color:#fff; box-shadow:0 0 0 12px rgba(7,9,241,.18), 0 0 80px 10px rgba(7,9,241,.35); z-index:2;
}
.agent-core svg{ width:32px; height:32px; }
.agent-core span{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; }
.agent-node{ position:absolute; width:84px; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; z-index:2; }
.agent-node .circle{ width:52px; height:52px; border-radius:50%; background:#000; border:1.5px solid var(--line-strong); display:flex; align-items:center; justify-content:center; color:#fff; }
.agent-node .circle svg{ width:20px; height:20px; }
.agent-node span{ font-size:12px; color:var(--ink-muted); font-weight:500; }
.agent-svg{ position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.agent-svg path{ fill:none; stroke:var(--line-strong); stroke-width:1.5; stroke-dasharray:4 5; transition:stroke .4s; }
.agent-svg path.is-visible{ stroke:var(--blue); }

/* Before / after toggle */
.compare{ margin-top:26px; }
.compare-tabs{ display:inline-flex; padding:4px; background:#000; border:1px solid var(--line-strong); }
.compare-tabs button{ padding:11px 22px; font-size:14px; font-weight:600; color:var(--ink-muted); }
.compare-tabs button[aria-selected="true"]{ background:#fff; color:#000; }
.compare-panels{ margin-top:26px; }
.compare-panel{ display:none; }
.compare-panel.is-active{ display:block; }
.compare-flow{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.cf-step{ display:flex; align-items:center; gap:8px; padding:13px 17px; border:1px solid var(--line-strong); background:#000; font-size:14px; }
.compare-panel[data-panel="antes"] .cf-step{ border-color:color-mix(in srgb, var(--red) 50%, var(--line)); color:var(--ink-muted); }
.compare-panel[data-panel="despues"] .cf-step{ border-color:var(--brand-blue); color:#fff; background:var(--blue-tint); }
.cf-arrow{ color:var(--ink-soft); }

/* Methodology stepper */
.method-grid{ display:grid; grid-template-columns:1fr; gap:0; }
.method-step{ display:grid; grid-template-columns:64px 1fr; gap:20px; padding:30px 0; border-top:1px solid var(--line-strong); transition:border-color .3s; }
.method-step:hover{ border-top-color:var(--yellow); }
.method-grid .method-step:last-child{ border-bottom:1px solid var(--line-strong); }
.method-step .num{ font-family:var(--font-display); font-size:30px; color:var(--blue); font-weight:700; letter-spacing:-.02em; }
.method-step h3{ font-size:22px; margin-bottom:8px; }
.method-step p{ margin:0; color:var(--ink-muted); font-size:15px; max-width:52ch; }

/* Stats placeholder (páginas interiores) */
.stats-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.stat-tile{ padding:30px 24px; background:var(--paper-alt); }
.stat-tile .value{ font-family:var(--font-display); font-size:40px; font-weight:700; color:var(--ink-soft); }
.stat-tile .label{ margin-top:6px; font-size:14px; color:var(--ink-muted); }
.stat-tile .flag{ margin-top:10px; }

/* FAQ */
.faq-list{ display:flex; flex-direction:column; border-top:1px solid var(--line-strong); }
.faq-item{ border-bottom:1px solid var(--line-strong); }
.faq-item summary{ list-style:none; cursor:pointer; padding:26px 4px; display:flex; align-items:center; justify-content:space-between; gap:20px; font-family:var(--font-display); font-weight:600; font-size:clamp(18px,1.8vw,22px); letter-spacing:-.015em; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary svg{ width:20px; height:20px; flex-shrink:0; color:var(--yellow); transition:transform .25s var(--ease-out); }
.faq-item[open] summary svg{ transform:rotate(90deg); }
.faq-item .faq-body{ padding:0 4px 28px; color:var(--ink-muted); font-size:16px; max-width:70ch; }

/* Blog cards */
.blog-grid{ display:grid; grid-template-columns:1fr; gap:28px; }
.blog-card{ padding:0; overflow:hidden; display:block; background:transparent; border:0; }
.blog-card-cover{ width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--paper-raised); transition:transform .6s var(--ease-out), filter .4s; filter:saturate(.9); }
.blog-card:hover .blog-card-cover{ transform:scale(1.04); filter:saturate(1.05); }
.blog-card > :first-child{ overflow:hidden; }
.blog-card-body{ padding:20px 0 4px; border-top:3px solid transparent; transition:border-color .3s; }
.blog-card:hover .blog-card-body{ border-top-color:var(--brand-blue); }
.blog-card .cat{ font-family:var(--font-body); font-size:12px; font-weight:600; color:var(--yellow); text-transform:uppercase; letter-spacing:.14em; }
.blog-card h3{ font-size:22px; margin-top:10px; letter-spacing:-.02em; }
.blog-card p{ color:var(--ink-muted); font-size:15px; margin-top:10px; }

/* CTA band */
.cta-band{
  padding:clamp(56px,8vw,110px) clamp(24px,6vw,80px);
  background:var(--brand-blue); color:#fff; text-align:left; position:relative; overflow:hidden; border-radius:0;
}
.cta-band h2{ color:#fff; font-size:clamp(34px,5vw,72px); max-width:16ch; position:relative; z-index:1; }
.cta-band .dek{ color:rgba(255,255,255,.85); position:relative; z-index:1; }
.cta-band .hero-actions{ position:relative; z-index:1; }
.cta-band .btn-primary{ background:#fff; color:#000; border-color:#fff; }
.cta-band .btn-primary:hover{ background:var(--yellow); border-color:var(--yellow); }
.cta-band .btn-secondary{ color:#fff; border-color:rgba(255,255,255,.7); }
.cta-band .btn-secondary:hover{ background:#fff; color:#000; }
/* Media luna roja del logo como firma gráfica */
.cta-glow{
  position:absolute; right:clamp(16px,5vw,80px); top:50%; transform:translateY(-50%) rotate(8deg);
  height:min(78%,440px); aspect-ratio:1; width:auto;
  border-radius:50%; pointer-events:none;
  box-shadow:inset -30px -26px 0 0 var(--red);
}

/* Tools strip */
.tools-strip{ display:flex; flex-wrap:wrap; gap:10px 36px; justify-content:center; }
.tool-pill{ font-family:var(--font-display); font-size:18px; font-weight:600; color:var(--ink-soft); letter-spacing:-.01em; }

/* =============================================================
   8. Home (nuevas piezas)
   ============================================================= */

/* --- Hero a pantalla completa --- */
.hero{ padding:clamp(56px,8vw,96px) 0 clamp(40px,6vw,72px); position:relative; overflow:clip; }
.hero h1{ font-size:clamp(40px,6.4vw,92px); max-width:16ch; }
.hero .dek{ font-size:clamp(17px,1.5vw,20px); max-width:56ch; }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1fr; gap:44px; align-items:center; }
.hero-visual{ position:relative; }
.hero-glow{ display:none; }

.hero-home{
  min-height:min(calc(100svh - var(--header-h)), 880px); display:flex; align-items:flex-end;
  padding:clamp(80px,12vw,140px) 0 clamp(56px,8vw,96px);
}
.hero-home h1{ font-size:clamp(36px,9.6vw,148px); line-height:.96; letter-spacing:-.04em; max-width:13ch; }
.hero-home h1 .accent{ color:var(--ink); position:relative; white-space:nowrap; }
.hero-home h1 .accent::after{
  content:""; position:absolute; left:.04em; right:.04em; bottom:.02em; height:.11em; background:var(--yellow);
  transform:scaleX(0); transform-origin:left; animation:bhm-bar 1s .6s var(--ease-out) forwards;
}
@keyframes bhm-bar{ to{ transform:scaleX(1); } }
.hero-home .hero-copy{ position:relative; z-index:2; }
.hero-home-foot{ display:grid; grid-template-columns:1fr; gap:28px; margin-top:44px; align-items:end; }
.hero-home-foot .dek{ margin-top:0; }
.hero-home .hero-actions{ margin-top:0; }

/* Media luna animada (inspirada en el logo) */
.hero-moon{
  position:absolute; z-index:0; pointer-events:none;
  right:clamp(16px,4vw,48px); top:clamp(8px,2vw,24px); width:min(40vw,500px); aspect-ratio:1;
}
.hero-moon svg{ width:100%; height:100%; overflow:visible; }
.hero-moon .moon-arc{ fill:none; stroke:var(--red); stroke-width:40; stroke-linecap:round; stroke-dasharray:700; stroke-dashoffset:700; animation:bhm-draw 2.2s .2s var(--ease-out) forwards; }
.hero-moon .moon-ring{ fill:none; stroke:rgba(88,103,255,.22); stroke-width:1; }
.hero-moon .moon-ring.r2{ stroke:rgba(255,255,255,.07); }
@keyframes bhm-draw{ to{ stroke-dashoffset:0; } }
.hero-scroll{ display:none; }

/* --- Fila de tarjetas póster --- */
.rail-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:36px; }
.rail-head h2{ font-size:clamp(30px,3.6vw,52px); }
.rail-controls{ display:flex; gap:8px; flex-shrink:0; }
.rail-btn{ width:48px; height:48px; border:1.5px solid var(--line-strong); color:#fff; display:flex; align-items:center; justify-content:center; transition:background .2s, border-color .2s, color .2s; }
.rail-btn:hover{ background:#fff; color:#000; border-color:#fff; }
.rail-btn svg{ width:18px; height:18px; }
.rail-btn.prev svg{ transform:rotate(180deg); }
.rail{
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(260px, 82%); gap:16px;
  overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:12px;
  scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent;
}
.poster{
  position:relative; scroll-snap-align:start; aspect-ratio:3/4.2; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end;
  background:var(--paper-raised); isolation:isolate;
}
.poster img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .8s var(--ease-out); }
.poster::before{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.92) 78%); transition:background .4s; }
.poster:hover img{ transform:scale(1.06); }
.poster:hover::before{ background:linear-gradient(180deg, rgba(7,9,241,.25) 0%, rgba(0,0,0,.95) 70%); }
.poster-body{ padding:26px 24px 26px; }
.poster .tag{ display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#000; background:var(--yellow); padding:5px 9px; margin-bottom:14px; }
.poster h3{ font-size:clamp(21px,1.8vw,26px); color:#fff; letter-spacing:-.02em; }
.poster p{ margin:12px 0 0; font-size:14.5px; color:rgba(255,255,255,.78); max-height:0; opacity:0; overflow:hidden; transition:max-height .5s var(--ease-out), opacity .4s; }
.poster:hover p, .poster:focus-visible p{ max-height:120px; opacity:1; }
.poster .more{ margin-top:16px; display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:#fff; }
.poster .more svg{ width:15px; height:15px; color:var(--yellow); }
.poster.is-brand{ background:var(--brand-blue); }
.poster.is-brand::before{ background:none; }
.poster.is-brand .moon-mini{ position:absolute; right:9%; top:7%; width:34%; aspect-ratio:1; border-radius:50%; box-shadow:inset -12px -10px 0 0 var(--red); transform:rotate(8deg); z-index:-1; }
.poster.is-brand p{ max-height:none; opacity:1; }

/* --- Qué hacemos: lista de capacidades --- */
.cap-intro{ display:grid; grid-template-columns:1fr; gap:24px; margin-bottom:clamp(40px,5vw,64px); }
.cap-list{ border-top:1px solid var(--line-strong); }
.cap-row{
  position:relative; display:grid; grid-template-columns:48px 1fr 28px; gap:16px; align-items:center;
  padding:28px 0; border-bottom:1px solid var(--line-strong); isolation:isolate;
}
.cap-row::before{ content:""; position:absolute; inset:0 -9999px; z-index:-1; background:var(--brand-blue); transform:scaleY(0); transform-origin:bottom; transition:transform .45s var(--ease-out); }
.cap-row:hover::before{ transform:scaleY(1); }
.cap-row .n{ font-family:var(--font-mono); font-size:13px; color:var(--ink-soft); transition:color .3s; }
.cap-row h3{ font-size:clamp(26px,3.6vw,52px); letter-spacing:-.03em; font-weight:600; }
.cap-row .cap-desc{ display:none; color:var(--ink-muted); font-size:15px; transition:color .3s; }
.cap-row .cap-go{ width:28px; height:28px; color:var(--yellow); transition:transform .3s var(--ease-out), color .3s; }
.cap-row:hover .n, .cap-row:hover .cap-desc{ color:#fff; }
.cap-row:hover .cap-go{ transform:translateX(6px); color:#fff; }

/* --- Carrusel de soluciones 360º --- */
.showcase{ position:relative; overflow:hidden; }
.showcase-manifesto{ font-family:var(--font-display); font-weight:600; font-size:clamp(28px,4vw,56px); letter-spacing:-.03em; line-height:1.08; max-width:22ch; margin:0 0 clamp(40px,5vw,64px); }
.showcase-manifesto em{ font-style:normal; color:var(--blue); }
.slides{ position:relative; min-height:420px; }
.slide{
  position:absolute; inset:0; display:grid; grid-template-columns:1fr; gap:28px;
  opacity:0; visibility:hidden; transform:translateX(24px); transition:opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility .6s;
}
.slide.is-active{ position:relative; opacity:1; visibility:visible; transform:none; }
.slide-media{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--paper-raised); }
.slide-media img{ width:100%; height:100%; object-fit:cover; }
.slide-body .tag{ font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--yellow); }
.slide-body h3{ font-size:clamp(28px,3.4vw,48px); margin:14px 0 16px; letter-spacing:-.03em; }
.slide-body p{ color:var(--ink-muted); font-size:17px; max-width:48ch; margin:0 0 24px; }
.slide-body .project-flow{ padding:0 0 26px; }
.slider-ui{ display:flex; align-items:center; gap:14px; margin-top:36px; padding-top:24px; border-top:1px solid var(--line-strong); }
.slider-ui .count{ font-family:var(--font-mono); font-size:13px; color:var(--ink-muted); min-width:56px; }
.slider-progress{ flex:1; height:2px; background:var(--line-strong); position:relative; overflow:hidden; }
.slider-progress span{ position:absolute; inset:0; background:var(--yellow); transform-origin:left; transform:scaleX(0); }

/* --- Cifras (por qué Be Happy) --- */
.figures{ display:grid; grid-template-columns:1fr; gap:1px; background:var(--line-strong); border:1px solid var(--line-strong); }
.figure{ background:var(--paper); padding:clamp(28px,3vw,44px); display:flex; flex-direction:column; gap:14px; min-height:300px; transition:background .35s var(--ease-out); }
.figure:hover{ background:var(--brand-blue); }
.figure .kicker{ font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-muted); }
.figure .big{ font-family:var(--font-display); font-weight:700; font-size:clamp(64px,7vw,112px); line-height:.9; min-height:.95em; letter-spacing:-.05em; color:#fff; }
.figure .big small{ font-size:.4em; letter-spacing:-.02em; margin-left:4px; }
.figure h3{ font-size:20px; line-height:1.2; letter-spacing:-.015em; margin-top:18px; }
.figure p{ margin:0; color:var(--ink-muted); font-size:15px; transition:color .35s; }
.figure:hover p, .figure:hover .kicker{ color:rgba(255,255,255,.85); }

/* --- Bloque editorial con imagen (Formación) --- */
.feature-split{ display:grid; grid-template-columns:1fr; gap:0; background:var(--paper-raised); }
.feature-split .media{ position:relative; min-height:320px; overflow:hidden; }
.feature-split .media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.feature-split .copy{ padding:clamp(36px,5vw,72px); display:flex; flex-direction:column; justify-content:center; }
.feature-split h2{ font-size:clamp(32px,4vw,56px); }
.feature-points{ display:grid; grid-template-columns:1fr 1fr; gap:20px 28px; margin-top:32px; }
.feature-points div{ border-top:2px solid var(--brand-blue); padding-top:12px; }
.feature-points strong{ display:block; font-family:var(--font-display); font-size:17px; margin-bottom:4px; }
.feature-points span{ font-size:14px; color:var(--ink-muted); }

/* Marcas reales en la home */
.clients-row{ display:grid; grid-template-columns:1fr; gap:16px; }

/* =============================================================
   9. Forms
   ============================================================= */
.form-card{ padding:clamp(24px,4vw,44px); }
.field-group{ display:grid; grid-template-columns:1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:14px; font-weight:600; }
.field .opt{ font-weight:400; color:var(--ink-muted); font-size:12.5px; }
.field input, .field select, .field textarea{
  padding:15px 16px; border:0; border-bottom:1.5px solid var(--line-strong); border-radius:0; background:#000;
  transition:border-color .18s var(--ease-out), background .18s; font-size:15px;
}
.field select option{ background:#000; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--yellow); background:#08080B; outline:none; }
.field textarea{ resize:vertical; min-height:120px; }
fieldset{ border:0; padding:0; margin:0; }
legend{ font-family:var(--font-display); font-weight:600; font-size:20px; padding:0 0 14px; width:100%; border-bottom:1px solid var(--line-strong); margin-bottom:20px; }
.form-section + .form-section{ margin-top:38px; }

.checkbox-tiles{ display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.checkbox-tile{ position:relative; }
.checkbox-tile input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.checkbox-tile span{ display:flex; align-items:center; gap:9px; padding:13px 14px; border:1.5px solid var(--line-strong); font-size:14px; transition:border-color .18s var(--ease-out), background .18s var(--ease-out); }
.checkbox-tile input:checked + span{ border-color:var(--brand-blue); background:var(--brand-blue); color:#fff; font-weight:600; }
.checkbox-tile input:focus-visible + span{ outline:2px solid var(--yellow); outline-offset:2px; }

.consent-row{ display:flex; gap:12px; align-items:flex-start; padding:16px 18px; background:#000; border:1px solid var(--line); }
.consent-row input{ margin-top:3px; width:17px; height:17px; accent-color:var(--brand-blue); flex-shrink:0; }
.consent-row label{ font-size:13.5px; color:var(--ink-muted); font-weight:400; line-height:1.5; }
.consent-row a{ color:var(--blue-deep); font-weight:600; text-decoration:underline; }
.consent-row.required label strong{ color:var(--red-soft); font-weight:600; }

.form-note{ margin-top:18px; font-size:12.5px; color:var(--ink-soft); }
.form-status{ margin-top:16px; padding:14px 16px; font-size:14px; display:none; }
.form-status.is-visible{ display:block; }
.form-status.ok{ background:var(--blue-tint); color:#fff; border-left:3px solid var(--brand-blue); }
.form-status.err{ background:var(--red-tint); color:#fff; border-left:3px solid var(--red); }

/* =============================================================
   10. Cookie consent
   ============================================================= */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:500;
  max-width:680px; margin-inline:auto;
  background:#0E0E12; border:1px solid var(--line-strong); border-top:3px solid var(--brand-blue);
  box-shadow:var(--shadow-lg); padding:24px 26px;
  transform:translateY(140%); opacity:0; transition:transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.cookie-banner.is-visible{ transform:none; opacity:1; }
.cookie-banner p{ font-size:13.5px; color:var(--ink-muted); margin:0 0 16px; }
.cookie-banner a{ color:#fff; font-weight:600; text-decoration:underline; }
.cookie-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.cookie-actions .btn{ flex:1 1 auto; }

dialog.cookie-prefs{ border:1px solid var(--line-strong); padding:0; width:min(560px,92vw); box-shadow:var(--shadow-lg); background:#0E0E12; color:var(--ink); }
dialog.cookie-prefs::backdrop{ background:rgba(0,0,0,.7); backdrop-filter:blur(2px); }
.cp-head{ padding:26px 28px 0; }
.cp-head h2{ font-size:24px; }
.cp-head p{ margin-top:8px; color:var(--ink-muted); font-size:13.5px; }
.cp-head a{ color:#fff; text-decoration:underline; }
.cp-body{ padding:18px 28px; display:flex; flex-direction:column; gap:10px; max-height:52vh; overflow-y:auto; }
.cp-cat{ border:1px solid var(--line); padding:16px 18px; }
.cp-cat-head{ display:flex; align-items:center; justify-content:space-between; gap:14px; }
.cp-cat-head strong{ font-size:15px; }
.cp-cat p{ margin:8px 0 0; font-size:13px; color:var(--ink-muted); }
.switch{ position:relative; width:42px; height:24px; flex-shrink:0; }
.switch input{ position:absolute; opacity:0; inset:0; cursor:pointer; z-index:1; }
.switch .track{ position:absolute; inset:0; background:var(--line-strong); border-radius:999px; transition:background .2s var(--ease-out); }
.switch .thumb{ position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50%; transition:transform .2s var(--ease-out); }
.switch input:checked + .track{ background:var(--brand-blue); }
.switch input:checked + .track + .thumb{ transform:translateX(18px); }
.switch input:disabled + .track{ background:var(--brand-blue); opacity:.5; }
.cp-foot{ padding:18px 28px 28px; display:flex; flex-wrap:wrap; gap:10px; border-top:1px solid var(--line); }
.cp-foot .btn{ flex:1 1 auto; }

/* =============================================================
   11. Footer
   ============================================================= */
.site-footer{ background:#000; color:var(--ink-muted); padding:clamp(64px,8vw,104px) 0 32px; border-top:1px solid var(--line); }
.footer-top{ display:grid; grid-template-columns:1fr; gap:44px; padding-bottom:48px; border-bottom:1px solid var(--line); }
.footer-brand p{ margin-top:18px; font-size:15px; max-width:36ch; color:var(--ink-muted); }
.footer-cols{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; }
.footer-col h4{ color:#fff; font-size:13px; font-family:var(--font-body); letter-spacing:.14em; text-transform:uppercase; margin-bottom:18px; font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a, .footer-col li{ font-size:15px; color:var(--ink-muted); transition:color .18s var(--ease-out); }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{ width:42px; height:42px; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; color:#fff; transition:background .2s, border-color .2s; }
.footer-social a:hover{ background:var(--brand-blue); border-color:var(--brand-blue); }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{ padding-top:26px; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; font-size:13px; color:var(--ink-soft); }
.footer-legal{ display:flex; flex-wrap:wrap; gap:18px; }
.footer-legal a, .footer-legal button{ color:var(--ink-soft); font-size:13px; }
.footer-legal a:hover, .footer-legal button:hover{ color:#fff; }

/* =============================================================
   Legal pages / artículos
   ============================================================= */
.legal-doc{ max-width:780px; }
.legal-doc h2{ font-size:clamp(24px,2.4vw,32px); margin-top:52px; margin-bottom:16px; scroll-margin-top:100px; }
.legal-doc h2:first-child{ margin-top:0; }
.legal-doc h3{ font-size:19px; margin-top:28px; margin-bottom:10px; }
.legal-doc p{ margin:0 0 16px; color:var(--ink-muted); font-size:17px; line-height:1.75; }
.legal-doc ul, .legal-doc ol{ margin:0 0 16px; padding-left:22px; list-style:disc; color:var(--ink-muted); font-size:17px; line-height:1.7; }
.legal-doc ol{ list-style:decimal; }
.legal-doc li{ margin-bottom:8px; }
.legal-doc li::marker{ color:var(--yellow); }
.legal-doc strong{ color:var(--ink); }
.legal-doc a{ color:var(--blue-deep); text-decoration:underline; text-underline-offset:3px; }
.legal-doc a:hover{ color:#fff; }
.legal-doc img{ margin:28px 0; }
.legal-doc blockquote{ margin:28px 0; padding:4px 0 4px 22px; border-left:3px solid var(--yellow); font-family:var(--font-display); font-size:22px; color:#fff; }
.legal-doc table{ width:100%; border-collapse:collapse; margin:18px 0; font-size:14px; }
.legal-doc th{ text-align:left; padding:11px 12px; background:var(--paper-raised); font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-muted); }
.legal-doc td{ padding:11px 12px; border-top:1px solid var(--line); color:var(--ink-muted); vertical-align:top; }
.legal-notice{ display:flex; gap:14px; padding:18px 20px; background:var(--yellow-tint); border-left:3px solid var(--yellow); margin-bottom:36px; font-size:14px; color:var(--ink-muted); }
.legal-notice strong{ display:block; margin-bottom:3px; color:#fff; }
.legal-toc{ position:sticky; top:calc(var(--header-h) + 24px); }
.legal-toc a{ display:block; padding:8px 0 8px 12px; font-size:14px; color:var(--ink-muted); border-left:2px solid var(--line); }
.legal-toc a:hover{ color:#fff; border-color:var(--yellow); }
.legal-layout{ display:grid; grid-template-columns:1fr; gap:40px; }
[data-var]{ background:var(--yellow-tint); padding:1px 5px; color:var(--yellow); font-weight:600; }

/* Generic 2-col */
.two-col{ display:grid; grid-template-columns:1fr; gap:48px; align-items:center; }

/* =============================================================
   12. Responsive
   ============================================================= */
@media (min-width:640px){
  .experience-grid, .clients-row{ grid-template-columns:1fr 1fr; }
  .rail{ grid-auto-columns:minmax(280px, 46%); }
  .figures{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:720px){
  .solutions-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(4,1fr); }
  .footer-cols{ grid-template-columns:repeat(3,1fr); }
  .checkbox-tiles{ grid-template-columns:repeat(3,1fr); }
  .method-step{ grid-template-columns:96px 1fr; }
  .cap-row{ grid-template-columns:72px 1.2fr 1fr 32px; }
  .cap-row .cap-desc{ display:block; }
}
@media (min-width:960px){
  .nav-toggle{ display:none; }
  .nav-primary{ display:block; }
  .hero-grid{ grid-template-columns:1.05fr .95fr; }
  .two-col{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1.1fr 2fr; }
  .solutions-grid{ grid-template-columns:repeat(3,1fr); }
  .projects-grid{ grid-template-columns:repeat(2,1fr); }
  .blog-grid{ grid-template-columns:repeat(3,1fr); }
  .legal-layout{ grid-template-columns:240px 1fr; }
  .field-group.cols-2{ grid-template-columns:1fr 1fr; }
  .method-grid{ grid-template-columns:repeat(3,1fr); column-gap:40px; }
  .method-grid .method-step{ grid-template-columns:1fr; gap:14px; border-bottom:0; }
  .method-grid .method-step:last-child{ border-bottom:0; }
  .rail{ grid-auto-columns:calc((100% - 48px) / 4); }
  .slide{ grid-template-columns:1.15fr 1fr; gap:56px; align-items:center; }
  .figures{ grid-template-columns:repeat(4,1fr); }
  .feature-split{ grid-template-columns:1fr 1fr; }
  .feature-split .media{ min-height:560px; }
  .cap-intro{ grid-template-columns:1.3fr 1fr; align-items:end; }
  .hero-home-foot{ grid-template-columns:1.2fr 1fr; }
  .hero-home .hero-actions{ justify-content:flex-end; }
}
@media (max-width:959px){
  .mega{ display:none; }
  .nav-actions .btn{ display:none; }
}

/* =============================================================
   13. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .eco-connector::after{ transition:none; }
  .hero-moon .moon-arc{ animation:none; stroke-dashoffset:0; }
  .hero-home h1 .accent::after{ animation:none; transform:none; }
  .reveal{ transition:none; opacity:1; transform:none; }
  .slide{ transition:none; }
}

/* Ajustes móvil */
@media (max-width:520px){
  .eyebrow span{ letter-spacing:.1em; font-size:11.5px; }
  .hero-home .hero-actions .btn{ flex:1 1 100%; }
  .rail-head{ flex-direction:column; align-items:flex-start; }
  .cta-glow{ height:auto; width:46vw; top:auto; bottom:16px; right:12px; transform:rotate(8deg); box-shadow:inset -14px -12px 0 0 var(--red); opacity:.85; }
}
