/*!
 * FECONT - Tema visual 2026
 * Paleta tomada del logo institucional (imagenes/logo3.gif)
 * Se carga DESPUES de bootstrap.css y modern-business.css
 */

/* ==========================================================================
   1. Tokens de marca
   ========================================================================== */

:root {
    /* Colores extraidos del logo */
    --fe-teal: #33aa99;
    --fe-teal-dark: #268276;
    --fe-teal-soft: #e6f5f2;

    --fe-blue: #335599;
    --fe-violet: #665599;

    --fe-indigo: #241e56;
    --fe-indigo-700: #2e2a6b;
    --fe-indigo-900: #1a1540;

    --fe-rose: #cc5566;
    --fe-coral: #ef5533;
    --fe-orange: #f5852e;
    --fe-orange-soft: #fdf0e6;

    /* Neutros */
    --fe-ink: #1d2033;
    --fe-body: #566074;
    --fe-muted: #7b8598;
    --fe-line: #e7eaf1;
    --fe-bg: #ffffff;
    --fe-bg-alt: #f6f8fb;

    /* Degradados */
    --fe-grad-warm: linear-gradient(135deg, #f5852e 0%, #ef5533 100%);
    --fe-grad-cool: linear-gradient(135deg, #33aa99 0%, #335599 100%);
    --fe-grad-deep: linear-gradient(135deg, #335599 0%, #241e56 100%);
    --fe-grad-logo: linear-gradient(90deg, #33aa99 0%, #335599 26%, #665599 46%, #cc5566 66%, #ef5533 84%, #f5852e 100%);

    /* Sombras */
    --fe-shadow-sm: 0 2px 8px rgba(36, 30, 86, .06);
    --fe-shadow: 0 10px 30px rgba(36, 30, 86, .09);
    --fe-shadow-lg: 0 22px 50px rgba(36, 30, 86, .16);

    --fe-radius: 16px;
    --fe-radius-lg: 24px;
}

/* ==========================================================================
   2. Base tipografica
   ========================================================================== */

body {
    padding-top: 112px;
    font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--fe-body);
    background-color: var(--fe-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--fe-indigo);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
}

h1, .h1 { font-size: 42px; color: var(--fe-indigo); }
h2, .h2 { font-size: 30px; color: var(--fe-indigo); }
h3, .h3 { font-size: 22px; color: var(--fe-indigo); }
h4, .h4 { font-size: 18px; color: var(--fe-indigo); }

p { margin-bottom: 16px; }

a {
    color: var(--fe-blue);
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

a:hover,
a:focus {
    color: var(--fe-coral);
    text-decoration: none;
}

hr {
    border: 0;
    height: 1px;
    background: var(--fe-line);
    margin: 48px 0;
}

::selection { background: var(--fe-teal); color: #fff; text-shadow: none; }
::-moz-selection { background: var(--fe-teal); color: #fff; text-shadow: none; }

.text-primary { color: var(--fe-blue); }
.text-muted { color: var(--fe-muted); }

/* Utilidades del tema */
.fe-lead { font-size: 18px; color: var(--fe-body); }
.fe-text-gradient {
    background: var(--fe-grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--fe-coral);
}

.fe-section { padding: 76px 0; }
.fe-section--alt { background-color: var(--fe-bg-alt); }

.fe-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.fe-section-head p { font-size: 17px; color: var(--fe-muted); margin-bottom: 0; }

.fe-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fe-teal-dark);
    background: var(--fe-teal-soft);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

.fe-rule {
    width: 68px;
    height: 4px;
    border-radius: 4px;
    background: var(--fe-grad-warm);
    margin: 18px 0 26px;
}
.fe-section-head .fe-rule { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   3. Barra superior + navegacion
   ========================================================================== */

.navbar-default {
    background-color: rgba(255, 255, 255, .96);
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    min-height: 76px;
    box-shadow: var(--fe-shadow-sm);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    transition: box-shadow .3s ease;
}

.navbar-default.fe-nav-scrolled { box-shadow: 0 8px 26px rgba(36, 30, 86, .12); }

.fe-topbar {
    background: var(--fe-indigo);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 36px;
    height: 36px;
    overflow: hidden;
}

.fe-topbar a { color: rgba(255, 255, 255, .82); }
.fe-topbar a:hover { color: #fff; }
.fe-topbar .fa { color: var(--fe-teal); margin-right: 7px; }
.fe-topbar-item { display: inline-block; margin-right: 26px; }
.fe-topbar-right { float: right; }
.fe-topbar-right .fe-topbar-item { margin-right: 0; margin-left: 22px; }

.navbar-default .navbar-brand {
    height: auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-default .navbar-brand img {
    height: 50px;
    width: auto;
    display: block;
}

.fe-brand-text {
    display: inline-block;
    line-height: 1.15;
}
.fe-brand-text strong {
    display: block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--fe-indigo);
}
.fe-brand-text span {
    display: block;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fe-muted);
}

.navbar-default .navbar-nav > li > a {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--fe-indigo);
    padding: 27px 14px;
    position: relative;
}

.navbar-default .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--fe-grad-warm);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}

.navbar-default .navbar-nav > li > a:hover::after,
.navbar-default .navbar-nav > li.active > a::after,
.navbar-default .navbar-nav > li.open > a::after { transform: scaleX(1); }

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover { color: var(--fe-coral); background-color: transparent; }

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
    color: var(--fe-coral) !important;
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus { background-color: transparent; color: var(--fe-coral); }

.navbar-default .dropdown-menu {
    border: 0;
    border-radius: 14px;
    padding: 10px;
    margin-top: 6px;
    min-width: 220px;
    box-shadow: var(--fe-shadow);
    border-top: 3px solid transparent;
    border-image: var(--fe-grad-logo) 1;
}

.navbar-default .dropdown-menu > li > a {
    font-size: 14px;
    font-weight: 600;
    color: var(--fe-indigo);
    padding: 10px 14px;
    border-radius: 10px;
}

.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus {
    background-color: var(--fe-orange-soft);
    color: var(--fe-coral);
}

/* Boton destacado dentro del menu */
.navbar-default .navbar-nav > li.fe-nav-cta { padding: 18px 0 0 14px; }
.navbar-default .navbar-nav > li.fe-nav-cta > a {
    padding: 11px 22px;
    color: #fff;
    background: var(--fe-grad-warm);
    border-radius: 100px;
    box-shadow: 0 6px 16px rgba(239, 85, 51, .3);
}
.navbar-default .navbar-nav > li.fe-nav-cta > a::after { display: none; }
.navbar-default .navbar-nav > li.fe-nav-cta > a:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(239, 85, 51, .38); }

.navbar-default .navbar-toggle {
    border: 0;
    border-radius: 10px;
    margin-top: 21px;
    background: var(--fe-orange-soft);
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: var(--fe-orange-soft); }
.navbar-default .navbar-toggle .icon-bar { background-color: var(--fe-coral); }
.navbar-default .navbar-collapse { border-color: var(--fe-line); }

/* ==========================================================================
   4. Carrusel de cabecera (#myCarousel)
   ========================================================================== */

header.carousel {
    height: 82vh;
    min-height: 460px;
    max-height: 760px;
    background-color: var(--fe-indigo);
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner { height: 100%; }

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transform: scale(1.06);
    animation: feSlowZoom 12s ease-out forwards;
}

header.carousel .item.active .fill { animation: feSlowZoom 12s ease-out forwards; }

@keyframes feSlowZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

/* Velo con los tonos del logo sobre cada imagen */
header.carousel .item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(100deg, rgba(26, 21, 64, .90) 0%, rgba(36, 30, 86, .72) 42%, rgba(51, 85, 153, .34) 70%, rgba(51, 170, 153, .18) 100%);
    pointer-events: none;
}

header.carousel .carousel-caption {
    z-index: 12;
    left: 0;
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 24px;
    text-align: left;
    text-shadow: none;
}

.fe-hero-inner { max-width: 1170px; margin: 0 auto; }
.fe-hero-copy { max-width: 620px; }

.fe-hero-tag {
    display: inline-block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 100px;
    padding: 7px 18px;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

header.carousel .carousel-caption h3 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -.02em;
}

header.carousel .carousel-caption p {
    font-size: 18px;
    color: rgba(255, 255, 255, .86);
    margin-bottom: 30px;
    max-width: 560px;
}

.fe-hero-actions .btn { margin: 6px 12px 6px 0; }

header.carousel .carousel-indicators {
    bottom: 112px; /* despeja las tarjetas que se superponen al hero */
    z-index: 14;
    text-align: left;
    left: 50%;
    width: 1170px;
    max-width: calc(100% - 48px);
    transform: translateX(-50%);
    margin-left: 0;
}

header.carousel .carousel-indicators li {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    margin: 0 8px 0 0;
    background-color: rgba(255, 255, 255, .35);
    transition: all .3s ease;
}

header.carousel .carousel-indicators li.active {
    width: 56px;
    height: 4px;
    margin: 0 8px 0 0;
    background: var(--fe-grad-warm);
}

header.carousel .carousel-control {
    width: 56px;
    height: 56px;
    top: 50%;
    margin-top: -28px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    opacity: 1;
    text-shadow: none;
    backdrop-filter: blur(6px);
    z-index: 15;
}
header.carousel .carousel-control.left { left: 26px; }
header.carousel .carousel-control.right { right: 26px; }
header.carousel .carousel-control:hover { background: var(--fe-coral); border-color: var(--fe-coral); }
header.carousel .carousel-control .icon-prev,
header.carousel .carousel-control .icon-next {
    font-size: 18px;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

/* ==========================================================================
   5. Botones
   ========================================================================== */

.btn {
    border: 0;
    border-radius: 100px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 13px 28px;
    transition: all .28s ease;
}

.btn-xl { padding: 16px 34px; font-size: 14px; }

.btn-primary,
.btn-primary:focus {
    color: #fff;
    background: var(--fe-grad-warm);
    background-color: var(--fe-coral);
    box-shadow: 0 8px 20px rgba(239, 85, 51, .28);
}

.btn-primary:hover,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background: var(--fe-grad-warm);
    background-color: var(--fe-orange);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(239, 85, 51, .36);
}

.btn-secondary {
    color: #fff;
    background: var(--fe-grad-cool);
    background-color: var(--fe-teal);
    box-shadow: 0 8px 20px rgba(51, 85, 153, .26);
}
.btn-secondary:hover,
.btn-secondary:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(51, 85, 153, .34); }

.btn-outline-light {
    color: #fff;
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.btn-outline-light:hover,
.btn-outline-light:focus { color: var(--fe-indigo); background: #fff; box-shadow: inset 0 0 0 2px #fff; }

.btn-outline-brand {
    color: var(--fe-indigo);
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--fe-line);
}
.btn-outline-brand:hover,
.btn-outline-brand:focus { color: var(--fe-coral); box-shadow: inset 0 0 0 2px var(--fe-coral); }

/* ==========================================================================
   6. Tarjetas de servicio / accesos rapidos
   ========================================================================== */

.fe-quick { margin-top: -70px; position: relative; z-index: 20; }

.fe-card-col { margin-bottom: 30px; }

.service-box,
.fe-card {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: var(--fe-radius);
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--fe-shadow);
    border: 1px solid var(--fe-line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.service-box::before,
.fe-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--fe-grad-logo);
    opacity: 0;
    transition: opacity .3s ease;
}

.service-box:hover,
.fe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fe-shadow-lg);
    border-color: transparent;
}
.service-box:hover::before,
.fe-card:hover::before { opacity: 1; }

.service-box a { display: block; color: inherit; }
.service-box a:hover { color: inherit; }

.fe-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 22px rgba(36, 30, 86, .16);
    transition: transform .3s ease;
}
.service-box:hover .fe-card-icon,
.fe-card:hover .fe-card-icon { transform: scale(1.08) rotate(-4deg); }

.fe-icon-teal { background: linear-gradient(135deg, #33aa99, #268276); }
.fe-icon-blue { background: linear-gradient(135deg, #4b74bd, #335599); }
.fe-icon-violet { background: linear-gradient(135deg, #7d6cb0, #4a3f86); }
.fe-icon-rose { background: linear-gradient(135deg, #cc5566, #a83f5c); }
.fe-icon-coral { background: linear-gradient(135deg, #f5852e, #ef5533); }
.fe-icon-indigo { background: linear-gradient(135deg, #3a3480, #241e56); }

.service-box h2,
.fe-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--fe-indigo);
    margin: 0 0 10px;
}

.service-box p,
.fe-card p { font-size: 15px; color: var(--fe-muted); margin-bottom: 0; }

.fe-card-link {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fe-coral);
}
.fe-card-link .fa { margin-left: 6px; transition: transform .25s ease; }
.service-box:hover .fe-card-link .fa,
.fe-card:hover .fe-card-link .fa { transform: translateX(5px); }

/* ==========================================================================
   7. Franja de cifras
   ========================================================================== */

.fe-stats {
    background: var(--fe-grad-deep);
    border-radius: var(--fe-radius-lg);
    padding: 44px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--fe-shadow-lg);
}

.fe-stats::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 170, 153, .45) 0%, rgba(51, 170, 153, 0) 68%);
}
.fe-stats::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 85, 51, .40) 0%, rgba(239, 85, 51, 0) 68%);
}

.fe-stat { text-align: center; position: relative; z-index: 2; padding: 10px 6px; }
.fe-stat .fa { font-size: 24px; color: var(--fe-teal); margin-bottom: 10px; display: block; }
.fe-stat strong {
    display: block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.fe-stat span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ==========================================================================
   8. Bloques de contenido
   ========================================================================== */

.fe-media-img {
    border-radius: var(--fe-radius-lg);
    box-shadow: var(--fe-shadow-lg);
    width: 100%;
    height: auto;
}

.fe-figure {
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    padding: 34px;
    text-align: center;
    box-shadow: var(--fe-shadow);
}
.fe-figure img { max-width: 100%; height: auto; margin: 0 auto; }

.fe-list { list-style: none; padding: 0; margin: 0; }
.fe-list li {
    position: relative;
    padding: 0 0 0 38px;
    margin-bottom: 14px;
    color: var(--fe-body);
}
.fe-list li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 11px;
    color: #fff;
    border-radius: 50%;
    background: var(--fe-grad-cool);
}

/* Bloque de pagos */
.fe-pay-card {
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    padding: 40px;
    box-shadow: var(--fe-shadow);
}

.fe-pay-option {
    display: block;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius);
    padding: 22px 24px;
    margin-bottom: 16px;
    background: #fff;
    transition: all .28s ease;
}
.fe-pay-option:hover {
    border-color: var(--fe-coral);
    box-shadow: var(--fe-shadow);
    transform: translateY(-3px);
}
.fe-pay-option .fe-pay-num {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    background: var(--fe-orange-soft);
    color: var(--fe-coral);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 14px;
    margin-right: 14px;
    vertical-align: middle;
}
.fe-pay-option h4 { display: inline-block; margin: 0; vertical-align: middle; font-size: 17px; }
.fe-pay-option p { margin: 10px 0 0 48px; font-size: 14px; color: var(--fe-muted); }
.fe-pay-option .fa-arrow-right { float: right; margin-top: 9px; color: var(--fe-coral); }

/* Llamado a la accion */
.fe-cta {
    border-radius: var(--fe-radius-lg);
    background: var(--fe-grad-warm);
    color: #fff;
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(239, 85, 51, .28);
}
.fe-cta::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.fe-cta h2 { color: #fff; margin: 0 0 10px; font-size: 28px; position: relative; z-index: 2; }
.fe-cta p { color: rgba(255, 255, 255, .92); margin: 0; position: relative; z-index: 2; }
.fe-cta .fe-cta-action { position: relative; z-index: 2; text-align: right; }

/* Cuentas bancarias */
.fe-account {
    background: #fff;
    border: 1px solid var(--fe-line);
    border-left: 5px solid var(--fe-teal);
    border-radius: var(--fe-radius);
    padding: 26px 28px;
    height: 100%;
    box-shadow: var(--fe-shadow-sm);
    transition: all .28s ease;
    margin-bottom: 24px;
}
.fe-account:hover { box-shadow: var(--fe-shadow); transform: translateY(-4px); }
.fe-account--alt { border-left-color: var(--fe-coral); }
.fe-account h4 { margin: 0 0 6px; font-size: 17px; }
.fe-account .fe-account-num {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--fe-indigo);
    letter-spacing: .01em;
    display: block;
    margin-bottom: 4px;
}
.fe-account small { color: var(--fe-muted); font-size: 13.5px; }

/* ==========================================================================
   9. Pie de pagina
   ========================================================================== */

footer.fe-footer {
    margin: 0;
    background: var(--fe-indigo-900);
    color: rgba(255, 255, 255, .7);
    padding: 62px 0 0;
    border-top: 4px solid transparent;
    border-image: var(--fe-grad-logo) 1;
}

footer.fe-footer h5 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
}

footer.fe-footer p { font-size: 14.5px; color: rgba(255, 255, 255, .66); }
footer.fe-footer a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
footer.fe-footer a:hover { color: var(--fe-orange); }
footer.fe-footer ul { list-style: none; padding: 0; margin: 0; }
footer.fe-footer ul li { margin-bottom: 10px; }
footer.fe-footer .fa-li,
footer.fe-footer .fe-foot-icon { color: var(--fe-teal); width: 20px; }

.fe-footer-brand img { height: 54px; width: auto; margin-bottom: 18px; background: #fff; border-radius: 12px; padding: 6px 10px; }

.fe-footer-legal {
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0 26px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}
.fe-footer-legal p { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 0; }

.fe-social a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    margin-right: 8px;
}
.fe-social a:hover { background: var(--fe-grad-warm); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   10. Animacion de entrada
   ========================================================================== */

.fe-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fe-reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    header.carousel .carousel-indicators { width: 940px; }
    .navbar-default .navbar-nav > li > a { padding-left: 10px; padding-right: 10px; font-size: 13px; }
    .navbar-default .navbar-nav > li > a::after { left: 10px; right: 10px; }
    .navbar-default .navbar-nav > li.fe-nav-cta { padding-left: 10px; }
    .navbar-default .navbar-nav > li.fe-nav-cta > a { padding-left: 18px; padding-right: 18px; }
    .fe-brand-text strong { font-size: 18px; }
}

@media (max-width: 991px) {
    h1, .h1 { font-size: 34px; }
    h2, .h2 { font-size: 26px; }
    header.carousel .carousel-caption h3 { font-size: 34px; }
    header.carousel .carousel-indicators { width: 720px; bottom: 30px; }
    header.carousel .carousel-control { display: none; } /* evita que tape el titular */
    /* Velo mas parejo: en pantallas medianas el texto se centra sobre la imagen */
    header.carousel .item::after {
        background: linear-gradient(180deg, rgba(26, 21, 64, .84) 0%, rgba(36, 30, 86, .74) 52%, rgba(51, 85, 153, .70) 100%);
    }
    .fe-cta { padding: 40px 32px; text-align: center; }
    .fe-cta .fe-cta-action { text-align: center; margin-top: 24px; }
    .fe-quick { margin-top: 40px; }
    .fe-pay-card { padding: 30px 24px; }
}

/* Colapsa el menu tambien en tablet (Bootstrap 3 lo hace solo bajo 768px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-default .navbar-header { float: none; }
    .navbar-default .navbar-toggle { display: block; }
    .navbar-default .navbar-collapse {
        border-top: 1px solid var(--fe-line);
        max-height: 340px;
        overflow-y: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar-default .navbar-collapse.collapse { display: none !important; }
    .navbar-default .navbar-collapse.collapse.in { display: block !important; }
    .navbar-default .navbar-nav { float: none !important; margin: 8px -15px; }
    .navbar-default .navbar-nav > li { float: none; }
    .navbar-default .navbar-nav > li > a { padding-top: 11px; padding-bottom: 11px; }
    .navbar-default .navbar-nav > li > a::after { display: none; }
    .navbar-default .navbar-nav > li.fe-nav-cta { padding: 10px 15px 14px; }
    .navbar-default .navbar-nav > li.fe-nav-cta > a { display: inline-block; }
    .navbar-default .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        border-image: none;
        box-shadow: none;
    }
}

@media (max-width: 767px) {
    body { padding-top: 70px; }
    .fe-topbar { display: none; }
    .navbar-default { min-height: 70px; }
    .navbar-default .navbar-brand img { height: 42px; }
    .fe-brand-text strong { font-size: 17px; }
    .navbar-default .navbar-nav > li > a { padding: 12px 14px; }
    .navbar-default .navbar-nav > li > a::after { display: none; }
    .navbar-default .navbar-nav > li.fe-nav-cta { padding: 10px 14px 14px; }
    .navbar-default .navbar-nav > li.fe-nav-cta > a { display: inline-block; }
    .navbar-default .navbar-nav .open .dropdown-menu { box-shadow: none; border-image: none; }

    header.carousel { height: auto; min-height: 0; max-height: none; }
    header.carousel .item,
    header.carousel .item.active,
    header.carousel .carousel-inner { height: 78vh; min-height: 440px; }
    header.carousel .carousel-caption { text-align: center; padding: 0 20px; }
    .fe-hero-copy { max-width: 100%; }
    header.carousel .carousel-caption h3 { font-size: 26px; }
    header.carousel .carousel-caption p { font-size: 15.5px; margin-left: auto; margin-right: auto; }
    header.carousel .carousel-control { display: none; }
    header.carousel .carousel-indicators { width: auto; left: 0; right: 0; transform: none; text-align: center; max-width: 100%; }
    header.carousel .carousel-indicators li { margin: 0 4px; }
    header.carousel .carousel-indicators li.active { margin: 0 4px; }

    .fe-section { padding: 52px 0; }
    .fe-stats { padding: 26px 12px; }
    .fe-stat { padding: 16px 6px; }
    .btn-xl { padding: 14px 26px; font-size: 13px; }
    .fe-hero-actions .btn { margin: 6px 5px; }
}

/* ==========================================================================
   12. Paginas interiores (nosotros, credito, ahorro, bienestar, afiliacion,
       reglamento, contacto, preguntas, faq)
   ========================================================================== */

/* Banda de titulo que reemplaza al h1.page-header */
.fe-pagehead {
    position: relative;
    overflow: hidden;
    padding: 62px 0 58px;
    background: var(--fe-grad-deep);
    color: #fff;
}

.fe-pagehead::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -150px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 170, 153, .42) 0%, rgba(51, 170, 153, 0) 68%);
}

.fe-pagehead::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -190px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 85, 51, .38) 0%, rgba(239, 85, 51, 0) 68%);
}

.fe-pagehead .container { position: relative; z-index: 2; }

.fe-pagehead .fe-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .26);
}

.fe-pagehead h1 {
    color: #fff;
    font-size: 40px;
    margin: 0 0 14px;
}

.fe-pagehead p {
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    max-width: 680px;
    margin: 0;
}

/* Migas de pan dentro de la banda */
.fe-pagehead .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 18px 0 0;
    font-size: 13.5px;
}
.fe-pagehead .breadcrumb > li + li::before { color: rgba(255, 255, 255, .4); }
.fe-pagehead .breadcrumb > li > a { color: rgba(255, 255, 255, .78); }
.fe-pagehead .breadcrumb > li > a:hover { color: var(--fe-orange); }
.fe-pagehead .breadcrumb > .active { color: rgba(255, 255, 255, .58); }

/* Contenedor de contenido de las paginas interiores */
.fe-page { padding-top: 66px; padding-bottom: 76px; }

/* Migas de pan sueltas (por si quedan fuera de la banda) */
.breadcrumb {
    background-color: var(--fe-bg-alt);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 13.5px;
}
.breadcrumb > .active { color: var(--fe-muted); }

/* Encabezados de seccion heredados de la plantilla */
.page-header {
    border-bottom: 0;
    padding-bottom: 0;
    margin: 52px 0 26px;
    position: relative;
}
.page-header::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    border-radius: 4px;
    background: var(--fe-grad-warm);
    margin-top: 18px;
}
.page-header small {
    display: block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fe-teal-dark);
    margin-bottom: 8px;
}
.fe-page > .row:first-child .page-header { margin-top: 0; }

/* Pestanas */
.nav-tabs {
    border-bottom: 1px solid var(--fe-line);
    margin-bottom: 0;
}
.nav-tabs > li > a {
    border: 0;
    border-radius: 0;
    margin-right: 0;
    padding: 16px 18px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fe-muted);
    background: transparent;
    border-bottom: 3px solid transparent;
}
.nav-tabs > li > a .fa { margin-right: 7px; color: var(--fe-teal); }
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    background: transparent;
    border-color: transparent;
    border-bottom-color: var(--fe-line);
    color: var(--fe-indigo);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: 0;
    border-bottom: 3px solid var(--fe-coral);
    background: transparent;
    color: var(--fe-coral);
}
.nav-tabs > li.active > a .fa { color: var(--fe-coral); }
.nav-tabs.nav-justified > li > a { border-radius: 0; }

.tab-content {
    background: #fff;
    border: 1px solid var(--fe-line);
    border-top: 0;
    border-radius: 0 0 var(--fe-radius) var(--fe-radius);
    padding: 32px 34px;
    box-shadow: var(--fe-shadow-sm);
}
.tab-content > .tab-pane > h4:first-child { margin-top: 0; }
.tab-content ul { padding-left: 20px; }
.tab-content ul li { margin-bottom: 10px; }

/* Acordeones (FAQ / preguntas frecuentes) */
.panel-group { margin-bottom: 0; }
.panel-group .panel + .panel { margin-top: 14px; }

.panel-default,
.panel {
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius) !important;
    box-shadow: var(--fe-shadow-sm);
    overflow: hidden;
    transition: box-shadow .28s ease, border-color .28s ease;
}
.panel-default:hover { box-shadow: var(--fe-shadow); }

.panel-default > .panel-heading,
.panel > .panel-heading {
    background: #fff;
    border: 0;
    padding: 0;
    color: var(--fe-indigo);
}

.panel-title { font-size: 16px; }
.panel-title > a {
    display: block;
    padding: 20px 54px 20px 24px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--fe-indigo);
    position: relative;
}
.panel-title > a::after {
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    right: 22px;
    top: 50%;
    margin-top: -13px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 14px;
    border-radius: 50%;
    color: #fff;
    background: var(--fe-grad-cool);
}
.panel-title > a.collapsed::after { content: "\f105"; }
.panel-title > a:hover { color: var(--fe-coral); }

.panel-body {
    border-top: 1px solid var(--fe-line) !important;
    padding: 22px 24px 26px;
    color: var(--fe-body);
}

/* Bloques destacados heredados */
.well {
    background: var(--fe-bg-alt);
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    box-shadow: none;
    padding: 30px 32px;
}

/* Formularios (contacto, afiliacion) */
.form-control {
    height: auto;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--fe-ink);
    border: 1px solid var(--fe-line);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.form-control:focus {
    border-color: var(--fe-teal);
    box-shadow: 0 0 0 4px rgba(51, 170, 153, .14);
}
.control-label,
label { font-weight: 600; color: var(--fe-indigo); font-size: 14px; }
.help-block { font-size: 13px; }

/* Tablas */
.table > thead > tr > th {
    border-bottom: 0;
    background: var(--fe-indigo);
    color: #fff;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 14px 16px;
}
.table > tbody > tr > td { border-top: 1px solid var(--fe-line); padding: 14px 16px; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: var(--fe-bg-alt); }
.table-responsive { border: 0; border-radius: var(--fe-radius); overflow: hidden; box-shadow: var(--fe-shadow-sm); }

/* Imagenes y contenido */
.fe-page .img-responsive { border-radius: var(--fe-radius); }
.fe-page iframe { border-radius: var(--fe-radius); max-width: 100%; }
.fe-page ul li { margin-bottom: 8px; }
.fe-page hr { margin: 44px 0; }

@media (max-width: 991px) {
    .fe-pagehead { padding: 46px 0 42px; }
    .fe-pagehead h1 { font-size: 32px; }
    .fe-page { padding-top: 46px; padding-bottom: 56px; }
    .tab-content { padding: 24px 22px; }
}

@media (max-width: 767px) {
    .fe-pagehead h1 { font-size: 27px; }
    .fe-pagehead p { font-size: 15.5px; }
    .nav-tabs.nav-justified > li > a { border-bottom: 1px solid var(--fe-line); }
    .nav-tabs > li > a { padding: 12px 14px; }
    .tab-content { padding: 22px 18px; }
}

/* Tarjeta de datos de contacto (contact.html) */
.fe-contact-card {
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    padding: 30px 28px;
    box-shadow: var(--fe-shadow);
}
.fe-contact-card h2 { margin: 0 0 24px; font-size: 24px; }

.fe-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.fe-contact-list li {
    position: relative;
    padding: 0 0 0 56px;
    margin-bottom: 20px;
}
.fe-contact-list li:last-child { margin-bottom: 0; }
.fe-contact-list strong {
    display: block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fe-muted);
    margin-bottom: 3px;
}
.fe-contact-list span:not(.fe-contact-icon) { color: var(--fe-ink); font-size: 15px; }

.fe-contact-icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
}

.fe-social--light a { background: var(--fe-bg-alt); color: var(--fe-indigo); }
.fe-social--light a:hover { color: #fff; }

/* Carrusel secundario de las paginas interiores (credito, ahorro, bienestar,
   afiliacion): actua como banda decorativa bajo el encabezado de pagina. */
.fe-pagehead ~ header.carousel {
    height: auto;
    min-height: 0;
    max-height: none;
}

.fe-pagehead ~ header.carousel .carousel-inner,
.fe-pagehead ~ header.carousel .item,
.fe-pagehead ~ header.carousel .item.active {
    height: 340px;
}

.fe-pagehead ~ header.carousel .item::after {
    background: linear-gradient(180deg, rgba(26, 21, 64, .58) 0%, rgba(36, 30, 86, .50) 50%, rgba(51, 85, 153, .62) 100%);
}

.fe-pagehead ~ header.carousel .carousel-caption {
    text-align: center;
    padding: 0 60px;
}

.fe-pagehead ~ header.carousel .carousel-caption h3 {
    max-width: 900px;
    margin: 0 auto;
    font-size: 32px;
}

.fe-pagehead ~ header.carousel .carousel-control { display: none; }

.fe-pagehead ~ header.carousel .carousel-indicators {
    bottom: 22px;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    transform: none;
    text-align: center;
}
.fe-pagehead ~ header.carousel .carousel-indicators li,
.fe-pagehead ~ header.carousel .carousel-indicators li.active { margin: 0 5px; }

@media (max-width: 767px) {
    .fe-pagehead ~ header.carousel .carousel-inner,
    .fe-pagehead ~ header.carousel .item,
    .fe-pagehead ~ header.carousel .item.active { height: 230px; min-height: 0; }
    .fe-pagehead ~ header.carousel .carousel-caption { padding: 0 24px; }
    .fe-pagehead ~ header.carousel .carousel-caption h3 { font-size: 21px; }
}

/* Botones sueltos dentro de un bloque destacado: sin doble tarjeta */
.well .service-box {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 12px 6px;
}
.well .service-box:hover { transform: none; box-shadow: none; }
.well .service-box::before { display: none; }

/* Iconos de la columna estrecha que acompana a cada bloque de contenido */
.fe-page .col-md-1 .fa-4x { color: var(--fe-teal); }

/* Los botones de descarga llevan etiquetas largas: deben poder partirse */
.btn { white-space: normal; }
.well .service-box .btn { display: block; width: 100%; padding: 14px 22px; font-size: 12.5px; }

/* Tarjetas de acceso rapido a la misma altura */
@media (min-width: 768px) {
    .fe-quick .row { display: flex; flex-wrap: wrap; }
    .fe-quick .row > [class*="col-"] { display: flex; }
    .fe-quick .service-box { width: 100%; display: flex; flex-direction: column; }
    .fe-quick .service-box > a { display: flex; flex-direction: column; flex: 1 0 auto; }
    .fe-quick .service-box p { flex: 1 0 auto; }
}

/* ==========================================================================
   13. Componentes de landing (bienestar.html)
   ========================================================================== */

/* Los enlaces internos no deben quedar bajo la barra fija */
[id] { scroll-margin-top: 130px; }
html { scroll-behavior: smooth; }

/* --- Pilares: tres accesos al inicio de la landing ----------------------- */
.fe-pillars { margin-top: -66px; position: relative; z-index: 20; }

.fe-pillar {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--fe-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
    color: inherit;
}
.fe-pillar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--fe-grad-logo);
    opacity: 0;
    transition: opacity .3s ease;
}
.fe-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--fe-shadow-lg);
    border-color: transparent;
    color: inherit;
}
.fe-pillar:hover::before { opacity: 1; }
.fe-pillar .fe-card-icon { margin-bottom: 18px; }
.fe-pillar:hover .fe-card-icon { transform: scale(1.08) rotate(-4deg); }
.fe-pillar h3 { font-size: 19px; margin: 0 0 10px; }
.fe-pillar p { font-size: 15px; color: var(--fe-muted); margin: 0; }
.fe-pillar .fe-card-link { margin-top: 16px; }
.fe-pillar:hover .fe-card-link .fa { transform: translateX(5px); }

@media (min-width: 768px) {
    .fe-pillars .row { display: flex; flex-wrap: wrap; }
    .fe-pillars .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
    .fe-pillar { width: 100%; display: flex; flex-direction: column; }
    .fe-pillar p { flex: 1 0 auto; }
}
@media (max-width: 767px) {
    .fe-pillars { margin-top: 40px; }
    .fe-pillars .row > [class*="col-"] { margin-bottom: 24px; }
}

/* --- Rejilla de convenios ----------------------------------------------- */
.fe-benefit {
    height: 100%;
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius);
    padding: 28px 26px;
    box-shadow: var(--fe-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
    margin-bottom: 30px;
}
.fe-benefit:hover { transform: translateY(-5px); box-shadow: var(--fe-shadow); }

.fe-benefit-icon {
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 15px;
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
    display: block;
}

.fe-benefit h3 { font-size: 17px; margin: 0 0 8px; }
.fe-benefit p { font-size: 15px; color: var(--fe-body); margin: 0; }
.fe-benefit ul:not(.fe-spec) {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.fe-benefit ul:not(.fe-spec) li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--fe-muted);
    margin-bottom: 5px;
}
.fe-benefit ul:not(.fe-spec) li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fe-teal);
}

@media (min-width: 768px) {
    .fe-benefit-grid { display: flex; flex-wrap: wrap; }
    .fe-benefit-grid > [class*="col-"] { display: flex; }
    .fe-benefit-grid .fe-benefit { width: 100%; }
}

/* --- Tarjetas de descarga ----------------------------------------------- */
.fe-download {
    display: block;
    background: #fff;
    border: 1px solid var(--fe-line);
    border-left: 5px solid var(--fe-coral);
    border-radius: var(--fe-radius);
    padding: 24px 26px;
    margin-bottom: 18px;
    box-shadow: var(--fe-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
    color: inherit;
    overflow: hidden;
}
.fe-download:hover { transform: translateY(-3px); box-shadow: var(--fe-shadow); color: inherit; }

.fe-download-icon {
    float: left;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    border-radius: 13px;
    background: var(--fe-orange-soft);
    color: var(--fe-coral);
    font-size: 19px;
    margin-right: 18px;
}
.fe-download-body { overflow: hidden; }
.fe-download h3 { font-size: 16.5px; margin: 0 0 4px; }
.fe-download p { font-size: 14.5px; color: var(--fe-muted); margin: 0; }
.fe-download .fe-card-link { margin-top: 10px; display: inline-block; }
.fe-download:hover .fe-card-link .fa { transform: translateX(5px); }

/* --- Etiquetas de capacitaciones ---------------------------------------- */
.fe-chips { list-style: none; padding: 0; margin: 0; }
.fe-chips li {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: 100px;
    padding: 10px 20px 10px 16px;
    margin: 0 10px 12px 0;
    font-size: 14.5px;
    color: var(--fe-ink);
    box-shadow: var(--fe-shadow-sm);
}
.fe-chips li .fa { color: var(--fe-teal); margin-right: 9px; }

/* --- Galeria de recreacion ---------------------------------------------- */
/* Pie debajo de la imagen: algunas piezas son afiches con texto propio y una
   sobreimpresion los volveria ilegibles. */
.fe-gallery-item {
    display: block;
    background: #fff;
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--fe-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.fe-gallery-item:hover { transform: translateY(-5px); box-shadow: var(--fe-shadow); }

.fe-gallery-media {
    background: var(--fe-bg-alt);
    overflow: hidden;
}
.fe-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.fe-gallery-item:hover img { transform: scale(1.05); }

/* Afiches: se muestran completos, sin recortar */
.fe-gallery-item--flyer img { object-fit: contain; background: #fff; }
.fe-gallery-item--flyer:hover img { transform: none; }

.fe-gallery-caption { padding: 18px 20px 20px; }
.fe-gallery-caption strong {
    display: block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--fe-indigo);
    margin-bottom: 3px;
}
.fe-gallery-caption span { font-size: 13.5px; color: var(--fe-muted); }

@media (min-width: 768px) {
    .fe-gallery-grid { display: flex; flex-wrap: wrap; }
    .fe-gallery-grid > [class*="col-"] { display: flex; }
    .fe-gallery-grid .fe-gallery-item { width: 100%; display: flex; flex-direction: column; }
    .fe-gallery-grid .fe-gallery-caption { flex: 1 0 auto; }
}

/* --- Bloque de texto a dos columnas ------------------------------------- */
.fe-split-media {
    border-radius: var(--fe-radius-lg);
    overflow: hidden;
    box-shadow: var(--fe-shadow-lg);
}
.fe-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 767px) {
    .fe-gallery-item img { height: 190px; }
    .fe-download-icon { float: none; margin-bottom: 14px; }
}

/* Encabezado de seccion sin contenido debajo */
.fe-section--tight { padding-top: 64px; padding-bottom: 56px; }
.fe-section-head--solo { margin-bottom: 0; }

/* La banda con tarjetas superpuestas no muestra indicadores: quedan tapados */
header.fe-banner-overlap .carousel-indicators { display: none; }

.fe-card-link { white-space: nowrap; }

/* --- Ficha tecnica dentro de una tarjeta (lineas de credito / ahorro) ---- */
.fe-spec {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    border-top: 1px solid var(--fe-line);
}
.fe-spec li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--fe-line);
    font-size: 14px;
}
.fe-spec li:last-child { border-bottom: 0; padding-bottom: 0; }
.fe-spec li span { color: var(--fe-muted); flex: 0 0 auto; }
.fe-spec li strong {
    color: var(--fe-ink);
    font-weight: 600;
    text-align: right;
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

/* --- Etiqueta pequena de categoria --------------------------------------- */
.fe-tag {
    display: inline-block;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fe-teal-dark);
    background: var(--fe-teal-soft);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

/* --- Nota informativa ---------------------------------------------------- */
.fe-note {
    background: var(--fe-teal-soft);
    border-radius: var(--fe-radius);
    padding: 22px 26px;
    overflow: hidden;
}
.fe-note .fa {
    float: left;
    color: var(--fe-teal-dark);
    font-size: 20px;
    margin: 3px 16px 0 0;
}
.fe-note p {
    margin: 0;
    overflow: hidden;
    color: var(--fe-ink);
    font-size: 15px;
}
