/* ============================================
   ESTILOS PERSONALIZADOS - HERRAMIENTAS AUTOMOTRICES PRO
   ============================================ */

/* Variables de Color */
:root {
    --color-dark-gray: #1a1a1a;
    --color-header-start: #2d2d2d;
    --color-header-end: #1a1a1a;
    --color-brand-orange: #f97316;
    --color-brand-orange-dark: #ea580c;
    --color-brand-orange-hover: #c2410c;
    --color-text-primary: #333333;
    --color-text-secondary: #666666;
    --color-bg-light: #f3f4f6;
    --color-white: #ffffff;
    --color-border: #d1d5db;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* ============================================
   CLASES AUXILIARES
   ============================================ */

.bg-dark-gray {
    background-color: var(--color-dark-gray);
}

.bg-header {
    background: linear-gradient(to bottom, var(--color-header-start), var(--color-header-end));
}

.text-brand-orange {
    color: var(--color-brand-orange);
}

.bg-brand-orange {
    background-color: var(--color-brand-orange-dark);
    transition: background-color 0.3s ease;
}

.bg-brand-orange:hover {
    background-color: var(--color-brand-orange-hover);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

header .container {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 10;
    min-height: 420px;
}

/* ============================================
   HEADER - SECCIÓN PRINCIPAL (Consolidado)
   Diseño: imagen completa de fondo con overlay de contenido a la izquierda
   ============================================ */

header {
    position: relative;
    width: 100%;
    min-height: 62vh;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left column: contenido superpuesto sobre la imagen (posición absoluta dentro de header) */
.left-column {
    position: relative;
    padding: 3.5rem 3rem 3.5rem 3.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    z-index: 10;
    background: transparent;
    width: 54%;
    max-width: 700px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.logo-icon i:first-child {
    position: absolute;
    inset: 0;
    font-size: 5.5rem;
    color: #f1f5f9;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.logo-icon i:last-child {
    position: absolute;
    right: 4px;
    top: 6px;
    font-size: 3.5rem;
    color: var(--color-brand-orange);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.left-column h1 {
    font-size: 2.6rem;
    margin: 0;
    line-height: 1.05;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.brand-pro {
    color: var(--color-brand-orange);
}

.header-content {
    max-width: 34rem;
    margin-top: 7rem;
}

.header-text {
    color: #e6eef8;
}

.header-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.85rem 0 0.4rem;
    line-height: 1.3;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.header-text p {
    color: #d1d5db;
    font-size: 0.98rem;
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.header-cta {
    display: inline-block;
    background-color: var(--color-brand-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.header-cta:hover {
    background-color: var(--color-brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.header-footer {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 0.9rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.header-disclosure {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin-top: 0.35rem;
    max-width: 28rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* Right column: imagen hero que ocupa el resto del espacio */
.header-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/Hero.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header-image img {
    /* Show the image to fill the background */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Overlay para oscurecer ligeramente la imagen y mejorar legibilidad del logo/texto superpuesto */
header::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient overlay - darker on left where text is */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.26) 55%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 5;
}

/* ============================================
   HERO SIMPLE PARA PAGINAS INTERNAS
   ============================================ */

.page-hero {
    position: relative;
    background: radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.2), transparent 45%),
        linear-gradient(120deg, #0f172a 0%, #1f2937 60%, #0b1220 100%);
    color: #f8fafc;
    padding: 1.75rem 0 1.5rem;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: left;
}

.page-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    line-height: 1.15;
}

.page-hero p {
    color: #cbd5e1;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    text-align: justify;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fdba74;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(253, 186, 116, 0.3);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    margin: 0.7rem 0 0.5rem;
    color: #e2e8f0;
    font-size: 0.85rem;
    justify-content: flex-start;
}

.hero-meta i {
    color: #f97316;
    margin-right: 0.35rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #f97316;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    background: #111827;
    color: #f8fafc;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    z-index: 50;
}

.skip-link:focus {
    top: 16px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.site-brand {
    font-weight: 800;
    color: #f8fafc;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.site-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.site-links a {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.site-links a:hover {
    color: #fdba74;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.75rem 0 0.5rem;
}

.primary-cta,
.secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.primary-cta {
    background: var(--color-brand-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.primary-cta:hover {
    background: var(--color-brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.secondary-cta {
    border: 2px solid var(--color-brand-orange);
    color: var(--color-brand-orange);
}

.secondary-cta:hover {
    background: rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.hero-updated {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.summary-strip {
    background: #0f172a;
    color: #f8fafc;
    padding: 2.5rem 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.summary-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
}

.summary-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.summary-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
}

.section-heading p {
    color: #475569;
    font-size: 0.95rem;
    max-width: 720px;
}

.method-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.method-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.method-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    color: #0f172a;
}

.method-card ul {
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.92rem;
}

.method-card p {
    color: #475569;
    font-size: 0.92rem;
}

.table-section {
    padding: 3rem 0;
    background: #eef2f7;
}

.table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.comparison-table thead {
    background: #0f172a;
    color: #f8fafc;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.card-section {
    padding: 3rem 0 2.5rem;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.comparison-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.comparison-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.card-body h3 {
    font-size: 1.1rem;
    color: #0f172a;
}

.card-body p {
    color: #475569;
    font-size: 0.92rem;
}

.card-body ul {
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.9rem;
}

.card-cta {
    margin-top: auto;
    background: var(--color-brand-orange);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.card-cta:hover {
    background: var(--color-brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.comparison-section .section-heading h2 {
    color: #0f172a;
}

.trust-section {
    background: #0f172a;
    color: #f8fafc;
    padding: 2.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.trust-section h2 {
    color: #f8fafc;
    margin-bottom: 0.6rem;
}

.trust-section p {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.trust-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 1.1rem;
}

/* ============================================
   SECCION GUIAS DE COMPRA
   ============================================ */

.guide-section {
    position: relative;
    padding: 4rem 0;
    background: radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.18), transparent 45%),
        linear-gradient(140deg, #0f172a 0%, #111827 55%, #0b1220 100%);
    color: #f8fafc;
    overflow: hidden;
}

.guide-section::before,
.guide-section::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.18);
    filter: blur(10px);
    z-index: 0;
}

.guide-section::before {
    top: -80px;
    right: 10%;
}

.guide-section::after {
    bottom: -120px;
    left: 6%;
}

.guide-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.guide-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: #fdba74;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guide-header h3 {
    font-size: 2rem;
    font-weight: 800;
    max-width: 520px;
    line-height: 1.15;
}

.guide-subtitle {
    color: #cbd5e1;
    max-width: 560px;
    margin-top: 0.65rem;
    font-size: 0.95rem;
}

.guide-cta {
    background: var(--color-brand-orange);
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.guide-cta:hover {
    background: var(--color-brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.guide-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    min-height: 260px;
}

.guide-card h4 {
    font-size: 1.05rem;
    color: #f8fafc;
}

.guide-card p {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.guide-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.guide-tag {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.guide-meta i {
    color: #fdba74;
    margin-right: 0.35rem;
}

.guide-link {
    margin-top: auto;
    color: #fdba74;
    font-weight: 700;
    text-decoration: none;
}

.guide-link:hover {
    text-decoration: underline;
}

.guide-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.guide-step {
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.guide-step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.25);
    color: #fdba74;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ============================================
   SECCION CATEGORIAS DE HERRAMIENTAS
   ============================================ */

.tools-section {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.tools-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tools-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tools-header p {
    color: #475569;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tools-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #e5e7eb;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #f97316;
    color: #f97316;
}

.filter-btn.active {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.tool-category {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    opacity: 1;
}

.tool-category.expanded {
    box-shadow: var(--shadow-md);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    cursor: pointer;
    user-select: none;
}

.category-header:hover {
    background: linear-gradient(135deg, #eef2f7 0%, #e5e7eb 100%);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.category-title i {
    font-size: 1.5rem;
    color: #f97316;
}

.category-title h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin: 0;
}

.category-header i:last-child {
    color: #0f172a;
    transition: transform 0.3s ease;
}

.tool-category.expanded .category-header i:last-child {
    transform: rotate(180deg);
}

.category-content {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.tool-category.expanded .category-content {
    display: block;
}

.category-desc {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.tool-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.tool-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.tool-item h4 {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 0;
    padding: 0.85rem 1.15rem 0;
}

.tool-item p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    padding: 0 1.15rem;
}

.tool-item p:first-of-type {
    padding-top: 0.5rem;
}

.tool-item p:last-of-type {
    padding-bottom: 0.65rem;
}

.tool-link {
    margin-top: auto;
    color: #f97316;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.85rem 1.15rem;
    background: #fff7ed;
    display: block;
}

@media (max-width: 992px) {
    .left-column { padding: 2.75rem 2.5rem; width: 70%; }
    .left-column h1 { font-size: 2.3rem; }
    .header-text h1 { font-size: 1.25rem; }
    .site-nav { flex-direction: column; align-items: flex-start; }
    .guide-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    header { min-height: auto; }
    header .container { min-height: 360px; }
    .left-column { padding: 2.25rem 1.75rem; width: 100%; max-width: none; }
    .left-column h1 { font-size: 2rem; }
    .header-text h1 { font-size: 1.15rem; }
    .header-image { position: absolute; height: 100%; }
    .site-links { gap: 0.65rem; }
    .comparison-table { min-width: 640px; }
    .guide-header h3 { font-size: 1.7rem; }
    .tools-header h2 { font-size: 1.7rem; }
    .tools-list { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .analysis-header h2 { font-size: 1.8rem; }
    .logo-icon { width: 70px; height: 70px; }
    .logo-icon i:first-child { font-size: 4rem; }
    .logo-icon i:last-child { font-size: 2.6rem; }
    .header-logo { margin-bottom: 1rem; }
}

/* ============================================
   BARRA DE STATS
   ============================================ */

.stats-bar {
    background-color: #111827;
    color: var(--color-white);
    padding: 1.5rem 0;
    border-bottom: 4px solid var(--color-brand-orange);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--color-brand-orange);
    flex-shrink: 0;
}

.stat-item span {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DROPDOWN MENU EN STATS BAR
   ============================================ */

.stat-dropdown {
    position: relative;
}

.stat-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    padding: 0;
    font-weight: 600;
}

.stat-dropdown-btn:hover {
    color: #fdba74;
}

.stat-dropdown-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-top: 0.2rem;
}

.stat-dropdown:hover .stat-dropdown-btn i:last-child {
    transform: rotate(180deg);
}

.stat-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    margin-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.stat-dropdown:hover .stat-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    border-left-color: #f97316;
    color: #f97316;
    padding-left: 1.5rem;
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #f97316;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

.dropdown-all {
    font-weight: 600;
    color: #f97316;
}

/* ============================================
   SECCIÓN DE PRODUCTOS TOP
   ============================================ */

.top-section {
    padding: 4rem 0;
    background-color: #e5e7eb;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    display: inline-block;
    position: relative;
}

.section-title .year-highlight {
    color: #dc2626;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    height: 0.25rem;
    width: 5rem;
    background-color: var(--color-brand-orange);
    margin: 0.5rem auto 0;
}

.comparison-card {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.comparison-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #7c2d12;
    margin-bottom: 0.75rem;
}

.comparison-table {
    display: grid;
    gap: 0.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 0.8fr;
    gap: 0.75rem;
    background-color: #ffffff;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
}

.comparison-head {
    background-color: #fff1e7;
    font-weight: 700;
    color: #7c2d12;
    border-color: #fed7aa;
}

/* ============================================
   SECCION DE COMPARATIVAS COMPLETAS
   ============================================ */

.comparison-section {
    padding: 4rem 0;
    background-color: #f1f5f9;
}

.comparison-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.comparison-detail {
    background-color: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.comparison-detail h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.comparison-subtitle {
    font-size: 0.85rem;
    color: #ea580c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comparison-cols {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.comparison-cols h5 {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.comparison-cols ul {
    padding-left: 1rem;
    color: #475569;
    font-size: 0.9rem;
}

.comparison-cols li {
    margin-bottom: 0.35rem;
}

.comparison-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    transform: scale(1.05);
    z-index: 10;
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.product-header {
    background-color: var(--color-brand-orange-dark);
    color: var(--color-white);
    padding: 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.product-card.featured .product-header {
    background-color: #b91c1c;
}

.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #dc2626;
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0 0 0 0.375rem;
    z-index: 5;
}

.product-image {
    text-align: center;
    margin: 1rem 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.product-description {
    padding: 0 1rem;
    color: #4b5563;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.product-rating {
    text-align: center;
    color: #fbbf24;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.product-rating i {
    margin: 0 2px;
}

.product-button {
    margin: 0 1rem 1rem;
    background-color: var(--color-brand-orange);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.product-button:hover {
    background-color: var(--color-brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.product-button:active {
    transform: translateY(0);
}

/* ============================================
   SECCIÓN DE ANÁLISIS Y COMPARATIVAS
   ============================================ */

.analysis-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f172a 100%);
    color: #f8fafc;
    padding: 4rem 0;
}

.analysis-header {
    text-align: center;
    margin-bottom: 3rem;
}

.analysis-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.analysis-header p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 660px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f97316;
    color: #1f1305;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.article-date,
.article-time {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-date::before {
    content: '📅';
}

.article-time::before {
    content: '⏱️';
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.35;
    margin: 0;
}

.article-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.article-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.article-topics span {
    background: rgba(249, 115, 22, 0.15);
    color: #fdba74;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.article-link {
    margin-top: auto;
    color: #fdba74;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.article-link:hover {
    text-decoration: underline;
}

/* ============================================
   SECCIÓN SOBRE Y CONTACTO
   ============================================ */

.about-section {
    background-color: #f8fafc;
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.about-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.about-section p {
    color: #475569;
    font-size: 0.95rem;
}

.contact-email {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 700;
    color: #ea580c;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(249, 115, 22, 0.2);
    text-decoration: underline;
}

.contact-alt {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    color: #666;
}

.contact-alt a {
    color: #ea580c;
    text-decoration: none;
    font-weight: 600;
}

.contact-alt a:hover {
    text-decoration: underline;
}

.about-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-brand-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: var(--color-brand-orange-dark);
    text-decoration: underline;
}

/* ============================================
   SECCIÓN LEGAL Y PRIVACIDAD
   ============================================ */

.legal-section {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0;
    border-top: 3px solid var(--color-brand-orange);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.legal-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.legal-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.legal-card p {
    font-size: 0.9rem;
    color: #cbd5f5;
}

.site-footer {
    background-color: #0b1220;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.site-footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.site-footer .footer-links a {
    color: var(--color-brand-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: var(--color-brand-orange-dark);
    text-decoration: underline;
}

.site-footer .footer-links .separator {
    color: #94a3b8;
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .site-footer .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .site-footer .footer-links .separator {
        display: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: scale(1);
    }

    .product-card.featured:hover {
        transform: translateY(-5px);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .header-text h2 {
        font-size: 1.5rem;
    }

    .section-title h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   ACCESIBILIDAD Y ANIMACIONES
   ============================================ */

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   ARTÍCULOS DETALLADOS - ESTILOS
   ============================================ */

.article-detail-section {
    background-color: #f8fafc;
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.article-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

.article-main {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
}

.article-main h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    border-left: 4px solid var(--color-brand-orange);
    padding-left: 1rem;
}

.article-main h2:first-child {
    margin-top: 0;
}

.article-main h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-main h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.article-main p {
    color: #4b5563;
    margin-bottom: 1.25rem;
    text-align: justify;
    font-size: 0.975rem;
}

.article-main ul, 
.article-main ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-main ul li,
.article-main ol li {
    color: #4b5563;
    margin-bottom: 0.65rem;
    line-height: 1.7;
    font-size: 0.975rem;
}

.article-main ul li strong,
.article-main ol li strong {
    color: #1f2937;
    font-weight: 700;
}

/* Metadatos del artículo */
.article-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.9rem;
    color: #6b7280;
}

.article-meta-detail span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta-detail i {
    color: var(--color-brand-orange);
    font-size: 1.1rem;
}

/* Cajas de pasos */
.steps-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #f3e8ff 100%);
    border-left: 4px solid #10b981;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-right: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.steps-box p {
    color: #1f2937;
    margin-bottom: 0.75rem !important;
}

.steps-box p:last-child {
    margin-bottom: 0 !important;
}

.steps-box strong {
    color: #059669;
    font-weight: 700;
}

/* Cajas de comparación */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.comparison-box > div {
    padding: 0.75rem;
}

.comparison-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-box h4::before {
    content: '';
    width: 3px;
    height: 18px;
    background: var(--color-brand-orange);
    border-radius: 2px;
}

.comparison-box ul {
    list-style: none;
    margin-left: 0 !important;
}

.comparison-box li {
    margin-bottom: 0.65rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    font-size: 0.9rem;
}

.comparison-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-brand-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Tabla de especificaciones */
.specs-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    align-items: start;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(odd) {
    background-color: #fafbfc;
}

.spec-label {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-label::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--color-brand-orange);
    border-radius: 2px;
}

.spec-row span:last-child {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tablas regulares dentro de artículos */
.article-main table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.article-main table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #f8fafc;
}

.article-main table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-main table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.9rem;
}

.article-main table tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.article-main table tbody tr:hover {
    background-color: #f3f4f6;
}

.article-main table tbody tr:last-child td {
    border-bottom: none;
}

/* Tarjetas de marcas dentro de artículos */
.brand-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.brand-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.brand-card:hover {
    border-color: var(--color-brand-orange);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.brand-card h4 {
    margin-bottom: 0.5rem;
    color: #0f172a;
    margin-top: 0;
}

.brand-card p {
    text-align: center !important;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem !important;
    flex-grow: 1;
}

.brand-card .product-button {
    margin: 1rem auto 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
}

/* Grilla de marcas */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* CTA dentro del artículo */
.article-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-brand-orange) 0%, var(--color-brand-orange-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* SIDEBAR */
.article-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: var(--color-brand-orange);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3::before {
    content: '';
    width: 2px;
    height: 20px;
    background: var(--color-brand-orange);
    border-radius: 1px;
}

.sidebar-card ul {
    list-style: none;
    margin: 0 !important;
    padding: 0;
}

.sidebar-card li {
    margin-bottom: 0.65rem !important;
    padding-left: 0 !important;
}

.sidebar-card li:last-child {
    margin-bottom: 0 !important;
}

.sidebar-card a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--color-brand-orange);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.sidebar-card a:hover {
    background-color: rgba(249, 115, 22, 0.1);
    padding-left: 1.25rem;
}

/* Encabezado de descargo de responsabilidad */
.header-disclosure {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN PARA ARTÍCULOS
   ============================================ */

@media (max-width: 992px) {
    .article-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: relative;
        top: 0;
    }

    .article-main {
        padding: 1.75rem;
    }

    .article-main h2 {
        font-size: 1.5rem;
    }

    .article-main h3 {
        font-size: 1.15rem;
    }

    .comparison-box {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 150px 1fr;
    }
}

@media (max-width: 768px) {
    .article-detail-section {
        padding: 1.5rem 0;
    }

    .article-main {
        padding: 1.5rem;
        border-radius: 0.5rem;
    }

    .article-main h2 {
        font-size: 1.35rem;
        margin-top: 1.25rem;
        padding-left: 0.75rem;
    }

    .article-main h3 {
        font-size: 1rem;
    }

    .article-meta-detail {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .steps-box,
    .comparison-box {
        padding: 1rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        border-radius: 0.5rem;
    }

    .comparison-box {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .article-main table th,
    .article-main table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .article-cta {
        margin-top: 2rem;
    }

    .cta-button {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .sidebar-card {
        margin-bottom: 1rem;
    }
}

/* ============================================
   MEDIA QUERIES ADICIONALES - DISPOSITIVOS PEQUEÑOS
   Soporte optimizado para móviles y tablets
   ============================================ */

/* Tablets intermedias (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    header .container {
        padding: 0 1.5rem;
    }

    .left-column {
        padding: 2rem 1.5rem;
    }

    .logo-icon {
        width: 90px;
        height: 90px;
    }

    .logo-icon i:first-child {
        font-size: 5rem;
    }

    .logo-icon i:last-child {
        font-size: 3.2rem;
    }

    .header-logo {
        margin-bottom: 1.2rem;
    }

    .product-card {
        padding: 1rem;
    }

    .section-title h3 {
        font-size: 1.5rem;
    }
}

/* Móviles de tamaño medio (600px - 768px) */
@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    header .container {
        padding: 0 1rem;
        min-height: 320px;
    }

    header {
        min-height: 55vh;
    }

    .left-column {
        padding: 2rem 1rem;
        max-width: none;
    }

    .logo-icon {
        width: 70px;
        height: 70px;
    }

    .logo-icon i:first-child {
        font-size: 4rem;
    }

    .logo-icon i:last-child {
        font-size: 2.6rem;
    }

    .header-logo {
        margin-bottom: 0.75rem;
    }

    .left-column h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .header-text {
        margin: 1.25rem 0;
    }

    .header-cta {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    .product-card {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }

    .product-header {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .product-button {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .section-title h3 {
        font-size: 1.35rem;
        margin-bottom: 1.75rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-item span {
        font-size: 0.75rem;
    }

    .stat-item i {
        font-size: 1.25rem;
    }

    .filter-buttons {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .filter-button {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .article-card {
        padding: 1rem;
    }

    .article-card h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .article-meta {
        font-size: 0.75rem;
        gap: 0.75rem;
    }

    .article-card p {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .about-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        font-size: 0.8rem;
    }

    .footer-content {
        padding: 2rem 0 1rem;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .contact-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

/* Móviles pequeños (máximo 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        line-height: 1.5;
    }

    .container {
        padding: 0 0.875rem;
    }

    header .container {
        padding: 0 0.875rem;
        min-height: 280px;
    }

    header {
        min-height: 50vh;
    }

    .left-column {
        padding: 1.5rem 0.875rem;
    }

    .header-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .logo-icon i:first-child {
        font-size: 3.4rem;
    }

    .logo-icon i:last-child {
        font-size: 2.2rem;
    }

    .header-logo {
        margin-bottom: 0.5rem;
    }

    .left-column h1 {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    .header-text {
        margin: 0.75rem 0;
    }

    .header-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .header-cta {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        display: inline-flex;
        width: auto;
    }

    .site-links {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .site-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .product-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .product-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .product-header {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        min-height: auto;
    }

    .product-image {
        height: 140px;
        margin-bottom: 0.5rem;
    }

    .product-image img {
        object-fit: cover;
    }

    .product-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .product-rating {
        gap: 0.15rem;
        margin-bottom: 0.5rem;
    }

    .product-rating i {
        font-size: 0.75rem;
    }

    .product-button {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
        width: 100%;
    }

    .section-title h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .tool-card {
        padding: 0.75rem;
    }

    .tool-card h4 {
        font-size: 0.95rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-item {
        gap: 0.3rem;
        padding: 0.5rem;
    }

    .stat-item i {
        font-size: 1rem;
    }

    .stat-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .filter-buttons {
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .filter-button {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 4px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .article-card {
        padding: 0.75rem;
    }

    .article-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .article-meta {
        font-size: 0.7rem;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .article-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .read-more {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .about-section {
        padding: 1.5rem 0;
    }

    .about-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .about-link {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }

    .contact-section {
        padding: 1.5rem 0;
    }

    .contact-section h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .contact-info {
        font-size: 0.8rem;
    }

    .contact-cta-button {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }

    footer {
        padding: 1.5rem 0 0.75rem;
    }

    .footer-content {
        padding: 1.5rem 0 1rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-section ul li {
        margin-bottom: 0.35rem;
    }

    .footer-section a {
        font-size: 0.75rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }

    .footer-divider {
        margin: 0.75rem 0;
    }

    /* Tabla responsiva en móviles */
    .comparison-table {
        min-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-box {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    /* Formularios en móviles */
    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem;
    }

    .char-count {
        font-size: 0.7rem;
    }

    .form-error {
        font-size: 0.7rem;
    }

    .primary-cta,
    .secondary-cta {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }
}
