/**
 * Blog Article Styles v3.0.0
 * Actualizado: 2026-01-29
 * Diseño premium con sidebar moderno y atractivo
 */

/* ==========================================
   VARIABLES Y RESET
   ========================================== */
:root {
    --rosa-principal: #E91E8C;
    --rosa-claro: #FF6BB3;
    --rosa-hover: #C4177A;
    --rosa-ultra-light: #fff0f6;
    --texto-oscuro: #1a1a2e;
    --texto-gris: #555;
    --texto-light: #6c757d;
    --fondo-rosa: #fff5f8;
    --fondo-gris: #f8f9fa;
    --borde-light: #eee;
    --gradiente-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradiente-rosa: linear-gradient(135deg, #E91E8C 0%, #FF6BB3 100%);
    --sombra-suave: 0 4px 20px rgba(0, 0, 0, 0.08);
    --sombra-rosa: 0 10px 40px rgba(233, 30, 140, 0.15);
    --sombra-elevada: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radio-lg: 24px;
    --radio-md: 16px;
    --radio-sm: 12px;
}

/* ==========================================
   SVG SIZING - Normalizar iconos
   ========================================== */
.article-content svg,
.article-sidebar svg,
.article-hero svg,
.faq-question svg,
.tips-box svg,
.highlight-box svg,
.article-cta svg,
.share-links svg,
.sidebar-widget svg,
.sidebar-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.article-breadcrumb svg {
    width: 14px;
    height: 14px;
}

.sidebar-related-meta svg {
    width: 12px;
    height: 12px;
}

.btn-cta svg,
.sidebar-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   BREADCRUMB - Usa estilos de style.css global
   ========================================== */
article,
article[itemscope] {
    margin: 0;
    padding: 0;
}

/* ==========================================
   ARTICLE HERO - Diseño Premium Dark
   ========================================== */
header.article-hero,
.article-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradiente-hero);
    padding: 140px 0 80px;
    margin: 0 !important;
    border: none !important;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(233, 30, 140, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 179, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.article-hero-bg,
.article-hero-overlay {
    display: none;
}

.article-hero-content {
    position: relative;
    z-index: 3;
    padding: 10px 0 30px;
    width: 100%;
}

.article-hero .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Category Tag */
.article-category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Title */
.article-hero h1 {
    font-size: 2.4rem;
    color: #fff;
    line-height: 1.25;
    margin: 0 auto 20px;
    font-weight: 700;
    max-width: 800px;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Meta */
.article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-hero-meta span,
.article-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-hero-meta svg {
    width: 16px;
    height: 16px;
    color: var(--rosa-claro);
    stroke: var(--rosa-claro);
}

.article-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   ARTICLE LAYOUT - Grid principal
   ========================================== */
.article-wrapper {
    background: linear-gradient(180deg, #fff 0%, #fdf8fa 50%, #fff 100%);
    min-height: 100vh;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px;
}

@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

.article-container {
    max-width: 100%;
    width: 100%;
}

/* ==========================================
   ARTICLE CONTENT - Texto principal mejorado
   ========================================== */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 1.9rem;
    color: var(--texto-oscuro);
    margin: 60px 0 25px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradiente-rosa);
    border-radius: 2px;
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--texto-oscuro);
    margin: 45px 0 20px;
    font-weight: 600;
}

.article-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 25px;
}

.article-content ul,
.article-content ol {
    margin: 25px 0;
    padding-left: 25px;
}

.article-content li {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 12px;
}

.article-content li strong {
    color: var(--texto-oscuro);
}

.article-intro {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid #f0f0f0;
}

.article-intro strong {
    color: var(--rosa-principal);
}

/* ==========================================
   ARTICLE IMAGES
   ========================================== */
.article-image {
    margin: 50px 0;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-elevada);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-image:hover img {
    transform: scale(1.02);
}

.article-image figcaption {
    background: linear-gradient(135deg, #fdf8fa 0%, #fff 100%);
    padding: 18px 25px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
    border-top: 3px solid var(--rosa-principal);
}

.article-image-inline {
    margin: 45px 0;
    border-radius: var(--radio-md);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}

.article-image-inline img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.article-image-inline figcaption {
    background: linear-gradient(135deg, #fdf8fa 0%, #fff 100%);
    padding: 18px 25px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
    border-top: 3px solid var(--rosa-principal);
}

/* Gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 45px 0;
}

.article-gallery figure {
    margin: 0;
    border-radius: var(--radio-md);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
}

.article-gallery figure:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-rosa);
}

.article-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 45px;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-elevada);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 15px;
    background: #f8f9fa;
    font-style: italic;
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 45px 0;
    border-radius: var(--radio-md);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}

.comparison-table thead {
    background: var(--gradiente-rosa);
}

.comparison-table th {
    padding: 18px 20px;
    color: #fff;
    font-weight: 600;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #444;
}

.comparison-table tbody tr:nth-child(even) {
    background: #fdf8fa;
}

.comparison-table tbody tr:hover {
    background: var(--rosa-ultra-light);
}

/* ==========================================
   HIGHLIGHT & TIPS BOXES
   ========================================== */
.highlight-box {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08) 0%, rgba(255, 107, 179, 0.05) 100%);
    border-radius: var(--radio-md);
    padding: 30px;
    margin: 35px 0;
    border-left: 5px solid var(--rosa-principal);
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 1.5rem;
    background: #fff;
    padding: 0 10px;
}

.highlight-box h4 {
    color: var(--rosa-principal);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.highlight-box p {
    margin: 0;
    color: var(--texto-gris);
    line-height: 1.7;
}

.highlight-box ul {
    margin: 15px 0 0;
    padding-left: 20px;
}

.tips-box {
    background: var(--gradiente-hero);
    border-radius: var(--radio-lg);
    padding: 35px;
    margin: 45px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tips-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.tips-box h4 {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 1.3rem;
    position: relative;
}

.tips-box h4 svg {
    stroke: var(--rosa-claro);
}

.tips-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.tips-box li {
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.tips-box li:last-child {
    border-bottom: none;
}

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa-claro);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Error & Solution Boxes */
.error-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-left: 5px solid #dc2626;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--radio-lg) var(--radio-lg) 0;
}

.error-box h4 {
    font-size: 1.2rem;
    color: #dc2626;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-box h4::before {
    content: '⚠️';
}

.solution-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
    border-left: 5px solid #16a34a;
    padding: 30px;
    margin: 20px 0 40px;
    border-radius: 0 var(--radio-lg) var(--radio-lg) 0;
}

.solution-box h4 {
    font-size: 1.2rem;
    color: #16a34a;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-box h4::before {
    content: '✅';
}

/* ==========================================
   TOC - Table of Contents
   ========================================== */
.toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 30px;
    border-radius: var(--radio-md);
    margin: 45px 0;
    border: 1px solid #eee;
}

.toc h4 {
    font-size: 1.15rem;
    color: var(--texto-oscuro);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc h4::before {
    content: '📋';
}

.toc ol {
    margin: 0;
    padding-left: 20px;
    counter-reset: toc-counter;
}

.toc li {
    margin-bottom: 12px;
    counter-increment: toc-counter;
}

.toc a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transicion);
    display: inline-block;
}

.toc a:hover {
    color: var(--rosa-principal);
    transform: translateX(5px);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-container {
    margin-top: 20px;
}

.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    margin-bottom: 30px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radio-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transicion);
    border: 1px solid #eee;
}

.faq-item:hover {
    box-shadow: var(--sombra-suave);
    border-color: rgba(233, 30, 140, 0.2);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    transition: var(--transicion);
}

.faq-question:hover {
    background: #fdf8fa;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--rosa-principal);
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--rosa-principal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 25px 22px;
}

.faq-answer p {
    color: var(--texto-gris);
    line-height: 1.75;
    margin: 0;
}

/* ==========================================
   ARTICLE CTA
   ========================================== */
.article-cta {
    background: var(--gradiente-rosa);
    border-radius: var(--radio-lg);
    padding: 55px 45px;
    text-align: center;
    color: #fff;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.article-cta h2,
.article-cta h3 {
    color: #fff;
    border: none;
    padding: 0;
    margin-bottom: 15px;
    font-size: 1.9rem;
    position: relative;
}

.article-cta h2::after {
    display: none;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    font-size: 1.1rem;
    position: relative;
}

.article-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--rosa-principal);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transicion);
    margin-top: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.article-cta .btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.article-cta .btn-cta svg {
    width: 20px;
    height: 20px;
    fill: var(--rosa-principal);
}

.article-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-btn.primary {
    background: #fff;
    color: var(--rosa-principal);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ==========================================
   SIDEBAR - Diseño Premium
   ========================================== */
.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Widget Base */
.sidebar-widget {
    background: #fff;
    border-radius: var(--radio-lg);
    padding: 28px;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transicion);
}

.sidebar-widget:hover {
    box-shadow: var(--sombra-rosa);
    transform: translateY(-2px);
}

.sidebar-widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--rosa-principal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget-title svg {
    stroke: var(--rosa-principal);
    flex-shrink: 0;
}

/* ==========================================
   SIDEBAR CTA PRINCIPAL - WhatsApp
   ========================================== */
.sidebar-cta,
.sidebar-cta-whatsapp {
    background: var(--gradiente-hero);
    color: #fff;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    padding: 35px 25px;
}

.sidebar-cta::before,
.sidebar-cta-whatsapp::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta::after,
.sidebar-cta-whatsapp::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 179, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.sidebar-cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.sidebar-cta-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
    stroke: #fff;
}

.sidebar-cta h4,
.sidebar-cta-whatsapp h4 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}

.sidebar-cta p,
.sidebar-cta-whatsapp p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.6;
    position: relative;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--rosa-principal);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
    position: relative;
}

.sidebar-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sidebar-cta-btn svg {
    fill: var(--rosa-principal);
}

.sidebar-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transicion);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
}

.sidebar-cta-btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
    background: #20c65a;
}

.sidebar-cta-btn-wa svg {
    width: 22px;
    height: 22px;
}

.sidebar-cta-phone {
    display: block;
    margin-top: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

.sidebar-cta-phone a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-cta-phone a:hover {
    text-decoration: underline;
}

/* ==========================================
   SIDEBAR STATS - Widget de Estadísticas
   ========================================== */
.sidebar-stats-widget {
    background: linear-gradient(135deg, var(--rosa-ultra-light) 0%, #fff 100%);
    border: 2px solid rgba(233, 30, 140, 0.15);
    padding: 25px 20px;
}

.sidebar-stats-widget:hover {
    border-color: rgba(233, 30, 140, 0.3);
}

.sidebar-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 5px;
}

.sidebar-stat-item {
    padding: 12px 5px;
    position: relative;
}

.sidebar-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(233, 30, 140, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rosa-principal);
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.68rem;
    color: var(--texto-gris);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================
   SIDEBAR WHY US - Por qué elegirnos
   ========================================== */
.sidebar-why-us {
    background: var(--gradiente-hero) !important;
    border: none !important;
    padding: 30px 25px;
}

.sidebar-why-us:hover {
    transform: translateY(-2px);
}

.sidebar-why-us .sidebar-widget-title {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.sidebar-why-us .sidebar-widget-title svg {
    stroke: #FFD700 !important;
}

.sidebar-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-benefits-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.95rem;
}

.sidebar-benefits-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--gradiente-rosa);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(233, 30, 140, 0.3);
}

/* ==========================================
   SIDEBAR SERVICES GRID - Servicios
   ========================================== */
.sidebar-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--rosa-ultra-light) 0%, #fff 100%);
    border-radius: var(--radio-sm);
    text-decoration: none;
    transition: var(--transicion);
    border: 1px solid rgba(233, 30, 140, 0.12);
    min-height: 80px;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.2);
    border-color: var(--rosa-principal);
    background: linear-gradient(135deg, #ffe8f0 0%, #fff 100%);
}

.sidebar-service-item .service-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1;
}

.sidebar-service-item .service-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

/* ==========================================
   SIDEBAR ZONES - Zonas de Servicio
   ========================================== */
.zonas-tags,
.sidebar-zones-list,
.sidebar-zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zona-tag,
.sidebar-zone-tag {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1) 0%, rgba(255, 107, 179, 0.08) 100%);
    color: var(--rosa-principal);
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transicion);
    border: 1px solid transparent;
}

.zona-tag:hover,
.sidebar-zone-tag:hover {
    background: var(--rosa-principal);
    color: #fff;
}

.sidebar-zones-note {
    font-size: 0.85rem;
    color: var(--texto-gris);
    margin: 12px 0 0;
    font-style: italic;
}

/* ==========================================
   SIDEBAR ABOUT
   ========================================== */
.sidebar-about-text {
    color: var(--texto-gris);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sidebar-about-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 18px;
    border-top: 2px solid #f0f0f0;
}

.sidebar-stat {
    flex: 1;
}

.sidebar-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--rosa-principal);
}

.sidebar-stat-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   SIDEBAR RELATED - Artículos Relacionados
   ========================================== */
.sidebar-related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    transition: var(--transicion);
}

.sidebar-related-item:hover {
    padding-left: 5px;
}

.sidebar-related-item:first-of-type {
    padding-top: 0;
}

.sidebar-related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-related-image {
    width: 85px;
    height: 70px;
    border-radius: var(--radio-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-related-item:hover .sidebar-related-image img {
    transform: scale(1.1);
}

.sidebar-related-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    line-height: 1.4;
    margin-bottom: 6px;
    transition: var(--transicion);
}

.sidebar-related-item:hover .sidebar-related-content h4 {
    color: var(--rosa-principal);
}

.sidebar-related-meta {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-related-meta svg {
    width: 12px;
    height: 12px;
}

/* Sidebar Related List */
.sidebar-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-related-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-related-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-related-list a {
    color: var(--texto-oscuro);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicion);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-related-list a:hover {
    color: var(--rosa-principal);
    transform: translateX(5px);
}

.sidebar-related-list a::before {
    content: '→';
    color: var(--rosa-principal);
    font-weight: bold;
}

/* Sidebar Related Links */
.sidebar-related-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: var(--radio-sm);
    text-decoration: none;
    transition: var(--transicion);
    border: 1px solid transparent;
}

.sidebar-related-link:hover {
    background: #fff;
    border-color: var(--rosa-principal);
    transform: translateX(5px);
    box-shadow: var(--sombra-suave);
}

.sidebar-related-link.sidebar-related-featured {
    background: linear-gradient(135deg, var(--rosa-ultra-light) 0%, #fff 100%);
    border: 1px solid rgba(233, 30, 140, 0.2);
}

.sidebar-related-link .related-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sidebar-related-link .related-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--texto-oscuro);
}

.sidebar-related-link .related-arrow {
    color: var(--rosa-principal);
    font-weight: bold;
    transition: var(--transicion);
}

.sidebar-related-link:hover .related-arrow {
    transform: translateX(3px);
}

/* ==========================================
   SIDEBAR FINAL CTA
   ========================================== */
.sidebar-cta-final {
    background: var(--gradiente-rosa);
    color: #fff;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    padding: 30px 25px;
}

.sidebar-cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta-final::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

.cta-final-content h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.cta-final-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    position: relative;
}

.sidebar-cta-btn-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--rosa-principal);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transicion);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.sidebar-cta-btn-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.sidebar-cta-btn-final svg {
    width: 20px;
    height: 20px;
    stroke: var(--rosa-principal);
}

/* ==========================================
   ARTICLE SHARE
   ========================================== */
.article-share {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 35px 0;
    border-top: 2px solid #f0f0f0;
    margin-top: 60px;
}

.article-share span {
    font-weight: 700;
    color: var(--texto-oscuro);
    font-size: 1rem;
}

.share-links {
    display: flex;
    gap: 12px;
}

.share-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: var(--transicion);
}

.share-links a:hover {
    background: var(--rosa-principal);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 30, 140, 0.3);
}

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

/* ==========================================
   ARTICLE SECTIONS
   ========================================== */
.article-section {
    margin-bottom: 45px;
}

.article-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--texto-oscuro);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--rosa-principal);
}

.article-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 35px 0 18px;
}

.article-section p {
    color: var(--texto-gris);
    line-height: 1.85;
    margin-bottom: 18px;
    font-size: 1.08rem;
}

.article-section ul,
.article-section ol {
    margin: 22px 0;
    padding-left: 25px;
}

.article-section li {
    margin-bottom: 12px;
    color: var(--texto-gris);
    line-height: 1.75;
}

/* Check List */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa-principal);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr 320px;
        gap: 40px;
        padding: 60px 30px;
    }
}

@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
        padding: 50px 20px;
    }

    .article-sidebar {
        order: 2;
    }

    .sidebar-sticky {
        position: relative;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .sidebar-widget {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }

    .sidebar-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sidebar-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 350px;
        padding: 100px 0 60px;
    }

    .article-hero h1 {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .article-hero-meta {
        gap: 12px;
        font-size: 0.8rem;
    }

    .article-hero-meta span,
    .article-hero-meta .meta-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .article-category-tag {
        padding: 6px 16px;
        font-size: 0.7rem;
    }

    .article-intro {
        font-size: 1.1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 45px 0 20px;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-gallery {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 40px 25px;
    }

    .article-cta h2,
    .article-cta h3 {
        font-size: 1.5rem;
    }

    .tips-box {
        padding: 30px 25px;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }

    .article-cta-buttons {
        flex-direction: column;
    }

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

    .sidebar-sticky {
        flex-direction: column;
    }

    .sidebar-widget {
        flex: 1 1 100%;
        min-width: auto;
    }

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

    .toc {
        padding: 22px;
    }

    .highlight-box {
        padding: 25px 20px;
    }

    .article-image-inline {
        margin: 35px 0;
        border-radius: var(--radio-sm);
    }

    .article-image-inline img {
        max-height: 350px;
    }

    .article-image-inline figcaption {
        padding: 14px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-layout {
        padding: 35px 15px;
    }

    .article-hero {
        min-height: 300px;
        padding: 90px 0 50px;
    }

    .article-hero h1 {
        font-size: 1.5rem;
    }

    .sidebar-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sidebar-service-item {
        min-height: 70px;
        padding: 12px 8px;
    }

    .sidebar-service-item .service-icon {
        font-size: 1.5rem;
    }

    .sidebar-service-item .service-name {
        font-size: 0.68rem;
    }

    .sidebar-cta-btn-wa,
    .sidebar-cta-btn-final {
        padding: 14px 22px;
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}

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

.sidebar-widget {
    animation: fadeInUp 0.5s ease forwards;
}

.sidebar-widget:nth-child(2) {
    animation-delay: 0.1s;
}

.sidebar-widget:nth-child(3) {
    animation-delay: 0.2s;
}

.sidebar-widget:nth-child(4) {
    animation-delay: 0.3s;
}

.sidebar-widget:nth-child(5) {
    animation-delay: 0.4s;
}
