@import url('../typography-responsive.css');

:root {
            --yellow: #ffbd59;
            --red:    #ff3131;
            --white:  #fffef8;
            --black:  #080517;
            --font-display: 'Archivo Black', sans-serif;
            --font-body:    'Archivo', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: var(--font-body);
            background-color: var(--black);
            color: var(--white);
            line-height: 1.8;
        }

        /* ── NAV ── */
        .blog-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--black);
            border-bottom: 2px solid var(--yellow);
        }

        .blog-nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.25rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .blog-nav-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .blog-nav-logo img {
            height: 32px;
            width: 32px;
            filter: brightness(0) invert(1);
            transition: filter 0.3s;
        }

        .blog-nav-logo:hover img {
            filter: brightness(0) saturate(100%) invert(77%) sepia(55%) saturate(500%) hue-rotate(340deg) brightness(103%) contrast(97%);
        }

        .blog-nav-logo span {
            font-family: var(--font-display);
            font-size: 1.1rem;
            color: var(--yellow);
            letter-spacing: 0.1em;
        }

        .blog-nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .blog-nav-links a {
            font-family: var(--font-display);
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            color: var(--white);
            text-decoration: none;
            transition: color 0.2s;
        }

        .blog-nav-links a:hover { color: var(--yellow); }

        .blog-nav-cta {
            background-color: var(--red);
            color: var(--white) !important;
            padding: 0.5rem 1rem;
            border: 2px solid var(--red);
            transition: all 0.3s !important;
        }

        .blog-nav-cta:hover {
            background-color: var(--yellow) !important;
            border-color: var(--yellow) !important;
            color: var(--black) !important;
        }

        @media (max-width: 768px) { .blog-nav-links { display: none; } }

        /* ── BREADCRUMB ── */
        .breadcrumb-bar {
            border-bottom: 1px solid rgba(255, 189, 89, 0.15);
            padding: 0.9rem 2rem;
        }

        .breadcrumb-inner {
            max-width: 900px;
            margin: 0 auto;
            font-size: 0.85rem;
            color: rgba(255, 254, 248, 0.5);
        }

        .breadcrumb-inner a {
            color: var(--yellow);
            text-decoration: none;
        }

        .breadcrumb-inner a:hover { text-decoration: underline; }

        /* ── ARTÍCULO ── */
        .article-wrap {
            max-width: 900px;
            margin: 0 auto;
            padding: 3rem 2rem 5rem;
        }

        .article-header {
            margin-bottom: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid rgba(255, 189, 89, 0.2);
        }

        .article-meta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 1.25rem;
            font-size: 0.875rem;
            color: rgba(255, 254, 248, 0.55);
        }

        .article-category {
            padding: 0.2rem 0.65rem;
            background-color: rgba(255, 49, 49, 0.15);
            border: 1px solid rgba(255, 49, 49, 0.4);
            color: var(--red);
            font-size: 0.72rem;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.05em;
        }

        h1.article-title {
            font-family: var(--font-display);
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            color: var(--yellow);
            line-height: 1.25;
            margin-bottom: 1rem;
        }

        .article-lead {
            font-size: 1.1rem;
            color: rgba(255, 254, 248, 0.8);
            line-height: 1.7;
        }

        /* ── CONTENIDO ── */
        .article-content { color: rgba(255, 254, 248, 0.88); }

        .article-content h2 {
            font-family: var(--font-display);
            font-size: 1.65rem;
            color: var(--yellow);
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(255, 189, 89, 0.2);
        }

        .article-content h3 {
            font-family: var(--font-display);
            font-size: 1.2rem;
            color: var(--red);
            margin: 2rem 0 0.75rem;
        }

        .article-content p { margin-bottom: 1.1rem; }

        .article-content ul,
        .article-content ol {
            margin: 1rem 0 1.25rem 1.5rem;
        }

        .article-content li { margin-bottom: 0.5rem; }

        .article-content strong { color: var(--yellow); }

        .article-content a {
            color: var(--yellow);
            text-decoration: underline;
            transition: color 0.2s;
        }

        .article-content a:hover { color: var(--white); }

        /* ── TABLA ── */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            font-size: 0.9rem;
        }

        .comparison-table thead { background: rgba(255,189,89,0.12); }

        .comparison-table th {
            padding: 0.85rem 1rem;
            text-align: left;
            color: var(--yellow);
            border-bottom: 2px solid rgba(255,189,89,0.2);
        }

        .comparison-table td {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid rgba(255,189,89,0.1);
        }

        .comparison-table tr:hover { background: rgba(255,189,89,0.04); }
        .comparison-table tr:last-child td { border-bottom: none; }

        /* ── CARDS DE EMAIL ── */
        .email-card {
            border: 2px solid rgba(255, 189, 89, 0.2);
            padding: 1.5rem;
            margin: 1.5rem 0;
            transition: border-color 0.2s;
        }

        .email-card:hover { border-color: var(--yellow); }

        .email-card h3 {
            color: var(--yellow) !important;
            margin-top: 0 !important;
        }

        .email-benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }

        .benefit-item {
            background: rgba(255, 189, 89, 0.06);
            padding: 0.85rem;
            border-left: 3px solid var(--red);
        }

        /* ── HIGHLIGHT ── */
        .highlight {
            border-left: 4px solid var(--yellow);
            background-color: rgba(255, 189, 89, 0.07);
            padding: 1.25rem 1.5rem;
            margin: 2rem 0;
        }

        /* ── CTA ── */
        .article-cta {
            border: 2px solid var(--yellow);
            padding: 2rem;
            margin: 3rem 0;
            text-align: center;
        }

        .article-cta h3 {
            font-family: var(--font-display);
            color: var(--yellow) !important;
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
        }

        .article-cta p {
            color: rgba(255, 254, 248, 0.7);
            margin-bottom: 1.25rem;
        }

        .article-cta a {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color: var(--yellow);
            color: var(--black);
            text-decoration: none;
            font-family: var(--font-display);
            font-size: 0.9rem;
            transition: background-color 0.2s;
        }

        .article-cta a:hover { background-color: var(--white); }

        /* ── VOLVER ── */
        .back-link {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 2px solid rgba(255, 189, 89, 0.15);
        }

        .back-link a {
            display: inline-block;
            padding: 0.65rem 1.4rem;
            border: 2px solid var(--yellow);
            color: var(--yellow);
            text-decoration: none;
            font-size: 0.9rem;
            transition: background-color 0.2s, color 0.2s;
        }

        .back-link a:hover {
            background-color: var(--yellow);
            color: var(--black);
        }

        /* ── FOOTER ── */
        .footer {
            background-color: rgba(0, 0, 0, 0.4);
            border-top: 4px solid var(--yellow);
            padding: 3rem 0;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
            color: rgba(255, 254, 248, 0.6);
        }

        .footer-links { margin-bottom: 1.25rem; }

        .footer-links a {
            display: inline-block;
            margin: 0 0.85rem;
            color: var(--yellow);
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links a:hover { color: var(--white); }

        @media (max-width: 768px) {
            .article-wrap { padding: 2rem 1rem 3rem; }
            h1.article-title { font-size: 1.65rem; }
            .comparison-table { font-size: 0.82rem; }
            .comparison-table th,
            .comparison-table td { padding: 0.65rem 0.75rem; }
            .email-benefits { grid-template-columns: 1fr; }
        }
