/* ============================================================
TALLER ALFA FAMILIA — ESTILOS COMPLETOS
ALFA 4.0 · División de Resiliencia Humana
Taller Presencial de 3 Horas para Padres de Familia
Versión: 3.0 (Scrollbar dorada dinámica)
============================================================ */

/* --- Fuentes Locales (Montserrat) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* --- Variables --- */
:root {
    --taller-primary: #1A7A6B;
    --taller-dark: #0F4A40;
    --taller-light: #E8F5F2;
    --taller-gold: #D4AF37;
    --taller-gold-light: #F5D97E;
    --taller-white: #FFFFFF;
    --taller-black: #0A0A0A;
    --taller-gray: #94A3B8;
    --taller-gray-light: #E2E8F0;
    --taller-font: 'Montserrat', sans-serif;

    /* Colores de acento */
    --accent-blue: #00B4D8;
    --accent-orange: #FF6B35;
    --accent-pink: #FF6B8A;
}

/* --- Reset y Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--taller-font);
    background: var(--taller-white);
    color: var(--taller-black);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
SECCIONES COMUNES
============================================================ */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--taller-gold);
    margin: 0 auto 20px;
}

.section-divider.gold-divider {
    background: var(--taller-gold);
}

.section-title {
    font-family: var(--taller-font);
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--taller-dark);
}

.section-title .gold-text {
    color: var(--taller-gold);
    background: linear-gradient(135deg, var(--taller-gold), var(--taller-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.light {
    color: var(--taller-white);
}

.section-subtitle {
    font-family: var(--taller-font);
    text-align: center;
    font-size: 1.1rem;
    color: #5A5A5A;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.section-subtitle.light {
    color: var(--taller-gray-light);
}

/* ============================================================
BOTONES
============================================================ */
.btn {
    font-family: var(--taller-font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--taller-gold);
    color: var(--taller-black);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.45);
    background: var(--taller-gold-light);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--taller-white);
    border: 2px solid rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
    border-color: var(--taller-gold);
    background: rgba(212, 175, 55, 0.12);
    color: var(--taller-gold);
    transform: translateY(-3px);
}

.btn-secondary.dark {
    background: transparent;
    color: var(--taller-dark);
    border: 2px solid var(--taller-gray);
}

.btn-secondary.dark:hover {
    border-color: var(--taller-gold);
    color: var(--taller-gold);
}

.pulse-btn {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
    }
    50% {
        box-shadow: 0 4px 60px rgba(212, 175, 55, 0.60), 0 0 80px rgba(212, 175, 55, 0.20);
    }
}

/* ============================================================
SECCIÓN 1: HERO (Imagen visible)
============================================================ */
.taller-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 5% 80px;
    font-family: var(--taller-font);
}

.taller-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.taller-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.70) contrast(1.05);
}

.taller-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(15, 74, 64, 0.60) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 100%, rgba(15, 74, 64, 0.60) 0%, transparent 70%),
        radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.30) 50%, rgba(10, 10, 10, 0.60) 100%);
    z-index: 1;
}

.taller-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

.taller-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.taller-firma {
    font-family: var(--taller-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--taller-white);
    opacity: 0.90;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.70);
}

.taller-title {
    font-family: var(--taller-font);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--taller-white);
    margin-bottom: 16px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.70);
}

.taller-title .gold-text {
    color: var(--taller-gold);
    background: linear-gradient(135deg, var(--taller-gold), var(--taller-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.taller-subtitle {
    font-family: var(--taller-font);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--taller-white);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.70);
}

.taller-subtitle strong {
    color: var(--taller-gold);
    font-weight: 700;
}

.taller-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 50px;
}

.taller-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.taller-meta-item {
    font-family: var(--taller-font);
    font-size: 0.9rem;
    color: var(--taller-white);
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.50);
}

.taller-meta-item i {
    color: var(--taller-gold);
    font-size: 1.1rem;
}

.taller-meta-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.10);
}

/* ============================================================
SECCIÓN 2: PROBLEMA Y PROPUESTA DE VALOR
============================================================ */
.taller-problema {
    width: 100%;
    padding: 100px 0;
    background: var(--taller-white);
    font-family: var(--taller-font);
}

.taller-problema-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.problema-card {
    background: var(--taller-white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
    border-top: 4px solid var(--card-accent, var(--taller-gold));
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
}

.problema-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.problema-icon {
    text-align: center;
    padding: 20px 0 10px;
    font-size: 2.2rem;
    color: var(--card-accent, var(--taller-primary));
}

.problema-header {
    text-align: center;
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--taller-gray-light);
}

.problema-header h4 {
    font-family: var(--taller-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--taller-dark);
    margin: 0;
}

.problema-body {
    padding: 16px 24px 24px;
}

.problema-impacto {
    text-align: center;
    padding: 12px;
    background: #FFF5F5;
    border-radius: 8px;
    margin-bottom: 10px;
}

.impacto-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E53E3E;
    margin-bottom: 6px;
}

.impacto-label i {
    margin-right: 4px;
}

.problema-impacto p {
    font-size: 0.9rem;
    color: #5A5A5A;
    line-height: 1.5;
    margin: 0;
}

.problema-flecha {
    text-align: center;
    padding: 4px 0;
    color: var(--card-accent, var(--taller-gold));
    font-size: 1.2rem;
}

.problema-solucion {
    text-align: center;
    padding: 12px;
    background: var(--taller-light);
    border-radius: 8px;
}

.solucion-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--taller-primary);
    margin-bottom: 6px;
}

.solucion-label i {
    margin-right: 4px;
}

.problema-solucion p {
    font-size: 0.9rem;
    color: var(--taller-dark);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* ============================================================
SECCIÓN 3: MARCO PEDAGÓGICO — LAS 3C
============================================================ */
.taller-3c {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FBF9 0%, var(--taller-light) 100%);
    font-family: var(--taller-font);
}

.taller-3c-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.crianza-card {
    background: var(--taller-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
    border-top: 4px solid var(--card-accent, var(--taller-gold));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
}

.crianza-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}

.crianza-icon {
    font-size: 3rem;
    color: var(--card-accent, var(--taller-primary));
    margin-bottom: 16px;
}

.crianza-card h4 {
    font-family: var(--taller-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--taller-dark);
    margin-bottom: 4px;
}

.crianza-subtitle {
    font-size: 1rem;
    color: #5A5A5A;
    margin-bottom: 12px;
}

.crianza-subtitle strong {
    color: var(--card-accent, var(--taller-primary));
    font-weight: 700;
}

.crianza-divider {
    width: 40px;
    height: 2px;
    background: var(--card-accent, var(--taller-gold));
    margin: 0 auto 16px;
}

.crianza-detail p {
    font-size: 0.95rem;
    color: #4A4A4A;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
SECCIÓN 4: ESTRUCTURA DEL TALLER
============================================================ */
.taller-estructura {
    width: 100%;
    padding: 100px 0;
    background: var(--taller-dark);
    position: relative;
    overflow: hidden;
    font-family: var(--taller-font);
}

.taller-estructura-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 122, 107, 0.30) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.10) 0%, transparent 60%);
    z-index: 0;
}

.taller-estructura .container {
    position: relative;
    z-index: 1;
}

.taller-progreso-total {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.progreso-info {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.progreso-info span {
    font-size: 0.9rem;
    color: var(--taller-gray-light);
}

.progreso-info strong {
    font-family: var(--taller-font);
    font-size: 2rem;
    font-weight: 800;
    color: var(--taller-gold);
}

.progreso-barra {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progreso-fill {
    height: 100%;
    background: linear-gradient(to right, var(--taller-gold), var(--taller-gold-light));
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progreso-leyenda {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.progreso-leyenda span {
    font-size: 0.7rem;
    color: var(--taller-gray-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.progreso-leyenda i {
    font-size: 0.5rem;
}

.taller-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bloque-item {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--bloque-accent, var(--taller-gold));
    transition: transform 0.3s ease, background 0.3s ease;
}

.bloque-item:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateX(6px);
}

.bloque-tiempo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 20px 12px;
    background: rgba(212, 175, 55, 0.10);
}

.tiempo-num {
    font-family: var(--taller-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bloque-accent, var(--taller-gold));
    line-height: 1;
}

.tiempo-unit {
    font-family: var(--taller-font);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--taller-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bloque-linea {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.linea-punto {
    width: 10px;
    height: 10px;
    background: var(--bloque-accent, var(--taller-gold));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.40);
}

.bloque-contenido {
    flex: 1;
    padding: 20px 24px;
}

.bloque-icon {
    font-size: 1.5rem;
    color: var(--bloque-accent, var(--taller-gold));
    margin-bottom: 8px;
}

.bloque-contenido h4 {
    font-family: var(--taller-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--taller-gold);
    margin-bottom: 8px;
}

.bloque-contenido p {
    font-size: 0.9rem;
    color: var(--taller-gray-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
SECCIÓN 5: TABS — ENTREGABLES + B2B
============================================================ */
.taller-tabs-seccion {
    width: 100%;
    padding: 100px 0;
    background: var(--taller-white);
    font-family: var(--taller-font);
}

.taller-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.taller-tab {
    font-family: var(--taller-font);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid var(--taller-gray-light);
    border-radius: 50px;
    background: var(--taller-white);
    color: #5A5A5A;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.taller-tab i {
    font-size: 1.1rem;
    color: var(--taller-gold);
}

.taller-tab:hover {
    border-color: var(--taller-primary);
    color: var(--taller-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.taller-tab.active {
    background: var(--taller-primary);
    border-color: var(--taller-primary);
    color: var(--taller-white);
    box-shadow: 0 4px 20px rgba(26, 122, 107, 0.20);
}

.taller-tab.active i {
    color: var(--taller-gold);
}

.taller-tabs-contenido {
    max-width: 1000px;
    margin: 0 auto;
}

.taller-tab-panel {
    display: none;
    animation: tab-fade 0.4s ease;
}

.taller-tab-panel.active {
    display: block;
}

@keyframes tab-fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Entregables */
.entregables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.entregable-card {
    background: var(--taller-white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
    border-top: 4px solid var(--entregable-accent, var(--taller-gold));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.entregable-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.entregable-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--taller-font);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--entregable-accent, var(--taller-gold));
    opacity: 0.30;
}

.entregable-icon {
    font-size: 2.5rem;
    color: var(--entregable-accent, var(--taller-gold));
    margin-bottom: 16px;
}

.entregable-card h4 {
    font-family: var(--taller-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--taller-dark);
    margin-bottom: 8px;
}

.entregable-card p {
    font-size: 0.9rem;
    color: #5A5A5A;
    line-height: 1.6;
    margin: 0;
}

/* B2B Panels */
.b2b-panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.b2b-info {
    background: var(--taller-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
}

.b2b-icon {
    font-size: 3rem;
    color: var(--taller-primary);
    margin-bottom: 16px;
}

.b2b-info h3 {
    font-family: var(--taller-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--taller-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.b2b-info > p {
    font-size: 0.95rem;
    color: #5A5A5A;
    line-height: 1.6;
    margin-bottom: 20px;
}

.b2b-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2b-beneficios li {
    font-size: 0.9rem;
    color: #4A4A4A;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    line-height: 1.5;
}

.b2b-beneficios li i {
    color: var(--taller-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.b2b-cta-box {
    background: var(--taller-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--taller-gold);
    text-align: center;
}

.b2b-cta-box h4 {
    font-family: var(--taller-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--taller-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.b2b-cta-box p {
    font-size: 0.9rem;
    color: #5A5A5A;
    margin-bottom: 20px;
}

.b2b-cta-box .btn {
    width: 100%;
    margin-bottom: 10px;
}

.b2b-cta-box .btn:last-child {
    margin-bottom: 0;
}

/* ============================================================
ECOSISTEMA — Scrollbar dorada dinámica
============================================================ */
.junior-ecosistema {
    width: 100%;
    padding: 80px 0 60px;
    background: var(--taller-light);
    font-family: var(--taller-font);
    overflow-x: hidden;
}

.junior-ecosistema-inner {
    width: 100%;
}

.junior-ecosistema-grid-wrapper {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.junior-ecosistema-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.ecosistema-card {
    background: var(--taller-white);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    border: 1px solid rgba(26, 122, 107, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ecosistema-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ecosistema-card.featured {
    background: var(--taller-white);
    border: 2px solid var(--taller-gold);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.12);
    position: relative;
}

.ecosistema-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--taller-gold), transparent, var(--taller-gold));
    z-index: -1;
    opacity: 0.30;
    animation: ecosistema-glow 3s ease-in-out infinite;
}

@keyframes ecosistema-glow {
    0%, 100% { opacity: 0.30; }
    50% { opacity: 0.60; }
}

.ecosistema-icon {
    font-size: 2rem;
    color: var(--taller-gold);
    display: block;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ecosistema-card h4 {
    font-family: var(--taller-font);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--taller-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.ecosistema-card p {
    font-family: var(--taller-font);
    font-size: 0.65rem;
    color: #5A5A5A;
    line-height: 1.3;
    margin-bottom: 8px;
    flex-grow: 1;
}

.ecosistema-card p strong {
    color: var(--taller-dark);
}

.ecosistema-card .btn-sm {
    font-size: 0.6rem;
    padding: 4px 12px;
    background: transparent;
    color: var(--taller-dark);
    border: 1.5px solid var(--taller-gray);
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: auto;
}

.ecosistema-card .btn-sm:hover {
    border-color: var(--taller-gold);
    color: var(--taller-gold);
}

.ecosistema-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--taller-gold);
    color: var(--taller-black);
    font-family: var(--taller-font);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 4px;
}

/* ============================================================
SECCIÓN 7: CTA FINAL
============================================================ */
.taller-cta-final {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 5%;
    overflow: hidden;
    font-family: var(--taller-font);
}

.taller-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.taller-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.50;
    filter: brightness(0.60) contrast(1.05);
}

.taller-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.80) 0%, rgba(15, 74, 64, 0.60) 100%);
    z-index: 1;
}

.taller-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: var(--taller-gold);
    color: var(--taller-black);
    font-family: var(--taller-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: cta-badge-pulse 2s ease-in-out infinite;
}

@keyframes cta-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.taller-cta-content h2 {
    font-family: var(--taller-font);
    font-size: 3rem;
    font-weight: 800;
    color: var(--taller-white);
    margin-bottom: 16px;
    text-align: center;
}

.taller-cta-content h2 .gold-text {
    color: var(--taller-gold);
    background: linear-gradient(135deg, var(--taller-gold), var(--taller-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.taller-cta-content > p {
    font-family: var(--taller-font);
    font-size: 1.1rem;
    color: var(--taller-gray-light);
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
    max-width: 700px;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-info span {
    font-family: var(--taller-font);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--taller-gray-light);
    font-size: 0.95rem;
}

.cta-info span i {
    color: var(--taller-gold);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 16px;
}

.cta-nota {
    font-family: var(--taller-font);
    font-size: 0.85rem;
    color: var(--taller-gray);
    margin-top: 16px;
    text-align: center;
}

/* ============================================================
RESPONSIVE — ECOSISTEMA CON SCROLLBAR DORADA DINÁMICA
============================================================ */

/* Desktop amplio (>1200px): 9 columnas en 1 fila */
@media (min-width: 1201px) {
    .junior-ecosistema-grid {
        grid-template-columns: repeat(9, 1fr);
        overflow-x: visible;
    }
}

/* Desktop medio (993px - 1200px): Scroll horizontal */
@media (max-width: 1200px) and (min-width: 993px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
        padding: 0 20px 16px;
    }

    .junior-ecosistema-grid-wrapper:active {
        cursor: grabbing;
    }

    /* Scrollbar invisible por defecto */
    .junior-ecosistema-grid-wrapper::-webkit-scrollbar {
        height: 6px;
        background: transparent;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 6px;
    }

    /* Scrollbar dorada solo al hacer scroll */
    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:active::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:focus-within::-webkit-scrollbar-thumb {
        background: var(--taller-gold);
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb:hover {
        background: var(--taller-gold-light);
    }

    /* Firefox */
    .junior-ecosistema-grid-wrapper {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .junior-ecosistema-grid-wrapper:hover,
    .junior-ecosistema-grid-wrapper:active {
        scrollbar-color: var(--taller-gold) transparent;
    }

    .junior-ecosistema-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        min-width: 100%;
        padding: 4px 0;
    }

    .ecosistema-card {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
        min-height: 200px;
        scroll-snap-align: start;
    }
}

/* Tablet (769px - 992px): 3 columnas */
@media (min-width: 769px) and (max-width: 992px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: visible;
        padding: 0 20px;
        cursor: default;
    }

    .junior-ecosistema-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    .ecosistema-card {
        flex: auto;
        min-width: auto;
        max-width: none;
        min-height: 200px;
        padding: 20px 14px;
    }

    .ecosistema-icon {
        font-size: 2rem;
    }

    .ecosistema-card h4 {
        font-size: 0.85rem;
    }

    .ecosistema-card p {
        font-size: 0.7rem;
    }
}

/* Móvil (<768px): Scroll horizontal */
@media (max-width: 768px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
        padding: 0 16px 16px;
    }

    .junior-ecosistema-grid-wrapper:active {
        cursor: grabbing;
    }

    /* Scrollbar invisible por defecto */
    .junior-ecosistema-grid-wrapper::-webkit-scrollbar {
        height: 4px;
        background: transparent;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 4px;
    }

    /* Scrollbar dorada solo al hacer scroll */
    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:active::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:focus-within::-webkit-scrollbar-thumb {
        background: var(--taller-gold);
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    /* Firefox */
    .junior-ecosistema-grid-wrapper {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .junior-ecosistema-grid-wrapper:hover,
    .junior-ecosistema-grid-wrapper:active {
        scrollbar-color: var(--taller-gold) transparent;
    }

    .junior-ecosistema-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        min-width: 100%;
        padding: 4px 0;
    }

    .ecosistema-card {
        flex: 0 0 180px;
        min-width: 180px;
        max-width: 180px;
        min-height: 200px;
        scroll-snap-align: start;
    }
}

/* Móvil pequeño (<480px): Cards más compactas */
@media (max-width: 480px) {
    .ecosistema-card {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
        min-height: 180px;
    }

    .ecosistema-icon {
        font-size: 1.8rem;
    }

    .ecosistema-card h4 {
        font-size: 0.75rem;
    }

    .ecosistema-card p {
        font-size: 0.6rem;
    }

    .ecosistema-card .btn-sm {
        font-size: 0.55rem;
        padding: 4px 10px;
    }
}

/* ============================================================
RESPONSIVE GENERAL
============================================================ */
@media (max-width: 992px) {
    .taller-title {
        font-size: 2.5rem;
    }

    .taller-3c-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .entregables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b2b-panel-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .taller-hero {
        padding: 120px 5% 60px;
        min-height: auto;
        min-height: 100svh;
    }

    .taller-title {
        font-size: 2rem;
    }

    .taller-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .taller-ctas,
    .cta-actions {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .taller-ctas .btn,
    .cta-actions .btn {
        width: 100%;
        max-width: 350px;
    }

    .taller-problema-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .taller-3c-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .entregables-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .bloque-item {
        flex-direction: column;
    }

    .bloque-tiempo {
        flex-direction: row;
        min-width: auto;
        padding: 12px 20px;
        justify-content: flex-start;
        gap: 8px;
    }

    .bloque-linea {
        display: none;
    }

    .taller-cta-content h2 {
        font-size: 2rem;
    }

    .cta-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .taller-meta {
        flex-direction: column;
        gap: 8px;
    }

    .taller-meta-sep {
        display: none;
    }

    .taller-tabs-nav {
        flex-direction: column;
        align-items: center;
    }

    .taller-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .taller-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .taller-cta-content h2 {
        font-size: 1.6rem;
    }

    .b2b-cta-box {
        padding: 24px 16px;
    }

    .b2b-cta-box h4 {
        font-size: 1.1rem;
    }

    .b2b-info {
        padding: 20px 16px;
    }
}