/* ==========================================================================
   FEDAC · Federación Empresarial Alcoià-Comtat
   Hoja de estilos del site "fedac" de CoWorkia.Publica
   Paleta tomada del logotipo: azul cian + estrellas doradas sobre azul marino.
   ========================================================================== */

:root {
    --fe-navy: #07203A;
    --fe-navy-2: #0B3556;
    --fe-blue: #0A9BDB;
    --fe-blue-d: #0877AA;
    --fe-cyan: #4AA6DC;
    --fe-sky: #E8F5FC;
    --fe-gold: #F6B300;
    --fe-gold-d: #D99A00;
    --fe-ink: #0E1D2C;
    --fe-text: #34485C;
    --fe-muted: #6A7B8D;
    --fe-line: #E2EAF1;
    --fe-bg: #F5F8FB;
    --fe-white: #fff;
    --fe-radius: 16px;
    --fe-radius-sm: 10px;
    --fe-shadow: 0 10px 30px rgba(7, 32, 58, .10);
    --fe-shadow-lg: 0 24px 60px rgba(7, 32, 58, .18);
    --fe-font-h: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --fe-font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --fe-header-h: 110px;
    --fe-ease: cubic-bezier(.22, .8, .2, 1);
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.fe {
    font-family: var(--fe-font-b);
    font-size: 16px;
    line-height: 1.65;
    color: var(--fe-text);
    background: var(--fe-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.fe h1, .fe h2, .fe h3, .fe h4, .fe h5, .fe h6 { font-family: var(--fe-font-h); color: var(--fe-ink); line-height: 1.2; letter-spacing: -.01em; }
.fe a { color: var(--fe-blue-d); transition: color .2s ease; }
.fe a:hover { color: var(--fe-blue); text-decoration: none; }
.fe img { max-width: 100%; height: auto; }
.fe .container { max-width: 1240px; }
.fe ::selection { background: var(--fe-gold); color: var(--fe-navy); }
.fe-skip { position: absolute; left: -999px; top: 8px; background: var(--fe-gold); color: var(--fe-navy); padding: 8px 16px; z-index: 3000; border-radius: 8px; font-weight: 600; }
.fe-skip:focus { left: 8px; }
.fe .wrapper-principal { overflow-x: clip; }
.fe .main { min-height: 50vh; }

/* ------------------------------------------------------------------ botones */
.fe-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--fe-font-h); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; text-decoration: none !important; line-height: 1.2;
    transition: transform .25s var(--fe-ease), box-shadow .25s var(--fe-ease), background .25s, color .25s, border-color .25s;
}
.fe-btn:hover { transform: translateY(-2px); }
.fe-btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.fe-btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.fe-btn-gold { background: var(--fe-gold); color: var(--fe-navy) !important; box-shadow: 0 8px 22px rgba(246, 179, 0, .35); }
.fe-btn-gold:hover { background: #ffc61f; box-shadow: 0 12px 28px rgba(246, 179, 0, .5); color: var(--fe-navy) !important; }
.fe-btn-primary { background: var(--fe-blue); color: #fff !important; box-shadow: 0 8px 22px rgba(10, 155, 219, .3); }
.fe-btn-primary:hover { background: var(--fe-blue-d); color: #fff !important; }
.fe-btn-ghost { background: transparent; color: var(--fe-blue-d) !important; border-color: var(--fe-blue); }
.fe-btn-ghost:hover { background: var(--fe-blue); color: #fff !important; }
.fe-btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.fe-btn-ghost-light:hover { background: #fff; color: var(--fe-navy) !important; border-color: #fff; }
.fe-btn i { transition: transform .25s var(--fe-ease); }
.fe-btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* ------------------------------------------------------------------ cabecera */
.fe-header { position: sticky; top: 0; z-index: 1500; transition: background .35s ease, box-shadow .35s ease, transform .35s var(--fe-ease); }
.fe-topbar { background: var(--fe-navy); color: #cfe3f2; font-size: .8rem; transition: max-height .3s ease, opacity .3s ease; max-height: 44px; overflow: hidden; }
.fe-topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.fe-topbar a { color: #cfe3f2; }
.fe-topbar a:hover { color: var(--fe-gold); }
.fe-topbar-datos a { margin-right: 1.4rem; }
.fe-topbar-datos i { margin-right: .35rem; color: var(--fe-gold); }
.fe-social { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.fe-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); font-size: .8rem; transition: all .25s var(--fe-ease); }
.fe-social a:hover { background: var(--fe-gold); border-color: var(--fe-gold); color: var(--fe-navy); transform: translateY(-2px); }
.fe-social-dark a { color: var(--fe-blue-d); border-color: var(--fe-line); }
.fe-social-dark a:hover { color: var(--fe-navy); }

.fe-navbar { background: #fff; transition: background .35s ease, box-shadow .35s ease; border-bottom: 1px solid var(--fe-line); }
.fe-navbar > .container { display: flex; align-items: center; justify-content: space-between; height: 88px; padding-top: .5rem; padding-bottom: .5rem; transition: height .3s ease; position: relative; }
.fe-logo { display: block; flex: 0 0 auto; line-height: 0; margin-right: 2rem; padding: .35rem 0; }
.fe-nav { margin-left: auto; }
.fe-logo img { height: 46px; width: auto; transition: height .3s ease, opacity .3s ease; }
.fe-logo-blanco { display: none !important; }

/* Cabecera sobre hero (transparente) */
.fe-over-hero .fe-header { position: fixed; left: 0; right: 0; }
.fe-over-hero .fe-navbar { background: transparent; border-bottom-color: rgba(255, 255, 255, .12); }
.fe-over-hero .fe-topbar { background: rgba(7, 32, 58, .35); backdrop-filter: blur(6px); }
.fe-over-hero:not(.fe-scrolled) .fe-logo-color { display: none; }
.fe-over-hero:not(.fe-scrolled) .fe-logo-blanco { display: block !important; }
.fe-over-hero:not(.fe-scrolled) .fe-nav-list > .fe-nav-item > a { color: #fff; }
.fe-over-hero:not(.fe-scrolled) .fe-burger span { background: #fff; }

/* Estado con scroll */
.fe-scrolled .fe-topbar { max-height: 0; opacity: 0; }
.fe-scrolled .fe-navbar { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 6px 30px rgba(7, 32, 58, .12); }
.fe-scrolled .fe-navbar > .container { height: 76px; }
.fe-scrolled .fe-logo img { height: 40px; }

/* ------------------------------------------------------------------ navegación + mega menú */
.fe-nav { display: flex; align-items: center; gap: 1rem; }
.fe-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.fe-nav-item { position: static; }
.fe-nav-list > .fe-nav-item > a {
    position: relative; display: inline-flex; align-items: center; gap: .4rem;
    padding: .6rem .85rem; font-family: var(--fe-font-h); font-weight: 500; font-size: .92rem;
    color: var(--fe-ink); border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.fe-nav-list > .fe-nav-item > a::after {
    content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--fe-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--fe-ease);
}
.fe-nav-list > .fe-nav-item:hover > a::after,
.fe-nav-list > .fe-nav-item.is-open > a::after,
.fe-nav-list > .fe-nav-item > a:focus-visible::after { transform: scaleX(1); }
.fe-nav-list > .fe-nav-item > a.dropdown-toggle::before { display: none; }
.fe-nav-list > .fe-nav-item.has-mega > a::before {
    content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .6rem; order: 2; opacity: .7; transition: transform .3s var(--fe-ease); display: inline-block !important; border: 0; margin: 0; vertical-align: 0;
}
.fe-nav-list > .fe-nav-item.has-mega:hover > a::before,
.fe-nav-list > .fe-nav-item.has-mega.is-open > a::before { transform: rotate(180deg); }
.fe-nav-item.is-home { display: none; }
.fe-nav-cta { margin-left: .75rem; }

/* Panel del mega menú */
.fe-mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 3px solid var(--fe-gold);
    box-shadow: 0 30px 60px rgba(7, 32, 58, .22);
    padding: 1.6rem 0 1.8rem;
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .28s var(--fe-ease), transform .28s var(--fe-ease), visibility 0s linear .28s;
}
.fe-nav-item:hover > .fe-mega,
.fe-nav-item:focus-within > .fe-mega,
.fe-nav-item.is-open > .fe-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fe-mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; } /* puente hover */
.fe-mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: stretch; }
.fe-mega-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .35rem 1.25rem; align-content: start; }
.fe-mega-item { position: relative; display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem; border-radius: 14px; transition: background .2s ease, transform .25s var(--fe-ease); }
.fe-mega-item:hover { background: var(--fe-sky); transform: translateX(3px); }
.fe-mega-ico {
    flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: .95rem;
    color: var(--fe-blue-d); background: #fff; border: 1.5px solid rgba(10, 155, 219, .28);
    box-shadow: inset 0 0 0 4px var(--fe-sky);
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fe-mega-item:hover .fe-mega-ico { background: var(--fe-blue); color: #fff; border-color: var(--fe-blue); box-shadow: inset 0 0 0 4px var(--fe-blue), 0 4px 12px rgba(10, 155, 219, .3); }
.fe-mega-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fe-mega-link { font-family: var(--fe-font-h); font-weight: 600; font-size: .95rem; color: var(--fe-ink) !important; }
.fe-mega-link::after { content: ''; position: absolute; inset: 0; } /* enlace extendido a toda la tarjeta */
.fe-mega-txt small { font-size: .8rem; color: var(--fe-muted); margin-top: 2px; }
.fe-mega-aside {
    position: relative; overflow: hidden; border-radius: 18px; padding: 1.6rem; color: #d7e8f5;
    background: radial-gradient(120% 90% at 100% 0%, rgba(10, 155, 219, .55), transparent 60%), linear-gradient(160deg, var(--fe-navy), var(--fe-navy-2));
    display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
}
.fe-mega-aside > i { color: var(--fe-gold); font-size: 1.4rem; }
.fe-mega-aside strong { font-family: var(--fe-font-h); color: #fff; font-size: 1.15rem; line-height: 1.25; }
.fe-mega-aside p { margin: 0 0 .6rem; font-size: .88rem; }
.fe-mega-aside::after { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -18px; bottom: -34px; font-size: 8rem; color: rgba(246, 179, 0, .08); transform: rotate(14deg); }

/* Burger */
.fe-burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 0; position: relative; z-index: 2100; cursor: pointer; }
.fe-burger span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--fe-ink); transition: transform .3s var(--fe-ease), opacity .2s, top .3s var(--fe-ease), background .3s; }
.fe-burger span:nth-child(1) { top: 15px; }
.fe-burger span:nth-child(2) { top: 22px; }
.fe-burger span:nth-child(3) { top: 29px; }
.fe-menu-abierto .fe-burger span { background: #fff !important; }
.fe-menu-abierto .fe-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.fe-menu-abierto .fe-burger span:nth-child(2) { opacity: 0; }
.fe-menu-abierto .fe-burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (min-width: 1200px) and (max-width: 1399px) {
    .fe-nav-list > .fe-nav-item > a { padding: .6rem .55rem; font-size: .86rem; }
    .fe-nav { gap: .5rem; }
    .fe-nav-cta { margin-left: .25rem; padding: .6rem 1.1rem; }
    .fe-logo img { height: 42px; }
}
@media (max-width: 1199px) {
    .fe-topbar { display: none; }
    .fe-burger { display: block; }
    .fe-nav {
        position: fixed; inset: 0; z-index: 2000; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem;
        padding: 96px 1.4rem 2rem; overflow-y: auto; background: linear-gradient(170deg, var(--fe-navy), var(--fe-navy-2));
        transform: translateX(100%); visibility: hidden; transition: transform .45s var(--fe-ease), visibility 0s linear .45s;
    }
    .fe-menu-abierto .fe-nav { transform: none; visibility: visible; transition-delay: 0s; }
    .fe-menu-abierto { overflow: hidden; }
    .fe-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .fe-nav-item.is-home { display: block; }
    .fe-nav-list > .fe-nav-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .fe-nav-list > .fe-nav-item > a, .fe-over-hero:not(.fe-scrolled) .fe-nav-list > .fe-nav-item > a { color: #fff; font-size: 1.15rem; padding: 1rem .3rem; width: 100%; justify-content: space-between; border-radius: 0; }
    .fe-nav-list > .fe-nav-item > a::after { display: none; }
    .fe-nav-list > .fe-nav-item.has-mega > a::before { order: 3; font-size: .8rem; }
    .fe-mega { position: static; box-shadow: none; border: 0; background: transparent; padding: 0; transform: none; opacity: 1; visibility: visible; max-height: 0; overflow: hidden; transition: max-height .4s var(--fe-ease); }
    .fe-nav-item:hover > .fe-mega, .fe-nav-item:focus-within > .fe-mega { max-height: 0; opacity: 1; transform: none; }
    .fe-nav-item.is-open > .fe-mega { max-height: 1600px; padding-bottom: 1rem; }
    .fe-mega::before { display: none; }
    .fe-mega .container { padding: 0; }
    .fe-mega-inner { grid-template-columns: 1fr; }
    .fe-mega-lista { grid-template-columns: 1fr; gap: 0; }
    .fe-mega-item:hover { background: rgba(255, 255, 255, .08); transform: none; }
    .fe-mega-link { color: #fff !important; }
    .fe-mega-txt small { color: #9db6ca; }
    .fe-mega-aside { display: none; }
    .fe-nav-cta { align-self: flex-start; margin: 1rem 0 0; }
    .fe-over-hero:not(.fe-scrolled) .fe-menu-abierto .fe-logo-color { display: none; }
    .fe-menu-abierto .fe-logo { position: relative; z-index: 2100; }
    .fe-menu-abierto .fe-logo-color { display: none; }
    .fe-menu-abierto .fe-logo-blanco { display: block !important; }
}

/* Logo con aire en responsive */
@media (max-width: 1199px) {
    .fe-logo { padding: .75rem 0 .75rem .6rem; margin-right: 1rem; }
    .fe-logo img { height: 40px; }
    .fe-scrolled .fe-logo img { height: 36px; }
}
@media (max-width: 575px) {
    .fe-navbar > .container { padding-left: 1.1rem; padding-right: 1.1rem; height: 80px; }
    .fe-logo { padding-left: .35rem; }
    .fe-logo img { height: 36px; }
    .fe-scrolled .fe-logo img { height: 34px; }
}

/* ------------------------------------------------------------------ animaciones comunes */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--fe-ease), transform .9s var(--fe-ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes fe-rise { from { opacity: 0; transform: translateY(110%) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes fe-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fe-spin { to { transform: rotate(360deg); } }
@keyframes fe-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.15); } 66% { transform: translate(-40px, 50px) scale(.9); } }
@keyframes fe-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes fe-dash { to { stroke-dashoffset: -400; } }
@keyframes fe-scroll { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes fe-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ HERO (home) */
.fe-hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
    padding: calc(var(--fe-header-h) + 40px) 0 90px; color: #fff; overflow: hidden; isolation: isolate;
    background: linear-gradient(135deg, #051528 0%, var(--fe-navy) 35%, var(--fe-navy-2) 70%, #0A6E9E 100%);
}
.fe-hero-photo { position: absolute; inset: 0; z-index: -4; background-size: cover; background-position: center; opacity: .0; transform: scale(1.08); animation: fe-kenburns 28s ease-in-out infinite alternate; }
.fe-hero-photo.has-img { opacity: .38; mix-blend-mode: luminosity; }
@keyframes fe-kenburns { to { transform: scale(1.2) translate(-2%, -1%); } }
.fe-hero-blobs { position: absolute; inset: 0; z-index: -3; }
.fe-hero-blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: fe-blob 22s ease-in-out infinite; }
.fe-hero-blobs i:nth-child(1) { width: 520px; height: 520px; background: var(--fe-blue); left: -120px; top: 8%; }
.fe-hero-blobs i:nth-child(2) { width: 420px; height: 420px; background: #1457a8; right: 8%; top: -80px; animation-delay: -7s; }
.fe-hero-blobs i:nth-child(3) { width: 360px; height: 360px; background: var(--fe-gold); opacity: .18; right: -80px; bottom: 5%; animation-delay: -13s; }
.fe-hero-dots { position: absolute; inset: 0; z-index: -2; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.2px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%); }
.fe-hero { border-bottom-left-radius: 50% 56px; border-bottom-right-radius: 50% 56px; }
.fe-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; }
.fe-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #cfe8f7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.fe-eyebrow i { color: var(--fe-gold); }
.fe-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; margin: 1.3rem 0 1.4rem; }
.fe-hero h1 .fe-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.fe-hero h1 .fe-line > span { display: inline-block; animation: fe-rise 1.1s var(--fe-ease) both; animation-delay: calc(var(--i) * 140ms + 250ms); }
.fe-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--fe-gold), #ffd96a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fe-hero .fe-lead { font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: #cfe3f2; max-width: 36rem; line-height: 1.6; animation: fe-fade 1s var(--fe-ease) .95s both; }
.fe-hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; animation: fe-fade 1s var(--fe-ease) 1.15s both; }
.fe-hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.8rem; animation: fe-fade 1s var(--fe-ease) 1.35s both; }
.fe-hero-stats div { border-left: 2px solid var(--fe-gold); padding-left: .9rem; }
.fe-hero-stats b { display: block; font-family: var(--fe-font-h); font-size: 2rem; line-height: 1; color: #fff; }
.fe-hero-stats span { font-size: .8rem; color: #a9c6dc; text-transform: uppercase; letter-spacing: .06em; }
.fe-scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); z-index: 2; }
.fe-scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fe-gold); animation: fe-scroll 1.8s ease-in-out infinite; }

/* Anillo de 12 estrellas = 12 asociaciones */
.fe-ring-wrap { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / .82; margin-left: auto; animation: fe-fade 1.4s var(--fe-ease) .6s both; }
.fe-ring-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.fe-ring-list a { color: #fff; }
.fe-ring-list small { display: block; opacity: .7; }
.js .fe-ring-list { display: block; position: absolute; inset: 0; }
.fe-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fe-orbit ellipse { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.fe-orbit .fe-orbit-run { stroke: var(--fe-gold); stroke-width: 2; stroke-dasharray: 90 310; animation: fe-dash 9s linear infinite; filter: drop-shadow(0 0 6px rgba(246, 179, 0, .8)); }
.js .fe-ring-list li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.js .fe-ring-list li a {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fe-gold);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(246, 179, 0, .5); backdrop-filter: blur(4px);
    box-shadow: 0 0 22px rgba(246, 179, 0, .35); font-size: 1.15rem; text-decoration: none;
    animation: fe-float 6s ease-in-out infinite; animation-delay: calc(var(--k) * -.5s);
    opacity: 0; scale: .2; transition: scale .8s var(--fe-ease), opacity .8s var(--fe-ease), background .3s, color .3s, box-shadow .3s;
    transition-delay: calc(var(--k) * 90ms + 900ms), calc(var(--k) * 90ms + 900ms), 0s, 0s, 0s;
}
.js .fe-ring-list li a.is-in { opacity: 1; scale: 1; }
.js .fe-ring-list li a:hover, .js .fe-ring-list li a:focus-visible { background: var(--fe-gold); color: var(--fe-navy); box-shadow: 0 0 34px rgba(246, 179, 0, .8); scale: 1.18; animation-play-state: paused; z-index: 5; }
.js .fe-ring-list li a span, .js .fe-ring-list li a small { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(6px); opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .25s, transform .25s var(--fe-ease); }
.js .fe-ring-list li a span { font-family: var(--fe-font-h); font-weight: 700; font-size: .78rem; color: #fff; background: var(--fe-navy); padding: .25rem .65rem; border-radius: 999px; border: 1px solid rgba(246, 179, 0, .5); }
.js .fe-ring-list li a small { display: none; }
.js .fe-ring-list li a:hover span, .js .fe-ring-list li a:focus-visible span { opacity: 1; transform: translateX(-50%) translateY(0); }
.fe-ring-centro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: 46%; pointer-events: none; }
.fe-ring-centro b { display: block; font-family: var(--fe-font-h); font-weight: 800; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; background: linear-gradient(180deg, #fff, #8cd3f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fe-ring-centro span { display: block; font-size: clamp(.8rem, 1.4vw, 1.05rem); color: #cfe3f2; letter-spacing: .04em; transition: opacity .25s; }
.fe-ring-centro .fe-ring-nombre { font-family: var(--fe-font-h); font-weight: 700; color: var(--fe-gold); margin-top: .35rem; min-height: 1.5em; }
html:not(.js) .fe-ring-centro { display: none; }
html:not(.js) .fe-ring-wrap { aspect-ratio: auto; }
.fe-stars-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.fe-stars-bg i { position: absolute; color: var(--fe-gold); font-size: var(--s, 10px); opacity: .5; animation: fe-twinkle 4s ease-in-out infinite; animation-delay: var(--t, 0s); }

@media (max-width: 991px) {
    .fe-hero { padding-top: calc(var(--fe-header-h) + 10px); align-items: flex-start; }
    .fe-hero-grid { grid-template-columns: 1fr; }
    .fe-ring-wrap { max-width: 460px; margin: 1.5rem auto 0; }
    .js .fe-ring-list li a { width: 38px; height: 38px; font-size: 1rem; }
    .fe-hero-stats { gap: 1.4rem; }
}

/* ------------------------------------------------------------------ secciones home */
.fe-section { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.fe-section-alt { background: var(--fe-bg); }
.fe-kicker { display: inline-block; font-family: var(--fe-font-h); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fe-blue-d); margin-bottom: .8rem; }
.fe-kicker::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--fe-gold); vertical-align: middle; margin-right: .6rem; }
.fe-titulo { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 1rem; }
.fe-titulo em { font-style: normal; color: var(--fe-blue); }
.fe-sub { font-size: 1.1rem; color: var(--fe-muted); max-width: 40rem; }
.fe-cabecera { max-width: 46rem; margin-bottom: 3rem; }
.fe-cabecera.fe-centro { margin-left: auto; margin-right: auto; text-align: center; }
.fe-cabecera.fe-centro .fe-sub { margin-left: auto; margin-right: auto; }

/* Quiénes somos */
.fe-about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fe-about-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; }
.fe-about-visual .fe-blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: linear-gradient(135deg, var(--fe-blue), var(--fe-navy-2)); animation: fe-spin 40s linear infinite; box-shadow: var(--fe-shadow-lg); }
.fe-about-visual .fe-blob2 { position: absolute; inset: 0; border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%; border: 2px dashed rgba(10, 155, 219, .35); animation: fe-spin 60s linear infinite reverse; }
.fe-about-visual .fe-year { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; }
.fe-about-visual .fe-year b { font-family: var(--fe-font-h); font-weight: 800; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 1; }
.fe-about-visual .fe-year span { letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: #bfe0f3; }
.fe-about-visual .fe-year i { color: var(--fe-gold); font-size: 1.4rem; margin-bottom: .5rem; }
.fe-about-visual .fe-chip { position: absolute; background: #fff; border-radius: 14px; padding: .65rem 1rem; box-shadow: var(--fe-shadow); font-family: var(--fe-font-h); font-weight: 600; font-size: .85rem; color: var(--fe-ink); animation: fe-float 7s ease-in-out infinite; }
.fe-about-visual .fe-chip i { color: var(--fe-gold); margin-right: .4rem; }
.fe-about-visual .fe-chip:nth-of-type(1) { left: -4%; top: 14%; }
.fe-about-visual .fe-chip:nth-of-type(2) { right: -2%; top: 44%; animation-delay: -2s; }
.fe-about-visual .fe-chip:nth-of-type(3) { left: 6%; bottom: 8%; animation-delay: -4s; }
.fe-pilares { display: grid; gap: 1rem; margin-top: 2rem; }
.fe-pilar { display: flex; gap: 1.1rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); transition: transform .35s var(--fe-ease), box-shadow .35s var(--fe-ease), border-color .3s; }
.fe-pilar:hover { transform: translateX(8px); box-shadow: var(--fe-shadow); border-color: var(--fe-blue); }
.fe-pilar > i { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--fe-sky); color: var(--fe-blue-d); font-size: 1.2rem; transition: background .3s, color .3s; }
.fe-pilar:hover > i { background: var(--fe-blue); color: #fff; }
.fe-pilar h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.fe-pilar p { margin: 0; font-size: .95rem; color: var(--fe-muted); }

/* Cifras */
.fe-cifras { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 6vw, 5.5rem) 0; background: linear-gradient(135deg, var(--fe-navy), var(--fe-navy-2)); isolation: isolate; }
.fe-cifras::before { content: ''; position: absolute; inset: -20% 0; z-index: -1; background: radial-gradient(40% 60% at 15% 30%, rgba(10, 155, 219, .45), transparent 70%), radial-gradient(35% 50% at 90% 80%, rgba(246, 179, 0, .22), transparent 70%); }
.fe-cifras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.fe-cifra b { display: block; font-family: var(--fe-font-h); font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1; background: linear-gradient(180deg, #fff, #8cd3f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fe-cifra b sup, .fe-cifra b small { font-size: .5em; color: var(--fe-gold); -webkit-text-fill-color: var(--fe-gold); }
.fe-cifra span { display: block; margin-top: .6rem; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #a9c6dc; }
.fe-cifra { position: relative; }
.fe-cifra:not(:last-child)::after { content: ''; position: absolute; right: -1rem; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .15); }

/* Asociaciones */
.fe-asoc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.fe-asoc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; text-decoration: none !important; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease), border-color .3s; }
.fe-asoc-card::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(10, 155, 219, .14), transparent 70%); pointer-events: none; }
.fe-asoc-card:hover { transform: translateY(-8px); box-shadow: var(--fe-shadow-lg); border-color: var(--fe-blue); }
.fe-asoc-card:hover::before { opacity: 1; }
.fe-asoc-logo { display: grid; place-items: center; padding: 1.2rem; background: #fff; aspect-ratio: 286 / 180; }
.fe-asoc-logo img { max-height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .4s, opacity .4s, transform .5s var(--fe-ease); mix-blend-mode: multiply; }
.fe-asoc-card:hover .fe-asoc-logo img { filter: none; opacity: 1; transform: scale(1.07); }
.fe-asoc-info { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem 1.1rem; border-top: 1px solid var(--fe-line); margin-top: auto; }
.fe-asoc-info i { color: var(--fe-gold-d); width: 1.2rem; text-align: center; }
.fe-asoc-info strong { display: block; font-family: var(--fe-font-h); font-size: .95rem; color: var(--fe-ink); line-height: 1.2; }
.fe-asoc-info small { color: var(--fe-muted); font-size: .8rem; }
.fe-asoc-info .fa-arrow-right { margin-left: auto; color: var(--fe-blue); opacity: 0; transform: translateX(-8px); transition: all .3s var(--fe-ease); }
.fe-asoc-card:hover .fa-arrow-right { opacity: 1; transform: none; }

/* Spotlight ayudas */
.fe-ayudas { background: var(--fe-bg); }
.fe-ayudas-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: stretch; }
.fe-spot { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(1.6rem, 4vw, 3rem); color: #cfe3f2; background: linear-gradient(145deg, var(--fe-navy), #0A4A74); box-shadow: var(--fe-shadow-lg); isolation: isolate; }
.fe-spot::before { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -40px; top: -50px; font-size: 18rem; color: rgba(246, 179, 0, .08); z-index: -1; transform: rotate(18deg); }
.fe-spot .fe-badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: rgba(246, 179, 0, .15); color: var(--fe-gold); border: 1px solid rgba(246, 179, 0, .4); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fe-spot .fe-importe { display: block; font-family: var(--fe-font-h); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; color: #fff; margin: 1rem 0 .4rem; letter-spacing: -.03em; }
.fe-spot h3 { color: #fff; font-size: 1.35rem; }
.fe-spot p { font-size: .98rem; }
.fe-spot .fe-logos { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.fe-spot .fe-logos span { background: #fff; border-radius: 12px; padding: .5rem .9rem; display: inline-flex; }
.fe-spot .fe-logos img { height: 44px; width: auto; }
.fe-buscadores { display: grid; gap: .8rem; align-content: start; }
.fe-buscador { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: .9rem 1.1rem; text-decoration: none !important; transition: transform .3s var(--fe-ease), box-shadow .3s var(--fe-ease), border-color .3s; }
.fe-buscador:hover { transform: translateX(6px); box-shadow: var(--fe-shadow); border-color: var(--fe-blue); }
.fe-buscador img { width: 78px; height: 46px; object-fit: contain; mix-blend-mode: multiply; flex: 0 0 78px; }
.fe-buscador strong { display: block; color: var(--fe-ink); font-family: var(--fe-font-h); font-size: .95rem; line-height: 1.25; }
.fe-buscador small { color: var(--fe-muted); }
.fe-buscador > i { margin-left: auto; color: var(--fe-blue); }

/* Noticias (panel dinámico data-panel="noticias") */
.fe-noticias .ultimas-noticias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ultimas-noticias li { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease); }
.ultimas-noticias li:hover { transform: translateY(-8px); box-shadow: var(--fe-shadow-lg); }
.ultimas-noticias li img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--fe-ease); }
.ultimas-noticias li:hover img { transform: scale(1.07); }
.ultimas-noticias li > img { display: block; }
.ultimas-noticias li > div { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.ultimas-noticias li a { color: var(--fe-ink); font-family: var(--fe-font-h); font-weight: 600; font-size: 1.05rem; line-height: 1.35; text-decoration: none; }
.ultimas-noticias li a::after { content: ''; position: absolute; inset: 0; }
.ultimas-noticias li a:hover { color: var(--fe-blue-d); }
.ultimas-noticias li .fecha { order: -1; font-size: .78rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fe-blue-d) !important; margin: 0 !important; }
.fe-noticias .ultimas-noticias li:first-child { grid-column: span 2; grid-row: span 1; flex-direction: row; background: linear-gradient(135deg, var(--fe-navy), var(--fe-navy-2)); border: 0; }
.fe-noticias .ultimas-noticias li:first-child img { width: 48%; aspect-ratio: auto; height: 100%; min-height: 260px; }
.fe-noticias .ultimas-noticias li:first-child > div { justify-content: center; padding: 2rem; }
.fe-noticias .ultimas-noticias li:first-child a { color: #fff; font-size: 1.45rem; }
.fe-noticias .ultimas-noticias li:first-child .fecha { color: var(--fe-gold) !important; }
.fe-noticias .ultimas-noticias li:first-child a:hover { color: var(--fe-gold); }
.fe-noticias-pie { text-align: center; margin-top: 2.4rem; }

/* Agenda (panel dinámico data-panel="eventos") */
.fe-agenda { background: var(--fe-bg); }
.fe-agenda:has(.panel-inicio-sin-datos) { display: none; }
.ultimos-eventos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ultimos-eventos li { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease); }
.ultimos-eventos li:hover { transform: translateY(-8px); box-shadow: var(--fe-shadow-lg); }
.ultimos-eventos li img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ultimos-eventos li > div { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.ultimos-eventos li a { color: var(--fe-ink); font-family: var(--fe-font-h); font-weight: 600; font-size: 1.05rem; line-height: 1.35; text-decoration: none; }
.ultimos-eventos li a::after { content: ''; position: absolute; inset: 0; }
.ultimos-eventos li .fecha { order: -1; font-size: .78rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fe-blue-d) !important; margin: 0 !important; }
.ultimos-eventos li .fecha::before { content: '\f073'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: .5rem; color: var(--fe-gold-d); }
/* El panel devuelve los eventos del más lejano al más próximo: los mostramos cronológicamente */
.fe-agenda .ultimos-eventos { display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; }
.fe-agenda .ultimos-eventos li { flex: 0 1 calc(33.333% - 1rem); }
@media (max-width: 991px) { .ultimos-eventos { grid-template-columns: repeat(2, 1fr); } .fe-agenda .ultimos-eventos li { flex-basis: calc(50% - .75rem); } }
@media (max-width: 575px) { .ultimos-eventos { grid-template-columns: 1fr; } .fe-agenda .ultimos-eventos { flex-direction: column-reverse; } .fe-agenda .ultimos-eventos li { flex-basis: auto; } }

/* CTA final */
.fe-cta { position: relative; overflow: hidden; margin: 0; padding: clamp(3.5rem, 7vw, 6rem) 0; color: #fff; text-align: center; background: linear-gradient(120deg, var(--fe-blue-d), var(--fe-navy-2) 55%, var(--fe-navy)); isolation: isolate; }
.fe-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 85% 20%, rgba(246, 179, 0, .35), transparent 70%), radial-gradient(40% 60% at 10% 90%, rgba(74, 166, 220, .55), transparent 70%); }
.fe-cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 22ch; margin: 0 auto 1rem; }
.fe-cta p { color: #cfe3f2; font-size: 1.1rem; max-width: 40rem; margin: 0 auto 2rem; }
.fe-cta .fe-hero-cta { justify-content: center; animation: none; margin-top: 0; }
.fe-cta .fe-stars-bg i { opacity: .35; }

@media (max-width: 1099px) {
    .fe-asoc-grid { grid-template-columns: repeat(3, 1fr); }
    .fe-cifras-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
    .fe-cifra:nth-child(2)::after { display: none; }
}
@media (max-width: 991px) {
    .fe-about-grid, .fe-ayudas-grid { grid-template-columns: 1fr; }
    .fe-about-visual { max-width: 380px; margin: 0 auto; }
    .fe-noticias .ultimas-noticias { grid-template-columns: repeat(2, 1fr); }
    .fe-noticias .ultimas-noticias li:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
    .fe-asoc-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .fe-asoc-info { padding: .7rem .8rem .8rem; }
    .fe-asoc-info .fa-arrow-right { display: none; }
    .fe-noticias .ultimas-noticias { grid-template-columns: 1fr; }
    .fe-noticias .ultimas-noticias li:first-child { grid-column: auto; flex-direction: column; }
    .fe-noticias .ultimas-noticias li:first-child img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
    .fe-cifras-grid { gap: 1.5rem 1rem; }
    .fe-cifra::after { display: none; }
    .fe-hero-cta .fe-btn { width: 100%; }
}

/* ------------------------------------------------------------------ páginas interiores */
.fe .imagen-pagina {
    position: relative; height: auto; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
    background-color: var(--fe-navy); background-size: cover; background-position: center; background-repeat: no-repeat;
    padding: calc(var(--fe-header-h) + 20px) 0 3rem;
}
.fe:not(.fe-over-hero) .imagen-pagina { padding-top: 3.5rem; min-height: 300px; }
.fe .imagen-pagina::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(5, 21, 40, .94) 0%, rgba(7, 32, 58, .8) 45%, rgba(10, 155, 219, .35) 100%); }
.fe .imagen-pagina::after {
    content: ''; position: absolute; right: -90px; bottom: -110px; width: 420px; height: 420px; z-index: -1; opacity: .9;
    background: radial-gradient(circle, rgba(246, 179, 0, .22), transparent 62%);
}
.fe .overlay-titulo-pagina { display: none; }
.fe .imagen-pagina .container { position: relative; }
.fe .imagen-pagina .container::after {
    content: '\f005 \f005 \f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 12px; top: -10px; letter-spacing: .6em; font-size: .7rem; color: var(--fe-gold); opacity: .55;
    animation: fe-twinkle 4s ease-in-out infinite;
}
.fe .titulo-pagina { position: static; background: transparent; text-align: left; padding: 0 15px; }
.fe .titulo-pagina h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin: 0 0 .6rem; max-width: 24ch; animation: fe-fade .9s var(--fe-ease) .1s both; }
.fe .titulo-pagina .lead { color: #bfdced; font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 0; max-width: 46rem; animation: fe-fade .9s var(--fe-ease) .25s both; }
.fe .titulo-pagina .lead:empty { display: none; }
.fe .titulo-pagina h1::before { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--fe-gold); margin-bottom: 1.1rem; }

.fe .texto-contenido, .fe .texto-pagina { font-size: 1.04rem; line-height: 1.8; color: var(--fe-text); }
.fe .texto-contenido h2, .fe .texto-pagina h2 { font-size: 1.75rem; margin: 2.2rem 0 1rem; font-weight: 700; }
.fe .texto-contenido h3, .fe .texto-pagina h3 { font-size: 1.35rem; margin: 1.8rem 0 .8rem; font-weight: 700; }
.fe .texto-contenido h4, .fe .texto-pagina h4 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; font-weight: 600; }
.fe .texto-contenido p, .fe .texto-pagina p { margin-bottom: 1.15rem; }
.fe .texto-contenido a:not(.btn):not(.fe-btn), .fe .texto-pagina a:not(.btn):not(.fe-btn) { text-decoration: underline; text-decoration-color: rgba(10, 155, 219, .4); text-underline-offset: 3px; }
.fe .texto-contenido ul, .fe .texto-pagina ul { list-style: none; padding-left: 0; margin: 0 0 1.4rem; }
.fe .texto-contenido ul li, .fe .texto-pagina ul li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.fe .texto-contenido ul li::before, .fe .texto-pagina ul li::before { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .15em; font-size: .72rem; color: var(--fe-gold); }
.fe .texto-contenido ol li, .fe .texto-pagina ol li { margin-bottom: .55rem; padding-left: .3rem; }
.fe .texto-contenido ol li::marker, .fe .texto-pagina ol li::marker { color: var(--fe-blue); font-weight: 700; }
.fe .texto-contenido img, .fe .texto-pagina img { border-radius: var(--fe-radius-sm); }
.fe .texto-contenido blockquote, .fe .texto-pagina blockquote { border-left: 4px solid var(--fe-gold); background: var(--fe-bg); padding: 1.1rem 1.4rem; border-radius: 0 var(--fe-radius-sm) var(--fe-radius-sm) 0; font-size: 1.1rem; color: var(--fe-ink); }
.fe .texto-contenido table, .fe .texto-pagina table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 1.5rem; font-size: .95rem; border: 1px solid var(--fe-line); border-radius: var(--fe-radius-sm); overflow: hidden; }
.fe .texto-contenido th, .fe .texto-pagina th { background: var(--fe-navy); color: #fff; font-family: var(--fe-font-h); font-weight: 600; padding: .7rem 1rem; }
.fe .texto-contenido td, .fe .texto-pagina td { padding: .7rem 1rem; border-top: 1px solid var(--fe-line); }
.fe .texto-contenido tr:nth-child(even) td, .fe .texto-pagina tr:nth-child(even) td { background: var(--fe-bg); }
.fe .padding-40 { padding-top: 3rem; padding-bottom: 4rem; }

/* Menú lateral de sección */
.fe .nav-pills { gap: .3rem; }
.fe .nav-pills .nav-link { color: var(--fe-text); font-family: var(--fe-font-h); font-weight: 500; font-size: .92rem; border-radius: 12px; padding: .7rem 1rem; border-left: 3px solid transparent; background: var(--fe-bg); transition: all .25s var(--fe-ease); }
.fe .nav-pills .nav-link:hover { background: var(--fe-sky); color: var(--fe-blue-d); transform: translateX(4px); }
.fe .nav-pills .nav-link.active, .fe .nav-pills .show > .nav-link { background: var(--fe-blue); color: #fff; border-left-color: var(--fe-gold); box-shadow: 0 8px 20px rgba(10, 155, 219, .3); }

/* Tarjetas bootstrap (miembros, asociados, ayudas, órganos de gobierno) */
.fe .card { border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; background: #fff; box-shadow: none; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease), border-color .3s; margin-bottom: 1.25rem; }
.fe .row > [class*="col-"] > .card:hover { transform: translateY(-6px); box-shadow: var(--fe-shadow-lg); border-color: var(--fe-blue); }
/* Fichas (tarjeta con cabecera, p. ej. asociados): sin efecto hover */
.fe .row > [class*="col-"] > .card:has(> .card-header):hover { transform: none; box-shadow: none; border-color: var(--fe-line); }
.fe .card .card-img-top { object-fit: contain; background: #fff; padding: .6rem; aspect-ratio: 286 / 180; mix-blend-mode: multiply; border-radius: 0; }
.fe .card-body { padding: 1.1rem 1.25rem 1.3rem; }
.fe .card-title { font-family: var(--fe-font-h); font-size: 1.02rem; font-weight: 600; color: var(--fe-ink); }
.fe .card-text { font-size: .92rem; color: var(--fe-muted); margin-bottom: 0; }
.fe .card-header { background: linear-gradient(120deg, var(--fe-navy), var(--fe-navy-2)); color: #fff; font-family: var(--fe-font-h); font-weight: 700; font-size: 1.1rem; padding: 1rem 1.4rem; border: 0; }
.fe .card-header + .card-body { padding: 1.6rem 1.6rem 1.8rem; }
.fe .card-body .text-center > a > img { max-height: 150px; width: auto; mix-blend-mode: multiply; }
.fe .card-logo { height: 90px; display: flex; align-items: center; justify-content: center; }
.fe .card-logo .helper { display: inline-block; height: 100%; vertical-align: middle; }
.fe .card-logo img { max-height: 70px; max-width: 80%; width: auto; mix-blend-mode: multiply; }
.fe .btn-primary { background: var(--fe-blue); border-color: var(--fe-blue); border-radius: 999px; font-family: var(--fe-font-h); font-weight: 600; padding: .55rem 1.3rem; }
.fe .btn-primary:hover, .fe .btn-primary:focus { background: var(--fe-blue-d); border-color: var(--fe-blue-d); }
.fe .btn-outline-dark { border-radius: 999px; font-family: var(--fe-font-h); font-weight: 600; }
.fe .pos-bottom-left { position: absolute; left: 1.25rem; bottom: 1.1rem; }

/* Bloques propios en contenidos */
.fe-doc { display: flex; gap: 1.6rem; align-items: flex-start; background: var(--fe-bg); border: 1px solid var(--fe-line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.fe-doc-icono { flex: 0 0 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--fe-blue), var(--fe-navy-2)); box-shadow: var(--fe-shadow); }
.fe-doc h3 { margin-top: 0 !important; }
.fe-doc .fe-btn { margin: .4rem .5rem .2rem 0; }
.fe-canal h2 { margin-top: 0 !important; }
.fe-garantias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0 2rem; }
.fe-garantia { background: var(--fe-bg); border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: 1.3rem; transition: transform .3s var(--fe-ease), box-shadow .3s; }
.fe-garantia:hover { transform: translateY(-5px); box-shadow: var(--fe-shadow); }
.fe-garantia i { font-size: 1.5rem; color: var(--fe-blue); margin-bottom: .6rem; }
.fe-garantia h5 { font-size: 1rem; margin: 0 0 .3rem; }
.fe-garantia p { margin: 0 !important; font-size: .92rem; color: var(--fe-muted); }
.fe-nota { font-size: .85rem; color: var(--fe-muted); }
.fe-proyectos { margin-top: 3rem; }
.fe-proyectos > .row + .row { background: var(--fe-bg); border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: 1.6rem; margin: 0 0 1.2rem; }
.fe-proyectos img { max-height: 90px; width: auto; margin-bottom: 1rem; border-radius: 0 !important; }
.fe-proyectos h5 { font-weight: 700; }
.fe-proyectos p { font-size: .92rem !important; text-align: left; }
@media (max-width: 767px) { .fe-garantias { grid-template-columns: 1fr; } .fe-doc { flex-direction: column; } }

/* Formularios */
.fe .form-control, .fe select.form-control { height: auto; min-height: 50px; border-radius: 12px; border: 1px solid #cdd9e4; padding: .7rem 1rem; font-size: 1rem; background-color: #fff; transition: border-color .2s, box-shadow .2s; }
.fe textarea.form-control { min-height: 130px; }
.fe .form-control:focus { border-color: var(--fe-blue); box-shadow: 0 0 0 4px rgba(10, 155, 219, .18); }
.fe label { font-weight: 600; font-size: .9rem; color: var(--fe-ink); margin-bottom: .35rem; }
.fe .form-check-label { font-weight: 400; }
.fe-contacto-info { background: linear-gradient(150deg, var(--fe-navy), var(--fe-navy-2)); color: #cfe3f2; border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.6rem); height: 100%; }
.fe-contacto-info h3 { color: #fff; margin-top: 0; }
.fe-contacto-lista { list-style: none; padding: 0; margin: 1.6rem 0; }
.fe-contacto-lista li { display: flex; gap: 1rem; margin-bottom: 1.3rem; align-items: flex-start; padding-left: 0; }
.fe-contacto-lista li::before { display: none !important; }
.fe-contacto-lista > li > i { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(246, 179, 0, .15); color: var(--fe-gold); }
.fe-contacto-lista strong { display: block; color: #fff; font-family: var(--fe-font-h); }
.fe-contacto-lista a { color: #fff !important; text-decoration: underline; text-decoration-color: var(--fe-gold); text-underline-offset: 3px; }
.fe-contacto-lista span { display: block; }
.fe-contacto-info .fe-social a { color: #fff; }
.fe-contacto-form { background: #fff; border: 1px solid var(--fe-line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--fe-shadow); }
.fe-contacto-form h3 { margin-top: 0; margin-bottom: 1.4rem; }
.fe-aviso-datos { background: var(--fe-bg); border-radius: var(--fe-radius-sm); padding: .9rem 1.1rem; font-size: .8rem; line-height: 1.55; margin-bottom: 1rem; color: var(--fe-muted); }
.fe-aviso-datos p { margin: 0; }

/* Listado de noticias (sobre estilos neutros de noticias/default.aspx) */
.fe .noticias-grid { gap: 1.6rem; }
.fe .noticias-grid .noticia-card { background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease); }
.fe .noticias-grid .noticia-card:hover { transform: translateY(-7px); box-shadow: var(--fe-shadow-lg); }
.fe .noticias-grid .noticia-img { border-radius: 0; margin: 0; }
.fe .noticias-grid .noticia-img img { aspect-ratio: 16 / 10; }
.fe .noticias-grid .noticia-card > *:not(.noticia-img) { padding-left: 1.2rem; padding-right: 1.2rem; }
.fe .noticias-grid .noticia-fecha { color: var(--fe-blue-d); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .74rem; padding-top: 1rem; margin-bottom: .25rem; }
.fe .noticias-grid .noticia-card h3 { font-size: 1.02rem; font-weight: 600; }
.fe .noticias-grid .noticia-card h3 a { color: var(--fe-ink); }
.fe .noticias-grid .noticia-card h3 a:hover { color: var(--fe-blue-d); }
.fe .noticias-grid .noticia-sub { padding-bottom: 1.2rem; }
.fe .noticias-paginador a, .fe .noticias-paginador span { border-radius: 10px; border-color: var(--fe-line); font-weight: 600; }
.fe .noticias-paginador a:hover { background: var(--fe-sky); }
.fe .noticias-paginador span:not(.aspNetDisabled) { background: var(--fe-blue); color: #fff; border-color: var(--fe-blue); }
.fe .compartir-redes-sociales { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; }
.fe .compartir-redes-sociales a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fe-sky); color: var(--fe-blue-d); text-decoration: none; transition: all .25s var(--fe-ease); }
.fe .compartir-redes-sociales a:hover { background: var(--fe-blue); color: #fff; transform: translateY(-3px); }
.fe .texto-pagina .col-md-10 { max-width: 820px; }
/* Botones de compartir: sin viñetas de estrella ni subrayado heredados del texto */
.fe .texto-contenido ul.compartir-redes-sociales li, .fe .texto-pagina ul.compartir-redes-sociales li { padding: 0; margin: 0; width: auto; height: auto; line-height: 1; font-size: inherit; }
.fe .texto-contenido ul.compartir-redes-sociales li::before, .fe .texto-pagina ul.compartir-redes-sociales li::before { content: none; display: none; }
.fe .texto-contenido ul.compartir-redes-sociales li a:not(.btn):not(.fe-btn), .fe .texto-pagina ul.compartir-redes-sociales li a:not(.btn):not(.fe-btn), .fe .compartir-redes-sociales a { text-decoration: none; }

/* Botones bootstrap: el color de enlace del site no debe pisar el texto blanco */
.fe a.btn-primary, .fe a.btn-primary:hover, .fe a.btn-primary:focus { color: #fff; text-decoration: none; }
.fe a.btn-primary > span { color: inherit; }
/* Listado de eventos: separación sobre el botón «Ver evento» */
.fe a.btn.btn-primary.width-250 { margin-top: 1.25rem; }

/* Observatorio tecnológico (blog): listado en tarjetas */
.fe .timeline { padding-left: 0; max-width: 920px; margin: 0 auto; }
.fe .timeline > .timeline-hline, .fe .timeline .timeline-entry > .timeline-vline { display: none; }
.fe .blog-post-item {
    position: relative; display: block; margin: 0 0 1.75rem; padding: 2rem 2rem 2rem 8.2rem;
    background: #fff; border: 1px solid var(--fe-line); border-radius: var(--fe-radius);
}
.fe .timeline .timeline-entry {
    position: absolute; left: 2rem; top: 2rem; right: auto; width: 76px; height: 76px; padding: 0;
    display: grid; place-content: center; border: 0; border-radius: 18px; z-index: 1;
    background: linear-gradient(145deg, var(--fe-navy), var(--fe-navy-2)); color: #fff;
    font-family: var(--fe-font-h); font-weight: 800; font-size: 1.9rem; line-height: 1; text-align: center;
    box-shadow: 0 10px 22px rgba(7, 32, 58, .25);
}
.fe .timeline .timeline-entry > span { display: block; margin-top: .2rem; font-family: var(--fe-font-b); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fe-gold); }
.fe .blog-post-item h2 { font-size: 1.45rem; font-weight: 700; margin: 0 0 .6rem; }
.fe .blog-post-item h2 a { color: var(--fe-ink); text-decoration: none; }
.fe ul.blog-post-info { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 1rem; padding: 0 0 1rem; margin-left: 0; border-bottom: 1px solid var(--fe-line); list-style: none; font-size: .85rem; color: var(--fe-muted); }
.fe ul.blog-post-info li { margin: 0; padding: 0; }
.fe ul.blog-post-info li::before { display: none !important; }
.fe ul.blog-post-info .fa, .fe ul.blog-post-info .fa-solid, .fe ul.blog-post-info .fa-regular { color: var(--fe-gold-d); margin-right: .4rem; }
.fe ul.blog-post-info a { color: var(--fe-muted); text-decoration: none; }
.fe .blog-entradilla { color: var(--fe-text); line-height: 1.7; }
.fe .blog-post-item .btn-primary { margin-top: .4rem; padding: .6rem 1.4rem; font-size: .92rem; }
.fe .blog-post-item .btn-primary::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: .55rem; font-size: .75rem; }
@media (max-width: 640px) {
    .fe .blog-post-item { padding: 5.8rem 1.3rem 1.5rem; }
    .fe .timeline .timeline-entry { left: 1.3rem; top: 1.3rem; width: 66px; height: 66px; }
}

/* Artículo del blog */
.fe .contenido-articulo { font-size: 1.04rem; line-height: 1.8; color: var(--fe-text); }
.fe .contenido-articulo h2, .fe .contenido-articulo h3 { margin: 2rem 0 .8rem; font-weight: 700; }
.fe .contenido-articulo p { margin-bottom: 1.15rem; }
.fe .contenido-articulo ul { list-style: none; padding-left: 0; }
.fe .contenido-articulo ul li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.fe .contenido-articulo ul li::before { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .15em; font-size: .72rem; color: var(--fe-gold); }
.fe .contenido-articulo img { border-radius: var(--fe-radius-sm); }
.fe .pie-articulo { background: var(--fe-bg); border: 1px solid var(--fe-line); border-radius: var(--fe-radius-sm); font-size: .82rem; color: var(--fe-muted); padding: .9rem 1.1rem; }

/* Proyectos financiados (home) */
.fe-proyectos-home { background: var(--fe-bg); }
.fe-proy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fe-proy { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fe-line); border-radius: 20px; padding: 1.6rem; overflow: hidden; transition: transform .4s var(--fe-ease), box-shadow .4s var(--fe-ease), border-color .3s; }
.fe-proy::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--fe-blue), var(--fe-gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--fe-ease); }
.fe-proy:hover { transform: translateY(-6px); box-shadow: var(--fe-shadow-lg); border-color: var(--fe-blue); }
.fe-proy:hover::before { transform: scaleX(1); }
.fe-proy-cab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.fe-proy-cab img { height: 46px; width: auto; max-width: 62%; object-fit: contain; mix-blend-mode: multiply; }
.fe-proy-anio { font-family: var(--fe-font-h); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--fe-blue-d); background: var(--fe-sky); border-radius: 999px; padding: .3rem .75rem; }
.fe-proy h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 .35rem; }
.fe-proy-exp { font-size: .78rem; color: var(--fe-muted); letter-spacing: .04em; margin-bottom: .9rem; }
.fe-proy-importe { font-family: var(--fe-font-h); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--fe-ink); margin-bottom: 1rem; }
.fe-proy-importe small { font-size: .95rem; color: var(--fe-gold-d); font-weight: 700; margin-left: .15rem; }
.fe-proy details { margin-top: auto; border-top: 1px solid var(--fe-line); padding-top: .9rem; }
.fe-proy summary { cursor: pointer; font-family: var(--fe-font-h); font-weight: 600; font-size: .86rem; color: var(--fe-blue-d); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.fe-proy summary::-webkit-details-marker { display: none; }
.fe-proy summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .65rem; transition: transform .3s var(--fe-ease); }
.fe-proy details[open] summary::after { transform: rotate(180deg); }
.fe-proy details p { font-size: .85rem; line-height: 1.6; margin: .8rem 0 0; color: var(--fe-text); }
.fe-proy-diputacion { background: linear-gradient(145deg, var(--fe-navy), var(--fe-navy-2)); border: 0; color: #cfe3f2; }
.fe-proy-diputacion h3 { color: #fff; }
.fe-proy-diputacion .fe-proy-cab img { background: #fff; border-radius: 10px; padding: .35rem .6rem; mix-blend-mode: normal; }
.fe-proy-diputacion p { font-size: .92rem; margin: 0; }
@media (max-width: 991px) { .fe-proy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fe-proy-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ pie */
.fe footer { background: #04152A; color: #a9c0d3; margin-top: 0; padding: 0; }
.fe-pie { background: radial-gradient(60% 80% at 100% 0%, rgba(10, 155, 219, .18), transparent 70%), linear-gradient(180deg, #06223F, #04152A); position: relative; }
.fe-pie::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--fe-blue), var(--fe-gold), var(--fe-blue)); }
.fe-pie-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.fe-pie h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1.2rem; }
.fe-pie h4::after { content: ''; display: block; width: 28px; height: 2px; background: var(--fe-gold); margin-top: .6rem; }
.fe-pie p { font-size: .92rem; }
.fe-pie-brand img { max-width: 260px; margin-bottom: 1.1rem; }
.fe-pie .ul-panel-pie { list-style: none; padding: 0; margin: 0; }
.fe-pie .ul-panel-pie li { margin-bottom: .55rem; padding: 0; }
.fe-pie a { color: #a9c0d3; text-decoration: none; }
.fe-pie .ul-panel-pie a { position: relative; display: inline-block; transition: color .2s, transform .25s var(--fe-ease); }
.fe-pie .ul-panel-pie a:hover { color: var(--fe-gold); transform: translateX(5px); }
.fe-pie a:hover { color: var(--fe-gold); }
.fe-pie address { margin: 0 0 1.2rem; }
.fe-pie address p { display: flex; gap: .8rem; margin-bottom: .7rem; }
.fe-pie address i { color: var(--fe-gold); width: 1rem; margin-top: .3rem; }
.fe-pie .fe-social a { color: #fff; }
.fe-pie-logos { display: grid; gap: .8rem; }
.fe-pie-logos a { display: block; background: #fff; border-radius: 12px; padding: .7rem 1rem; transition: transform .25s var(--fe-ease); }
.fe-pie-logos a:hover { transform: translateY(-3px); }
.fe-pie-logos img { max-height: 56px; width: auto; margin: 0 auto; display: block; }
.fe-pie-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.2rem 0; font-size: .82rem; }
.fe-pie-legal .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 991px) { .fe-pie-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .fe-pie-grid { grid-template-columns: 1fr; padding-top: 3rem; } }

/* ------------------------------------------------------------------ varios */
.fe #divCookies { z-index: 4000; }
.fe .alert { border-radius: var(--fe-radius-sm); }
.fe-cursor-glow { position: fixed; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; z-index: 0; left: 0; top: 0; background: radial-gradient(circle, rgba(10, 155, 219, .10), transparent 65%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js .fe-ring-list li a { opacity: 1; scale: 1; }
}
@media print {
    .fe-header, .fe-hero-blobs, .fe-scroll-cue, footer, #divCookies { display: none !important; }
}
