/* =========================================================
   Solved · trysolved.com — faithful recreation
   Built on the Solved Design System tokens (colors-and-type.css).
   Blue is the only marketing accent; light canvas, dark bands.
   ========================================================= */

body { background: var(--bg-canvas); color: var(--fg-1); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--s-3); }
.section { padding: var(--s-12) 0; }
.section--tight { padding-top: var(--s-6); padding-bottom: var(--s-6); }
img { max-width: 100%; height: auto; }

/* ---------- Buttons (pill, blue primary) ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.2;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30,107,255,.22); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-200); }
.btn--secondary:hover { border-color: var(--ink-400); }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 800px; margin: 0 auto var(--s-6); }
.section-head h2 { font-size: 38px; letter-spacing: -0.025em; margin: 0 0 var(--s-2); }
.section-head p { font-size: 18px; color: var(--ink-600); margin: 0 auto; max-width: 70ch; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(244,246,251,.68);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border-1); }
/* fixed nav (88px) is out of flow — offset the page so content isn't hidden under it */
body { padding-top: 88px; }
/* no blue glow on the header CTA */
.nav .btn--primary { box-shadow: none; }
/* header elements at ~1.5x size */
.nav .btn { padding: 11px 26px; font-size: 16.2px; gap: 9px; }
.nav__in { display: flex; align-items: center; gap: var(--s-3); height: 88px; }
.nav__logo { display: flex; align-items: center; gap: 13px; }
.nav__logo img { height: 46px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 3px; margin: 0 auto; list-style: none; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0;
  padding: 13px 24px; border-radius: var(--r-2); font-size: 18.9px; color: var(--ink-800);
  cursor: pointer; font-weight: 500; font-family: var(--font-sans); }
.nav__link:hover { background: var(--ink-100); color: var(--ink-900); }
.nav__link svg { width: 19px; height: 19px; opacity: .55; }
.nav__menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 400px;
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-2);
  box-shadow: var(--shadow-3); padding: 12px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all var(--dur-base) var(--ease-standard); }
.nav__item:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: flex; flex-direction: column; gap: 3px; padding: 15px 18px; border-radius: var(--r-1); cursor: pointer; }
.nav__menu a:hover { background: var(--ink-50); }
.nav__menu b { font-size: 18px; font-weight: 600; color: var(--ink-900); }
.nav__menu span { font-size: 15.3px; color: var(--ink-400); }
/* hamburguesa y CTA móvil: ocultos en escritorio */
.nav__toggle { display: none; }
.nav__cta-mobile { display: none; }

/* =========================================================
   HERO (light, two columns)
   ========================================================= */
.hero { padding: var(--s-12) 0 var(--s-8); }
/* hero: columna de la imagen más ancha (imagen ~15% mayor) y texto a ancho fijo */
.hero__in { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--s-8); align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 var(--s-3); max-width: 34rem; }
.hero h1 .em-blue { color: var(--blue); }
/* h1 y subtítulo con el mismo ancho real (rem, no ch) */
.hero__sub { font-size: 18px; line-height: 1.55; color: var(--ink-600); max-width: 34rem; margin: 0 0 var(--s-4); }
.hero__art { position: relative; }

/* photo placeholder / image surface */
.photo { position: relative; border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-3);
  background: linear-gradient(135deg, #cfd8e6, #9fb0c8); min-height: 320px; display: grid; place-items: center; }
.photo--tall { min-height: 420px; }
.photo__label { color: rgba(255,255,255,.92); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  background: rgba(11,18,32,.28); padding: 6px 12px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* Real product screenshots (extracted from trysolved.com) — responsive, keep full image */
.shot { display: block; width: 100%; height: auto; }
.shot--center { margin-left: auto; margin-right: auto; }

/* Banner / pop-up de cookies */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; z-index: 100;
  width: min(680px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(24px); opacity: 0;
  transition: opacity .3s var(--ease-standard), transform .3s var(--ease-standard);
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-3);
  box-shadow: var(--shadow-3); padding: 16px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner--in { opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-banner__text { margin: 0; flex: 1 1 280px; font-size: 13px; line-height: 1.5; color: var(--ink-600); }
.cookie-banner__text a { color: var(--blue); }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.cookie-banner .btn { padding: 9px 18px; font-size: 14px; box-shadow: none; }

/* Páginas legales (política de cookies / privacidad) */
.legal__wrap { max-width: 820px; }
.legal h1 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal__updated { color: var(--ink-400); font-size: 14px; margin: 0 0 var(--s-6); }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: var(--s-6) 0 var(--s-2); }
.legal p { font-size: 16px; line-height: 1.65; color: var(--ink-800); margin: 0 0 var(--s-3); }
.legal ul { margin: 0 0 var(--s-3) 1.2em; padding: 0; color: var(--ink-800); font-size: 16px; line-height: 1.65; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-4); font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--border-1); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--ink-50); }
.legal td p, .legal th p, .legal li p { margin: 0; }

/* floating UI chips on hero art */
.chip { position: absolute; background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-2);
  box-shadow: var(--shadow-3); padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink-900);
  display: inline-flex; align-items: center; gap: 8px; z-index: 2; }
.chip--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip__dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.chip svg { width: 16px; height: 16px; }
.ring { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: #fff;
  border: 4px solid var(--blue); display: grid; place-items: center; font-size: 14px; font-weight: 700;
  color: var(--blue); box-shadow: var(--shadow-2); z-index: 3; }
.bell { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-3); color: var(--blue); z-index: 3; }
.bell svg { width: 20px; height: 20px; }
.bell__n { position: absolute; top: -4px; right: -4px; background: var(--blue); color: #fff; font-size: 10px;
  font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; padding: 0 3px; }

/* =========================================================
   DARK STATS BAND (home)
   ========================================================= */
.band-dark { background: linear-gradient(115deg, var(--blue-900) 0%, var(--ink-900) 55%); color: #fff; padding: var(--s-8) 0; }
.band-dark .stats__head { text-align: center; max-width: 720px; margin: 0 auto var(--s-6); }
.band-dark .stats__head h2 { font-size: 30px; color: #fff; letter-spacing: -0.02em; margin: 0 0 10px; }
.band-dark .stats__head p { font-size: 16px; color: rgba(255,255,255,.72); margin: 0; }
.statline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-6); }
.statline div { text-align: center; }
.statline b { display: block; font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.statline span { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-top: 12px; line-height: 1.4; }

/* logos rail */
.logos-rail { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: var(--s-4) var(--s-6); }
.logos-rail img { height: 30px; width: auto; opacity: .85; object-fit: contain; }
.band-blue { background: linear-gradient(90deg, var(--blue-700), var(--blue) 40%, var(--blue-900)); padding: var(--s-4) 0; }
.band-navy { background: var(--ink-900); padding: var(--s-4) 0; }

/* =========================================================
   VIDEO
   ========================================================= */
.video__frame { position: relative; width: 88vw; max-width: 760px; margin-left: 50%; transform: translateX(-50%); border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-3); background: #1a2433; aspect-ratio: 16/9; display: grid; place-items: center; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .8; }
.video__frame iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; display: block; }

/* Video section: no full-viewport height; 200px breathing room, larger frame */
.section--video { min-height: auto; padding: 100px 0; }
.video__play { position: relative; width: 64px; height: 64px; border-radius: 12px; background: #ff0000; color: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-2); }
.video__play svg { width: 28px; height: 28px; margin-left: 3px; }
.video__bar { position: absolute; top: 14px; left: 14px; color: #fff; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.video__bar .yt { width: 26px; height: 18px; background: #ff0000; border-radius: 4px; display: grid; place-items: center; }
.video__bar .yt svg { width: 12px; height: 12px; color: #fff; }

/* =========================================================
   PRODUCTS — alternating image + text rows (home)
   ========================================================= */
.prow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; margin-bottom: var(--s-8); }
.prow:last-child { margin-bottom: 0; }
.prow--rev .prow__art { order: 2; }
.prow__txt h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink-900); }
.prow__txt p { font-size: 16px; color: var(--ink-600); margin: 0 0 var(--s-3); max-width: 42ch; }
.device { position: relative; display: grid; place-items: center; min-height: 280px; }

/* =========================================================
   BENEFIT TOGGLE LIST (home / incidencias / dashboard)
   ========================================================= */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: center; }
.split--rev .split__art { order: -1; }
.split h2 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
.benefits-toggle { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--s-4); }
.bt { padding: 14px 18px; border-radius: var(--r-2); display: block; border: 1px solid transparent; }
.bt__row { display: flex; align-items: center; gap: 12px; }
.bt__ico { width: 22px; height: 22px; color: var(--blue); flex: 0 0 auto; }
.bt__ico svg { width: 22px; height: 22px; }
.bt b { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.bt p { font-size: 14px; color: var(--ink-600); margin: 8px 0 0 34px; line-height: 1.5; display: none; }
.bt:has(p) { cursor: pointer; }
/* abierto por defecto (primero), al pasar el ratón, o el seleccionado con clic */
.bt--active, .bt:hover { background: #fff; border-color: var(--border-1); box-shadow: var(--shadow-1);
  border-left: 3px solid var(--blue); }
.bt--active p, .bt:hover p { display: block; }
/* al pasar el ratón por otro ítem, se cierra el que estaba abierto por defecto */
.benefits-toggle:hover .bt--active:not(:hover) { background: transparent; border: 1px solid transparent; box-shadow: none; }
.benefits-toggle:hover .bt--active:not(:hover) p { display: none; }

/* =========================================================
   VALUE CARDS (home "mejor aliado")
   ========================================================= */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.vcard { background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-3); padding: var(--s-4);
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-slow) var(--ease-soft), transform var(--dur-slow) var(--ease-soft); }
.vcard:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.vcard__ico { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.vcard__ico svg { width: 22px; height: 22px; }
.vcard p { font-size: 15px; color: var(--ink-800); margin: 0; line-height: 1.5; flex: 1; }
.vcard a { color: var(--blue-700); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.vcard a:hover { gap: 9px; }

/* =========================================================
   PAIN CARDS (industria pages)
   ========================================================= */
.pain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
.pain { background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-2); padding: var(--s-3);
  text-align: center; display: flex; flex-direction: column; gap: var(--s-2); align-items: center; box-shadow: var(--shadow-1); }
.pain__ico { width: 36px; height: 36px; color: var(--ink-900); display: grid; place-items: center; }
.pain__ico svg { width: 32px; height: 32px; }
.pain p { font-size: 13.5px; color: var(--ink-600); margin: 0; line-height: 1.45; }

/* =========================================================
   CHECKLIST GRID (auditorías)
   ========================================================= */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 48px; max-width: 980px; margin: 0 auto; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-700, var(--ink-800)); }
.check svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 1px; }

/* Sección "La herramienta que se adapta…" (Auditorías): más margen arriba y textos +25% */
.section--capabilities { margin-top: 20px; }
.section--capabilities .section-head h2 { font-size: 47.5px; } /* móvil/tablet: 38 × 1.25 */
.section--capabilities .check { font-size: 18.75px; }          /* 25 × 0.75 */
.section--capabilities .check svg { width: 25px; height: 25px; }
@media (min-width: 1001px) {
  .section--capabilities .section-head h2 { font-size: 55px; } /* escritorio: 44 × 1.25 */
}

/* feature rows w/ inline icon list (auditorías / incidencias detail) */
.feat-list { display: flex; flex-direction: column; gap: var(--s-3); }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.feat__ico { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.feat__ico svg { width: 26px; height: 26px; }
.feat b { font-size: 16px; color: var(--ink-900); display: block; margin-bottom: 3px; }
.feat p { font-size: 14.5px; color: var(--ink-600); margin: 0; line-height: 1.5; }

/* Secciones "Planifica…" (Auditorías) y "Detecta…" (Incidencias): contenido +33%, mismas proporciones */
.section--planifica .feat p,
.section--detecta .feat p { font-size: 19.3px; }              /* 14.5 × 1.33 */
.section--planifica .feat b,
.section--detecta .feat b { font-size: 21.3px; }              /* 16 × 1.33 (solo afecta a Detecta, que tiene títulos) */
.section--planifica .feat__ico, .section--planifica .feat__ico svg,
.section--detecta .feat__ico, .section--detecta .feat__ico svg { width: 35px; height: 35px; }

/* =========================================================
   FAQ (acordeón nativo <details>, accesible y sin JS)
   ========================================================= */
.faq { width: 820px; max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--border-1); border-radius: var(--r-2); background: #fff; overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 18px 22px; font-size: 18px; font-weight: 600;
  color: var(--ink-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; color: var(--blue); flex: 0 0 auto; transition: transform var(--dur-base) var(--ease-standard); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 22px 18px; }
.faq__a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-600); }

/* =========================================================
   RESULT STAT CARDS (blue gradient squares)
   ========================================================= */
.results { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); max-width: 880px; margin: 0 auto; }
.rstat { width: 240px; aspect-ratio: 1.25/1; border-radius: var(--r-3); padding: var(--s-4);
  background: linear-gradient(160deg, var(--blue-500), var(--blue) 55%, var(--blue-700));
  color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  box-shadow: var(--shadow-2); }
.rstat b { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.rstat span { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 14px; line-height: 1.4; }

/* Sección "Resultados que hablan por sí mismos" (Auditorías): textos y cuadrados +25% */
.section--results-big .results { max-width: 80vw; }           /* ancho de la sección = 80% de la pantalla */
.section--results-big .rstat { width: 300px; }                /* 240 × 1.25 (aspect-ratio mantiene la proporción) */
.section--results-big .rstat b { font-size: 55px; }           /* 44 × 1.25 */
.section--results-big .rstat span { font-size: 16.9px; }      /* 13.5 × 1.25 */

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); align-items: start; }
.testi-card { width: 100%; height: auto; display: block; border-radius: var(--r-3); }
.quote { background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-3); padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3); box-shadow: var(--shadow-1); }
.quote__logo { height: 30px; display: flex; align-items: center; }
.quote__logo img { height: 28px; width: auto; object-fit: contain; }
.quote > p { font-size: 15px; line-height: 1.55; color: var(--ink-800); margin: 0; text-wrap: pretty; flex: 1; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: 0 0 auto;
  background-size: cover; background-position: center; }
img.quote__av { object-fit: cover; object-position: center 20%; }
.quote__by b { font-size: 14px; color: var(--ink-900); display: block; }
.quote__by span { font-size: 12px; color: var(--ink-400); }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: var(--s-4); }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-200); }
.dots i.on { background: var(--ink-600); }

/* =========================================================
   CONTACT FORM (light blue gradient)
   ========================================================= */
.contact { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); padding: var(--s-12) 0; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; max-width: 1080px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-3); padding: var(--s-6); box-shadow: var(--shadow-2); }
.form-card h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field { margin-bottom: var(--s-2); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-800); margin-bottom: 6px; }
.field label .req { color: var(--blue); }
.field input { width: 100%; padding: 11px 13px; border: 1px solid var(--border-2); border-radius: var(--r-1);
  font-family: var(--font-sans); font-size: 14px; color: var(--ink-900); background: #fff; }
.field input::placeholder { color: var(--ink-400); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.check-row { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; font-size: 12.5px; color: var(--ink-600); line-height: 1.45; }
.check-row input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.check-row a { color: var(--blue-700); text-decoration: underline; }
.contact__art { position: relative; }
.contact__art .photo { min-height: 460px; border-radius: var(--r-3); background: linear-gradient(135deg, #c9d3e2, #aab9d0); }
.msg-chip { position: absolute; background: rgba(255,255,255,.9); border-radius: var(--r-pill); height: 16px; }

/* =========================================================
   FOOTER (dark navy)
   ========================================================= */
.footer { background: var(--ink-900); color: #fff; padding: var(--s-8) 0 0; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s-6); padding-bottom: var(--s-6); }
.footer__brand img.f-logo { height: 30px; width: auto; display: block; margin-bottom: var(--s-2); filter: brightness(0) invert(1); }
.footer__addr { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.55; margin: 0 0 var(--s-2); max-width: 30ch; }
.footer__map { width: 100%; max-width: 280px; height: 150px; border-radius: var(--r-2); border: 0; display: block; }
.footer__social { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; margin-top: var(--s-2); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col h4 { font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 var(--s-2); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,.66); cursor: pointer; }
.footer__col a:hover { color: #fff; }
.footer__strip { border-top: 1px solid rgba(255,255,255,.1); padding: var(--s-3) 0; }
.footer__strip-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.footer__lanzadera { height: 96px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .9; }
.footer__eu { background: #fff; border-radius: var(--r-1); padding: 10px 18px; display: flex; align-items: center; gap: 14px; }
.footer__eu img { height: 104px; width: auto; display: block; }
.footer__eu span { font-size: 10px; color: var(--ink-800); line-height: 1.2; font-weight: 600; }
.footer__eu .euflag { width: 30px; height: 20px; background: #003399; border-radius: 2px; display: grid; place-items: center; color: #FFCC00; font-size: 11px; }
.footer__legal { background: #06090f; padding: var(--s-3) 0; }
.footer__legal p { font-size: 10px; color: rgba(255,255,255,.4); margin: 0; line-height: 1.5; text-align: center; max-width: 1100px; margin: 0 auto; }

/* =========================================================
   Floating product mock cards (generic, white panels)
   ========================================================= */
.mock { background: #fff; border-radius: var(--r-2); box-shadow: var(--shadow-3); border: 1px solid var(--border-1); overflow: hidden; }
.mock--phone { width: 210px; border-radius: 26px; padding: 8px; }
.mock--phone .mock__screen { border-radius: 18px; overflow: hidden; background: var(--ink-50); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; }
.tag--review { background: var(--st-review-bg); color: #8a6300; }
.tag--closed { background: var(--st-closed-bg); color: var(--st-closed); }
.tag--open { background: var(--st-open-bg); color: var(--st-open); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero__in, .split, .prow, .contact__in, .benefits__in { grid-template-columns: 1fr; }
  .prow--rev .prow__art, .split--rev .split__art { order: 0; }
  .hero h1 { font-size: 40px; }
  .cards3, .testi-grid { grid-template-columns: 1fr; }
  .statline { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-2); }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }

  /* ---- Header móvil: logo izquierda (más pequeño) + hamburguesa derecha ---- */
  .nav__logo img { height: 34px; }
  .nav__cta-desktop { display: none; }       /* el CTA pasa al panel desplegable */

  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span {
    display: block; height: 2.5px; width: 100%; border-radius: 2px;
    background: var(--ink-900); transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard);
  }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* Panel desplegable bajo el header */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: var(--s-2) var(--s-3) var(--s-3);
    background: rgba(244,246,251,.98); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border-1); box-shadow: var(--shadow-2);
    max-height: calc(100vh - 88px); overflow-y: auto;
    display: none;
  }
  .nav--open .nav__links { display: flex; }

  .nav__item { width: 100%; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 17.1px; }
  .nav__link svg { transition: transform var(--dur-base) var(--ease-standard); }
  .nav__item--open > .nav__link svg { transform: rotate(180deg); }

  /* Submenús como acordeón (estáticos, sin hover) */
  .nav__menu {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 12px;
    display: none; transition: none;
  }
  .nav__item:hover .nav__menu { opacity: 1; visibility: visible; } /* anula el hover de escritorio */
  .nav__item--open .nav__menu { display: block; }
  .nav__menu b { font-size: 15.3px; }
  .nav__menu span { font-size: 12.6px; }

  /* CTA dentro del panel */
  .nav__cta-mobile { display: block; margin-top: var(--s-2); }
  .nav__cta-mobile .btn { width: 100%; text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
  .statline, .pain-grid, .check-grid, .form-row, .footer__in { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section { padding: var(--s-8) 0; }
  .logos-track { gap: var(--s-6); }
  .logos-track img { height: 64px; }
}

/* =========================================================
   SINGLE-LINE LOGO CAROUSEL (used site-wide)
   One row that scrolls continuously. The track holds the full
   logo set twice so a -50% shift loops seamlessly (no gaps).
   ========================================================= */
.logos-carousel { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-6); }
/* On the coloured/dark logo bands the carousel is the only content */
.band-blue .logos-carousel, .band-navy .logos-carousel { margin-top: 0; }
.logos-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track { display: flex; align-items: center; gap: var(--s-8); width: max-content; will-change: transform; }
.logos-track img { height: 77px; width: auto; object-fit: contain; opacity: .85; flex: 0 0 auto; }
.logos-track--left  { animation: marquee-left  45s linear infinite; }
.logos-track--right { animation: marquee-right 45s linear infinite; }
.logos-carousel:hover .logos-track { animation-play-state: paused; }
@keyframes marquee-left  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0);    } }
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
  .logos-row { overflow-x: auto; }
}

/* =========================================================
   FULL-VIEWPORT SECTIONS (desktop only)
   On desktop each main section fills ≥100% of the viewport height
   and vertically centers its content. Mobile/tablet keep normal flow.
   ========================================================= */
@media (min-width: 1001px) {
  .hero, .section, .contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* "Optimiza tus procesos": altura natural, 100px arriba/abajo */
  .band-dark { padding: 100px 0; }
  /* Vídeo: altura natural, 200px arriba/abajo (no ocupa toda la pantalla) */
  .section--video { min-height: auto; justify-content: flex-start; padding: 100px 0; }
  /* Capacidades de auditorías: altura natural y poco margen arriba/abajo */
  .section--tight { min-height: auto; justify-content: flex-start; padding: var(--s-8) 0; }
  /* nav is sticky (72px); keep hero + nav to exactly one screen */
  .hero { min-height: calc(100vh - 88px); }

  /* ---- Scale content up so it fills the full-height sections ---- */
  .wrap { max-width: 1300px; }

  /* Hero */
  .hero h1 { font-size: 60px; }
  .hero__sub { font-size: 20px; max-width: 34rem; }
  .btn--lg { padding: 17px 32px; font-size: 17px; }

  /* Section headings */
  .section-head { margin-bottom: var(--s-8); }
  .section-head h2, .split h2 { font-size: 44px; }
  .section-head p { font-size: 20px; }

  /* Stats band — componentes más grandes */
  .band-dark .stats__head h2 { font-size: 46px; }
  .band-dark .stats__head p { font-size: 20px; }
  .statline { gap: var(--s-6); }
  .statline b { font-size: 72px; }
  .statline span { font-size: 16px; }
  .logos-track img { height: 115px; }
  .logos-track { gap: var(--s-12); }

  /* Video */
  .video__frame { width: 40vw; max-width: none; }

  /* Product rows — bigger artwork, more breathing room */
  .prow { gap: var(--s-12); margin-bottom: var(--s-12); }
  .device { min-height: 460px; }
  .prow__txt h3 { font-size: 28px; }
  .prow__txt p { font-size: 18px; max-width: 46ch; }

  /* Process / benefits */
  .bt b { font-size: 18px; }
  .bt p { font-size: 15px; }

  /* Value cards */
  .cards3 { gap: var(--s-4); }
  .vcard { padding: var(--s-6); gap: 18px; }
  .vcard__ico { width: 56px; height: 56px; }
  .vcard__ico svg { width: 28px; height: 28px; }
  .vcard p { font-size: 17px; }

  /* Testimonials */
  .quote { padding: var(--s-6); }
  .quote > p { font-size: 17px; }

  /* Contact */
  .form-card { padding: var(--s-8); }
  .form-card h2 { font-size: 30px; }
}

/* =========================================================
   BLOG (generado desde WordPress headless · build-blog.mjs)
   Reutiliza los design tokens del sistema. Sin estética nueva:
   mismas fuentes, colores, sombras y radios que el resto del sitio.
   ========================================================= */

/* ---- Índice del blog ---- */
.blog-index { padding-top: var(--s-8); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 1fr;            /* todas las filas con la misma altura */
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.blog-card {
  display: flex; flex-direction: column;
  height: 100%;                  /* la tarjeta llena su celda → todas iguales */
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.blog-card__media { display: block; aspect-ratio: 16 / 9; background: var(--ink-50); overflow: hidden; }
.blog-card__media--empty { background: linear-gradient(115deg, var(--blue-700), var(--blue-900)); }
.blog-card__img, .blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: var(--s-3); flex: 1; }
.blog-card__cat {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--blue-600); background: var(--blue-50);
  padding: 4px 10px; border-radius: var(--r-1);
}
.blog-card__title {
  font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;   /* título uniforme a 2 líneas */
}
.blog-card__title a { color: var(--fg-1); text-decoration: none; }
.blog-card__title a:hover { color: var(--blue-600); }
.blog-card__excerpt { color: var(--fg-2); font-size: 15px; line-height: 1.55; margin: 0; flex: 1; }
.blog-card__meta { color: var(--fg-3); font-size: 13px; margin: 0; }

/* Paginación */
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: var(--s-8); }
.blog-pager__num, .blog-pager__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--border-1); border-radius: var(--r-1);
  color: var(--fg-1); text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--bg-surface);
}
.blog-pager__num:hover, .blog-pager__link:hover { border-color: var(--blue-300); color: var(--blue-600); }
.blog-pager__num--current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---- Página de post ---- */
.post { padding: var(--s-8) 0 var(--s-12); }
.post__wrap { max-width: 760px; }
.post__crumbs { font-size: 13.5px; color: var(--fg-3); margin-bottom: var(--s-4); }
.post__crumbs a { color: var(--fg-2); text-decoration: none; }
.post__crumbs a:hover { color: var(--blue-600); }
.post__crumbs span { margin: 0 6px; }
.post__head { margin-bottom: var(--s-4); }
.post__cat {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--blue-600); background: var(--blue-50);
  padding: 4px 10px; border-radius: var(--r-1); margin-bottom: var(--s-2);
}
.post__head h1 { font-size: 40px; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 var(--s-2); }
.post__meta { color: var(--fg-3); font-size: 14.5px; margin: 0; }
.post__cover { margin: var(--s-4) 0 var(--s-6); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-2); }
.post__cover img { width: 100%; height: auto; display: block; }

/* Tipografía del cuerpo del artículo */
.post__body { color: var(--fg-1); font-size: 18px; line-height: 1.7; }
.post__body > * + * { margin-top: var(--s-3); }
.post__body h2 { font-size: 28px; line-height: 1.25; letter-spacing: -0.02em; margin-top: var(--s-6); }
.post__body h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; margin-top: var(--s-4); }
.post__body h4 { font-size: 19px; margin-top: var(--s-4); }
.post__body p { margin-bottom: 0; }
.post__body a { color: var(--fg-link); text-decoration: underline; text-underline-offset: 2px; }
.post__body a:hover { color: var(--blue-700); }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body li { margin-top: 8px; }
.post__body img, .post__body picture { max-width: 100%; height: auto; border-radius: var(--r-2); }
.post__body figure { margin: var(--s-4) 0; }
.post__body figure img, .post__body figure picture { width: 100%; box-shadow: var(--shadow-1); }
.post__body figcaption { color: var(--fg-3); font-size: 14px; text-align: center; margin-top: 10px; }
.post__body blockquote {
  border-left: 3px solid var(--blue); background: var(--ink-50);
  padding: var(--s-3) var(--s-4); border-radius: 0 var(--r-2) var(--r-2) 0;
  font-family: var(--font-serif); font-size: 22px; line-height: 1.4; color: var(--ink-800);
}
.post__body code {
  font-family: var(--font-mono); font-size: .9em;
  background: var(--ink-100); padding: 2px 6px; border-radius: var(--r-1);
}
.post__body pre { background: var(--ink-900); color: #fff; padding: var(--s-3); border-radius: var(--r-2); overflow: auto; }
.post__body pre code { background: none; padding: 0; color: inherit; }
.post__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post__body th, .post__body td { border: 1px solid var(--border-1); padding: 10px 12px; text-align: left; }
.post__foot { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--border-1); }
.post__related { margin-top: var(--s-8); }
.post__related > h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: var(--s-4); }
.blog-grid--related { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

@media (max-width: 600px) {
  .post__head h1 { font-size: 30px; }
  .post__body { font-size: 17px; }
  .post__body h2 { font-size: 24px; }
  .post__body blockquote { font-size: 19px; }
}
