/* =====================================================
   CERTIVA - LANDING PAGE PREMIUM DARK MODE
   Color Principal: #1F3A68 (Azul Corporativo Profundo)
   ===================================================== */

/* =====================================================
   RESET & BASE
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FFFFFF;
    color: #1A1A1A;
    line-height: 1.7;
    overflow-x: hidden;
}

/* =====================================================
   CSS VARIABLES - COLOR SYSTEM
   ===================================================== */
:root {
    /* Backgrounds - Light Mode */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;

    /* Primary Color Scale - #1F3A68 */
    --primary-50: #E8EDF4;
    --primary-100: #D1DBE9;
    --primary-200: #A3B7D3;
    --primary-300: #7593BD;
    --primary-400: #476FA7;
    --primary-500: #1F3A68;
    --primary-600: #192E53;
    --primary-700: #13223E;
    --primary-800: #0D1629;
    --primary-900: #070B14;

    /* Text Colors - Light Mode */
    --text-primary: #1A1A1A;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    --text-quaternary: #9CA3AF;

    /* Accent Colors */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title {
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-tertiary);
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-400);
    display: block;
    margin-bottom: 16px;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Spacing */
section {
    padding: 120px 0;
}

/* Background Classes */
.bg-white {
    background: #FFFFFF;
}

.bg-light-gray {
    background: #F8F9FB;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow:
        0 0 10px rgba(31, 58, 104, 0.8),
        0 0 20px rgba(31, 58, 104, 0.6),
        0 0 40px rgba(31, 58, 104, 0.4);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg,
            var(--primary-600) 0%,
            var(--primary-500) 30%,
            var(--primary-400) 60%,
            var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(31, 58, 104, 0.5),
        0 4px 24px rgba(31, 58, 104, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(31, 58, 104, 0.8),
        0 8px 40px rgba(31, 58, 104, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(31, 58, 104, 0.5);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-secondary:hover {
    border-color: var(--primary-500);
    background: rgba(31, 58, 104, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-cta {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* =====================================================
   GLASS CARD
   ===================================================== */
.glass-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(249, 250, 251, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(31, 58, 104, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(31, 58, 104, 0.35);
    box-shadow: 0 25px 50px -12px rgba(31, 58, 104, 0.35);
    transform: translateY(-4px);
}

/* =====================================================
   PARTICLES BACKGROUND
   ===================================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(31, 58, 104, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(31, 58, 104, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
    width: auto;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.btn-nav {
    padding: 12px 24px;
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    padding: 140px 0 100px 0;
    background: linear-gradient(180deg, #F8F9FB 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(31, 58, 104, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(31, 58, 104, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-block;
    background: rgba(31, 58, 104, 0.06);
    border: 1px solid rgba(31, 58, 104, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #1F3A68 0%, #2C5282 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(31, 58, 104, 0.08),
        0 12px 48px rgba(31, 58, 104, 0.06);
}


/* =====================================================
   ABOUT SECTION (QUIÉNES SOMOS)
   ===================================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 24px;
}

/* =====================================================
   METHODOLOGY PILLARS
   ===================================================== */
.methodology-section {
    padding: var(--section-padding) 0;
}

.methodology-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pillar-card {
    background: var(--bg-primary);
    border: 2px solid rgba(31, 58, 104, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-400);
    box-shadow: 0 8px 24px rgba(31, 58, 104, 0.12);
}

.pillar-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pillar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pillar-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* =====================================================
   PROGRAMS SECTION
   ===================================================== */
.programs-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.program-card {
    background: var(--bg-primary);
    border: 2px solid rgba(31, 58, 104, 0.1);
    border-radius: 20px;
    padding: 48px 40px;
    position: relative;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 58, 104, 0.15);
}

.program-featured {
    border-color: var(--primary-400);
    background: linear-gradient(135deg, rgba(31, 58, 104, 0.02) 0%, rgba(31, 58, 104, 0.05) 100%);
}

.program-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-400);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* Flagship Program */
.flagship-program {
    background: #FFFFFF;
    border: 1px solid rgba(31, 58, 104, 0.1);
    border-radius: 12px;
    padding: 56px;
    margin: 60px 0 80px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(31, 58, 104, 0.04);
}

.program-badge-flagship {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-400);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.flagship-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

.flagship-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 24px;
}

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

.flagship-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flagship-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.flagship-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.flagship-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flagship-features li {
    font-size: 16px;
    color: var(--text-primary);
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.flagship-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-400);
    font-size: 24px;
    line-height: 1;
}

.flagship-cta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-flagship {
    font-size: 18px;
    padding: 16px 40px;
    font-weight: 700;
}


/* Secondary Programs */
.secondary-programs {
    margin-top: 60px;
}

.secondary-programs-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.programs-grid-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.program-card-secondary {
    background: #FFFFFF;
    border: 1px solid rgba(31, 58, 104, 0.08);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(31, 58, 104, 0.03);
}

.program-card-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 58, 104, 0.08);
    border-color: rgba(31, 58, 104, 0.12);
}

.program-image-secondary {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.program-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-title-secondary {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.program-description-secondary {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.program-footer-secondary {
    display: flex;
}

/* All Programs CTA */
.all-programs-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(31, 58, 104, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-400);
    color: var(--primary-400);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-400);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 58, 104, 0.2);
}


/* =====================================================
   PHILOSOPHY SECTION
   ===================================================== */
.philosophy-section {
    padding: var(--section-padding) 0;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 24px;
}


/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Flip Card Styles */
.service-card-flip {
    perspective: 1000px;
    height: 450px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background-color: #fff;
}

.service-card-back {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(249, 250, 251, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(31, 58, 104, 0.15);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.03);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 32px;
}

.service-title-front {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
}



.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title-back {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: rgba(31, 58, 104, 0.2);
    border: 1px solid rgba(31, 58, 104, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-400);
}

/* =====================================================
   COURSES CATALOG SECTION
   ===================================================== */
.courses-catalog {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(31, 58, 104, 0.03) 0%, transparent 70%);
}

.courses-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.course-card {
    position: relative;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    min-height: 60px;
}

.course-description {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-features-list {
    list-style: none;
    margin-bottom: 24px;
}

.course-features-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(31, 58, 104, 0.1);
}

.course-features-list li:last-child {
    border-bottom: none;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(31, 58, 104, 0.1);
}

.course-duration {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.course-footer .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

.courses-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(249, 250, 251, 0.8) 50%,
            rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(31, 58, 104, 0.15);
    border-radius: 24px;
}

.courses-cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* =====================================================
   METHODOLOGY SECTION
   ===================================================== */
.methodology {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(31, 58, 104, 0.05) 0%, transparent 70%);
}

.methodology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.methodology-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.methodology-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    gap: 16px;
}

.point-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.point-content p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.methodology-card {
    padding: 40px;
}

.methodology-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
}

.testimonial-rating {
    color: var(--warning);
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(31, 58, 104, 0.15) 0%, transparent 70%);
}

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

.cta-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-quaternary);
}

/* Contact Form Styles */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(31, 58, 104, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(31, 58, 104, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-quaternary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(31, 58, 104, 0.1);
    padding: 80px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.footer-description {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #25D366 !important;
}

.whatsapp-link svg {
    transition: transform 0.3s ease;
}

.whatsapp-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(31, 58, 104, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-quaternary);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(31, 58, 104, 0.5),
            0 4px 24px rgba(31, 58, 104, 0.4),
            0 0 60px rgba(31, 58, 104, 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(31, 58, 104, 0.8),
            0 8px 40px rgba(31, 58, 104, 0.6),
            0 0 80px rgba(31, 58, 104, 0.5);
    }
}

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

/* Tablet */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .flagship-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .flagship-program {
        padding: 40px;
    }

    .flagship-title {
        font-size: 28px;
    }

    .flagship-image {
        margin-bottom: 0;
    }

    .program-card-secondary {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .program-image-secondary {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }

    .methodology-pillars {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .courses-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .methodology-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

    .nav-links {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-card-flip {
        height: 400px;
    }

    .courses-catalog-grid {
        grid-template-columns: 1fr;
    }

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

    .particle:nth-child(n+20) {
        display: none;
    }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.animate-in {
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
}