/* =========================================================
   OnRecambio · home pública · módulo onrecambio_web
   ========================================================= */
:root{
  --navy:#0f1a2b;
  --navy-2:#16243a;
  --accent:#2563eb;      /* botones y acciones */
  --accent-hover:#1d4fc4;
    --ink:#101828;
  --ink-2:#344054;
  --muted:#667085;
  --muted-2:#98a2b3;
  --line:#e4e7ec;
  --field:#d0d5dd;
  --bg:#ffffff;
  --bg-soft:#f4f6f9;
  --ok:#067647;
  --ok-dot:#12b76a;
  --radius:10px;
  --header-h:88px;
  --gutter:120px;
  --font-body:"IBM Plex Sans","Segoe UI",system-ui,-apple-system,sans-serif;
  --font-display:"Barlow","IBM Plex Sans",system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-h) + 8px);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--font-display);letter-spacing:-.01em;margin:0;line-height:1.1}
p{margin:0}
button,input{font:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wrap{width:100%;max-width:1440px;margin:0 auto;padding-inline:var(--gutter)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Botones ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--radius);font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.btn--primary{background:var(--accent);color:#fff}
.btn--primary:hover{background:var(--accent-hover)}
.btn--dark{background:var(--navy);color:#fff}
.btn--dark:hover{background:var(--navy-2)}
.btn--ghost{background:var(--bg-soft);color:var(--navy);border:1px solid var(--field)}
.btn--ghost:hover{border-color:var(--muted)}
.btn--lg{height:54px;padding:0 30px;font-size:17px}
.btn--md{height:48px;padding:0 22px;font-size:15px}
.btn--sm{height:40px;padding:0 14px;font-size:14px}

/* ---------- Header (componente público, sticky) ---------- */
.hdr{position:sticky;top:0;z-index:50;position:-webkit-sticky;position:sticky;background:var(--bg);border-bottom:1px solid var(--line);transition:box-shadow .2s}
.hdr.is-stuck{box-shadow:0 2px 10px rgba(16,24,40,.08)}
.hdr__in{max-width:none;padding-inline:32px;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:24px}
.hdr__left{display:flex;align-items:center;gap:40px;min-width:0}
.logo{display:inline-flex;align-items:center;height:34px;flex-shrink:0}
.logo svg{height:34px;width:auto}
.nav{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:500;color:var(--ink-2)}
.nav a:hover{color:var(--accent)}
.nav__cta{color:var(--accent);font-weight:600}
.nav__cta:hover{color:var(--accent-hover);text-decoration:underline;text-underline-offset:4px}
.hdr__right{display:flex;align-items:center;gap:16px;flex-shrink:0}

/* Tarjeta de acceso (≥1200 px) */
.login{display:flex;flex-direction:column;gap:6px;padding:8px 12px;background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px rgba(16,24,40,.05)}
.login__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.login__title{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.login__forgot{font-size:12px;color:var(--muted)}
.login__forgot:hover{color:var(--accent)}
.login__row{display:flex;align-items:center;gap:8px}
.field{height:38px;padding:0 12px;border:1px solid var(--field);border-radius:8px;background:#fff;color:var(--ink);font-size:14px;min-width:0}
.field::placeholder{color:#8a94a6}
.field:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.login__row .field--email{width:180px}
.login__row .field--pass{width:150px}
.login__row .btn{height:38px;padding:0 16px;font-size:14px}

/* Menú hamburguesa (<1200 px) */
.burger{display:none;width:44px;height:44px;border:0;background:transparent;color:var(--navy);align-items:center;justify-content:center;cursor:pointer;border-radius:8px}
.burger:hover{background:var(--bg-soft)}
.burger .ico-close{display:none}
.burger[aria-expanded="true"] .ico-open{display:none}
.burger[aria-expanded="true"] .ico-close{display:block}
.mmenu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(16,24,40,.10);padding:8px 16px 20px;flex-direction:column;gap:4px}
.mmenu.is-open{display:flex}
.mmenu__link{display:flex;align-items:center;min-height:48px;font-size:17px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line)}
.mmenu__link:hover{color:var(--accent)}
.mmenu .btn{width:100%;height:52px;font-size:17px}
.mmenu .btn--primary{margin-top:16px}
.btn--outline{background:#fff;color:var(--navy);border:1px solid var(--navy)}
.btn--outline:hover{background:var(--bg-soft)}
.mmenu .btn--outline{margin-top:10px}

/* ---------- Hero ---------- */
.hero{background:var(--navy);color:#fff}
.hero__in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:72px;padding-block:64px}
.hero__copy{display:flex;flex-direction:column;gap:26px;max-width:600px}
.hero h1{font-size:62px;line-height:1.04;font-weight:800;color:#fff}
.hero h1 em{font-style:normal;color:#8ab4ff}
.hero__sub{font-size:20px;color:#c7cfdb;max-width:540px}
.hero__cta{align-self:flex-start}
.hero__note{display:flex;align-items:center;gap:8px;font-size:14px;color:#9aa6b8}

/* Mock de la plataforma */
.hero .vid{max-width:520px;justify-self:end}
.mock{width:100%;min-width:0;background:#fff;color:var(--ink);padding:22px;display:flex;flex-direction:column;gap:16px}
.mock__search{display:flex;gap:8px}
.mock__input{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border:1px solid var(--field);border-radius:var(--radius)}
.mock__input input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;font-weight:600;letter-spacing:.04em;color:var(--ink)}
.mock__search .btn{height:48px;padding:0 20px;font-size:15px}
.mock__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;font-size:13px;color:var(--muted)}
.mock__meta b{color:var(--ink);font-weight:600}
.mock__list{display:flex;flex-direction:column;gap:8px}
.row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius)}
.row__who{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.row__name{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row__name svg{flex-shrink:0}
.row__sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row__stock{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ok);white-space:nowrap}
.row__stock::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok-dot)}
.row .btn{height:34px;padding:0 14px;font-size:13px}
.mock__lock{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}


/* ---------- Vídeos de la plataforma (huecos preparados) ----------
   Cada hueco carga media/<nombre>.mp4 (silencioso, en bucle) cuando entra en pantalla.
   Hasta que exista el fichero se muestra la imagen/maqueta de espera. */
.vid{position:relative;width:100%;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 24px 48px rgba(0,0,0,.30)}
.vid video{display:none;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#0f1a2b}
.vid.has-video video{display:block}
.vid.has-video .vid__ph,.vid.has-video .mock{display:none}
.ph{aspect-ratio:16/9;display:flex;flex-direction:column;background:#f6f7f9}
.ph__bar{display:flex;align-items:center;gap:8px;height:36px;padding:0 14px;background:#fff;border-bottom:1px solid var(--line)}
.ph__bar i{width:10px;height:10px;border-radius:50%;background:#d0d5dd}
.ph__url{margin-left:8px;flex:1;height:18px;border-radius:9px;background:#eef0f3;font-size:11px;color:var(--muted);display:flex;align-items:center;padding:0 10px}
.ph__body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}
.ph__play{width:56px;height:56px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center}
.ph__title{font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--ink)}
.ph__note{font-size:12px;color:var(--muted)}

/* ---------- Funciones con vídeo (filas alternas) ---------- */
.feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;padding-block:64px}
.feat+.feat{border-top:1px solid var(--line)}
.feat--rev .feat__text{order:2}
.feat__text{display:flex;flex-direction:column;gap:14px;max-width:480px}
.feat__text h2{font-size:32px;font-weight:700}
.feat__text p{font-size:17px;line-height:1.55;color:#475467}
.feat__text .btn{align-self:flex-start;margin-top:4px}
.btn--outline{background:#fff;color:var(--navy);border:1px solid var(--navy)} .btn--outline:hover{background:var(--bg-soft)}
.feat .vid{box-shadow:0 12px 32px rgba(16,24,40,.12);border:1px solid var(--line)}

/* ---------- Busca una referencia ---------- */
.try{background:var(--bg-soft);border-bottom:1px solid var(--line)}
.try__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px;padding-block:36px}
.try__text{display:flex;flex-direction:column;gap:6px}
.try__text h2{font-size:24px;font-weight:700}
.try__text p{font-size:15px;color:var(--muted)}
.try__form{display:flex;gap:8px}
.try__form .field{flex:1;height:50px;font-size:16px}
.try__form .btn{height:50px;padding:0 22px}

/* ---------- Una red para ---------- */
.who{border-bottom:1px solid var(--line)}
.who__in{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:24px}
.who__label{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.who__list{display:flex;flex-wrap:wrap;align-items:center;gap:16px 40px;font-size:16px;font-weight:600}
.who__list span{display:inline-flex;align-items:center;gap:10px}
.who__list svg{width:22px;height:22px;flex-shrink:0}

/* ---------- Tres funciones ---------- */
.fn__in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;padding-block:72px 64px}
.fn__item{display:flex;flex-direction:column;gap:12px;padding-top:20px;border-top:2px solid var(--navy)}
.fn__item--accent{border-top-color:var(--accent)}
.fn__item svg{width:28px;height:28px}
.fn__item h3{font-size:24px;font-weight:700}
.fn__item p{font-size:16px;color:#475467}

/* ---------- Cómo funciona ---------- */
.how{background:var(--bg-soft)}
.how__in{display:flex;flex-direction:column;gap:36px;padding-block:64px}
.how h2{font-size:36px;font-weight:700}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.step{display:flex;gap:16px}
.step__n{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-family:var(--font-display);font-weight:800;font-size:17px}
.step--accent .step__n{background:var(--accent)}
.step__t{display:flex;flex-direction:column;gap:6px}
.step__t strong{font-family:var(--font-display);font-weight:700;font-size:21px}
.step__t span{font-size:15px;color:#475467}

/* ---------- CTA final ---------- */
.cta{background:var(--navy);color:#fff}
.cta__in{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding-block:80px}
.cta h2{font-size:40px;font-weight:700;max-width:720px;color:#fff}
.cta__small{font-size:14px;color:#9aa6b8}

/* ---------- Footer ---------- */
.ftr{border-top:1px solid var(--line)}
.ftr__in{display:flex;flex-direction:column;gap:18px;padding-block:32px}
.ftr__top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.ftr__nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;font-size:14px;color:#475467}
.ftr__nav a:hover{color:var(--accent)}
.ftr__copy{font-size:13px;color:var(--muted)}
.ftr .logo{height:28px}.ftr .logo svg{height:28px}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1439px){ :root{--gutter:64px} }

/* 1024–1199: tablet horizontal. Menú visible, tarjeta → botón Acceder */
@media (max-width:1199px){
  :root{--header-h:72px;--gutter:40px}
  .login{display:none}
  .nav{display:none}
  .burger{display:inline-flex}
  .hero__in{gap:32px;padding-block:56px}
  .hero h1{font-size:46px}
  .hero__sub{font-size:17px}
  .mock{padding:18px}
  .row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:4px}
  .row__who{grid-column:1;grid-row:1}
  .row__stock{grid-column:1;grid-row:2}
  .row .btn{grid-column:2;grid-row:1/3}
  .who__list{gap:14px 22px;font-size:14px}
  .fn__in{gap:32px;padding-block:56px 48px}
}

/* 768–1023: tablet vertical. Hero apilado */
@media (max-width:1023px){
  :root{--gutter:32px}
  .hdr__in{padding-inline:24px}
  .hero__in{grid-template-columns:minmax(0,1fr);padding-block:48px}
  .hero__copy{max-width:640px}
  .hero h1{font-size:48px}
  .hero__sub{font-size:18px}
  .hero .vid{justify-self:start;max-width:640px}
  .who__in{flex-direction:column;align-items:flex-start;gap:16px;min-height:0;padding-block:28px}
  .who__list{gap:14px 28px;font-size:15px}
  .fn__in{gap:24px;padding-block:48px 40px}
  .fn__item h3{font-size:21px}
  .steps{grid-template-columns:1fr;gap:22px}
  .try__in{grid-template-columns:minmax(0,1fr);gap:16px;padding-block:28px}
  .feat{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:44px}
  .feat--rev .feat__text{order:0}
  .feat__text{max-width:640px}
  .feat__text h2{font-size:28px}
  .cta h2{font-size:34px;max-width:600px}
  .cta__in{padding-block:56px}
  .ftr__top{flex-direction:column;align-items:flex-start;gap:16px}
}

/* <768: móvil. Solo logo · Acceder · Crear cuenta */
@media (max-width:767px){
  :root{--header-h:60px;--gutter:20px}
  .hdr__in{gap:8px;padding-inline:16px}
  .hdr__left{gap:0;flex-shrink:0}
  .logo,.logo svg{height:26px}
  .hdr__right{gap:6px}
  .logo{flex-shrink:0}
  .hero__in{padding-block:40px 32px;gap:24px}
  .hero__copy{gap:20px}
  .hero h1{font-size:40px;line-height:1.06}
  .hero__sub{font-size:17px}
  .hero__cta{align-self:stretch;width:100%}
  .hero__note{font-size:13px}
  .mock{padding:14px;gap:12px}
  .hero .vid{box-shadow:0 16px 32px rgba(0,0,0,.25)}
  .mock__input{height:44px;padding:0 12px;gap:8px}
  .mock__input input{font-size:15px}
  .mock__search .btn{height:44px;padding:0 14px;font-size:14px}
  .mock__meta{font-size:12px}
  .row{gap:10px;padding:10px 12px}
  .row__name{font-size:13px;white-space:normal;flex-wrap:wrap}
  .row__sub{display:none}
  .row__stock{font-size:12px}
  .row .btn{height:32px;padding:0 12px;font-size:12px}
  .mock__lock{font-size:11px}
  .who__list{font-size:15px;gap:8px 18px}
  .who__list svg{display:none}
  .fn__in{grid-template-columns:1fr;gap:24px;padding-block:40px 32px}
  .fn__item{flex-direction:row;gap:14px;padding-top:14px}
  .fn__item svg{width:26px;height:26px;flex-shrink:0}
  .fn__item h3{font-size:21px}
  .fn__item p{font-size:15px}
  .feat{padding-block:36px;gap:18px}
  .feat__text h2{font-size:24px}
  .feat__text p{font-size:15px}
  .feat__text .btn{align-self:stretch}
  .ph__title{font-size:15px}
  .ph__play{width:44px;height:44px}
  .vid{border-radius:14px}
  .try__form{flex-direction:column}
  .try__form .btn{width:100%}
  .try__text h2{font-size:21px}
  .how__in{gap:22px;padding-block:36px}
  .how h2{font-size:28px}
  .step__n{width:36px;height:36px;font-size:16px}
  .step__t strong{font-size:19px}
  .step__t span{font-size:14px}
  .cta__in{padding-block:48px;gap:18px}
  .cta h2{font-size:30px}
  .cta .btn{width:100%}
  .cta__small{font-size:13px}
  .ftr__in{padding-block:28px 24px;gap:16px}
  .ftr__nav{gap:10px 20px}
}

/* ≤430 y ≤360: afinado de móviles grandes y pequeños */
@media (max-width:430px){
  .row{column-gap:10px}
}
@media (max-width:360px){
  :root{--gutter:16px}
  .hero h1{font-size:36px}
  .logo,.logo svg{height:22px}
}

@media (prefers-reduced-motion:reduce){ *{transition:none!important} }

/* ---------- Botón "Ir a la plataforma" (visitante con sesión) ---------- */
.hdr__go{height:44px;padding:0 20px;font-size:15px}

/* ---------- Páginas de texto (legales) ---------- */
.page__in{max-width:860px;padding-block:56px 72px}
.page h1{font-size:40px;font-weight:800;margin-bottom:24px}
.page__body{font-size:16px;line-height:1.7;color:var(--ink-2)}
.page__body h2{font-size:24px;margin:32px 0 12px;color:var(--ink)}
.page__body h3{font-size:19px;margin:24px 0 8px;color:var(--ink)}
.page__body p{margin:0 0 14px}
.page__body ul,.page__body ol{margin:0 0 14px;padding-left:22px}
.page__body li{margin-bottom:6px}
.page__body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.page__body table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.page__body th,.page__body td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.page__upd{margin-top:32px;font-size:13px;color:var(--muted)}

/* ---------- Contacto ---------- */
.contact__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:56px;padding-block:56px 72px;align-items:start}
.contact__text{display:flex;flex-direction:column;gap:14px}
.contact__text h1{font-size:40px;font-weight:800}
.contact__text p{font-size:17px;color:#475467}
.contact__mail{font-weight:600;color:var(--accent)}
.cform{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:24px;background:var(--bg-soft);border:1px solid var(--line);border-radius:14px}
.cform__f{display:flex;flex-direction:column;gap:6px}
.cform__f--full{grid-column:1/-1}
.cform label{font-size:13px;font-weight:600;color:var(--ink-2)}
.cform .field{height:46px;font-size:15px;width:100%}
.cform textarea.field{height:140px;padding:10px 12px;resize:vertical;font-family:inherit;line-height:1.5}
.cform label.cform__check{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--ink-2);font-weight:400}
.cform__check input{margin-top:3px;width:16px;height:16px;flex-shrink:0}
.cform__check a{color:var(--accent);text-decoration:underline}
.cform .btn{grid-column:1/-1;height:50px;font-size:16px}
.cform__miel{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.alert{grid-column:1/-1;padding:12px 14px;border-radius:10px;font-size:14px}
.alert--ok{background:#ecfdf3;border:1px solid #abefc6;color:#067647}
.alert--err{background:#fef3f2;border:1px solid #fecdca;color:#b42318}
.alert ul{margin:0;padding-left:18px}
@media (max-width:1023px){
  .contact__in{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:40px 56px}
}
@media (max-width:767px){
  .page__in{padding-block:32px 48px}
  .page h1,.contact__text h1{font-size:30px}
  .cform{grid-template-columns:minmax(0,1fr);padding:16px}
}

@media (max-width:1199px){ .hdr__go{display:none} }

/* ---------- 1.0.4: acceso dentro del menú móvil y avisos ---------- */
.mlogin{display:flex;flex-direction:column;gap:10px;margin-top:12px;padding:14px;background:var(--bg-soft);border:1px solid var(--line);border-radius:12px}
.mlogin[hidden]{display:none}
.mlogin .field{height:50px;font-size:16px;width:100%}
.mmenu .mlogin .btn{margin-top:0}
.mlogin__forgot{align-self:center;font-size:14px;color:var(--muted);padding:4px}
.flash{background:#fff;overflow:hidden}
.flash .wrap{padding-block:12px 4px}
.mlogin .flash__m{margin:0;font-size:14px}
.flash__m{margin:0 0 8px;padding:12px 14px;border-radius:10px;font-size:15px;border:1px solid var(--line);background:var(--bg-soft);color:var(--ink)}
.flash__m--danger{background:#fef3f2;border-color:#fecdca;color:#b42318}
.flash__m--warning{background:#fffaeb;border-color:#fedf89;color:#93370d}
.flash__m--success{background:#ecfdf3;border-color:#abefc6;color:#067647}
.onr-web-home .flash{background:var(--navy)}

/* 1.0.5 — avisos de acceso (bloqueado, datos incorrectos…): banda centrada y bien visible */
.flash{padding:0}
.flash .wrap{padding-top:18px;padding-bottom:6px}
.flash .flash__m--warning,.flash .flash__m--danger{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 12px;max-width:760px;padding:18px 22px;border-radius:14px;border:2px solid #B42318;background:#B42318;color:#fff;font-size:18px;font-weight:700;line-height:1.35;text-align:center;box-shadow:0 10px 30px rgba(180,35,24,.35)}
.flash .flash__m--warning:before,.flash .flash__m--danger:before{content:"";flex:none;width:26px;height:26px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E")}
.flash .flash__m--success{max-width:760px;margin:0 auto 12px;text-align:center;font-size:16px;font-weight:600;padding:14px 18px}
@media (max-width:640px){.flash .flash__m--warning,.flash .flash__m--danger{font-size:16px;padding:15px 16px;flex-direction:column;gap:8px}}

/* =========================================================
   1.1.0 — Home nueva: cabecera con botones, demo del buscador, diferencias,
   funciones con dibujos de la plataforma, pasos, preguntas y llamada final.
   ========================================================= */
.hdr__acc{display:flex;align-items:center;gap:10px}
.hdr__acc .btn{height:42px;padding:0 18px;font-size:15px}
.hdr__acc .btn--outline{border-width:1.5px}
@media (max-width:767px){.hdr__acc{display:none}}

/* Portada */
.h-hero{background-color:var(--navy);background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:40px 40px}
.h-hero .hero__in{padding-block:80px 88px}
.h-pill{align-self:flex-start;padding:6px 12px;border-radius:999px;background:rgba(253,176,34,.14);color:#FDB022;font-size:13px;font-weight:600}
.h-ctas{display:flex;flex-wrap:wrap;gap:12px}
.h-btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.4)}
.h-btn-ghost:hover{border-color:#fff}
.h-hero .hero__note{color:#94a3b8}
.h-demo{max-width:560px;justify-self:end;background:#fff;border-radius:16px}
.h-demo__in{gap:14px}
.h-demo__top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.h-kicker{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.h-demo__note{font-size:12px;color:var(--muted)}
.h-demo__search{display:flex;gap:8px}
.h-demo__search input{flex:1;min-width:0;height:48px;padding:0 14px;border:2px solid var(--navy);border-radius:8px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:16px;font-weight:600;color:var(--ink);outline:0}
.h-demo__search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.h-demo__search .btn{height:48px;padding:0 20px;font-size:15px}
.h-demo__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:13px;color:#475569}
.h-demo__meta b{color:var(--ink)}
.h-demo__lock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:8px;background:#FFF8E6;font-size:13px;color:#78350F}
.h-demo__lock .btn{flex-shrink:0;height:36px;font-size:13px;font-weight:700}

/* Hoja tipo Excel (demo y dibujos) */
.h-sheet{border:1.5px solid var(--navy);border-radius:8px;overflow:hidden;font-size:13px;background:#fff;color:var(--ink)}
.h-sheet__row{display:grid;grid-template-columns:1.6fr 1fr .8fr 1fr;align-items:center;border-top:1px solid #cbd5e1}
.h-sheet__row>span{padding:9px 10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h-sheet__row>span small{display:block;font-size:12px;color:var(--muted)}
.h-sheet__row:nth-child(odd):not(.h-sheet__head){background:#fafbfd}
.h-sheet__head{border-top:0;background:#e8ecf2;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.h-sheet__bar+.h-sheet__head{border-top:0}
.h-sheet--wide .h-sheet__row{grid-template-columns:1.4fr 1.2fr .9fr .5fr}
.h-sheet__row--3{grid-template-columns:40px 1.4fr 1fr !important}
.h-sheet__bar{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;background:var(--navy);color:#fff;font-size:13px}
.h-sheet__bar--light{background:#e8ecf2;color:var(--ink);font-weight:700}
.h-sheet__bar+.h-sheet__row{border-top:0}
.h-val{font-style:normal;color:#12a150;display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
.h-val svg{display:inline}
.h-stock{color:#12a150;font-weight:600}
.h-blur{display:inline-block;height:12px;border-radius:4px;background:#cbd5e1;vertical-align:middle}
.h-mono{font-family:"IBM Plex Mono",ui-monospace,monospace}
.h-amber{color:#FDB022}.h-blue{color:var(--accent)}.h-green{color:#12a150}.h-dim{color:#94a3b8}

/* Diferencias */
.h-diff{background:var(--bg-soft);border-bottom:1px solid var(--line)}
.h-diff__in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.h-diff__i{display:flex;gap:14px;align-items:flex-start;padding:30px 24px;border-right:1px solid var(--line)}
.h-diff__i:first-child{padding-left:0}.h-diff__i:last-child{border-right:0}
.h-ico{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--navy);color:#FDB022;display:inline-flex;align-items:center;justify-content:center}
.h-ico svg{width:20px;height:20px}
.h-diff h3{font-size:20px;font-weight:700}
.h-diff p{font-size:14px;color:#475569;margin-top:2px}

/* Una red para */
.h-who{border-bottom:1px solid var(--line)}
.h-who__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 30px;padding-block:28px;font-size:15px;font-weight:600;color:#334155}
.h-who__label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Funciones */
.h-feats{display:flex;flex-direction:column;gap:88px;padding-block:72px 16px}
.h-head{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.h-head h2{font-size:44px;font-weight:700}
.h-feat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:72px;align-items:center}
.h-feat--rev .h-feat__txt{order:2}
.h-feat__txt{display:flex;flex-direction:column;gap:16px;max-width:520px}
.h-num{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13px;font-weight:600;color:var(--accent);text-transform:uppercase}
.h-feat__txt h3{font-size:36px;font-weight:700}
.h-feat__txt p{font-size:17px;line-height:1.6;color:#475569}
.h-link{align-self:flex-start;font-size:16px;font-weight:600;color:var(--accent)}
.h-link:hover{text-decoration:underline;text-underline-offset:4px}
.h-art{background:var(--bg-soft);box-shadow:none;border:0}
.h-art__in{padding:28px;display:flex;flex-direction:column;gap:14px}
.h-plate-row{display:flex;gap:12px;align-items:stretch}
.h-plate{display:flex;border:2px solid var(--navy);border-radius:8px;overflow:hidden;background:#fff}
.h-plate i{width:30px;background:#1D4ED8;color:#fff;font-style:normal;font-size:11px;font-weight:700;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px}
.h-plate b{padding:10px 16px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:22px;letter-spacing:2px}
.h-car{flex:1;min-width:0;background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;padding:8px 14px;display:flex;flex-direction:column;justify-content:center}
.h-car small{font-size:12px;color:var(--muted)}
.h-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.h-kpis span{background:#fff;border:2px solid var(--navy);border-radius:10px;padding:14px}
.h-kpis small{display:block;font-size:12px;color:var(--muted)}
.h-kpis b{font-family:var(--font-display);font-size:30px}
.h-upload{display:flex;align-items:center;gap:14px;background:#fff;border:2px dashed var(--accent);border-radius:10px;padding:18px}
.h-upload__ico{width:44px;height:44px;flex-shrink:0;border-radius:10px;background:#EFF6FF;color:var(--accent);display:inline-flex;align-items:center;justify-content:center}
.h-upload__ico svg{width:22px;height:22px}
.h-upload__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.h-upload__t small{font-size:13px;color:#475569}
.h-upload__t i{display:block;margin-top:8px;height:6px;border-radius:3px;background:#e2e8f0}
.h-upload__t em{display:block;width:66%;height:6px;border-radius:3px;background:var(--accent)}
.h-chat{background:#fff;border:2px solid var(--navy);border-radius:10px;overflow:hidden}
.h-chat__top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14px}
.h-chat__top small{display:flex;align-items:center;gap:4px;font-size:12px}
.h-chat__top small svg{display:inline}
.h-chat__body{padding:16px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.h-chat__body p{max-width:78%;padding:10px 14px}
.h-chat__body .me{align-self:flex-end;background:var(--accent);color:#fff;border-radius:12px 12px 2px 12px}
.h-chat__body .you{align-self:flex-start;background:#f1f5f9;border-radius:12px 12px 12px 2px}

/* Pasos */
.h-steps-sec{padding-top:88px}
.h-steps-box{padding:56px;background:var(--bg-soft);border-radius:20px;display:flex;flex-direction:column;gap:36px}
.h-steps-box h2{text-align:center;font-size:40px;font-weight:700}
.h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.h-steps li{background:#fff;border:2px solid var(--navy);border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:10px}
.h-steps li span{font-family:var(--font-display);font-size:40px;font-weight:800;line-height:1;color:var(--accent)}
.h-steps li b{font-size:19px}
.h-steps li p{font-size:15px;color:#475569}

/* Preguntas frecuentes */
.h-faq{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;padding-top:88px}
.h-faq__head{display:flex;flex-direction:column;gap:12px}
.h-faq__head h2{font-size:40px;font-weight:700}
.h-faq__head p{font-size:16px;color:#475569}
.h-faq__head a{color:var(--accent);font-weight:600}
.h-faq__list{border-top:2px solid var(--navy)}
.h-faq__list details{border-bottom:1px solid #cbd5e1;padding:18px 0}
.h-faq__list summary{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:18px;font-weight:600;cursor:pointer;list-style:none}
.h-faq__list summary::-webkit-details-marker{display:none}
.h-faq__list summary::after{content:"+";font-size:24px;font-weight:400;color:var(--accent);line-height:1}
.h-faq__list details[open] summary::after{content:"−"}
.h-faq__list details p{margin-top:10px;font-size:15px;line-height:1.6;color:#475569;max-width:640px}

/* Llamada final */
.h-final-sec{padding-block:88px 72px}
.h-final{padding:56px 60px;border-radius:20px;background-color:var(--navy);background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:40px 40px;display:flex;justify-content:space-between;align-items:center;gap:32px;color:#fff}
.h-final h2{font-size:38px;font-weight:700;color:#fff;max-width:620px}
.h-final p{margin-top:8px;font-size:16px;color:#cbd5e1}
.h-final .btn{flex-shrink:0}

/* Responsive de la home nueva */
@media (max-width:1199px){
  .h-head h2{font-size:36px}
  .h-feat{gap:40px}
  .h-feat__txt h3{font-size:30px}
  .h-diff__in{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-diff__i{padding:22px 20px 22px 0;border-right:0;border-bottom:1px solid var(--line)}
  .h-demo{justify-self:stretch;max-width:none}
}
@media (max-width:1023px){
  .h-feat,.h-faq{grid-template-columns:minmax(0,1fr)}
  .h-feat--rev .h-feat__txt{order:0}
  .h-feat__txt{max-width:none}
  .h-steps{grid-template-columns:minmax(0,1fr)}
  .h-final{flex-direction:column;align-items:flex-start}
}
@media (max-width:767px){
  .h-hero .hero__in{padding-block:36px 40px}
  .h-ctas .btn{width:100%}
  .h-ctas .h-btn-ghost{display:none}
  .h-demo__lock{flex-direction:column;align-items:stretch;text-align:center}
  .h-sheet{font-size:12.5px}
  .h-sheet__row{grid-template-columns:1.45fr 1fr 58px}
  .h-sheet__row>span{padding:9px 8px}
  .h-sheet__row>span:nth-child(4){display:none}
  .h-sheet--wide .h-sheet__row{grid-template-columns:1.3fr 1fr 58px}
  .h-sheet--wide .h-sheet__row>span:nth-child(3){display:none}
  .h-sheet--wide .h-sheet__row>span:nth-child(4){display:block}
  .h-sheet--wide .h-sheet__row--3>span:nth-child(3){display:block}
  .h-sheet__bar{flex-direction:column;gap:2px;font-size:12px}
  .h-diff__in{grid-template-columns:minmax(0,1fr)}
  .h-diff__i{padding:16px 0}
  .h-diff h3{font-size:18px}
  .h-who__in{gap:8px;padding-block:22px}
  .h-who__in span:not(.h-who__label){padding:6px 12px;border:1.5px solid var(--navy);border-radius:999px;font-size:13px}
  .h-who__label{width:100%;text-align:center}
  .h-feats{gap:56px;padding-block:44px 8px}
  .h-head h2{font-size:30px}
  .h-feat{gap:18px}
  .h-feat__txt{gap:12px}
  .h-feat__txt h3{font-size:25px}
  .h-feat__txt p{font-size:15px}
  .h-art__in{padding:14px}
  .h-plate-row{flex-direction:column}
  .h-plate{align-self:flex-start}
  .h-plate b{font-size:18px;padding:8px 14px}
  .h-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-kpis span:nth-child(2){display:none}
  .h-kpis b{font-size:24px}
  .h-upload{padding:14px}
  .h-steps-sec{padding-top:48px}
  .h-steps-box{padding:24px 18px;gap:18px}
  .h-steps-box h2{font-size:28px;text-align:left}
  .h-steps li{padding:18px}
  .h-faq{gap:16px;padding-top:48px}
  .h-faq__head h2{font-size:28px}
  .h-faq__list summary{font-size:16px}
  .h-final-sec{padding-block:48px 40px}
  .h-final{padding:28px 20px}
  .h-final h2{font-size:28px}
  .h-final .btn{width:100%}
}
.page__body .lead{font-size:18px;color:var(--ink);margin-bottom:24px}
