/* ==========================================================================
   CORPORACIÓN SANTA FE - LANDING PAGE TÉCNICOS LABORALES
   Sistema de Diseño CRO de Alta Conversión (Vanilla CSS Moderno)
   ========================================================================== */

:root {
    /* Paleta Institucional */
    --primary: #1b5e20;            /* Verde Institucional Profundo */
    --primary-hover: #144718;
    --primary-light: #2e7d32;
    --primary-subtle: #e8f5e9;
    --primary-dark: #0a290e;

    --accent: #d97706;             /* Dorado / Ámbar Prestigio */
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    --accent-glow: rgba(217, 119, 6, 0.35);

    --secondary: #0284c7;          /* Azul Confianza & Tecnología */
    --secondary-hover: #0369a1;
    --secondary-subtle: #e0f2fe;

    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;

    /* Neutros y Superficies */
    --text-main: #0f172a;          /* Slate 900 para máxima legibilidad */
    --text-muted: #475569;         /* Slate 600 */
    --text-light: #94a3b8;         /* Slate 400 */
    --bg-body: #f8fafc;            /* Gris perla limpio */
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --border-focus: #1b5e20;

    /* Sombras y Elevaciones */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 30px -10px rgba(27, 94, 32, 0.18);

    /* Tipografía */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Dimensiones */
    --header-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & CONFIGURACIÓN GLOBAL
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   LAYOUT Y CONTENEDORES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   0. BARRA DE PROGRESO DE SCROLL TEMÁTICA
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1050;
    pointer-events: none;
}

.scroll-progress-bar {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 70%, #f59e0b 100%);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.6);
    transition: width 0.05s linear;
}

.scroll-mortarboard {
    position: absolute;
    right: -10px;
    top: -9px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transform: rotate(0deg);
}

/* ==========================================================================
   TOP STATUS BAR / DETECTOR EN VIVO
   ========================================================================== */
.top-status-bar {
    background-color: var(--primary-dark);
    color: #ffffff;
    font-size: 0.8125rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.pulse-dot {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.status-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.legal-badge {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.legal-badge i {
    color: var(--accent);
}

.campus-shortcut-link {
    color: #ffd166;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.5rem;
    background: rgba(255, 209, 102, 0.15);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.campus-shortcut-link:hover {
    color: #ffffff;
    background: rgba(255, 209, 102, 0.3);
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    padding: 0.5rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-item {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

.nav-item.highlight-nav {
    color: var(--accent-hover);
}

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

/* ==========================================================================
   BOTONES Y ELEMENTOS DE ACCIÓN
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-accent-pulse {
    background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-glow);
    animation: btnPulse 2.8s infinite;
}

.btn-accent-pulse:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45);
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 14px var(--accent-glow); }
    50% { box-shadow: 0 4px 22px rgba(217, 119, 6, 0.6); }
}

.btn-outline-campus {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-campus:hover {
    background: var(--primary-subtle);
    color: var(--primary-hover);
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
}

.btn-primary-hero:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(27, 94, 32, 0.4);
}

.btn-whatsapp-hero {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
}

.btn-whatsapp-hero:hover {
    background-color: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
}

.btn-accent {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
}

.btn-outline-dark {
    border: 1.5px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline-dark:hover {
    background-color: var(--text-main);
    color: #ffffff;
}

.btn-select-program {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
}

.btn-select-program:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    transform: translateY(-2px);
}

.btn-icon-round {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-icon-round:hover {
    background: var(--primary-subtle);
    color: var(--primary-hover);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(145deg, #0f2b13 0%, #17421c 45%, #0d2110 100%);
    color: #ffffff;
    padding: 4.5rem 0 5rem 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.5);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.rotator-wrapper {
    display: block;
    position: relative;
    color: #f59e0b;
    height: 1.25em;
    overflow: hidden;
    margin-top: 0.2rem;
}

.rotator-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

.rotator-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.hero-description strong {
    color: #ffffff;
}

.hero-description em {
    color: #fde68a;
    font-style: normal;
    font-weight: 600;
}

/* Panel de Tacómetro y Estadísticas */
.hero-stats-panel {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
}

.tachometer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 1.75rem;
}

.tachometer-svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#tachoNeedle {
    transform-origin: 80px 80px;
    transition: transform 1.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.tacho-data {
    text-align: center;
    margin-top: -0.25rem;
}

.tacho-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
    display: block;
    line-height: 1;
}

.tacho-label {
    font-size: 0.7rem;
    color: #cbd5e1;
    font-weight: 600;
}

.hero-micro-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.micro-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.micro-badge i {
    color: #22c55e;
}

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

/* Media Hero */
.hero-media-wrapper {
    position: relative;
}

.hero-card-featured {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-img-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-card-featured:hover .hero-img {
    transform: scale(1.03);
}

.hero-img-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #ffffff;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    font-size: 0.9375rem;
    font-family: var(--font-heading);
}

.badge-text small {
    color: #94a3b8;
    font-size: 0.75rem;
}

.hero-programs-ticker {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0.25rem 0.25rem 0.25rem;
    overflow-x: auto;
}

.ticker-pill {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ticker-pill.active-pill,
.ticker-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   2. CATÁLOGO INTERACTIVO DE TÉCNICOS
   ========================================================================== */
.programs-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
}

/* Filtros */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    background: var(--bg-alt);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--border-color);
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(27, 94, 32, 0.25);
}

/* Grid de Tarjetas */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.program-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(27, 94, 32, 0.3);
}

.card-badge-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.featured-badge {
    background: var(--accent);
    color: #ffffff;
}

.justice-badge {
    background: #475569;
    color: #ffffff;
}

.logistics-badge {
    background: #0284c7;
    color: #ffffff;
}

.security-badge {
    background: #059669;
    color: #ffffff;
}

.program-img-box {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

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

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

.program-overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
}

.overlay-tag {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

.program-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.meta-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.program-title {
    font-family: var(--font-heading);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.program-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.program-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

.highlight-item {
    display: flex;
    gap: 0.65rem;
    font-size: 0.8125rem;
}

.highlight-item i {
    font-size: 0.95rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.highlight-item strong {
    color: var(--text-main);
    display: block;
}

.highlight-item span {
    color: var(--text-muted);
}

.program-curriculum-snippet {
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.snippet-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.4rem;
}

.program-curriculum-snippet ul {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.program-curriculum-snippet li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
}

.program-curriculum-snippet li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    color: var(--primary);
    font-weight: bold;
}

.program-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.price-estimate {
    margin-bottom: 0.85rem;
}

.price-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
}

.price-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
}

.card-btn-group {
    display: flex;
    gap: 0.5rem;
}

/* Callout Box */
.program-callout-box {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid var(--border-color);
}

.callout-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.callout-content {
    flex-grow: 1;
}

.callout-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.callout-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.callout-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ==========================================================================
   3. ZONA DE INSPECCIÓN CON HOTSPOTS
   ========================================================================== */
.hotspot-section {
    padding: 5.5rem 0;
    background-color: var(--bg-body);
}

.hotspot-selector-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hotspot-tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.hotspot-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hotspot-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.hotspot-stage-wrapper {
    max-width: 960px;
    margin: 0 auto 2rem auto;
}

.hotspot-stage {
    display: none;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    background: #000;
}

.hotspot-stage.active {
    display: block;
    animation: fadeInStage 0.4s ease;
}

@keyframes fadeInStage {
    from { opacity: 0; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}

.hotspot-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

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

/* Pines de Hotspot */
.hotspot-pin {
    position: absolute;
    width: 38px;
    height: 38px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.45);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border: 2px solid #ffffff;
    transition: transform var(--transition-fast);
}

.hotspot-pin:hover .hotspot-core,
.hotspot-pin.active .hotspot-core {
    transform: scale(1.15);
    background: var(--primary);
}

/* Tooltips */
.hotspot-tooltip-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 320px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: #ffffff;
    z-index: 20;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.hotspot-tooltip-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hotspot-tooltip-card h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 0.35rem;
}

.hotspot-tooltip-card p {
    font-size: 0.8125rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.tip-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.hotspot-legend {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   4. ROADMAP DE EXPERIENCIA EN 5 HITOS
   ========================================================================== */
.roadmap-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    padding-left: 3rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 70%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
}

.roadmap-step {
    position: relative;
    margin-bottom: 2.75rem;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    position: absolute;
    left: -3rem;
    top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--text-light);
    display: none;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px var(--bg-surface);
    transition: all var(--transition-fast);
}

.roadmap-step:hover .step-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.step-content {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-fast);
}

.roadmap-step:hover .step-content {
    border-color: rgba(27, 94, 32, 0.4);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.step-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================================
   5. WIZARD / COTIZADOR EN 4 PASOS
   ========================================================================== */
.wizard-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}

.wizard-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.wizard-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wizard-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-hover);
    background: var(--accent-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.wizard-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.wizard-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.wizard-progress {
    height: 8px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.4s ease;
}

.wizard-steps-indicators {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-light);
}

.step-dot.active {
    color: var(--primary);
}

.wizard-body {
    min-height: 280px;
    margin-bottom: 2rem;
}

.wizard-step-pane {
    display: none;
}

.wizard-step-pane.active {
    display: block;
    animation: fadeInPane 0.35s ease;
}

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

.pane-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.wizard-options-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wizard-card-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.wizard-card-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-content {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
}

.wizard-card-option:hover .option-content {
    border-color: rgba(27, 94, 32, 0.4);
    transform: translateY(-2px);
}

.wizard-card-option input[type="radio"]:checked + .option-content {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.15);
}

.opt-icon {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.option-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.option-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.opt-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    background: var(--accent);
    color: #ffffff;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

/* Subformulario de Contacto en Paso 4 */
.wizard-contact-subform {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
}

.wizard-contact-subform h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.contact-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group-custom label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.input-group-custom input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast);
}

.input-group-custom input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
}

.terms-check input {
    margin-top: 0.2rem;
}

/* Resumen Dinámico en Tiempo Real */
.wizard-summary-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.wizard-summary-box.flash-update {
    animation: highlightFlash 0.6s ease;
}

@keyframes highlightFlash {
    0% { background-color: rgba(254, 243, 199, 0.9); }
    100% { background-color: #f8fafc; }
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-main);
}

.pulse-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.summary-item .lbl {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.summary-item strong {
    font-size: 0.875rem;
    color: var(--primary);
    display: block;
    line-height: 1.3;
}

/* Controles de Navegación */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right-group {
    display: flex;
    gap: 0.75rem;
}

.btn-wizard-nav {
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    border: 1.5px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
}

.btn-wizard-nav:hover {
    background: var(--bg-alt);
}

.btn-wizard-next {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-wizard-next:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.btn-whatsapp-direct {
    background: #25d366;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-direct:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-email-submit {
    background: var(--secondary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-email-submit:hover {
    background: var(--secondary-hover);
    color: #ffffff;
}

/* ==========================================================================
   6. ZONA DE GAMIFICACIÓN: TEST VOCACIONAL (QUIZ + CONFETI)
   ========================================================================== */
.quiz-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.quiz-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
}

.confetti-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.quiz-intro {
    padding: 1rem 0;
}

.quiz-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
}

.quiz-mini-progress {
    width: 160px;
    height: 6px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quiz-mini-progress div {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.quiz-q-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.quiz-answers-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-answer-btn {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.quiz-answer-btn:hover {
    border-color: var(--primary);
    background: var(--primary-subtle);
    transform: translateX(4px);
}

.ans-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.quiz-answer-btn:hover .ans-letter {
    background: var(--primary);
    color: #ffffff;
}

/* Resultado */
.quiz-result-card {
    text-align: center;
    padding: 1rem 0;
    animation: fadeInResult 0.5s ease;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.result-celebration-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.result-headline {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.result-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.result-recommended-box {
    background: #ffffff;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.result-recommended-box h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.result-recommended-box p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   7. BLOQUE B2B CORPORATIVO
   ========================================================================== */
.b2b-section {
    padding: 4rem 0;
    background-color: var(--bg-body);
}

.b2b-card-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.b2b-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(217, 119, 6, 0.25);
    color: #fde68a;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.b2b-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.b2b-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.b2b-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.b2b-cta-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.b2b-cta-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.b2b-cta-card p {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.btn-whatsapp-full {
    width: 100%;
    background: #25d366;
    color: #ffffff;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-whatsapp-full:hover {
    background: #1eb956;
    color: #ffffff;
}

.btn-sm-custom {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ==========================================================================
   8. RESPALDO LEGAL Y TESTIMONIOS
   ========================================================================== */
.legal-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.legal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.legal-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.legal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.65rem;
}

.legal-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.legal-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legal-link:hover {
    text-decoration: underline;
}

.legal-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Testimonios */
.testimonials-block {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    border: 1px solid var(--border-color);
}

.testimonials-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

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

.testi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testi-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.2rem;
}

.testi-quote {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-author strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-main);
}

.testi-author span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================================================
   9. PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-section {
    padding: 5.5rem 0;
    background-color: var(--bg-body);
}

.faq-accordion-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(27, 94, 32, 0.3);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    background: #ffffff;
}

.faq-trigger i {
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.5rem;
}

.faq-panel p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-bottom: 1.25rem;
}

/* ==========================================================================
   10. CONTACTO Y SEDE FACATATIVÁ
   ========================================================================== */
.contact-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.contact-info-panel h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-info-panel p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-card-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.c-item {
    display: flex;
    gap: 1rem;
}

.c-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-main);
}

.c-item span,
.c-item a {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.c-item a:hover {
    color: var(--primary);
}

.campus-invite-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.invite-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.campus-invite-box strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.campus-invite-box p {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.btn-campus-light {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-campus-light:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.contact-map-panel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.map-frame-box {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.main-footer {
    background-color: #0b1e10;
    color: #ffffff;
    padding-top: 4.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-legal-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--transition-fast);
}

.footer-social-links a:hover {
    background: var(--accent);
    color: #ffffff;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fde68a;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #cbd5e1;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-address {
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #94a3b8;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp-wrap {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform var(--transition-fast);
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    color: #ffffff;
}

.whatsapp-radar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25d366;
    opacity: 0.8;
    animation: radarRipple 2.2s infinite;
}

@keyframes radarRipple {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-bubble {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    max-width: 290px;
    margin-bottom: 0.75rem;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-base);
}

.whatsapp-bubble.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bubble-close {
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    font-size: 1.25rem;
    color: var(--text-light);
}

.bubble-header {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.whatsapp-bubble p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.bubble-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #25d366;
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
}

.bubble-action-btn:hover {
    background: #1eb956;
    color: #ffffff;
}

/* ==========================================================================
   MODAL DE CONFIRMACIÓN
   ========================================================================== */
.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-card-custom {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.text-success {
    color: var(--success);
}

.text-accent {
    color: var(--accent);
}

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

.modal-card-custom h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.modal-card-custom p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-media-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .b2b-card-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        display: none;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .nav-actions a {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .tachometer-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-right: 0;
        padding-bottom: 1rem;
        width: 100%;
    }

    .wizard-options-grid,
    .wizard-options-grid.grid-3 {
        grid-template-columns: 1fr;
    }

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

    .contact-inputs-grid {
        grid-template-columns: 1fr;
    }

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

    .program-callout-box {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .callout-actions {
        flex-direction: column;
        width: 100%;
    }

    .callout-actions .btn {
        width: 100%;
    }

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

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

/* Reducción de movimiento para A11y */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
