/* ============================================================
   INSTITUTO ACR — PALETA INSTITUCIONAL
   Azul: #0F4672 | Azul Técnico: #1B6CA8 | Cian: #00B8D9
   Dorado: #D4AF37 | Dorado Hover: #F4D160
   Dark: #071226 | Light: #F8FAFC
   ============================================================ */

/* ========== VARIABLES GLOBALES ========== */
:root {
    --azul-institucional: #0F4672;
    --azul-tecnico: #1B6CA8;
    --cian-frio: #00B8D9;
    --dorado: #D4AF37;
    --dorado-hover: #F4D160;
    
    /* Light Mode (default dark) */
    --bg-primary: #071226;
    --bg-secondary: #0a1a2f;
    --bg-card: #13233F;
    --text-primary: #F8FAFC;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --btn-primary: #1B6CA8;
    --btn-primary-hover: #2a7ec0;
    
    --gradient-primary: linear-gradient(135deg, var(--azul-institucional), var(--azul-tecnico));
    --gradient-gold: linear-gradient(135deg, var(--dorado), var(--dorado-hover));
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-padding: clamp(1rem, 5vw, 3rem);
    --section-padding: clamp(3rem, 8vw, 6rem);
    --header-height: 80px;
}

/* Light Mode */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #F8FAFC;
        --bg-secondary: #e2e8f0;
        --bg-card: #FFFFFF;
        --text-primary: #0F172A;
        --text-secondary: #64748b;
        --border-color: rgba(0, 0, 0, 0.08);
        --btn-primary: #0F4672;
        --btn-primary-hover: #1a5a8a;
        --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
        --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.1);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

@media (max-width: 768px) {
    html { font-size: 15px; }
}
@media (max-width: 480px) {
    html { font-size: 14px; }
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    transition: background 0.3s ease;
}

/* ========== CONTAINER ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== TIPOGRAFÍA MEJORADA ========== */
h1, h2, h3, h4, .nav-link, .btn-primary, .btn-secondary {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); line-height: 1.3; font-weight: 700; }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); line-height: 1.4; }
h4 { font-size: clamp(1rem, 2.5vw, 1.2rem); }

.gold {
    color: var(--dorado);
    font-weight: 800;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--dorado), var(--shadow-gold);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: clamp(0.9rem, 4vw, 1rem);
    color: var(--text-primary);
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--dorado);
    font-weight: 600;
}

/* Navegación */
.nav {
    display: flex;
    gap: 2rem;
}

@media (max-width: 992px) {
    .nav { display: none; }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dorado);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .header-actions .desktop-cta {
        display: none;
    }
}

/* ========== BOTONES MEJORADOS ========== */
.btn-primary, .btn-secondary, .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--dorado);
    color: var(--dorado);
}

.btn-primary:hover {
    background: var(--dorado);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--dorado-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--btn-primary);
    color: white;
}

.btn-secondary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

/* Menú móvil */
.menu-btn {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-btn { display: block; }
}

.menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--dorado);
}

.mobile-cta {
    display: block;
    text-align: center;
    margin: 1rem auto;
    width: fit-content;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(7, 18, 38, 0.7) 50%, rgba(0, 184, 217, 0.1) 100%);
    z-index: 1;
}

@media (prefers-color-scheme: light) {
    .hero-overlay {
        background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(248, 250, 252, 0.7) 50%, rgba(0, 184, 217, 0.05) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 60px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dorado);
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero-highlight {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dorado);
}

.hero p {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 640px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--dorado);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Badge flotante */
.hero-badge-card {
    position: absolute;
    top: 20%;
    right: 5%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 1.5rem;
    width: min(300px, 85%);
    z-index: 2;
    box-shadow: var(--shadow-gold);
    animation: float 5s ease-in-out infinite;
}

@media (max-width: 992px) {
    .hero-badge-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 2rem;
        width: 100%;
        max-width: 400px;
    }
}

.hero-badge-card .badge-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-badge-card .badge-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--bg-primary);
}

.hero-badge-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.hero-badge-card ul {
    list-style: none;
}

.hero-badge-card li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========== SECCIONES ========== */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.gold-tag {
    background: var(--gradient-gold);
    color: var(--bg-primary);
}

.section-title h2 {
    font-weight: 800;
}

.section-title p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--dorado);
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

/* ========== ORGANISMOS BANNER ========== */
.organismos-banner {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.organismos-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== COURSES GRID ========== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--dorado);
    box-shadow: var(--shadow-gold);
}

.course-image {
    height: 240px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .course-image {
        height: 200px;
    }
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.course-content {
    padding: 1.8rem;
}

.course-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.course-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--cian-frio);
    margin-bottom: 0.8rem;
}

.course-content h3 {
    margin-bottom: 0.5rem;
}

.course-subtitle {
    font-size: 0.85rem;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.course-meta span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.course-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-price {
    font-size: 0.8rem;
    color: var(--dorado);
    font-weight: 600;
}

/* ========== ROUTE GRID ========== */
.route-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .route-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .route-grid { grid-template-columns: 1fr; }
}

.route-step {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.8rem 1rem;
    transition: var(--transition);
}

.route-step:hover {
    transform: translateY(-5px);
    border-color: var(--dorado);
    box-shadow: var(--shadow-gold);
}

.route-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--cian-frio);
    margin: 0 auto 0.5rem;
}

.route-number {
    width: 52px;
    height: 52px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bg-primary);
}

.route-step h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.route-step p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== ORGANIGRAMA ========== */
.org-chart {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .org-chart { padding: 1.5rem; }
}

.org-director {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.org-team {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.org-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    max-width: 380px;
    width: 100%;
}

@media (max-width: 640px) {
    .org-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

.org-card:hover {
    border-color: var(--dorado);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.org-card-gold {
    border-color: var(--dorado);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

.org-avatar {
    width: 75px;
    height: 75px;
    background: var(--gradient-primary);
    border-radius: 50%;
    overflow: hidden;
}

.org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.org-info p {
    font-size: 0.8rem;
    color: var(--dorado);
    font-weight: 600;
}

/* Tooltip */
.org-tooltip {
    position: fixed;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dorado);
    border-radius: 24px;
    padding: 1.5rem;
    width: min(340px, 90vw);
    display: flex;
    gap: 1rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.org-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.tooltip-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.tooltip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tooltip-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.tooltip-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.tooltip-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.tooltip-close:hover {
    color: var(--dorado);
}

/* ========== BENEFITS GRID ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--dorado);
    box-shadow: var(--shadow-gold);
}

.benefit-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--cian-frio);
}

.benefit-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.benefit-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.benefit-card small {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.2rem;
}

/* ========== CARRUSEL ALUMNOS DESTACADOS ========== */
.certified-students-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem;
}

.certified-students-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: thin;
}

.certified-students-grid::-webkit-scrollbar {
    height: 6px;
}

.certified-students-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.certified-students-grid::-webkit-scrollbar-thumb {
    background: var(--azul-tecnico);
    border-radius: 10px;
}

.certified-students-grid::-webkit-scrollbar-thumb:hover {
    background: var(--dorado);
}

.certified-student-card {
    flex: 0 0 calc(100% - 1rem);
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.certified-student-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dorado);
}

.certified-student-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--gradient-primary);
}

.certified-student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certified-student-card:hover .certified-student-photo img {
    transform: scale(1.05);
}

.certified-student-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dorado);
    color: var(--bg-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
}

.certified-student-body {
    padding: 1.5rem;
}

.certified-student-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.certified-student-course {
    font-size: 0.9rem;
    color: var(--cian-frio);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.certified-student-generation {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.certified-student-testimonial {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 3px solid var(--dorado);
    padding-left: 0.75rem;
    margin-top: 0.75rem;
}

/* Controles carrusel */
.certified-students-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.certified-carousel-prev,
.certified-carousel-next {
    background: rgba(27, 108, 168, 0.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.3rem;
    color: var(--azul-tecnico);
}

.certified-carousel-prev:hover,
.certified-carousel-next:hover {
    background: var(--azul-tecnico);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.certified-students-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.certified-student-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
    opacity: 0.5;
}

.certified-student-dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--dorado);
    opacity: 1;
}

.certified-student-dot:hover:not(.active) {
    opacity: 1;
    background: var(--azul-tecnico);
}

/* Responsive carrusel */
@media (min-width: 768px) {
    .certified-student-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}
@media (min-width: 1024px) {
    .certified-student-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}
@media (min-width: 1400px) {
    .certified-student-card {
        flex: 0 0 calc(25% - 1.125rem);
    }
}
@media (max-width: 767px) {
    .certified-student-body {
        padding: 1rem;
    }
    .certified-student-body h3 {
        font-size: 1.1rem;
    }
    .certified-student-testimonial {
        font-size: 0.8rem;
    }
    .certified-carousel-prev,
    .certified-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Tema oscuro carrusel */
@media (prefers-color-scheme: dark) {
    .certified-students-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    .certified-carousel-prev,
    .certified-carousel-next {
        background: rgba(59, 130, 246, 0.2);
        color: #60A5FA;
    }
    .certified-carousel-prev:hover,
    .certified-carousel-next:hover {
        background: #2563EB;
        color: white;
    }
    .certified-student-dot {
        background: #334155;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .footer-logo { justify-content: center; }
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo strong {
    font-size: 1rem;
}

.footer-logo p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .social-links { justify-content: center; }
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: var(--dorado);
}

.social-links a:hover {
    background: var(--dorado);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--bg-primary);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dorado);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--dorado);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-seals {
    margin-top: 0.5rem;
    color: var(--dorado);
    font-size: 0.75rem;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 100;
    text-decoration: none;
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

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

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

@media (max-width: 640px) {
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .whatsapp-tooltip { display: none; }
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* ========== ANIMACIONES ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .hero-badge-card,
    .certified-student-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-badge-card {
        animation: none;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--dorado);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dorado-hover);
}

/* ========== UTILIDADES ========== */
.text-center { text-align: center; }
.hidden { display: none; }
.relative { position: relative; }