/* Campus virtual · Fundación de Ciencias y Deportes "H.Fernández"
   Todo se aplica solo con <html class="fh-nuevo">, en la portada y en el ingreso. */

/* ---------- PORTADA: se ocultan los bloques del tema y queda solo el diseño nuevo ---------- */
html.fh-nuevo body#page-site-index{margin:0 !important;padding:0 !important;background:#EEEBEA !important;overflow-x:hidden}
html.fh-nuevo body#page-site-index > *:not(#fh-portada){display:none !important}
#fh-portada{display:block;position:relative;z-index:1;overflow-x:clip}

/* ---------- INGRESO ---------- */
html.fh-nuevo body#page-login-index #page-content{min-height:100vh}
html.fh-nuevo body#page-login-index .login-layout-left{display:flex !important;align-items:stretch;padding:0 !important;margin:0 !important;background:none !important;background-image:none !important;position:relative;overflow:hidden}
html.fh-nuevo body#page-login-index .login-layout-left::before,html.fh-nuevo body#page-login-index .login-layout-left::after{display:none !important}
html.fh-nuevo body#page-login-index #fh-ingreso{flex:1 1 auto;width:100%;min-height:100vh;font-family:'Jost',system-ui,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;box-sizing:border-box}
html.fh-nuevo body#page-login-index #fh-ingreso *{box-sizing:border-box}
html.fh-nuevo body#page-login-index #region-main{background:#FFFFFF !important;display:flex !important;align-items:center;justify-content:center;padding:0 !important}
html.fh-nuevo body#page-login-index .login-wrapper{width:100%;background:transparent !important;box-shadow:none !important;padding:0 !important;margin:0 !important}
html.fh-nuevo body#page-login-index .login-container{width:100%;max-width:440px;margin:0 auto !important;padding:64px 32px !important;background:transparent !important;box-shadow:none !important;border:0 !important;font-family:'Jost',system-ui,sans-serif;color:#1E1A1B}
html.fh-nuevo body#page-login-index #loginlogo{margin-bottom:28px !important}
html.fh-nuevo body#page-login-index #loginlogo img{height:96px;width:auto;max-width:100%}
html.fh-nuevo body#page-login-index .loginform h1,html.fh-nuevo body#page-login-index .loginform .h2{font-family:'Jost',system-ui,sans-serif !important;font-size:30px !important;font-weight:300 !important;line-height:1.2 !important;letter-spacing:-.01em;color:#1E1A1B !important;margin:0 0 6px !important}
html.fh-nuevo body#page-login-index .loginform > p.text-muted{font-family:'Jost',system-ui,sans-serif;font-size:15px;font-weight:300;color:#5C5658 !important;margin:0 0 28px !important}
html.fh-nuevo body#page-login-index .loginform > .d-lg-none.small{display:none !important}
html.fh-nuevo body#page-login-index .login-form .form-label{font-family:'Jost',system-ui,sans-serif;font-size:14px;font-weight:500;color:#1E1A1B;margin-bottom:8px}
html.fh-nuevo body#page-login-index .login-form .form-control{box-sizing:border-box;width:100%;height:50px;border-radius:2px !important;border:1px solid #CFC8CB;font-family:'Jost',system-ui,sans-serif;font-size:16px;color:#1E1A1B;background:#FFFFFF;box-shadow:none;caret-color:#7A1E2C}
html.fh-nuevo body#page-login-index .login-form .form-control::placeholder{color:#9A9396}
html.fh-nuevo body#page-login-index .login-form .form-control:focus{border-color:#7A1E2C;box-shadow:0 0 0 3px rgba(122,30,44,.12);outline:none}
html.fh-nuevo body#page-login-index .login-form .toggle-sensitive-btn{border-radius:0 2px 2px 0 !important;background:#FFFFFF;border:1px solid #CFC8CB;color:#7A1E2C}
html.fh-nuevo body#page-login-index .login-form a[href*="forgot_password"]{font-family:'Jost',system-ui,sans-serif;font-size:14px;color:#7A1E2C;text-decoration:underline;text-underline-offset:4px}
html.fh-nuevo body#page-login-index .login-form a[href*="forgot_password"]:hover{color:#4A1220}
html.fh-nuevo body#page-login-index #loginbtn{min-height:50px;border-radius:2px !important;background:#7A1E2C !important;border:1px solid #7A1E2C !important;color:#FFFFFF !important;font:500 12px 'Jost',system-ui,sans-serif !important;letter-spacing:.16em;text-transform:uppercase;box-shadow:none !important;transition:background-color .2s ease-out}
html.fh-nuevo body#page-login-index #loginbtn:hover{background:#5F1622 !important;border-color:#5F1622 !important}
html.fh-nuevo body#page-login-index #loginbtn:focus-visible{outline:2px solid #C98A95;outline-offset:4px}
html.fh-nuevo body#page-login-index .login-languagemenu{margin:28px 0 10px !important;padding-top:20px;border-top:1px solid #E6E1E2}
html.fh-nuevo body#page-login-index .login-languagemenu a{font-family:'Jost',system-ui,sans-serif;font-size:14px;color:#7A1E2C;text-decoration:none}
html.fh-nuevo body#page-login-index .login-cookiesnotice .btn-link{background:none;border:0;padding:0;font-family:'Jost',system-ui,sans-serif;font-size:13px;color:#5C5658;text-decoration:underline;text-underline-offset:4px}
@media (max-width: 991.98px){
  html.fh-nuevo body#page-login-index #page-content{flex-direction:column}
  html.fh-nuevo body#page-login-index #region-main{order:1;min-height:0}
  html.fh-nuevo body#page-login-index .login-layout-left{order:2;width:100%;max-width:100%;flex:0 0 auto}
  html.fh-nuevo body#page-login-index #fh-ingreso{min-height:0;padding:56px 24px 64px !important;justify-content:flex-start !important}
  html.fh-nuevo body#page-login-index .login-container{padding:40px 24px 56px !important}
  html.fh-nuevo body#page-login-index #loginlogo img{height:72px}
}

/* ---------- PORTADA ---------- */
#fh-portada{margin:0}
#fh-portada a{color:#7A1E2C;text-underline-offset:4px}
#fh-portada a:hover{color:#4A1220}
#fh-portada *{box-sizing:border-box}
#fh-portada ::selection{background:#7A1E2C;color:#FFFFFF}
#fh-portada .fh-raiz{font-family:'Jost',system-ui,sans-serif;font-size:16px;line-height:1.6;color:#1E1A1B;background:#EEEBEA;caret-color:#7A1E2C;-webkit-font-smoothing:antialiased}
#fh-portada .fh-etq{font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.4}
#fh-portada .fh-num{font-variant-numeric:tabular-nums lining-nums}
#fh-portada .fh-cont{max-width:1240px;margin:0 auto;padding:0 48px}
#fh-portada .fh-navlink{color:#1E1A1B;text-decoration:none;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;padding:8px 0;border-bottom:1px solid transparent;transition:color .2s ease-out,border-color .2s ease-out}
#fh-portada .fh-navlink:hover{color:#7A1E2C;border-bottom-color:#7A1E2C}
#fh-portada .fh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 28px;border-radius:2px;font:500 12px 'Jost',system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background-color .25s ease-out,color .25s ease-out,border-color .25s ease-out}
#fh-portada .fh-btn:focus-visible,#fh-portada .fh-tab:focus-visible,#fh-portada .fh-navlink:focus-visible,#fh-portada .fh-btn-texto:focus-visible{outline:2px solid #C98A95;outline-offset:4px}
#fh-portada .fh-btn-sm{min-height:40px;padding:0 20px}
#fh-portada .fh-btn-claro{background:#FFFFFF;color:#151213}
#fh-portada .fh-btn-claro:hover{background:#EEEBEA;color:#151213}
#fh-portada .fh-btn-linea-clara{background:transparent;color:#FFFFFF;border-color:rgba(255,255,255,.55)}
#fh-portada .fh-btn-linea-clara:hover{border-color:#FFFFFF;color:#FFFFFF;background:rgba(255,255,255,.06)}
#fh-portada .fh-btn-bordo{background:#7A1E2C;color:#FFFFFF}
#fh-portada .fh-btn-bordo:hover{background:#5F1622;color:#FFFFFF}
#fh-portada .fh-btn-texto{min-height:44px;padding:0 4px;border:0;background:transparent;color:#FFFFFF;font:500 12px 'Jost',system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
#fh-portada .fh-tab{min-height:40px;padding:0;background:none;border:0;border-bottom:1px solid transparent;font:500 12px 'Jost',system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7A7275;cursor:pointer;transition:color .2s ease-out,border-color .25s ease-out}
#fh-portada .fh-tab:hover{color:#1E1A1B}
#fh-portada .fh-tab.fh-activo{color:#1E1A1B;border-bottom-color:#7A1E2C}
#fh-portada .fh-escena{position:relative;height:540px;perspective:1600px;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
#fh-portada .fh-escena:active{cursor:grabbing}
#fh-portada .fh-giro{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .95s cubic-bezier(.3,1.35,.45,1)}
#fh-portada .fh-giro.fh-arrastrando{transition:none}
#fh-portada .fh-cara{position:absolute;inset:0;overflow:hidden;border-radius:2px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
#fh-portada .fh-cara:focus{outline:none}
#fh-portada .fh-frente{background:#151213;color:#FFFFFF}
#fh-portada .fh-frente img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;transition:transform .9s cubic-bezier(.16,1,.3,1)}
@media (hover:hover){#fh-portada .fh-escena:hover .fh-frente img{transform:scale(1.04)}}
#fh-portada .fh-dorso{transform:rotateY(180deg);background:#7A1E2C;color:#FFFFFF;padding:28px;display:flex;flex-direction:column;gap:14px}
#fh-portada .fh-dorso-acciones{flex:none;padding-top:4px}
#fh-portada .fh-dato{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.22)}
#fh-portada .fh-icono-giro{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;flex:none}
#fh-portada .fh-pilar{position:relative;display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:28px 0}
#fh-portada .fh-campo-linea{flex:1;min-width:0;height:52px;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.6);border-radius:0;color:#FFFFFF;font:300 22px 'Jost',system-ui,sans-serif;padding:0 2px;caret-color:#FFFFFF;transition:border-color .2s ease-out}
#fh-portada .fh-campo-linea::placeholder{color:rgba(255,255,255,.72)}
#fh-portada .fh-campo-linea:focus{outline:none;border-bottom-color:#FFFFFF}
#fh-portada .fh-campo-linea:focus-visible{outline:2px solid rgba(255,255,255,.8);outline-offset:6px}
#fh-portada .fh-bandera{display:flex;flex-direction:column;align-items:center;gap:14px}
#fh-portada .fh-bandera svg{width:84px;height:56px;border-radius:3px;box-shadow:0 0 0 1px rgba(30,26,27,.10),0 6px 14px -8px rgba(30,26,27,.35);display:block}
#fh-portada .fh-red{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.28);display:flex;align-items:center;justify-content:center;color:#FFFFFF;transition:border-color .2s ease-out,background-color .2s ease-out}
#fh-portada .fh-red:hover{border-color:#FFFFFF;background:rgba(255,255,255,.06);color:#FFFFFF}
#fh-portada .fh-enlace-pie{color:#B8AEB1;text-decoration:none;overflow-wrap:anywhere;transition:color .2s ease-out}
#fh-portada .fh-enlace-pie:hover{color:#FFFFFF}
#fh-portada .fh-enlace-pie:focus-visible,#fh-portada .fh-red:focus-visible,#fh-portada .fh-wa-flotante:focus-visible{outline:2px solid #C98A95;outline-offset:4px}
#fh-portada .fh-btn-wa{align-self:flex-start;background:transparent;color:#FFFFFF;border-color:rgba(255,255,255,.28)}
#fh-portada .fh-btn-wa:hover{border-color:#FFFFFF;background:rgba(255,255,255,.06)}
#fh-portada .fh-red-cert{display:block;width:100%;height:auto;max-width:600px;margin-left:auto;overflow:visible}
#fh-portada .fh-red-cert text{font-family:'Jost',system-ui,sans-serif}
#fh-portada .fh-red-cert .fh-rc-amb{fill:none;stroke:rgba(255,255,255,.06);stroke-width:1}
#fh-portada .fh-red-cert .fh-rc-base{fill:none;stroke:rgba(255,255,255,.5);stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
#fh-portada .fh-red-cert .fh-rc-tenue{fill:none;stroke:rgba(255,255,255,.28);stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
#fh-portada .fh-red-cert .fh-rc-hoja{fill:rgba(255,255,255,.035)}
#fh-portada .fh-red-cert .fh-rc-pantalla-base{fill:rgba(30,26,27,.16)}
#fh-portada .fh-red-cert .fh-rc-nombre{stroke-width:1.4}
#fh-portada .fh-red-cert .fh-rc-firma{stroke:rgba(255,255,255,.42)}
#fh-portada .fh-red-cert .fh-rc-puntos{fill:none;stroke:rgba(255,255,255,.4);stroke-width:1;stroke-linecap:round;stroke-dasharray:.01 3.2}
#fh-portada .fh-red-cert .fh-rc-logo{fill:none;stroke:rgba(255,255,255,.55);stroke-width:.8;stroke-linejoin:round}
#fh-portada .fh-red-cert .fh-rc-sigla{font-size:10px;font-weight:500;letter-spacing:.34em;fill:rgba(255,255,255,.72)}
#fh-portada .fh-red-cert .fh-rc-titulo{font-size:10.5px;font-weight:400;letter-spacing:.32em;fill:rgba(255,255,255,.55)}
#fh-portada .fh-red-cert .fh-rc-titulo-luz{fill:#FFFFFF;opacity:0}
#fh-portada .fh-red-cert .fh-rc-dig{font-size:17px;font-weight:300;fill:#FFFFFF}
#fh-portada .fh-red-cert .fh-rc-luz{fill:none;stroke:#FFF6F7;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100 100;stroke-dashoffset:100;opacity:0}
#fh-portada .fh-red-cert .fh-rc-luz-tenue{stroke:#F3D9DF;stroke-width:1}
#fh-portada .fh-red-cert .fh-rc-luz-logo{stroke-width:.9}
#fh-portada .fh-red-cert .fh-rc-tilde{stroke-width:1.4}
#fh-portada .fh-red-cert .fh-rc-pulso{fill:none;stroke:#FFF6F7;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:6 200;stroke-dashoffset:6;opacity:0}
#fh-portada .fh-red-cert .fh-rc-pulso.fh-cola{stroke:#F0CDD4;stroke-opacity:.45;stroke-width:1;stroke-dasharray:18 200;stroke-dashoffset:18}
#fh-portada .fh-red-cert .fh-rc-pantalla{fill:rgba(255,255,255,.08);stroke:none;opacity:0}
#fh-portada .fh-red-cert .fh-rc-carga{fill:none;stroke:#FFF6F7;stroke-width:1.6;stroke-linecap:round;opacity:0;transform-box:fill-box;transform-origin:left center}
#fh-portada .fh-red-cert .fh-rc-flash,#fh-portada .fh-red-cert .fh-rc-onda{opacity:0;transform-box:fill-box;transform-origin:center}
#fh-portada .fh-red-cert .fh-rc-onda{fill:none;stroke:rgba(255,255,255,.55);stroke-width:1}
@keyframes fh-rc-tipeo{0%{opacity:0}1%{opacity:1}72%{opacity:1}78%,100%{opacity:0}}
@keyframes fh-rc-traza{0%{stroke-dashoffset:100;opacity:.95}12%{stroke-dashoffset:0;opacity:.95}50%{stroke-dashoffset:0;opacity:.95}62%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fh-rc-traza-corta{0%{stroke-dashoffset:100;opacity:.95}5%{stroke-dashoffset:0;opacity:.95}28%{stroke-dashoffset:0;opacity:.95}36%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fh-rc-aparece{0%{opacity:0}5%{opacity:1}50%{opacity:1}62%,100%{opacity:0}}
@keyframes fh-rc-aparece-corta{0%{opacity:0}4%{opacity:1}28%{opacity:1}36%,100%{opacity:0}}
@keyframes fh-rc-k06{0%{stroke-dashoffset:6;opacity:0}1%{opacity:1}6%{stroke-dashoffset:-100;opacity:1}7%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fh-rc-k06c{0%{stroke-dashoffset:18;opacity:0}1%{opacity:1}6%{stroke-dashoffset:-88;opacity:1}7%,100%{stroke-dashoffset:-88;opacity:0}}
@keyframes fh-rc-onda{0%{opacity:0;transform:scale(1)}1%{opacity:.5}20%,100%{opacity:0;transform:scale(3.4)}}
@keyframes fh-rc-carga{0%{opacity:1;transform:scaleX(0)}9%{opacity:1;transform:scaleX(1)}28%{opacity:1;transform:scaleX(1)}36%,100%{opacity:0;transform:scaleX(1)}}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-rc-dig{animation:fh-rc-tipeo 10s linear infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-t-larga{animation:fh-rc-traza 10s cubic-bezier(.5,0,.3,1) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-t-corta{animation:fh-rc-traza-corta 10s cubic-bezier(.5,0,.3,1) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-a-larga{animation:fh-rc-aparece 10s ease-out infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-a-corta{animation:fh-rc-aparece-corta 10s ease-out infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-p06{animation:fh-rc-k06 10s cubic-bezier(.45,.05,.55,.95) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-p06c{animation:fh-rc-k06c 10s cubic-bezier(.45,.05,.55,.95) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-p08{animation:fh-k08 10s cubic-bezier(.45,.05,.55,.95) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-p08c{animation:fh-k08c 10s cubic-bezier(.45,.05,.55,.95) infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-rc-flash{animation:fh-chis 10s ease-out infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-rc-onda{animation:fh-rc-onda 10s ease-out infinite both}
#fh-portada .fh-animar .fh-en .fh-red-cert .fh-rc-carga{animation:fh-rc-carga 10s cubic-bezier(.4,0,.2,1) infinite both}
#fh-portada .fh-btn-siced{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:40px;align-self:flex-start;margin-top:12px;padding:12px 12px 12px 26px;border:1px solid rgba(255,255,255,.5);border-radius:2px;color:#FFFFFF;text-decoration:none;overflow:hidden;isolation:isolate;transition:border-color .4s ease,color .4s ease}
#fh-portada .fh-btn-siced::before{content:"";position:absolute;inset:0;z-index:-1;background:#FFFFFF;transform:scaleX(0);transform-origin:left center;transition:transform .55s cubic-bezier(.65,0,.35,1)}
#fh-portada .fh-btn-siced:hover,#fh-portada .fh-btn-siced:focus-visible{color:#7A1E2C;border-color:#FFFFFF}
#fh-portada .fh-btn-siced:hover::before,#fh-portada .fh-btn-siced:focus-visible::before{transform:scaleX(1)}
#fh-portada .fh-btn-siced:focus-visible{outline:2px solid #F0CDD4;outline-offset:4px}
#fh-portada .fh-bs-texto{display:flex;flex-direction:column;gap:4px}
#fh-portada .fh-bs-titulo{font-size:18px;font-weight:400;line-height:1.2;letter-spacing:.01em}
#fh-portada .fh-bs-sub{font-size:13px;font-weight:300;line-height:1.3;opacity:.8}
#fh-portada .fh-bs-icono{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#FFFFFF;color:#7A1E2C;transition:background-color .4s ease,color .4s ease}
#fh-portada .fh-bs-icono svg{transition:transform .35s cubic-bezier(.65,0,.35,1)}
#fh-portada .fh-btn-siced:hover .fh-bs-icono,#fh-portada .fh-btn-siced:focus-visible .fh-bs-icono{background:#7A1E2C;color:#FFFFFF}
#fh-portada .fh-btn-siced:hover .fh-bs-icono svg,#fh-portada .fh-btn-siced:focus-visible .fh-bs-icono svg{transform:translate(2px,-2px)}
#fh-portada .fh-bs-oculto{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#fh-portada .fh-wa-flotante{position:fixed;right:28px;bottom:28px;z-index:60;width:56px;height:56px;border-radius:50%;background:#7A1E2C;color:#FFFFFF;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px -12px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.12);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .35s ease-out,transform .35s ease-out,background-color .2s ease-out}
#fh-portada .fh-wa-flotante.fh-visible{opacity:1;transform:none;pointer-events:auto}
#fh-portada .fh-wa-flotante:hover{background:#8E2A3A}
@keyframes fh-entrar{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes fh-respirar{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes fh-pulso{0%{box-shadow:0 0 0 0 rgba(217,58,69,.5)}70%{box-shadow:0 0 0 8px rgba(217,58,69,0)}100%{box-shadow:0 0 0 0 rgba(217,58,69,0)}}
#fh-portada .fh-animar .fh-a{animation:fh-entrar .8s cubic-bezier(.16,1,.3,1) both}
#fh-portada .fh-animar .fh-d1{animation-delay:.12s}
#fh-portada .fh-animar .fh-d2{animation-delay:.24s}
#fh-portada .fh-animar .fh-d3{animation-delay:.36s}
#fh-portada .fh-animar .fh-d4{animation-delay:.6s}
#fh-portada .fh-animar .fh-respira{animation:fh-respirar 18s ease-in-out infinite alternate}
#fh-portada .fh-animar .fh-vivo{animation:fh-pulso 2.4s ease-out infinite}
#fh-portada .fh-animar .fh-pausado .fh-respira,#fh-portada .fh-animar .fh-pausado .fh-vivo{animation-play-state:paused}
#fh-portada .fh-rv-regla{transform-origin:left center}
#fh-portada .fh-fondo-hero{object-position:100% 50%}
#fh-portada .fh-capa-hero{transform-origin:80% 45%}
#fh-portada .fh-red-hero{pointer-events:none}
#fh-portada .fh-solo-angosto{display:none}
#fh-portada .fh-red-hero .fh-impulso{fill:none;stroke:#FFF6F7;stroke-linecap:round;stroke-dasharray:6 200;stroke-dashoffset:6;opacity:0}
#fh-portada .fh-red-hero .fh-impulso.fh-halo{stroke:#F0CDD4;stroke-opacity:.45;stroke-dasharray:18 200;stroke-dashoffset:18}
#fh-portada .fh-red-hero .fh-llegada,#fh-portada .fh-red-hero .fh-destello{opacity:0;transform-box:fill-box;transform-origin:center}
#fh-portada .fh-red-hero .fh-arista{stroke:#F4DDE1;stroke-linecap:round;stroke-dasharray:14 200;stroke-dashoffset:14;opacity:0}
@keyframes fh-viaje{0%{stroke-dashoffset:6;opacity:0}3%{opacity:1}22%{stroke-dashoffset:-100;opacity:1}24%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fh-viaje-cola{0%{stroke-dashoffset:18;opacity:0}3%{opacity:1}22%{stroke-dashoffset:-88;opacity:1}24%,100%{stroke-dashoffset:-88;opacity:0}}
@keyframes fh-llegada{0%,20%{opacity:0;transform:scale(.4)}24%{opacity:1;transform:scale(1)}40%,100%{opacity:0;transform:scale(1.25)}}
@keyframes fh-destello{0%,80%{opacity:0;transform:scale(.5)}86%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.2)}}
@keyframes fh-arista{0%{stroke-dashoffset:14;opacity:0}2%{opacity:.85}12%{stroke-dashoffset:-100;opacity:.85}14%,100%{stroke-dashoffset:-100;opacity:0}}
#fh-portada .fh-animar .fh-red-hero .fh-impulso{animation:fh-viaje cubic-bezier(.45,.05,.55,.95) infinite}
#fh-portada .fh-animar .fh-red-hero .fh-impulso.fh-halo{animation-name:fh-viaje-cola}
#fh-portada .fh-animar .fh-red-hero .fh-llegada{animation:fh-llegada ease-out infinite}
#fh-portada .fh-animar .fh-red-hero .fh-destello{animation:fh-destello ease-in-out infinite}
#fh-portada .fh-animar .fh-red-hero .fh-arista{animation:fh-arista linear infinite}
#fh-portada .fh-animar .fh-pausado .fh-red-hero *{animation-play-state:paused}
#fh-portada .fh-img-deporte{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%)}
#fh-portada .fh-rot-dep{position:absolute;top:93%;transform:translateX(-50%);color:#A89EA1;white-space:nowrap;pointer-events:none}
#fh-portada .fh-red-dep{pointer-events:none}
#fh-portada .fh-red-dep .fh-pulso{fill:none;stroke:#FFF6F7;stroke-linecap:round;stroke-dasharray:6 200;stroke-dashoffset:6;opacity:0}
#fh-portada .fh-red-dep .fh-pulso.fh-cola{stroke:#F0CDD4;stroke-opacity:.45;stroke-dasharray:18 200;stroke-dashoffset:18}
#fh-portada .fh-red-dep .fh-flash,#fh-portada .fh-red-dep .fh-destello{opacity:0;transform-box:fill-box;transform-origin:center}
@keyframes fh-k08{0%{stroke-dashoffset:6;opacity:0}1%{opacity:1}8%{stroke-dashoffset:-100;opacity:1}9%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fh-k08c{0%{stroke-dashoffset:18;opacity:0}1%{opacity:1}8%{stroke-dashoffset:-88;opacity:1}9%,100%{stroke-dashoffset:-88;opacity:0}}
@keyframes fh-k20{0%{stroke-dashoffset:6;opacity:0}1%{opacity:1}20%{stroke-dashoffset:-100;opacity:1}21%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fh-k20c{0%{stroke-dashoffset:18;opacity:0}1%{opacity:1}20%{stroke-dashoffset:-88;opacity:1}21%,100%{stroke-dashoffset:-88;opacity:0}}
@keyframes fh-chis{0%{opacity:0;transform:scale(.4)}2%{opacity:1;transform:scale(1)}9%,100%{opacity:0;transform:scale(1.3)}}
@keyframes fh-brillo{0%{opacity:0}4%{opacity:.7}16%,100%{opacity:0}}
#fh-portada .fh-red-dep .fh-largo{opacity:0}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-k08{animation:fh-k08 10s cubic-bezier(.45,.05,.55,.95) infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-k08c{animation:fh-k08c 10s cubic-bezier(.45,.05,.55,.95) infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-k20{animation:fh-k20 10s cubic-bezier(.45,.05,.55,.95) infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-k20c{animation:fh-k20c 10s cubic-bezier(.45,.05,.55,.95) infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-flash{animation:fh-chis 10s ease-out infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-largo{animation:fh-brillo 10s ease-out infinite}
#fh-portada .fh-animar .fh-en .fh-red-dep .fh-destello{animation:fh-destello ease-in-out infinite}
#fh-portada .fh-velo{background:linear-gradient(0deg,rgba(21,18,19,.82) 0%,rgba(21,18,19,0) 38%),linear-gradient(90deg,rgba(21,18,19,.78) 0%,rgba(21,18,19,.45) 45%,rgba(21,18,19,0) 62%)}
#fh-portada .fh-solo-movil{display:none !important}
@media (max-width: 960px){#fh-portada .fh-solo-escritorio{display:none !important}
#fh-portada .fh-solo-movil{display:flex !important}
#fh-portada .fh-hero{height:620px !important}
#fh-portada .fh-h1{font-size:44px !important}
#fh-portada .fh-cifras{grid-template-columns:repeat(2,minmax(0,1fr)) !important;row-gap:36px !important}
#fh-portada .fh-cifra{border-left:0 !important;padding-left:0 !important}
#fh-portada .fh-cab-cap{flex-direction:column !important;align-items:flex-start !important}
#fh-portada .fh-cursos{grid-template-columns:minmax(0,1fr) !important;gap:28px !important}
#fh-portada .fh-escena{height:540px}
#fh-portada .fh-dos{grid-template-columns:minmax(0,1fr) !important;gap:40px !important}
#fh-portada .fh-divisor-fund{display:none !important}
#fh-portada .fh-red-cert{margin:8px auto 0}
#fh-portada .fh-pilar{grid-template-columns:minmax(0,1fr) !important;gap:8px !important}
#fh-portada .fh-pie{grid-template-columns:minmax(0,1fr) !important;gap:40px !important}
#fh-portada .fh-sec{padding-top:88px !important;padding-bottom:88px !important}
#fh-portada .fh-h2{font-size:34px !important}}
@media (max-width: 600px){#fh-portada .fh-cont{padding-left:22px !important;padding-right:22px !important}
#fh-portada .fh-h1{font-size:38px !important}
#fh-portada .fh-hero{height:780px !important}
#fh-portada .fh-fondo-hero{object-position:50% 0%}
#fh-portada .fh-capa-hero{transform-origin:50% 20%}
#fh-portada .fh-solo-ancho{display:none}
#fh-portada .fh-solo-angosto{display:block}
#fh-portada .fh-img-deporte{-webkit-mask-image:none;mask-image:none}
#fh-portada .fh-rot-dep.fh-etq{font-size:10px;letter-spacing:.12em}
#fh-portada .fh-velo{background:linear-gradient(0deg,rgba(21,18,19,.94) 0%,rgba(21,18,19,.78) 48%,rgba(21,18,19,0) 74%)}
#fh-portada .fh-hero-texto{padding-bottom:168px !important}
#fh-portada .fh-barra{flex-wrap:wrap;height:auto !important;padding-top:16px !important;padding-bottom:16px !important;row-gap:6px}
#fh-portada .fh-barra-fecha{display:none}
#fh-portada .fh-num{font-size:40px !important}
#fh-portada .fh-btn-siced{align-self:stretch}
#fh-portada .fh-red-cert .fh-rc-base,#fh-portada .fh-red-cert .fh-rc-tenue,#fh-portada .fh-red-cert .fh-rc-amb,#fh-portada .fh-red-cert .fh-rc-puntos{stroke-width:1.5}
#fh-portada .fh-red-cert .fh-rc-logo{stroke-width:1.1}
#fh-portada .fh-red-cert .fh-rc-luz{stroke-width:1.7}
#fh-portada .fh-red-cert .fh-rc-luz-tenue{stroke-width:1.5}
#fh-portada .fh-red-cert .fh-rc-pulso{stroke-width:2}
#fh-portada .fh-red-cert .fh-rc-pulso.fh-cola{stroke-width:1.5}
#fh-portada .fh-red-cert .fh-rc-carga{stroke-width:2.2}
#fh-portada .fh-resp-texto{font-size:24px !important}
#fh-portada .fh-banderas{gap:28px 32px !important}
#fh-portada .fh-bandera svg{width:64px;height:43px}
#fh-portada .fh-wa-flotante{right:16px;bottom:16px;width:52px;height:52px}
#fh-portada .fh-dorso{padding:24px}}
@media (prefers-reduced-motion: reduce){#fh-portada .fh-animar .fh-a,#fh-portada .fh-animar .fh-respira,#fh-portada .fh-animar .fh-vivo,#fh-portada .fh-animar .fh-red-hero *,#fh-portada .fh-animar .fh-red-dep *,#fh-portada .fh-animar .fh-red-cert *{animation:none}
#fh-portada .fh-giro,#fh-portada .fh-frente img,#fh-portada .fh-btn,#fh-portada .fh-tab,#fh-portada .fh-navlink,#fh-portada .fh-btn-siced,#fh-portada .fh-btn-siced::before,#fh-portada .fh-bs-icono,#fh-portada .fh-bs-icono svg{transition:none}}
#fh-portada [hidden]{display:none !important}
#fh-portada .fh-btn:focus{box-shadow:none}
#fh-portada h1,#fh-portada h2,#fh-portada h3,#fh-portada p{color:inherit}
#fh-portada img{max-width:none}
/* ---------- INGRESO: panel izquierdo ---------- */
#fh-ingreso{margin:0}
#fh-ingreso a{color:#7A1E2C;text-underline-offset:4px}
#fh-ingreso a:hover{color:#4A1220}
#fh-ingreso *{box-sizing:border-box}
#fh-ingreso ::selection{background:#7A1E2C;color:#FFFFFF}
#fh-ingreso input{caret-color:#7A1E2C}
#fh-ingreso .fh-etq{font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.4}
#fh-ingreso .fh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 28px;border-radius:2px;font:500 12px 'Jost',system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background-color .2s ease-out}
#fh-ingreso .fh-btn:focus-visible{outline:2px solid #C98A95;outline-offset:4px}
#fh-ingreso .fh-btn-bordo{background:#7A1E2C;color:#FFFFFF}
#fh-ingreso .fh-btn-bordo:hover{background:#5F1622}
#fh-ingreso .fh-campo{height:50px;border-radius:2px;border:1px solid #CFC8CB;padding:0 16px;font:400 16px 'Jost',system-ui,sans-serif;color:#1E1A1B;background:#FFFFFF;transition:border-color .2s ease-out,box-shadow .2s ease-out}
#fh-ingreso .fh-campo:focus{outline:none;border-color:#7A1E2C;box-shadow:0 0 0 3px rgba(122,30,44,.12)}
#fh-ingreso .fh-num{font-variant-numeric:tabular-nums}
#fh-ingreso .fh-rota{display:inline-block;transition:opacity .35s ease,transform .35s ease}
#fh-ingreso .fh-rota.fh-oculta{opacity:0;transform:translateY(6px)}
#fh-ingreso .fh-enlace-red{display:inline-flex;align-items:center;gap:10px;color:#FFFFFF;text-decoration:none;font-size:15px;font-weight:400}
#fh-ingreso .fh-enlace-red:hover{color:#FFFFFF;text-decoration:underline}
#fh-ingreso .fh-enlace-red:focus-visible,#fh-ingreso.fh-panel-marca a:focus-visible{outline:2px solid #F0CDD4;outline-offset:4px}
#fh-ingreso .fh-idioma{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:400 14px 'Jost',system-ui,sans-serif;color:#7A1E2C;padding:6px 22px 6px 6px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#7A1E2C 50%),linear-gradient(135deg,#7A1E2C 50%,transparent 50%);background-position:calc(100% - 9px) 52%,calc(100% - 5px) 52%;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
#fh-ingreso .fh-idioma:focus-visible{outline:2px solid #C98A95;outline-offset:2px}
#fh-ingreso .fh-ayuda{position:absolute;right:24px;bottom:24px;width:36px;height:36px;border-radius:50%;border:1px solid #E0D9DB;background:#FFFFFF;color:#4A4447;font:500 15px 'Jost',system-ui,sans-serif;cursor:pointer}
#fh-ingreso .fh-ayuda:hover{border-color:#7A1E2C;color:#7A1E2C}
#fh-ingreso .fh-ayuda:focus-visible{outline:2px solid #C98A95;outline-offset:3px}
#fh-ingreso .fh-hz{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#fh-ingreso .fh-hz .fh-hz-l{fill:none;stroke:url(#hzTono);stroke-width:.8;vector-effect:non-scaling-stroke}
#fh-ingreso .fh-hz .fh-hz-a{stroke-opacity:.42}
#fh-ingreso .fh-hz .fh-hz-b{stroke-opacity:.24}
#fh-ingreso .fh-hz .fh-hz-c{stroke-opacity:.12}
#fh-ingreso .fh-hz .fh-hz-luz{fill:none;stroke:#FFF3F6;stroke-opacity:.8;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:1.6 200;stroke-dashoffset:1.6;opacity:0}
#fh-ingreso .fh-hz .fh-hz-luz.fh-cola{stroke:#F6D3DB;stroke-opacity:.32;stroke-width:1.1;stroke-dasharray:14 200;stroke-dashoffset:14}
#fh-ingreso .fh-hz .fh-hz-haz{transform-box:view-box;transform-origin:100% 100%}
@keyframes fhi-hz-luz{0%{stroke-dashoffset:1.6;opacity:0}3%{opacity:1}30%{stroke-dashoffset:-100;opacity:1}32%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fhi-hz-luz-cola{0%{stroke-dashoffset:14;opacity:0}3%{opacity:1}30%{stroke-dashoffset:-86;opacity:1}32%,100%{stroke-dashoffset:-86;opacity:0}}
@keyframes fhi-hz-mece{from{transform:rotate(0deg)}to{transform:rotate(-1.4deg)}}
#fh-ingreso.fh-animar .fh-hz .fh-hz-haz{animation:fhi-hz-mece 14s ease-in-out infinite alternate}
#fh-ingreso.fh-animar .fh-hz .fh-hz-luz{animation:fhi-hz-luz cubic-bezier(.45,.05,.55,.95) infinite both}
#fh-ingreso.fh-animar .fh-hz .fh-hz-luz.fh-cola{animation-name:fhi-hz-luz-cola}
@keyframes fhi-entrar{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
#fh-ingreso .fh-a{animation:fhi-entrar .8s cubic-bezier(.16,1,.3,1) both}
#fh-ingreso .fh-d1{animation-delay:.12s}
#fh-ingreso .fh-d2{animation-delay:.24s}
#fh-ingreso .fh-d3{animation-delay:.4s}
#fh-ingreso .fh-d4{animation-delay:.56s}
@media (max-width: 900px){#fh-ingreso .fh-ing-grid{grid-template-columns:minmax(0,1fr) !important}
#fh-ingreso .fh-panel-form{order:1}
#fh-ingreso.fh-panel-marca{order:2;padding:56px 24px 64px !important;min-height:0 !important}
#fh-ingreso .fh-marca-h1{font-size:36px !important}
#fh-ingreso .fh-cifras-ing{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:24px 16px !important}
#fh-ingreso .fh-cifras-ing .fh-num{font-size:34px !important}
#fh-ingreso .fh-frase-rot{min-height:3.2em !important}
#fh-ingreso .fh-panel-form-int{padding:40px 24px 72px !important}
#fh-ingreso .fh-logo-ing{height:72px !important}
#fh-ingreso .fh-hz{opacity:.5}
#fh-ingreso.fh-panel-marca{justify-content:flex-start !important}}
@media (prefers-reduced-motion: reduce){#fh-ingreso .fh-a,#fh-ingreso.fh-animar .fh-hz .fh-hz-haz,#fh-ingreso.fh-animar .fh-hz *{animation:none}
#fh-ingreso .fh-btn,#fh-ingreso .fh-campo,#fh-ingreso .fh-rota{transition:none}}
#fh-ingreso [hidden]{display:none !important}
#fh-ingreso h1,#fh-ingreso p{color:inherit}
