:root {
  --orange: #ff6a00;
  --orange-deep: #e85400;
  --ink: #111214;
  --ink-2: #3a3d42;
  --muted: #6b6f76;
  --line: #e4e4e2;
  --paper: #f6f6f6;      /* = fondo del vídeo del androide */
  --hero-bg: #fcfcfc;    /* = fondo del vídeo del robot */
  --radius: 18px;
  --wrap: 1240px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--text); padding: 16px 26px; border-radius: 999px; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,106,0,.7); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid rgba(17,18,20,.18); backdrop-filter: blur(8px); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Logo ---------- */
.logo { position: relative; display: inline-flex; align-items: flex-end; color: var(--ink); }
.logo-word { font: italic 800 30px/1 var(--display); letter-spacing: -1px; }
.logo-swoosh { position: absolute; right: -18px; top: -6px; width: 44px; color: var(--orange); }
.logo-light { color: #fff; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 40; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .35s, padding .35s, box-shadow .35s; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 28px max(24px, calc((100vw - var(--wrap)) / 2)); }
.nav-links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--hero-bg); overflow: hidden; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 72% 55%, rgba(255,106,0,.10), transparent 70%),
    linear-gradient(90deg, rgba(252,252,252,.92) 0%, rgba(252,252,252,.5) 26%, rgba(252,252,252,0) 40%),
    linear-gradient(180deg, rgba(246,246,246,0) 70%, var(--paper) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px 24px 80px; }
.hero-content > * { max-width: 600px; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.2); }
.hero h1 { font: 800 clamp(44px, 6vw, 84px)/.98 var(--display); letter-spacing: -.035em; margin: 28px 0 24px; }
.accent { color: var(--orange); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 500px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.scroll-hint { position: absolute; z-index: 2; bottom: 36px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-bottom: 40px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 30px; background: var(--muted); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font: 600 22px/1 var(--display); color: #b3b5b8; white-space: nowrap; }
.marquee-track i { color: var(--orange); font-style: normal; font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: 130px 24px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px 60px; margin-bottom: 56px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2, .why-head h2 { font: 700 clamp(34px, 4vw, 54px)/1.04 var(--display); letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 420px; justify-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.eyebrow-light { color: rgba(255,255,255,.6); }

/* ---------- Tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17,18,20,.35); }
.card figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.9); transition: transform .6s, filter .4s; }
/* tratamiento unificado: todas las imágenes en monocromo cálido */
.card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,106,0,.55), rgba(17,18,20,.5)); mix-blend-mode: color; transition: opacity .4s; }
.card:hover img { transform: scale(1.06); }
.card-body { position: relative; padding: 22px 22px 24px; }
.num { position: absolute; top: 24px; right: 22px; font: 600 12px var(--display); color: #8a8d92; }
.card h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 8px 0 18px; min-height: 44px; }
.url { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.url b { color: var(--ink); transition: transform .3s, color .3s; }
.card:hover .url b { color: var(--orange); transform: translateX(4px); }

/* ---------- Por qué (sticky + scroll video) ---------- */
.why { position: relative; background: var(--paper); }
.why-sticky { position: relative; display: flex; flex-direction: column; max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 100px; }
.why-head { text-align: center; margin-bottom: 10px; }
.why-head .eyebrow { justify-content: center; margin-bottom: 14px; }
.why-stage { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr) 1fr; align-items: center; gap: 24px; }
.why-video-wrap { position: relative; aspect-ratio: 1 / 1; width: min(100%, calc(100vh - 290px)); min-width: 260px; justify-self: center; }
.why-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 62%, transparent 100%); }
.why-col { display: flex; flex-direction: column; gap: 90px; }
.why-right { text-align: left; }
.why-left { text-align: right; }
.benefit { opacity: .12; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.benefit.is-on { opacity: 1; transform: none; }
.b-num { font: 700 13px var(--display); color: var(--orange); }
.benefit h3 { font: 700 24px/1.15 var(--display); letter-spacing: -.02em; margin: 8px 0 8px; }
.benefit p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.why-progress { width: 160px; height: 2px; background: var(--line); margin: 20px auto 0; }
.why-progress span { display: block; height: 100%; width: 0; background: var(--orange); }

/* ---------- Cifras ---------- */
.stats { max-width: var(--wrap); margin: 0 auto; padding: 60px 24px 130px; display: grid; grid-template-columns: auto auto 1fr; gap: 80px; align-items: end; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 800 96px/1 var(--display); letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: 15px; }
.stats-note { justify-self: end; max-width: 340px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- CTA final ---------- */
.cta { padding: 0 24px 100px; }
.cta-inner { position: relative; max-width: var(--wrap); margin: 0 auto; background: var(--ink); border-radius: 28px; overflow: hidden; min-height: 440px; display: flex; align-items: center; }
.cta-text { position: relative; z-index: 2; padding: 70px; max-width: 640px; }
.cta h2 { font: 800 clamp(34px, 4vw, 54px)/1.04 var(--display); letter-spacing: -.03em; color: #fff; margin: 16px 0 36px; }
.cta-inner::before { content: ""; position: absolute; right: 8%; top: 10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.45), transparent 65%); filter: blur(20px); }
.cta-robot { position: absolute; right: -4%; bottom: -14%; height: 128%; width: auto; max-width: none; object-fit: contain; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 80px max(24px, calc((100vw - var(--wrap)) / 2)) 36px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top p { margin-top: 20px; max-width: 320px; line-height: 1.55; font-size: 15px; }
.footer-links { display: flex; gap: 80px; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14.5px; margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-video { object-position: 78% 20%; }
  .hero-shade { background: linear-gradient(180deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.94) 60%, var(--paper) 100%); }
  .hero-content { padding-bottom: 60px; }
  .lead { font-size: 17px; }
  .scroll-hint { display: none; }
  .section { padding: 90px 16px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .grid { grid-template-columns: 1fr; }
  .why { height: auto; }
  .why-run { display: none; }
  .why-sticky { position: relative; height: auto; }
  .why-stage { grid-template-columns: 1fr; }
  .why-col { gap: 32px; text-align: left !important; }
  .why-video-wrap { order: -1; }
  .benefit { opacity: 1; transform: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-note { grid-column: 1 / -1; justify-self: start; }
  .stat strong { font-size: 64px; }
  .cta-text { padding: 40px 28px 260px; }
  .cta-robot { right: -30%; height: 300px; }
  .footer-top, .footer-links, .footer-bottom { flex-direction: column; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-run { display: none; }
  .why-sticky { position: relative; top: 0; }
  .marquee-track, .scroll-hint::after { animation: none; }
  .benefit { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* Modo captura: sección sticky en su estado final (?preview) */
.is-preview .why { height: auto; }
.is-preview .why-run { display: none; }
.is-preview .why-sticky { position: relative; height: auto; padding: 40px 24px 110px; }
.is-preview .benefit { opacity: 1; transform: none; }
.is-preview .why-progress span { width: 100%; }

/* ==========================================================
   NAV: acciones + menú móvil
   ========================================================== */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-links a[aria-current="page"] { color: var(--ink); position: relative; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--orange); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 50; background: rgba(246,246,246,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: space-between; padding: 120px 24px 40px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a, .mobile-menu nav button { text-align: left; font: 700 40px/1.2 var(--display); letter-spacing: -.03em; transform: translateY(16px); transition: transform .45s; }
.mobile-menu nav button { color: var(--orange); }
.mobile-menu p { color: var(--muted); font-size: 14px; }
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav > * { transform: none; }
.menu-open .nav { position: fixed; z-index: 60; }

/* ==========================================================
   VENTANA DE CONTACTO
   ========================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.modal[aria-hidden="false"] { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,18,20,.28); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); opacity: 0; transition: opacity .4s; }
.modal[aria-hidden="false"] .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: 100%; max-width: 580px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 28px; padding: 48px;
  box-shadow: 0 40px 120px -30px rgba(17,18,20,.45); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.modal[aria-hidden="false"] .modal-panel { opacity: 1; transform: none; }
.modal-open { overflow: hidden; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .2s, transform .3s; }
.modal-close:hover { background: var(--line); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 { font: 700 clamp(28px, 4vw, 36px)/1.08 var(--display); letter-spacing: -.03em; margin: 14px 0 10px; }
.modal-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 30px; }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 15.5px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d93025; background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.check.invalid span { color: #d93025; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #d93025; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; padding: 18px; font-size: 16px; margin-top: 6px; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading .btn-label::after { content: "…"; }
.modal-ok-view { text-align: center; padding: 20px 0 6px; }
.modal-ok-view .modal-sub { margin-bottom: 28px; }
.ok-icon { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; background: rgba(255,106,0,.12); color: var(--orange); display: grid; place-items: center; }
.ok-icon svg { width: 34px; height: 34px; }

/* ==========================================================
   SOBRE NOSOTROS
   ========================================================== */
.page-about { background: #fff; }
.page-about .section { padding-block: 120px; }
.a-hero { max-width: var(--wrap); margin: 0 auto; padding: 150px 24px 100px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.a-hero h1 { font: 800 clamp(42px, 5.4vw, 76px)/1 var(--display); letter-spacing: -.035em; margin: 22px 0 26px; }
.a-meta { display: flex; gap: 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.a-meta dt { font: 800 44px/1 var(--display); letter-spacing: -.04em; }
.a-meta dd { color: var(--muted); font-size: 14px; margin-top: 6px; }
.a-hero-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--hero-grey, #a6a9a8); }
.a-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.a-hero-img figcaption { position: absolute; left: 20px; bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 999px; }

.manifesto { background: var(--ink); color: #fff; padding: 140px max(24px, calc((100vw - var(--wrap)) / 2)); }
.manifesto-text { font: 700 clamp(28px, 3.6vw, 52px)/1.18 var(--display); letter-spacing: -.025em; margin-top: 30px; max-width: 1100px; }
.manifesto-text .mw { transition: color .5s; }
.manifesto-text.is-dim .mw { color: rgba(255,255,255,.16); }
.manifesto-text.is-dim .mw.on { color: #fff; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.duo-card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.duo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s; }
.duo-card:hover img { transform: scale(1.04); }
.duo-grey figure { background: #a6a9a8; }
.duo-white figure { background: var(--paper); }
.duo-body { padding: 32px 34px 38px; }
.duo-body h3, .values h3, .timeline h3 { font: 700 26px/1.15 var(--display); letter-spacing: -.02em; margin: 10px 0; }
.duo-body p, .values p, .timeline p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.b-num { text-transform: uppercase; letter-spacing: .12em; }

.story { background: var(--paper); padding: 130px 24px; }
.story-inner { max-width: var(--wrap); margin: 0 auto; }
.story-head h2, .values-title { font: 700 clamp(34px, 4vw, 54px)/1.04 var(--display); letter-spacing: -.03em; margin-top: 14px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before { content: ""; position: absolute; top: 12px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.timeline li:last-child::before { background: var(--orange); box-shadow: 0 0 0 6px rgba(255,106,0,.18); }
.t-num { font: 700 13px var(--display); color: var(--orange); letter-spacing: .12em; }

.values-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.values-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.values-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; margin-top: 48px; }
.values h3 { font-size: 21px; }
.values p { font-size: 15px; }

.page-about .cta { padding-top: 40px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }

/* ==========================================================
   RESPONSIVE (complementa los bloques de arriba)
   ========================================================== */
@media (max-width: 1100px) {
  .why-col { gap: 60px; }
  .benefit h3 { font-size: 21px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .a-hero { grid-template-columns: 1fr; gap: 50px; padding-top: 130px; }
  .a-hero-img { aspect-ratio: 16 / 11; }
  .values-wrap { grid-template-columns: 1fr; gap: 50px; }
  .values-img { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: auto auto; gap: 50px; }
  .stats-note { grid-column: 1 / -1; justify-self: start; }
  .cta-robot { right: -18%; }
}
@media (max-width: 760px) {
  .nav { padding: 18px 16px; }
  .logo-word { font-size: 26px; }
  .hero { min-height: 100svh; }
  .hero-video { height: 62%; top: 0; }
  .hero-content { padding: 0 16px 56px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); margin: 20px 0 18px; }
  .hero-ctas { margin-top: 28px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .marquee-track { font-size: 18px; gap: 26px; }
  .section-head { margin-bottom: 36px; }
  .why-sticky { padding: 90px 16px; }
  .why-head { text-align: left; margin-bottom: 20px; }
  .why-head .eyebrow { justify-content: flex-start; }
  .why-video-wrap { max-width: 420px; margin: 0 auto; width: 100%; min-width: 0; }
  .why-progress { display: none; }
  .stats { padding: 50px 16px 90px; }
  .cta { padding: 0 16px 70px; }
  .cta-inner { min-height: 0; align-items: flex-start; }
  .cta-text { padding: 44px 28px 300px; }
  .cta-robot { right: 50%; transform: translateX(50%); height: 320px; bottom: -40px; }
  .cta-inner::before { right: 50%; transform: translateX(50%); top: auto; bottom: 0; width: 360px; height: 360px; }
  .footer { padding: 60px 16px 30px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { gap: 12px; }

  .modal { padding: 0; place-items: end center; }
  .modal-panel { max-width: none; max-height: 92vh; border-radius: 26px 26px 0 0; padding: 36px 20px 28px; transform: translateY(100%); }
  .modal-close { top: 14px; right: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; } /* evita zoom en iOS */

  .a-hero { padding: 110px 16px 70px; gap: 40px; }
  .a-meta { gap: 28px; }
  .a-meta dt { font-size: 34px; }
  .a-hero-img { aspect-ratio: 4 / 4.4; border-radius: 22px; }
  .manifesto { padding: 90px 16px; }
  .duo { grid-template-columns: 1fr; }
  .duo-body { padding: 26px 22px 30px; }
  .story { padding: 90px 16px; }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .timeline::before { display: block; top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 36px 40px; }
  .timeline li::before { top: 2px; }
  .values { grid-template-columns: 1fr; gap: 30px; }
  .values-img { aspect-ratio: 1 / 1; }
  .page-about .section { padding-block: 80px; }
}

/* ---------- Ajustes móvil de la home ---------- */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; padding-top: 0; }
  .hero-video { position: relative; inset: auto; width: 100%; height: 58svh; min-height: 380px; object-position: 76% 18%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-shade { display: none; }
  .hero-content { margin-top: -40px; padding: 0 16px 64px; }

  /* beneficios en orden 01-04, vídeo arriba */
  .why-col { display: contents; }
  .why-stage { gap: 28px; }
  .benefit[data-step="0"] { order: 1; } .benefit[data-step="1"] { order: 2; }
  .benefit[data-step="2"] { order: 3; } .benefit[data-step="3"] { order: 4; }

  /* tarjetas en carrusel deslizable */
  .grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .grid::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card:hover { transform: none; }
}


/* ==========================================================
   CAPA PREMIUM: menú cristal, animaciones, reproductor, footer
   ========================================================== */

/* ---------- Menú fijo con efecto cristal ---------- */
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(17,18,20,.06), 0 10px 30px -20px rgba(17,18,20,.25); }
.nav.is-hidden { transform: translateY(-110%); }
.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
section[id] { scroll-margin-top: 80px; }
#proyectos { padding-bottom: 40px; }
@media (max-width: 760px) { #proyectos { padding-bottom: 20px; } }

/* ---------- Accesibilidad ---------- */
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform .25s; }
.skip-link:focus { transform: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .menu-toggle:focus-visible, .modal-close:focus-visible { border-radius: 999px; }
.card:focus-visible { border-radius: var(--radius); outline-offset: 4px; }
[tabindex="-1"]:focus-visible { outline: none; }
.stat strong, .a-meta dt { font-variant-numeric: tabular-nums; }

/* ---------- Transición entre páginas ---------- */
body { animation: page-in .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes page-in { from { opacity: 0; } }
.is-leaving body { opacity: 0; transition: opacity .28s ease; }

/* ---------- Entrada del hero ---------- */
.hero-video { opacity: 0; transform: scale(1.03); transition: opacity 1.6s ease .2s, transform 2.4s cubic-bezier(.2,.8,.2,1) .2s; }
.is-loaded .hero-video { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 55ms + 120ms); }
.is-intro [data-split] .w > span { transform: none; }
.js [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.js [data-hero="1"] { transition-delay: .05s; }
.js [data-hero="2"] { transition-delay: .55s; }
.js [data-hero="3"] { transition-delay: .72s; }
.is-intro [data-hero] { opacity: 1; transform: none; }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .cta-inner[data-reveal] { transform: translateY(34px) scale(.98); }
.js .cta-inner[data-reveal].is-in { transform: none; }
.js .footer[data-reveal] { transform: none; transition: opacity 1.2s ease; }

/* ---------- Tarjetas: recuperan el color al pasar el ratón ---------- */
.card img { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.card figure::after { transition: opacity .6s ease; }
@media (hover: hover) {
  .card:hover img { filter: none; }
  .card:hover figure::after { opacity: 0; }
}
/* tras su entrada, la tarjeta vuelve a su transición normal de hover */
.js [data-stagger].is-in > .card { transition: opacity 1s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s; }

/* ---------- Cinta de servicios con bordes difuminados ---------- */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* ---------- KOMUL gigante en el footer ---------- */
.footer-mark { font: italic 800 clamp(90px, 22vw, 330px)/.78 var(--display); letter-spacing: -.055em; text-align: center; white-space: nowrap; overflow: hidden;
  margin: 70px -10px 0; padding: 0 10px .06em; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.03) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 10px; }
.footer-top { border-bottom: 0; padding-bottom: 0; }

/* ---------- Reproductor de vídeo ---------- */
.modal-video { padding: 40px; }
.modal-video .modal-backdrop { background: rgba(10,10,12,.72); }
.video-frame { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 50px 140px -30px rgba(0,0,0,.7); opacity: 0; transform: scale(.94); transition: opacity .4s, transform .6s cubic-bezier(.2,.8,.2,1); }
.modal-video[aria-hidden="false"] .video-frame { opacity: 1; transform: none; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.modal-close-light { position: fixed; top: 22px; right: 22px; background: rgba(255,255,255,.14); color: #fff; }
.modal-close-light:hover { background: rgba(255,255,255,.26); }
button.btn { cursor: pointer; }

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  .nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .hero-video { object-position: 50% 12%; }
  .footer-mark { margin-top: 50px; }
  .modal-video { padding: 16px; place-items: center; }
  .video-frame { border-radius: 14px; }
  .modal-video .modal-panel { display: none; }
}

/* ---------- Sin animaciones (captura o preferencia del usuario) ---------- */
.is-preview body { animation: none; }
.is-preview .hero-video, .is-preview [data-hero], .is-preview [data-reveal], .is-preview [data-stagger] > *, .is-preview [data-split] .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-preview .nav { position: absolute; }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .hero-video, [data-hero], [data-reveal], [data-stagger] > *, [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   PÁGINAS LEGALES
   ========================================================== */
.page-legal { background: #fff; }
.legal { max-width: var(--wrap); margin: 0 auto; padding: 150px 24px 120px; }
.legal-head { max-width: 820px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font: 800 clamp(42px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.035em; margin: 20px 0 22px; }
.legal-intro { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.legal-date { margin-top: 18px; font-size: 13px; color: var(--muted); }
.legal-tabs { display: inline-flex; gap: 4px; margin-top: 34px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); flex-wrap: wrap; }
.legal-tabs a { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; padding-top: 64px; }
.legal-toc { position: sticky; top: 110px; align-self: start; }
.legal-toc p { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.legal-toc ol { list-style: none; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--ink); border-left-color: var(--orange); font-weight: 600; }

.legal-body { max-width: 720px; }
.legal-sec { padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-sec h2 { display: flex; align-items: baseline; gap: 16px; font: 700 clamp(24px, 2.6vw, 30px)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 20px; }
.legal-n { font: 700 13px var(--display); color: var(--orange); letter-spacing: .1em; flex: none; }
.legal-sec p, .legal-sec li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal-sec p + p, .legal-sec p + ul, .legal-sec ul + p { margin-top: 16px; }
.legal-sec ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-sec li { position: relative; padding-left: 22px; }
.legal-sec li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal-sec strong { color: var(--ink); font-weight: 600; }
.legal-sec a, .form-legal a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,106,0,.6); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.legal-sec a:hover { text-decoration-color: var(--orange); }

.legal-data { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.legal-data div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.legal-data div:last-child { border-bottom: 0; }
.legal-data dt { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.legal-data dd { font-size: 16px; color: var(--ink); }
.legal-callout { padding: 22px 24px; border-radius: 18px; background: rgba(255,106,0,.07); border: 1px solid rgba(255,106,0,.25); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 18px; }

/* Huecos que tiene que rellenar el titular: muy visibles a propósito */
mark.ph { background: #fff1a8; color: #5c4a00; padding: 1px 6px; border-radius: 6px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.footer-legal a:hover { color: #fff; }
.form-legal { font-size: 12px; line-height: 1.5; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.form-legal strong { color: var(--ink-2); }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .legal-toc { display: none; }
}
@media (max-width: 760px) {
  .legal { padding: 110px 16px 80px; }
  .legal-intro { font-size: 17px; }
  .legal-tabs { display: flex; width: 100%; }
  .legal-tabs a { flex: 1; text-align: center; padding: 10px 8px; font-size: 13px; }
  .legal-sec { padding-bottom: 40px; margin-bottom: 40px; }
  .legal-sec p, .legal-sec li { font-size: 16px; }
  .legal-data div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* ---------- Tarjeta de recomendación (afiliado) ---------- */
.rec { max-width: var(--wrap); margin: 0 auto 100px; width: calc(100% - 48px); display: grid; grid-template-columns: 1.15fr .85fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.rec-text { padding: 56px 56px 48px; }
.rec-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rec-tag i { font-style: normal; color: #c4c6c9; }
.rec h2 { font: 700 clamp(28px, 3vw, 40px)/1.08 var(--display); letter-spacing: -.03em; margin: 18px 0 14px; max-width: 520px; }
.rec-text > p { color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 480px; }
.rec-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.rec-pills li { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 9px 14px 9px 30px; border-radius: 999px; background: var(--paper); position: relative; }
.rec-pills li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--orange); }
.rec-note { margin-top: 18px; font-size: 12.5px !important; color: #8a8d92 !important; }

.rec-visual { position: relative; background: #fff; overflow: hidden; min-height: 380px; }
.rec-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.rec:hover .rec-visual img { transform: scale(1.04); }
.rec-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 10px 30px -16px rgba(17,18,20,.35);
  font-size: 13px; font-weight: 600; color: var(--ink); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,113,.55); } 70% { box-shadow: 0 0 0 10px rgba(47,191,113,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0); } }

@media (max-width: 900px) {
  .rec { grid-template-columns: 1fr; }
  .rec-visual { min-height: 300px; order: -1; }
}
@media (max-width: 760px) {
  .rec { width: calc(100% - 32px); margin-bottom: 70px; border-radius: 22px; }
  .rec-text { padding: 32px 24px 30px; }
  .rec .btn { width: 100%; justify-content: center; }
  .rec-badge { left: 16px; bottom: 16px; font-size: 12px; }

}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
