/* ==========================================================================
   FUNDEL · Centro de Capacitación — Sistema visual de marca
   Se carga DESPUÉS de style.css y sobrescribe la plantilla base.
   Concepto: el azul FUNDEL domina y da confianza; el amarillo de las medias
   lunas del logo se reserva para acentos, CTA principal y subrayados.
   ========================================================================== */

/* Fuentes alojadas en el sitio (sin depender de servicios externos) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/brand/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/brand/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/brand/outfit-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/brand/nunito-sans-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/brand/nunito-sans-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/brand/caveat-latin-600-normal.woff2) format('woff2'); }

:root {
  /* --- Color: extraídos del logotipo --- */
  --fd-blue:        #00218E;  /* Azul FUNDEL (logo) · primario */
  --fd-blue-hover:  #001A70;  /* hover / activo del primario */
  --fd-navy:        #0A1A4F;  /* Azul noche · titulares y fondos oscuros */
  --fd-navy-2:      #071338;  /* fondo footer */
  --fd-outline:     #023176;  /* contorno azul del logo · bordes oscuros */
  --fd-yellow:      #FFD700;  /* Amarillo FUNDEL (logo) · acento */
  --fd-yellow-hover:#F2C200;
  --fd-yellow-soft: #FFF4C2;  /* resaltado / badges */
  --fd-ice:         #EEF2FB;  /* fondos de sección alternos */
  --fd-surface:     #F7F8FC;  /* campos de formulario, superficies */
  --fd-border:      #E1E6F2;
  --fd-text:        #464D6B;  /* cuerpo (contraste 8.3:1 sobre blanco) */
  --fd-muted:       #687090;  /* secundario (4.9:1) */
  --fd-white:       #FFFFFF;
  --fd-success:     #1E8E5A;

  /* --- Tipografía --- */
  --fd-font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --fd-font-body:    'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --fd-font-script:  'Caveat', 'Segoe Script', cursive;

  /* --- Forma y movimiento --- */
  --fd-radius-sm: 10px;
  --fd-radius:    16px;
  --fd-radius-lg: 28px;
  --fd-shadow-sm: 0 1px 2px rgba(10,26,79,.06), 0 2px 8px rgba(10,26,79,.04);
  --fd-shadow:    0 10px 30px -12px rgba(10,26,79,.18);
  --fd-ease:      cubic-bezier(.2,.7,.2,1);
}

/* ------------------------------------------------------------------ BASE */
html { scroll-behavior: smooth; }
body {
  font-family: var(--fd-font-body);
  color: var(--fd-text);
  background: var(--fd-white);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a, span, p, li, input, button, select, textarea, label, small, .sth_det u {
  font-family: var(--fd-font-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fd-font-display);
  color: var(--fd-navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 span, h2 span, h3 span, h4 span, p span { font-family: inherit; }
a { color: var(--fd-blue); }
a:hover { color: var(--fd-blue-hover); }
::selection { background: var(--fd-yellow); color: var(--fd-navy); }
:focus-visible { outline: 3px solid var(--fd-yellow); outline-offset: 3px; border-radius: 6px; }
.section-padding { padding: 96px 0; }
@media (max-width: 767px) { .section-padding { padding: 64px 0; } }

/* Subrayado tipo resaltador amarillo: firma visual de la marca */
.fd-mark, .section-title p span u, .ab_content h2 u, .cp_content h2 span u {
  text-decoration: none;
  background-image: linear-gradient(transparent 62%, var(--fd-yellow) 62%, var(--fd-yellow) 92%, transparent 92%);
  padding: 0 .08em;
  color: inherit;
}
.section-title p span, .ab_content h2 span, .cp_content h2 span, .home_content h1 span { color: inherit; }

/* ---------------------------------------------------------- PRELOADER */
#loader-wrapper .loader-section { background: var(--fd-white); }
#loader { border-top-color: var(--fd-blue) !important; }
#loader:before { border-top-color: var(--fd-yellow) !important; }
#loader:after { border-top-color: var(--fd-navy) !important; }

/* -------------------------------------------------------- SECTION TITLE */
.section-title { margin-bottom: 52px; }
.section-title h2 {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fd-font-body);
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: var(--fd-blue); line-height: 1.2; margin-bottom: 14px;
}
.section-title h2::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--fd-yellow); box-shadow: 0 0 0 4px var(--fd-yellow-soft);
}
.section-title h2::after { display: none; }
.section-title p {
  font-family: var(--fd-font-display);
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700;
  text-transform: none; color: var(--fd-navy); width: 100%; max-width: 680px;
}
.section-title.text-center p { margin-inline: auto; }
.fd-lead { font-size: 18px; color: var(--fd-muted); max-width: 620px; margin-top: 16px; }
.section-title.text-center .fd-lead { margin-inline: auto; }

/* ------------------------------------------------------------- BUTTONS */
.btn_one, .btn_two, .fd-btn {
  font-family: var(--fd-font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15.5px; font-weight: 800; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .25s var(--fd-ease), color .25s var(--fd-ease),
              border-color .25s var(--fd-ease), transform .25s var(--fd-ease), box-shadow .25s var(--fd-ease);
}
.btn_one:before { display: none; }
/* Primario: azul FUNDEL */
.btn_one, .fd-btn--primary { background: var(--fd-blue); color: var(--fd-white); box-shadow: 0 8px 20px -10px rgba(0,33,142,.7); }
.btn_one:hover, .btn_one:focus-visible, .fd-btn--primary:hover { background: var(--fd-blue-hover); color: var(--fd-white); transform: translateY(-2px); }
.btn_one:active, .fd-btn:active { transform: translateY(0) scale(.98); }
/* Acento (conversión): amarillo con texto azul noche (contraste 13:1) */
.fd-btn--accent { background: var(--fd-yellow); color: var(--fd-navy); box-shadow: 0 8px 22px -10px rgba(242,194,0,.9); }
.fd-btn--accent:hover, .fd-btn--accent:focus-visible { background: var(--fd-yellow-hover); color: var(--fd-navy); transform: translateY(-2px); }
/* Secundario: contorno */
.btn_two, .fd-btn--ghost { background: transparent; color: var(--fd-navy); border-color: var(--fd-border); }
.btn_two:hover, .fd-btn--ghost:hover { background: var(--fd-ice); color: var(--fd-blue); border-color: var(--fd-blue); }
.fd-btn--light { background: transparent; color: var(--fd-white); border-color: rgba(255,255,255,.35); }
.fd-btn--light:hover { background: rgba(255,255,255,.1); color: var(--fd-white); border-color: var(--fd-white); }
.fd-btn i, .fd-btn svg { transition: transform .25s var(--fd-ease); }
.fd-btn:hover i, .fd-btn:hover svg { transform: translateX(3px); }

/* Enlace con flecha (.cta de la plantilla) */
.cta { padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.cta:before { display: none; }
.cta span { color: var(--fd-blue); font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: .01em; }
.cta svg, .cta:hover svg { stroke: var(--fd-blue); margin-left: 4px; transform: translateX(0); }
.cta:hover span { color: var(--fd-blue-hover); }
.cta:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- HEADER */
.fd-topbar {
  background: var(--fd-navy); color: rgba(255,255,255,.82); font-size: 13.5px;
  max-height: 44px; overflow: hidden; transition: max-height .35s var(--fd-ease), opacity .35s;
}
.fd-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 10px; }
.fd-topbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.fd-topbar li { display: inline-flex; align-items: center; gap: 8px; }
.fd-topbar i { color: var(--fd-yellow); }
.fd-topbar a { color: rgba(255,255,255,.82); }
.fd-topbar a:hover { color: var(--fd-yellow); }
.fd-topbar .fd-social { gap: 14px; }
.navbar-fixed .fd-topbar { max-height: 0; opacity: 0; }
@media (max-width: 991px) { .fd-topbar { display: none; } }

#navigation { padding: 0; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
#navigation.navbar-fixed { padding: 0; background: rgba(255,255,255,.97); border-bottom-color: var(--fd-border); box-shadow: 0 6px 24px -14px rgba(10,26,79,.25); animation: none; }
.fd-navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height .3s; }
.navbar-fixed .fd-navbar { min-height: 70px; }
.site-logo img { width: auto; height: 46px; margin: 0; display: block; transition: height .3s; }
.navbar-fixed .site-logo img { height: 40px; }
.header_right { flex: 1 1 auto; display: flex; justify-content: center; }
#main-menu ul li { margin: 0 2px; }
#main-menu ul li a, #navigation.navbar-fixed #main-menu ul li a {
  font-family: var(--fd-font-body); color: var(--fd-navy); font-weight: 700; font-size: 15px;
  padding: 30px 12px; position: relative; text-transform: none;
}
#navigation.navbar-fixed #main-menu ul li a { padding: 24px 12px; }
#main-menu > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 3px; border-radius: 3px;
  background: var(--fd-yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--fd-ease);
}
.navbar-fixed #main-menu > ul > li > a::after { bottom: 16px; }
#main-menu > ul > li > a:hover::after, #main-menu > ul > li.active > a::after { transform: scaleX(1); }
#main-menu ul li a:hover, #main-menu ul li.active > a,
#navigation.navbar-fixed #main-menu ul li a:hover { color: var(--fd-blue); }
#main-menu ul li a span { font-size: 10px; margin-left: 2px; }
#navigation #main-menu ul li ul {
  border-radius: var(--fd-radius); border: 1px solid var(--fd-border); box-shadow: var(--fd-shadow);
  padding: 8px; border-top: 3px solid var(--fd-yellow); background: var(--fd-white);
}
#navigation #main-menu ul li ul li a, #navigation.navbar-fixed #main-menu ul li ul li a {
  padding: 10px 14px !important; border-radius: var(--fd-radius-sm); font-weight: 600; color: var(--fd-text);
}
#navigation #main-menu ul li ul li a::after { display: none; }
#navigation #main-menu ul li ul li a:hover { background: var(--fd-ice); color: var(--fd-blue); padding-left: 18px !important; }
.fd-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fd-nav-actions .fd-btn { padding: 11px 22px; font-size: 14.5px; }
.fd-nav-actions .fd-link { font-weight: 700; color: var(--fd-navy); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 8px; }
.fd-nav-actions .fd-link i { color: var(--fd-blue); }
.fd-nav-actions .fd-link:hover { color: var(--fd-blue); }
@media (max-width: 1199px) { .fd-nav-actions .fd-link { display: none; } }
@media (max-width: 1099px) {
  .fd-navbar { min-height: 70px; flex-wrap: wrap; position: relative; row-gap: 0; }
  .navbar-fixed .fd-navbar { min-height: 64px; }
  .header_right { order: 3; flex-basis: 100%; display: block; }
  .fd-nav-actions { margin-left: auto; margin-right: 56px; }
  .site-logo img { height: 38px; }
  #main-menu { display: none !important; }
  #mobile_menu { display: block !important; position: static; width: 100%; }
}
@media (max-width: 575px) { .fd-nav-actions .fd-btn { padding: 9px 16px; font-size: 13.5px; } .site-logo img { height: 32px; } }

/* Menú móvil (slicknav) */
.slicknav_menu { background: transparent; padding: 0; }
.slicknav_menu { position: static; }
.slicknav_btn { background: var(--fd-blue) !important; border-radius: 10px !important; position: absolute !important; top: 35px !important; right: 0 !important; margin: -19px 0 0 !important; padding: 10px 10px !important; }
.slicknav_menu .slicknav_nav { margin-bottom: 8px; }
.slicknav_nav { background: var(--fd-white); border-top: 1px solid var(--fd-border); padding: 8px 0 12px; }
.slicknav_nav a, #navigation #mobile_menu li a { color: var(--fd-navy) !important; font-weight: 700; padding: 10px 6px; }
.slicknav_nav a:hover { background: var(--fd-ice) !important; color: var(--fd-blue) !important; border-radius: 8px; }
.slicknav_menu .slicknav_icon-bar { background: var(--fd-white) !important; }


/* ------------------------------------------------------------------ HERO */
.fd-hero {
  position: relative; overflow: hidden; color: var(--fd-white);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(0,33,142,.85), transparent 60%),
    linear-gradient(160deg, var(--fd-navy) 0%, #0B2070 55%, var(--fd-blue) 100%);
  padding: 196px 0 110px;
}
.fd-hero::after { /* trama sutil de puntos */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.fd-hero .container { position: relative; z-index: 2; }
.fd-hero__tagline { font-family: var(--fd-font-script); font-size: 30px; color: var(--fd-yellow); line-height: 1; margin-bottom: 18px; display: inline-block; transform: rotate(-2deg); }
.fd-hero h1 {
  color: var(--fd-white); font-weight: 700; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.06; letter-spacing: -0.012em; margin-bottom: 22px;
}
.fd-hero h1 em { font-style: normal; color: var(--fd-yellow); }
.fd-hero__lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 34px; }
.fd-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.fd-hero__trust { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); max-width: 560px; }
.fd-hero__trust li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,.9); }
.fd-hero__trust i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,215,0,.14); color: var(--fd-yellow); font-size: 13px; }

/* Composición gráfica del hero inspirada en el isotipo */
.fd-hero__art { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; margin-left: auto; }
.fd-hero__art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fd-hero__photo { position: absolute; inset: 13% 2% 13% 24%; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.12); background: #DCE4FA; }
.fd-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.fd-float {
  position: absolute; background: var(--fd-white); color: var(--fd-navy); border-radius: var(--fd-radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45);
  animation: fdFloat 6s ease-in-out infinite;
}
.fd-float strong { display: block; font-family: var(--fd-font-display); font-size: 22px; line-height: 1; }
.fd-float small { color: var(--fd-muted); font-size: 13px; font-weight: 600; }
.fd-float .fd-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--fd-yellow-soft); color: var(--fd-blue); font-size: 18px; }
.fd-float--a { left: 0; top: 56%; }
.fd-float--b { right: -2%; top: 6%; animation-delay: -3s; }
@keyframes fdFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fd-crescent { transform-origin: center; animation: fdOrbit 1.2s var(--fd-ease) both; }
.fd-crescent--2 { animation-delay: .15s; }
@keyframes fdOrbit { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) {
  .fd-hero { padding: 140px 0 80px; }
  .fd-hero__art { margin: 56px auto 0; max-width: 440px; }
}
@media (max-width: 575px) { .fd-float--b { right: 0; } .fd-float { padding: 10px 14px; } .fd-float strong { font-size: 18px; } }

/* ------------------------------------------------------- BENEFIT STRIP */
.fd-benefits { position: relative; z-index: 3; margin-top: -54px; }
.fd-benefits__grid {
  background: var(--fd-white); border-radius: var(--fd-radius-lg); box-shadow: var(--fd-shadow);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--fd-border);
}
.fd-benefit { padding: 30px 28px; display: flex; gap: 16px; align-items: flex-start; }
.fd-benefit + .fd-benefit { border-left: 1px solid var(--fd-border); }
.fd-benefit i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--fd-ice); color: var(--fd-blue); font-size: 20px; transition: background .3s, color .3s; }
.fd-benefit:hover i { background: var(--fd-yellow); color: var(--fd-navy); }
.fd-benefit h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.fd-benefit p { font-size: 14.5px; line-height: 1.55; color: var(--fd-muted); }
@media (max-width: 991px) {
  .fd-benefits__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fd-benefit:nth-child(3) { border-left: 0; }
  .fd-benefit:nth-child(n+3) { border-top: 1px solid var(--fd-border); }
}
@media (max-width: 575px) {
  .fd-benefits__grid { grid-template-columns: 1fr; }
  .fd-benefit + .fd-benefit { border-left: 0; border-top: 1px solid var(--fd-border); }
}

/* ------------------------------------------------------------- ABOUT */
.fd-about__media { position: relative; }
.fd-about__media img { border-radius: var(--fd-radius-lg); width: 100%; }
.fd-about__badge {
  position: absolute; right: -12px; bottom: 28px; background: var(--fd-yellow); color: var(--fd-navy);
  border-radius: var(--fd-radius); padding: 18px 22px; max-width: 220px; box-shadow: var(--fd-shadow);
}
.fd-about__badge strong { font-family: var(--fd-font-display); font-size: 34px; display: block; line-height: 1; }
.fd-about__badge span { font-weight: 700; font-size: 14px; }
.fd-about__media::before { display: none; content: ""; position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--fd-yellow); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); z-index: -1; }
.fd-pillars { display: grid; gap: 14px; margin: 28px 0 34px; }
.fd-pillar { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--fd-radius); border: 1px solid var(--fd-border); background: var(--fd-white); transition: border-color .3s, transform .3s var(--fd-ease); }
.fd-pillar:hover { border-color: var(--fd-blue); transform: translateX(4px); }
.fd-pillar i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fd-blue); color: var(--fd-yellow); font-size: 18px; }
.fd-pillar h4 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.fd-pillar p { font-size: 15px; color: var(--fd-muted); line-height: 1.55; }
@media (max-width: 991px) { .fd-about__media { margin-bottom: 48px; } .fd-about__badge { right: 12px; } }

/* --------------------------------------------------------- PROGRAMAS */
.fd-programs { background: var(--fd-ice); }
.fd-programs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.fd-programs__head .section-title { margin-bottom: 0; }
.fd-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-filter { border: 1px solid var(--fd-border); background: var(--fd-white); color: var(--fd-navy); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s var(--fd-ease); }
.fd-filter:hover { border-color: var(--fd-blue); color: var(--fd-blue); }
.fd-filter.is-active { background: var(--fd-navy); border-color: var(--fd-navy); color: var(--fd-white); }
.fd-course {
  background: var(--fd-white); border-radius: var(--fd-radius); overflow: hidden; height: 100%;
  border: 1px solid var(--fd-border); display: flex; flex-direction: column;
  transition: transform .35s var(--fd-ease), box-shadow .35s var(--fd-ease), border-color .35s;
}
.fd-course:hover { transform: translateY(-6px); box-shadow: var(--fd-shadow); border-color: transparent; }
.fd-course__img { position: relative; aspect-ratio: 370 / 230; overflow: hidden; max-width: 100%; }
.fd-course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fd-ease); }
.fd-course:hover .fd-course__img img { transform: scale(1.05); }
.fd-tag { position: absolute; left: 16px; top: 16px; background: var(--fd-white); color: var(--fd-navy); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.fd-tag--mode { left: auto; right: 16px; background: var(--fd-yellow); }
.fd-course__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.fd-course__cat { font-size: 13px; font-weight: 800; color: var(--fd-blue); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.fd-course h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.fd-course h3 a { color: var(--fd-navy); }
.fd-course h3 a:hover { color: var(--fd-blue); }
.fd-course p { font-size: 15px; color: var(--fd-muted); line-height: 1.6; margin-bottom: 18px; }
.fd-course__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--fd-text); padding-top: 16px; border-top: 1px dashed var(--fd-border); margin-top: auto; }
.fd-course__meta i { color: var(--fd-blue); margin-right: 6px; }
.fd-course__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.fd-course.is-hidden { display: none; }

/* ----------------------------------------------------------- PROCESO */
.fd-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; counter-reset: step; position: relative; }
.fd-steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--fd-border) 0 10px, transparent 10px 18px); }
.fd-step { position: relative; text-align: center; padding: 0 8px; }
.fd-step__num { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fd-font-display); font-weight: 700; font-size: 22px; background: var(--fd-white); color: var(--fd-blue); border: 2px solid var(--fd-blue); transition: all .3s var(--fd-ease); }
.fd-step:hover .fd-step__num { background: var(--fd-blue); color: var(--fd-yellow); transform: scale(1.06); }
.fd-step:last-child .fd-step__num { background: var(--fd-yellow); border-color: var(--fd-yellow); color: var(--fd-navy); }
.fd-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.fd-step p { font-size: 15px; color: var(--fd-muted); line-height: 1.6; }
@media (max-width: 991px) { .fd-steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 40px; } .fd-steps::before { display: none; } }
@media (max-width: 575px) { .fd-steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ CIFRAS */
.fd-stats { background: var(--fd-navy); color: var(--fd-white); position: relative; overflow: hidden; }
.fd-stats::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 70px solid rgba(255,215,0,.08); }
.fd-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; position: relative; }
.fd-stat { padding: 8px 0 8px 24px; border-left: 3px solid var(--fd-yellow); }
.fd-stat span.purecounter, .fd-stat .fd-stat__n { font-family: var(--fd-font-display); font-size: clamp(38px, 4vw, 54px); font-weight: 700; color: var(--fd-white); line-height: 1; font-variant-numeric: tabular-nums; }
.fd-stat .fd-plus { color: var(--fd-yellow); font-family: var(--fd-font-display); font-size: 40px; font-weight: 700; }
.fd-stat p { color: rgba(255,255,255,.75); font-weight: 600; margin-top: 8px; }
@media (max-width: 767px) { .fd-stats__grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 36px; } }

/* --------------------------------------------------------- TESTIMONIOS */
.testi_home_area { background: var(--fd-white); }
.testimonial { background: var(--fd-white); border: 1px solid var(--fd-border); border-radius: var(--fd-radius); margin: 10px; box-shadow: none; overflow: hidden; transition: box-shadow .3s; }
.testimonial:hover { box-shadow: var(--fd-shadow); }
.testimonial_content { padding: 30px 28px 22px; position: relative; }
.testimonial_content::before { content: "\201C"; font-family: Georgia, "Times New Roman", serif; position: absolute; right: 22px; top: 4px; font-size: 90px; line-height: 1; color: var(--fd-yellow); opacity: .9; }
.testimonial_content i { color: #E8B500; font-size: 14px; }
.testimonial_content p { color: var(--fd-text); font-size: 16px; line-height: 1.7; margin-top: 14px; }
.testi_pic_title, .tpt_one, .tpt_two, .tpt_three { background: var(--fd-ice); padding: 18px 28px; display: flex; align-items: center; gap: 14px; }
.testi_pic_title .pic { margin: 0; width: 52px; height: 52px; flex: none; }
.testi_pic_title .pic img { border-radius: 50%; border: 3px solid var(--fd-white); }
.testi_pic_title h4 { font-size: 17px; font-weight: 700; margin: 0; }
.testi_pic_title small { color: var(--fd-muted); font-weight: 600; }
.owl-theme .owl-controls .owl-page span { background: var(--fd-border) !important; }
.owl-theme .owl-controls .owl-page.active span { background: var(--fd-blue) !important; width: 26px; }
.owl-theme .owl-controls .owl-buttons div { background: var(--fd-white) !important; color: var(--fd-navy) !important; border: 1px solid var(--fd-border); border-radius: 50% !important; }
.owl-theme .owl-controls .owl-buttons div:hover { background: var(--fd-blue) !important; color: var(--fd-white) !important; }

/* ----------------------------------------------- PREINSCRIPCIÓN (FORM) */
.fd-enroll { background: var(--fd-ice); }
.fd-enroll__card { background: var(--fd-blue); border-radius: var(--fd-radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; position: relative; }
.fd-enroll__info { padding: 56px 52px; color: var(--fd-white); position: relative; }
.fd-enroll__info::after { display: none; content: ""; position: absolute; left: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 46px solid var(--fd-yellow); border-right-color: transparent; border-top-color: transparent; opacity: .9; transform: rotate(10deg); }
.fd-enroll__info h2 { color: var(--fd-white); font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; line-height: 1.12; margin-bottom: 16px; }
.fd-enroll__info p { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.fd-enroll__info ul { display: grid; gap: 12px; position: relative; z-index: 1; }
.fd-enroll__info li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.fd-enroll__info li i { color: var(--fd-yellow); }
.fd-form { background: var(--fd-white); padding: 44px 44px 40px; margin: 12px; border-radius: calc(var(--fd-radius-lg) - 8px); }
.fd-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.fd-form form > p { color: var(--fd-muted); font-size: 15px; margin-bottom: 22px; }
.fd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fd-field--full { grid-column: 1 / -1; }
.fd-field label { font-weight: 700; color: var(--fd-navy); font-size: 14px; margin: 0; }
.fd-field input, .fd-field select, .fd-field textarea,
.contact input, .contact textarea, .login input, .register input, .subscribe__input, .blog_search input, .comment_form input, .comment_form textarea, .form-control {
  font-family: var(--fd-font-body); width: 100%; background: var(--fd-surface); border: 1.5px solid var(--fd-border);
  border-radius: 12px; padding: 13px 16px; font-size: 15.5px; color: var(--fd-navy); height: auto; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background .2s; box-shadow: none;
}
.fd-field input::placeholder, .fd-field textarea::placeholder, .form-control::placeholder { color: #8A91AD; }
.fd-field input:hover, .fd-field select:hover, .form-control:hover { border-color: #C7D0E6; }
.fd-field input:focus, .fd-field select:focus, .fd-field textarea:focus,
.contact input:focus, .contact textarea:focus, .login input:focus, .register input:focus, .form-control:focus, .subscribe__input:focus {
  outline: none; background: var(--fd-white); border-color: var(--fd-blue) !important; box-shadow: 0 0 0 4px rgba(0,33,142,.12) !important;
}
.fd-field.is-invalid input, .fd-field.is-invalid select { border-color: #C2362B; }
.fd-field .fd-error { color: #B42318; font-size: 13px; font-weight: 600; display: none; }
.fd-field.is-invalid .fd-error { display: block; }
.fd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-chips label { cursor: pointer; }
.fd-chips input { position: absolute; opacity: 0; pointer-events: none; }
.fd-chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--fd-border); font-weight: 700; font-size: 14px; color: var(--fd-text); background: var(--fd-surface); transition: all .2s; }
.fd-chips input:checked + span { background: var(--fd-navy); border-color: var(--fd-navy); color: var(--fd-white); }
.fd-chips input:focus-visible + span { outline: 3px solid var(--fd-yellow); outline-offset: 2px; }
.fd-form .fd-btn { width: 100%; margin-top: 22px; padding: 16px; }
.fd-form__note { font-size: 13px; color: var(--fd-muted); text-align: center; margin-top: 12px; }
.fd-form__ok { display: none; text-align: center; padding: 30px 10px; }
.fd-form__ok i { width: 64px; height: 64px; border-radius: 50%; background: var(--fd-yellow); color: var(--fd-navy); display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px; }
.fd-form.is-sent .fd-form__ok { display: block; animation: fdIn .5s var(--fd-ease); }
.fd-form.is-sent form { display: none; }
@keyframes fdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) { .fd-enroll__card { grid-template-columns: 1fr; } .fd-enroll__info { padding: 44px 32px 20px; } .fd-enroll__info::after { display: none; } }
@media (max-width: 575px) { .fd-form { padding: 28px 22px; } .fd-form__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ EVENTOS / BLOG */
.fd-news { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.fd-post { border-radius: var(--fd-radius); overflow: hidden; border: 1px solid var(--fd-border); background: var(--fd-white); transition: transform .35s var(--fd-ease), box-shadow .35s; display: flex; flex-direction: column; }
.fd-post:hover { transform: translateY(-6px); box-shadow: var(--fd-shadow); }
.fd-post__img { position: relative; aspect-ratio: 370 / 230; overflow: hidden; max-width: 100%; }
.fd-post__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-date { position: absolute; left: 16px; bottom: 16px; width: 62px; text-align: center; background: var(--fd-yellow); color: var(--fd-navy); border-radius: 14px; padding: 8px 0 6px; box-shadow: var(--fd-shadow-sm); }
.fd-date b { font-family: var(--fd-font-display); font-size: 24px; display: block; line-height: 1; }
.fd-date small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.fd-post__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.fd-post__meta { font-size: 13.5px; color: var(--fd-muted); font-weight: 600; display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.fd-post__meta i { color: var(--fd-blue); margin-right: 5px; }
.fd-post h3 { font-size: 19px; font-weight: 700; line-height: 1.35; margin-bottom: 16px; }
.fd-post h3 a { color: var(--fd-navy); }
.fd-post h3 a:hover { color: var(--fd-blue); }
.fd-post .cta { margin: auto 0 0; align-self: flex-start; }
@media (max-width: 991px) { .fd-news { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575px) { .fd-news { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- CTA BANNER */
.fd-cta-band { background: var(--fd-yellow); padding: 56px 0; }
.fd-cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fd-cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--fd-navy); }
.fd-cta-band p { color: var(--fd-navy); opacity: .8; font-weight: 600; margin-top: 4px; }
.fd-cta-band .fd-btn--primary { background: var(--fd-navy); }
.fd-cta-band .fd-btn--primary:hover { background: var(--fd-blue); }

/* ----------------------------------------------------------- FOOTER */
.footer { background: var(--fd-navy-2); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -260px; bottom: -260px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(0,33,142,.45); }
.footer .container { position: relative; }
.single_footer img { width: 210px; margin-bottom: 22px; }
.single_footer p, .sf_contact p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
.single_footer h4 { color: var(--fd-white); font-size: 17px; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; text-transform: none; }
.single_footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--fd-yellow); }
.single_footer ul li a { color: rgba(255,255,255,.72); font-weight: 500; padding: 5px 0; display: inline-block; transition: color .2s, transform .2s; }
.single_footer ul li a:before { display: none; }
.single_footer ul li a:hover { color: var(--fd-yellow); transform: translateX(4px); }
.sf_contact { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.sf_contact span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--fd-yellow); font-size: 16px; float: none; margin: 0; }
.sf_contact h3 { color: var(--fd-white); font-size: 14px; font-weight: 700; margin: 0 0 2px; font-family: var(--fd-font-body); }
.sf_contact p { margin: 0; overflow: visible; }
.foot_social ul { display: flex; gap: 10px; }
.foot_social ul li a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--fd-white); font-size: 15px; padding: 0; margin: 0; border: 0; transition: all .25s var(--fd-ease); }
.foot_social ul li a:hover { background: var(--fd-yellow); color: var(--fd-navy); transform: translateY(-3px); }
.fc { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 22px 0 26px; align-items: center; }
.footer_copyright p, .footer_menu ul li a { color: rgba(255,255,255,.6); font-size: 14px; }
.footer_menu ul li a:hover { color: var(--fd-yellow); }
.fd-foot-tagline { font-family: var(--fd-font-script); color: var(--fd-yellow); font-size: 24px; display: block; margin: -6px 0 14px; }
.subscribe__btn { background: var(--fd-yellow) !important; color: var(--fd-navy) !important; border-radius: 10px !important; }

/* ------------------------------------------------ PÁGINAS INTERNAS */
.section-top {
  background: linear-gradient(160deg, var(--fd-navy) 0%, #0B2070 60%, var(--fd-blue) 100%);
  padding: 190px 0 90px; position: relative; overflow: hidden;
}
.section-top::before { content: ""; position: absolute; left: -120px; top: 40px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid var(--fd-yellow); border-right-color: transparent; border-bottom-color: transparent; opacity: .18; transform: rotate(-30deg); }
.section-top::after { content: ""; position: absolute; right: 6%; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.05); }
.section-top-title h1 { color: var(--fd-white); font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; text-transform: none; }
.section-top-title ul { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); width: auto; display: inline-flex; gap: 8px; padding: 8px 18px; border-radius: 999px; }
.section-top-title ul li { color: rgba(255,255,255,.8) !important; font-weight: 600; }
.section-top-title ul li a { color: var(--fd-yellow) !important; }
.section-top-title ul li a:hover { color: var(--fd-white) !important; }

/* Componentes heredados: tarjetas y acentos */
.single_tp, .single_feature_one, .single_tca, .course-slide, .course-slide2, .event-slide, .single_blog, .count-box, .login, .register, .single-pricing, .accordion-item, .single_address, .sabr {
  border-radius: var(--fd-radius) !important; border: 1px solid var(--fd-border) !important; box-shadow: none !important;
  transition: transform .35s var(--fd-ease), box-shadow .35s var(--fd-ease);
}
.single_feature_one:hover, .single_tca:hover, .course-slide:hover, .course-slide2:hover, .event-slide:hover, .single_blog:hover { transform: translateY(-5px); box-shadow: var(--fd-shadow) !important; }
.single_feature_one span, .abmv span, .single_address i { background: var(--fd-ice) !important; color: var(--fd-blue) !important; border-radius: 14px; }
.single_feature_one:hover span { background: var(--fd-yellow) !important; color: var(--fd-navy) !important; }
.course-slide .course-img img, .event-slide .event-img img, .single_blog img { border-radius: var(--fd-radius) var(--fd-radius) 0 0; }
.course-slide .month, .event-slide .event-date, .ed_mb { background: var(--fd-yellow) !important; color: var(--fd-navy) !important; }
.c_btn, .c_btn2, .c_btn3 { background: var(--fd-ice) !important; color: var(--fd-blue) !important; border-radius: 999px !important; font-weight: 800; }
.counts .count-box i { color: var(--fd-blue) !important; }
.accordion-button:not(.collapsed) { background: var(--fd-ice); color: var(--fd-blue); }
.accordion-button { font-family: var(--fd-font-display); font-weight: 600; color: var(--fd-navy); }
.login_register { background: var(--fd-ice); }
.login, .register { padding: 40px !important; background: var(--fd-white); }
.tag a:hover, .product_filter .filter.active, .pagination .page-item.active .page-link { background: var(--fd-blue) !important; color: var(--fd-white) !important; border-color: var(--fd-blue) !important; }
.topcontrol { background: var(--fd-blue) !important; color: var(--fd-yellow) !important; border-radius: 50% !important; }
.topcontrol:hover { background: var(--fd-yellow) !important; color: var(--fd-navy) !important; }

/* ------------------------------------------------ REVEAL / MOTION */
.fd-reveal { opacity: 1; transform: none; }
.js-reveal .fd-reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.js-reveal .fd-reveal { transition: opacity .7s var(--fd-ease), transform .7s var(--fd-ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .fd-reveal:not(.is-in) { opacity: 1; transform: none; }
}
.navbar-fixed .slicknav_btn { top: 32px !important; }

.fd-hero__dot { position: absolute; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--fd-yellow); right: 6%; bottom: 12%; box-shadow: 0 0 0 10px rgba(255,215,0,.18); }
fieldset.fd-field { border: 0; padding: 0; margin: 0; }
.fd-legend { font-family: var(--fd-font-body); font-weight: 700; color: var(--fd-navy); font-size: 14px; margin: 0 0 6px; float: none; width: auto; }

.footer_copyright p, .footer_menu ul li a, .single_footer ul li a, .single_footer h4, .section-top-title h1 { text-transform: none !important; }
.fd-enroll__info { display: flex; flex-direction: column; }
.fd-enroll__direct { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.fd-enroll__direct i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--fd-yellow); color: var(--fd-navy); font-size: 22px; flex: none; }
.fd-enroll__direct small { display: block; color: rgba(255,255,255,.75); font-weight: 600; }
.fd-enroll__direct a { color: var(--fd-white); font-family: var(--fd-font-display); font-size: 22px; font-weight: 600; }
.fd-enroll__direct a:hover { color: var(--fd-yellow); }
.fd-enroll__info ul { margin-bottom: 0; }
#main-menu ul li a, #navigation #main-menu ul li ul li a, .slicknav_nav a { text-transform: none !important; }
.slicknav_nav .slicknav_row, .slicknav_nav .slicknav_item { margin: 0 !important; padding: 10px 6px !important; display: block; }
.slicknav_nav .slicknav_row a, .slicknav_nav .slicknav_item a { padding: 0 !important; display: inline; }
.slicknav_nav ul { margin: 0 0 6px 14px !important; border-left: 2px solid var(--fd-yellow); padding-left: 8px !important; }
.slicknav_nav li { display: block !important; margin: 0 !important; }
