/* ================================================ */
/* ============= FUENTES Y VARIABLES ============= */
/* ================================================ */

/* Fuentes Gotham */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham-book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variables CSS - Paleta IBM FINTECH */
:root {
    --primary-blue: #22499a;
    --primary-blue-dark: #21396c;
    --primary-blue-medium: #165ea9;
    --primary-blue-light: #0e6bab;
    --accent-gray: #b3b3b2;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #22499a 0%, #165ea9 100%);
    --shadow-soft: 0 4px 20px rgba(34, 73, 154, 0.1);
    --shadow-medium: 0 8px 30px rgba(34, 73, 154, 0.15);
    --shadow-strong: 0 12px 40px rgba(34, 73, 154, 0.2);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s ease;
    --font-primary: 'Gotham', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1400px;
    --section-padding: 6rem;
    --whatsapp-green: #25d366;
    --success-green: #22c55e;
    --warning-orange: #f59e0b;
    --premium-gold: #fbbf24;
}

/* ================================================ */
/* ================ RESET Y BASE ================= */
/* ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: rgb(245, 250, 250);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

/* ================================================ */
/* ========== NAVBAR COMPARTIDO (GLOBAL) ======== */
/* ================================================ */

.navbar-blue {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container-blue {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu-blue {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

.nav-link-blue {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-blue:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link-blue::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-link-blue:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    background: rgba(34, 73, 154, 0.05);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-cta-blue {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    margin-left: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    font-size: 1rem !important;
}

.nav-cta-blue:hover {
    background: white !important;
    color: var(--primary-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
}

.nav-cta-blue:focus {
    outline: none !important;
    text-decoration: none !important;
}

.nav-cta-blue::after {
    display: none !important;
}

.hamburger-blue {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar-blue {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger-blue.active .bar-blue:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-blue.active .bar-blue:nth-child(2) {
    opacity: 0;
}

.hamburger-blue.active .bar-blue:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ================================================ */
/* ============= HERO INDEX (SLIDER) ============= */
/* ================================================ */

.hero-final {
    width: 100%;
    position: relative;
}

.final-slider-container {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slider-wrapper-final {
    width: 100%;
    height: 100%;
    position: relative;
}

.final-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    z-index: 1;
}

.final-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide-image-final {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    opacity: 1;
}

.slide-shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 3;
    pointer-events: none;
}

.slider-arrow-final {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    padding: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    user-select: none;
    outline: none;
}

.slider-arrow-final:focus {
    outline: none;
    box-shadow: none;
}

.slider-left-final {
    left: 1rem;
}

.slider-right-final {
    right: 1rem;
}

.slider-arrow-final:hover {
    transform: translateY(-50%) scale(1.2);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.slider-arrow-final:active {
    transform: translateY(-50%) scale(1.1);
}

.slide-message-bottom {
    position: absolute;
    bottom: 4rem;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 2rem 0 1rem;
}

.message-content-bottom {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 3rem;
    color: white;
    text-align: right;
    margin-left: auto;
    margin-right: 1.5rem;
    /* REDUCIDO DE 3REM A 1.5REM */
}

.message-title-bottom {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-align: right;
}

.message-description-bottom {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-align: right;
}

.message-button-center {
    display: flex;
    justify-content: flex-end;
    /* CAMBIADO DE CENTER A FLEX-END */
    margin-bottom: 1rem;
}

.message-btn-simple {
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}


.message-btn-simple:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 73, 154, 0.4);
}

/* ================================================ */
/* ========= RESPONSIVE MENSAJE SLIDER =========== */
/* ================================================ */

@media (max-width: 1024px) {
    .message-content-bottom {
        max-width: 600px;
        margin-right: 1.5rem;
    }

    .message-title-bottom {
        font-size: 2rem;
    }

    .message-description-bottom {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .message-content-bottom {
        max-width: 90%;
        /* Aumentado para dar más espacio */
        margin: 0 auto;
        padding: 0 1rem;
        /* Reducido padding lateral */
        text-align: center;
    }

    .message-title-bottom {
        font-size: 1.5rem;
        /* Ajustado tamaño */
        text-align: center;
        margin-bottom: 1.5rem;
        /* Más espacio entre título y botón */
        line-height: 1.3;
    }

    .message-description-bottom {
        display: none;
    }

    .message-button-center {
        justify-content: center;
        margin-bottom: 0;
    }

    .slide-message-bottom {
        bottom: 15%;
        /* Posicionamiento relativo */
        padding: 0;
    }
}

@media (max-width: 480px) {
    .message-content-bottom {
        padding: 0 1.5rem;
    }

    .message-title-bottom {
        font-size: 1.3rem;
    }

    .message-description-bottom {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .message-btn-simple {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

.final-dots-container {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.final-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.final-dot:focus {
    outline: none;
    box-shadow: none;
}

.final-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.slide-message-right {
    right: 10%;
    left: auto;
    text-align: right;
}

/*.slide-message-right .message-content-bottom {
    align-items: flex-end;
}

.slide-message-right .message-button-center {
    justify-content: flex-end;
}*/

/* ================================================ */
/* ======== HERO CONSULTORÍA (IMAGEN FIJA) ====== */
/* ================================================ */

.hero-consultoria {
    width: 100%;
    position: relative;
}

.consultoria-hero-container {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.consultoria-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.consultoria-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.consultoria-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
}

.consultoria-hero-text h1 {
    font-size: 2.5rem;
    /* Aumentado de 1.8rem a 2.5rem */
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* ================================================ */
/* ======== SECCIONES PRINCIPALES INDEX ========== */
/* ================================================ */

.main-intro-section {
    padding: 80px 0;
    background-color: rgb(245, 250, 250);
}

.intro-content {
    text-align: center;
}

.intro-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

.services-overview {
    padding: 0px 0;
    background-color: rgb(245, 250, 250);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-overview-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.service-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue-light);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.service-icon-svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: var(--transition);
}

.service-overview-card:hover .service-icon-svg {
    transform: scale(1.1);
}

.service-card-icon svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.service-overview-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.3;
}

/* ================================================ */
/* ======= SECCIONES PRINCIPALES CONSULTORÍA ===== */
/* ================================================ */

.consultoria-intro-section {
    padding: 80px 0;
    background-color: rgb(245, 250, 250);
}

.consultoria-intro-content {
    text-align: center;
}

.consultoria-intro-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

.consultoria-content {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.consultoria-details {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.consultoria-details h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.consultoria-details p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* ================================================ */
/* ===== BLOQUES DE CONTENIDO CONSULTORÍA ======= */
/* ================================================ */

.consultoria-content-blocks {
    padding: 0px 0;
    background-color: rgb(245, 250, 250);
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    margin-top: 40px;
}

.content-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-block.reverse .block-image {
    order: 2;
}

.content-block.reverse .block-content {
    order: 1;
}

.block-image {
    position: relative;
}

.block-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.block-image:hover .block-img {
    transform: scale(1.02);
    box-shadow: var(--shadow-strong);
}

.block-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.block-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.block-content p:last-child {
    margin-bottom: 0;
}

.block-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ================================================ */
/* ============ BANNER AZUL CTA INDEX ============ */
/* ================================================ */

.blue-banner-cta {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.banner-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    padding: 50px 60px;
    box-shadow: var(--shadow-strong);
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: rgba(255, 255, 255, 0.15);*/
    background: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.banner-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-style: italic;
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

.banner-cta {
    flex-shrink: 0;
}

.banner-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.banner-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.situations-section {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.situations-content {
    text-align: center;
}

.situations-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

/* ================================================ */
/* ====== BANNER CTA CONSULTORÍA ESPECÍFICO ===== */
/* ================================================ */

.consultoria-banner-cta {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.consultoria-banner-cta .banner-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    padding: 50px 60px;
    box-shadow: var(--shadow-strong);
    max-width: 1200px;
    margin: 0 auto;
}

.consultoria-banner-cta .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.consultoria-banner-cta .banner-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: rgba(255, 255, 255, 0.15);*/
    background: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    color: var(--white);
}

.consultoria-banner-cta .banner-icon svg {
    width: 70px;
    height: 70px;
}

.consultoria-banner-cta .banner-text {
    flex: 1;
}

.consultoria-banner-cta .banner-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-style: italic;
}

.consultoria-banner-cta .banner-text p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

.consultoria-banner-cta .banner-cta {
    flex-shrink: 0;
}

.consultoria-banner-cta .banner-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.consultoria-banner-cta .banner-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ================================================ */
/* ====== SEGUNDO TÍTULO DE SECCIÓN ============= */
/* ================================================ */

.consultoria-second-title {
    padding: 80px 0;
    background-color: rgb(245, 250, 250);
}

.second-title-content {
    text-align: center;
}

.second-title-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

/* ================================================ */
/* ====== SEGUNDO BANNER CTA CONSULTORÍA ======== */
/* ================================================ */

.consultoria-second-banner-cta {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.consultoria-second-banner-cta .banner-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    padding: 50px 60px;
    box-shadow: var(--shadow-strong);
    max-width: 1200px;
    margin: 0 auto;
}

.consultoria-second-banner-cta .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.consultoria-second-banner-cta .banner-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    color: var(--white);
}

.consultoria-second-banner-cta .banner-icon svg {
    width: 70px;
    height: 70px;
}

.consultoria-second-banner-cta .banner-text {
    flex: 1;
}

.consultoria-second-banner-cta .banner-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-style: italic;
}

.consultoria-second-banner-cta .banner-text p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

.consultoria-second-banner-cta .banner-cta {
    flex-shrink: 0;
}

.consultoria-second-banner-cta .banner-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.consultoria-second-banner-cta .banner-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ================================================ */
/* ====== SECCIÓN 3 CARDS GESTIÓN PATRIMONIAL === */
/* ================================================ */

.gestion-cards-section {
    padding: 0px 0;
    background-color: rgb(245, 250, 250);
}

.gestion-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gestion-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    transition: var(--transition);
}

.gestion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gestion-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ================================================ */
/* ========= SECCIÓN CARDS ACADEMY =============== */
/* ================================================ */

.academy-cards-section {
    padding: 0px 0;
    background-color: rgb(245, 250, 250);
}

.academy-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.academy-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.academy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.2);
    z-index: 100;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 73, 154, 0.1);
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.academy-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-description {
    margin-bottom: 20px;
}

.card-description p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

.card-features {
    margin-bottom: 30px;
}

.feature {
    padding: 8px 15px;
    margin-bottom: 8px;
    background: rgba(34, 73, 154, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.card-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-decoration: none;
    display: inline-block;
}

.card-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ================================================ */
/* ========= TOOLTIPS MEJORADOS ================== */
/* ================================================ */

.tooltip {
    position: absolute;
    top: -20px;
    background: white;
    border-radius: var(--border-radius-large);
    padding: 25px;
    box-shadow: var(--shadow-strong);
    border: 2px solid var(--primary-blue);
    width: 380px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    transform: translateY(-10px);
}

/* Tooltip Posiciones Mejoradas */
.tooltip-left {
    left: 0;
}

.tooltip-center {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip-right {
    right: 0;
}

/* Mostrar tooltip activo */
.academy-card:hover .tooltip-left {
    transform: translateX(0) translateY(0);
}

.academy-card:hover .tooltip-center {
    transform: translateX(-50%) translateY(0);
}

.academy-card:hover .tooltip-right {
    transform: translateX(0) translateY(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary-blue);
}

.tooltip-left::before {
    left: 80px;
}

.tooltip-center::before {
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-right::before {
    right: 80px;
}

.tooltip-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    text-align: left;
}

.tooltip-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: left;
}

.tooltip-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tooltip-content li {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* ================================================ */
/* ======= BLOQUE ACADEMY FEATURES =============== */
/* ================================================ */

.academy-features {
    margin-top: 20px;
}

.academy-features h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.academy-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.academy-features li {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 0;
}

.academy-features strong {
    color: var(--primary-blue);
}

/* ================================================ */
/* ========== TÍTULO FAQ CONSULTORÍA ============= */
/* ================================================ */

.consultoria-faq-title {
    padding: 80px 0 20px 0;
    background-color: rgb(245, 250, 250);
}

.faq-title-content {
    text-align: center;
}

.faq-title-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

/* ================================================ */
/* ============== FAQ SECTION ==================== */
/* ================================================ */

.faq-section {
    padding: 40px 0 80px 0;
    background: rgb(245, 250, 250);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.1);
}

.faq-question {
    padding: 2rem 3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: white;
}

.faq-question:hover {
    background: rgba(34, 73, 154, 0.02);
}

.faq-item.active .faq-question {
    background: rgba(34, 73, 154, 0.05);
    border-bottom: 1px solid rgba(34, 73, 154, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-blue);
    transition: var(--transition);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 73, 154, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    background: var(--primary-blue);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(34, 73, 154, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 2rem 3rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ================================================ */
/* ============== BLOG SLIDER (SOLO INDEX) ======= */
/* ================================================ */

.blog-preview-section {
    padding: 80px 0;
    background-color: rgb(245, 250, 250);
}

.blog-header-section {
    display: none;
}

.blog-slider-container {
    overflow: hidden;
}

.blog-slider-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

.blog-posts-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.blog-preview-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #ffffff;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: var(--transition);
}

.blog-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue-light);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-preview-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px 20px;
}

.blog-card-content h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.blog-slider-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.blog-slider-controls {
    display: flex;
    gap: 1rem;
}

.blog-slider-btn {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
}

.blog-slider-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 73, 154, 0.3);
}

.blog-slider-btn svg {
    width: 24px;
    height: 24px;
}

.blog-slider-dots {
    display: flex;
    gap: 1rem;
}

.blog-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(34, 73, 154, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.blog-dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.blog-dot:hover {
    background: var(--primary-blue);
}

/* ================================================ */
/* ===== SEGUNDO BANNER AZUL CTA (SOLO INDEX) === */
/* ================================================ */

.blog-banner-cta {
    padding: 60px 0;
    background-color: rgb(245, 250, 250);
}

.blog-banner-cta .banner-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large);
    padding: 50px 60px;
    box-shadow: var(--shadow-strong);
}

.blog-banner-cta .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.blog-banner-cta .banner-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    color: var(--white);
}

.blog-banner-cta .banner-icon svg {
    width: 70px;
    height: 70px;
}

.blog-banner-cta .banner-text {
    flex: 1;
}

.blog-banner-cta .banner-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-style: italic;
}

.blog-banner-cta .banner-text p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

.blog-banner-cta .banner-cta {
    flex-shrink: 0;
}

.blog-banner-cta .banner-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.blog-banner-cta .banner-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ================================================ */
/* ======== TESTIMONIALS SECTION (INDEX) ======== */
/* ================================================ */

.testimonials {
    padding: var(--section-padding) 0;
    background: rgb(245, 250, 250);
}

.testimonials::before {
    display: none;
}

.testimonials-content {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.1);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-quote {
    margin-bottom: 2.5rem;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: Georgia, serif;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    position: relative;
    z-index: 1;
    padding-left: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-bg);
}

.author-info h4 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.95rem;
}

/* ================================================ */
/* ========= CTA CON FORMULARIO (INDEX) ========== */
/* ================================================ */

.cta-modern-with-form {
    padding: var(--section-padding) 0 80px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-modern-with-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.cta-content-with-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.cta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.feature-check {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-form-container {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-form-container .form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.cta-form-container .form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.cta-form-container .form-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.cta-form-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-form-container .form-group-modern {
    margin-bottom: 1.5rem;
}

.cta-form-container .form-group-modern label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cta-form-container .form-group-modern input,
.cta-form-container .form-group-modern select,
.cta-form-container .form-group-modern textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: #333;
}

.cta-form-container .form-group-modern input::placeholder,
.cta-form-container .form-group-modern textarea::placeholder {
    color: #999;
}

.cta-form-container .form-group-modern input:focus,
.cta-form-container .form-group-modern select:focus,
.cta-form-container .form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(34, 73, 154, 0.1);
}

.cta-form-container .form-group-modern textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form-container .form-privacy {
    margin: 2rem 0;
}

.cta-form-container .checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.cta-form-container .checkbox-container input[type="checkbox"] {
    display: none;
}

.cta-form-container .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
}

.cta-form-container .checkbox-container input:checked+.checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.cta-form-container .checkbox-container input:checked+.checkmark::after {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.cta-form-container .checkbox-container a {
    color: var(--primary-blue);
    text-decoration: none;
}

.cta-form-container .checkbox-container a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.cta-form-container .btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-form-container .btn-full:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 73, 154, 0.4);
}

.cta-form-container .btn-arrow {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.cta-form-container .btn-full:hover .btn-arrow {
    transform: translateX(3px);
}

/* ================================================ */
/* ======== SECCIÓN DE CIERRE (INDEX) =========== */
/* ================================================ */

.closing-section {
    padding: var(--section-padding) 0;
    background: rgb(245, 250, 250);
}

.closing-content {
    text-align: center;
    margin-bottom: 4rem;
}

.closing-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

.closing-info-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.closing-image {
    position: relative;
}

.closing-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.closing-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-strong);
}

.closing-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.closing-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.closing-cta {
    margin-top: 2.5rem;
}

.closing-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.closing-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 73, 154, 0.4);
}

/* ================================================ */
/* ========== FOOTER COMPARTIDO (GLOBAL) ========= */
/* ================================================ */
.footer {
    background: var(--primary-blue-dark);
    color: white;
    padding: 4rem 0 2rem 0;
    margin-top: 0;
}

.footer-content-three {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    margin-bottom: 3rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    /*height: 60px;*/
    margin-bottom: 1.5rem;
    /*border-radius: 10px;*/
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: white;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue-light);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* ================================================ */
/* ======= WHATSAPP FLOTANTE (GLOBAL) ============ */
/* ================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ================================================ */
/* ================= RESPONSIVE ================== */
/* ================================================ */

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container-blue {
        padding: 1.5rem 2rem;
    }

    .blog-posts-slider {
        gap: 20px;
    }

    .blog-preview-card {
        flex: 0 0 calc(50% - 10px);
    }

    .blog-slider-btn {
        width: 45px;
        height: 45px;
    }

    .blog-slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .blog-banner-cta .banner-wrapper {
        padding: 40px 50px;
    }

    .cta-content-with-form {
        gap: 3rem;
    }

    .cta-form-container .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .closing-info-container {
        gap: 4rem;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .content-block.reverse .block-image,
    .content-block.reverse .block-content {
        order: unset;
    }

    .consultoria-banner-cta .banner-content,
    .consultoria-second-banner-cta .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .consultoria-banner-cta .banner-icon,
    .consultoria-second-banner-cta .banner-icon {
        width: 100px;
        height: 100px;
    }

    .consultoria-banner-cta .banner-icon svg,
    .consultoria-second-banner-cta .banner-icon svg {
        width: 60px;
        height: 60px;
    }

    .gestion-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .academy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .tooltip {
        width: 320px;
        padding: 20px;
    }
}

@media (max-width: 1024px) {

    .final-slider-container,
    .consultoria-hero-container {
        height: 60vh;
    }

    .message-title-bottom {
        font-size: 1.5rem;
    }

    .message-description-bottom {
        font-size: 1rem;
    }

    .slider-arrow-final {
        font-size: 2.5rem;
        padding: 0.8rem;
    }

    .slider-left-final {
        left: 0.5rem;
    }

    .slider-right-final {
        right: 0.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content-three {
        gap: 4rem;
    }

    .footer-links-grid {
        gap: 2.5rem;
    }

    .blog-posts-slider {
        gap: 20px;
    }

    .blog-preview-card {
        flex: 0 0 calc(50% - 10px);
    }

    .cta-content-with-form {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .cta-text {
        text-align: center;
    }

    .closing-info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .consultoria-hero-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* ===== CONTENEDOR ===== */
    .nav-container-blue {
        padding: 1rem 1.5rem;
    }

    /* ===== HAMBURGER ===== */
    .hamburger-blue {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
    }

    .bar-blue {
        width: 25px;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .hamburger-blue.active .bar-blue:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-blue.active .bar-blue:nth-child(2) {
        opacity: 0;
    }

    .hamburger-blue.active .bar-blue:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* ===== MENÚ PRINCIPAL ===== */
    .nav-menu-blue {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-blue);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
    }

    .nav-menu-blue.active {
        left: 0;
    }

    /* ===== TODOS LOS ITEMS VISIBLES ===== */
    .nav-menu-blue>li {
        width: 100%;
        list-style: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* ===== MANTENER CONTENEDORES PERO SIN FUNCIONALIDAD ===== */
    .nav-dropdown,
    .nav-submenu {
        position: static !important;
    }

    /* ===== OCULTAR TOGGLES E ICONOS ===== */
    .dropdown-icon,
    .submenu-arrow {
        display: none !important;
    }

    /* ===== MOSTRAR TODOS LOS MENÚS COMO LISTA PLANA ===== */
    .dropdown-menu,
    .submenu-dropdown {
        position: static !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
        overflow: visible !important;
        background: rgba(0, 0, 0, 0.15) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        min-width: auto !important;
        left: auto !important;
        top: auto !important;
    }

    .dropdown-menu li,
    .submenu-dropdown li {
        width: 100%;
        list-style: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-toggle {
        display: none !important;
    }


    /* ===== ESTILOS DE TODOS LOS LINKS ===== */
    .nav-link-blue {
        display: block !important;
        width: 100%;
        padding: 1.2rem 1.5rem;
        color: white !important;
        text-decoration: none !important;
        font-size: 1rem;
        transition: background 0.2s ease;
        background: transparent;
    }

    .nav-link-blue:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .nav-link-blue::after {
        display: none !important;
    }

    .dropdown-menu a {
        display: block !important;
        width: 100%;
        padding: 1.2rem 2rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        font-size: 0.95rem;
        transition: background 0.2s ease;
        background: transparent !important;
        border-bottom: none !important;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding-left: 2rem !important;
    }

    .submenu-dropdown {
        background: rgba(0, 0, 0, 0.25) !important;
    }

    .submenu-dropdown a {
        display: block !important;
        width: 100%;
        padding: 1rem 2.5rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        font-size: 0.9rem;
        transition: background 0.2s ease;
        background: transparent !important;
        border-bottom: none !important;
        border-left: none !important;
    }

    .submenu-dropdown a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding-left: 2.5rem !important;
    }

    /* ===== BOTÓN CTA ===== */
    .nav-cta-blue {
        display: none !important;
        margin: 1.5rem 1.5rem 2rem 1.5rem !important;
        width: calc(100% - 3rem) !important;
        text-align: center !important;
        padding: 1rem 2rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
    }

    .nav-cta-blue:hover {
        background: white !important;
        color: var(--primary-blue) !important;
    }

    /* ===== DESHABILITAR TODOS LOS EFECTOS HOVER DE DROPDOWN EN DESKTOP ===== */
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        pointer-events: none !important;
    }

    .nav-submenu:hover .submenu-dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        pointer-events: none !important;
    }

    /* ===== EL RESTO DE TU CSS MÓVIL CONTINÚA AQUÍ ===== */
    .container {
        padding: 0 1.5rem;
    }

    /* ===== OCULTAR ICONOS SVG ===== */
    .dropdown-icon,
    .submenu-arrow {
        display: none !important;
    }

    /* ===== RESTO DE TU CSS MÓVIL ===== */
    .container {
        padding: 0 1.5rem;
    }

    .final-slider-container,
    .consultoria-hero-container {
        height: 60vh;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content-with-form {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .closing-info-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* ===== SUBMENÚ IBM ACADEMY - SIMPLE ===== */
    .nav-submenu {
        width: 100%;
    }

    .submenu-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 3rem;
        color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        text-decoration: none;
    }

    .submenu-arrow {
        width: 14px;
        height: 14px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .nav-submenu.active .submenu-arrow {
        transform: rotate(90deg);
    }

    .submenu-dropdown {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        margin: 0;
        list-style: none;
        display: block !important;
    }

    .nav-submenu.active .submenu-dropdown {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .submenu-dropdown li {
        list-style: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .submenu-dropdown a {
        display: block;
        padding: 1rem 4rem;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 0.9rem;
        transition: background 0.2s ease;
    }

    .submenu-dropdown a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* ===== BOTÓN CTA ===== */
    .nav-cta-blue {
        display: block !important;
        margin: 1.5rem 2rem !important;
        width: calc(100% - 4rem) !important;
        text-align: center !important;
        padding: 1rem 2rem !important;
    }

    /* ===== DESHABILITAR TODOS LOS HOVERS ===== */
    /*.nav-link-blue:hover,
    .dropdown-menu a:hover,
    .submenu-dropdown a:hover {
        background: none;
        color: inherit;
        padding-left: inherit;
        transform: none;
    }*/

    .nav-dropdown:hover .dropdown-menu,
    .nav-submenu:hover .submenu-dropdown {
        max-height: 0 !important;
    }

    /* Hamburger activo */
    .hamburger-blue {
        display: flex;
    }

    .hamburger-blue.active .bar-blue:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-blue.active .bar-blue:nth-child(2) {
        opacity: 0;
    }

    .hamburger-blue.active .bar-blue:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-cta-blue {
        margin-left: 0 !important;
        margin-top: 1rem !important;
    }

    .final-slider-container,
    .consultoria-hero-container {
        height: 50vh;
    }

    .message-content-bottom {
        padding: 0 2rem;
    }

    .message-title-bottom {
        font-size: 1.3rem;
    }

    .message-description-bottom {
        font-size: 0.95rem;
    }

    .slider-arrow-final {
        font-size: 2rem;
        padding: 0.6rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .footer-content-three {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li a::before {
        display: none;
    }

    .footer-column ul li a:hover {
        transform: none;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .main-intro-section,
    .consultoria-intro-section {
        padding: 40px 0;
    }

    .situations-section {
        padding: 40px 0;
    }

    .blog-preview-section {
        padding: 60px 0;
    }

    .services-overview {
        padding: 50px 0;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-overview-card {
        padding: 30px 20px;
    }

    .service-card-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon-svg {
        width: 50px;
        height: 50px;
    }

    .service-card-icon svg {
        width: 50px;
        height: 50px;
    }

    .blue-banner-cta {
        padding: 40px 0;
    }

    .banner-wrapper {
        padding: 30px 20px;
        border-radius: var(--border-radius);
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .banner-icon {
        width: 90px;
        height: 90px;
    }

    .banner-icon img {
        width: 50px;
        height: 50px;
    }

    .banner-text h2 {
        font-size: 1.4rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .blog-posts-slider {
        gap: 15px;
    }

    .blog-preview-card {
        flex: 0 0 calc(100% - 0px);
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-content h3 {
        font-size: 1.05rem;
    }

    .blog-card-content p {
        font-size: 0.9rem;
    }

    .blog-slider-navigation {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .blog-slider-btn {
        width: 40px;
        height: 40px;
    }

    .blog-slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .blog-banner-cta {
        padding: 40px 0;
    }

    .blog-banner-cta .banner-wrapper {
        padding: 30px 20px;
        border-radius: var(--border-radius);
    }

    .blog-banner-cta .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .blog-banner-cta .banner-icon {
        width: 90px;
        height: 90px;
    }

    .blog-banner-cta .banner-icon svg {
        width: 50px;
        height: 50px;
    }

    .blog-banner-cta .banner-text h2 {
        font-size: 1.4rem;
    }

    .blog-banner-cta .banner-text p {
        font-size: 1rem;
    }

    .cta-form-container {
        padding: 2rem 1.5rem;
    }

    .cta-text h2 {
        font-size: 2.2rem;
    }

    .closing-text h3 {
        font-size: 1.6rem;
    }

    .closing-text p {
        font-size: 1rem;
    }

    .slide-message-right {
        right: 5%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .slide-message-right .message-content-bottom {
        align-items: center;
    }

    .slide-message-right .message-button-center {
        justify-content: center;
    }

    .consultoria-hero-text h1 {
        font-size: 1.3rem;
    }

    .consultoria-content-blocks {
        padding: 0px 0;
    }

    .content-block {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .block-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .block-content p {
        font-size: 0.95rem;
    }

    .consultoria-banner-cta .banner-wrapper,
    .consultoria-second-banner-cta .banner-wrapper {
        padding: 30px 20px;
        border-radius: var(--border-radius);
    }

    .consultoria-banner-cta .banner-text h2,
    .consultoria-second-banner-cta .banner-text h2 {
        font-size: 1.4rem;
    }

    .consultoria-banner-cta .banner-text p,
    .consultoria-second-banner-cta .banner-text p {
        font-size: 1rem;
    }

    .consultoria-banner-cta .banner-icon,
    .consultoria-second-banner-cta .banner-icon {
        width: 80px;
        height: 80px;
    }

    .consultoria-banner-cta .banner-icon svg,
    .consultoria-second-banner-cta .banner-icon svg {
        width: 40px;
        height: 40px;
    }

    .consultoria-second-title {
        padding: 40px 0;
    }

    .consultoria-faq-title {
        padding: 60px 0 20px 0;
    }

    .faq-section {
        padding: 20px 0 60px 0;
    }

    .faq-question {
        padding: 1.5rem 2rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }

    .faq-answer p {
        padding: 1.5rem 2rem;
        font-size: 0.95rem;
    }

    .gestion-cards-section {
        padding: 0px 0;
    }

    .gestion-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 25px 20px;
    }

    .card-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.8rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }

    .card-image {
        height: 180px;
    }

    .academy-cards-section {
        padding: 0px 0;
    }

    .academy-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .academy-card {
        padding: 30px 25px;
        z-index: 1;
    }

    .academy-card h3 {
        font-size: 1.2rem;
    }

    .card-price {
        font-size: 1.8rem;
    }

    .tooltip {
        width: 95vw;
        padding: 18px;
        position: fixed !important;
        left: 2.5vw !important;
        right: 2.5vw !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 9999;
    }

    .tooltip-left,
    .tooltip-center,
    .tooltip-right {
        left: 2.5vw !important;
        right: 2.5vw !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .academy-card:hover .tooltip-left,
    .academy-card:hover .tooltip-center,
    .academy-card:hover .tooltip-right {
        transform: translateY(-50%) !important;
    }

    .tooltip::before {
        display: none;
    }

    .tooltip-content h4 {
        font-size: 1rem;
    }

    .tooltip-content p {
        font-size: 0.85rem;
    }

    .tooltip-content li {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .final-slider-container,
    .consultoria-hero-container {
        height: 45vh;
    }

    .message-title-bottom {
        font-size: 1.2rem;
    }

    .slide-message-bottom {
        bottom: 3rem;
        padding: 1.5rem 0 1rem;
    }

    .message-content-bottom {
        padding: 0 1rem;
    }

    .slider-arrow-final {
        font-size: 1.8rem;
        padding: 0.5rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-card-content {
        padding: 18px;
    }

    .blog-card-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .blog-slider-btn {
        width: 35px;
        height: 35px;
    }

    .blog-slider-btn svg {
        width: 16px;
        height: 16px;
    }

    .main-intro-section,
    .consultoria-intro-section {
        padding: 35px 0;
    }

    .situations-section {
        padding: 35px 0;
    }

    .blog-preview-section {
        padding: 50px 0;
    }

    .services-overview {
        padding: 45px 0;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon-svg {
        width: 40px;
        height: 40px;
    }

    .service-card-icon svg {
        width: 40px;
        height: 40px;
    }

    .cta-form-container {
        padding: 1.5rem;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .closing-text h3 {
        font-size: 1.4rem;
    }

    .consultoria-hero-text h1 {
        font-size: 1.2rem;
    }

    .consultoria-content-blocks {
        padding: 0px 0;
    }

    .content-block {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .block-content h3 {
        font-size: 1.3rem;
    }

    .block-content p {
        font-size: 0.9rem;
    }

    .consultoria-second-title {
        padding: 35px 0;
    }

    .consultoria-faq-title {
        padding: 40px 0 20px 0;
    }

    .faq-section {
        padding: 20px 0 40px 0;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }

    .academy-card {
        padding: 25px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon img {
        width: 50px;
        height: 50px;
    }

    .academy-card h3 {
        font-size: 1.1rem;
    }

    .card-price {
        font-size: 1.6rem;
    }

    .feature {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .card-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .tooltip {
        width: 95vw;
        padding: 15px;
    }
}

/* ================================================ */
/* ============== OPTIMIZACIONES ================= */
/* ================================================ */

.slide-image-final,
.consultoria-hero-image,
.logo {
    will-change: transform;
    backface-visibility: hidden;
}

.final-slide {
    backface-visibility: hidden;
    perspective: 1000px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slider-arrow-final:focus-visible,
.final-dot:focus-visible,
.message-btn-simple:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .whatsapp-button {
        animation: none;
    }
}


/* ================================================ */
/* ========= SECCIÓN PLANES DE INVERSIÓN ========= */
/* ================================================ */

.planes-cards-section {
    padding: 0px 0;
    background-color: rgb(245, 250, 250);
}

.planes-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.plan-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.2);
}

/* Plan Recomendado */
.plan-card.recommended {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.recommended-label {
    background: rgba(34, 73, 154, 0.1);
    color: var(--primary-blue);
    padding: 10px;
    margin: -40px -30px 20px -30px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.plan-range {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.plan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    font-size: 0.95rem;
    color: #666;
    text-align: left;
}

.feature-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success-green);
}

.plan-description {
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-description p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.plan-btn {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.plan-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

.recommended-btn {
    background: var(--success-green);
    font-weight: 600;
}

.recommended-btn:hover {
    background: #16a34a;
}

/* ================================================ */
/* ======= HERO PLANES CON CONTENIDO EXTRA ====== */
/* ================================================ */

.consultoria-hero-text p {
    font-size: 1.1rem;
    margin: 1rem 0 2rem 0;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin-top: 2rem;
}

.hero-btn {
    background: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.hero-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ================================================ */
/* ======= SECCIÓN 5 PUNTOS CARACTERÍSTICAS ===== */
/* ================================================ */

.planes-features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-number {
    background: var(--primary-blue);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ================================================ */
/* ============ FAQ SUBTITLE ==================== */
/* ================================================ */

.faq-subtitle {
    margin-top: 20px;
}

.faq-subtitle span {
    background: rgba(34, 73, 154, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================================================ */
/* ================ RESPONSIVE PLANES ============ */
/* ================================================ */

@media (max-width: 1200px) {
    .planes-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .plan-card.recommended {
        transform: none;
    }

    .plan-card.recommended:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .planes-cards-section {
        padding: 0px 0;
    }

    .planes-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plan-card {
        padding: 30px 25px;
        min-height: auto;
    }

    .plan-card.recommended {
        transform: none;
        order: -1;
    }

    .recommended-label {
        margin: -30px -25px 20px -25px;
    }

    .plan-header h3 {
        font-size: 1.5rem;
    }

    .feature-value {
        font-size: 1.1rem;
    }

    .consultoria-hero-text p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .planes-features-list {
        gap: 20px;
    }

    .feature-point {
        gap: 15px;
    }

    .feature-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .feature-text h4 {
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .plan-card {
        padding: 25px 20px;
    }

    .plan-header h3 {
        font-size: 1.4rem;
    }

    .plan-range {
        font-size: 0.95rem;
    }

    .feature-item {
        padding: 12px 0;
    }

    .feature-label {
        font-size: 0.9rem;
    }

    .feature-value {
        font-size: 1rem;
    }

    .plan-description p {
        font-size: 0.9rem;
    }

    .plan-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .recommended-label {
        margin: -25px -20px 15px -20px;
        font-size: 0.85rem;
    }

    .recommended-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
}

/* ================================================ */
/* ================= BLOG STYLES ================= */
/* ================================================ */

/* Blog Header */
.blog-header {
    background: var(--primary-blue);
    padding-top: 80px;
}

/* Blog Hero */
.blog-hero {
    background: var(--primary-blue);
    padding: 4rem 0 6rem 0;
    color: white;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Main */
.blog-main {
    padding: 4rem 0;
    background: rgb(245, 250, 250);
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Blog Posts */
.blog-posts {
    display: grid;
    gap: 3rem;
}

/* Blog Post Cards */
.blog-post {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 73, 154, 0.1);
}

/* Featured Post */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.featured-post .post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Post Image */
.post-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.featured-post .post-image {
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Post Content */
.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-content h2,
.post-content h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
}

.post-content h2 a,
.post-content h3 a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

.post-content h2 a:hover,
.post-content h3 a:hover {
    color: var(--primary-blue-dark);
}

.post-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--primary-blue-dark);
    transform: translateX(3px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

/* Search Form */
.search-form {
    position: relative;
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(34, 73, 154, 0.1);
}

.search-form button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.search-form button:hover {
    color: var(--primary-blue);
}

/* Categories List */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.8rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.categories-list a:hover {
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

.categories-list span {
    background: rgba(34, 73, 154, 0.1);
    color: var(--primary-blue);
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.recent-post-content h5 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.recent-post-content a {
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

.recent-post-content a:hover {
    color: var(--primary-blue);
}

.recent-date {
    font-size: 0.8rem;
    color: #666;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-primary);
    color: white;
}

.newsletter-widget h4 {
    color: white;
}

.newsletter-widget h4::after {
    background: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-primary);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding: 2rem 0;
}

.pagination-btn {
    background: white;
    border: 2px solid #e1e5e9;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-dots {
    padding: 0 0.5rem;
    color: #666;
}

/* CTA Modern */
.cta-modern {
    background: var(--gradient-primary);
    padding: 4rem 0;
    color: white;
}

.cta-no-margin {
    margin-bottom: 0;
}

.cta-content-modern {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-check {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cta-action {
    text-align: center;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer No Margin */
.footer-no-margin {
    margin-top: 0;
}

/* Nav Link Active State */
.nav-link-blue.active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ================================================ */
/* ================= BLOG RESPONSIVE ============= */
/* ================================================ */

@media (max-width: 1200px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blog-sidebar {
        order: -1;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .cta-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 0 4rem 0;
    }

    .blog-hero-content h1 {
        font-size: 2.2rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .blog-main {
        padding: 3rem 0;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post .post-content {
        padding: 2rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .blog-pagination {
        margin-top: 3rem;
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .cta-modern {
        padding: 3rem 0;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .cta-features {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-content h1 {
        font-size: 1.8rem;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 1.2rem;
    }

    .featured-post .post-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.2rem;
    }

    .recent-post img {
        width: 50px;
        height: 38px;
    }

    .pagination-numbers {
        gap: 0.3rem;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* ================================================ */
/* ================= POST STYLES ================= */
/* ================================================ */

/* Post Main */
.post-main {
    padding: 2rem 0 0 0;
    background: rgb(245, 250, 250);
    margin-top: 80px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0 2rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-blue-dark);
}

.breadcrumb-separator {
    color: #666;
}

.breadcrumb-current {
    color: #666;
}

/* Post Content Full Width */
.post-content-full {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    margin-bottom: 3rem;
}

/* Post Header */
.post-header {
    padding: 3rem 3rem 2rem 3rem;
    border-bottom: 1px solid #f0f0f0;
}

.post-category-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-name {
    font-weight: 600;
    color: var(--primary-blue);
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

/* Post Featured Image */
.post-featured-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 3rem 1rem 3rem;
    font-size: 0.9rem;
    font-style: italic;
}

/* Post Body */
.post-body {
    padding: 3rem;
    line-height: 1.8;
}

.post-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.post-intro p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.post-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

.post-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.post-body p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1rem;
}

.post-body strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Post Quote */
.post-quote {
    background: rgba(34, 73, 154, 0.05);
    border-left: 4px solid var(--primary-blue);
    padding: 2rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    position: relative;
}

.post-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    position: absolute;
    top: 0;
    left: 1rem;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Styled Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: #444;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: rgba(34, 73, 154, 0.05);
    border: 1px solid rgba(34, 73, 154, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content p {
    margin: 0;
    color: #333;
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--warning-orange);
}

.warning-content h4 {
    color: var(--warning-orange);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.warning-content p {
    margin: 0;
    color: #333;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(34, 73, 154, 0.05);
    border-radius: var(--border-radius);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Post Tags */
.post-tags {
    padding: 2rem 3rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #333;
}

.tag {
    background: rgba(34, 73, 154, 0.1);
    color: var(--primary-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-blue);
    color: white;
}

/* Post Share */
.post-share {
    padding: 2rem 3rem;
    border-top: 1px solid #f0f0f0;
}

.post-share h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: var(--whatsapp-green);
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nav-previous,
.nav-next {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    transition: var(--transition);
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Post Author Section */
.post-author-section {
    margin-bottom: 3rem;
}

.author-card-full {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 73, 154, 0.08);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.author-avatar-large {
    flex-shrink: 0;
}

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.author-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.author-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-blue-dark);
}

/* ================================================ */
/* ================= POST RESPONSIVE ============= */
/* ================================================ */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .post-main {
        padding: 1rem 0 0 0;
    }

    .post-header {
        padding: 2rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-featured-image {
        height: 300px;
    }

    .image-caption {
        padding: 1.5rem 2rem 1rem 2rem;
    }

    .post-body {
        padding: 2rem;
    }

    .post-intro p {
        font-size: 1.1rem;
    }

    .post-body h2 {
        font-size: 1.5rem;
    }

    .post-body h3 {
        font-size: 1.2rem;
    }

    .post-quote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .post-tags {
        padding: 1.5rem 2rem;
    }

    .post-share {
        padding: 1.5rem 2rem;
    }

    .share-buttons {
        gap: 0.8rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-next {
        text-align: left;
    }

    .author-card-full {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .author-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .post-header {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.7rem;
    }

    .post-featured-image {
        height: 250px;
    }

    .image-caption {
        padding: 1rem 1.5rem 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .post-body {
        padding: 1.5rem;
    }

    .post-intro p {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.3rem;
    }

    .post-body h3 {
        font-size: 1.1rem;
    }

    .post-quote {
        padding: 1rem;
        font-size: 1rem;
    }

    .info-box,
    .warning-box {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .stats-grid {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .post-tags {
        padding: 1rem 1.5rem;
    }

    .post-share {
        padding: 1rem 1.5rem;
    }

    .share-btn {
        width: 35px;
        height: 35px;
    }

    .author-card-full {
        padding: 1.5rem;
    }

    .author-avatar-large img {
        width: 80px;
        height: 80px;
    }

    .author-content h3 {
        font-size: 1.2rem;
    }

    .author-social {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   SECCIONES ESPECÍFICAS DE CURSOS
   ============================================ */

/* Estructura del Curso - Tabla */
.course-structure-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.course-table-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.course-table thead {
    background-color: #1e3a8a;
    color: white;
}

.course-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.course-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.course-table tbody tr:hover {
    background-color: #f3f4f6;
}

.course-table td {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.course-table td:first-child {
    font-weight: 600;
    color: #1e3a8a;
}

.course-table em {
    font-style: italic;
    color: #4b5563;
}

.course-details {
    background: #f0f4ff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

.course-details p {
    margin: 8px 0;
    font-size: 15px;
    color: #1f2937;
}

.course-details strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Responsive Table */
@media (max-width: 768px) {
    .course-table-wrapper {
        padding: 20px;
        overflow-x: auto;
    }

    .course-table {
        font-size: 13px;
    }

    .course-table th,
    .course-table td {
        padding: 12px 8px;
    }

    .course-details {
        padding: 15px;
    }
}

/* ============================================
   SECCIÓN DE BENEFICIOS - VERSIÓN VERTICAL
   ============================================ */

.benefits-section-white {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.benefits-white-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item-vertical {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e5e7eb;
}

.benefit-item-vertical:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.benefit-icon-circle {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e7ff;
    border-radius: 50%;
    padding: 12px;
}

.benefit-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-text-vertical {
    flex: 1;
    display: flex;
    align-items: center;
}

.benefit-text-vertical p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.benefit-text-vertical strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Responsive Benefits Vertical */
@media (max-width: 768px) {
    .benefits-white-card {
        padding: 30px 25px;
    }

    .benefit-item-vertical {
        gap: 18px;
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .benefit-icon-circle {
        width: 60px;
        height: 60px;
    }

    .benefit-text-vertical p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .benefits-white-card {
        padding: 25px 20px;
    }

    .benefit-item-vertical {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .benefit-icon-circle {
        width: 65px;
        height: 65px;
    }
}

/* ============================================
   LISTA DE OBJETIVOS
   ============================================ */

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.objectives-list li {
    padding-left: 35px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    position: relative;
}

.objectives-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1e3a8a;
    font-weight: bold;
    font-size: 24px;
}

@media (max-width: 768px) {
    .objectives-list li {
        font-size: 14px;
        padding-left: 25px;
    }

    .objectives-list li:before {
        font-size: 20px;
    }
}

/* ============================================
   AJUSTES ADICIONALES PARA COHERENCIA
   ============================================ */

/* Mejorar espacio en content blocks cuando hay listas */
.block-content ul.objectives-list {
    margin-top: 20px;
}

.block-content h3+ul.objectives-list {
    margin-top: 25px;
}

/* Asegurar que las imágenes de banner se vean bien */
.banner-img {
    max-width: 100%;
    height: auto;
}

.banner-svg-icon {
    max-width: 80px;
}

@media (max-width: 768px) {
    .banner-svg-icon {
        max-width: 60px;
    }
}

/* Espacio consistente entre secciones */
.course-structure-section+.consultoria-second-title {
    margin-top: 0;
}

.benefits-section-white+.consultoria-second-title {
    margin-top: 0;
}

/* Mejoras en la tabla para móvil - scroll horizontal */
@media (max-width: 640px) {
    .course-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .course-table {
        min-width: 600px;
    }
}

/* ============================================
   VARIANTES DE CONTENT BLOCKS
   ============================================ */

/* Para cuando usas reverse en content blocks */
.content-block.reverse .block-image {
    order: 2;
}

.content-block.reverse .block-content {
    order: 1;
}

@media (max-width: 968px) {

    .content-block.reverse .block-image,
    .content-block.reverse .block-content {
        order: unset;
    }
}


/* ============================================
   SECCIÓN DE OBJETIVOS CON 3 CARDS
   ============================================ */

.objectives-cards-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.objectives-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

.objectives-subtitle p {
    font-size: 18px;
    color: #374151;
    font-weight: 500;
}

.objectives-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.objective-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.15);
    border-color: #1e3a8a;
}

.objective-card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
}

.objective-card-icon img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    object-fit: contain;
}

.objective-card-icon h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.objective-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objective-list li {
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    position: relative;
}

.objective-list li:last-child {
    margin-bottom: 0;
}

.objective-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1e3a8a;
    font-weight: bold;
    font-size: 22px;
}

/* Responsive Objectives Cards */
@media (max-width: 1024px) {
    .objectives-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .objectives-cards-section {
        padding: 40px 0;
    }

    .objectives-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .objective-card {
        padding: 30px 25px;
    }

    .objective-card-icon img {
        width: 60px;
        height: 60px;
    }

    .objective-card-icon h4 {
        font-size: 17px;
    }

    .objective-list li {
        font-size: 14px;
        padding-left: 25px;
    }

    .objective-list li:before {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .objective-card {
        padding: 25px 20px;
    }

    .objective-card-icon img {
        width: 55px;
        height: 55px;
    }

    .objectives-subtitle p {
        font-size: 16px;
    }
}

/* ============================================
   VARIANTE DE OBJECTIVE CARDS CON HEADER
   (Para Bolsa de Valores) - SIN DEGRADADO
   ============================================ */

.objective-card-header {
    background: #1e3a8a;
    /* Color sólido sin degradado */
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    margin: -35px -30px 25px -30px;
    text-align: center;
}

.objective-card-header h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: white;
}

/* Ajuste para cards con header */
.objectives-cards-section .objective-card:has(.objective-card-header) {
    padding-top: 35px;
}

@media (max-width: 768px) {
    .objective-card-header {
        padding: 18px;
        margin: -30px -25px 20px -25px;
    }

    .objective-card-header h4 {
        font-size: 17px;
    }

    .objectives-cards-section .objective-card:has(.objective-card-header) {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .objective-card-header {
        padding: 16px;
        margin: -25px -20px 18px -20px;
    }

    .objective-card-header h4 {
        font-size: 16px;
    }

    .objectives-cards-section .objective-card:has(.objective-card-header) {
        padding-top: 25px;
    }
}

/* ================================================ */
/* ========= PÁGINA NOSOTROS - ESTILOS ========== */
/* ================================================ */

/* Sección Misión y Visión */
.nosotros-mision-vision-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.nosotros-mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.nosotros-mv-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mv-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.mv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nosotros-mv-card:hover .mv-card-image img {
    transform: scale(1.05);
}

.mv-card-content {
    padding: 35px;
}

.mv-card-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mv-card-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Sección Propuesta de Valor */
.nosotros-propuesta-section {
    padding: 80px 0;
    background: var(--white);
}

.nosotros-propuesta-title {
    text-align: center;
    margin-bottom: 60px;
}

.nosotros-propuesta-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
}

.nosotros-propuesta-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.propuesta-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.propuesta-image img {
    width: 100%;
    height: auto;
    display: block;
}

.propuesta-text {
    padding-right: 20px;
}

.propuesta-text>p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.propuesta-text>p strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.propuesta-pilares {
    margin: 40px 0;
}

.pilar-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.pilar-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.pilar-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.pilar-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.propuesta-final {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

/* ================================================ */
/* ============ RESPONSIVE - NOSOTROS ============ */
/* ================================================ */

@media (max-width: 1024px) {
    .nosotros-mision-vision-grid {
        gap: 30px;
    }

    .nosotros-propuesta-content {
        gap: 40px;
    }

    .mv-card-content {
        padding: 30px;
    }

    .mv-card-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nosotros-mision-vision-section {
        padding: 60px 0;
    }

    .nosotros-mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mv-card-image {
        height: 220px;
    }

    .mv-card-content {
        padding: 25px;
    }

    .mv-card-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .mv-card-content p {
        font-size: 15px;
    }

    /* Propuesta de Valor */
    .nosotros-propuesta-section {
        padding: 60px 0;
    }

    .nosotros-propuesta-title h2 {
        font-size: 28px;
    }

    .nosotros-propuesta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .propuesta-image {
        position: relative;
        top: 0;
    }

    .propuesta-text {
        padding-right: 0;
    }

    .propuesta-text>p {
        font-size: 16px;
    }

    .pilar-item {
        gap: 15px;
        margin-bottom: 25px;
    }

    .pilar-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .pilar-content h4 {
        font-size: 17px;
    }

    .pilar-content p {
        font-size: 15px;
    }

    .propuesta-final {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nosotros-mision-vision-section {
        padding: 50px 0;
    }

    .nosotros-mision-vision-grid {
        gap: 25px;
    }

    .mv-card-image {
        height: 200px;
    }

    .mv-card-content {
        padding: 20px;
    }

    .mv-card-content h3 {
        font-size: 20px;
    }

    .mv-card-content p {
        font-size: 14px;
    }

    /* Propuesta de Valor */
    .nosotros-propuesta-section {
        padding: 50px 0;
    }

    .nosotros-propuesta-title {
        margin-bottom: 40px;
    }

    .nosotros-propuesta-title h2 {
        font-size: 24px;
    }

    .nosotros-propuesta-content {
        gap: 30px;
    }

    .propuesta-text>p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .propuesta-pilares {
        margin: 30px 0;
    }

    .pilar-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .pilar-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .pilar-content h4 {
        font-size: 16px;
    }

    .pilar-content p {
        font-size: 14px;
    }

    .propuesta-final {
        font-size: 15px;
        margin-top: 20px;
    }
}

/* ================================================ */
/* ====== ICONOS EN BLOQUES DE CONTENIDO ======== */
/* ================================================ */

.block-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Asegurar que el contenido esté centrado cuando hay ícono */
.block-content {
    text-align: center;
}

.block-content h3 {
    text-align: center;
}

.block-content p {
    text-align: left;
}

/* ================================================ */
/* ====== ICONOS EN BLOQUES DE CONTENIDO ======== */
/* ================================================ */

.block-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Asegurar que el contenido esté centrado cuando hay ícono */
.block-content {
    text-align: center;
}

.block-content h3 {
    text-align: center;
}

.block-content p {
    text-align: left;
}





















/* ================================================ */
/* ===== SECCIÓN FINANZAS PERSONALES - CSS ====== */
/* ================================================ */


/* Banner CTA - Finanzas */
.finanzas-banner-cta {
    padding: 80px 0;
    /*background: var(--gradient-primary);*/
}

.finanzas-banner-cta .banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.finanzas-banner-cta .banner-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.finanzas-banner-cta .banner-icon {
    flex-shrink: 0;
}

.finanzas-banner-cta .banner-svg-icon {
    width: 120px;
    height: auto;
}

.finanzas-banner-cta .banner-text {
    flex: 1;
}

.finanzas-banner-cta .banner-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.3;
}

.finanzas-banner-cta .banner-text p {
    font-size: 17px;
    color: var(--white);
    line-height: 1.6;
    opacity: 0.95;
}

.finanzas-banner-cta .banner-cta {
    flex-shrink: 0;
}

.finanzas-banner-cta .banner-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.finanzas-banner-cta .banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

/* ================================================ */
/* ======== RESPONSIVE - FINANZAS PERSONALES ===== */
/* ================================================ */

@media (max-width: 1024px) {
    .block-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .third-title-content h2 {
        font-size: 32px;
    }

    .finanzas-banner-cta .banner-content {
        gap: 30px;
    }

    .finanzas-banner-cta .banner-text h2 {
        font-size: 28px;
    }

    .finanzas-banner-cta .banner-svg-icon {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .block-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }

    /* Banner */
    .finanzas-banner-cta {
        padding: 60px 0;
    }

    .finanzas-banner-cta .banner-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .finanzas-banner-cta .banner-icon {
        order: 1;
    }

    .finanzas-banner-cta .banner-text {
        order: 2;
    }

    .finanzas-banner-cta .banner-cta {
        order: 3;
    }

    .finanzas-banner-cta .banner-svg-icon {
        width: 90px;
    }

    .finanzas-banner-cta .banner-text h2 {
        font-size: 24px;
    }

    .finanzas-banner-cta .banner-text p {
        font-size: 16px;
    }

    .finanzas-banner-cta .banner-btn {
        padding: 14px 35px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .block-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }

    /* Banner */
    .finanzas-banner-cta {
        padding: 50px 0;
    }

    .finanzas-banner-cta .banner-content {
        gap: 20px;
    }

    .finanzas-banner-cta .banner-svg-icon {
        width: 80px;
    }

    .finanzas-banner-cta .banner-text h2 {
        font-size: 20px;
    }

    .finanzas-banner-cta .banner-text p {
        font-size: 14px;
    }

    .finanzas-banner-cta .banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ================================================ */
/* ======= CARDS DE SERVICIOS - OVERVIEW ======== */
/* ================================================ */

.services-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-overview-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-overview-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.service-overview-card:hover h3 {
    color: var(--secondary-blue);
}

/* ================================================ */
/* ============= RESPONSIVE SERVICIOS ============ */
/* ================================================ */

@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-overview {
        padding: 50px 0;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .service-overview-card {
        padding: 35px 25px;
    }

    .service-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .service-overview-card h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .services-overview {
        padding: 40px 0;
    }

    .service-overview-card {
        padding: 30px 20px;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }

    .service-overview-card h3 {
        font-size: 16px;
    }
}



/* ================================================ */
/* =========== SUBMENÚ IBM ACADEMY ============== */
/* ================================================ */

.nav-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.submenu-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.nav-submenu:hover .submenu-arrow {
    transform: translateX(3px);
}

.submenu-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    z-index: 1000;
}

.nav-submenu:hover .submenu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-dropdown li {
    list-style: none;
}

.submenu-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu-dropdown a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    padding-left: 24px;
}

/* Mobile Submenu */
@media (max-width: 768px) {
    .submenu-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-left: 20px;
        margin-top: 8px;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-submenu.active .submenu-dropdown {
        max-height: 300px;
    }

    .submenu-arrow {
        transform: rotate(90deg);
    }

    .nav-submenu.active .submenu-arrow {
        transform: rotate(-90deg);
    }

    .submenu-dropdown a {
        padding: 10px 16px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        border-left: 2px solid transparent;
    }

    .submenu-dropdown a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border-left-color: var(--white);
        padding-left: 20px;
    }
}

/* ================================================ */
/* ================= FOOTER ====================== */
/* ================================================ */

.footer {
    background: var(--primary-blue-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* ================================================ */
/* ============= FOOTER RESPONSIVE =============== */
/* ================================================ */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-column ul li {
        margin-bottom: 0.7rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-legal a {
        font-size: 0.85rem;
    }
}