/**
 * Lucho Noticias - Diseño Ultra Moderno
 * Sistema de diseño profesional
 * Color oficial: Naranja #ff6b35
 * MODO: Light Only (sin dark mode automático)
 */

/* ==========================================
   IMPORTS DE FUENTES PREMIUM
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   VARIABLES DE DISEÑO
   ========================================== */
:root {
    /* Paleta de Colores Oficial */
    --primary: #ff6b35;
    --primary-light: #ff8759;
    --primary-dark: #e85a28;
    --accent: #FFD93D;
    --success: #6BCF7F;
    --secondary: #00c896;
    
    /* Grises Refinados */
    --gray-0: #FFFFFF;
    --gray-50: #FAFBFC;
    --gray-100: #F5F7FA;
    --gray-200: #E4E7EB;
    --gray-300: #CBD2D9;
    --gray-400: #9AA5B1;
    --gray-500: #7B8794;
    --gray-600: #616E7C;
    --gray-700: #52606D;
    --gray-800: #3E4C59;
    --gray-900: #1F2933;
    --black: #0D1117;
    
    /* Tipografía Premium */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciado */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Sombras */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 8px 32px rgba(255, 107, 53, 0.25);
    
    /* Border Radius */
    --radius-xs: 0.25rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transiciones */
    --ease-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0.0, 1, 1);
    --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Utilidades (compatibilidad) */
    --border: #e0e0e0;
    --light-gray: #f5f5f5;
    --dark: #1a1a1a;
    --gray: #666;
}

/* ==========================================
   RESET MODERNO
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-900);
    background: #FAFBFC !important;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   TIPOGRAFÍA PREMIUM
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--black);
}

h1 {
    font-size: clamp(2.5rem, 6vw + 1rem, 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
}

.display-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw + 1rem, 6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* ==========================================
   HEADER PREMIUM CON GLASS MORPHISM
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease-smooth);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(30px) saturate(200%);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.site-logo {
    font-size: 1.75rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: transform 0.3s var(--ease-bounce);
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

/* ==========================================
   NAVEGACIÓN
   ========================================== */
.main-nav {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.nav-link {
    position: relative;
    padding: var(--space-3) var(--space-5);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-smooth);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.nav-link i {
    margin-right: var(--space-2);
    transition: transform 0.3s var(--ease-bounce);
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    margin-top: 85px;
    position: relative;
    height: clamp(500px, 70vh, 800px);
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.hero-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.95) 100%
    );
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s var(--ease-out);
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-16) var(--space-8);
    z-index: 2;
}

.hero-category {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
    animation: slideInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-title {
    color: white;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    margin: var(--space-6) 0;
    line-height: 1.15;
    max-width: 900px;
    animation: slideInUp 0.6s var(--ease-out) 0.4s both;
}

.hero-excerpt {
    color: rgba(255,255,255,0.95);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    max-width: 700px;
    margin: var(--space-6) 0;
    animation: slideInUp 0.6s var(--ease-out) 0.6s both;
}

/* ==========================================
   BOTONES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in-up {
    animation: slideInUp 0.6s var(--ease-out) both;
}

.fade-in {
    animation: fadeIn 0.6s var(--ease-out) both;
}

.scale-in {
    animation: scaleIn 0.6s var(--ease-out) both;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    color: var(--gray-300);
    padding: var(--space-20) 0 var(--space-8);
    margin-top: var(--space-24);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        var(--accent),
        transparent
    );
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    transition: all 0.3s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-primary);
    border-color: transparent;
}

.footer-bottom {
    max-width: 1600px;
    margin: var(--space-12) auto 0;
    padding: var(--space-8) var(--space-8) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--gray-500);
}

/* ==========================================
   UTILIDADES
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   SCROLLBAR PERSONALIZADO
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

::selection {
    background: var(--primary);
    color: white;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: var(--space-4) var(--space-6);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        border-radius: var(--radius-lg);
    }
    
    .hero-overlay {
        padding: var(--space-8) var(--space-6);
    }
    
    .container {
        padding: 0 var(--space-6);
    }
}





/* ═══════════════════════════════════════════════════════════════
   ESTILOS ADICIONALES PARA FOOTER - ICONOS SVG
   Agregar al archivo CSS del footer existente
   ═══════════════════════════════════════════════════════════════ */

/* Social Links - Iconos SVG */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Colores específicos por red social */
.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.tiktok:hover {
    background: #000000;
}

/* Footer Contact - Iconos SVG */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-400);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Icono de ubicación y web - stroke */
.footer-contact li:first-child svg,
.footer-contact li:last-child svg {
    stroke: var(--primary);
}

/* Icono de WhatsApp - fill */
.footer-contact li:nth-child(2) svg {
    fill: #25d366;
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Link de WhatsApp con hover especial */
.footer-contact li:nth-child(2) a:hover {
    color: #25d366;
}

/* Footer Bottom - Layout mejorado */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content .copyright,
.footer-bottom-content .developer {
    margin: 0;
}

.footer-bottom-content .developer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-content .developer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-bottom-content .developer a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}