/* ============================================
           VARIABLES CSS - AMI ENERGÍA
        ============================================ */
        :root {
            --ami-aquamarine: #73fbd3;
            --ami-indigo: #153b50;
            --ami-indigo-dark: #0d2a3a;
            --ami-pink: #ff3cc7;
            --ami-yellow: #FFE900;
            --ami-purple: #63038c;
            --text-dark: #2d3748;
            --text-gray: #4a5568;
            --bg-light: #f7fafc;
            --white: #ffffff;
            
            --font-titles: 'Krub', sans-serif;
            --font-body: 'Nunito', sans-serif;
        }
        
        /* ============================================
           RESET Y BASE
        ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .blog-article {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.8;
            background: var(--white);
        }
        
        .blog-article img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* ============================================
           CONTENEDOR PRINCIPAL
        ============================================ */
        .article-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 50px 20px;
        }
        
        /* ============================================
           BREADCRUMBS
        ============================================ */
        .breadcrumbs {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 30px;
            font-family: var(--font-body);
        }
        
        .breadcrumbs a {
            color: var(--ami-indigo);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .breadcrumbs a:hover {
            color: var(--ami-pink);
        }
        
        .breadcrumbs span {
            margin: 0 8px;
            color: var(--text-gray);
        }
        
        /* ============================================
           HEADER DEL ARTÍCULO
        ============================================ */
        .article-header {
            margin-bottom: 40px;
            text-align: center;
        }
        
        .article-category {
            display: inline-block;
            background: var(--ami-yellow);
            color: var(--ami-indigo);
            font-family: var(--font-titles);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 6px 16px;
            border-radius: 20px;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }
        
        .article-title {
            font-family: var(--font-titles);
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 700;
            color: var(--ami-indigo);
            line-height: 1.2;
            margin-bottom: 20px;
        }
        
        .article-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 30px;
        }
        
        .article-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .article-excerpt {
            font-size: 20px;
            line-height: 1.6;
            color: var(--text-gray);
            font-weight: 500;
            margin-bottom: 30px;
            padding: 20px;
            background: var(--bg-light);
            border-left: 4px solid var(--ami-yellow);
            border-radius: 0 8px 8px 0;
        }
        
        /* ============================================
           IMAGEN DESTACADA
        ============================================ */
        .featured-image {
            margin-bottom: 50px;
            border-radius: 20px 0 20px 0;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(21, 59, 80, 0.15);
        }
        
        .featured-image img {
            width: 100%;
            height: auto;
        }
        
        /* ============================================
           TABLA DE CONTENIDOS
        ============================================ */
        .table-of-contents {
            background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
            padding: 30px;
            border-radius: 20px 0 20px 0;
            margin-bottom: 50px;
            border: 2px solid var(--ami-yellow);
        }
        
        .table-of-contents h2 {
            font-family: var(--font-titles);
            font-size: 22px;
            font-weight: 700;
            color: var(--ami-indigo);
            margin-bottom: 20px;
        }
        
        .toc-list {
            list-style: none;
        }
        
        .toc-list li {
            margin-bottom: 12px;
        }
        
        .toc-list a {
            color: var(--ami-indigo);
            text-decoration: none;
            font-weight: 600;
            display: block;
            transition: all 0.3s ease;
            padding-left: 10px;
        }
        
        .toc-list a:hover {
            padding-left: 20px;
            color: var(--ami-indigo-dark);
        }
        
        /* ============================================
           CONTENIDO DEL ARTÍCULO
        ============================================ */
        .article-content {
            font-size: 17px;
            line-height: 1.8;
        }
        
        /* Tipografía */
        .article-content h2 {
            font-family: var(--font-titles);
            font-size: clamp(28px, 4vw, 36px);
            font-weight: 700;
            color: var(--ami-indigo);
            margin: 50px 0 20px;
            line-height: 1.3;
            scroll-margin-top: 100px;
        }
        
        .article-content h3 {
            font-family: var(--font-titles);
            font-size: clamp(22px, 3vw, 28px);
            font-weight: 700;
            color: var(--ami-indigo-dark);
            margin: 35px 0 15px;
            line-height: 1.3;
        }
        
        .article-content h4 {
            font-family: var(--font-titles);
            font-size: clamp(18px, 2.5vw, 22px);
            font-weight: 600;
            color: var(--text-dark);
            margin: 25px 0 12px;
            line-height: 1.4;
        }
        
        .article-content p {
            margin-bottom: 20px;
            color: var(--text-dark);
        }
        
        .article-content strong {
            color: var(--ami-indigo-dark);
            font-weight: 700;
        }
        
        .article-content ul,
        .article-content ol {
            margin: 20px 0 20px 25px;
        }
        
        .article-content li {
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        
        .article-content a {
            color: var(--ami-indigo);
            font-weight: 600;
            text-decoration: underline;
            transition: color 0.3s ease;
        }
        
        .article-content a:hover {
            color: var(--ami-pink);
        }
        
        /* ============================================
           CAJAS DESTACADAS
        ============================================ */
        .highlight-box {
            background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
            border-left: 5px solid var(--ami-yellow);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 15px 0 15px;
        }
        
        .highlight-box p {
            margin-bottom: 10px;
        }
        
        .highlight-box p:last-child {
            margin-bottom: 0;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #e6f9f5 0%, #d1f4eb 100%);
            border-left: 5px solid var(--ami-aquamarine);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 15px 0 15px;
        }
        
        .tip-box-title {
            font-family: var(--font-titles);
            font-size: 18px;
            font-weight: 700;
            color: var(--ami-indigo);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #ffe6f2 0%, #ffd1e8 100%);
            border-left: 5px solid var(--ami-pink);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 15px 0 15px;
        }
        
        .success-box {
            background: linear-gradient(135deg, #e6ffe6 0%, #d1ffd1 100%);
            border-left: 5px solid #10b981;
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 15px 0 15px;
        }
        
        /* ============================================
           TABLAS
        ============================================ */
        .price-table {
            width: 100%;
            margin: 30px 0;
            border-collapse: collapse;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(21, 59, 80, 0.1);
        }
        
        .price-table thead {
            background: var(--ami-indigo);
        }
        
        .price-table th {
            color: var(--ami-aquamarine);
            font-family: var(--font-titles);
            font-weight: 700;
            font-size: 15px;
            text-transform: uppercase;
            padding: 18px 15px;
            text-align: left;
            letter-spacing: 0.5px;
        }
        
        .price-table td {
            padding: 16px 15px;
            border-bottom: 1px solid #e2e8f0;
            color: var(--text-dark);
        }
        
        .price-table tbody tr {
            background: var(--white);
            transition: background 0.3s ease;
        }
        
        .price-table tbody tr:nth-child(even) {
            background: var(--bg-light);
        }
        
        .price-table tbody tr:hover {
            background: #fff9e6;
        }
        
        .price-table .price {
            font-weight: 700;
            color: var(--ami-indigo);
            font-size: 16px;
        }
        
        /* ============================================
           CAJAS DE PRECIO
        ============================================ */
        .price-card {
            background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
            border: 3px solid var(--ami-yellow);
            border-radius: 20px 0 20px 0;
            padding: 30px;
            margin: 30px 0;
            box-shadow: 0 8px 25px rgba(255, 233, 0, 0.2);
        }
        
        .price-card-title {
            font-family: var(--font-titles);
            font-size: 24px;
            font-weight: 700;
            color: var(--ami-indigo);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .price-amount {
            font-family: var(--font-titles);
            font-size: 42px;
            font-weight: 700;
            color: var(--ami-indigo-dark);
            text-align: center;
            margin-bottom: 10px;
        }
        
        .price-detail {
            text-align: center;
            color: var(--text-gray);
            margin-bottom: 20px;
        }
        
        /* ============================================
           CTA BOXES
        ============================================ */
        .cta-box {
            background: linear-gradient(135deg, var(--ami-indigo) 0%, var(--ami-indigo-dark) 100%);
            color: var(--white);
            padding: 40px;
            border-radius: 25px 0 25px 0;
            margin: 50px 0;
            text-align: center;
            box-shadow: 0 10px 40px rgba(21, 59, 80, 0.3);
        }
        
        .cta-box h3 {
            font-family: var(--font-titles);
            font-size: 28px;
            font-weight: 700;
            color: var(--ami-aquamarine) !important;
            margin: 0 0 15px 0 !important;
        }
        
        .cta-box p {
            font-size: 17px;
            margin-bottom: 25px;
            color: var(--white) !important;
        }
        
        .cta-button {
            display: inline-block;
            background: var(--ami-yellow);
            color: var(--ami-indigo-dark) !important;
            font-family: var(--font-titles);
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 16px 40px;
            border-radius: 15px 0 15px 0;
            text-decoration: none !important;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
            box-shadow: 0 6px 20px rgba(255, 233, 0, 0.4);
        }
        
        .cta-button:hover {
            background: #ffd700;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 233, 0, 0.5);
        }
        
        .cta-contact {
            margin-top: 20px;
            font-size: 15px;
            color: var(--ami-aquamarine) !important;
        }
        
        .cta-contact a {
            color: var(--ami-aquamarine) !important;
            font-weight: 700;
            text-decoration: underline !important;
        }
        
        /* ============================================
           CONCLUSIÓN
        ============================================ */
        .conclusion-section {
            background: var(--bg-light);
            padding: 40px;
            border-radius: 20px 0 20px 0;
            margin: 50px 0;
            border-left: 6px solid var(--ami-yellow);
        }
        
        .conclusion-section h2 {
            margin-top: 0 !important;
        }
        
        /* ============================================
           COMPARTIR EN REDES
        ============================================ */
        .share-section {
            margin: 50px 0;
            padding: 30px;
            background: var(--white);
            border: 2px solid var(--bg-light);
            border-radius: 15px;
            text-align: center;
        }
        
        .share-title {
            font-family: var(--font-titles);
            font-size: 18px;
            font-weight: 700;
            color: var(--ami-indigo);
            margin-bottom: 20px;
        }
        
        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .share-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 25px;
            font-family: var(--font-titles);
            font-size: 14px;
            font-weight: 600;
            text-decoration: none !important;
            transition: all 0.3s ease;
        }
        
        .share-btn:hover {
            transform: translateY(-3px);
        }
        
        .share-facebook {
            background: #1877f2;
            color: var(--white) !important;
        }
        
        .share-twitter {
            background: #1da1f2;
            color: var(--white) !important;
        }
        
        .share-linkedin {
            background: #0a66c2;
            color: var(--white) !important;
        }
        
        .share-whatsapp {
            background: #25d366;
            color: var(--white) !important;
        }
        
        /* ============================================
           CARDS DE EJEMPLO
        ============================================ */
        .example-card {
            background: var(--white);
            border: 2px solid var(--ami-yellow);
            border-radius: 20px 0 20px 0;
            padding: 25px;
            margin: 25px 0;
            box-shadow: 0 4px 15px rgba(255, 233, 0, 0.15);
        }
        
        .example-title {
            font-family: var(--font-titles);
            font-size: 20px;
            font-weight: 700;
            color: var(--ami-indigo);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* ============================================
           RESPONSIVE
        ============================================ */
        @media (max-width: 768px) {
            .article-container {
                padding: 30px 15px;
            }
            
            .article-title {
                font-size: 28px;
            }
            
            .article-excerpt {
                font-size: 17px;
            }
            
            .article-content {
                font-size: 16px;
            }
            
            .table-of-contents {
                padding: 20px;
            }
            
            .cta-box {
                padding: 30px 20px;
            }
            
            .price-table {
                font-size: 14px;
            }
            
            .price-table th,
            .price-table td {
                padding: 12px 10px;
            }
            
            .price-amount {
                font-size: 32px;
            }
            
            .share-buttons {
                flex-direction: column;
            }
            
            .share-btn {
                width: 100%;
                justify-content: center;
            }
        }
