/**
 * Blog Article Styles v2.1.0 - MANEXT Edition
 * Actualizado: 2026-01-27
 * Colores hero: texto oscuro sobre fondo pastel rojo
 * Adaptado para MANEXT (extintores) - paleta roja
 */

:root {
    --art-primary: #d32f2f;
    --art-primary-light: #f44336;
    --texto-oscuro: #1a1a1a;
    --texto-gris: #555;
    --art-bg-light: #fef2f2;
}

/* Overflow protection global */
.article-wrapper,
.article-layout,
.article-container,
.article-content,
.article-hero {
    max-width: 100%;
    box-sizing: border-box;
}

.article-wrapper {
    overflow-x: hidden;
}

.article-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.article-content img,
.article-content iframe,
.article-content video {
    max-width: 100%;
    height: auto;
}

.article-content a {
    word-break: break-all;
    color: var(--art-primary);
    text-decoration: underline;
    text-decoration-color: rgba(211, 47, 47, 0.3);
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-content a:hover {
    color: var(--art-primary-light);
    text-decoration-color: var(--art-primary-light);
}

.article-cta a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.article-cta a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.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 - MODULO INDEPENDIENTE
   ========================================== */

/* Breadcrumb section para artículos del blog */
.breadcrumb-section,
section.breadcrumb-section {
    background: #f8f9fa !important;
    padding: 10px 0 5px 0 !important;
    margin-top: -10px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    border-bottom: 1px solid #eee !important;
}

.breadcrumb-section .breadcrumb,
.breadcrumb-section nav.breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
}

article {
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumb-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-section .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-section .breadcrumb a {
    color: var(--art-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-section .breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-section .breadcrumb svg {
    width: 14px;
    height: 14px;
    color: #999;
    flex-shrink: 0;
}

.breadcrumb-section .breadcrumb span {
    color: var(--texto-oscuro);
    font-weight: 500;
}

/* Article después de breadcrumb - sin margin extra */
.breadcrumb-section + article,
section.breadcrumb-section + article {
    margin: 0 !important;
    padding: 0 !important;
}

article,
article[itemscope] {
    margin: 0;
    padding: 0;
}

header.article-hero,
.article-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ffcdd2 0%, #ffebee 30%, #fef2f2 70%, #ffffff 100%);
    padding: 80px 0 60px;
    margin: 0 !important;
    margin-top: 0 !important;
    border: none !important;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(211, 47, 47, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(211, 47, 47, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

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

/* Hide bg/overlay if present - not needed with pastel design */
.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;
}

/* Breadcrumb integrado dentro del Hero */
.article-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.article-breadcrumb a {
    color: var(--art-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    opacity: 0.85;
}

.article-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.article-breadcrumb svg {
    width: 12px;
    height: 12px;
    color: var(--art-primary);
    opacity: 0.5;
}

.article-breadcrumb span {
    color: var(--texto-oscuro);
    font-weight: 600;
}

.article-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.25);
}

.article-hero h1 {
    font-size: 2.2rem;
    color: var(--texto-oscuro);
    line-height: 1.3;
    margin: 0 auto 18px;
    font-weight: 700;
    max-width: 750px;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--texto-gris);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.article-hero-meta svg {
    width: 16px;
    height: 16px;
    color: var(--art-primary);
}

.article-tagline {
    font-size: 1.15rem;
    color: var(--texto-gris);
    line-height: 1.7;
    margin-bottom: 25px;
}

.article-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--texto-gris);
}

.article-hero-meta .meta-item svg {
    stroke: var(--art-primary);
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--art-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--art-primary-light);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb span:last-child {
    color: var(--texto-gris);
}

.article-wrapper {
    background: linear-gradient(180deg, #fff 0%, #fef5f5 100%);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px;
}

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

.article-content h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 50px 0 25px;
    font-weight: 700;
    line-height: 1.3;
}

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

.article-content h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 40px 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: #1a1a1a;
}

.article-image {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

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

.article-image-inline {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

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

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

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

.article-gallery figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

/* Sin animaciones en imagenes */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
}

.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: #fef5f5;
}

.comparison-table tbody tr:hover {
    background: #fef2f2;
}

.error-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-left: 4px solid #dc2626;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 20px 20px 0;
}

.error-box h4 {
    font-size: 1.2rem;
    color: #dc2626;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.solution-box h4 {
    font-size: 1.2rem;
    color: #16a34a;
    margin-bottom: 15px;
    font-weight: 700;
}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.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;
}

.toc {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.toc h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #d32f2f;
}

.article-section {
    margin-bottom: 40px;
}

.article-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--art-primary);
}

.article-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.article-section p {
    color: var(--texto-gris);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.article-intro {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.article-intro strong {
    color: #d32f2f;
}

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

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

.check-list {
    list-style: none;
    padding-left: 0;
}

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

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

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.steps-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

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

.steps-list li strong {
    color: var(--texto-oscuro);
    font-size: 1.05rem;
}

.steps-list li p {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--texto-gris);
    line-height: 1.7;
}

.highlight-box {
    background: #fff;
    border-radius: 14px;
    padding: 26px 30px 26px 30px;
    margin: 36px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    border-left: none !important;
    position: relative;
    overflow: hidden;
}
.highlight-box::before {
    content: 'DATO CLAVE';
    display: block;
    background: #d32f2f;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: fit-content;
}
.highlight-box::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(211,47,47,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.highlight-box h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.highlight-box p {
    margin: 0;
    color: #555;
    line-height: 1.75;
}

.highlight-box ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #555;
}

.tips-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    color: #fff;
}

.tips-box p {
    color: rgba(255,255,255,0.9);
}

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

.tips-box h4 svg {
    stroke: var(--art-primary-light);
}

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

.tips-box li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--art-primary-light);
    font-weight: bold;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

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

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

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

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

.faq-answer {
    display: none;
    padding: 0 25px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.article-cta {
    background: linear-gradient(135deg, var(--art-primary) 0%, var(--art-primary-light) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    margin-top: 50px;
}

.article-cta h2 {
    color: #fff;
    border: none;
    padding: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.article-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.article-cta h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.article-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--art-primary);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-cta .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

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

.cta-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

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

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

.cta-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

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

.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--art-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.sidebar-cta {
    background: linear-gradient(135deg, var(--art-primary), var(--art-primary-light));
    color: #fff;
    text-align: center;
    border: none;
}

.sidebar-cta-icon {
    margin-bottom: 15px;
}

.sidebar-cta-icon svg {
    stroke: #fff;
}

.sidebar-cta h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--art-primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sidebar-cta-btn svg {
    fill: var(--art-primary);
}

.zonas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zona-tag {
    background: rgba(211, 47, 47, 0.1);
    color: var(--art-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.sidebar-about-text {
    color: var(--texto-gris);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.sidebar-stat {
    flex: 1;
}

.sidebar-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--art-primary);
}

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

.sidebar-related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
}

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

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

.sidebar-related-image {
    width: 80px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sin animaciones en imagenes */

.sidebar-related-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 5px;
}

/* Sin animaciones en hover */

.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-zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-zone-tag {
    background: rgba(211,47,47,0.08);
    color: #d32f2f;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.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: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-related-list a:hover {
    color: var(--art-primary);
}

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

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

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

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.article-share span {
    font-weight: 600;
    color: #1a1a1a;
}

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

.share-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-links a:hover {
    background: #d32f2f;
    color: #fff;
}

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

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

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

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

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

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

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

    .article-sidebar {
        order: 2;
    }

    .sidebar-sticky {
        position: relative;
        top: 0;
    }

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

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

@media (max-width: 768px) {
    /* --- Breadcrumb --- */
    .breadcrumb-section,
    section.breadcrumb-section {
        margin-top: -10px !important;
        padding: 8px 0 4px 0 !important;
    }

    .breadcrumb-section .breadcrumb {
        font-size: 0.8rem;
        gap: 6px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .breadcrumb-section .container {
        padding: 0 15px;
    }

    /* --- Article Layout --- */
    .article-layout {
        padding: 25px 15px;
        gap: 20px;
    }

    /* --- Hero Section --- */
    .article-hero {
        min-height: 180px;
        padding: 40px 0 30px;
        margin-top: 0 !important;
    }

    .article-hero .container {
        padding: 0 15px;
    }

    .article-hero h1 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .article-hero-content {
        padding: 5px 0 15px;
    }

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

    .article-hero-meta span {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    .article-category-tag {
        padding: 5px 14px;
        font-size: 0.68rem;
        margin-bottom: 12px;
    }

    .article-breadcrumb {
        font-size: 0.75rem;
        gap: 6px;
        padding: 8px 14px;
        margin-bottom: 15px;
    }

    .article-tagline {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    /* --- Article Content Typography --- */
    .article-intro {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .article-content h2 {
        font-size: 1.35rem;
        margin: 35px 0 18px;
    }

    .article-content h3 {
        font-size: 1.15rem;
        margin: 25px 0 15px;
    }

    .article-content p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 18px;
    }

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

    .article-content li {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 8px;
    }

    .article-section h2 {
        font-size: 1.3rem;
    }

    .article-section h3 {
        font-size: 1.1rem;
        margin: 20px 0 12px;
    }

    .article-section p {
        font-size: 0.95rem;
    }

    /* --- Images --- */
    .article-image {
        margin: 25px 0;
        border-radius: 12px;
    }

    .article-image figcaption {
        padding: 10px 15px;
        font-size: 0.82rem;
    }

    .article-image-inline {
        margin: 25px 0;
        border-radius: 12px;
    }

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

    .article-image-inline figcaption {
        padding: 10px 15px;
        font-size: 0.82rem;
    }

    .article-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 25px 0;
    }

    .article-gallery img {
        height: 200px;
    }

    .article-featured-image {
        margin-bottom: 25px;
        border-radius: 12px;
    }

    /* --- Tables --- */
    .comparison-table {
        font-size: 0.82rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        white-space: normal;
        min-width: 80px;
    }

    /* --- Boxes --- */
    .highlight-box {
        padding: 18px;
        margin: 20px 0;
    }

    .highlight-box h4 {
        font-size: 1rem;
    }

    .tips-box {
        padding: 22px 18px;
        margin: 25px 0;
        border-radius: 12px;
    }

    .tips-box h4 {
        font-size: 1.05rem;
    }

    .tips-box li {
        font-size: 0.9rem;
    }

    .error-box,
    .solution-box {
        padding: 20px;
        margin: 25px 0;
        border-radius: 0 12px 12px 0;
    }

    .error-box h4,
    .solution-box h4 {
        font-size: 1.05rem;
    }

    /* --- TOC --- */
    .toc {
        padding: 18px;
        margin: 25px 0;
        border-radius: 12px;
    }

    .toc h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .toc a {
        font-size: 0.9rem;
    }

    /* --- FAQ --- */
    .faq-section {
        margin: 35px 0;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 0.92rem;
    }

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

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* --- CTA Section --- */
    .article-cta {
        padding: 30px 20px;
        border-radius: 14px;
        margin-top: 35px;
    }

    .article-cta h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

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

    .article-cta p {
        font-size: 0.92rem;
    }

    .article-cta .btn-cta {
        padding: 13px 25px;
        font-size: 0.92rem;
    }

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

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 25px;
        font-size: 0.92rem;
    }

    /* --- Share --- */
    .article-share {
        flex-direction: column;
        gap: 12px;
        padding: 20px 0;
        margin-top: 35px;
    }

    .share-links a {
        width: 40px;
        height: 40px;
    }

    /* --- Sidebar Widgets --- */
    .sidebar-widget {
        padding: 20px;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .sidebar-widget-title {
        font-size: 0.95rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    /* WhatsApp CTA */
    .sidebar-widget.sidebar-cta-whatsapp {
        padding: 25px 20px;
    }

    .sidebar-cta-whatsapp h4 {
        font-size: 1.2rem;
    }

    .sidebar-cta-whatsapp p {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }

    .sidebar-cta-btn-wa {
        padding: 12px 22px;
        font-size: 0.92rem;
    }

    .sidebar-cta-phone {
        font-size: 0.88rem;
    }

    /* Services Grid */
    .sidebar-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .sidebar-service-item {
        padding: 10px 6px;
        min-height: 60px;
    }

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

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

    /* Why Us */
    .sidebar-benefits-list li {
        font-size: 0.85rem;
        padding: 10px 0;
        gap: 10px;
    }

    .benefit-check {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    /* Extintores List */
    .sidebar-extintor-link {
        padding: 8px 10px;
    }

    .sidebar-extintor-link .extintor-name {
        font-size: 0.82rem;
    }

    /* Zonas Tags */
    .sidebar-zonas-tags {
        gap: 6px;
    }

    .sidebar-zona-tag {
        padding: 5px 10px;
        font-size: 0.73rem;
    }

    /* Normas */
    .sidebar-norma-item {
        padding: 8px;
        gap: 10px;
    }

    .sidebar-norma-badge {
        min-width: 32px;
        height: 32px;
    }

    .sidebar-norma-badge svg {
        width: 16px;
        height: 16px;
    }

    .sidebar-norma-info strong {
        font-size: 0.78rem;
    }

    .sidebar-norma-info span {
        font-size: 0.72rem;
    }

    /* Stats */
    .stat-number {
        font-size: 1.3rem;
    }

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

    /* Related Links */
    .sidebar-related-link {
        padding: 10px 12px;
    }

    .sidebar-related-link .related-text {
        font-size: 0.85rem;
    }

    /* Related List */
    .sidebar-related-list a {
        font-size: 0.85rem;
    }

    /* CTA Final */
    .sidebar-cta-final {
        padding: 22px 18px;
    }

    .cta-final-content h4 {
        font-size: 1.05rem;
    }

    .cta-final-content p {
        font-size: 0.85rem;
    }

    .sidebar-cta-btn-final {
        padding: 12px 22px;
        font-size: 0.92rem;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: calc(20px + env(safe-area-inset-right, 0px));
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

.sidebar-widget.sidebar-cta-whatsapp {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%) !important;
    color: #fff !important;
    text-align: center;
    border: none !important;
    position: relative;
    overflow: hidden;
    padding: 30px 25px;
}

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

.sidebar-cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.sidebar-cta-whatsapp h4 {
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

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

.sidebar-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366 !important;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
}

.sidebar-cta-btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #1db954 !important;
}

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

.sidebar-cta-phone {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85) !important;
    position: relative;
}

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

.sidebar-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(211, 47, 47, 0.15);
    min-height: 70px;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
    border-color: var(--art-primary);
    background: linear-gradient(135deg, #ffebee 0%, #fff 100%);
}

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

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

.sidebar-why-us {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: none !important;
}

.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: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.9rem;
}

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

.benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.sidebar-zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

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

.sidebar-stats-widget {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border: 2px solid rgba(211, 47, 47, 0.2);
}

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

.sidebar-stat-item {
    padding: 10px 5px;
}

.sidebar-stat-item:not(:last-child) {
    border-right: 1px solid rgba(211, 47, 47, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--art-primary);
    line-height: 1.2;
}

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

.sidebar-related-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-related-link:hover {
    background: #fff;
    border-color: var(--art-primary);
    transform: translateX(5px);
}

.sidebar-related-link.sidebar-related-featured {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.sidebar-related-link .related-icon {
    font-size: 1.2rem;
    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(--art-primary);
    font-weight: bold;
}

/* Módulo: Tipos de Extintores */
.sidebar-extintores-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-extintor-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-extintor-link:hover {
    background: #fef2f2;
    border-left-color: var(--art-primary);
    transform: translateX(3px);
}

.sidebar-extintor-link .extintor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--art-primary);
    flex-shrink: 0;
}

.sidebar-extintor-link .extintor-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--texto-oscuro);
    flex: 1;
}

.sidebar-extintor-link .extintor-arrow {
    color: var(--art-primary);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-extintor-link:hover .extintor-arrow {
    opacity: 1;
}

/* Módulo: Zonas de Servicio */
.sidebar-zonas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.sidebar-zona-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    color: var(--texto-oscuro);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(211, 47, 47, 0.15);
    transition: all 0.3s ease;
}

.sidebar-zona-tag:hover {
    background: var(--art-primary);
    color: #fff;
    border-color: var(--art-primary);
}

.sidebar-zonas-note {
    font-size: 0.8rem;
    color: var(--texto-gris);
    margin: 0;
    text-align: center;
    font-style: italic;
}

/* Módulo: Normativas */
.sidebar-normas-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-norma-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sidebar-norma-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.sidebar-norma-badge svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.sidebar-norma-info strong {
    display: block;
    font-size: 0.82rem;
    color: var(--texto-oscuro);
    margin-bottom: 2px;
}

.sidebar-norma-info span {
    font-size: 0.75rem;
    color: var(--texto-gris);
    line-height: 1.3;
}

/* Sin animaciones en links */

.sidebar-cta-final {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    text-align: center;
    border: none;
    position: relative;
}

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

.cta-final-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-final-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-cta-btn-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--art-primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    fill: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5),
                0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.5);
    border: 2px solid #fff;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (hover: none) and (pointer: coarse) {
    .whatsapp-float { transition: transform 0.2s ease; }
    .whatsapp-float:active { transform: scale(0.92); }
    .whatsapp-badge { animation: pulse-badge-mobile 2.5s ease-in-out infinite; }
}

@keyframes pulse-badge-mobile {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { transition: none; }
    .whatsapp-badge { animation: none; }
}


@media (max-width: 480px) {
    /* --- Layout --- */
    .article-layout {
        padding: 18px 12px;
        gap: 15px;
    }

    /* --- Hero --- */
    .article-hero {
        min-height: 150px;
        padding: 30px 0 25px;
    }

    .article-hero .container {
        padding: 0 12px;
    }

    .article-hero h1 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .article-hero-content {
        padding: 5px 0 10px;
    }

    .article-hero-meta {
        gap: 6px;
        flex-direction: column;
        align-items: center;
    }

    .article-hero-meta span {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .article-breadcrumb {
        font-size: 0.7rem;
        gap: 5px;
        padding: 6px 12px;
    }

    .article-category-tag {
        padding: 4px 12px;
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .article-tagline {
        font-size: 0.92rem;
    }

    /* --- Content --- */
    .article-intro {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .article-content h2 {
        font-size: 1.2rem;
        margin: 28px 0 14px;
    }

    .article-content h3 {
        font-size: 1.05rem;
        margin: 20px 0 12px;
    }

    .article-content p {
        font-size: 0.93rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .article-content li {
        font-size: 0.93rem;
    }

    .article-section h2 {
        font-size: 1.15rem;
    }

    .article-section p {
        font-size: 0.9rem;
    }

    /* --- Boxes --- */
    .highlight-box {
        padding: 15px;
    }

    .tips-box {
        padding: 18px 15px;
    }

    .tips-box h4 {
        font-size: 0.95rem;
        gap: 8px;
    }

    .tips-box li {
        font-size: 0.85rem;
        padding-left: 22px;
    }

    .error-box,
    .solution-box {
        padding: 15px;
    }

    /* --- Tables --- */
    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        font-size: 0.78rem;
    }

    /* --- FAQ --- */
    .faq-question {
        padding: 13px 15px;
        font-size: 0.88rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    /* --- CTA --- */
    .article-cta {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .article-cta h2 {
        font-size: 1.2rem;
    }

    .article-cta h3 {
        font-size: 1.1rem;
    }

    .article-cta .btn-cta {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    /* --- Sidebar --- */
    .sidebar-widget {
        padding: 18px 15px;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .sidebar-widget-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    /* WhatsApp CTA */
    .sidebar-widget.sidebar-cta-whatsapp {
        padding: 22px 15px;
    }

    .sidebar-cta-whatsapp h4 {
        font-size: 1.1rem;
    }

    .sidebar-cta-whatsapp p {
        font-size: 0.85rem;
    }

    .sidebar-cta-btn-wa {
        padding: 11px 18px;
        font-size: 0.88rem;
    }

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

    .sidebar-cta-phone {
        font-size: 0.82rem;
        margin-top: 12px;
    }

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

    .sidebar-service-item {
        padding: 8px 5px;
        min-height: 55px;
    }

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

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

    /* Benefits */
    .sidebar-benefits-list li {
        font-size: 0.82rem;
        gap: 8px;
    }

    .benefit-check {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    /* Extintores */
    .sidebar-extintor-link {
        padding: 7px 8px;
    }

    .sidebar-extintor-link .extintor-name {
        font-size: 0.78rem;
    }

    .sidebar-extintor-link .extintor-dot {
        width: 6px;
        height: 6px;
    }

    /* Zonas */
    .sidebar-zona-tag {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    /* Normas */
    .sidebar-norma-item {
        padding: 7px;
        gap: 8px;
    }

    .sidebar-norma-badge {
        min-width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .sidebar-norma-badge svg {
        width: 14px;
        height: 14px;
    }

    .sidebar-norma-info strong {
        font-size: 0.75rem;
    }

    .sidebar-norma-info span {
        font-size: 0.7rem;
    }

    /* Stats */
    .stat-number {
        font-size: 1.1rem;
    }

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

    /* Related */
    .sidebar-related-link {
        padding: 8px 10px;
    }

    .sidebar-related-link .related-icon {
        font-size: 1rem;
    }

    .sidebar-related-link .related-text {
        font-size: 0.82rem;
    }

    .sidebar-related-list a {
        font-size: 0.82rem;
    }

    /* CTA Final */
    .sidebar-cta-btn-final {
        padding: 11px 18px;
        font-size: 0.88rem;
    }

    .cta-final-content h4 {
        font-size: 0.95rem;
    }

    .cta-final-content p {
        font-size: 0.82rem;
    }

    /* Share */
    .share-links a {
        width: 36px;
        height: 36px;
    }

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

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* =====================================================
   NUEVO TEMPLATE DE ARTÍCULO v6 — MANEXT
   Clases: art-* (no conflicto con legacy article-*)
   ===================================================== */

/* META BAR */
.art-meta-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.art-meta-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #666;
}
.art-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.art-meta-item svg { color: #d32f2f; flex-shrink: 0; }
.art-meta-sep { color: #ccc; }

/* BODY LAYOUT */
.art-body {
    background: #fff;
    padding: 0 0 60px;
}
.art-body-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 0 0;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

/* COLUMNA PRINCIPAL */
.art-main { min-width: 0; }

.art-hero-img {
    margin: 0 0 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.art-hero-img img { width: 100%; height: auto; display: block; }

/* COMPARTIR */
.art-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 40px 0;
    flex-wrap: wrap;
}
.art-share-label { font-size: 0.9rem; color: #888; font-weight: 500; }
.art-share-btns { display: flex; gap: 10px; }
.art-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.art-share-btn:hover { opacity: 0.85; }
.art-share-wa { background: #25D366; color: #fff; }
.art-share-fb { background: #1877F2; color: #fff; }

/* CTA INFERIOR OSCURO */
.art-cta-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}
.art-cta-dark-eyebrow {
    display: inline-block;
    background: rgba(211,47,47,0.2);
    color: #f44336;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.art-cta-dark h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.art-cta-dark p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 20px; }
.art-cta-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.art-cta-checks li {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    padding-left: 22px;
    position: relative;
}
.art-cta-checks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: 700;
}
.art-cta-dark-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}
.art-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.art-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.art-cta-btn--wa { background: #25D366; color: #fff; }
.art-cta-btn--tel { background: #fff; color: #1a1a1a; font-weight: 600; }
.art-cta-btn--quote { background: #d32f2f; color: #fff; }

/* =====================================================
   SIDEBAR v6
   ===================================================== */
.art-sidebar { min-width: 0; }
.art-sidebar-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }

/* Widget base */
.art-sw {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
}
.art-sw-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d32f2f;
    display: flex;
    align-items: center;
    gap: 8px;
}
.art-sw-title svg { stroke: #d32f2f; flex-shrink: 0; }

/* Widget rojo urgencia */
.art-sw--red {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.art-sw--red::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.art-sw-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    position: relative;
}
.art-sw--red h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}
.art-sw--red p {
    color: rgba(255,255,255,0.88);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 18px;
    position: relative;
}
.art-sw-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.art-sw-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.5); }
.art-sw-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}
.art-sw-phone:hover { color: #fff; }

/* Stats */
.art-sw-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.art-sw-stat {
    background: #fef2f2;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.art-sw-stat-n {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
    margin-bottom: 4px;
}
.art-sw-stat-l {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
    display: block;
}

/* Servicios */
.art-sw-services { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.art-sw-service {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
    color: inherit;
}
.art-sw-service:hover { background: #fef2f2; }
.art-sw-svc-icon { font-size: 1.2rem; flex-shrink: 0; width: 28px; text-align: center; }
.art-sw-svc-info { flex: 1; min-width: 0; }
.art-sw-svc-info strong { display: block; font-size: 0.85rem; color: #1a1a1a; font-weight: 600; }
.art-sw-svc-info span { display: block; font-size: 0.75rem; color: #999; }
.art-sw-service svg { stroke: #ccc; flex-shrink: 0; }
.art-sw-service:hover svg { stroke: #d32f2f; }
.art-sw-cta-link {
    display: block;
    text-align: center;
    background: #d32f2f;
    color: #fff;
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.art-sw-cta-link:hover { background: #b71c1c; }

/* Zonas */
.art-sw-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.art-sw-zones span {
    background: #fef2f2;
    color: #d32f2f;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Relacionados */
.art-sw-related { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.art-sw-related a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #333;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 8px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.art-sw-related a:hover { background: #fef2f2; color: #d32f2f; }
.art-sw-related svg { stroke: #d32f2f; flex-shrink: 0; margin-top: 3px; }

/* =============================================
   SIDEBAR v2 — sb-* classes
   ============================================= */

/* Base card */
.sb-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* Section label */
.sb-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #d32f2f;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* CTA card */
.sb-card--cta {
    background: linear-gradient(145deg, #c62828, #d32f2f);
    border: none;
    box-shadow: 0 4px 20px rgba(211,47,47,0.3);
}
.sb-card--cta .sb-label {
    color: rgba(255,255,255,0.7);
    border-bottom-color: rgba(255,255,255,0.15);
}
.sb-cta-h {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.4;
}
.sb-cta-p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 18px;
    line-height: 1.6;
}
.sb-btn-wa {
    display: block;
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.2s;
}
.sb-btn-wa:hover { background: #1ebe5d; }
.sb-btn-tel {
    display: block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-align: center;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.2s;
}
.sb-btn-tel:hover { background: rgba(255,255,255,0.25); }

/* Body text */
.sb-body {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.75;
    margin: 0 0 18px;
}
.sb-body strong { color: #1a1a1a; }

/* Metrics grid */
.sb-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.sb-metric {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
}
.sb-metric strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
    margin-bottom: 4px;
}
.sb-metric span {
    font-size: 0.68rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

/* Certification badges */
.sb-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sb-certs span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #444;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    padding: 4px 9px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}

/* Services list */
.sb-svclist {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.sb-svc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #f3f3f3;
    text-decoration: none;
    transition: none;
}
.sb-svc:last-child { border-bottom: none; }
.sb-svc div { flex: 1; min-width: 0; }
.sb-svc strong {
    display: block;
    font-size: 0.85rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 2px;
    transition: color 0.15s;
}
.sb-svc span {
    display: block;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.4;
}
.sb-svc svg { stroke: #ccc; flex-shrink: 0; transition: stroke 0.15s, transform 0.15s; }
.sb-svc:hover strong { color: #d32f2f; }
.sb-svc:hover svg { stroke: #d32f2f; transform: translateX(2px); }

.sb-link-cta {
    display: block;
    text-align: center;
    background: #d32f2f;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.sb-link-cta:hover { background: #b71c1c; }

/* Coverage */
.sb-coverage { display: flex; flex-direction: column; gap: 0; }
.sb-cov-row {
    padding: 12px 0;
    border-bottom: 1px solid #f3f3f3;
}
.sb-cov-row:last-child { border-bottom: none; padding-bottom: 0; }
.sb-cov-row strong {
    display: block;
    font-size: 0.82rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 4px;
}
.sb-cov-row span {
    font-size: 0.77rem;
    color: #888;
    line-height: 1.6;
}

/* Related articles */
.sb-related {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.sb-related li { border-bottom: 1px solid #f3f3f3; }
.sb-related li:last-child { border-bottom: none; }
.sb-related a {
    display: block;
    padding: 11px 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.15s;
}
.sb-related a:hover { color: #d32f2f; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .art-body-inner { grid-template-columns: 1fr 300px; gap: 32px; }
}
@media (max-width: 860px) {
    .art-body-inner { grid-template-columns: 1fr; }
    .art-sidebar-sticky { position: static; }
    .art-cta-dark { grid-template-columns: 1fr; }
    .art-cta-dark-right { flex-direction: row; flex-wrap: wrap; }
    .art-meta-sep--hide, .art-meta-item--hide { display: none; }
}
@media (max-width: 600px) {
    .art-body-inner { width: 94%; padding: 32px 0 0; }
    .art-cta-dark { padding: 28px 24px; }
    .art-cta-dark-right { flex-direction: column; }
    .art-cta-btn { padding: 13px 18px; }
}
