/**
 * blog — Estilos extraidos de blog/index.php
 */
        :root {
            --primary-gold: #D4AF37;
            --light-gold: #F4E4BC;
            --dark-gold: #B8860B;
            --cream: #FAF8F5;
            --dark-navy: #1a1f36;
            --charcoal: #2C2C2C;
            --celulares-primary: #2980B9;
            --accesorios-primary: #00B4A6;
            --smartwatch-primary: #8E44AD;
            --tablets-primary: #E67E22;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            color: var(--charcoal);
            background: var(--cream);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
        }

        /* Hero Blog */
        .hero-blog {
            position: relative;
            height: 60vh;
            background: linear-gradient(135deg, var(--dark-navy) 0%, #2d3561 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .hero-blog::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
            opacity: 0.12;
            z-index: 0;
        }

        .hero-blog-content {
            position: relative;
            z-index: 1;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero-blog-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-blog-content p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            line-height: 1.7;
        }

        /* Categorías Filtro */
        .categorias-filtro {
            background: white;
            padding: 30px 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 80px;
            z-index: 999;
        }

        .categorias-container {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .categoria-btn {
            padding: 12px 30px;
            border: 2px solid rgba(212, 175, 55, 0.3);
            background: transparent;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--charcoal);
            font-family: 'Playfair Display', serif;
        }

        .categoria-btn:hover,
        .categoria-btn.active {
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            color: white;
            border-color: var(--primary-gold);
            transform: translateY(-2px);
        }

        .categoria-btn i {
            margin-right: 8px;
        }

        /* Blog Section */
        .blog-section {
            padding: 80px 0 100px;
            background: var(--cream);
        }

        .blog-section .container {
            max-width: 1200px;
        }

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

        .section-header h2 {
            font-size: 2.5rem;
            color: var(--charcoal);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
        }

        .section-header p {
            font-size: 1.1rem;
            color: #666;
            margin-top: 25px;
        }

        /* Blog Grid */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        /* Blog Card */
        .blog-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            position: relative;
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        }

        .blog-image {
            height: 280px;
            overflow: hidden;
            position: relative;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transition: transform 0.5s ease;
            padding: 20px;
        }

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

        .blog-categoria {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 8px 18px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            backdrop-filter: blur(10px);
        }

        .blog-categoria.celulares {
            background: rgba(41, 128, 185, 0.95);
            color: white;
        }

        .blog-categoria.accesorios {
            background: rgba(0, 180, 166, 0.95);
            color: white;
        }

        .blog-categoria.smartwatch {
            background: rgba(142, 68, 173, 0.95);
            color: white;
        }

        .blog-categoria.tablets {
            background: rgba(230, 126, 34, 0.95);
            color: white;
        }

        .blog-categoria.general {
            background: rgba(212, 175, 55, 0.95);
            color: white;
        }

        .blog-content {
            padding: 30px;
            background: #ffffff;
        }

        .blog-content h3 {
            line-height: 1.4;
            margin-bottom: 15px;
        }

        .blog-excerpt {
            line-height: 1.7;
            color: #555;
            text-align: justify;
        }

        .blog-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            font-size: 0.85rem;
            color: #888;
        }

        .blog-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .blog-meta-item i {
            color: var(--primary-gold);
        }

        .blog-content h3 {
            font-size: 1.5rem;
            color: var(--charcoal);
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .blog-content h3 a {
            color: var(--charcoal);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .blog-content h3 a:hover {
            color: var(--primary-gold);
        }

        .blog-excerpt {
            font-size: 0.95rem;
            line-height: 1.7;
            color: #666;
            margin-bottom: 20px;
        }

        .blog-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
        }

        .author-name {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--charcoal);
        }

        .btn-leer-mas {
            padding: 10px 25px;
            border-radius: 25px;
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-leer-mas:hover {
            background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
            color: white;
            transform: translateX(5px);
        }

        /* Featured Post */
        .featured-post {
            background: white;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            margin-bottom: 80px;
            display: grid;
            grid-template-columns: 45% 55%;
            gap: 0;
            transition: opacity 0.3s ease;
            min-height: 500px;
        }

        .featured-image {
            height: 100%;
            min-height: 400px;
            max-height: 500px;
            position: relative;
            overflow: hidden;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            max-height: 500px;
        }

        .featured-content {
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #ffffff;
        }

        .featured-content h2 {
            line-height: 1.3;
            margin-bottom: 20px;
        }

        .featured-content p {
            line-height: 1.8;
            font-size: 1.05rem;
            color: #555;
            text-align: justify;
        }

        .featured-badge {
            display: inline-block;
            padding: 8px 20px;
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            color: white;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
            width: fit-content;
        }

        .featured-content h2 {
            font-size: 2.5rem;
            color: var(--charcoal);
            margin-bottom: 20px;
            line-height: 1.3;
        }

        .featured-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #666;
            margin-bottom: 30px;
        }

        .featured-meta {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
            margin-top: 20px;
            font-size: 0.9rem;
            color: #888;
            flex-wrap: wrap;
        }

        .featured-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .featured-meta i {
            color: var(--primary-gold);
        }

        /* Newsletter */
        .newsletter-section {
            background: linear-gradient(135deg, var(--dark-navy) 0%, #2d3561 100%);
            padding: 80px 0;
            margin-top: 80px;
            position: relative;
            overflow: hidden;
        }

        .newsletter-section::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
            opacity: 0.05;
            z-index: 0;
        }

        .newsletter-content {
            position: relative;
            z-index: 1;
            text-align: center;
            color: white;
            max-width: 700px;
            margin: 0 auto;
        }

        .newsletter-content h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .newsletter-content p {
            font-size: 1.1rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .newsletter-form {
            display: flex;
            gap: 15px;
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-input {
            flex: 1;
            padding: 15px 25px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: white;
            font-size: 1rem;
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--primary-gold);
            background: rgba(255, 255, 255, 0.15);
        }

        .newsletter-btn {
            padding: 15px 40px;
            background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
            color: white;
            border: none;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-btn:hover {
            background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero-blog-content h1 {
                font-size: 2.5rem;
            }

            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }

            .featured-post {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            .featured-image {
                min-height: 350px;
                max-height: 400px;
            }

            .featured-content {
                padding: 40px;
            }

            .featured-content h2 {
                font-size: 2rem;
            }

            .blog-image {
                height: 240px;
            }
        }

        @media (max-width: 768px) {
            .hero-blog-content h1 {
                font-size: 2rem;
            }

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

            .featured-post {
                margin-bottom: 50px;
            }

            .featured-image {
                min-height: 300px;
                max-height: 350px;
            }

            .featured-content {
                padding: 30px;
            }

            .blog-image {
                height: 220px;
            }

            .blog-image img {
                padding: 15px;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .categorias-container {
                overflow-x: auto;
                justify-content: flex-start;
                padding: 0 20px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease;
        }
