/* ===== INICIO ===== */
.latest-products {
    margin: 30px 20px 0 20px;
    padding: 20px 10px 0 10px;
}

.color_back_fondo {
    background-color: #F7F9FD;
}

.latest-products .container .row .col-md-3 {
    margin-bottom: 30px;
}

.contaner_edit > .content_cursos_row {
    justify-content: space-between !important;
}

.container_product {
    width: 25%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 20px;
}

.container_product > a:hover {
    box-shadow: -2px 2px 11px 6px rgba(155.99999999999997, 154.30434782608694, 154.30434782608694, 0.5);
}

.h1_antes_curso {
    padding: 35px 0 10px 0;
    font-size: 42px;
    font-weight: 900;
    text-align: center;
}

.borer_antes_cursos {
    border: 1px solid #222;
    width: 100px;
    margin: auto;
}

.title_antes_cursos {
    font-size: 32px;
    background-color: #0a51f9;
    width: 200px;
    font-weight: 600;
    padding: 2px 30px 10px 30px;
    color: white;
    box-shadow: 8px 8px 0 0 rgba(177, 177, 177, 0.5);
}

.elementor-shape.elementor-shape-top.element_nubes {
    background-color: #00366d;
}

.elementor-shape.elementor-shape-top.element_nubes .elementor-shape-fill {
    fill: #F7F9FD;
}

.antes_footer {
    background-color: #00366d;
}

.antes_footer * {
    color: white;
}

.antes_footer .why_fnperu {
    width: 40%;
}

.antes_footer .why_cualidades {
    width: 60%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 0 0 28px;
}

.antes_footer .why_cualidades .cualidad {
    width: 33.33%;
    padding: 10px;
    margin-bottom: 20px;
}

.antes_footer .why_cualidades .elemt_icon {
    background-color: #F96E00;
    width: 80px;
    padding: 20px;
    border-radius: 50%;
}

.antes_footer .why_cualidades .elemt_icon path,
.antes_footer .why_cualidades .elemt_icon polygon,
.antes_footer .why_cualidades .elemt_icon rect {
    fill: white;
}

.antes_footer .why_fnperu .title {
    font-size: 32px;
    font-weight: 700;
}

.antes_footer .why_fnperu .text {
    line-height: 2;
    text-align: justify;
}

.antes_footer .why_fnperu .border_line {
    border: 1px solid red;
    width: 80px;
    margin: 18px 0;
}

.antes_footer .why_fnperu > div {
    margin: 35px 0;
}

.header_fn_peru img {
    width: 50px;
    height: 50px;
    margin-bottom: 13px;
    margin-right: 10px;
}

@media (max-width: 1500px) {
    .latest-products {
        margin: 20px 10px 0 10px;
        padding: 20px 10px 0 10px;
    }
}

@media (max-width: 1350px) {
    .latest-products {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 1300px) {
    .product-item .down-content {
        padding: 16px;
    }

    .latest-products {
        margin: 15px 0 0 0;
        padding: 10px 0 0 0;
    }
}

@media (max-width: 1250px) {
    .container_product {
        width: 33.3%;
    }

    .latest-products {
        padding: 10px 30px 0 30px;
    }
}

@media (max-width: 950px) {
    .container_product {
        width: 50%;
        display: flex;
        justify-content: center;
    }

    .container_product > a {
        width: 320px;
    }
}

@media (max-width: 640px) {
    .contaner_edit > .content_cursos_row {
        justify-content: center !important;
    }

    .container_product {
        width: 320px;
    }

    .h1_antes_curso {
        padding: 35px 0 0 0;
    }

    .borer_antes_cursos {
        margin-bottom: 15px;
    }
}

@media (max-width: 430px) {
    .container_product {
        width: 95%;
    }
}

@media (max-width: 380px) {
    .why_fnperu > div.text-center {
        margin: 20px 0;
    }

    .why_fnperu > div.text-center > a {
        display: block;
    }

    .antes_footer .why_fnperu div .btn_cursos {
        padding: 7px;
        margin-right: 0;
    }

    .antes_footer .why_fnperu div .btn_talleres {
        padding: 7px;
        margin-top: 10px;
        margin-left: 0;
    }

    .antes_footer .why_cualidades {
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 370px) {
    .container_product {
        width: 98%;
    }
}

@media (max-width: 1100px) {
    .h1_antes_curso {
        font-size: 35px;
    }

    .header_fn_peru img {
        width: 45px;
        height: 45px;
    }

    .title_antes_cursos {
        font-size: 27px;
    }

    .content_cursos_row > div.fs-18.py-3 {
        font-size: 16px;
    }

    .antes_footer .why_fnperu .title {
        font-size: 28px;
    }

    .antes_footer > div {
        display: block !important;
    }

    .antes_footer .why_fnperu {
        width: 100%;
    }

    .antes_footer .why_cualidades {
        width: 800px;
        margin: 50px auto 0 auto;
        padding: 0;
    }
}

@media (max-width: 900px) {
    .antes_footer .why_cualidades {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .antes_footer .why_cualidades .cualidad {
        width: 50%;
    }
}

@media (max-width: 450px) {
    .antes_footer .why_cualidades .cualidad {
        width: 100%;
    }
}
/* ===== SECCIÓN SOBRE NOSOTROS ===== */
.about-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f5c518, #e0b010, #f5c518);
}

/* Label */
.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f5c518;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.12), rgba(245, 197, 24, 0.05));
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(245, 197, 24, 0.25);
    margin-bottom: 20px;
}

.about-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #f5c518;
    border-radius: 50%;
}

/* Title */
.about-title {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about-title .text-accent {
    color: #f5c518;
    position: relative;
}

.about-title .text-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f5c518;
    border-radius: 2px;
    opacity: 0.4;
}

/* Lead Text */
.about-text-lead {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Stat Cards */
.about-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f5c518, #e0b010);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(245, 197, 24, 0.15);
}

.about-stat-card:hover::before {
    transform: scaleX(1);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.15), rgba(245, 197, 24, 0.05));
    color: #f5c518;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
    transition: all 0.3s;
}

.about-stat-card:hover .about-stat-icon {
    background: linear-gradient(135deg, #f5c518, #e0b010);
    color: #1a1a1a;
    transform: scale(1.1) rotate(5deg);
}

.about-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Cards */
.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f5c518, #e0b010);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(245, 197, 24, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.15), rgba(245, 197, 24, 0.05));
    color: #f5c518;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    transition: all 0.4s;
}

.about-card:hover .about-card-icon {
    background: linear-gradient(135deg, #f5c518, #e0b010);
    color: #1a1a1a;
    transform: scale(1.15) rotate(-5deg);
}

.about-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.about-card-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Button */
.btn-about-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #f5c518, #e0b010);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}

.btn-about-primary:hover {
    background: linear-gradient(135deg, #e0b010, #c99a00);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

.btn-about-primary i {
    transition: transform 0.3s;
}

.btn-about-primary:hover i {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .about-section {
        padding: 60px 0;
    }
    .about-title {
        font-size: 28px;
    }
    .about-stat-card {
        padding: 20px 12px;
    }
    .about-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .about-stat-number {
        font-size: 24px;
    }
    .about-card {
        padding: 24px 20px;
    }
    .about-card-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 48px 0;
    }
    .about-title {
        font-size: 24px;
    }
    .about-text-lead {
        font-size: 15px;
    }
    .about-stat-card {
        padding: 16px 12px;
    }
    .about-stat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .about-stat-number {
        font-size: 22px;
    }
    .about-stat-label {
        font-size: 10px;
    }
    .about-card {
        padding: 20px 16px;
    }
    .about-card-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .about-card-title {
        font-size: 15px;
    }
    .about-card-text {
        font-size: 13px;
    }
    .btn-about-primary {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .about-section {
        padding: 40px 0;
    }
    .about-title {
        font-size: 22px;
    }
    .about-stat-card {
        padding: 14px 10px;
    }
    .about-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .about-stat-number {
        font-size: 20px;
    }
    .about-card {
        padding: 18px 14px;
    }
    .about-card-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

/* Animation Delays */
.animate__delay-0-1s { animation-delay: 0.1s; }
.animate__delay-0-2s { animation-delay: 0.2s; }
.animate__delay-0-3s { animation-delay: 0.3s; }
.animate__delay-0-4s { animation-delay: 0.4s; }
.animate__delay-0-5s { animation-delay: 0.5s; }
.animate__delay-0-6s { animation-delay: 0.6s; }
.animate__delay-0-7s { animation-delay: 0.7s; }
.animate__delay-0-8s { animation-delay: 0.8s; }
.animate__delay-0-9s { animation-delay: 0.9s; }
.animate__delay-1s { animation-delay: 1s; }

/* ===== ¿POR QUÉ FN PERÚ? — REDESIGN ===== */

/* Dot pattern + orange glow as overlay */
.antes_footer {
    position: relative;
    overflow: hidden;
}

.antes_footer .why_fnperu,
.antes_footer .why_cualidades {
    position: relative;
    z-index: 1;
}

/* Orange radial glow top-right */
.antes_footer .contaner_general.d-flex::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(249,110,0,0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Dot grid overlay */
.antes_footer .contaner_general.d-flex::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Inner container */
.antes_footer .contaner_general.d-flex {
    position: relative;
    padding: 72px 0;
    gap: 56px;
    align-items: flex-start;
}

/* ── Left column ── */
.antes_footer .why_fnperu {
    width: 38%;
    flex-shrink: 0;
}

/* Title */
.antes_footer .why_fnperu .title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

/* Accent line replacing the solid red border */
.antes_footer .why_fnperu .border_line {
    border: none;
    height: 3px;
    width: 72px;
    background: linear-gradient(90deg, #F96E00, rgba(249,110,0,0.15));
    margin: 22px 0 24px 0;
    border-radius: 3px;
}

/* Description text */
.antes_footer .why_fnperu .text {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.72) !important;
    text-align: left;
}

/* Button row */
.antes_footer .why_fnperu > div.text-center {
    text-align: left !important;
    margin: 36px 0 0 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* CURSOS button — orange filled */
.antes_footer .btn_cursos {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 13px 28px;
    background: linear-gradient(135deg, #F96E00 0%, #e05800 100%);
    border-radius: 8px;
    margin: 0;
    color: #fff !important;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(249,110,0,0.45);
}

.antes_footer .btn_cursos:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(249,110,0,0.6);
    color: #fff !important;
}

/* TALLERES button — ghost/outline */
.antes_footer .btn_talleres {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 13px 28px;
    background: transparent;
    border-radius: 8px;
    margin: 0;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.28);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.antes_footer .btn_talleres:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
    color: #fff !important;
}

/* ── Right column — quality grid ── */
.antes_footer .why_cualidades {
    flex: 1;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Each quality card */
.antes_footer .why_cualidades .cualidad {
    width: 100% !important;
    padding: 26px 18px 22px;
    margin-bottom: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Top accent bar on hover */
.antes_footer .why_cualidades .cualidad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F96E00, transparent);
    border-radius: 0 0 4px 4px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.antes_footer .why_cualidades .cualidad:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(249,110,0,0.35);
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.antes_footer .why_cualidades .cualidad:hover::before {
    transform: scaleX(1);
}

/* Icon container */
.antes_footer .why_cualidades .elemt_icon {
    background: linear-gradient(135deg, #F96E00 0%, #c94f00 100%) !important;
    width: 58px;
    height: 58px;
    padding: 13px;
    border-radius: 14px !important;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(249,110,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.antes_footer .why_cualidades .cualidad:hover .elemt_icon {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 10px 28px rgba(249,110,0,0.6);
}

/* SVG size */
.antes_footer .why_cualidades .elemt_icon .uael-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.antes_footer .why_cualidades .elemt_icon .uael-icon svg {
    width: 30px;
    height: 30px;
}

/* Card text */
.antes_footer .why_cualidades .cualidad p.fw-700 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 7px;
}

.antes_footer .why_cualidades .cualidad p:not(.fw-700) {
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.62) !important;
    margin-bottom: 0;
}

/* ── Responsive overrides ── */
@media (max-width: 1100px) {
    .antes_footer > div.contaner_general {
        display: flex !important;
        flex-direction: column;
        padding-top: 56px;
        padding-bottom: 56px;
        gap: 44px;
    }
    .antes_footer .why_fnperu {
        width: 100% !important;
    }
    .antes_footer .why_cualidades {
        width: 100% !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .antes_footer .why_fnperu .title {
        font-size: 28px;
    }
    .antes_footer .why_fnperu > div.text-center {
        text-align: center !important;
    }
}

@media (max-width: 700px) {
    .antes_footer .why_cualidades {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .antes_footer .why_fnperu .title {
        font-size: 24px;
    }
    .antes_footer > div.contaner_general {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

@media (max-width: 450px) {
    .antes_footer .why_cualidades {
        grid-template-columns: 1fr !important;
    }
    .antes_footer .why_fnperu > div.text-center {
        justify-content: center;
    }
}
