/* ciberitas.com — hoja única. Marca: morado #4B0082, naranja #FF751F, Raleway + Inter. */

@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --purple: #4B0082;
  --purple-900: #2a0049;
  --purple-700: #3c0068;
  --purple-500: #6a2aa8;
  --purple-100: #ece2f7;
  --purple-50: #f7f2fc;
  --lilac: #E8D8F0;
  --orange: #FF751F;
  --orange-600: #e8600a;
  --orange-50: #fff3ea;
  --ink: #1e1530;
  --text: #3b3350;
  --muted: #6b6280;
  --line: #e7e0ef;
  --bg: #ffffff;
  --bg-alt: #faf7fd;
  --green: #138a52;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(42, 0, 73, .06), 0 8px 24px rgba(42, 0, 73, .08);
  --shadow-lg: 0 2px 6px rgba(42, 0, 73, .08), 0 24px 60px rgba(42, 0, 73, .16);
  --font-head: "Raleway", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-500); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--purple-50); padding: .1em .4em; border-radius: 6px; color: var(--purple); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section.pt0 { padding-top: 0; }
.section-title { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-lead { text-align: center; max-width: 680px; margin: -4px auto 40px; color: var(--muted); font-size: 1.08rem; }
.kicker { text-align: center; font-family: var(--font-head); font-weight: 700; color: #b84800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 10px; }
.split-copy .kicker, .form-grid .kicker, .case-teaser .kicker, .vf-grid .kicker { text-align: left; }
.kicker.light { color: var(--orange); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 18px rgba(75, 0, 130, .25); }
.btn-primary:hover { background: var(--purple-700); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 117, 31, .3); }
.btn-accent:hover { background: var(--orange-600); color: #fff; }
.btn-outline { background: #fff; color: var(--purple); border-color: var(--purple-100); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); border-color: transparent; }
.btn-ghost:hover { background: var(--purple-50); color: var(--purple); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.link-more .ico { transition: transform .15s; }
.link-more:hover .ico { transform: translateX(3px); }

/* Cabecera */
/* El desenfoque va en ::before: backdrop-filter en la propia cabecera la convierte en bloque contenedor
   del menú móvil (position: fixed) y lo recorta a la altura de la cabecera. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: flex-end; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav > ul > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; background: none; border: 0; cursor: pointer; }
.site-nav > ul > li > a:hover, .sub-toggle:hover, .site-nav a[aria-current="page"] { background: var(--purple-50); color: var(--purple); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; width: 640px; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sub a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.sub a:hover { background: var(--purple-50); }
.sub strong { display: block; color: var(--ink); font-size: .95rem; }
.sub small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.sub-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple); border-radius: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; }
.has-sub:hover .chev, .has-sub.is-open .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.link-login { color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--purple); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.show-sm { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 16px 20px 32px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; gap: 16px; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a, .sub-toggle { width: 100%; justify-content: space-between; font-size: 1.08rem; padding: 14px 8px; }
  .sub { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; opacity: 1; visibility: visible; display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .sub ul { grid-template-columns: 1fr; }
  .nav-actions { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); padding-top: 16px; }
  .nav-actions .btn { width: 100%; }
  .link-login { padding: 8px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) { .hide-sm { display: none; } .show-sm { display: inline; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); background: radial-gradient(1200px 500px at 85% -10%, var(--purple-50), transparent 70%), radial-gradient(700px 400px at -10% 110%, var(--orange-50), transparent 70%); overflow: hidden; }
.hero-simple { padding-bottom: clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-sector .hero-grid, .hero-feature .hero-grid { grid-template-columns: 1fr 1fr; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--purple); background: #fff; border: 1px solid var(--purple-100); padding: 6px 14px; border-radius: 999px; font-size: .88rem; margin-bottom: 18px; }
.hero-simple .eyebrow { margin-left: auto; margin-right: auto; }
.hl { color: var(--purple); background: linear-gradient(transparent 62%, var(--lilac) 62%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text); max-width: 600px; }
.hero-simple .lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-actions.center { justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { color: var(--orange); }
.hero-plan { color: var(--muted); font-size: .95rem; margin: 0; }
.hero-plan .ico { color: var(--orange); margin-right: 4px; }
.hero-visual { position: relative; }
.creative { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.browser { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f4f0f8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9cfe6; }
.browser-bar i:first-child { background: #ff8a5c; }
.browser img, .browser video { width: 100%; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 16px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.chip .ico { color: var(--orange); }
.chip-1 { left: -18px; top: 18%; }
.chip-2 { right: -10px; top: 46%; animation-delay: -2s; }
.chip-3 { left: 10%; bottom: -16px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero-grid, .hero-sector .hero-grid, .hero-feature .hero-grid { grid-template-columns: 1fr; }
  .chip-1 { left: 8px; top: auto; bottom: 40%; }
  .chip-2 { right: 8px; }
  .chip { font-size: .8rem; padding: 7px 12px; }
}

/* Franja de sectores */
.sector-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 18px 0; }
.sector-strip .wrap { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; justify-content: center; }
.sector-strip p { margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.sector-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; justify-content: center; }
.sector-strip a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--purple-50); text-decoration: none; font-weight: 600; font-size: .9rem; }
.sector-strip a:hover { background: var(--purple-100); }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-100); color: var(--text); }
.pillar p { flex: 1; font-size: .98rem; }
.pillar-ico, .feature-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--purple); color: #fff; margin-bottom: 18px; }
.pillar-ico .ico, .feature-ico .ico { width: 26px; height: 26px; }
.pillar:nth-child(2) .pillar-ico { background: var(--orange); }
.pillar:nth-child(4) .pillar-ico { background: var(--purple-500); }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--purple); }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Banda Verifactu */
.verifactu-band { background: linear-gradient(135deg, var(--purple-900), var(--purple) 70%); color: #e9defa; }
.verifactu-band h2 { color: #fff; }
.vf-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.vf-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vf-dates li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 18px 22px; }
.vf-dates strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.vf-dates span { color: #d6c6ee; }
.vf-dates .vf-note { background: none; border: 0; padding: 0 4px; font-size: .88rem; color: #c8b5e6; }
@media (max-width: 860px) { .vf-grid { grid-template-columns: 1fr; } }

/* Bloques partidos */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-copy p { font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--green); margin-top: .2em; }
.ticks.inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.narrow.center .split-copy { margin: 0 auto; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* Tarjetas de sector */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.sector-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 92% 30%; width: 100%; }
.sector-body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.sector-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.12rem; }
.sector-name .ico { color: var(--orange); }
.sector-short { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sector-grid { grid-template-columns: 1fr; } }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Precios */
.billing-toggle { display: flex; width: max-content; margin: 0 auto 32px; background: var(--purple-50); border-radius: 999px; padding: 5px; border: 1px solid var(--purple-100); }
.billing-toggle button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; color: var(--purple); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button.is-active { background: var(--purple); color: #fff; }
.save { background: var(--orange); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px 24px; }
.plan.is-featured { border: 2px solid var(--purple); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan-price { margin: 0 0 8px; color: var(--muted); }
.plan-price strong { font-family: var(--font-head); font-size: 2.1rem; color: var(--ink); font-weight: 800; }
.plan-price .vat { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.plan-limits { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9rem; color: var(--purple); font-weight: 600; margin-bottom: 12px; }
.plan-desc { font-size: .9rem; color: var(--muted); min-height: 7.5em; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; flex: 1; align-content: start; font-size: .93rem; }
.plan-features li { display: flex; gap: 8px; }
.plan-features .ico { color: var(--green); margin-top: .2em; }
.plan-features .is-missing { color: var(--muted); }
.plan-features .is-missing .ico { color: #b9b0c6; }
.pricing-note { text-align: center; color: var(--muted); font-size: .93rem; margin-top: 24px; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; gap: 26px 18px; } .plan-desc { min-height: 0; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; background: var(--purple-50); }
.compare thead th small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .8rem; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); } .no { color: #c4bbd0; }

/* Demo */
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.demo-cards.is-single { grid-template-columns: 1fr; max-width: 520px; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.demo-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 14px; }
.demo-ico .ico { width: 24px; height: 24px; }
.demo-cred { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 20px; font-size: .95rem; }
.demo-cred dt { color: var(--muted); }
.demo-cred dd { margin: 0; }
.demo-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 20px; }
@media (max-width: 720px) { .demo-cards { grid-template-columns: 1fr; } }

/* Caso */
.case-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rounded-shot { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .case-teaser { grid-template-columns: 1fr; } }

/* Problemas y funciones */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: var(--orange-50); border-radius: var(--radius-lg); padding: 26px; border-left: 5px solid var(--orange); }
.pain h3 { font-size: 1.12rem; }
.pain p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.feature p { margin: 0; font-size: .97rem; }
.feature .feature-ico { width: 46px; height: 46px; margin-bottom: 14px; background: var(--purple-50); color: var(--purple); }
@media (max-width: 900px) { .pains, .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pains, .feature-grid { grid-template-columns: 1fr; } }
.feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 6px; }
.faq-section { background: var(--bg); }
.section.alt + .faq-section, .faq-section { border-top: 1px solid var(--line); }

/* Banda CTA */
.cta-band { background: var(--purple); background-image: radial-gradient(600px 300px at 90% 0%, rgba(255,117,31,.35), transparent 70%); color: #e9defa; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Formulario */
.form-section { background: var(--bg-alt); }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.lead-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border-radius: 10px; border: 1.5px solid #d8cfe4; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-100); }
.field [aria-invalid="true"] { border-color: #d43c3c; }
.field-hint { margin: -6px 0 0; font-size: .84rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); flex: none; }
.legal-mini { font-size: .76rem; color: var(--muted); line-height: 1.45; margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1em; }
.form-status.is-error { color: #c42f2f; }
.form-status.is-ok { color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[disabled] { opacity: .7; cursor: wait; }
.side-contact { margin-top: 18px; color: var(--muted); }

.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); }
a.contact-card:hover { border-color: var(--purple); color: var(--text); }
.contact-card > .ico { width: 26px; height: 26px; color: var(--purple); }
.contact-card strong { display: block; color: var(--ink); font-family: var(--font-head); }

/* Verifactu */
.date-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto 24px; }
.date-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.date-big { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--purple); margin-bottom: 8px; }
.date-card p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .date-cards { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 12px; max-width: 900px; margin: 0 auto; background: var(--orange-50); border: 1px solid #ffd9bf; border-radius: var(--radius); padding: 16px 20px; font-size: .95rem; }
.notice > .ico { color: var(--orange-600); margin-top: .2em; }
.vf-test { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.vf-test fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.vf-test legend { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-bottom: 14px; }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--purple); background: var(--purple-50); }
.opt input { accent-color: var(--purple); width: 18px; height: 18px; }
.vf-result { border-radius: var(--radius); padding: 22px; background: var(--purple-50); border: 1px solid var(--purple-100); margin-bottom: 12px; }
.vf-result h3 { color: var(--purple); font-size: 1.4rem; }
.vf-result p:last-child { margin-bottom: 0; }
.vf-nav { display: flex; gap: 10px; margin: 8px 0 14px; }

/* Guías */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.guide-card h2, .guide-card h3 { font-size: 1.2rem; }
.guide-card p { flex: 1; font-size: .96rem; color: var(--muted); }
.guide-meta { font-size: .82rem; color: var(--orange-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }

.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .callout { background: var(--purple-50); border-left: 4px solid var(--purple); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 1.5em 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; }
.legal-table { border-collapse: collapse; width: 100%; font-size: .93rem; margin-bottom: 1.4em; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table thead th, .legal-table tbody th { background: var(--bg-alt); color: var(--ink); }
.guide-cta { background: var(--purple); color: #e9defa; border-radius: var(--radius-lg); padding: 28px; margin: 2.4em 0 0; }
.guide-cta h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }

/* Agradecimiento */
.thanks-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 20px; }
.thanks-ico .ico { width: 36px; height: 36px; }

/* Landing de campaña */
.is-lp .site-header { position: static; }
.lp-hero .lead-form { box-shadow: var(--shadow-lg); }
.lp-hero .hero-grid { align-items: start; }
.lp-bullets { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.lp-bullets li { display: flex; gap: 12px; font-weight: 500; }
.lp-bullets .ico { color: var(--green); margin-top: .2em; }
.lp-hero .creative { margin-top: 24px; }

/* Pie */
.site-footer { background: var(--purple-900); color: #cdbbe6; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 200px; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2d5f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lp-footer { padding-top: 8px; }
.lp-footer .footer-legal { margin-top: 0; border-top: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #1fa855; color: #fff; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.wa-float:hover { background: #178a45; color: #fff; }
.wa-float .ico { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 10px 50px rgba(30, 0, 60, .3); border: 1px solid var(--line); padding: 22px 24px; display: grid; gap: 16px; }
.cookie-banner h2 { font-size: 1.15rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .92rem; margin: 0; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: 10px 18px; font-size: .95rem; }
.cookie-banner > * { min-width: 0; }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px 16px; gap: 12px; }
  .cookie-actions .btn { flex: 1 1 45%; min-width: 0; white-space: normal; padding: 10px 12px; }
}
@media (max-width: 600px) {
  .sector-strip ul { flex-wrap: nowrap; overflow-x: auto; min-width: 0; overscroll-behavior-x: contain; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding-inline: 20px; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .sector-strip a { white-space: nowrap; }
  .sector-strip .wrap { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .sector-strip p { text-align: center; }
}
