/* Layout público: header, footer, hero. Sin animaciones especiales (las añade otro módulo). */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--hdr); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 700 1.125rem/1 var(--font-h); }
.brand:hover { color: var(--navy); }
.brand__shield { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 4px rgba(24, 35, 92, .18)); transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.brand:hover .brand__shield { transform: rotate(-6deg) scale(1.06); }
.brand__word { display: inline-flex; }
.brand__word img { width: 148px; height: auto; }
.brand__word-light { display: none; }
/* Fondos oscuros: wordmark blanco (el rojo de "ENGLISH" se conserva) */
.brand--light .brand__word-dark, .admin__brand .brand__word-dark, .side__brand .brand__word-dark, .on-dark .brand .brand__word-dark, .runner--dark .brand__word-dark { display: none; }
.brand--light .brand__word-light, .admin__brand .brand__word-light, .side__brand .brand__word-light, .on-dark .brand .brand__word-light, .runner--dark .brand__word-light { display: block; }
@media (max-width: 380px) { .brand__word img { width: 120px; } }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav__link:hover { background: var(--mist); color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--mist); }
.nav__link--cta { background: var(--red); color: #fff; font-weight: 600; }
.nav__link--cta:hover { background: var(--red-d); color: #fff; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; box-shadow: var(--shadow); }
.nav.is-open .nav__list { flex-direction: column; align-items: stretch; }
.nav.is-open .nav__link { justify-content: flex-start; }
@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

.hero { background: linear-gradient(160deg, var(--night), var(--navy)); color: #fff; padding: 64px 0 72px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: var(--muted-dark); max-width: 56ch; font-size: 1.125rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.site-footer { background: var(--night); color: var(--muted-dark); padding: 40px 0 28px; font-size: .9375rem; }
.site-footer a { color: var(--sky); }
.site-footer__grid { display: grid; gap: 24px; margin-bottom: 24px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; font-size: .8125rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); min-height: 44px; display: flex; align-items: center; }
.quote { font-size: 1rem; }
.quote__author { font-weight: 600; color: var(--navy); margin: 0; }

/* Migas de pan (las pinta layouts/public.twig cuando el controlador pasa seo.crumbs) */
.crumbs { padding: 10px 0 0; font-size: .8125rem; }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs__item { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs__item + .crumbs__item::before { content: "/"; margin: 0 6px; color: var(--muted); }
.crumbs__item a { color: var(--slate); text-decoration: none; }
.crumbs__item a:hover { color: var(--navy); text-decoration: underline; }
.crumbs__item span { color: var(--muted); }

/* Botón flotante de WhatsApp (chrome de conversión; se oculta con chrome_lite() y en impresión) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; min-width: 56px; padding: 0 18px; border-radius: var(--pill); background: #25D366; color: #053B2B; font: 600 .9375rem/1 var(--font-b); text-decoration: none; box-shadow: 0 10px 24px rgba(4, 18, 40, .35); }
.wa-float:hover { background: #1FBF5A; color: #04291E; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label { display: none; }
@media (min-width: 640px) {
  .wa-float__label { display: inline; }
}
@media print { .wa-float { display: none; } }
