/* Ciber 360: componentes propios de la sección de ciberseguridad. Usa la paleta de styles.css (la de l4e.es y cumplimiento). */
.header__logo { display: inline-flex; align-items: center; gap: 12px; }
.c360-badge {
  display: inline-block; padding: 5px 11px; border-radius: 50px; background: var(--accent); color: var(--ink);
  font-weight: 900; font-size: .82rem; letter-spacing: .02em; white-space: nowrap;
}
.figure { margin: 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.analogy {
  margin: 0 0 22px; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 1.12rem; font-style: italic; color: var(--ink-2);
}

/* Sin content-visibility en esta sección: con tantos bloques claros y oscuros alternos, falsea el contraste que mide Lighthouse */
/* Sin content-visibility: con los 900 px estimados, los saltos a #empezar o #minimo caían en otro sitio (ronda 2) */
main > .section:not(.hero):not(.section--dark):not(#contacto) { content-visibility: visible; }

/* Rueda de los 8 pilares */
.mech { align-items: center; margin-bottom: 40px; }
.mech__wheel { max-width: 460px; width: 100%; margin: 0 auto; }
.wheel { display: block; width: 100%; height: auto; font-family: var(--font); }
.wheel__ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.wheel__core { fill: var(--ink); }
.wheel__brand { fill: #fff; font-weight: 900; font-size: 30px; text-anchor: middle; }
.wheel__by { fill: var(--accent); font-weight: 700; font-size: 15px; text-anchor: middle; }
.wheel a circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; transition: fill .2s; }
.wheel text { pointer-events: none; text-anchor: middle; }
.wheel .wheel__n { font-weight: 900; font-size: 26px; fill: var(--ink); }
.wheel__l { font-weight: 700; font-size: 14px; fill: var(--ink); }
.wheel a:hover circle, .wheel a:focus-visible circle { fill: var(--accent-soft); }
.wheel a.is-active circle { fill: var(--accent); }
.wheel a:focus-visible { outline: none; }
.wheel a:focus-visible circle { stroke-width: 5; }

/* Tarjetas de pilar */
.pillars { margin-top: 8px; }
.pillar-card { padding-top: 0; overflow: hidden; }
.pillar-card img { display: block; width: calc(100% + 56px); max-width: none; height: 150px; object-fit: cover; margin: 0 -28px 16px; }
.pillar-card__n { font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.pillar-card h3 { margin: 6px 0 8px; }
.pillar-card p { margin: 0 0 10px; }
.pillar-card__from { font-weight: 900; color: var(--ink); margin-top: auto !important; }

/* ¿Por dónde empiezo? */
.start { counter-reset: start; }
.start .card { display: flex; flex-direction: column; }
.start h3::before { counter-increment: start; content: counter(start); display: inline-grid; place-items: center; width: 34px; height: 34px;
  margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 1rem; vertical-align: middle; }
.start ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.start li a { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--ink);
  font-weight: 700; text-decoration: none; }
.start li a:hover { border-color: var(--ink); background: var(--accent-soft); }
.start small { display: block; color: var(--muted); font-weight: 400; }

/* Tecnologías: tarjetas blancas con el logo, como en l4e.es */
.tech-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-grid li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.tech-grid img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 10px; }
.tech-grid strong { font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.tech-grid span { font-size: 1.05rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } .tech-grid li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; } .tech-grid img { width: 44px; height: 44px; margin: 0; } .tech-grid strong { flex: 1; } .tech-grid span { flex-basis: 100%; } }

/* Iconos de los pilares */
.picon { display: block; flex: none; }
.nav__tag--icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; color: var(--ink); }
.nav__menu a { grid-template-columns: 44px 1fr; }
.nav__menu a:hover .nav__tag--icon, .nav__menu a[aria-current] .nav__tag--icon { background: var(--accent); }
.wheel__icon { color: var(--ink); pointer-events: none; }
.start li a { display: flex; align-items: center; gap: 12px; }
.start li a .picon { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--accent-soft); box-sizing: border-box; }

/* Navegación entre pilares */
.pillar-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.pillar-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 700; }
.pillar-nav a:last-child { text-align: right; }
.pillar-nav a:hover { border-color: var(--ink); }
.pillar-nav small { display: block; color: var(--muted); font-weight: 400; }

@media (max-width: 900px) {
  .mech__wheel { max-width: 380px; }
  .pillar-card img { height: 170px; }
}
@media (max-width: 560px) {
  .c360-badge { font-size: .72rem; padding: 4px 9px; }
  .header__logo img { width: 130px; height: auto; }
}

/* ===========================================================================
   Tipografía y tamaños de l4e.es (medidos en l4e.es/ciberseguridad/ a 1440 px):
   H1 Lato 900 en mayúsculas, H2 de sección en mayúsculas, texto a 22 px, botones píldora de 22 px,
   fondo blanco en la cabecera y contenido a ~1.400 px.
   =========================================================================== */
:root { --max: 1400px; }
body { font-size: 1.375rem; line-height: 1.45; }
.nav, .topbar, .footer, .form, .card-form, .table-wrap, .faq, .mobile-bar, .crumbs { font-size: 1rem; }
.faq { font-size: 1.125rem; }
.table-wrap { font-size: 1.05rem; }
.card p, .card li, .pain__a, .note, .start p { font-size: 1.125rem; line-height: 1.5; }

/* Títulos */
h1, h2, h3 { letter-spacing: 0; }
h1, .hero h1 { font-size: clamp(2.1rem, 4.6vw, 4.5rem); font-weight: 900; line-height: 1; text-transform: uppercase; }
.h1__sub { display: block; margin-top: .3em; font-size: clamp(1.5rem, 2.6vw, 2.6rem); font-weight: 700; line-height: 1.1; text-transform: none; }
h2 { font-size: clamp(1.75rem, 3.8vw, 3.6rem); font-weight: 900; line-height: 1.02; text-transform: uppercase; }
.grid h2, .cta-band h2, .mech h2 { font-size: clamp(1.75rem, 2.9vw, 2.9rem); }
.deep__item h2, .card h2, .next__title, h2[style] { text-transform: none; font-weight: 700; line-height: 1.15; }
.deep__item h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
h3 { font-size: 2rem; font-weight: 900; line-height: 1.1; }
.card h3, .process h3, .office-card h3, .next h3, .pillar-card h3, .start h3, .deep__item h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.eyebrow { font-size: 1.375rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 10px; }
.section--dark .eyebrow { color: #e2e2e2; }
.lead { font-size: 1.375rem; line-height: 1.4; color: var(--ink); }
.section--dark .lead, .section--dark .muted { color: #d6d6d6; }
.section--dark .card-form .muted, .section--dark .card .muted { color: var(--muted); }
.coffee { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Botones: píldora de 22 px y peso normal, como en l4e.es */
.btn { font: 400 1.375rem/1.2 var(--font); padding: 12px 32px; }
.header__cta, .office-card__actions .btn, .mobile-bar .btn { font-size: 1.125rem; padding: 10px 24px; }
.header__phone { font-weight: 700; }

/* Cabecera de página en blanco, como l4e.es */
.hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero::before { display: none; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--ink); }
.hero .eyebrow { color: var(--ink); }
.hero__answer { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.hero .pill { color: var(--ink); border-color: #ccc; background: #fff; }
.hero a.pill:hover { background: var(--accent); border-color: var(--accent); }
.hero .btn--light { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn--ghost-light { color: var(--ink); border-color: var(--ink); }
.hero .btn--light:hover, .hero .btn--ghost-light:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero .trust { color: var(--ink-2); font-size: 1rem; }
.hero .trust li::before { color: var(--accent-ink); }
.hero .crumbs { color: var(--muted); }
.hero .crumbs a { color: var(--ink); }
.hero .updated { color: var(--muted); }
.hero .card-form { border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.card .link-arrow, .links-row .link-arrow, .card--link .link-arrow { font-size: 1.125rem; }
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .lead, .eyebrow { font-size: 1.2rem; }
  .hero__answer { font-size: 1.05rem; }
  .btn { font-size: 1.125rem; padding: 10px 24px; }
  h3 { font-size: 1.6rem; }
}

/* Diagnóstico gratuito de exposición (herramienta exposicion.l4e.es) */
.expo-steps { margin-top: 24px; }
.expo-steps h3 { font-size: 1.3rem; margin-bottom: .2em; }
.expo-steps p { font-size: 1.05rem; line-height: 1.45; }
.expo-card .card-form__title { font-size: 1.6rem; }
.expo-card { align-self: center; }
.expo-card .btn { margin: 10px 0 14px; }
.expo-card__talk { font-size: 1rem !important; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Cabeceras de sección más anchas: con títulos grandes en mayúsculas, a 720 px se partían en 3-4 líneas */
.section__head { max-width: 1040px; }
.section__head .lead { max-width: 820px; }
.process li p { font-size: 1.125rem; line-height: 1.5; }

/* Precio en dos partes: servicio de L4E + licencia de Microsoft */
.split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.split__plus { align-self: center; font-size: 2.4rem; font-weight: 900; color: var(--muted); }
.split-card { display: flex; flex-direction: column; }
.split-card--ours { border: 2px solid var(--ink); }
.split-card--theirs { background: var(--bg-soft); border-style: dashed; }
.split-card__t { font-size: 1rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 6px; }
.split-card__price { font-size: clamp(2.4rem, 4vw, 3.2rem) !important; font-weight: 900; line-height: 1; margin: 0; color: var(--ink); }
.split-card__unit { font-size: 1rem !important; color: var(--ink-2); margin: 6px 0 16px; }
.split-example { margin-top: 20px; }
.split-example tr.total th, .split-example tr.total td { font-weight: 900; background: var(--accent-soft); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split__plus { justify-self: center; line-height: 1; } }
.from-sub { display: block; font-size: .85em; font-weight: 400; color: var(--muted); line-height: 1.3; }

/* Revisión UX para el usuario novato (ronda 1) */
[id] { scroll-margin-top: 110px; }
.pain .link-arrow { font-size: 1rem; }
.minimo { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 12px; }
.minimo li { counter-increment: m; position: relative; padding: 16px 18px 16px 62px; background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow); font-size: 1.05rem; line-height: 1.45; }
.minimo li::before { content: counter(m); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-weight: 900; }
.minimo strong { display: block; font-size: 1.15rem; margin-bottom: 2px; }
.minimo a { font-size: .95rem; white-space: nowrap; }
.start__nadie { border: 2px solid var(--ink); }
.novato { margin-top: 14px; font-size: 1.05rem; color: var(--ink-2); }

/* En móvil la barra fija ya ofrece «Pide presupuesto»: en la cabecera solo queda «¿Por dónde empiezo?» */
@media (max-width: 560px) { body.is-landing .c360-badge { display: none; } }

/* Detalle técnico por servicio (perfil de conocimiento medio) */
.spec th { width: 28%; white-space: normal; }
.spec td { font-size: 1.05rem; line-height: 1.5; }
@media (max-width: 720px) { .spec th { width: 38%; } }
