/*
 * Web pública de FamHera: portada (landing.html) y páginas informativas (web-publica/**).
 *
 * Vivía en un <style> dentro de landing.html. Salió a fichero el 2026-10-05, cuando la web pública pasó
 * de una página a una veintena: copiado en cada plantilla, el mismo botón habría acabado con veinte
 * tonos de azul, y como fichero lo cachea el navegador una vez para todas.
 *
 * No se carga famhera.css en estas páginas: es el de los paneles y repintaría lo que aquí se fija.
 * Solo tema claro, con fondo explícito, igual que la portada desde siempre.
 */
:root {
    --fk-azul: #3B82C4;
    --fk-azul-osc: #2f6da6;
    --fk-tinta: #1F2A37;
    --fk-gris: #5A6678;
    --fk-borde: #E3E8EF;
}
.fk-landing { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fk-tinta);
              background: #fff; }
.fk-landing img { max-width: 100%; }

/* Barra superior */
.fk-navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
             backdrop-filter: saturate(160%) blur(8px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.fk-brand { font-weight: 800; font-size: 1.4rem; color: var(--fk-azul); letter-spacing: -.5px;
            text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }

/* Botones */
.fk-btn { background: var(--fk-azul); color: #fff; border: none; border-radius: 12px;
          padding: .7rem 1.5rem; font-weight: 600; text-decoration: none; display: inline-block;
          transition: transform .08s ease, background .15s ease; box-shadow: 0 8px 20px rgba(59,130,196,.25); }
.fk-btn:hover { background: var(--fk-azul-osc); color: #fff; transform: translateY(-1px); }
.fk-btn-ghost { background: transparent; color: var(--fk-azul); box-shadow: none;
                border: 1.5px solid var(--fk-borde); }
.fk-btn-ghost:hover { background: #F2F7FC; color: var(--fk-azul-osc); }
.fk-btn-light { background: #fff; color: var(--fk-azul); box-shadow: none; }
.fk-btn-light:hover { background: #EAF2FB; color: var(--fk-azul-osc); }

/* Hero */
.fk-hero { background: linear-gradient(165deg, #EAF2FB 0%, #F7F9FC 55%, #fff 100%); padding: 4rem 0 4.5rem; }
.fk-hero .badge-soft { display: inline-block; background: #DCEBFA; color: var(--fk-azul-osc);
                       font-weight: 700; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px;
                       letter-spacing: .3px; margin-bottom: 1rem; }
.fk-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -1.2px;
              line-height: 1.08; }
.fk-hero .lead-sub { font-size: 1.25rem; color: var(--fk-azul-osc); font-weight: 600; margin-top: 1rem; }
.fk-hero p.cuerpo { font-size: 1.08rem; color: #46556a; max-width: 36rem; white-space: pre-line;
                    margin-top: 1rem; }
.fk-hero-img { border-radius: 24px; box-shadow: 0 30px 60px rgba(31,42,55,.18); object-fit: cover;
               width: 100%; height: auto; aspect-ratio: 4 / 3; }
.fk-hero-deco { position: absolute; inset: 0; pointer-events: none; }

/* Banda de cifras */
.fk-stats { background: var(--fk-tinta); color: #fff; }
.fk-stat .num { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.5px;
                color: #8FC0EC; }
.fk-stat .lbl { color: #C7D0DB; font-size: .95rem; white-space: pre-line; }

/* Características */
.fk-section-title { font-weight: 800; letter-spacing: -.6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fk-section-kicker { color: var(--fk-azul); font-weight: 700; text-transform: uppercase;
                     letter-spacing: 1.2px; font-size: .82rem; }
.fk-feature { background: #fff; border: 1px solid var(--fk-borde); border-radius: 18px; padding: 1.6rem;
              height: 100%; box-shadow: 0 8px 22px rgba(31,42,55,.05); transition: transform .12s ease,
              box-shadow .12s ease; }
.fk-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(31,42,55,.10); }
.fk-feature .ico { width: 52px; height: 52px; border-radius: 14px; background: #EAF2FB;
                   display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.fk-feature h3 { font-size: 1.18rem; font-weight: 700; margin: 1rem 0 .45rem; }
.fk-feature p { color: var(--fk-gris); margin: 0; white-space: pre-line; }

/* Secciones imagen + texto */
.fk-showcase { padding: 3.5rem 0; }
.fk-showcase:nth-of-type(even) { background: #F7F9FC; }
.fk-showcase .ico { font-size: 2rem; }
.fk-showcase h2 { font-weight: 800; letter-spacing: -.6px; font-size: clamp(1.5rem, 2.8vw, 2.1rem);
                  margin: .5rem 0 .8rem; }
.fk-showcase p { color: #46556a; font-size: 1.08rem; white-space: pre-line; }
.fk-showcase-img { border-radius: 22px; box-shadow: 0 22px 48px rgba(31,42,55,.16); object-fit: cover;
                   width: 100%; height: auto; aspect-ratio: 4 / 3; }

/* Descarga de las apps móviles */
.fk-apps-wrap { padding: 3.5rem 0; }
.fk-apps { background: #F2F7FC; border: 1px solid var(--fk-borde); border-radius: 28px;
           padding: 3rem 2rem; }
.fk-apps .ico { font-size: 2.4rem; }
.fk-apps h2 { font-weight: 800; letter-spacing: -.6px; font-size: clamp(1.5rem, 2.8vw, 2.1rem);
              margin: .6rem 0 .8rem; }
.fk-apps p { color: #46556a; white-space: pre-line; margin: 0 auto 1.8rem; max-width: 40rem;
             font-size: 1.08rem; }
/* Insignia de tienda: la misma pieza sirve para la tienda ya publicada (enlace) y para la que
   todavía no lo está (mismo hueco, apagado y sin enlace). */
.fk-store { display: inline-flex; align-items: center; gap: .7rem; text-align: left;
            background: var(--fk-tinta); color: #fff; border-radius: 14px; padding: .7rem 1.3rem;
            text-decoration: none; min-width: 15rem; box-shadow: 0 10px 24px rgba(31,42,55,.18);
            transition: transform .08s ease, background .15s ease; }
a.fk-store:hover { background: #101923; color: #fff; transform: translateY(-1px); }
.fk-store .glifo { font-size: 1.6rem; line-height: 1; }
.fk-store .pequeno { display: block; font-size: .72rem; letter-spacing: .4px; opacity: .75;
                     text-transform: uppercase; }
.fk-store .grande { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -.2px; }
.fk-store.proximamente { background: #E7ECF3; color: var(--fk-gris); box-shadow: none;
                         border: 1px dashed #C6D0DC; cursor: default; }
/* Código QR de la descarga. Es la vía del ORDENADOR: quien mira la web en un portátil no puede
   pulsar un enlace de tienda con provecho, y quien la mira en el móvil ya tiene los botones. */
.fk-qr { display: flex; flex-direction: column; align-items: center; gap: .5rem;
         background: #fff; border: 1px solid var(--fk-borde); border-radius: 18px;
         padding: 1rem 1.1rem; box-shadow: 0 8px 22px rgba(31,42,55,.06); }
.fk-qr img { width: 132px; height: 132px; display: block; border-radius: 6px; }
.fk-qr span { color: var(--fk-gris); font-size: .82rem; font-weight: 600; max-width: 11rem;
              text-align: center; line-height: 1.25; }

/* Sección de texto */
.fk-text { background: #F7F9FC; }
.fk-text p { white-space: pre-line; color: #46556a; font-size: 1.12rem; }

/* CTA */
.fk-cta-wrap { padding: 3.5rem 0; }
.fk-cta { background: linear-gradient(135deg, var(--fk-azul) 0%, #2c5f93 100%); color: #fff;
          border-radius: 28px; padding: 3rem 2rem; box-shadow: 0 30px 60px rgba(59,130,196,.30); }
.fk-cta h2 { font-weight: 800; letter-spacing: -.6px; }
.fk-cta p { color: #E4EEF8; white-space: pre-line; margin: .8rem auto 1.6rem; max-width: 40rem; }

/* Contacto */
.fk-contact-wrap { padding: 3.5rem 0; }
.fk-contact { background: #F7F9FC; border: 1px solid var(--fk-borde); border-radius: 28px;
              padding: 3rem 2rem; box-shadow: 0 18px 40px rgba(31,42,55,.06); }
.fk-contact .ico { font-size: 2.4rem; }
.fk-contact h2 { font-weight: 800; letter-spacing: -.6px; font-size: clamp(1.5rem, 2.8vw, 2.1rem);
                 margin: .6rem 0 .8rem; }
.fk-contact p { color: #46556a; white-space: pre-line; margin: 0 auto 1.6rem; max-width: 40rem;
                font-size: 1.08rem; }
.fk-btn-mail { font-size: 1.05rem; padding: .8rem 1.8rem; }

/* Pie de la web pública: mapa de enlaces a todas las páginas informativas. Los enlaces internos son
   la mitad del posicionamiento de una web pequeña: es por donde el buscador descubre cada página. */
footer.fk-foot { background: var(--fk-tinta); color: #9AA6B4; font-size: .92rem; padding: 3rem 0 2rem; }
footer.fk-foot a { color: #C7D0DB; text-decoration: none; }
footer.fk-foot a:hover { color: #fff; text-decoration: underline; }
footer.fk-foot h2 { color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase;
                    letter-spacing: 1.1px; margin-bottom: .9rem; }
footer.fk-foot ul { list-style: none; padding: 0; margin: 0; }
footer.fk-foot li { margin-bottom: .45rem; }
footer.fk-foot .fk-foot-lema { color: #C7D0DB; max-width: 22rem; margin-top: .8rem; }
footer.fk-foot .fk-foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem;
                               padding-top: 1.4rem; }

/* Enlaces de la barra superior */
.fk-nav-link { color: var(--fk-gris); font-weight: 600; text-decoration: none; padding: .35rem .2rem; }
.fk-nav-link:hover, .fk-nav-link[aria-current="page"] { color: var(--fk-azul); }
.fk-navbar details { position: relative; }
.fk-navbar summary { list-style: none; cursor: pointer; border: 1.5px solid var(--fk-borde);
                     border-radius: 10px; padding: .35rem .7rem; color: var(--fk-tinta); font-weight: 600; }
.fk-navbar summary::-webkit-details-marker { display: none; }
.fk-navbar details[open] .fk-menu-movil { display: flex; }
.fk-menu-movil { display: none; flex-direction: column; gap: .2rem; position: absolute; right: 0;
                 top: calc(100% + .5rem); background: #fff; border: 1px solid var(--fk-borde);
                 border-radius: 14px; padding: .8rem 1rem; min-width: 15rem;
                 box-shadow: 0 18px 40px rgba(31,42,55,.14); }

/* ===== Páginas informativas (web-publica/**) ===== */
.wp-cabecera { background: linear-gradient(165deg, #EAF2FB 0%, #F7F9FC 60%, #fff 100%);
               padding: 2.2rem 0 3rem; }
.wp-migas { font-size: .88rem; color: var(--fk-gris); margin-bottom: 1.4rem; }
.wp-migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.wp-migas li + li::before { content: "›"; margin-right: .4rem; color: #9AA6B4; }
.wp-migas a { color: var(--fk-azul-osc); text-decoration: none; }
.wp-migas a:hover { text-decoration: underline; }
.wp-cabecera h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -1px;
                  line-height: 1.1; }
.wp-cabecera .wp-entradilla { font-size: 1.15rem; color: #46556a; max-width: 40rem; margin-top: 1rem; }
.wp-cabecera img { border-radius: 22px; box-shadow: 0 22px 48px rgba(31,42,55,.16); width: 100%;
                   height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.wp-cuerpo { padding: 3rem 0 1rem; }
.wp-texto { max-width: 46rem; }
.wp-texto h2 { font-weight: 800; letter-spacing: -.5px; font-size: clamp(1.4rem, 2.6vw, 1.85rem);
               margin: 2.6rem 0 .9rem; }
.wp-texto h2:first-child { margin-top: 0; }
.wp-texto h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.wp-texto p, .wp-texto li { color: #3c4a5d; font-size: 1.06rem; line-height: 1.7; }
.wp-texto ul { padding-left: 1.2rem; }
.wp-texto li { margin-bottom: .45rem; }
.wp-texto a { color: var(--fk-azul-osc); text-decoration: underline; text-underline-offset: 2px; }
.wp-texto a:hover { color: var(--fk-tinta); }
.wp-nota { background: #F2F7FC; border-left: 4px solid var(--fk-azul); border-radius: 0 14px 14px 0;
           padding: 1rem 1.2rem; margin: 1.6rem 0; }
.wp-nota p:last-child { margin-bottom: 0; }

/* Tarjetas: índice de funcionalidades y páginas relacionadas */
.wp-tarjeta { display: block; background: #fff; border: 1px solid var(--fk-borde); border-radius: 18px;
              padding: 1.4rem; height: 100%; color: var(--fk-tinta); text-decoration: none;
              box-shadow: 0 8px 22px rgba(31,42,55,.05); transition: transform .12s ease, box-shadow .12s ease; }
.wp-tarjeta:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31,42,55,.10);
                    color: var(--fk-tinta); }
.wp-tarjeta .ico { width: 48px; height: 48px; border-radius: 14px; background: #EAF2FB;
                   display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.wp-tarjeta h3 { font-size: 1.08rem; font-weight: 700; margin: .9rem 0 .4rem; }
.wp-tarjeta p { color: var(--fk-gris); margin: 0; font-size: .97rem; }
.wp-tarjeta .mas { display: inline-block; margin-top: .8rem; color: var(--fk-azul); font-weight: 600;
                   font-size: .92rem; }

/* Preguntas frecuentes: <details> nativo, se abre sin JavaScript y el texto está en el HTML */
.wp-faq { max-width: 46rem; }
.wp-faq details { border: 1px solid var(--fk-borde); border-radius: 14px; background: #fff;
                  margin-bottom: .7rem; }
.wp-faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none;
                  display: flex; justify-content: space-between; gap: 1rem; }
.wp-faq summary::-webkit-details-marker { display: none; }
.wp-faq summary::after { content: "+"; color: var(--fk-azul); font-weight: 800; font-size: 1.2rem;
                         line-height: 1; }
.wp-faq details[open] summary::after { content: "−"; }
.wp-faq .respuesta { padding: 0 1.2rem 1.1rem; color: #3c4a5d; line-height: 1.7; }
.wp-faq .respuesta p:last-child { margin-bottom: 0; }

.wp-bloque-gris { background: #F7F9FC; padding: 3rem 0; }

/* El canalón de 3rem de `.g-5` desborda el contenedor en un móvil (margen negativo de 1.5rem contra un
   relleno de .75rem): 12 px de desplazamiento horizontal en la portada y en cada página. En pantalla
   estrecha las columnas van apiladas y el canalón horizontal no aporta nada. */
@media (max-width: 991.98px) {
    .fk-landing .g-5 { --bs-gutter-x: 1.5rem; }
}

/* Recuadro «En pocas palabras»: a su altura, no a la de la columna, y acompañando la lectura. */
.wp-cuerpo aside .fk-feature { height: auto; position: sticky; top: 6rem; }
