/* ========================================= */
/* CSS RESPONSIVE MEJORADO - SPLITEASY */
/* ========================================= */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #4895ef;
    --secondary: #7209b7;
    --accent: #f72585;
    --gradient: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    --gradient-light: linear-gradient(135deg, #4895ef 0%, #b5179e 100%);
    
    --text-dark: #1e1e2c;
    --text-medium: #4a4a6a;
    --text-light: #6c6c8a;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f0f2f5;
    --bg-dark: #1e1e2c;
    
    --border: #e2e8f0;
    --border-light: #f1f3f9;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.1);
    
    --radius: 12px;
    --radius-large: 20px;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Reset y Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta-mobile {
    display: none;
}

.header-cta {
    display: flex;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    padding: 150px 0 100px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>') no-repeat center;
    background-size: cover;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    text-align: left;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-logo {
    height: 50px;
    width: auto;
}

.store-btn.large .store-logo {
    height: 60px;
}

.store-btn.small .store-logo {
    height: 40px;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: left;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-screenshot {
    max-width: 100%;
    width: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

/* --- Secciones Generales --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-image-container {
    margin-bottom: 20px;
}

.feature-img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

/* --- App Showcase --- */
.app-showcase {
    padding: 100px 0;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h2 {
    margin-bottom: 20px;
}

.showcase-text > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.8rem;
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.showcase-app-screenshot {
    max-width: 100%;
    width: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

/* --- Blog Section --- */
.blog-section {
    padding: 100px 0;
    background: var(--bg-lighter);
}

.blog-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 30px;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-post h3 {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.blog-post p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-leer-mas {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
}

.btn-leer-mas:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
    color: #fff;
}

.blog-ver-todos {
    text-align: center;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-app-screenshot {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content > p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cta-feature .feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin: 0;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-apps {
    display: flex;
    gap: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: white;
}

/* --- Scroll-to-top --- */
.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================= */
/* MEDIA QUERIES MEJORADAS */
/* ========================================= */

@media (max-width: 1024px) {
    .features-grid, .blog-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .nav-cta-mobile {
        display: block;
        margin-top: 20px;
    }

    .nav-cta-mobile .btn {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-note {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid,
    .blog-container,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-content,
    .about-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .features,
    .app-showcase,
    .blog-section,
    .about-section,
    .faq,
    .cta-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .store-logo {
        height: 45px;
    }
    
    .store-btn.large .store-logo {
        height: 50px;
    }
    
    .hero-app-screenshot,
    .showcase-app-screenshot,
    .about-app-screenshot {
        width: 250px;
    }

    .feature-card,
    .blog-post,
    .faq-item {
        padding: 25px 20px;
    }

    .features,
    .app-showcase,
    .blog-section,
    .about-section,
    .faq,
    .cta-section {
        padding: 60px 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cta-buttons {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .store-logo {
        height: 40px;
    }
    
    .hero-app-screenshot,
    .showcase-app-screenshot,
    .about-app-screenshot {
        width: 220px;
    }
    /* ========================================= */
/* ESTILOS ESPECÍFICOS PARA EL BLOG */
/* ========================================= */

.blog-page-main {
    padding: 140px 0 80px;
    background: var(--bg-light);
}

.blog-page-main .section-header {
    margin-bottom: 60px;
}

.blog-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-post-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text-dark);
}

.blog-post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.blog-post p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-post .btn-leer-mas {
    align-self: flex-start;
    margin-top: auto;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-medium);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    color: var(--text-medium);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary);
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content > p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Estados activos en navegación */
.nav-list a.active {
    color: var(--primary);
}

.nav-list a.active::after {
    width: 100%;
}

/* ========================================= */
/* RESPONSIVE PARA EL BLOG */
/* ========================================= */

@media (max-width: 768px) {
    .blog-page-main {
        padding: 120px 0 60px;
    }
    
    .blog-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-post-content {
        padding: 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .blog-page-main {
        padding: 100px 0 40px;
    }
    
    .blog-post-image {
        height: 160px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post h3 {
        font-size: 1.2rem;
    }
    
    .pagination-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
    }

    /* ========================================= */
/* ESTILOS ESPECÍFICOS PARA ARTÍCULOS DEL BLOG */
/* ========================================= */

.articulo-main {
    padding: 140px 0 80px; /* ← ESTO ESTÁ BIEN */
    background: var(--bg-light);
    margin-top: 0; /* ← AÑADE ESTO */
}

.articulo-contenido {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative; /* ← AÑADE ESTO */
    z-index: 1; /* ← AÑADE ESTO */
}

.articulo-header {
    padding: 50px 50px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative; /* ← AÑADE ESTO */
}

.articulo-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-dark);
    word-wrap: break-word; /* ← AÑADE ESTO PARA TÍTULOS LARGOS */
}

.articulo-meta {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.articulo-imagen-principal {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.articulo-imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articulo-texto {
    padding: 50px;
}

.articulo-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-lighter);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
}

.articulo-texto h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.articulo-texto h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
}

.articulo-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 25px;
}

.articulo-texto ul {
    margin: 20px 0;
    padding-left: 30px;
}

.articulo-texto li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 10px;
    padding-left: 10px;
}

.articulo-texto strong {
    color: var(--text-dark);
    font-weight: 700;
}

blockquote {
    border-left: 5px solid var(--primary);
    background: var(--bg-lighter);
    padding: 30px 40px;
    margin: 40px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Contenedor de anuncios */
.ad-container {
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
}

/* CTA del artículo */
.articulo-cta {
    background: var(--gradient);
    color: white;
    padding: 40px;
    border-radius: var(--radius-large);
    text-align: center;
    margin: 60px 0 30px;
}

.articulo-cta h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.articulo-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.articulo-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Navegación entre artículos */
.articulo-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-medium);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-prev {
    margin-right: auto;
}

.nav-next {
    margin-left: auto;
}

/* ========================================= */
/* RESPONSIVE PARA ARTÍCULOS */
/* ========================================= */

@media (max-width: 768px) {
    .articulo-main {
        padding: 120px 0 60px;
    }
    
    .articulo-header {
        padding: 40px 30px 25px;
    }
    
    .articulo-texto {
        padding: 40px 30px;
    }
    
    .articulo-imagen-principal {
        height: 300px;
    }
    
    .articulo-intro {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .articulo-texto h2 {
        font-size: 1.6rem;
    }
    
    .articulo-texto h3 {
        font-size: 1.3rem;
    }
    
    .articulo-cta {
        padding: 30px 25px;
    }
    
    .articulo-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-prev,
    .nav-next {
        margin: 0;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .articulo-main {
        padding: 100px 0 40px;
    }
    
    .articulo-header {
        padding: 30px 20px 20px;
    }
    
    .articulo-texto {
        padding: 30px 20px;
    }
    
    .articulo-imagen-principal {
        height: 200px;
    }
    
    .articulo-texto h2 {
        font-size: 1.4rem;
    }
    
    .articulo-texto h3 {
        font-size: 1.2rem;
    }
    
    .articulo-texto p {
        font-size: 1rem;
    }
    
    .articulo-cta {
        padding: 25px 20px;
    }
    
    .articulo-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    blockquote {
        padding: 20px 25px;
        font-size: 1.1rem;
    }
    
    .articulo-texto ul {
        padding-left: 20px;
    }
}
}
}