/* ==========================================================================
   Orca Business Software - Hoja de estilos principal (solo modo claro)
   Paleta heredada de orca.es: azul #0086cb, ámbar #ffba00, naranja #ff980d
   ========================================================================== */

:root {
  --brand: #0086cb;          /* azul Orca (fondos grandes, texto grande) */
  --brand-strong: #0072b1;   /* azul Orca para botones y texto pequeño (AA con blanco) */
  --brand-deep: #064e7a;
  --navy: #0a2540;
  --amber: #ffba00;
  --orange: #ff980d;
  --ink: #32373c;
  --muted: #5a6169;
  --line: #e1e7ee;
  --bg: #f5f7fa;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .7em 1.35em;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { background: var(--brand-strong); color: #fff; box-shadow: 0 6px 16px rgba(0, 114, 177, .28); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 186, 0, .35); }
.btn--amber:hover { background: var(--orange); color: var(--navy); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--brand-deep); }
.btn--sm { min-height: 36px; padding: .4em 1.05em; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .8em 1.7em; font-size: 1.0625rem; }

/* ---------- Topbar (aviso + utilidades) ---------- */
.topbar { background: var(--navy); color: #cfe0ef; font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #9fd6f5; }
.topbar__notice { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; padding-block: 6px; }
.topbar__notice strong { color: #fff; }
.topbar__notice a { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar__right { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { display: inline-flex; align-items: center; min-height: 24px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; font-weight: 500; }
.social { display: flex; gap: 2px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background .2s; }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social .icon { width: 17px; height: 17px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(10, 37, 64, .10); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.primary-nav { margin-left: auto; }
.brand img { width: 168px; height: auto; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu__item { position: relative; }
.menu__row { display: flex; align-items: center; }
.menu__link { display: block; padding: 10px 11px; color: var(--navy); font-weight: 500; font-size: .96rem; text-decoration: none; border-radius: 8px; position: relative; }
.menu__link::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu__item:hover > .menu__row > .menu__link,
.menu__item.is-active > .menu__row > .menu__link { color: var(--brand-strong); }
.menu__item:hover > .menu__row > .menu__link::after,
.menu__item.is-active > .menu__row > .menu__link::after { transform: scaleX(1); }
.menu__chev { display: grid; place-items: center; width: 24px; height: 32px; margin-left: -9px; padding: 0; background: none; border: 0; color: var(--muted); border-radius: 6px; }
.menu__chev .icon { width: 14px; height: 14px; transition: transform .2s; }
.menu__item.is-open .menu__chev .icon { transform: rotate(180deg); }

.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.menu__item:hover > .submenu,
.menu__item:focus-within > .submenu,
.menu__item.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: .925rem; border-radius: 8px; }
.submenu a:hover { background: var(--bg); color: var(--brand-strong); }
.submenu__label { display: block; padding: 9px 12px 3px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.submenu__group ul { padding-left: 10px; border-left: 2px solid var(--line); margin-left: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--navy); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.primary-nav__extra { display: none; }

@media (max-width: 1139px) {
  .topbar__links, .topbar__phone { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .site-header__cta { display: none; }
  .primary-nav { margin-left: 0; }
  /* Cerrado = display:none para que el panel fuera de pantalla no genere scroll horizontal;
     allow-discrete + @starting-style mantienen la animación de entrada y salida.
     --nav-top (lo fija main.js) coloca el panel bajo la cabecera para que logo y botón cerrar sigan visibles */
  .primary-nav { position: fixed; inset: var(--nav-top, 0px) 0 0 auto; width: min(380px, 100%); padding: 8px 20px calc(32px + env(safe-area-inset-bottom)); background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; display: none; transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), display .3s allow-discrete, visibility .3s allow-discrete; z-index: 99; }
  body.nav-open .primary-nav { display: block; transform: none; visibility: visible; }
  @starting-style { body.nav-open .primary-nav { transform: translateX(105%); } }
  body.nav-open { overflow: hidden; }
  html:has(body.nav-open) { overflow: hidden; }
  body.nav-open::before { content: ''; position: fixed; inset: 0; z-index: 98; background: rgba(10, 37, 64, .45); transition: opacity .3s; }
  @starting-style { body.nav-open::before { opacity: 0; } }
  .nav-toggle { position: relative; z-index: 120; }
  /* backdrop-filter convertiría la cabecera en bloque contenedor del panel fijo y lo recortaría */
  .site-header { background: #fff; backdrop-filter: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__item { border-bottom: 1px solid var(--line); }
  .menu__row { justify-content: space-between; }
  .menu__link { flex: 1; padding: 14px 4px; font-size: 1.0625rem; }
  .menu__link::after { display: none; }
  .menu__chev { width: 44px; height: 44px; margin: 0; }
  .submenu { position: static; min-width: 0; padding: 0 0 10px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; }
  .menu__item.is-open > .submenu { display: block; }
  .menu__item:hover > .submenu { opacity: 1; visibility: visible; }
  .primary-nav__extra { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 16px; padding: 8px 4px 0; }
  .primary-nav__extra a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
}
@media (max-width: 640px) { .topbar__right { display: none; } .topbar__inner { min-height: 0; } .topbar__notice { font-size: .78rem; } .brand img { width: 140px; } }

/* ---------- Tipografía de sección ---------- */
.eyebrow { display: inline-block; margin: 0 0 .9em; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); }
.eyebrow--light { color: #bfe6ff; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 900; }
.section__sub { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }

/* ---------- Hero (claro) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background:
  radial-gradient(55% 70% at 88% 18%, rgba(0, 134, 203, .16), transparent 62%),
  radial-gradient(40% 60% at 0 100%, rgba(0, 134, 203, .08), transparent 65%),
  linear-gradient(180deg, #eaf4fb 0%, #f5fafd 100%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(0, 114, 177, .22) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%); mask-image: linear-gradient(100deg, transparent 30%, #000 100%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px) clamp(96px, 10vw, 128px); }
.hero__inner > * { min-width: 0; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; color: var(--navy); letter-spacing: -.02em; margin-bottom: .45em; }
.hl { color: var(--brand); white-space: nowrap; }
/* --brand no llega a 4.5:1 en texto < 24 px */
.demo__sub .hl { color: var(--brand-strong); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--outline { background: #fff; color: var(--brand-strong); border-color: #b9dcf0; }
.btn--outline:hover { border-color: var(--brand); background: #eaf6fd; color: var(--brand-deep); transform: translateY(-2px); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(10, 37, 64, .12); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 1.1rem; color: var(--navy); }
.hero__facts span { font-size: .875rem; color: var(--muted); }
.hero__visual img { width: 100%; height: auto; mix-blend-mode: multiply; animation: rise .8s var(--ease) .15s both, float 8s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .lead { max-width: none; }
  .hero__visual { order: -1; max-width: 560px; margin-inline: auto; }
}

/* ---------- Franja Verifactu (solapa el hero) ---------- */
.vf { position: relative; z-index: 2; margin-top: -64px; padding-bottom: clamp(48px, 7vw, 88px); }
.vf__card { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 20px; box-shadow: var(--shadow-lg); }
.vf__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; color: var(--brand-strong); background: #e5f3fb; border-radius: 18px; }
.vf__icon .icon { width: 32px; height: 32px; }
.vf__text { flex: 1 1 320px; }
.vf__text h2 { margin: 0 0 .25em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 900; }
.vf__text p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.vf__text strong { color: var(--navy); }
@media (max-width: 599px) { .vf__card .btn { width: 100%; } }

/* ---------- Spotlight (efecto de foco bajo el cursor) ---------- */
.spot { --mx: 50%; --my: 50%; position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 134, 203, .13), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* ---------- Tarjetas de servicios ---------- */
.section--services { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.card { grid-column: span 2; display: flex; flex-direction: column; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:nth-child(n+4) { grid-column: span 3; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.card:focus-within { border-color: var(--brand); }
.card__media { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 20px; background: linear-gradient(145deg, #eaf6fd, #fff6dc); border-radius: 22px; }
.card__media img { width: 60px; height: 60px; object-fit: contain; }
.card__title { font-size: 1.5rem; font-weight: 900; margin-bottom: .4em; }
.card__title a { color: var(--navy); text-decoration: none; }
.card p { color: var(--muted); flex: 1; }
.card p strong { color: var(--ink); }
.stretched::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-strong); }
.card__more .icon { transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(5px); }
@media (max-width: 899px) { .cards { grid-template-columns: repeat(2, 1fr); } .card, .card:nth-child(n+4) { grid-column: span 1; } .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .cards { grid-template-columns: 1fr; } .card:last-child { grid-column: auto; } }

/* ---------- Banda de cita ---------- */
.band { padding-block: clamp(48px, 7vw, 80px); }
.band--brand { position: relative; overflow: hidden; background: var(--brand); color: #fff; }
.band--brand::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0, rgba(255, 186, 0, .28), transparent 60%), radial-gradient(40% 100% at 0 100%, rgba(6, 78, 122, .5), transparent 60%); }
.band__quote { position: relative; max-width: 900px; margin: 0 auto; text-align: center; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 500; line-height: 1.35; }
.band__quote a { color: #fff; font-weight: 900; white-space: nowrap; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.band__quote a:hover { color: var(--amber); }

/* ---------- Distribuidores ---------- */
.section--partners { padding-block: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.partners__title { text-align: center; margin-bottom: 28px; font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px clamp(32px, 7vw, 88px); }
.partners img { height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.partners li:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* ---------- Clientes (marquesina) ---------- */
.section--trust { padding-bottom: clamp(48px, 7vw, 80px); overflow: hidden; }
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(40px, 10vw, 160px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 20px; padding-right: 20px; }
.marquee__list li { display: grid; place-items: center; width: 140px; height: 140px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.marquee__list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.marquee__list img { width: 100%; height: 100%; object-fit: contain; }
.marquee__toggle { position: absolute; right: var(--gutter); top: -44px; z-index: 3; padding: 6px 12px; font-size: .8125rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.marquee__toggle:hover { color: var(--brand-strong); border-color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonios ---------- */
.section--testi { background: var(--bg); }
.carousel-ctrl { display: flex; gap: 10px; }
.carousel-ctrl button { --ctrl-bg: var(--white); --ctrl-fg: var(--navy); display: grid; place-items: center; width: 48px; height: 48px; color: var(--ctrl-fg); background: var(--ctrl-bg); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s; }
.carousel-ctrl button:hover { background: var(--brand-strong); color: #fff; transform: scale(1.06); }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 28px; scrollbar-width: thin; scrollbar-color: #b9c8d6 transparent; }
.testi { flex: 0 0 min(440px, 86%); margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-snap-align: start; position: relative; }
.testi::before { content: '“'; position: absolute; top: 4px; right: 22px; font-size: 6rem; line-height: 1; font-weight: 900; color: #e5f3fb; pointer-events: none; }
.testi blockquote { margin: 0; position: relative; }
.testi blockquote p { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi figcaption img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.testi__avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 12px; }
.testi strong { display: block; color: var(--navy); }
.testi em { display: block; font-style: normal; font-size: .875rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(56px, 8vw, 88px); color: #fff; background: linear-gradient(120deg, var(--navy), var(--brand-deep) 60%, var(--brand)); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 900; margin-bottom: .3em; }
.cta p { margin: 0; color: #d3e8f6; font-size: 1.125rem; }

/* ---------- Noticias ---------- */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.news__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg); }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news__item:hover .news__img img { transform: scale(1.06); }
.news__item h3 { margin: 18px 20px 10px; font-size: 1.0625rem; line-height: 1.35; flex: 1; }
.news__item h3 a { color: var(--navy); text-decoration: none; }
.news__item h3 a:hover { color: var(--brand-strong); }
.news__more { display: inline-flex; align-items: center; gap: 6px; margin: 0 20px 20px; font-weight: 700; font-size: .9375rem; text-decoration: none; }
@media (max-width: 1023px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .news { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 88px); color: #c3d4e3; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px 48px; }
.footer-brand p { margin: 20px 0; max-width: 36ch; font-size: .9375rem; }
.footer-title { margin-bottom: 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-col li + li { margin-top: 10px; }
.site-footer a { color: #c3d4e3; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-col li { font-size: .9375rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { margin-top: 4px; color: var(--amber); }
.social--footer a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); }
.social--footer a:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; color: #fff; background: #1a8f4a; border-radius: 50%; box-shadow: 0 10px 28px rgba(26, 143, 74, .45); transition: transform .25s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Componentes de página interior ---------- */
.hero--page .hero__inner { padding-block: clamp(48px, 7vw, 88px); }
.lead--wide { max-width: 56ch; font-size: clamp(1.0625rem, 1.4vw, 1.15rem); }
.lead strong { color: var(--navy); }
.hero__visual--narrow { max-width: 440px; margin-inline: auto; width: 100%; }
.section--tint { background: var(--bg); }
.btn--white { background: #fff; color: var(--brand-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn--white:hover { background: #eaf6fd; color: var(--brand-deep); transform: translateY(-2px); }

/* Rejilla de beneficios con icono */
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feat__item { display: flex; align-items: flex-start; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feat__item p { margin: 0; font-size: 1.0625rem; }
.feat__item strong { color: var(--navy); }
.feat__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; color: var(--brand-strong); background: linear-gradient(145deg, #eaf6fd, #dff0fa); border-radius: 14px; }
.feat__icon .icon { width: 26px; height: 26px; }
.feat__icon--lg { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; }
.feat__icon--lg .icon { width: 32px; height: 32px; }
@media (max-width: 799px) { .feat { grid-template-columns: 1fr; } }

/* Bloque dividido texto + medio */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; }
.split p { font-size: 1.125rem; color: var(--muted); }
.split p strong { color: var(--navy); }
.split .eyebrow { margin-bottom: .9em; font-size: .8125rem; color: var(--brand-strong); }
.logo-card { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); }
.logo-card img { width: 100%; max-width: 420px; height: auto; }
@media (max-width: 799px) { .split { grid-template-columns: 1fr; } }

/* CTA con lateral */
.cta__inner > div:first-child { max-width: 640px; }
.cta h2 strong { color: #fff; }
.cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .25); }
.cta__side p { font-size: 1rem; }
.cta__side strong { color: #fff; }
@media (max-width: 899px) { .cta__side { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); width: 100%; } }

/* Servicios numerados */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.service { display: flex; flex-direction: column; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service__n { font-size: 2.25rem; font-weight: 900; line-height: 1; color: #cfe6f4; margin-bottom: 14px; }
.service h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 700; flex: 1; margin-bottom: 18px; }
.service__price { align-self: flex-start; margin: 0; padding: 6px 14px; font-weight: 900; font-size: 1.125rem; color: var(--brand-deep); background: #e5f3fb; border-radius: 999px; }
@media (max-width: 1023px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .services { grid-template-columns: 1fr; } }

/* Variantes de rejilla */
.feat--3 { grid-template-columns: repeat(3, 1fr); }
.feat--4 { grid-template-columns: repeat(4, 1fr); }
.feat__item--col { flex-direction: column; gap: 18px; }
@media (max-width: 1023px) { .feat--4 { grid-template-columns: repeat(2, 1fr); } .feat--3 { grid-template-columns: 1fr; } .feat--3 .feat__item--col { flex-direction: row; } }
@media (max-width: 599px) { .feat--4 { grid-template-columns: 1fr; } }
.services--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .services--3 { grid-template-columns: 1fr; } }

/* Marco con resplandor para imagen */
.glow-frame { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(135deg, var(--brand), #7fd0f5 45%, var(--brand-deep)); box-shadow: 0 30px 70px rgba(0, 114, 177, .28); animation: rise .8s var(--ease) .15s both; }
.glow-frame::before { content: ''; position: absolute; inset: -18px; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(0, 134, 203, .35), transparent); filter: blur(18px); }
.glow-frame img { width: 100%; height: auto; border-radius: 25px; }
.hero__kicker { margin: 0 0 .7em; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: var(--brand-strong); letter-spacing: 0; }

/* Pasos numerados */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; position: relative; }
.step { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; font-weight: 900; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 114, 177, .3); }
.step h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.ticks .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; color: #fff; background: var(--brand-strong); border-radius: 50%; stroke-width: 3; }
.ticks--lg { gap: 14px; margin-top: 20px; }
.ticks--lg li { font-size: 1.0625rem; }
.ticks strong { color: var(--navy); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }
.cta__alert { font-size: 1.25rem; color: #fff; }
.cta p + p { margin-top: .8em; }
.cta__side a:not(.btn) { color: #fff; }

/* Ticket BAI: abanico de packs, calendario, complementos, hardware */
.lang-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.8em; padding: 6px 16px 6px 8px; font-weight: 700; color: var(--brand-deep); background: #fff; border: 1px solid #b9dcf0; border-radius: 999px; box-shadow: var(--shadow-sm); }
.lang-badge img { width: 36px; height: 22px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.fan { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1.1 / 1; margin-inline: auto; }
.fan img { position: absolute; width: 47%; height: auto; filter: drop-shadow(0 18px 28px rgba(10, 37, 64, .22)); }
.fan__a { left: 0; top: 16%; transform: rotate(-9deg); animation: riseT .8s var(--ease) .1s both; }
.fan__b { left: 26.5%; top: 0; z-index: 2; animation: riseT .8s var(--ease) .2s both, float 8s ease-in-out 1s infinite; }
.fan__c { right: 0; top: 16%; transform: rotate(9deg); animation: riseT .8s var(--ease) .3s both; }
@keyframes riseT { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 899px) { .fan { max-width: 420px; } }

.split--even { grid-template-columns: 1fr 1fr; align-items: start; }
.note { padding: clamp(24px, 3vw, 36px); background: linear-gradient(160deg, #fff, #eef7fd); border: 1px solid #cfe6f4; border-radius: 20px; box-shadow: var(--shadow-md); }
.note .feat__icon { margin-bottom: 16px; }
.note h3 { font-size: 1.35rem; font-weight: 900; }
.note p { color: var(--muted); }
.note p:last-child { margin-bottom: 0; }
.subhead { margin: clamp(40px, 6vw, 72px) 0 24px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 900; text-align: center; }
.provinces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.province { padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.province h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.35rem; font-weight: 900; }
.province h4 .icon { color: var(--brand-strong); }
.province dl { display: grid; gap: 14px; margin: 0; }
.province dt { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); }
.province dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
@media (max-width: 899px) { .provinces { grid-template-columns: 1fr; } .split--even { grid-template-columns: 1fr; } }

.feat__title { margin: 0; font-size: 1.2rem; font-weight: 900; }
.feat__item--col p { margin: 0; }
.feat__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; text-decoration: none; }
.feat__link .icon { transition: transform .2s var(--ease); }
.feat__link:hover .icon { transform: translateX(4px); }

.langs__label { margin: 24px 0 14px; font-weight: 700; color: var(--navy); }
.langs { display: flex; flex-wrap: wrap; gap: 14px; }
.langs li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-weight: 500; }
.langs img { width: 36px; height: 24px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.matrix { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.matrix:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.matrix img { width: 100%; height: auto; }
.matrix__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: .875rem; font-weight: 700; color: #fff; background: var(--brand-strong); border-radius: 999px; }

.table-fig { margin: 0; }
.table-fig__scroll { overflow-x: auto; padding: clamp(12px, 2vw, 24px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.table-fig__scroll img { width: 100%; min-width: 760px; height: auto; margin-inline: auto; }
.table-fig figcaption { margin-top: 14px; text-align: center; font-weight: 700; }
.table-fig figcaption a { display: inline-flex; align-items: center; gap: 6px; }
.packs { display: flex; gap: 20px; margin: 0; padding: 6px 4px 24px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b9c8d6 transparent; }
.pack { flex: 0 0 clamp(170px, 20vw, 220px); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-snap-align: start; }
.pack img { width: 100%; height: auto; }
.pack span { font-weight: 700; color: var(--navy); font-size: .9375rem; }

.hw { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); color: #fff; background: linear-gradient(120deg, var(--navy), var(--brand-deep) 60%, var(--brand)); border-radius: 28px; box-shadow: var(--shadow-lg); }
.hw h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 900; }
.hw p { color: #d3e8f6; font-size: 1.125rem; margin-bottom: 1.6em; }
.hw__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hw__list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 700; letter-spacing: .02em; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; }
.hw__list .icon { flex: none; width: 22px; height: 22px; padding: 4px; color: var(--navy); background: #fff; border-radius: 50%; stroke-width: 3; }
@media (max-width: 899px) { .hw { grid-template-columns: 1fr; } }

/* Módulo Verifactu ERP */
.invoice { position: relative; max-width: 480px; margin-inline: auto; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid #cfe6f4; border-radius: 24px; box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) .15s both; }
.invoice::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, var(--brand), #7fd0f5); }
.invoice img { width: 100%; height: auto; }
.invoice__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px dashed #cfe6f4; }
.invoice__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: .875rem; font-weight: 700; color: var(--brand-deep); background: #e5f3fb; border-radius: 999px; }
.invoice__chips .icon { width: 16px; height: 16px; }

.plan { display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.plan__main { padding: clamp(26px, 4vw, 48px); }
.plan__main h2 { margin: 14px 0 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; }
.tag { display: inline-block; padding: 6px 14px; font-size: .875rem; font-weight: 700; color: var(--brand-deep); background: #e5f3fb; border: 1px solid #cfe6f4; border-radius: 999px; }
.plan__price { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(26px, 4vw, 48px); color: #fff; background: linear-gradient(150deg, var(--navy), var(--brand-deep) 55%, var(--brand)); }
.plan__from { font-size: 1rem; color: #bfe0f5; }
.plan__amount { font-size: clamp(2.6rem, 5vw, 3.75rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.plan__amount small { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: #d3e8f6; }
.plan__extra { margin-bottom: 18px; padding-bottom: 18px; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.plan__price .btn { align-self: flex-start; }
@media (max-width: 899px) { .plan { grid-template-columns: 1fr; } }

.flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: f; }
.flow li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-left: 20px; padding: 18px 24px; font-size: 1.15rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); counter-increment: f; }
.flow li + li { margin-top: 26px; }
.flow li::before { content: counter(f); position: absolute; left: -20px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 114, 177, .3); }
.flow li + li::after { content: ''; position: absolute; left: 0; top: -26px; height: 26px; width: 2px; background: repeating-linear-gradient(var(--brand) 0 4px, transparent 4px 8px); }
.flow li { padding-left: 36px; }
.flow .is-end { color: #fff; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); border-color: transparent; }
.flow .is-end .icon { width: 24px; height: 24px; }
.feat--cards .feat__item { gap: 14px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.benefit { padding: 32px 28px; text-align: center; background: linear-gradient(180deg, #fff, #f1f8fd); border: 1px solid #cfe6f4; border-radius: 20px; }
.benefit__n { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 114, 177, .3); }
.benefit__n .icon { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.25rem; font-weight: 900; }
.benefit p { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .benefits { grid-template-columns: 1fr; } }

.cta--center { text-align: center; }
.cta--center h2 { margin-bottom: 1em; }
.cta__note { margin: 20px 0 0 !important; font-size: .9375rem !important; color: #d3e8f6; }

/* Ley Crea y Crece */
.infographic { margin: 0; max-width: 440px; margin-inline: auto; padding: 12px; background: #fff; border: 1px solid #cfe6f4; border-radius: 28px; box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) .15s both; }
.infographic img { width: 100%; height: auto; border-radius: 18px; }
.infographic figcaption { padding: 12px 8px 4px; font-size: .8125rem; color: var(--muted); word-break: break-word; }
.law { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.law__card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.law__card p { margin: 0; font-size: 1.0625rem; }
.law__card strong { color: var(--navy); }
.law__card--alert { background: linear-gradient(160deg, #fffaf0, #fff); border-color: #ffe2a3; }
.feat__icon--amber { color: #8a5a00; background: #fff0c7; }
.phases { display: grid; gap: 12px; margin: auto 0 0; padding: 0; list-style: none; }
.phases li { display: flex; flex-direction: column; padding: 14px 18px; background: #fff; border: 1px solid #ffe2a3; border-left: 5px solid var(--amber); border-radius: 12px; }
.phases span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; }
.phases strong { font-size: 1.1rem; color: var(--navy); }
@media (max-width: 899px) { .law { grid-template-columns: 1fr; } }

/* No Problem Franky */
.brandmark { width: clamp(180px, 22vw, 260px); height: auto; margin-bottom: 20px; }
.net { width: 100%; height: auto; mix-blend-mode: multiply; animation: rise .8s var(--ease) .15s both, float 9s ease-in-out 1s infinite; }
.icon-band { padding: 8px 0 0; background: linear-gradient(180deg, #f5fafd, #fff); border-bottom: 1px solid var(--line); }
.icon-band img { width: 100%; max-width: 705px; height: auto; margin-inline: auto; mix-blend-mode: multiply; }
.photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; box-shadow: var(--shadow-lg); }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 134, 203, .12), rgba(10, 37, 64, .55)); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo__chip { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-weight: 700; color: var(--navy); background: #fff; border-radius: 999px; box-shadow: var(--shadow-md); }
.photo__chip .icon { color: var(--brand-strong); }
.note--wide { display: flex; gap: clamp(18px, 3vw, 36px); align-items: flex-start; }
.note--wide p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.note--wide .feat__icon--lg { margin: 0; flex: none; }
@media (max-width: 599px) { .note--wide { flex-direction: column; } }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.group { padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.group__head h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.group .ticks li { font-size: .9625rem; }
@media (max-width: 1023px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 679px) { .groups { grid-template-columns: 1fr; } }

/* No Problem Cooking */
.lead--strong { margin-bottom: 1em; font-weight: 500; color: var(--navy); }
.save { display: flex; align-items: center; gap: 20px; margin: 0 0 1.8em; padding: 18px 22px; max-width: 560px; background: #fff; border: 1px solid #cfe6f4; border-radius: 20px; box-shadow: var(--shadow-md); }
.save__n { flex: none; display: grid; place-items: center; min-width: 84px; height: 84px; padding: 0 12px; font-size: 2rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 20px; box-shadow: 0 10px 24px rgba(0, 114, 177, .3); }
.save p { margin: 0; color: var(--ink); }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sector { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.sector--wide { grid-column: span 2; background: linear-gradient(150deg, #fff, #eef7fd); }
.sector h3 { margin: 0; padding-right: 36px; font-size: 1.3rem; font-weight: 900; }
.sector h3 a { color: var(--navy); text-decoration: none; }
.sector p { margin: 0; color: var(--muted); }
.sector__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--brand-strong); background: #e5f3fb; border-radius: 50%; transition: background .2s, color .2s, transform .2s var(--ease); }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.sector:hover .sector__go { color: #fff; background: var(--brand-strong); transform: translate(2px, -2px); }
@media (max-width: 899px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .sectors { grid-template-columns: 1fr; } .sector--wide { grid-column: auto; } }
.cook { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cook__item { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cook__item:nth-last-child(-n+2) { grid-column: span 3; }
.cook__item img { width: 56px; height: 56px; }
.cook__item h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 900; }
.cook__item p { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .cook { grid-template-columns: 1fr 1fr; } .cook__item, .cook__item:nth-last-child(-n+2) { grid-column: span 1; } .cook__item:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .cook { grid-template-columns: 1fr; } .cook__item:last-child { grid-column: auto; } }

/* No Problem ERP Cloud */
.ask { display: flex; align-items: center; gap: 16px; max-width: 560px; margin: 0 0 1.4em; padding: 16px 20px; background: #fff; border: 1px solid #cfe6f4; border-radius: 18px; box-shadow: var(--shadow-sm); }
.ask p { margin: 0; color: var(--ink); font-weight: 500; }
.appwin { position: relative; max-width: 520px; margin-inline: auto; background: #fff; border: 1px solid #cfe6f4; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 114, 177, .25); animation: rise .8s var(--ease) .15s both; }
.appwin__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #eef4f9; border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.appwin__dots { display: flex; gap: 6px; }
.appwin__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7d3de; }
.appwin__url { flex: 1; padding: 4px 14px; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.appwin__body { padding: 18px 20px 24px; }
.appwin__home { margin: 0 0 14px; font-size: .8125rem; font-weight: 700; color: var(--brand-strong); }
.appwin__tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0; padding: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); }
.appwin__tiles li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 10px 2px; font-size: .75rem; font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: anywhere; color: var(--navy); background: #f1f8fd; border-radius: 12px; animation: riseT .6s var(--ease) calc(.5s + var(--i) * 70ms) both; transition: background .2s, transform .2s var(--ease); }
.appwin__tiles li:hover { background: #dff0fa; transform: translateY(-3px); }
.appwin__tiles .icon { width: 22px; height: 22px; color: var(--brand-strong); }
.appwin__welcome { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 0 6px; text-align: center; }
.appwin__welcome img { width: 64px; height: auto; }
.appwin__welcome p { margin: 0; font-size: 1.35rem; font-weight: 300; color: var(--navy); }
.appwin__chip { position: absolute; padding: 8px 16px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 114, 177, .35); animation: float 6s ease-in-out infinite; }
.appwin__chip--a { top: -16px; right: 28px; }
.appwin__chip--b { bottom: -16px; left: 28px; animation-delay: -3s; }
@media (max-width: 479px) { .appwin__tiles { grid-template-columns: repeat(4, 1fr); } .appwin__url { display: none; } }
.cook--icons .cook__item { flex-direction: row; align-items: flex-start; }
.cook--icons .cook__item .feat__icon { flex: none; }
.cook--icons { grid-template-columns: repeat(2, 1fr); }
.cook--icons .cook__item, .cook--icons .cook__item:nth-last-child(-n+2) { grid-column: span 1; }
@media (max-width: 799px) { .cook--icons { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .cook--icons .cook__item { flex-direction: column; } }

/* Data Analytics */
.store { max-width: 500px; margin: 0 auto; padding: 10px; background: #fff; border: 1px solid #cfe6f4; border-radius: 24px; box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) .15s both; }
.store img { width: 100%; height: auto; border-radius: 16px; }
.split__q { margin: 1.4em 0 .6em; font-size: 1.25rem; font-weight: 900; color: var(--brand-strong); }
.login { max-width: 340px; margin: 0 auto; padding: 14px; background: linear-gradient(135deg, var(--brand), #7fd0f5 50%, var(--brand-deep)); border-radius: 26px; box-shadow: 0 30px 70px rgba(0, 114, 177, .3); }
.login img { width: 100%; height: auto; border-radius: 14px; background: #fff; }
.funding { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: clamp(36px, 5vw, 60px) 0 0; }
.funding img { width: 100%; max-width: 520px; height: auto; padding: 18px 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.funding figcaption { max-width: 560px; text-align: center; font-size: .875rem; color: var(--muted); }

/* Verifactu */
.container--narrow { max-width: 900px; }
.center { text-align: center; margin: clamp(28px, 4vw, 48px) 0 0; }
.doc-card h2 { margin: 18px 0 6px; font-size: 1.35rem; font-weight: 900; }
.doc-card p { margin: 0 0 18px; color: var(--muted); }
.doc-card__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.alertline { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 1.2em; padding: 14px 18px; font-weight: 700; color: #7a4b00; background: #fff4d6; border: 1px solid #ffe2a3; border-left: 5px solid var(--amber); border-radius: 14px; }
.alertline .icon { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.contact--wide .contact__intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.flowchart { grid-column: 1 / -1; position: relative; display: block; max-width: 760px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.flowchart:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flowchart img { width: 100%; height: auto; }
@media (max-width: 799px) { .why { grid-template-columns: 1fr; } }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; color: var(--ink); }
.stars { display: flex; gap: 2px; margin: 0; color: var(--amber); }
.stars .icon { width: 20px; height: 20px; fill: currentColor; }
.review__who { display: flex; align-items: center; gap: 14px; }
.review__who img { width: 48px; height: 48px; border-radius: 50%; }
.review__who p { margin: 0; line-height: 1.35; }
.review__who strong { display: block; color: var(--navy); }
.review__who span { display: block; font-size: .875rem; color: var(--muted); word-break: break-word; }
@media (max-width: 1023px) { .reviews { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; gap: 22px; max-width: 760px; margin: 0 auto; padding: 0 0 0 34px; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--brand), #b9dcf0); border-radius: 3px; }
.timeline__item { position: relative; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline__dot { position: absolute; left: -34px; top: 28px; width: 23px; height: 23px; background: #fff; border: 5px solid var(--brand); border-radius: 50%; box-shadow: 0 0 0 5px #e5f3fb; }
.timeline h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 900; color: var(--brand-strong); }
.timeline p { margin: 0; color: var(--ink); }
.upd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); color: #fff; background: linear-gradient(120deg, var(--navy), var(--brand-deep) 60%, var(--brand)); border-radius: 28px; box-shadow: var(--shadow-lg); }
.upd h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; }
.upd p { margin: 0; color: #d3e8f6; font-size: 1.125rem; }
.upd__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.upd__stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; text-align: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; }
.upd__stats strong { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.upd__stats strong .icon { width: 32px; height: 32px; }
.upd__stats span { font-size: .875rem; color: #d3e8f6; }
@media (max-width: 899px) { .upd { grid-template-columns: 1fr; } }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.checks .icon { flex: none; width: 28px; height: 28px; padding: 5px; color: #fff; background: var(--brand-strong); border-radius: 50%; stroke-width: 3; }
.btnrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 899px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .checks { grid-template-columns: 1fr; } .btnrow .btn { width: 100%; } }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9dcf0; box-shadow: var(--shadow-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.0625rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; font-size: 1.4rem; line-height: 1; color: var(--brand-strong); background: #e5f3fb; border-radius: 50%; transition: transform .25s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { content: '–'; background: var(--brand-strong); color: #fff; }
.faq summary:hover { color: var(--brand-strong); }
.faq__a { padding: 0 24px 22px; color: var(--ink); }
.faq__a p { margin: 0 0 .8em; }
.faq__a ul { margin: 0 0 .8em; padding-left: 1.2em; list-style: disc; }
.faq__a li { margin-bottom: .4em; }
.faq__a > :last-child { margin-bottom: 0; }

/* Software TPV */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.roadmap__item { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), border-color .3s; }
.roadmap__item:hover { transform: translateY(-5px); border-color: #b9dcf0; }
.roadmap__ico { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 50% 50% 50% 8px; box-shadow: 0 12px 26px rgba(0, 114, 177, .3); }
.roadmap__ico .icon { width: 30px; height: 30px; }
.roadmap__ico b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; font-size: .8125rem; color: var(--navy); background: #fff; border: 2px solid var(--brand); border-radius: 50%; }
.roadmap__item h2 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 900; }
.roadmap__item p { margin: 0; font-size: .9625rem; color: var(--muted); }
.roadmap__item p strong { color: var(--navy); }
@media (max-width: 1023px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .roadmap { grid-template-columns: 1fr; } }

.course { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); color: #fff; background: linear-gradient(135deg, rgba(6, 40, 70, .93), rgba(0, 94, 150, .86)), var(--bg) center / cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.course__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.course__head h3 { margin: 14px 0 10px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
.course__head p { margin: 0; color: #d3e8f6; font-size: 1.125rem; }
.tag--light { color: var(--brand-deep); background: #fff; border-color: #fff; }
.course__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic { padding: 22px 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; backdrop-filter: blur(6px); }
.topic h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #fff; font-size: 1.15rem; font-weight: 900; }
.topic h4 .icon { width: 22px; height: 22px; color: #7fd0f5; }
.topic ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: #e3f2fc; }
.topic li { padding-left: 14px; position: relative; }
.topic li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: #7fd0f5; border-radius: 50%; }
.course__more { margin: 22px 0 0; font-weight: 700; color: #fff; }
@media (max-width: 1023px) { .course__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .course__grid { grid-template-columns: 1fr; } }

.train { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.train__photo { grid-column: 1 / -1; position: relative; margin: 0; height: clamp(180px, 24vw, 300px); overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-md); }
.train__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.train__card { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.train__card h3 { font-size: 1.4rem; font-weight: 900; }
.train__sub { margin: 0 0 20px; font-weight: 700; color: var(--brand-strong); }
.mini-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: flex; align-items: center; gap: 16px; }
.mini-steps b { flex: none; display: grid; place-items: center; min-width: 64px; height: 44px; padding: 0 10px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 12px; }
.mini-steps span { color: var(--ink); }
.footnote { margin: 18px 0 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 799px) { .train { grid-template-columns: 1fr; } }

.support { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.support__pack { width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(10, 37, 64, .2)); }
.support__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.support__item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.support__item.is-main { background: linear-gradient(150deg, #fff, #eef7fd); border-color: #b9dcf0; }
.support__item h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 900; }
.support__item p { margin: 0; color: var(--muted); }
.support__item .feat__icon { flex: none; }
@media (max-width: 899px) { .support { grid-template-columns: 1fr; } .support__pack { max-width: 180px; margin-inline: auto; } .support__list { grid-template-columns: 1fr; } }

.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.mods--sector { grid-template-columns: repeat(3, 1fr); }
.mod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 18px 22px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.mod:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.mod img { width: 62%; height: auto; margin-bottom: 4px; }
.mod h3 { margin: 0; font-size: 1.15rem; font-weight: 900; }
.mod p { flex: 1; margin: 0; font-size: .9375rem; color: var(--muted); }
.mod__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.mod__link .icon { transition: transform .2s var(--ease); }
.mod:hover .mod__link .icon { transform: translateX(4px); }
.mods--sector img { width: 46%; }
@media (max-width: 1023px) { .mods { grid-template-columns: repeat(2, 1fr); } .mods--sector { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .mods, .mods--sector { grid-template-columns: 1fr; } }

.cta--photo { position: relative; background: linear-gradient(120deg, rgba(10, 37, 64, .92), rgba(6, 78, 122, .85) 60%, rgba(0, 134, 203, .75)), var(--bg) center / cover; }
.cta--photo h2 { margin-bottom: .4em; }
.cta--photo .btnrow { margin-top: 28px; }
.cta--center { text-align: center; }

/* ERP E-commerce */
.agent { background: #fff; border-bottom: 1px solid var(--line); }
.agent__inner { padding-block: 22px; }
.agent img { width: 100%; max-width: 760px; height: auto; margin-inline: auto; }
@media (max-width: 599px) { .agent { display: none; } }
.tools { margin-top: 24px; width: 100%; max-width: 420px; height: auto; }
.field__label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
/* El input oculto se ancla a su pastilla: suelto se iba a la derecha y generaba scroll horizontal */
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; font-weight: 500; color: var(--navy); background: #fff; border: 1.5px solid #c7d3de; border-radius: 999px; transition: border-color .2s, background .2s, color .2s; }
.radio:hover span { border-color: var(--brand); }
.radio input:checked + span { color: #fff; background: var(--brand-strong); border-color: var(--brand-strong); }
.radio input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form__grid .field:has(.radios) { grid-column: 1 / -1; }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.offer__item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 22px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.offer__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.offer__item img { width: 110px; height: 110px; object-fit: contain; }
.offer__item h3 { margin: 0; font-size: 1.15rem; font-weight: 900; }
@media (max-width: 899px) { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 539px) { .offer { grid-template-columns: 1fr; } }
.photo--plain { aspect-ratio: 4 / 3; }
.photo--plain::after { display: none; }
.video { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 24px; box-shadow: var(--shadow-lg); }
.video__play, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; background: none; border: 0; cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video__play:hover img { transform: scale(1.04); }
.video__btn { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; color: var(--brand-strong); background: #fff; border-radius: 50%; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.video__play:hover .video__btn { transform: scale(1.1); }
.video__btn .icon { width: 34px; height: 34px; margin-left: 4px; }
.pack__text { margin: 1.4em 0; font-size: 1.125rem; color: var(--muted); }
.packshot { display: grid; place-items: center; padding: 28px; background: radial-gradient(70% 70% at 50% 40%, #eaf6fd, #fff); border: 1px solid #cfe6f4; border-radius: 28px; }
.packshot img { width: 70%; max-width: 300px; height: auto; filter: drop-shadow(0 22px 30px rgba(10, 37, 64, .25)); animation: float 8s ease-in-out infinite; }
.e360 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.e360__main { grid-column: 1 / -1; }
.e360__main, .e360__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.e360 h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.e360 p { margin: 0; color: var(--ink); }
@media (max-width: 799px) { .e360 { grid-template-columns: 1fr; } }
.ticks--card { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.faq__intro { margin: 0 0 16px; text-align: center; font-weight: 700; color: var(--brand-strong); }
.faq__a p + p { margin-top: .6em; }

/* TPV Verifactu */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .steps--3 { grid-template-columns: 1fr; } }
.step p { margin: 0; color: var(--muted); }
.plan__note { margin: 12px 0 0; color: var(--muted); font-size: 1.0625rem; }
.callout { display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; padding: clamp(26px, 4vw, 44px); background: linear-gradient(160deg, #fffaf0, #fff); border: 1px solid #ffe2a3; border-left: 6px solid var(--amber); border-radius: 22px; box-shadow: var(--shadow-sm); }
.callout .feat__icon--lg { margin: 0; flex: none; }
.callout h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
.callout p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.callout strong { color: var(--navy); }
@media (max-width: 599px) { .callout { flex-direction: column; } }

/* Formulario largo */
.contact--wide { grid-template-columns: .7fr 1.3fr; }
.form__group { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); }
.field select { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c7d3de; border-radius: 12px; }
.field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 134, 203, .18); }
@media (max-width: 899px) { .contact--wide { grid-template-columns: 1fr; } }

/* Contacto + formulario */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__intro h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 900; }
.contact__intro p { font-size: 1.125rem; color: var(--muted); }
.contact__intro .eyebrow { font-size: .8125rem; color: var(--brand-strong); }
.contact__form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 20px; box-shadow: var(--shadow-md); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.field label span { color: var(--brand-strong); }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c7d3de; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field input:hover { border-color: #9db3c4; }
.field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 134, 203, .18); }
.has-error input { border-color: #c62828; }
.field__error { margin: 6px 0 0; font-size: .85rem; color: #b71c1c; }
.check { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 24px; }
.check input { width: 22px; height: 22px; accent-color: var(--brand-strong); flex: none; }
.check label { font-size: .95rem; }
.check .field__error { flex-basis: 100%; }
/* Honeypot: invisible y sin coordenadas negativas (estas provocaban desborde horizontal) */
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.alert { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; margin-bottom: 20px; border-radius: 14px; }
.alert .icon { width: 26px; height: 26px; margin-top: 2px; }
.alert p { margin: 0; }
.alert--ok { color: #14532d; background: #e7f6ec; border: 1px solid #a7dcb8; }
.alert--error { color: #7f1d1d; background: #fdecec; border: 1px solid #f1b4b4; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form__grid { grid-template-columns: 1fr; } .contact__form .btn { width: 100%; } }

/* ---------- Páginas interiores (provisional) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 96px); color: #fff; background: linear-gradient(110deg, var(--navy), var(--brand-deep) 55%, var(--brand)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 900; margin: 0; }
.prose { max-width: 760px; }

/* ---------- Animación de entrada al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .marquee__list[aria-hidden="true"], .marquee__toggle, .marquee::before, .marquee::after { display: none; }
  .primary-nav, body.nav-open::before { transition: none; }
}

/* Demo TPV */
.demo { padding-block: clamp(48px, 8vw, 96px); }
.demo .contact__intro h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; margin: 0 0 16px; }
.demo__sub { font-size: 1.25rem; font-weight: 700; margin: 0 0 24px; }
.demo__help { font-size: 1rem; color: var(--muted); padding-left: 16px; border-left: 3px solid var(--brand); }
.demo__help a { color: var(--brand-strong); font-weight: 600; }

/* Comparativa de planes (hostelería) */
/* position:relative: los .sr-only absolutos de las celdas se quedan dentro del scroll (si no, ensanchaban la página) */
.cmp__scroll { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.cmp__table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: .975rem; }
.cmp__table th, .cmp__table td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp__table thead th { background: #f4f9fd; font-weight: 700; vertical-align: bottom; padding-block: 20px; }
.cmp__table tbody th[scope="row"], .cmp__table tfoot th { text-align: left; font-weight: 500; }
.cmp__plan { display: block; font-size: 1.125rem; font-weight: 800; color: var(--brand-deep); }
.cmp__sub { display: block; font-size: .875rem; font-weight: 600; color: var(--muted); }
.cmp__table .is-lite { background: #eaf6fd; }
.cmp__table thead .is-lite .cmp__plan { color: var(--brand-strong); }
.cmp__sec th { text-align: left !important; padding: 10px 18px; background: var(--brand-deep); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cmp__yes, .cmp__no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.cmp__yes { background: #e3f4ea; color: #1e8e4e; }
.cmp__no { background: #f1f3f5; color: #98a2ad; }
.cmp__yes svg, .cmp__no svg { width: 15px; height: 15px; }
.cmp__table tfoot th, .cmp__table tfoot td { font-weight: 800; border-bottom: 0; background: #f4f9fd; }
.cmp__table tfoot .is-lite { background: #dbeefa; }
.cmp__table tfoot .cmp__actions td { background: #fff; padding-block: 18px; }
.cmp__table tfoot .cmp__actions .is-lite { background: #eaf6fd; }
.cmp__table .btn { white-space: nowrap; }
.hero__cta--center { justify-content: center; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; align-items: stretch; }
.pcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.pcard h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); }
.pcard .btn { margin-top: auto; width: 100%; justify-content: center; }
.pcard__amount { margin: 0; font-size: 1.75rem; font-weight: 900; color: var(--ink, #0b2740); }
.pcard__amount small { font-size: .875rem; font-weight: 600; color: var(--muted); }
.pcard__month { margin: 0 0 20px; font-size: 1.125rem; font-weight: 700; color: var(--brand-strong); }
.pcard__old { margin: 0; color: var(--muted); }
.pcard__free { margin: 8px 0 20px; font-size: 1.5rem; font-weight: 900; color: var(--brand-strong); }
.pcard--hl { background: #eaf6fd; border: 2px solid var(--brand); }
.pcard__badge { padding: 4px 12px; margin-bottom: 8px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-size: .8125rem; font-weight: 700; }
@media (max-width: 759px) { .pcards { grid-template-columns: 1fr; } }

/* Hostelería gratis */
.hero__inner--form { align-items: start; }
.hero__visual--form { width: 100%; }
.hgform { padding: clamp(22px, 3vw, 34px); }
.hgform__title { margin: 0 0 4px; font-size: 1.5rem; font-weight: 900; }
.hgform__sub { margin: 0 0 22px; color: var(--muted); font-weight: 600; }
.hgform__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: .875rem; color: var(--muted); }
.hgform__note .icon { width: 16px; height: 16px; }
.hgform .form__grid { margin-bottom: 14px; }
.hgform .btn { width: 100%; justify-content: center; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats dt { font-size: 1.75rem; font-weight: 900; line-height: 1.1; color: var(--brand-strong); }
.stats dt .icon { width: 28px; height: 28px; }
.stats dd { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.hgform .tag { margin-bottom: 12px; }
.note-pill { max-width: 760px; margin: 18px auto 0; padding: 14px 20px; font-size: .9375rem; color: var(--brand-deep); background: #eaf6fd; border: 1px solid #b9dcf0; border-radius: 14px; }

/* Banda fotos + panel (hostelería gratis) */
.gband-wrap { background: var(--brand-deep); }
.gband { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; min-height: clamp(460px, 38vw, 600px); overflow: hidden; background: var(--brand-deep); }
.gband__photo { position: relative; margin: 0; overflow: hidden; }
.gband__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gband:hover .gband__photo img { transform: scale(1.05); }
.gband__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 40, 66, .35)); }
.gband__photo + .gband__photo { border-left: 3px solid #fff; }
.gband__panel { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 72px); color: #e6f3fb; background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%); }
.gband__panel .eyebrow { margin: 0; color: #bfe3f7; }
.gband__panel h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 900; line-height: 1.15; color: #fff; }
.gband__panel p { margin: 0; }
.gband__lead { padding-top: 6px; color: #fff; }
.gband__cta { display: grid; gap: 12px; margin-top: 10px; }
.gband__cta .btn { justify-content: center; text-align: center; }
@media (max-width: 1023px) { .gband { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 220px auto; } .gband__panel { grid-column: 1 / -1; } }
@media (max-width: 559px) { .gband { grid-template-rows: 150px auto; } }

/* Tarifas */
.hero--center .hero__inner--solo { grid-template-columns: 1fr; text-align: center; padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 88px); }
.hero--center .hero__copy { max-width: 820px; margin-inline: auto; }
.hero--center .lead { margin-inline: auto; }
.tarifas__radio { position: absolute; opacity: 0; pointer-events: none; }
.seg { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 36px; padding: 5px; gap: 4px; background: #eaf3fa; border: 1px solid var(--line); border-radius: 999px; }
.seg label { padding: 12px 26px; font-weight: 700; color: var(--brand-deep); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; text-align: center; }
.seg label:hover { background: rgba(0, 134, 203, .1); }
.tarifas:has(#otp-t-cld:checked) label[for="otp-t-cld"], .tarifas:has(#otp-t-esc:checked) label[for="otp-t-esc"] { color: #fff; background: var(--brand-strong); box-shadow: 0 6px 16px rgba(0, 114, 177, .3); }
.tarifas:has(#otp-t-cld:focus-visible) label[for="otp-t-cld"], .tarifas:has(#otp-t-esc:focus-visible) label[for="otp-t-esc"] { outline: 3px solid var(--brand-deep); outline-offset: 2px; }
.tpanel { display: none; }
.tarifas:has(#otp-t-cld:checked) .tpanel--cld, .tarifas:has(#otp-t-esc:checked) .tpanel--esc { display: block; animation: rise .5s var(--ease) both; }
.tintro { max-width: 820px; margin: 0 auto 32px; text-align: center; font-size: 1.125rem; }
.tintro p { margin: 0 0 8px; color: var(--muted); }
.tintro strong { color: var(--navy); }
.tcard { align-items: stretch; text-align: left; gap: 6px; padding: 30px 28px; }
.tcard h3 { margin: 0; font-size: 1.25rem; }
.tcard__fee { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; }
.tcard__fee strong { font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--brand-strong); }
.tcard__fee span { font-weight: 600; color: var(--muted); }
.tcard__alta { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.tcard__cap { margin: 10px 0 0; font-weight: 700; color: var(--brand-deep); }
.tcard__desc { margin: 0; color: var(--muted); }
.textra { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0 0 18px; padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.textra__price { font-weight: 800; color: var(--brand-strong); }
.tlegal { max-width: 860px; margin: 0 auto 36px; text-align: center; font-size: .9375rem; color: var(--muted); }
.tcmp-title { margin: 12px 0 20px; text-align: center; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; }
.tsecs { display: grid; gap: 12px; }
.tsec { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.tsec[open] { border-color: #b9dcf0; box-shadow: var(--shadow-md); }
.tsec summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-weight: 800; font-size: 1.0625rem; color: var(--navy); cursor: pointer; list-style: none; }
.tsec summary::-webkit-details-marker { display: none; }
.tsec summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--brand-strong); border-bottom: 2px solid var(--brand-strong); transform: rotate(45deg); transition: transform .25s var(--ease); }
.tsec[open] summary::after { transform: rotate(-135deg); }
.tsec .cmp__scroll { border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
.tsec__note { margin: 0; padding: 10px 24px 14px; text-align: left; }
.tfoot-notes { margin: 20px 0 0; text-align: center; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.tblock h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 900; }
.tblock h3 { margin: 28px 0 12px; font-size: 1.2rem; color: var(--brand-deep); }
.tblock p { color: var(--muted); }
.kv { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.kv table { width: 100%; min-width: 520px; border-collapse: collapse; }
.kv th, .kv td { padding: 13px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.kv thead th { background: #f4f9fd; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }
.kv tbody th { font-weight: 600; color: var(--navy); width: 55%; }
.kv tbody tr:last-child > * { border-bottom: 0; }
.cta__contact { color: #d9edf8; }
.cta__contact a { color: #fff; font-weight: 700; text-decoration: underline; }
.cta__contact + .hero__cta { margin-top: 24px; }

/* Bonos */
.bpair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.bgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: stretch; }
.bgrid .bcard { grid-column: span 2; }
.bgrid .bcard:nth-child(n+4) { grid-column: span 3; }
.bcard { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.bcard h2, .bcard h3 { margin: 0; font-weight: 800; color: var(--navy); }
.bcard h2 { font-size: 1.25rem; line-height: 1.25; }
.bcard h3 { font-size: 1.125rem; }
.bcard__price { margin: 0; font-size: 2rem; font-weight: 900; line-height: 1.1; color: var(--brand-strong); }
.bcard__desc { margin: 0; color: var(--muted); }
.binfo { display: flex; gap: 14px; padding: 14px 16px; background: #f4f9fd; border: 1px solid #d6e9f5; border-radius: 14px; }
.binfo > .icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--brand-strong); }
.binfo h3 { margin: 0 0 2px; font-size: 1rem; }
.binfo p { margin: 0; font-size: .9375rem; color: var(--muted); }
.binfo a { color: var(--brand-strong); font-weight: 600; text-decoration: underline; }
.binfo--warn { background: #fff8e6; border-color: #f3dfa5; }
.binfo--warn > .icon { color: #b7791f; }
.buy { margin-top: auto; padding-top: 8px; }
.buy summary { display: inline-flex; width: 100%; justify-content: center; cursor: pointer; list-style: none; }
.buy summary::-webkit-details-marker { display: none; }
.buy[open] summary { background: var(--brand-deep); }
.buy__form { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.buy__form .form__grid { grid-template-columns: 1fr; margin-bottom: 14px; }
.buy__form .btn { width: 100%; justify-content: center; }
.section__head .tools { display: block; max-width: 420px; width: 100%; height: auto; margin: 22px auto 0; }
@media (max-width: 899px) { .bpair { grid-template-columns: 1fr; } .bgrid { grid-template-columns: 1fr 1fr; } .bgrid .bcard, .bgrid .bcard:nth-child(n+4) { grid-column: span 1; } .bgrid .bcard:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 559px) { .bgrid { grid-template-columns: 1fr; } }

/* Textarea de formularios */
.field textarea { width: 100%; min-height: 130px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c7d3de; border-radius: 12px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field textarea:hover { border-color: #9db3c4; }
.field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 134, 203, .18); }
.form__grid .field:has(textarea) { grid-column: 1 / -1; }

/* Integraciones */
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icard { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.icard h3, .icard h4 { margin: 0; font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.icard p { margin: 0; color: var(--muted); }
.icard ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.icard li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.icard li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.igrid--hw .icard p { font-size: 1rem; }
@media (max-width: 1023px) { .igrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .igrid { grid-template-columns: 1fr; } }
.form__grid .field:has(#f-partner-tipo) { grid-column: 1 / -1; }

/* Apps */
.notice { display: flex; align-items: flex-start; gap: 14px; max-width: 860px; margin: 28px auto 0; padding: 16px 20px; text-align: left; background: #fff8e6; border: 1px solid #f3dfa5; border-radius: 16px; box-shadow: var(--shadow-sm); }
.notice > .icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: #b7791f; }
.notice p { margin: 0; font-size: .9375rem; color: var(--navy); }
.notice a { color: var(--brand-strong); text-decoration: underline; }
.app-shot { display: grid; place-items: center; padding: clamp(16px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.app-shot img { width: 100%; max-width: 380px; height: auto; border-radius: 12px; }
.funding { margin: 24px 0 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.funding img { width: 100%; height: auto; }
.funding figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.funding--feder { display: grid; gap: 12px; }
.funding--feder > a:first-child img { max-width: 320px; }
.funding--feder figcaption { margin: 0; }
.funding__ivace img { max-width: 180px; }
.appgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.appcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.appcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.appcard > img { width: 100%; height: auto; background: #f4f9fd; }
.appcard__body { display: grid; gap: 10px; padding: 24px 26px 28px; }
.appcard__body h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.appcard__body p { margin: 0; color: var(--muted); }
.appcard__body .ticks { margin: 4px 0; }
@media (max-width: 759px) { .appgrid { grid-template-columns: 1fr; } }

/* Soporte */
.scard { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.scard__head { padding: 22px 32px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.scard__head h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: #fff; }
.scard__body { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); }
.scard__body p { margin: 0; color: var(--muted); }
.scard__hello { font-weight: 800; color: var(--navy) !important; }
.shl { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #eaf6fd; border-left: 4px solid var(--brand); border-radius: 12px; }
.shl > .icon { flex: none; width: 26px; height: 26px; color: var(--brand-strong); }
.shl p { color: var(--navy); font-size: 1.0625rem; }
.arrows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.arrows li { display: flex; gap: 12px; color: var(--muted); }
.arrows li > span:first-child { flex: none; font-weight: 800; color: #666; }
.arrows .arrows__wa { color: #25d366 !important; }
.arrows strong { color: var(--navy); }
.s365 { display: grid; gap: 12px; justify-items: start; padding: 24px; background: #f4f9fd; border: 1px solid #d6e9f5; border-radius: 18px; }
.s365 h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); }
.s365 p { margin: 0; color: var(--muted); }
.scontacts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.scontact { display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.scontact:hover { transform: translateY(-3px); border-color: #b9dcf0; }
.scontact .icon { flex: none; width: 28px; height: 28px; color: var(--brand-strong); }
.scontact--wa .icon { color: #25d366; }
.scontact span { display: grid; font-weight: 700; }
.scontact strong { font-size: .75rem; letter-spacing: .1em; color: var(--muted); }
.ssec { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: #f7f8fa; border: 1px solid var(--line); border-radius: 14px; }
.ssec > .icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--brand-strong); }
.ssec a { color: var(--brand-strong); font-weight: 700; text-decoration: underline; }
.scard__thanks { color: var(--navy) !important; }
.slinks { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.slinks a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.slinks a:hover { transform: translateY(-3px); border-color: #b9dcf0; }
.slinks .icon { flex: none; width: 24px; height: 24px; color: var(--brand-strong); }
.sform__title { margin: 0 0 20px; font-size: 1.5rem; font-weight: 900; }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.agent h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.agent p { margin: 0; color: var(--muted); }
.agent__btns { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.agent__btns .btn { justify-content: center; text-align: center; }
.btn--disabled { color: var(--muted); background: var(--bg); border-color: var(--line); box-shadow: none; cursor: not-allowed; pointer-events: none; }
@media (max-width: 899px) { .agents { grid-template-columns: 1fr; } .scontacts { grid-template-columns: 1fr; } }

/* Páginas legales */
.hero--compact .hero__inner--solo { padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.legal { padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.legal h2 { margin: 32px 0 12px; font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--brand-strong); text-decoration: underline; }
.legal strong { color: var(--navy); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.legal th, .legal td { padding: 10px 12px; text-align: left; border: 1px solid var(--line); }

/* Contacto */
.contact__intro h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 900; }
.clist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.clist a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.clist a:hover { transform: translateY(-3px); border-color: #b9dcf0; }
.clist .icon { flex: none; width: 22px; height: 22px; color: var(--brand-strong); }
.clist span { display: grid; }
.clist small { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.clist__sub { margin-top: 32px !important; }
.clist__addr { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; color: var(--navy); }
.clist__addr .icon { flex: none; width: 22px; height: 22px; color: var(--brand-strong); }
.gmap { background: #eaf3fa; line-height: 0; }
.gmap iframe { display: block; filter: saturate(.9); }

/* Empresa */
.prose p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; }
.prose a { color: var(--brand-strong); font-weight: 700; text-decoration: underline; }
.split--rev .split__text { order: 2; }
.emp-photo { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); }
.emp-photo img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.emp-photo:hover img { transform: scale(1.04); }
.emp-cards { display: grid; gap: 24px; }
.emp-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.emp-card h2 { margin: 0 0 14px; font-size: 1.5rem; font-weight: 900; color: var(--brand-deep); }
@media (max-width: 899px) { .split--rev .split__text { order: 0; } }
@media (min-width: 1024px) { .emp-cards { grid-template-columns: repeat(3, 1fr); align-items: start; } .emp-card .prose p { max-width: none; } }

/* Business Intelligence */
.bicards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.bicard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.bicard img { width: 96px; height: 96px; margin-bottom: 8px; }
.bicard h3 { margin: 0; font-size: 1.375rem; font-weight: 800; color: var(--navy); }
.bicard p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.bicta { position: relative; padding-block: clamp(56px, 8vw, 96px); text-align: center; color: #fff; background: linear-gradient(135deg, rgba(6, 78, 122, .93), rgba(0, 134, 203, .88)), var(--bg) center / cover; }
.bicta h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; color: #fff; }
.bicta p { margin: 0 0 24px; color: #d9edf8; font-size: 1.125rem; }
.prose--lg p { font-size: 1.0625rem; }
.bprods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bprod { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.bprod h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); }
.bprod p { margin: 0; color: var(--muted); }
.bprod .btn { margin-top: auto; align-self: flex-start; }
.prose h3 { margin: 24px 0 10px; font-size: 1.1875rem; font-weight: 800; color: var(--navy); }
@media (max-width: 899px) { .bicards, .bprods { grid-template-columns: 1fr; } }

/* Ley antifraude */
.af-doc { margin: 0; text-align: center; }
.af-doc img { width: 100%; max-width: 360px; height: auto; margin-inline: auto; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); mix-blend-mode: normal; animation: none; }
.af-doc figcaption { margin-top: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.notice--hero { margin: 24px 0 0; max-width: none; }
.af-cta { margin-top: 32px; }

/* Entradas */
.post img { display: block; max-width: 100%; height: auto; margin: 20px auto; border-radius: 12px; }
.post h2 { margin: 36px 0 12px; }
.post h3 { margin: 24px 0 10px; font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.post blockquote { margin: 20px 0; padding: 12px 20px; border-left: 4px solid var(--brand); background: #f4f9fd; border-radius: 0 12px 12px 0; }
.post hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.post__back { margin-top: 28px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li > p { margin: 0 0 6px; }

/* Actualizaciones */
.decl { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 24px 28px; background: #f0f7fc; border: 1px solid #cce3f5; border-radius: 20px; box-shadow: var(--shadow-sm); }
.decl__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; background: #fff; border: 1px solid #d0e2ec; border-radius: 50%; color: var(--brand-strong); }
.decl__icon .icon { width: 24px; height: 24px; }
.decl__text { flex: 1 1 300px; }
.decl__text h2 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 800; color: var(--brand-deep); }
.decl__text p { margin: 0; color: var(--muted); font-size: .9375rem; }
.decl__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.updgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.updcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.updcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.updcard__img img { display: block; width: 100%; height: auto; }
.updcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.updcard__body h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.updcard__body h3 a { color: var(--navy); }
.updcard__body p { margin: 0; color: var(--muted); }
.updcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; color: var(--brand-strong); }
.updcard__more .icon { width: 16px; height: 16px; }
.updcard__body .updcard__date { display: flex; align-items: center; gap: 6px; font-size: .875rem; }
.updcard__date .icon { width: 16px; height: 16px; }
.versiones { margin: 0; }
.versiones img { width: 100%; max-width: 560px; height: auto; margin-inline: auto; border-radius: 16px; box-shadow: var(--shadow-md); }
@media (max-width: 1023px) { .updgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .updgrid { grid-template-columns: 1fr; } }
.updcard__body h3 a { text-decoration: none; }

/* Kit Digital */
.video--hero { max-width: none; border-radius: 20px; }
.kd-logos { padding-block: 20px; background: #fff; border-block: 1px solid var(--line); }
.kd-logos img { display: block; width: 100%; max-width: 1024px; height: auto; margin-inline: auto; }
.kdindex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.kdindex__item { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.kdindex__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #b9dcf0; }
.kdindex__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; font-weight: 900; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 114, 177, .3); }
.kdindex__item h3 { margin: 0 0 10px; font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.kdindex__item p { margin: 0; color: var(--muted); }
.kdhead { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.kdhead__n { font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--brand); }
.kdhead h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; }
.kdsols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.kdsol { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.kdsol h3 { margin: 0; font-size: 1.5rem; font-weight: 900; color: var(--brand-deep); }
.kdsol__body p { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.kdsol__body strong { color: var(--navy); }
.kdsol__body ul, .kdsol__body ol { margin: 0 0 12px; padding-left: 22px; color: var(--muted); }
.kdsol__body ul { list-style: disc; }
.kdsol__body ol { list-style: decimal; }
.kdsol__body a { color: var(--brand-strong); text-decoration: underline; }
.kdsol__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.kd-agent { display: grid; place-items: center; }
.kd-agent img { width: 100%; max-width: 343px; height: auto; }
@media (max-width: 1023px) { .kdindex { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .kdindex { grid-template-columns: 1fr; } }
.hero__visual .video__play img { mix-blend-mode: normal; animation: none; height: 100%; }

/* Software ERP */
.ersols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ersol { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.ersol__img { display: block; background: #f4f9fd; }
.ersol__img img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.ersol:hover .ersol__img img { transform: scale(1.03); }
.ersol__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: 24px 26px 28px; }
.ersol__body h3 { margin: 0; font-size: 1.375rem; font-weight: 900; color: var(--brand-deep); }
.ersol__body p { margin: 0; color: var(--muted); }
.ersol__body .btn { margin-top: auto; }
.erfeat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.erfeat__card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.erfeat__card h3 { margin: 0 0 14px; font-size: 1.125rem; font-weight: 900; color: var(--brand-deep); }
.erfeat__card--wide { grid-column: 1 / -1; }
.erfeat .ticks { gap: 10px; }
.erfeat .ticks li { font-size: .9375rem; }
@media (max-width: 1023px) { .ersols, .erfeat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .ersols, .erfeat { grid-template-columns: 1fr; } }

/* Aviso de cookies */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: grid; gap: 16px; width: min(440px, calc(100vw - 40px)); padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px rgba(6, 40, 66, .25); animation: rise .5s var(--ease) both; }
.cookie[hidden] { display: none; }
.cookie__text h2 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 800; color: var(--navy); }
.cookie__text p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.cookie__text a { color: var(--brand-strong); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; }
.cookie__btns .btn { flex: 1; justify-content: center; min-height: 44px; padding-inline: 16px; }
.footer-link-btn { padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
.footer-link-btn:hover { text-decoration: underline; }
@media (max-width: 559px) { .cookie { left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; } }

/* Estado vacío */
.empty { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 5vw, 56px); text-align: center; background: #fff; border: 1px dashed #b9dcf0; border-radius: 24px; }
.empty h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.empty p { margin: 0; max-width: 520px; color: var(--muted); }

/* Software ERP (mejoras de maquetación) */
.erp-hero-img { width: 100%; max-width: 520px; margin-inline: auto; }
.ersol__img { aspect-ratio: 5 / 4; overflow: hidden; }
.ersol__img img { height: 100%; object-fit: cover; object-position: center 40%; }
.erfeat { display: block; column-count: 3; column-gap: 20px; }
.erfeat__card { display: block; break-inside: avoid; margin: 0 0 20px; }
.erver { display: flex; align-items: flex-start; gap: 20px; margin-top: 8px; padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid #b9dcf0; border-left: 5px solid var(--brand); border-radius: 20px; box-shadow: var(--shadow-sm); }
.erver > .feat__icon { flex: none; }
.erver h3 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 900; color: var(--brand-deep); }
.erver .ticks { gap: 10px; }
@media (max-width: 1023px) { .erfeat { column-count: 2; } }
@media (max-width: 639px) { .erfeat { column-count: 1; } .erver { flex-direction: column; } }
.ersol__img { aspect-ratio: 1 / 1; background: rgb(72, 112, 75); }
.ersol__img img { object-fit: contain; object-position: center; }

/* ==========================================================================
   Móvil / táctil
   Al final del archivo a propósito: debe ganar en cascada a las reglas de
   componente con la misma especificidad. Escritorio con ratón no cambia.
   ========================================================================== */
/* Hueco de la cabecera fija (arriba) y del botón de WhatsApp (abajo) al saltar a anclas o mover el foco */
html { scroll-padding-top: 96px; scroll-padding-bottom: 96px; }
/* Aviso de formulario tras enviar: queda bajo la cabecera fija y por encima del banner de cookies (96 + 16 px) */
.alert, .has-error { scroll-margin-top: 16px; }
input[type="checkbox"], input[type="radio"] { font-size: 16px; }
/* Enlaces sueltos (hijos directos del cuerpo de texto) actúan como CTA */
.prose > a, .post > a, figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.btn--amber:focus-visible { outline-color: var(--navy); }

@media (max-width: 1139px), (pointer: coarse) {
  /* Objetivos táctiles >= 44 px sin alterar la maquetación visible */
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .topbar__notice a { padding-block: 12px; margin-block: -12px; }
  .social { gap: 8px; }
  .social a { width: 44px; height: 44px; }
  .btn--sm { min-height: 44px; }
  .mod__link, .news__more, .updcard__more, .feat__link { min-height: 44px; }
  .marquee__toggle { min-height: 44px; padding-inline: 16px; top: -56px; }
  .prose > a, .post > a { font-weight: 700; }
  .footer-col:not(.footer-contact) li + li { margin-top: 0; }
  .footer-col:not(.footer-contact) a, .footer-link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  /* Teléfonos y correos: cada enlace en su propia fila de 44 px (sin solaparse) */
  .footer-contact span a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
  .footer-contact span a + br { display: none; }
  .footer-contact li:has(a) .icon { margin-top: 13px; }
  .footer-contact li + li { margin-top: 6px; }
}

@media (max-width: 1139px) {
  .primary-nav__extra a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .submenu a { padding-block: 12px; }
  /* Casilla legal y su texto en la misma fila (el texto largo bajaba entero bajo la casilla) */
  .check { flex-wrap: wrap; align-items: flex-start; }
  .check label { flex: 1 1 0; min-width: 0; }
  .check input { margin: 1px 0 0; }
}

@media (max-width: 599px) {
  /* Hueco para que el botón flotante de WhatsApp no tape el final del pie */
  .site-footer { padding-top: 40px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  /* Tablas clave-valor de tarifas: cada fila apilada (concepto arriba, importe debajo); a dos columnas el importe quedaba cortado */
  .kv table { min-width: 0; }
  .kv thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .kv tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .kv tbody tr:last-child { border-bottom: 0; }
  .kv tbody th, .kv td { display: block; width: auto; padding: 0; border-bottom: 0; }
  .kv td { margin-top: 4px; font-weight: 600; color: var(--brand-deep); }
  /* Botones de la banda final con el mismo ancho */
  .cta--center .hero__cta { flex-direction: column; align-items: center; }
  .cta--center .hero__cta .btn { width: 100%; max-width: 340px; }
  /* Tarjetas de 3 columnas: en móvil icono, título y texto apilados (en fila desbordaban) */
  .feat__item { min-width: 0; }
  .feat--3 .feat__item--col { flex-direction: column; }
  /* Tablas de las entradas: sin el margen lateral del figure y con scroll propio si no caben */
  .legal figure { margin: 0 0 16px; overflow-x: auto; }
  .legal th, .legal td { padding: 8px 10px; overflow-wrap: anywhere; }
}

@media (max-width: 559px) {
  /* Banner de cookies y WhatsApp compiten por la misma esquina */
  body:has(#cookie-banner:not([hidden])) .wa-float { display: none; }
}

/* ==========================================================================
   Escritorio / puntero fino (>= 1140 px)
   ========================================================================== */
/* Ritmo vertical: el hero compacto ya cierra con su propio margen inferior */
.hero--compact + .section { padding-top: clamp(32px, 4vw, 56px); }

/* Medida de línea del texto corrido (60-75 caracteres, máx. 85) */
.legal { max-width: 800px; margin-inline: auto; }
.legal p, .legal li, .prose p, .prose li,
.faq__a p, .faq__a li, .e360__main p, .tblock p, .note--wide p, .callout p, .notice p { max-width: 68ch; }
.hero--center .lead { max-width: 60ch; }
/* Entradilla larga en hero centrado: centrada pesaría más de 4 líneas, se lee mejor alineada a la izquierda */
.hero--center .lead--start, .section__sub--start { text-align: start; }
.measure { max-width: 68ch; margin-inline: auto; }
/* Párrafo de entrada de sección (texto largo: alineado a la izquierda) */
.section__intro { margin-bottom: clamp(32px, 4vw, 48px); font-size: 1.0625rem; color: var(--muted); }

/* Sello de financiación: no se amplía por encima de su ancho natural (339 px) */
.funding--natural img { max-width: 339px; }

/* El ajuste del scroll respeta el relleno lateral: al inicio scrollLeft = 0 (flecha "anterior" desactivada) */
.carousel, .packs { scroll-padding-inline: 4px; }
/* Flechas del carrusel en los extremos */
.carousel-ctrl button[aria-disabled="true"] { opacity: .45; cursor: default; }
@media (hover: hover) {
  .carousel-ctrl button[aria-disabled="true"]:hover { background: var(--ctrl-bg); color: var(--ctrl-fg); transform: none; }
}

@media (min-width: 1140px) {
  /* Tres testimonios completos por vista, sin tarjeta cortada */
  .testi { flex-basis: calc((100% - 48px) / 3); }
  /* Esc oculta el submenú aunque siga abierto por hover o foco */
  .menu__item.is-dismissed > .submenu { opacity: 0; visibility: hidden; }
}
