/* ====================================
   DESIGN SYSTEM - Radical Simplicity
   ==================================== */

:root {
    /* Color Palette - True Robbins Authority */
    --tr-dark-blue: #040b15;
    --tr-blue: #0077ff;
    --tr-gold: #b89650;
    --tr-white: #ffffff;

    /* Legacy Map for compatibility */
    --bg-primary: var(--tr-dark-blue);
    --bg-white: #FFFFFF;
    --text-carbon: #E5E7EB;
    --accent-blue: var(--tr-blue);
    --accent-orange: var(--tr-gold);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-italic: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ====================================
   BASE STYLES
   ==================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    transform: none !important;
    /* Critical for position: fixed header */
}

/* ====================================
   SKELETON LOADER
   ==================================== */

.skeleton-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.skeleton-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.skeleton-face {
    display: flex;
    gap: 2rem;
}

.skeleton-letter {
    font-family: var(--font-title);
    font-size: 6rem;
    font-weight: 700;
    color: #E0E0E0;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-letter:nth-child(1) {
    animation-delay: 0s;
}

.skeleton-letter:nth-child(2) {
    animation-delay: 0.2s;
}

.skeleton-letter:nth-child(3) {
    animation-delay: 0.4s;
}

.skeleton-letter:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes skeleton-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ====================================
   READING PROGRESS BAR
   ==================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    z-index: 1000;
    transition: width 0.1s ease;
}

/* ====================================
   SECTION HEADERS & TRANSITIONS
   ==================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.section-title-main {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-carbon);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title-main::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    margin: var(--spacing-xs) auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}



/* ====================================
   HEADER - Tony Robbins Authority Style
   ==================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    background: rgba(4, 11, 21, 0.95);
    /* #040b15 with 95% opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    /* Internal spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    /* Always white for Robbins Impact */
    position: relative;
    cursor: pointer;
    letter-spacing: 2px;
}

/* Minimalist Circular Hamburger */
.menu-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle circular button */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.menu-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-icon span {
    width: 20px;
    height: 2px;
    background: white;
    /* Pure white icons */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.35);
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .main-header {
        top: 10px;
        width: calc(100% - 20px);
        left: 50%;
        transform: translateX(-50%);
        padding: 0.875rem 1.25rem;
        border-radius: 16px;
    }

    .main-header.scrolled {
        top: 8px;
        width: calc(100% - 24px);
        /* Keeps left: 50% and transform from base state */
    }

    .logo {
        font-size: 1.25rem;
    }

    .menu-icon {
        width: 40px;
        height: 40px;
    }
}

/* ====================================
   FULLSCREEN MENU - Tony Robbins Minimalist
   ==================================== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    /* Pure black */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fullscreen-menu.active {
    display: flex;
    opacity: 1;
}

.menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close:hover {
    color: #b89650;
    /* Gold on hover */
    transform: scale(1.1);
}

.fullscreen-menu nav {
    text-align: center;
}

/* Main menu list */
.menu-main-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-main-list>li {
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active .menu-main-list>li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.fullscreen-menu.active .menu-main-list>li:nth-child(1) {
    transition-delay: 0.1s;
}

.fullscreen-menu.active .menu-main-list>li:nth-child(2) {
    transition-delay: 0.2s;
}

.fullscreen-menu.active .menu-main-list>li:nth-child(3) {
    transition-delay: 0.3s;
}

.fullscreen-menu.active .menu-main-list>li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Main menu links - Large, bold, impactful */
.menu-link {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.menu-link:hover {
    color: #b89650;
    /* Gold hover */
}

/* Parent menu item with submenu */
.menu-parent {
    position: relative;
}

.menu-parent-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.menu-arrow {
    font-size: 2rem;
    transition: transform 0.3s ease;
    color: #b89650;
}

.menu-parent.expanded .menu-arrow {
    transform: rotate(90deg);
}

/* Submenu */
.menu-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.menu-parent.expanded .menu-submenu {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.menu-submenu li {
    margin: 0.5rem 0;
}

/* Submenu links - Smaller, indented */
.menu-sublink {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #cccccc;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.menu-sublink:hover {
    color: #ffffff;
    padding-left: 3rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .menu-link {
        font-size: 2rem;
        padding: 1rem 0;
    }

    .menu-sublink {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }

    .menu-sublink:hover {
        padding-left: 1.5rem;
    }

    .menu-close {
        font-size: 2.5rem;
        top: 20px;
        right: 20px;
    }

    .menu-arrow {
        font-size: 1.5rem;
    }
}

/* ====================================
   RETO DE INGENIO SECTION
   ==================================== */
.reto-ingenio-section {
    padding: 100px 20px;
    background: var(--tr-dark-blue);
    color: #ffffff;
}

.reto-header {
    text-align: center;
    margin-bottom: 60px;
}

.reto-intro {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--tr-text-gray);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.7;
    font-family: var(--font-body);
}

.reto-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.reto-feature {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 150, 80, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reto-feature:hover {
    transform: translateY(-5px);
    border-color: var(--tr-gold);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--tr-gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.reto-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.reto-feature p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--tr-text-gray);
    line-height: 1.6;
}

.reto-cta-wrapper {
    text-align: center;
}

.reto-cta-note {
    font-size: 0.9rem;
    color: var(--tr-text-gray);
    margin-top: 15px;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .reto-ingenio-section {
        padding: 60px 20px;
    }

    .reto-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reto-feature {
        padding: 30px 20px;
    }
}


/* ====================================
   PROGRAMS GRID (programas.html)
   ==================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(184, 150, 80, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.program-card:not(.program-coming-soon):hover {
    transform: translateY(-10px);
    border-color: var(--tr-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(184, 150, 80, 0.2);
}

.program-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--tr-gold);
    color: var(--tr-dark-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 30px 0 20px 0;
    color: var(--tr-gold);
}

.program-icon svg {
    width: 100%;
    height: 100%;
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.program-card p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--tr-text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.program-features span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.8;
}

.program-cta {
    width: 100%;
    background: var(--tr-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.program-cta:hover {
    background-color: #005fcc;
    transform: translateY(-2px);
}

.program-coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

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

    .program-card {
        padding: 35px 25px;
    }
}


/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    padding: var(--spacing-md);
}

.hero-container {
    text-align: center;
    max-width: 900px;
}

.kinetic-text {
    margin-bottom: var(--spacing-md);
}

/* ====================================
   TRUE ROBBINS AUTHORITY HERO
   ==================================== */

/* Hero Section Ajuste */
.tr-hero {
    padding-top: 80px;
    /* Crea espacio para el header sin tapar el badge */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background-color: var(--tr-dark-blue);
    overflow: hidden;
}

.tr-hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tr-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* El tinte azul profundo característico */
.tr-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(4, 11, 21, 0.4) 0%, rgba(4, 11, 21, 0.95) 100%);
    z-index: 1;
}

.tr-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.tr-badge {
    font-family: var(--font-heading);
    color: var(--tr-gold);
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
}

.tr-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
    color: #ffffff;
    /* Explicitly set to white */
}

.tr-italic {
    font-family: var(--font-italic);
    font-style: italic;
    font-weight: 400;
    color: var(--tr-white);
}

.tr-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #E0E0E0;
    font-family: var(--font-body);
}

.tr-bold {
    font-weight: 700;
    color: white;
}

.tr-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botón Estilo Tony Robbins */
.tr-btn-blue {
    background-color: var(--tr-blue);
    color: white;
    padding: 18px 40px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tr-btn-blue:hover {
    background-color: #005fcc;
    transform: translateY(-2px);
}

.tr-header {
    position: fixed;
    /* Flota sobre el contenido */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
    /* Transparente al inicio */
}

/* Esta clase se activará con JS cuando el usuario baje */
.tr-header.scrolled {
    background: rgba(4, 11, 21, 0.95);
    /* Azul profundo Robbins al bajar */
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-btn-outline {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tr-btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}


/* ====================================
   TR PROBLEM SECTION (WHITE CONTRAST)
   ==================================== */


.tr-problem-section {
    background: #fff;
    color: #000;
    padding: 100px 20px;
    /* Desktop */
    text-align: center;
}

@media (max-width: 768px) {
    .tr-problem-section {
        padding: 40px 20px;
        /* Mobile */
    }
}

.tr-section-title-dark {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 50px;
    line-height: 1.2;
}

.tr-italic-dark {
    font-family: var(--font-italic);
    font-style: italic;
    color: var(--tr-gold);
}

.tr-problem-grid {
    display: grid;
    /* Reduced minmax to 280px to fit mobile screens (320px + gap was overflowing 375px viewport) */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.tr-problem-item h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--tr-dark-blue);
}

.tr-problem-item p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.7;
}


/* ====================================
   TR MANIFESTO SECTION (LAWS) - MOBILE OPTIMIZED
   ==================================== */

.tr-manifesto-section {
    padding: 80px 20px;
    background-color: var(--tr-dark-blue);
}

.tr-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tr-gold-title {
    color: var(--tr-gold);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    /* Reduced margin to accommodate intro */
}

/* Introducción del Manifiesto */
.tr-manifesto-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: var(--tr-text-gray);
    font-weight: 300;
    font-family: var(--font-body);
}

/* Contenedor de la Cuadrícula RESPONSIVO */
/* Contenedor de la Cuadrícula RESPONSIVO */
.manifesto-grid {
    display: grid;
    /* En móviles 1 columna, en tablets 2, en desktop 3-4 */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    /* Reduced gap */
    margin-top: 40px;
    /* CRITICAL FIX: Prevent cards from stretching to match tallest card in row */
    align-items: start;
}

/* --- MANIFIESTO CARD 2.0 (PREMIUM COMPACT) --- */

.manifesto-card {
    background: #050505;
    /* Negro casi puro */
    border: 1px solid #1a1a1a;
    /* Borde muy sutil */
    border-left: 3px solid #333;
    /* Acento izquierdo apagado */
    padding: 0;
    /* Quitamos padding global para manejarlo por secciones */
    border-radius: 8px;
    margin-bottom: 12px;
    /* Separación entre tarjetas */
    cursor: pointer;
    overflow: hidden;
    /* Vital para la animación */
    transition: all 0.3s ease;
    position: relative;
    display: block;
    /* Reset flex */
    min-height: auto;
}

/* Hover: Se ilumina sutilmente */
.manifesto-card:hover {
    background: #0e0e0e;
    border-left-color: var(--tr-gold);
    /* El borde izq se enciende */
    transform: translateX(5px);
    /* Movimiento lateral premium */
}

/* --- HEADER (LO QUE SE VE SIEMPRE) --- */
.card-header {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    /* Aquí va el padding ahora */
    gap: 20px;
}

/* Número Estilizado */
.card-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #444;
    /* Apagado por defecto */
    transition: 0.3s;
    line-height: 1;
    margin: 0;
}

/* Título */
.card-title {
    flex-grow: 1;
    /* Ocupa el espacio disponible */
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* --- BOTÓN ACORDEÓN (MINIMALISTA Y BLINDADO) --- */

.card-icon {
    /* 1. TAMAÑO REDUCIDO (Para no competir con el título) */
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    /* Evita que se aplaste */

    /* 2. COLORES FORZADOS (Blanco Puro / Negro Puro) */
    background-color: #ffffff !important;
    background-image: none !important;
    /* Elimina degradados azules del tema */
    border: none !important;
    color: #000000 !important;

    /* 3. ALINEACIÓN Y FORMA */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* 4. TRANSICIÓN Y SOMBRA SUTIL */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Sombra muy suave */
    transition: transform 0.3s ease;
}

/* AJUSTE DEL SÍMBOLO SVG (+) */
.card-icon svg {
    width: 10px !important;
    /* El signo más es pequeño y delicado */
    height: 10px !important;
    stroke: #000000 !important;
    /* Líneas negras siempre */
    stroke-width: 3;
    /* Grosor para que se vea bien siendo pequeño */
    fill: none;
}

/* --- CUERPO (DESCRIPCIÓN OCULTA) --- */
.manifesto-body {
    max-height: 0;
    /* Altura 0 por defecto */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    /* Animación mágica */
    background: rgba(197, 160, 89, 0.03);
    /* Fondo muy sutil dorado */
}

.body-inner {
    padding: 0 25px 25px 70px;
    /* Padding alineado (izq grande para saltar el número) */
}

.body-inner p {
    color: #ffffff;
    /* TEXTO BLANCO */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- ESTADO ACTIVO (ABIERTO) --- */
.manifesto-card.active {
    border-color: #333;
    border-left-color: var(--tr-gold);
    background: #0a0a0a;
}

.manifesto-card.active .card-number {
    color: var(--tr-gold);
    /* El número se enciende */
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* Mantiene los mismos colores, solo rota */
.manifesto-card.active .card-icon {
    transform: rotate(135deg);
    background-color: #ffffff !important;
    /* SE QUEDA BLANCO */
    color: #000000 !important;
    /* SE QUEDA NEGRO */
}

.manifesto-card.active .manifesto-body {
    max-height: 200px;
    /* Altura máxima suficiente para el texto */
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
    .card-header {
        padding: 15px 20px;
        gap: 15px;
    }

    .card-number {
        font-size: 1.2rem;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .body-inner {
        padding: 0 20px 20px 20px;
        /* Reset del padding izq en móvil */
    }
}

/* --- AJUSTES MÓVILES ESPECÍFICOS --- */
@media (max-width: 768px) {
    .tr-title {
        font-size: 3rem !important;
        /* El título del hero se ajusta */
    }

    .tr-gold-title {
        font-size: 2rem !important;
    }

    .manifesto-card {
        padding: 15px 15px;
        /* Compact padding */
        min-height: auto;
        flex-direction: row;
        /* Force row */
        align-items: center;
        /* Center align vertically */
    }

    .card-number {
        font-size: 1.5rem;
        /* Compact number */
        margin-right: 10px;
    }

    .card-content h3 {
        font-size: 1rem;
        /* Smaller title */
        margin-bottom: 2px;
    }

    .card-content p {
        font-size: 0.85rem;
        /* Smaller text */
        line-height: 1.4;
    }

    /* Mobile Typography Fix for Pain Section */
    .tr-section-title-dark {
        font-size: 1.75rem !important;
        margin-bottom: 30px;
    }

    /* Force Single Column for Pain Grid on Mobile */
    .tr-problem-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    /* Ensure Container doesn't overflow */
    .tr-container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}


/* ====================================
   TR CULTURE SECTION (OPTION A - WHITE ROBBINS CONTRAST)
   ==================================== */

.tr-culture-light {
    background-color: #FFFFFF;
    /* Contraste total con el azul anterior */
    padding: 120px 20px;
    color: #040b15;
}

.tr-culture-image {
    flex: 1;
    min-width: 300px;
}

.tr-culture-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tr-culture-content {
    flex: 1;
    text-align: left;
}

.tr-badge-dark {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--tr-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.tr-section-title-dark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #040b15;
}

.tr-italic-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #b89650;
}

.tr-text-dark {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.6;
}

.tr-check-list {
    list-style: none;
    margin-bottom: 30px;
    display: block;
    padding: 0;
}

.tr-check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    font-family: var(--font-body);
    color: #1f2937;
    font-size: 1.1rem;
}

.gold-check {
    color: #b89650;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    /* Ensures checkmark stays fixed width */
    margin-top: 2px;
    /* Optical alignment with text */
}

/* Layout responsivo */
.flex-row-responsive {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .flex-row-responsive {
        flex-direction: column-reverse;
        /* Imagen arriba en móvil? O abajo? Usually image top or bottom. Let's keep standard stack: content top? User said flex-direction column. Let's stick to user request but check flow. If column, image comes first if it is first in DOM. */
        flex-direction: column;
        text-align: center;
    }

    .tr-culture-content {
        text-align: center;
    }

    .tr-text-dark {
        margin-left: auto;
        margin-right: auto;
    }

    .tr-check-list li {
        justify-content: center;
        text-align: left;
        /* Keep text left aligned even if centered block? User said justify-center. */
    }

    .tr-culture-image {
        width: 100%;
        max-width: 500px;
    }
}

.tr-list li:last-child {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}


/* ====================================
   TR SOCIAL PROOF
   ==================================== */

.tr-social-proof {
    background-color: #0b1421;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.tr-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.tr-divider {
    color: var(--tr-gold);
    opacity: 0.5;
}

.cta-button.primary:hover svg {
    transform: translateX(4px);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-input-container {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fade-in-up 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.1rem;
    font-family: var(--font-body);
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    outline: none;
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.hero-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* LEGACY METHODOLOGY SECTION REMOVED TO FIX CONFLICTS */

/* ====================================
   ABOUT FACE SECTION
   ==================================== */

.about-face {
    background: var(--bg-white);
    padding: calc(var(--spacing-xl) * 1.5) var(--spacing-md) var(--spacing-xl);
    position: relative;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-carbon);
    position: relative;
}

.about-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

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

.intro-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.intro-text strong {
    color: var(--text-carbon);
    font-weight: 600;
}

.how-it-works {
    margin-top: var(--spacing-md);
}

.subsection-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--accent-blue);
}

.process-intro {
    text-align: center;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto var(--spacing-xl);
}

.process-intro strong {
    color: var(--text-carbon);
    font-weight: 600;
}

/* Metro/Transit Style FACE Diagram */
.face-metro-diagram {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Metro Flow Row */
.metro-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

/* Metro Cards */
.metro-card {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    background: white;
    border: 3px solid var(--accent-blue);
    border-radius: 16px;
    padding: var(--spacing-md);
    position: relative;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
}

.metro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.2);
    border-color: var(--accent-orange);
}

/* Card Icon */
.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.25);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

/* Card Info */
.card-info {
    text-align: center;
}

.card-letter {
    display: none;
    /* Removed for cleaner design */
}

.card-info h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-carbon);
    margin-bottom: var(--spacing-xs);
}

.card-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Connection Lines to Foundation */
.connection-line {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, transparent 100%);
    opacity: 0.4;
}

/* Flow Arrows */
.flow-arrow {
    font-size: 2.5rem;
    color: var(--accent-blue);
    opacity: 0.6;
    font-weight: 300;
    flex-shrink: 0;
}

/* Metro Foundation Platform */
.metro-foundation {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg, #0066FF 0%, #FF6B35 100%);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
    border: 4px solid var(--accent-blue);
    position: relative;
}

.foundation-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.foundation-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse-metro 3s ease-in-out infinite;
}

@keyframes pulse-metro {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

.foundation-icon svg {
    width: 52px;
    height: 52px;
}

.foundation-text {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.foundation-letter {
    display: none;
    /* Removed for cleaner design */
}

.foundation-text h4 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.foundation-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: white;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.foundation-badge {
    position: absolute;
    top: -22px;
    right: var(--spacing-xl);
    background: white;
    color: var(--accent-blue);
    padding: 0.65rem 1.75rem;
    border-radius: 30px;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Diagram Caption */
.diagram-caption {
    max-width: 700px;
    margin: var(--spacing-xl) auto 0;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(0, 102, 255, 0.05);
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
}

.diagram-caption p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: center;
}

.diagram-caption strong {
    color: var(--accent-blue);
    font-weight: 700;
}

.about-conclusion {
    text-align: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(255, 107, 53, 0.05));
    border-radius: 20px;
    border: 2px solid var(--accent-blue);
}

.conclusion-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.8;
    color: var(--text-carbon);
    margin: 0;
}

.conclusion-text strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* ====================================
   EDUCATION SECTION - VIDEOS
   ==================================== */

.education {
    min-height: 100vh;
    padding: calc(var(--spacing-xl) * 1.5) var(--spacing-md) var(--spacing-xl);
    background: var(--bg-primary);
}

.education-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-carbon);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: #666;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.video-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-card:nth-child(1) .video-thumbnail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-card:nth-child(2) .video-thumbnail {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.video-card:nth-child(3) .video-thumbnail {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.video-card:nth-child(4) .video-thumbnail {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.video-card:nth-child(5) .video-thumbnail {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.video-card:nth-child(6) .video-thumbnail {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    color: var(--text-carbon);
}

.video-duration {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.video-info {
    padding: var(--spacing-md);
}

.video-info h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-carbon);
}

.video-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ====================================
   MANIFESTO SECTION - COMPACT GRID
   ==================================== */

.manifesto {
    min-height: auto;
    background: var(--bg-white);
    padding: calc(var(--spacing-xl) * 1.5) var(--spacing-md) var(--spacing-xl);
}

.manifesto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.manifesto-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-carbon);
}

.manifesto-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    color: #666;
    margin-bottom: var(--spacing-lg);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.principle-item {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 2px solid transparent;
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

.principle-number {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: var(--spacing-sm);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
}

.principle-text {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-carbon);
    margin: 0;
}


/* ====================================
   SERVICES SECTION
   ==================================== */

.services {
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.services-split {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
}


.public-block {
    background: var(--bg-white);
}

.public-block:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.business-block {
    background: #FAFAFA;
}

.business-block:hover {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
}

.service-content {
    max-width: 400px;
    text-align: center;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    color: var(--text-carbon);
    transition: var(--transition-medium);
}

.service-block:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.public-block:hover .service-icon {
    color: var(--accent-blue);
}

.business-block:hover .service-icon {
    color: var(--accent-orange);
}

.service-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-carbon);
}

.service-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.service-btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.public-block .service-btn {
    background: var(--accent-blue);
    color: white;
}

.public-block .service-btn:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.business-block .service-btn {
    background: var(--accent-orange);
    color: white;
}

.business-block .service-btn:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-top: 1px solid #E0E0E0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-content p {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .fullscreen-menu nav ul li a {
        font-size: 2rem;
    }

    .face-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

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

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

    /* Mobile Thumb Zone - Important CTAs at bottom */
    .service-btn {
        position: sticky;
        bottom: var(--spacing-sm);
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .face-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- BLOQUE OSCURO (EL CICLO) --- */
.tr-cycle-dark {
    background-color: #040b15;
    padding: 100px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tr-steps-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.tr-step-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border: 1px solid rgba(184, 150, 80, 0.2);
    flex: 1;
    text-align: center;
}

.tr-step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #b89650;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.tr-step-arrow {
    color: #b89650;
    font-size: 2.5rem;
    font-weight: bold;
}

/* --- BLOQUE BLANCO (EL CIMIENTO) --- */
.tr-foundation-light {
    background-color: #FFFFFF;
    padding: 120px 20px;
    color: #040b15;
}

.giant-letter-gold {
    font-size: 15rem;
    font-weight: 900;
    color: rgba(184, 150, 80, 0.15);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.flex-row-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.tr-description-dark {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 600px;
    margin-bottom: 30px;
}

.tr-cta-wrapper {
    display: flex;
    justify-content: flex-start;
}

/* --- RESPONSIVO --- */
@media (max-width: 968px) {

    .tr-steps-horizontal,
    .flex-row-center {
        flex-direction: column;
        text-align: center;
    }

    .tr-step-arrow {
        transform: rotate(90deg);
    }

    .giant-letter-gold {
        font-size: 10rem;
        line-height: 0.8;
    }

    .tr-cta-wrapper {
        justify-content: center;
    }
}

/* --- BASE DE LA SECCIÓN --- */
.tr-split-innovation {
    background-color: #040b15;
    width: 100%;
    overflow: hidden;
}

.tr-split-wrapper {
    display: flex;
    flex-direction: column;
    /* Móvil por defecto */
    min-height: 100vh;
}

/* --- OPTIMIZACIÓN LADO VISUAL --- */
.tr-split-visual {
    position: relative;
    height: 40vh;
    /* Altura reducida en móvil para no desplazar el texto */
    width: 100%;
}

.tr-img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.6);
}

.tr-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #040b15);
}

/* --- OPTIMIZACIÓN LADO TEXTO --- */
.tr-split-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 20px;
    background-color: #040b15;
}

.tr-text-container {
    max-width: 600px;
    margin: 0 auto;
}

.tr-main-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    /* Ajustado para móvil */
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 25px;
}

.tr-italic-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #b89650;
    text-transform: lowercase;
}

.tr-lead-text {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.tr-body-text {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- BOTÓN FULL WIDTH EN MÓVIL --- */
.tr-btn-blue-full {
    width: 100%;
    background-color: #0077ff;
    color: white;
    padding: 20px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
}

/* --- QUERIES PARA DESKTOP (PC) --- */
@media (min-width: 992px) {
    .tr-split-wrapper {
        flex-direction: row;
        /* Cambio a Pantalla Partida */
    }

    .tr-split-visual {
        width: 50%;
        height: 100vh;
    }

    .tr-visual-overlay {
        background: linear-gradient(to right, transparent, #040b15);
    }

    .tr-split-text {
        width: 50%;
        padding: 0 80px;
    }

    .tr-main-headline {
        font-size: 4.5rem;
        /* Tamaño Robbins para PC */
    }

    .tr-btn-blue-full {
        width: auto;
        /* Botón normal en PC */
        padding: 20px 60px;
    }

    .desktop-only {
        display: block !important;
    }
}

/* Ocultar elementos innecesarios en móvil */
.desktop-only {
    display: none;
}

/* --- SECCIÓN INMERSIVA (GLOW ENGINE) --- */
.tr-cycle-immersive {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(180deg, #040b15 0%, #0a1e3d 100%);
    overflow: hidden;
    /* Divisor Visual Dorado Superior */
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, #b89650, transparent) 1;
}

/* El resplandor azul detrás de las tarjetas */
.tr-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 119, 255, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.relative {
    position: relative;
    z-index: 1;
}

.tr-title-impact {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    line-height: 1.1;
}

.mb-60 {
    margin-bottom: 60px;
}

.tr-text-center {
    text-align: center;
}


/* --- PASOS FLOTANTES (ESTILO GLASS) --- */
.tr-steps-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 60px;
}

.tr-step-floating {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    /* Borde sutil dorado */
    border: 1px solid rgba(184, 150, 80, 0.4);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tr-step-floating:hover {
    transform: translateY(-15px);
    border-color: #0077ff;
    background: rgba(0, 119, 255, 0.05);
    /* Glow Eléctrico Azul */
    box-shadow: 0 0 30px rgba(0, 119, 255, 0.3);
}

.step-letter {
    display: block;
    font-family: 'Montserrat', sans-serif;
    /* Power Typography: Masiva y Blanca */
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 1;
}

.tr-step-floating h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: white;
}

.tr-step-floating p {
    color: #9ca3af;
    line-height: 1.6;
}


/* Conectores */
.tr-step-connector {
    display: flex;
    align-items: center;
    color: var(--tr-gold);
    opacity: 0.4;
}

.tr-step-connector svg {
    width: 40px;
}

/* --- RESPONSIVIDAD (MÓVIL) --- */
@media (max-width: 968px) {
    .tr-cycle-immersive {
        padding: 60px 20px;
    }

    .mb-60 {
        margin-bottom: 40px;
        /* Reducido a 40px máximo */
    }

    .tr-steps-wrapper {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        gap: 40px;
        /* Espacio reducido entre bloques */
    }

    .tr-step-connector {
        transform: rotate(90deg);
        padding: 10px 0;
        /* Menos espacio en conectores */
    }

    .tr-step-floating {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .tr-glow-bg {
        width: 100%;
        height: 100%;
    }

    .tr-title-impact {
        font-size: 2.5rem;
    }
}

/* ====================================
   EDUCATION SECTION - EVENT CARDS (ROBBINS STYLE)
   ==================================== */

.tr-education-section {
    background-color: #f7f9fa;
    /* Light background to contrast cards */
    padding: 100px 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #040b15;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
}

.tr-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tr-experience-card {
    position: relative;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tr-experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.tr-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4, 11, 21, 0.2) 0%, rgba(88, 28, 135, 0.9) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.tr-card-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: auto;
    /* Push content down */
}

.tr-card-content {
    margin-bottom: 40px;
}

.tr-card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tr-card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Card Footer Layout */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0;
    /* Already pushed by content flow, but ensuring */
}

/* Pill Button */
.tr-card-btn {
    position: static;
    /* Removed absolute */
    background-color: white;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tr-card-btn:hover {
    background-color: var(--tr-gold);
    color: white;
    transform: scale(1.05);
}

/* Badge FACE */
.tr-card-badge {
    position: static;
    /* Removed absolute */
    width: 80px;
    height: 80px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tr-gold);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.badge-mini {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.badge-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--tr-gold);
    letter-spacing: 1px;
    line-height: 1;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .tr-experience-grid {
        grid-template-columns: 1fr;
        /* Stacked 1 column */
        gap: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .tr-experience-card {
        height: 450px;
    }

    .tr-card-content h3 {
        font-size: 2rem;
    }
}

/* ====================================
   FOOTER (ROBBINS STYLE)
   ==================================== */

.footer {
    background-color: #02060c;
    /* Darker than dark blue for footer */
    color: #9ca3af;
    padding: 60px 20px;
    border-top: 1px solid rgba(184, 150, 80, 0.2);
    /* Subtle gold border */
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.footer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}

.social-links a {
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--tr-gold);
    border-color: var(--tr-gold);
    transform: translateY(-3px);
    background: rgba(184, 150, 80, 0.1);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .social-links {
        margin-top: 0;
    }
}

/* ====================================
   HISTORIC ACCELERATION SECTION (DISRUPTION DATA)
   ==================================== */

.tr-disruption-data {
    background-color: #000000;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.disruption-content {
    margin-bottom: 40px;
}

.disruption-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    /* Black */
    font-size: 2rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.disruption-text {
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.disruption-highlight {
    font-family: 'Inter', sans-serif;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    border-left: 3px solid var(--tr-gold);
    padding-left: 15px;
}

.disruption-bridge {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--tr-gold);
    font-size: 1.2rem;
}

/* Nuclear Option CTA */
.disruption-cta {
    background-color: #0077ff;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    margin-top: 30px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    /* Mobile full width */
    letter-spacing: 1px;
}

.disruption-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 119, 255, 0.6);
    background-color: #0066cc;
}

/* Chart Styles - DECOUPLED & OPTIMIZED */
.disruption-chart {
    width: 60%;
    min-height: 500px;
    position: relative;
    /* This container holds the responsive internal container */
}

/* --- CONTENEDOR MAESTRO --- */
.tr-chart-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* Altura base para desktop */
    margin-top: 40px;
}

/* --- SVG QUE SE ESTIRA --- */
.tr-svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tr-hockey-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tr-gold-line {
    stroke-width: 4px;
    /* Grosor fijo y elegante */
    vector-effect: non-scaling-stroke;
    /* TRUCO MAGICO: No engorda al estirarse */
    filter: drop-shadow(0 0 10px rgba(184, 150, 80, 0.6));
    stroke-linecap: round;
    /* Animation setup */
    /* Animation removed to ensure visibility */
    /* stroke-dasharray: 1000; */
    /* stroke-dashoffset: 1000; */
    /* animation: drawLine 2.5s ease-out forwards; */
    stroke: #b89650;
    /* Explicit color */
}

/* --- ETIQUETAS FLOTANTES --- */
.tr-axis-label {
    position: absolute;
    bottom: -30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    z-index: 2;
}

.label-start {
    left: 0;
}

.label-end {
    right: 0;
}

/* --- HIGHLIGHT SUPERIOR DERECHO --- */
.tr-floating-highlight {
    position: absolute;
    right: 1.25%;
    /* SVG x=790/800 */
    top: 2.5%;
    /* SVG y=10/400 */
    display: flex;
    flex-direction: row;
    /* Text Left, Dot Right */
    align-items: center;
    gap: 10px;
    z-index: 10;
    /* Center the DOT (14px) on the anchor point.
       Anchor is at the Container's Top-Right (top:2.5%, right:1.25%).
       The Dot is the rightmost element.
       Its center is 7px to the left and 7px down from Top-Right.
       So we need to move the container:
       Right by 7px (to align dot center X)
       Up by 7px (to align dot center Y, assuming center alignment)
       Actually, align-items: center means Y is centered.
       So just translate(50% of dot, -50% of dot). */
    transform: translate(7px, -50%);
    pointer-events: none;
}

.highlight-text {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0;
    /* Remove bottom margin since we are in row */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: right;
    white-space: nowrap;
    /* Prevent wrapping */
}

.pulse-dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    /* Prevent collapsing */
    display: block;
    /* Ensure box model */
    /* Transform managed by container now */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Desktop Layout - Side by Side */
@media (min-width: 992px) {
    .tr-disruption-data {
        flex-direction: row;
        /* Horizontal layout */
        align-items: center;
        /* Vertically center */
        justify-content: space-between;
        padding: 120px 5%;
        min-height: 80vh;
        gap: 5%;
    }

    .disruption-content {
        width: 40%;
        margin-bottom: 0;
        padding-right: 40px;
    }

    .disruption-cta {
        width: auto;
    }

    .disruption-chart {
        width: 55%;
        min-height: 500px;
    }

    .disruption-title {
        font-size: 3rem;
    }
}

/* --- MEDIA QUERY MÓVIL (EL IMPACTO) --- */
@media (max-width: 768px) {
    .disruption-chart {
        width: 100%;
        min-height: auto;
        /* Allow container to adapt */
    }

    .tr-chart-container {
        height: 60vh;
        /* Altura masiva dinámica en móvil */
        min-height: 500px;
        margin-top: 20px;
    }

    .highlight-text {
        font-size: 1rem;
        /* Texto más grande en móvil para leer bien */
    }

    /* La línea se mantiene fina gracias a vector-effect, pero podemos subirla a 5px si queremos más visibilidad */
    .tr-gold-line {
        stroke-width: 5px;
    }
}

/* --- GOLDEN MANIFESTO SECCIÓN (AWWWARDS STYLE) --- */
.tr-golden-manifesto {
    background-color: #02060c;
    background-image: radial-gradient(circle at center, rgba(20, 30, 50, 0.4) 0%, #000000 100%);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifesto-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.5rem;
    line-height: 1.4;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Liquid Gold Effect */
.gold-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 130%;
    /* Relative directly to parent size */
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: goldShimmer 4s linear infinite;
    padding: 0 5px;
    /* Prevent clipping of italic edges */
}

@keyframes goldShimmer {
    0% {
        background-position: 0% 50%;
    }

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

/* Gold Divider */
.gold-divider {
    height: 60px;
    width: 1px;
    background: linear-gradient(to bottom, #b89650, transparent);
    margin-top: 20px;
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tr-golden-manifesto {
        padding: 80px 20px;
    }

    .manifesto-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* ====================================
   DNA INNOVATOR WIDGET (Diagnostic Test)
   ==================================== */

:root {
    --tr-black: #111111;
    --tr-dark-gray: #1a1a1a;
    --tr-gold-premium: #D4AF37;
    /* Color de acento Premium */
    --tr-red: #E50914;
    /* Color de urgencia/Tony */
    --tr-white: #ffffff;
    --tr-text-gray: #b3b3b3;
    /* Font already imported globally */
}

/* Header Button */
.tr-nav-btn {
    background: linear-gradient(135deg, var(--tr-blue) 0%, #0056b3 100%);
    color: white;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-right: 15px;
    /* Space before hamburger */
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
}

.tr-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.5);
    background: linear-gradient(135deg, #0056b3 0%, var(--tr-blue) 100%);
}

@media (max-width: 768px) {
    .tr-nav-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}


.tr-widget-container {
    max-width: 900px;
    margin: 50px auto;
    background: var(--tr-dark-gray);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--tr-white);
    /* Ensure text is white */
}

/* Pantallas y Visibilidad */
.tr-screen {
    opacity: 1;
    transition: opacity 0.4s ease;
    width: 100%;
}

.tr-screen.hidden {
    display: none !important;
    opacity: 0;
}

.tr-screen.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Tipografía */
.tr-headline {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    color: var(--tr-white);
    letter-spacing: 1px;
}

.tr-subheadline {
    text-align: center;
    color: var(--tr-text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tr-text-body {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--tr-white);
}

/* Cards (Pantalla 1) */
.tr-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tr-card {
    background: #252525;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tr-card:hover {
    transform: translateY(-5px);
    border-color: var(--tr-gold-premium);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.tr-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tr-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tr-gold-premium);
    margin: 0 0 10px 0;
}

.tr-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* Preguntas (Pantalla 2) */
.tr-question-text {
    font-size: 1.8rem;
    margin: 40px 0;
    text-align: center;
    line-height: 1.4;
    color: var(--tr-white);
}

.tr-options-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.tr-btn-option {
    background: transparent;
    border: 2px solid var(--tr-white);
    color: var(--tr-white);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50px;
}

.tr-btn-option:hover {
    background: var(--tr-white);
    color: var(--tr-black);
    transform: scale(1.05);
}

.tr-progress-bar {
    width: 100%;
    background: #333;
    height: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Loader (Pantalla 3) */
.tr-spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--tr-gold-premium);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

.tr-pulse-text {
    text-align: center;
    color: var(--tr-gold-premium);
    animation: pulse 1.5s infinite;
    font-size: 1.2rem;
}

/* Email Form (Pantalla 4) */
.tr-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}

.tr-btn-cta {
    width: 100%;
    background: linear-gradient(45deg, #FF8C00, #FF0000);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    margin-top: 10px;
}

.tr-btn-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

.tr-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

/* Resultados (Pantalla 5) */
.tr-result-header {
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.tr-badge {
    background: var(--tr-gold-premium);
    color: black;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

#result-title {
    font-size: 2rem;
    color: var(--tr-white);
    margin-top: 5px;
    line-height: 1.2;
}

.tr-pain-box {
    background: rgba(229, 9, 20, 0.1);
    border-left: 4px solid var(--tr-red);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.tr-solution-box {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--tr-gold-premium);
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.tr-solution-box li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #eee;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tr-headline {
        font-size: 1.5rem;
    }

    .tr-question-text {
        font-size: 1.3rem;
    }

    .tr-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PREMIUM WIDGET & HEADER STYLES (v2.0 - Refined)
   ========================================= */

/* Estilo del Botón del Header */
.tr-header-cta {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Bordes redondeados pero no pill completo */
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tr-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.tr-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.tr-header-cta:hover::before {
    left: 100%;
}

/* Sección del Widget (Fondo Forzado Oscuro para asegurar contraste) */
#adn-innovador-section {
    background-color: #040b15 !important;
    /* Midnight Blue explícito */
    position: relative;
    z-index: 10;
}

/* Contenedor Principal del Widget (Integrado, sin bordes) */
.tr-widget-container {
    max-width: 960px;
    margin: 0 auto;
    /* Eliminamos fondo, bordes y sombras para integración total */
    background-color: transparent;
    padding: 50px 0;
    /* Mantenemos padding vertical pero quitamos horizontal del contenedor visual */
    border-radius: 0;
    box-shadow: none;
    border: none;
    min-height: 600px;
    /* Altura mínima para evitar saltos */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Manejo de Pantallas (Ocultar/Mostrar) */
.tr-screen {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tr-screen.active {
    display: block;
    opacity: 1;
    animation: fadeUp 0.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* PANTALLA 1: GRID DE TARJETAS (Sin emojis) */
.tr-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tr-card {
    background-color: #1a1a1a;
    /* Fondo muy oscuro para contraste con el fondo base */
    padding: 35px 25px;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tr-card:hover {
    border-color: var(--tr-accent, #b89650);
    /* Borde dorado al hover */
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(184, 150, 80, 0.15);
}

.tr-icon-svg {
    width: 50px;
    height: 50px;
    color: var(--tr-gold, #b89650);
    /* Iconos dorados premium */
    margin-bottom: 20px;
}

.tr-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    /* Blanco explícito */
}

.tr-card p {
    font-size: 0.95rem;
    color: #cccccc;
    /* Gris claro explícito */
    line-height: 1.5;
}

/* PANTALLA 2: PREGUNTAS */
.tr-progress-container {
    width: 100%;
    height: 6px;
    background-color: #333;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

#progress-bar-fill {
    height: 100%;
    width: 5%;
    /* Inicio */
    background-color: var(--tr-accent, #b89650);
    transition: width 0.4s ease;
}

.tr-question-headline {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin: 40px 0 60px 0;
    line-height: 1.3;
    color: #ffffff !important;
    /* Blanco explícito para evitar problema de contraste */
}

.tr-actions-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.tr-btn-option {
    flex: 1;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tr-btn-option.no {
    border-color: #666;
    color: #999;
}

.tr-btn-option.no:hover {
    background-color: #333;
    color: #fff;
}

.tr-btn-option.yes {
    border-color: var(--tr-accent, #b89650);
    color: var(--tr-accent, #b89650);
}

.tr-btn-option.yes:hover {
    background-color: var(--tr-accent, #b89650);
    color: #fff;
}

/* PANTALLA 3: LOADER */
.tr-spinner-svg {
    animation: spin 1s linear infinite;
    width: 60px;
    height: 60px;
    color: var(--tr-accent, #b89650);
    margin-bottom: 30px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.tr-loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    /* Blanco explícito */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PANTALLA 4: EMAIL FORM */
.tr-input-field {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    background-color: #1a1a1a;
    border: 2px solid #333;
    color: #ffffff;
    /* Blanco explícito */
    font-family: var(--font-primary);
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.tr-input-field:focus {
    outline: none;
    border-color: var(--tr-accent, #b89650);
}

.tr-btn-submit {
    width: 100%;
    padding: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tr-btn-submit:hover {
    background-color: #ff1f2a;
    box-shadow: 0 10px 30px rgba(227, 28, 37, 0.4);
}

.tr-btn-submit:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.tr-privacy-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

/* PANTALLA 5: RESULTADOS */
.tr-result-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #333;
    padding-bottom: 30px;
}

.tr-badge-gold {
    background-color: var(--tr-gold);
    color: #000;
    padding: 8px 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

#result-title-dynamic {
    font-size: 3rem;
    line-height: 1;
    margin: 0;
    color: var(--tr-text-white);
}

.tr-pain-box,
.tr-solution-box {
    padding: 30px;
    margin-bottom: 30px;
    border-left: 6px solid;
    background-color: var(--tr-bg-card);
}

.tr-pain-box {
    border-color: var(--tr-accent);
}

.tr-pain-box h4 {
    color: var(--tr-accent);
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tr-solution-box {
    border-color: var(--tr-gold);
}

.tr-solution-box h4 {
    color: var(--tr-gold);
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tr-box-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.tr-result-content p,
.tr-result-content li {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #ddd;
}

.tr-solution-box ul {
    padding-left: 20px;
}

.tr-solution-box li {
    margin-bottom: 15px;
}

.tr-solution-box strong {
    color: var(--tr-text-white);
}

/* Responsive Móvil */
@media (max-width: 768px) {
    .tr-widget-container {
        padding: 30px 20px;
    }

    h2.tr-headline {
        font-size: 1.8rem;
    }

    .tr-cards-grid {
        grid-template-columns: 1fr;
    }

    .tr-question-headline {
        font-size: 1.5rem;
    }

    #result-title-dynamic {
        font-size: 2.2rem;
    }

    .tr-actions-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Fix for mobile button sizing */
    .tr-header-cta {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
        min-width: auto;
    }
}



/* --- FIXED HEADER CTA BUTTON --- */
.nav-cta-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: 0.3s ease;
    border: 1px solid white;
    margin-right: 15px;
    display: inline-block;
    /* Ensure it renders as a box */
    white-space: nowrap !important;
    /* FORCE SINGLE LINE */
    width: auto !important;
}

.nav-cta-btn:hover {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* --- FIXED HOME WIDGET STYLES --- */
.card-svg-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: #666;
    transition: all 0.4s ease;
}

.card-svg-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

/* Ensure widget section is visible */
.tr-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.tr-card:hover {
    border-color: #c5a059;
    transform: translateY(-5px);
}

.tr-card:hover .card-svg-icon {
    color: #c5a059;
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
}

/* --- SECCIÓN ARTÍCULOS RELACIONADOS (COPIADO DE BLOG) --- */
.related-section {
    background-color: #f9f9f9;
    /* var(--bg-light) fallback */
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.related-header {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: #111;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: #333;
}

.nav-btn:hover {
    background: #c5a059;
    /* var(--tr-gold) */
    color: white;
    border-color: #c5a059;
}

/* Grid Scrollable */
.related-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.related-grid::-webkit-scrollbar {
    display: none;
}

.related-card {
    min-width: 350px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    /* Ensure link behaves as block */
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-body {
    padding: 25px;
}

.related-tag {
    color: #c5a059;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.related-h {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #111;
}

.related-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .related-card {
        min-width: 280px;
    }
}

/* ======================================
   PROGRAMS PAGE - TONY ROBBINS STYLE
   ====================================== */

/* Hero Section */
.programs-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.6) 100%);
}

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

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: white;
}

.hero-sub {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

/* Sticky Filter Bar */
.filter-bar {
    background-color: #0a0a0a;
    border-bottom: 1px solid #222;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #b0b0b0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: 0.3s;
}

.filter-link:hover,
.filter-link.active {
    color: #ffffff;
    border-color: #c5a059;
}

/* Programs Section */
.programs-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #000000;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Program Card */
.prog-card {
    background-color: #111111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.prog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #333;
}

.prog-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.prog-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prog-category {
    color: #c5a059;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.prog-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: white;
}

.prog-desc {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif;
}

.prog-link {
    font-family: 'Oswald', sans-serif;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.prog-link svg {
    width: 18px;
    transition: transform 0.3s;
}

.prog-card:hover .prog-link {
    color: #c5a059;
}

.prog-card:hover .prog-link svg {
    transform: translateX(5px);
    fill: #c5a059;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .filter-container {
        justify-content: flex-start;
    }

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

    .prog-img-wrapper {
        height: 200px;
    }
}


/* ======================================
   PROGRAMS PAGE REDESIGN - TONY ROBBINS
   ====================================== */

/* Split Header */
.split-header {
    background-color: #000000;
    padding: 140px 5% 80px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #222;
}

.header-left h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
    color: white;
    max-width: 600px;
    margin: 0;
}

.header-left .gold-text {
    color: #c5a059;
}

.header-right {
    max-width: 450px;
}

.header-right p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Programs Section (White Background) */
.programs-white-section {
    background-color: #ffffff;
    color: #111;
    padding: 80px 5%;
}

.programs-wide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Wide Card */
.wide-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-img-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

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

.wide-card-body {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Program Badge (Black with White Text) */
.prog-badge {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 700;
}

.wide-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #000;
}

.wide-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.wide-card-cta {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    font-size: 0.95rem;
    border-bottom: 2px solid #c5a059;
    padding-bottom: 5px;
    transition: 0.3s;
    text-decoration: none;
}

.wide-card-cta:hover {
    color: #c5a059;
}

/* Blog Placeholder Section */
.blog-placeholder-section {
    background-color: #000000;
    padding: 80px 5%;
    border-top: 1px solid #222;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temp-blog-msg {
    text-align: center;
    color: #444;
    border: 1px dashed #333;
    padding: 60px 40px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Video CTA Section */
.video-cta-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

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

.bg-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    max-width: 700px;
    color: white;
}

.video-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.video-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.btn-gold {
    display: inline-block;
    background-color: #c5a059;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: white;
}

/* Responsive - Mobile Optimization */

/* Tablet (landscape phones to tablets) */
@media (max-width: 900px) {
    .split-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 100px 4% 60px 4%;
    }

    .header-left h1 {
        font-size: 3rem;
        line-height: 1;
    }

    .header-right {
        max-width: 100%;
    }

    .header-right p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .programs-wide-section {
        padding: 60px 4%;
    }

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

    .card-img-container {
        height: 250px;
    }

    .wide-card-body {
        padding: 25px 20px;
    }

    .wide-card-title {
        font-size: 1.8rem;
    }

    .video-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .video-content {
        padding-left: 5%;
        padding-right: 5%;
        max-width: 100%;
    }

    .video-desc {
        font-size: 1.1rem;
    }
}

/* Mobile (phones in portrait) */
@media (max-width: 600px) {

    /* Header optimizations */
    .split-header {
        padding: 90px 5% 50px 5%;
        gap: 20px;
    }

    .header-left h1 {
        font-size: 2.5rem;
        line-height: 0.95;
        max-width: 100%;
    }

    .header-right p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Programs section */
    .programs-wide-section {
        padding: 50px 5%;
    }

    .programs-wide-grid {
        gap: 25px;
    }

    /* Cards more compact */
    .wide-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .card-img-container {
        height: 200px;
    }

    .wide-card-body {
        padding: 20px 18px;
    }

    .prog-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .wide-card-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 1.15;
    }

    .wide-card-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .wide-card-cta {
        font-size: 0.85rem;
        padding-bottom: 4px;
    }

    /* Related Articles mobile */
    .related-section {
        padding: 60px 0;
    }

    .related-header {
        padding: 0 5%;
        margin-bottom: 30px;
    }

    .related-title {
        font-size: 1.6rem;
    }

    .related-grid {
        padding: 15px 5%;
        gap: 20px;
    }

    .related-card {
        min-width: 280px;
    }

    .related-img {
        height: 180px;
    }

    .related-body {
        padding: 20px;
    }

    .related-h {
        font-size: 1.2rem;
    }

    /* Video CTA mobile */
    .video-cta-section {
        height: 500px;
    }

    .video-content {
        padding: 5%;
        max-width: 100%;
    }

    .video-title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1;
    }

    .video-desc {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .btn-gold {
        padding: 14px 30px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* Small mobile (very small phones) */
@media (max-width: 375px) {
    .split-header {
        padding: 80px 4% 40px 4%;
    }

    .header-left h1 {
        font-size: 2rem;
    }

    .header-right p {
        font-size: 0.9rem;
    }

    .programs-wide-section {
        padding: 40px 4%;
    }

    .card-img-container {
        height: 180px;
    }

    .wide-card-title {
        font-size: 1.4rem;
    }

    .wide-card-desc {
        font-size: 0.85rem;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-desc {
        font-size: 0.95rem;
    }

    .related-card {
        min-width: 260px;
    }
}

/* =========================================================
   SECCIÓN: PILARES (ARQUITECTURA PREMIUM / FINAL)
   ========================================================= */

/* --- CONFIGURACIÓN BASE (MÓVIL PRIMERO) --- */
.pillars-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 20px;
    overflow: hidden;
}

.pillars-wrapper {
    /* MÓVIL: Usamos Flexbox para apilar verticalmente */
    display: flex;
    flex-direction: column;
    gap: 50px;

    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- COLUMNA DE TEXTO --- */
.pillars-text {
    order: 1;
    /* Texto primero en móvil */
    width: 100%;
    text-align: center;
    /* Centrado en móvil */
}

.pillars-header {
    display: inline-flex;
    /* Inline para centrar en móvil */
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #333333;
}

.dot {
    color: #000000;
    font-size: 1.5rem;
    line-height: 0;
}

/* LISTA DE ENLACES */
.pillars-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillars-list li {
    line-height: 1.05;
    /* Interlineado apretado "Tight" */
}

.pillars-list a {
    text-decoration: none;
    color: #000000;
    font-family: 'Montserrat', sans-serif;

    /* TIPOGRAFÍA FLUIDA (Clamp): 
       Se adapta matemáticamente entre móvil (3rem) y desktop (5.5rem) */
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;

    display: block;
    /* Estado inicial: opaco */
    opacity: 0.4;
    cursor: pointer;
    /* Transición "Suave" Premium */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease, opacity 0.3s ease;
}

/* Estado ACTIVO (seleccionado con click) */
.pillars-list a.active {
    color: #c5a059;
    /* Dorado */
    opacity: 1;
    transform: translateX(10px);
    /* Desplazamiento sutil */
}

/* Hover - Preview del estado activo */
.pillars-list a:hover {
    opacity: 0.7;
    /* Preview: más visible pero no completamente */
    transform: translateX(5px);
    /* Movimiento sutil */
}

/* El activo mantiene su estado incluso con hover */
.pillars-list a.active:hover {
    opacity: 1;
    transform: translateX(10px);
}


/* --- COLUMNA DE IMAGEN --- */
.pillars-image {
    order: 2;
    /* Imagen después en móvil */
    width: 100%;
}

.p-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: cover;
}


/* =========================================================
   VERSIÓN ESCRITORIO (CSS GRID / NO OVERLAP)
   Se activa en pantallas mayores a 1024px
   ========================================================= */
@media (min-width: 1024px) {

    .pillars-wrapper {
        /* ARQUITECTURA SÓLIDA: Grid */
        display: grid;
        /* Columna 1 (Texto): 0.8 partes / Columna 2 (Imagen): 1 parte */
        grid-template-columns: 0.8fr 1fr;
        align-items: center;
        gap: 80px;
        /* Espacio garantizado entre columnas */
    }

    /* Ajustes Texto Desktop */
    .pillars-text {
        text-align: left;
        /* Alineado a la izquierda */
        order: unset;
        /* Grid decide el orden natural */
    }

    .pillars-header {
        display: flex;
        /* Flex container normal */
    }

    /* Ajustes Imagen Desktop */
    .pillars-image {
        height: 650px;
        /* Altura imponente fija */
        order: unset;
    }

    .p-img {
        height: 100%;
        /* Llenar altura */
    }
}

/* =========================================================
   VERSIÓN MÓVIL - Reducir tamaño de letras de pilares
   ========================================================= */
@media (max-width: 768px) {
    .pillars-list a {
        /* Reducir tamaño para móvil */
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

/* =========================================================
   SECCIÓN HERO VIDEO (FULL SCREEN BACKGROUND)
   ========================================================= */

.hero-video-section {
    position: relative;
    /* Usamos 'dvh' (Dynamic Viewport Height) para móviles */
    height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    margin-top: 0;
    /* Sin gap con sección anterior */
    padding-top: 0;
}

/* VIDEO DE FONDO (TÉCNICA MODERNA) */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* La magia: esto hace que el video cubra todo sin deformarse */
    object-fit: cover;
    z-index: -2;
}

/* CAPA OSCURA CON GRADIENTE */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente cinematográfico oscuro: difuminado negro para mejor legibilidad */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
    z-index: -1;
}

/* CONTENIDO */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    text-align: center;
    /* Centrar todo el contenido */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* TIPOGRAFÍA */
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    /* Ajuste fluido */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    /* Sombra suave para separar del video */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eeeeee;
    text-align: center;
    /* Asegurar centrado explícito */
}

/* BOTÓN HERO */
.btn-hero {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #ffffff;
    margin: 0;
}

.btn-hero:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-5px);
}

/* --- OPTIMIZACIÓN MÓVIL --- */
@media (max-width: 768px) {
    .hero-video-section {
        /* Fallback para navegadores que no soporten dvh */
        height: 50vh;
        height: 50dvh;
        padding: 15px;
    }

    .hero-content {
        padding: 10px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        /* Más pequeño para caber en 50dvh */
        margin-bottom: 10px;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 2vw, 1rem);
        /* Reducido significativamente */
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 0.75rem;
    }
}

/* Optimización para conexiones lentas */
@media (prefers-reduced-motion: reduce) {
    .bg-video {
        display: none;
    }

    .hero-video-section {
        background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80');
        background-size: cover;
        background-position: center;
    }
}