/* ==========================================================================
   Diakros — landing principal (sector alimentación)
   Concepto: bandas de color alternas sobre una rejilla de 1280 px. El bloque
   azul del logotipo ("kro") se reutiliza como recurso de marca: resalta la
   frase clave del titular y los números del circuito.
   ========================================================================== */

:root {
  /* Color — identidad (sacada del logotipo) */
  --blue: #215287;
  --blue-700: #1a4270;
  --blue-100: #d5e1ef;
  --tint: #eef3f9;
  --ink: #222220;
  --red: #9c2420;          /* solo detalles, nunca botones */
  /* Color — apoyo */
  --navy: #0f172a;
  --cream: #fbf6ee;
  --wheat: #e9c46a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --ok: #1f7a4d;   --ok-bg: #e6f4ec;
  --warn: #8a5a00; --warn-bg: #fdf0d2;
  /* Tipografía */
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Medidas */
  --container: 1280px;
  --radius-btn: 10px;
  --radius-card: 20px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-btn);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-btn);
  font-weight: 700; font-size: 1rem; line-height: 1; border: 1.5px solid transparent;
  transition: background .18s, border-color .18s, transform .18s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); font-weight: 600; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Recursos de marca ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--blue-100); color: var(--blue);
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.mark {
  background: var(--blue); color: #fff; padding: .02em .22em .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section { padding-block: clamp(64px, 8vw, 112px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.band--tint { background: var(--tint); }
.band--cream { background: var(--cream); }
.band--navy { background: var(--navy); color: #fff; }
.band--navy .section__head p:not(.eyebrow) { color: #cbd5e1; }
.band--navy .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

/* ---------- Cabecera ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 60; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.07); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  color: var(--ink); font-weight: 600; font-size: .98rem; border-radius: 8px; background: none; border: 0;
}
.nav__link:hover, .nav__trigger:hover { color: var(--blue); background: var(--tint); }
.nav__trigger svg { width: 14px; height: 14px; transition: transform .18s; }
.has-menu { position: relative; }
.menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 340px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover .nav__trigger svg, .has-menu.is-open .nav__trigger svg { transform: rotate(180deg); }
.menu a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.menu a:hover { background: var(--tint); color: var(--blue); }
.menu a small { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.menu .ico { width: 38px; height: 38px; flex-shrink: 0; }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--radius-btn); border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; padding: 0; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Iconos ---------- */
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.45rem); line-height: 1.07; letter-spacing: -0.035em; font-weight: 800; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 40em; }
.checks { display: flex; flex-direction: column; gap: 14px; color: var(--muted); font-size: 1rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checks strong { color: var(--ink); font-weight: 700; }
.checks .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-top: 1px; }
.checks .tick svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__call { font-size: .95rem; color: var(--muted); }
.hero__call strong { color: var(--ink); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink); }
.badge svg { width: 16px; height: 16px; stroke: var(--ok); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Ilustración del producto (maqueta con datos de ejemplo) */
.mock { position: relative; padding: 0 0 36px; }
.mock__win { width: calc(100% - 118px); margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -24px rgba(15,23,42,.28); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; background: var(--navy); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.mock__bar b { margin-left: 12px; font-size: .78rem; font-weight: 600; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; grid-template-columns: 62px minmax(0, 1fr); }
.mock__side { background: var(--blue); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock__side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.2); }
.mock__side i:first-child { background: #fff; }
.mock__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #f8fafc; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi b { white-space: nowrap; font-size: 1.15rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--blue); }
.mock__list { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock__list h4 { font-size: .8rem; letter-spacing: 0; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1.35fr .75fr .55fr 1.05fr; align-items: center; gap: 8px; padding: 9px 14px; font-size: .78rem; border-bottom: 1px solid #f1f5f9; font-variant-numeric: tabular-nums; }
.row:last-child { border-bottom: 0; }
.row span:first-child { font-weight: 600; }
.row .t { color: var(--muted); }
.pill { justify-self: start; padding: 3px 8px; border-radius: 999px; font-size: .66rem; white-space: nowrap; font-weight: 700; }
.pill--blue { background: var(--tint); color: var(--blue); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.mock__bars { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.mock__bars h4 { font-size: .8rem; letter-spacing: 0; }
.bar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 52px; align-items: center; gap: 10px; font-size: .74rem; font-weight: 600; }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--tint); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: 4px; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.mock__phone { position: absolute; left: 0; bottom: 18px; width: 186px; padding: 8px; border-radius: 30px; background: var(--navy); box-shadow: 0 30px 60px -20px rgba(15,23,42,.5); }
.mock__screen { background: #fff; border-radius: 23px; overflow: hidden; }
.mock__screen header { background: var(--blue); color: #fff; padding: 14px 14px 12px; }
.mock__screen header b { display: block; font-size: .9rem; }
.mock__screen header small { font-size: .7rem; opacity: .85; }
.stops { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.stop { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: .72rem; font-weight: 600; border: 1px solid var(--line); }
.stop i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--blue-100); flex-shrink: 0; }
.stop.done { color: var(--muted); }
.stop.done i { background: var(--ok); border-color: var(--ok); }
.stop.now { border-color: var(--blue); background: var(--tint); color: var(--blue); }
.stop.now i { border-color: var(--blue); }
.mock__btn { margin: 4px 10px 12px; display: block; text-align: center; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; padding: 9px; border-radius: 8px; }
.mock__chip { position: absolute; right: 18px; bottom: 6px; display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(15,23,42,.35); font-size: .8rem; font-weight: 700; }
.mock__chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.mock__note { position: absolute; right: 0; bottom: -28px; font-size: .74rem; color: #64748b; }

/* ---------- Perfil ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.profile { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius-card); color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.profile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(33,82,135,.4); color: var(--ink); }
.profile h3 { font-size: 1.35rem; }
.profile p { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: .98rem; }
.arrow svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
a:hover > .arrow svg, .arrow:hover svg { transform: translateX(4px); }

/* ---------- Confianza ---------- */
.trust { padding-block: 44px; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* ---------- Oficios ---------- */
.trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trade { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid #f0e6d4; border-radius: var(--radius-card); color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.trade:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(34,34,32,.35); border-color: var(--blue); color: var(--ink); }
.trade h3 { font-size: 1.2rem; }
.trade p { color: var(--muted); font-size: .98rem; flex-grow: 1; }
.trade--lead { grid-column: span 2; padding: 36px; background: var(--blue); border-color: var(--blue); color: #fff; }
.trade--lead:hover { color: #fff; border-color: var(--blue-700); background: var(--blue-700); }
.trade--lead h3 { font-size: 1.6rem; }
.trade--lead p { color: #dbe6f3; font-size: 1.05rem; max-width: 30em; }
.trade--lead .ico { background: rgba(255,255,255,.14); color: #fff; }
.trade--lead .arrow { color: #fff; }
.trade--lead .tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wheat); }

/* ---------- Circuito ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.step { position: relative; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step__n { width: 48px; height: 48px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.15rem; border-radius: 10px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 2px; background: linear-gradient(90deg, #2d558f, rgba(45,85,143,.25)); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-top: 8px; }
.step p { color: #cbd5e1; font-size: .96rem; line-height: 1.55; }
.step .who { font-size: .8rem; font-weight: 700; color: var(--wheat); letter-spacing: .04em; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.pillar h3 { font-size: 1.25rem; }
.pillar ul { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; }
.pillar li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-top: .6em; flex-shrink: 0; }

/* ---------- Apps ---------- */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.app { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border-radius: var(--radius-card); border: 1px solid var(--blue-100); }
.app__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 14px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.app__who { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.app h3 { font-size: 1.3rem; margin-top: -6px; }
.app p { color: var(--muted); font-size: .98rem; flex-grow: 1; }
.app__stores { font-size: .86rem; font-weight: 600; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Crece contigo + cumplimiento ---------- */
.grow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.grow__item { padding: 32px; border-radius: var(--radius-card); background: #fff; border: 1px solid #f0e6d4; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.grow__item:nth-child(1) { min-height: 230px; }
.grow__item:nth-child(2) { min-height: 300px; background: var(--tint); border-color: var(--blue-100); }
.grow__item:nth-child(3) { min-height: 370px; background: var(--blue); border-color: var(--blue); color: #fff; }
.grow__item small { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.grow__item:nth-child(3) small { color: var(--wheat); }
.grow__item h3 { font-size: 1.3rem; }
.grow__item p { color: var(--muted); font-size: 1rem; }
.grow__item:nth-child(3) p { color: #dbe6f3; }
.grow__n { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.grow__item:nth-child(3) .grow__n { color: #fff; }
.comply { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.comply__item { display: flex; gap: 16px; align-items: flex-start; padding: 30px; }
.comply__item + .comply__item { border-left: 1px solid var(--line); }
.comply__item .ico { width: 46px; height: 46px; background: var(--ok-bg); color: var(--ok); flex-shrink: 0; }
.comply__item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.comply__item p { color: var(--muted); font-size: .96rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .18s; flex-shrink: 0; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details[open] { border-color: var(--blue-100); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; position: sticky; top: calc(var(--header-h) + 32px); }
.contact__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.contact__copy > p:not(.eyebrow):not(.contact__phone) { color: #cbd5e1; font-size: 1.1rem; }
.contact__phone { margin-top: 8px; font-size: .95rem; color: #94a3b8; }
.contact__phone strong { display: block; color: #fff; font-size: 1.6rem; letter-spacing: -.02em; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #cbd5e1; border-radius: var(--radius-btn); background: #fff; color: var(--ink); width: 100%; min-height: 50px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,82,135,.18); }
.field .err { color: var(--red); font-size: .84rem; min-height: 1em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form__status { grid-column: 1 / -1; font-size: .95rem; font-weight: 600; color: var(--blue); min-height: 1.4em; }

/* ---------- Pie ---------- */
.site-footer { background: #f6f8fb; border-top: 1px solid var(--line); padding-block: 64px 32px; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; color: var(--muted); max-width: 320px; }
.footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.footer__col h3 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 800; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink); font-weight: 500; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--muted); font-size: .88rem; }

/* ---------- Aviso de maqueta ---------- */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: .95rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 24px; max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto; }
  .nav.is-open .nav__link, .nav.is-open .nav__trigger { width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .nav.is-open .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 8px 8px; }
  .nav.is-open .nav__trigger svg { display: none; }
  .nav.is-open .menu .ico { display: none; }
  .nav.is-open .menu a small { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .mock { max-width: 640px; }
  .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trade--lead { grid-column: span 2; }
  .pillars, .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { padding: 0 0 0 68px; min-height: 48px; }
  .step__n { position: absolute; left: 0; top: 0; }
  .step::after { top: 52px; bottom: -28px; left: 23px; right: auto; width: 2px; height: auto; background: rgba(45,85,143,.5); }
  .step h3 { margin-top: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__copy { position: static; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .logo img, .footer__brand img { height: 28px; }
  .header__cta .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; }
  .profiles, .trust__grid, .grow, .comply { grid-template-columns: minmax(0, 1fr); }
  .comply__item + .comply__item { border-left: 0; border-top: 1px solid var(--line); }
  .grow { align-items: stretch; }
  .grow__item:nth-child(n) { min-height: 0; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trades, .pillars, .apps { grid-template-columns: minmax(0, 1fr); }
  .trade--lead { grid-column: auto; padding: 28px; }
  .hero__actions .btn { width: 100%; }
  .mock { min-height: 0; padding-bottom: 0; }
  .mock__win { margin: 0; width: 100%; }
  .mock__phone { position: relative; left: auto; bottom: auto; width: 190px; margin: 18px 0 0; }
  .mock__chip { position: relative; right: auto; bottom: auto; margin: -66px 0 0 auto; width: max-content; max-width: calc(100% - 210px); }
  .mock__note { position: static; display: block; margin-top: 14px; }
  .row { grid-template-columns: 1.25fr 1fr; font-size: .74rem; }
  .kpi small { letter-spacing: 0; }
  .row .t { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Páginas de oficio ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.narrow { max-width: 860px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.06); background: #fff; }
.shot--hero img { box-shadow: 0 40px 70px -30px rgba(15,23,42,.5); }
.shot--phone { max-width: 340px; margin-inline: auto; }
.shot--phone img { border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 30px 40px rgba(15,23,42,.28)); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(32px,5vw,72px); align-items: center; }
.split--rev { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); }
.split__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.split__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.split__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feat h3 { font-size: 1.15rem; }
.feat p { color: var(--muted); font-size: .98rem; }
.feat .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.feat .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev .shot--phone { order: 2; } }
@media (max-width: 720px) { .feats { grid-template-columns: 1fr; } }
.shot--plain img { box-shadow: none; background: none; border-radius: 0; }
.shot--hero.shot--plain { background: #fff; border-radius: 20px; padding: 8px; }

/* ---------- Artículo / guía ---------- */
.prose { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; font-size: 1.1rem; line-height: 1.7; color: #334155; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin-top: 28px; }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 0; padding: 20px 24px; background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; font-size: 1.05rem; color: var(--ink); }
.prose .callout { background: var(--cream); border: 1px solid #f0e6d4; border-radius: var(--radius-card); padding: 24px 28px; }
.prose .callout h3 { margin-top: 0; }
.page-head { padding-block: clamp(40px, 6vw, 80px) 24px; }
.page-head .container { max-width: 860px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.page-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.page-head .lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Aviso de novedad ---------- */
.notice { background: var(--navy); color: #fff; font-size: .93rem; }
.notice .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding-block: 10px; text-align: center; }
.notice__tag { background: var(--wheat); color: var(--navy); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.notice a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice a:hover { color: var(--wheat); }
.dates { width: 100%; border-collapse: collapse; font-size: 1rem; }
.dates th, .dates td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dates th { background: var(--tint); color: var(--ink); font-size: .9rem; }
.dates .tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.dates .tag--ok { background: var(--ok-bg); color: var(--ok); }
.dates .tag--warn { background: var(--warn-bg); color: var(--warn); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.sources { font-size: .95rem; }
.sources a { text-decoration: underline; }

/* ---------- Empresa y contacto ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: 2.2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1.1; }
.stat span { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--blue-100); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); }
.timeline b { display: block; font-size: 1.15rem; color: var(--ink); }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.info h3 { font-size: 1rem; color: var(--blue); }
.info p, .info a { color: var(--ink); font-size: 1.05rem; }
.sector { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.sector h2 { font-size: 1.5rem; }
.sector p { color: var(--muted); }
@media (max-width: 1100px) { .cards4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cards4 { grid-template-columns: 1fr; } }

/* ---------- Asistencia online ---------- */
.stepcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.stepcard { background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.stepcard .n { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.stepcard h3 { font-size: 1.15rem; }
.stepcard p { color: var(--muted); font-size: .98rem; }
.dl { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; transition: border-color .18s, box-shadow .18s; }
.dl:hover { border-color: var(--blue); box-shadow: 0 22px 44px -26px rgba(34,34,32,.35); }
.dl .ico svg { width: 26px; height: 26px; }
.dl h3 { font-size: 1.1rem; }
.dl small { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.dl .btn { width: 100%; }
.alert { display: flex; gap: 14px; align-items: flex-start; background: var(--warn-bg); border: 1px solid #f0dca0; border-radius: 14px; padding: 18px 20px; color: #5c3d00; font-size: .98rem; }
.alert svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.safe { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.safe h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.safe p { color: #cbd5e1; }
.safe .checks { color: #e2e8f0; margin-top: 18px; }
.safe .checks strong { color: #fff; }
.safe .checks .tick { background: rgba(255,255,255,.12); }
.safe .checks .tick svg { stroke: var(--wheat); }
.callbox { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-card); padding: 30px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.callbox small { color: var(--wheat); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.callbox a.num { color: #fff; font-size: 2rem; font-weight: 800; }
.callbox p { font-size: .95rem; }
@media (max-width: 900px) { .stepcards { grid-template-columns: 1fr; } .safe { grid-template-columns: 1fr; } }

/* ---------- Páginas legales ---------- */
.prose--legal { font-size: 1.02rem; line-height: 1.7; }
.prose--legal h2 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose--legal h3 { font-size: 1.1rem; margin-top: 4px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose--legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: var(--muted); font-size: .92rem; }
.legal-index { background: var(--tint); border-radius: var(--radius-card); padding: 20px 26px; font-size: .98rem; }
.legal-index p { margin: 0 0 8px; color: var(--ink); }
.legal-index ol { margin: 0; padding-left: 1.3em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.legal-index a { text-decoration: none; }
.legal-index a:hover { text-decoration: underline; }
.datos { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.datos div { background: #fff; padding: 14px 18px; }
.datos dt { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.datos dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 640px; }
.table-wrap th { text-align: left; background: var(--tint); color: var(--ink); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; padding: 12px 16px; }
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose .link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.prose--legal .link-grid a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; text-decoration: none; }
.prose--legal .link-grid a:hover { border-color: var(--blue); background: var(--tint); }
.form__info { grid-column: 1 / -1; margin: -4px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.form__info a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) {
  .legal-index ol, .datos { grid-template-columns: 1fr; }
}

/* ---------- Etiqueta "Nuevo" del menú ---------- */
.nav__link--new { display: inline-flex; align-items: center; gap: 6px; }
.nav__badge { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; background: var(--red); color: #fff; padding: .18rem .45rem; border-radius: 999px; white-space: nowrap; pointer-events: none; }
@media (max-width: 1100px) {
  .nav.is-open .nav__link--new { justify-content: flex-start; gap: 8px; }
  .nav.is-open .nav__badge { position: static; transform: none; font-size: 9px; padding: 3px 6px; }
}

/* WordPress: campo trampa antispam del formulario (invisible) */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;pointer-events:none}

/* v1.3: imagen de la guía de trazabilidad (misma ruta que en la web anterior: posiciona en Google Imágenes) */
.prose .traza-fig{margin:8px 0;display:grid;gap:10px;justify-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.prose .traza-fig img{width:100%;max-width:507px;height:auto}
.prose .traza-fig figcaption{font-size:.92rem;color:var(--muted);text-align:center}

/* v1.3: bloque común «Sector alimentación» en las páginas de oficio */
#sector-alimentacion .feats{grid-template-columns:repeat(3,1fr)}
.sector-links{margin-top:40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px}
.sector-links .btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sector-links__otros{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:.95rem}
.sector-links__otros>span{color:var(--muted);font-weight:600}
.sector-links__otros ul{display:flex;flex-wrap:wrap;gap:8px}
.sector-links__otros a{display:inline-block;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:.9rem;color:var(--ink)}
.sector-links__otros a:hover{border-color:var(--blue);color:var(--blue)}
@media (max-width:960px){#sector-alimentacion .feats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){#sector-alimentacion .feats{grid-template-columns:1fr}.sector-links{flex-direction:column;align-items:flex-start}}

/* v1.4 · ajustes de móvil: zona táctil del logotipo */
.logo{display:inline-flex;align-items:center;padding-block:8px}
.info a{display:inline-block;padding-block:8px}
/* Migas de pan: cada tramo en una sola línea y salto entre tramos si no caben */
.breadcrumb{flex-wrap:wrap;row-gap:4px}
.breadcrumb>*{white-space:nowrap}

/* v1.5 · Asistencia on-line: un tono pastel de la paleta Diakros por cada botón de descarga */
#descargas .dl{--dl-bg:#EEF3F9;--dl-line:#C9D9EC;--dl-btn:#DCE7F4;--dl-ink:#1B4570;--dl-solid:#215287}
#descargas .dl:nth-child(2){--dl-bg:#FBF6EE;--dl-line:#EEDDB4;--dl-btn:#F6E7C1;--dl-ink:#6B4E0E;--dl-solid:#A77A1C}
#descargas .dl:nth-child(3){--dl-bg:#F2F4F8;--dl-line:#D5DBE5;--dl-btn:#E3E8EF;--dl-ink:#1E293B;--dl-solid:#334155}
#descargas .dl:nth-child(4){--dl-bg:#FBEFEE;--dl-line:#EFCFCB;--dl-btn:#F6DCD9;--dl-ink:#7E1D1A;--dl-solid:#9C2420}
#descargas .dl{background:var(--dl-bg);border-color:var(--dl-line)}
#descargas .dl:hover{border-color:var(--dl-solid)}
#descargas .dl .ico{background:#fff;color:var(--dl-solid);box-shadow:0 0 0 1px var(--dl-line)}
#descargas .dl .btn{background:var(--dl-btn);color:var(--dl-ink);border:1px solid var(--dl-line);box-shadow:none}
#descargas .dl .btn:hover,#descargas .dl .btn:focus-visible{background:var(--dl-solid);color:#fff;border-color:var(--dl-solid)}
#descargas .dl{padding:22px}
#descargas .dl .btn{white-space:nowrap;padding-inline:12px;gap:8px;font-size:.93rem}

/* v1.6 · Acceso a Asistencia on-line en la cabecera y en el menú móvil */
.header__help{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-weight:600;font-size:.9rem;white-space:nowrap}
.header__help svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.header__help:hover{border-color:var(--blue);color:var(--blue)}
.nav__link--mobile{display:none}
@media (max-width:1240px){.header__help{padding:0;width:42px}.header__help span{display:none}}
@media (max-width:1100px){.header__help{width:46px;height:46px;border-radius:var(--radius-btn)}.nav.is-open .nav__link--mobile{display:flex}}
@media (max-width:420px){.header__cta{gap:10px}}

/* Listas dentro del bloque de contacto (llamada VeriFactu y baja de dkPedidos) · v1.9 */
.contact__copy .ticks, .contact__copy .steps-simple { margin: 18px 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; color: #cbd5e1; }
.contact__copy .ticks li { position: relative; padding-left: 30px; }
.contact__copy .ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--wheat, #E9C46A) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.contact__copy .steps-simple { counter-reset: paso; }
.contact__copy .steps-simple li { counter-increment: paso; position: relative; padding-left: 40px; }
.contact__copy .steps-simple li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.contact__copy p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* GlorIA en las páginas de oficio · v1.9 */
.gl-callout-sec { padding-block: 0 clamp(48px, 6vw, 80px); }
.gl-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 22px; background: linear-gradient(120deg, #F5F8FF, #E6EEFF); border: 1px solid #D6E2FF; color: var(--navy); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gl-callout:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -25px rgba(37,99,235,.5); }
.gl-callout__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #2563EB; color: #fff; font-size: 1.5rem; }
.gl-callout__txt small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #E63946; }
.gl-callout__txt strong { display: block; margin-top: 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.gl-callout__txt > span { display: block; margin-top: 6px; color: var(--muted); line-height: 1.55; }
.gl-callout__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: #2563EB; color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .gl-callout { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .gl-callout__ico { width: 48px; height: 48px; }
  .gl-callout__cta { justify-content: center; }
}
.gl-callout svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.gl-callout__cta { align-self: center; height: fit-content; }

/* v1.9.2 · Asistencia on-line: los botones de descarga, lo primero al entrar */
.pagina-asistencia .notice{display:none}
.asist-top{padding-block:clamp(28px,4vw,48px) clamp(40px,5vw,64px)}
.asist-top .container{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.asist-top h1{font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.1;letter-spacing:-.03em;font-weight:800}
.asist-top__lead{color:var(--muted);font-size:1.05rem;max-width:760px}
.asist-top .cards4{width:100%;margin-top:10px}
.asist-top__alert{width:100%;margin-top:6px}
.asist-top__alt{color:var(--muted);font-size:.93rem}
#descargas .dl__txt{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2}
#descargas .dl__prog{display:none}
@media (max-width:760px){
  .asist-top{padding-top:18px}
  .asist-top .breadcrumb{display:none}
  .asist-top .cards4{grid-template-columns:1fr;gap:10px}
  #descargas .dl{padding:0;background:none;border:0;box-shadow:none}
  #descargas .dl>div{display:none}
  #descargas .dl .btn{min-height:62px;justify-content:space-between;padding:10px 18px;font-size:1.02rem;white-space:normal;text-align:left;background:var(--dl-btn)}
  #descargas .dl .btn svg{width:22px;height:22px}
  #descargas .dl__prog{display:block;font-size:.82rem;font-weight:500;opacity:.8;margin-top:2px}
}

/* v1.10 · Blog: contenido de las entradas antiguas y llamada a la acción */
.prose img { height: auto; border-radius: 12px; }
.prose figure, .prose .wp-caption { margin: 8px 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: 6px 24px 12px 0; max-width: 45%; }
.prose .alignright { float: right; margin: 6px 0 12px 24px; max-width: 45%; }
.prose ol { list-style: decimal; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.prose h4 { font-size: 1.1rem; color: var(--ink); }
.prose a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose iframe, .prose video, .prose .embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose::after { content: ""; display: block; clear: both; }
.post-cta { clear: both; margin-top: 32px; padding: 28px 30px; border-radius: 20px; background: var(--navy); color: #cbd5e1; display: flex; flex-direction: column; gap: 10px; }
.post-cta__eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wheat); }
.post-cta__title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; color: #fff; line-height: 1.2; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 6px; }
.prose a.post-cta__link { color: #fff; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: #fff; transition: border-color .18s, box-shadow .18s; }
.blog-card:hover { border-color: var(--blue); box-shadow: 0 22px 44px -26px rgba(34,34,32,.35); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.blog-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.blog-card__date { font-size: .82rem; color: var(--muted); }
.blog-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a::after { content: ""; position: absolute; inset: 0; }
.blog-card { position: relative; }
.blog-card p { color: #475569; font-size: .98rem; }
.blog-pag { margin-top: 32px; }
.blog-pag .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.blog-pag .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.blog-pag .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 640px) { .prose .alignleft, .prose .alignright { float: none; margin: 8px 0; max-width: 100%; } .post-cta { padding: 22px; } }

/* Menú Soluciones con vista previa (v1.11) */
.menu--preview { display: grid; grid-template-columns: minmax(330px, 1fr) 290px; gap: 10px; min-width: 0; width: max-content; }
.menu__list { display: grid; align-content: start; gap: 2px; }
.menu__preview { min-height: 100%; }
@media (max-width: 1100px) {
  .nav.is-open .menu--preview { display: block; width: auto; }
  .nav.is-open .menu__preview { display: none; }
}
.menu a.mpv, .menu a.mpv:hover { padding: 0; border-radius: 12px; color: #fff; background: #0F2A4A; font-weight: 400; font-size: 1rem; align-items: flex-end; }
.menu a.mpv .mpv__copy small { display: block; color: #F3D9A4; font-weight: 600; font-size: .72rem; line-height: 1.3; }
/* Con la etiqueta «Nuevo» en línea, el menú no debe partir palabras entre 1101 y 1300 px (v1.12) */
.nav__link, .nav__trigger, .header__cta .btn { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1300px) {
  .header__inner { gap: 14px; }
  .nav__link, .nav__trigger { padding: 0 9px; font-size: .94rem; }
}
/* Barra superior: la etiqueta VeriFactu es un enlace y va en rojo como en la portada (v1.13) */
.notice a.notice__tag { background: var(--red); color: #fff; text-decoration: none; }
.notice a.notice__tag:hover { background: #fff; color: var(--red); }
