@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --eg-blue: #0A3D91;
    --eg-dark: #0B1221;
    --eg-accent: #1E40AF;
}

.tail-container {
    font-family: 'Inter', system_ui, sans-serif;
}

.heading-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.05;
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.premium-shadow {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15),
                0 10px 10px -6px rgb(0 0 0 / 0.1);
}

.section-header {
    position: relative;
    display: inline-block;
}

.section-header:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background: #FACC15;
    border-radius: 9999px;
}

.stat-number,
.stat-value {
    font-variant-numeric: tabular-nums;
}

.stat-value {
    font-weight: 800;
    line-height: 1;
}

.course-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #0A3D91;
    transition: width 0.3s ease;
}

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

.blue-gradient {
    background: linear-gradient(135deg, #0A3D91 0%, #1E40AF 100%);
}

.yellow-accent {
    background: #FACC15;
    color: #0B1221;
}

.yellow-accent:hover {
    background: #EAB308;
}

.hero-bg {
    background: linear-gradient(135deg, #0B1221 0%, #0F172A 50%, #0A3D91 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.metric {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-prop {
    transition: all 0.3s ease;
}

.value-prop:hover {
    transform: translateY(-4px);
}

.method-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.method-card:hover {
    transform: translateY(-6px);
    border-color: #0A3D91;
}

.testimonial {
    transition: all 0.4s ease;
}

.logo-text {
    font-weight: 800;
    letter-spacing: -1.5px;
}

.modern-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: 0.6s;
}

.modern-btn:hover:after {
    left: 250%;
}

.modern-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgb(10 61 145 / 0.3);
}

.nav-active {
    color: #0A3D91;
    font-weight: 600;
}

.feature-check {
    color: #0A3D91;
}

.unit-map {
    background: linear-gradient(#f1f5f9, #e0e7ff);
    position: relative;
    overflow: hidden;
}

.unit-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg width=%22600%22 height=%22600%22 viewBox=%220 0 600 600%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill-rule=%22evenodd%22%3E%3Cpath fill=%22%23c7d2fe%22 fill-opacity=%220.15%22 d=%22M300 300m-250 0a250 250 0 1 0 500 0 250 250 0 1 0-500 0%22/%3E%3C/g%3E%3C/svg%3E');
    background-size: cover;
    opacity: 0.6;
}

.floating-whatsapp {
    box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.3),
                0 4px 6px -4px rgb(37 99 235 / 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(37 99 235 / 0.4);
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.mini-quiz-option {
    transition: all 0.2s ease;
}

.mini-quiz-option:hover {
    border-color: #0A3D91;
    background-color: #f0f4ff;
}

.mini-quiz-option.selected {
    border-color: #0A3D91;
    background-color: #e0e7ff;
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.15);
}

.franquia-badge {
    background: #FACC15;
    color: #0B1221;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: -.3px;
}

img[alt="Excellent Global"] {
    transition: transform 0.2s ease;
}

.nav-scrolled img[alt="Excellent Global"] {
    transform: scale(0.92);
}

.site-logo {
    opacity: 0;
    transform: scale(0.6) translateY(-10px);
    animation: logoEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 120ms;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(-10px);
    }
    60% {
        transform: scale(1.15) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-content {
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-content .hero-delay-1 { animation-delay: 200ms; }
.hero-content .hero-delay-2 { animation-delay: 380ms; }
.hero-content .hero-delay-3 { animation-delay: 520ms; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}