:root {
    --f-navy:#071653;
    --f-navy2:#15347f;
    --f-gold:#e3a13a;
    --f-blue:#28a9df;
    --f-text:#27304f;
    --f-muted:#59657c;
    --f-soft:#f5f1eb
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    color:var(--f-text);
    font-family:"Poppins",sans-serif;
    background:#f7f8fb
}
.f-hero {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:78px 20px 112px;
    color:#fff;
    background:linear-gradient(125deg,var(--f-navy),var(--f-navy2) 64%,#1675a5)
}
.f-hero:before,.f-hero:after {
    content:"";
    position:absolute;
    z-index:-1;
    border-radius:50%
}
.f-hero:before {
    width:520px;
    height:520px;
    right:-130px;
    top:-290px;
    background:rgba(227,161,58,.22);
    box-shadow:0 0 0 58px rgba(227,161,58,.055)
}
.f-hero:after {
    width:300px;
    height:300px;
    left:-170px;
    bottom:-190px;
    background:rgba(40,169,223,.18)
}
.f-container {
    width:min(1120px,100%);
    margin:auto
}
.f-kicker {
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:11px 16px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    color:var(--f-gold);
    background:rgba(255,255,255,.07);
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase
}
.f-hero h1 {
    max-width:950px;
    margin:24px 0 18px;
    font-size:clamp(2.65rem,5vw,5rem);
    font-weight:800;
    letter-spacing:-.055em;
    line-height:1.02;
    text-wrap:balance
}
.f-hero p {
    max-width:850px;
    margin:0;
    color:rgba(255,255,255,.82);
    font-size:1.08rem;
    line-height:1.85
}
.f-journey {
    position:relative;
    z-index:5;
    width:min(1120px,calc(100% - 30px));
    margin:-42px auto 0;
    padding:16px 18px;
    border:1px solid rgba(7,22,83,.08);
    border-radius:22px;
    background:rgba(255,255,255,.97);
    box-shadow:0 18px 45px rgba(7,22,83,.16)
}
.f-journey>span {
    display:block;
    margin-bottom:11px;
    color:#7a8498;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.13em;
    text-align:center;
    text-transform:uppercase
}
.f-steps {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:7px
}
.f-step {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    padding:8px 4px;
    border-radius:12px;
    color:#7a8498;
    font-size:.66rem;
    font-weight:700;
    text-align:center;
    text-decoration:none
}
.f-step span {
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    border:2px solid #dce1eb;
    border-radius:50%;
    background:#fff
}
.f-step.active {
    color:var(--f-navy);
    background:#fff8ec
}
.f-step.active span {
    border-color:var(--f-gold);
    color:var(--f-navy);
    background:var(--f-gold);
    box-shadow:0 5px 12px rgba(227,161,58,.3)
}
/* Resaltado interactivo de la ruta de formacion */ .f-step {
    position:relative;
    overflow:hidden;
    border:1px solid transparent;
    transition:transform .25s ease,color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .25s ease
}
.f-step span {
    transition:transform .25s ease,color .25s ease,border-color .25s ease,background-color .25s ease,box-shadow .25s ease
}
@media (hover:hover) {
    .f-step:not(.active):hover {
        color:var(--f-navy);
        border-color:rgba(227,161,58,.42);
        background:#fff8ec;
        box-shadow:0 10px 22px rgba(7,22,83,.11);
        transform:translateY(-4px)
  }
    .f-step:not(.active):hover span {
        color:var(--f-navy);
        border-color:var(--f-gold);
        background:var(--f-gold);
        box-shadow:0 6px 15px rgba(227,161,58,.32);
        transform:scale(1.1)
  }
    .f-step.active:hover {
        box-shadow:0 10px 22px rgba(227,161,58,.2);
        transform:translateY(-3px)
  }
}
.f-step:focus-visible {
    color:var(--f-navy);
    border-color:var(--f-gold);
    outline:3px solid rgba(227,161,58,.28);
    outline-offset:2px;
    background:#fff8ec
}
.f-content {
    padding:56px 20px 88px;
    background:linear-gradient(180deg,#f7f8fb,#fff 70%)
}
.f-panel {
    position:relative;
    overflow:hidden;
    padding:38px 40px;
    border:1px solid rgba(7,22,83,.08);
    border-radius:28px;
    background:linear-gradient(145deg,#fff 20%,var(--f-soft));
    box-shadow:0 20px 48px rgba(7,22,83,.1)
}
.f-panel h2 {
    position:relative;
    margin:0 0 24px;
    padding-left:18px;
    color:var(--f-navy);
    font-size:clamp(1.8rem,3vw,2.7rem);
    font-weight:800;
    letter-spacing:-.04em
}
.f-panel h2:not(:first-child) {
    margin-top:40px
}
.f-panel h2:before {
    content:"";
    position:absolute;
    left:0;
    top:7%;
    width:6px;
    height:86%;
    border-radius:8px;
    background:linear-gradient(var(--f-gold),var(--f-blue))
}
.f-panel p {
    margin:0 0 20px;
    color:var(--f-muted);
    font-size:1.06rem;
    line-height:1.85
}
.f-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
    margin-top:26px
}
.f-item {
    display:flex;
    align-items:center;
    gap:14px;
    min-height:68px;
    padding:16px 18px;
    border:1px solid rgba(7,22,83,.06);
    border-radius:17px;
    color:var(--f-navy);
    background:#fff;
    box-shadow:0 9px 24px rgba(7,22,83,.07);
    font-weight:700
}
.f-item i {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(145deg,var(--f-navy),var(--f-navy2));
    font-size:1.15rem
}
.f-item:nth-child(even) i {
    background:linear-gradient(145deg,#c98521,var(--f-gold))
}
.f-nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:30px
}
.f-link {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:62px;
    padding:14px 20px;
    border:1px solid rgba(7,22,83,.1);
    border-radius:17px;
    color:var(--f-navy);
    background:#fff;
    box-shadow:0 9px 24px rgba(7,22,83,.07);
    font-weight:800;
    text-decoration:none
}
.f-link:last-child {
    justify-content:flex-end;
    text-align:right
}
.f-link--primary {
    border-color:var(--f-gold);
    background:linear-gradient(135deg,#f3ca7e,var(--f-gold))
}
@media(max-width:760px) {
    .f-hero {
      padding:56px 15px 88px
  }
  .f-journey {
      margin-top:-30px;
      padding:13px 10px
  }
  .f-steps {
      display:flex;
      overflow-x:auto
  }
  .f-step {
      flex:0 0 82px
  }
  .f-content {
      padding:44px 15px 64px
  }
  .f-panel {
      padding:26px 21px
  }
  .f-grid,.f-nav {
      grid-template-columns:1fr
  }
  .f-link,.f-link:last-child {
      justify-content:center;
      text-align:center
  }
}
/* ZOOM COMPARTIDO DE TARJETAS */ .f-item  {
    position: relative;
    z-index: 1;
    transform-origin: center;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.f-item:hover, .f-item:focus-within  {
    z-index: 3;
    transform: scale(1.08);
    border-color: rgba(227, 161, 58, .65);
    box-shadow: 0 22px 42px rgba(7, 22, 83, .22);
}
.f-item i  {
    transition: transform .28s ease;
}
.f-item:hover i, .f-item:focus-within i  {
    transform: scale(1.13) rotate(-5deg);
}
@media (prefers-reduced-motion: reduce)  {
    .f-item,   .f-item i  {
        transition: none;
  }
    .f-item:hover,   .f-item:focus-within  {
        transform: none;
  }
}
