/*
 * TRUSTWORTHY AI - Sistema de Diseño Avanzado
 * Arquitectura CSS optimizada con microinteracciones y accesibilidad
 * Paleta de colores: Naranja/Ámbar
 */

/* ========================================
   SISTEMA DE VARIABLES DE DISEÑO TRUSTWORTHY
======================================== */

:root {
    /* PALETA DE COLORES PRINCIPALES - TRUSTWORTHY
       Naranja/Ámbar, Oro y Azul Medianoche */
    --primary-orange: #f59e0b;
    --primary-amber: #d97706;
    --primary-midnight: #181925;
    --accent-orange-bright: #fbbf24;
    --accent-amber-bright: #f97316;

    /* COLORES DE FONDO
       Backgrounds para diferentes niveles de profundidad */
    --dark-bg: #181925;          /* Azul Medianoche base */
    --card-bg: #212232;          /* Ligeramente más claro */
    --light-bg: #2a2b3d;         /* Tono intermedio */
    --overlay-bg: rgba(24, 25, 37, 0.92);

    /* COLORES DE TEXTO
       Jerarquía tipográfica optimizada para contraste */
    --text-white: #ffffff;
    --text-gray: #f1f3f4;
    --text-muted: #b8c5d1;
    --text-secondary: #d1d9e0;

    /* TIPOGRAFÍA - Sistema Poppins
       Escalas tipográficas consistentes con SemInd */
    --font-family-primary: 'Poppins', sans-serif;
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 1.875rem;   /* 30px */
    --font-size-4xl: 2.25rem;    /* 36px */
    --font-size-5xl: 3rem;       /* 48px */
    --font-size-6xl: 3.75rem;    /* 60px */

    /* PESOS DE FUENTE */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* ESPACIADO - Módulo 8px */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 5rem;     /* 80px */
    --space-5xl: 6rem;     /* 96px */

    /* BORDER RADIUS */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.25rem;   /* 20px */
    --radius-full: 50px;

    /* SISTEMA DE SOMBRAS */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* SOMBRAS CON COLOR - TRUSTWORTHY */
    --shadow-orange: 0 10px 30px rgba(245, 158, 11, 0.3);
    --shadow-orange-hover: 0 15px 40px rgba(245, 158, 11, 0.4);
    --shadow-amber: 0 5px 15px rgba(217, 119, 6, 0.4);
    --shadow-midnight: 0 5px 20px rgba(24, 25, 37, 0.6);

    /* TRANSICIONES */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;

    /* Z-INDEX */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;

    /* CONTENEDOR PRINCIPAL */
    --container-max-width: 1200px;

    /* GRADIENTES Y EFECTOS - TRUSTWORTHY */
    --gradient-hero: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.12));
    --gradient-warm: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(245, 158, 11, 0.06));
    --gradient-amber: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(24, 25, 37, 0.2));
    --gradient-divider: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
    --blur-backdrop: blur(12px);
}

/* ========================================
   ESTILOS GLOBALES Y RESET
======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Efecto de fondo con patrón sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(217, 119, 6, 0.12) 0%, transparent 50%);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ========================================
   BREADCRUMB NAVIGATION
======================================== */

.breadcrumb-nav {
    position: sticky;
    top: 0;
    background: var(--overlay-bg);
    backdrop-filter: var(--blur-backdrop);
    padding: var(--space-md) 0;
    z-index: var(--z-sticky);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.breadcrumb-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

.breadcrumb-link:hover {
    color: var(--primary-orange);
}

/* ========================================
   HERO WRAPPER Y PARTÍCULAS
======================================== */

.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
}

/* Partículas animadas de fondo */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(245, 158, 11, 0.6);
    border-radius: 50%;
    animation: float 20s infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 22s;
    background: rgba(217, 119, 6, 0.6);
}

.particle-3 {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.particle-4 {
    top: 40%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 19s;
    background: rgba(217, 119, 6, 0.5);
}

.particle-5 {
    top: 10%;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 21s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(30px);
        opacity: 0.7;
    }
}

/* ========================================
   CONTAINER
======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

/* ========================================
   HERO CARD - Tarjeta principal con glassmorphism
======================================== */

.hero-card {
    background: rgba(33, 34, 50, 0.6);
    backdrop-filter: var(--blur-backdrop);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl) var(--space-3xl);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-2xl), var(--shadow-orange);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo en el borde */
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-orange), 
        var(--primary-amber), 
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Badge superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary-orange);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(4px);
}

/* Títulos Hero */
.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--text-white), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    font-weight: var(--font-weight-normal);
}

/* Botones de acción */
.hero-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-amber));
    color: var(--text-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-hover);
}

.btn-secondary {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--primary-orange);
}

/* Divisor decorativo */
.hero-divider {
    height: 2px;
    background: var(--gradient-divider);
    margin: var(--space-3xl) 0;
    border-radius: var(--radius-full);
}

/* ========================================
   GPAIS ABOUT SECTION - Dos columnas
======================================== */

.gpais-about-section {
    margin-top: var(--space-3xl);
}

.research-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--text-white);
}

.gpais-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Columna de texto */
.gpais-about-text {
    padding-right: var(--space-xl);
}

.gpais-about-text p {
    margin-bottom: var(--space-xl);
    color: var(--text-gray);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

.gpais-about-text .text-highlight {
    color: var(--primary-orange);
    font-weight: var(--font-weight-semibold);
}

.gpais-about-text em {
    color: var(--primary-amber);
    font-style: italic;
}

.gpais-about-text strong {
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
}

/* Features inline */
.info-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.info-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all var(--transition-normal);
}

.info-feature:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--primary-orange);
    transform: translateX(5px);
}

.info-feature-icon {
    font-size: var(--font-size-xl);
}

/* Columna visual */
.gpais-about-visual {
    position: sticky;
    top: calc(var(--space-4xl) + 60px);
}

.visual-figure {
    margin: 0;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(24, 25, 37, 0.8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-orange);
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
}

.visual-placeholder {
    font-size: var(--font-size-3xl);
    color: var(--text-muted);
}

.visual-caption {
    margin-top: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    text-align: center;
}

/* ========================================
   RESEARCH AREAS SECTION - Tarjetas de investigación
======================================== */

.research-areas-section {
    padding: var(--space-4xl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-white);
}

.section-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.6;
}

.research-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* Tarjeta de investigación individual */
.research-card {
    position: relative;
    background: rgba(42, 43, 61, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    cursor: pointer;
    overflow: hidden;
}

.research-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-orange);
}

/* Glow effect en hover */
.research-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.research-card:hover .research-card-glow {
    opacity: 1;
}

/* Badge de investigación */
.research-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: var(--primary-amber);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-icon {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-lg);
    display: block;
}

.research-card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.research-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   SECTION DIVIDER
======================================== */

.section-divider {
    height: 1px;
    max-width: var(--container-max-width);
    margin: var(--space-5xl) auto;
    background: var(--gradient-divider);
    border-radius: var(--radius-full);
}

/* ========================================
   INFO SECTION - Dos tarjetas grandes
======================================== */

.info-section {
    padding: var(--space-4xl) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-2xl);
}

/* Tarjetas info */
.info-card {
    position: relative;
    background: rgba(33, 34, 50, 0.6);
    backdrop-filter: var(--blur-backdrop);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.info-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-xl), var(--shadow-orange);
}

/* Número de tarjeta */
.info-card-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-orange);
}

.info-card-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Contenido de texto */
.info-card-content p {
    margin-bottom: var(--space-lg);
    color: var(--text-gray);
    line-height: 1.8;
}

.text-highlight {
    color: var(--primary-orange);
    font-weight: var(--font-weight-semibold);
}

/* Features inline */
.info-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.info-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(245, 158, 11, 0.1);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-feature-icon {
    font-size: var(--font-size-lg);
}

/* ========================================
   VISUAL CARD - Tarjeta con imagen
======================================== */

.visual-figure {
    margin: var(--space-xl) 0;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: rgba(24, 25, 37, 0.8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Oculto hasta que se cargue una imagen real */
}

/* Placeholder cuando no hay imagen */
.visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
}

.visual-placeholder {
    font-size: var(--font-size-4xl);
    color: var(--text-muted);
}

.visual-caption {
    margin-top: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
}

/* Botón de actualización */
.visual-update-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--primary-amber);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.visual-update-btn:hover {
    background: rgba(217, 119, 6, 0.25);
    border-color: var(--primary-amber);
    transform: translateY(-2px);
}

/* Meta información */
.visual-meta {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.visual-meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.visual-meta-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visual-meta-value {
    font-size: var(--font-size-sm);
    color: var(--text-white);
    font-weight: var(--font-weight-medium);
}

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

.footer {
    margin-top: var(--space-5xl);
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.footer-text {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.footer-link {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-link:hover {
    color: var(--primary-amber);
}

/* ========================================
   RESEARCH CARD LINKS
======================================== */

.research-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-normal);
}

.research-card-link:hover .research-card {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
}

.research-card-link:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

.research-card-link:active .research-card {
    transform: translateY(-4px);
}

/* ========================================
   CONTENT SECTIONS (para páginas detalladas)
======================================== */

.content-section {
    margin-bottom: var(--space-4xl);
}

.content-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-text p {
    margin-bottom: var(--space-lg);
}

.content-text strong {
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* ========================================
   FEATURE LISTS
======================================== */

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
}

.feature-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: var(--font-weight-bold);
}

.feature-list li strong {
    color: var(--text-white);
}

/* ========================================
   CHALLENGE LIST (para desafíos/problemas)
======================================== */

.challenge-list {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.challenge-item {
    position: relative;
    padding: var(--space-xl);
    padding-left: calc(var(--space-3xl) + var(--space-xl));
    background: rgba(33, 34, 50, 0.4);
    border-left: 3px solid var(--primary-orange);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.challenge-item:hover {
    background: rgba(33, 34, 50, 0.6);
    border-left-color: var(--primary-amber);
    transform: translateX(4px);
}

.challenge-number {
    position: absolute;
    left: var(--space-lg);
    top: var(--space-xl);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-orange);
    opacity: 0.3;
}

.challenge-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

.challenge-desc {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   HIGHLIGHT BOX
======================================== */

.highlight-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
}

.highlight-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

/* ========================================
   BREADCRUMB IMPROVEMENTS
======================================== */

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 var(--space-sm);
}

.breadcrumb-current {
    color: var(--text-white);
    font-weight: var(--font-weight-medium);
}

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

/* Tablet y móvil grande (< 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-card {
        padding: var(--space-2xl) var(--space-xl);
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Grid de dos columnas se vuelve 1 columna */
    .gpais-about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .gpais-about-text {
        padding-right: 0;
    }

    .gpais-about-visual {
        position: static;
    }

    .info-card {
        padding: var(--space-2xl);
    }

    .breadcrumb-container,
    .container {
        padding: 0 var(--space-lg);
    }
}

/* Móvil pequeño (< 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .research-title {
        font-size: var(--font-size-2xl);
    }

    .info-card-title {
        font-size: var(--font-size-xl);
    }

    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-md);
    }

    .research-card {
        padding: var(--space-lg);
    }

    .info-features {
        flex-direction: column;
    }

    .info-feature {
        width: 100%;
    }
}

/* Desktop grande (> 1280px) */
@media (min-width: 1280px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }

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

/* ========================================
   SISTEMA DE PUBLICACIONES
======================================== */

.publications-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.publication-card {
    display: flex;
    gap: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-amber));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.publication-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.15);
}

.publication-card:hover::before {
    opacity: 1;
}

/* Contenedor de imagen con badge */
.publication-image-wrapper {
    flex-shrink: 0;
    width: 35%;
    min-width: 200px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
}

.publication-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
    min-height: 200px;
    max-height: 280px;
}

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

.publication-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-amber));
    color: var(--text-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
}

/* Contenido de la publicación */
.publication-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-md);
}

.publication-abstract {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
    flex: 1;
}

.publication-authors {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    transition: color var(--transition-fast);
}

.publication-card:hover .publication-authors {
    color: var(--text-secondary);
}

/* Responsive para tablets */
@media (max-width: 968px) {
    .publication-image-wrapper {
        width: 40%;
        min-width: 180px;
    }
    
    .publication-abstract {
        font-size: var(--font-size-sm);
    }
}

/* Responsive para móviles */
@media (max-width: 640px) {
    .publication-card {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }
    
    .publication-image-wrapper {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .publication-image {
        max-height: 240px;
        min-height: 180px;
    }
    
    .publication-badge {
        top: var(--space-sm);
        right: var(--space-sm);
    }
    
    .publications-container {
        gap: var(--space-xl);
    }
}
