/* Variables */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #000000;
    --text-color: #333333;
    --gray-color: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navegación */
.navbar {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero del Artículo */
.article-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

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

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

.breadcrumb span {
    margin: 0 8px;
}

.article-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.95;
}

.article-meta {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    opacity: 0.9;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contenido del Artículo */
.article-content {
    background-color: var(--white);
    padding: 60px 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
}

.article-body {
    max-width: 800px;
}

/* Secciones */
.intro-section,
.content-section {
    margin-bottom: 50px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.content-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Highlight Boxes */
.highlight-box,
.info-box {
    background-color: var(--gray-color);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.highlight-box i,
.info-box i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.highlight-box p,
.info-box p {
    margin: 0;
}

.info-box h3 {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.benefit-card {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--secondary-color);
}

.benefit-card p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-color);
}

/* Practice Cards */
.practice-card {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.1);
}

.practice-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.practice-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.practice-content h3 i {
    color: var(--primary-color);
}

.practice-content p {
    margin-bottom: 10px;
}

.practice-action {
    background-color: var(--gray-color);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Checklist Section */
.checklist-box {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.checklist-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.checklist-box h3 i {
    color: var(--primary-color);
}

.checklist-instructions {
    list-style: none;
    counter-reset: checklist-counter;
    padding-left: 0;
}

.checklist-instructions li {
    counter-increment: checklist-counter;
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.checklist-instructions li::before {
    content: counter(checklist-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.quick-checklist {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.quick-checklist h3 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    color: var(--secondary-color);
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--gray-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.checklist-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
}

.checklist-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Download Section */
.download-section {
    background-color: var(--gray-color);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.download-section h2 {
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-section h2 i {
    color: var(--primary-color);
}

.download-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.download-preview {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--gray-color);
}

.download-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-content {
    padding: 30px;
}

.download-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.download-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 1rem;
}

.download-features i {
    color: var(--success-color);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-download:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

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

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

.article-image figcaption {
    background-color: var(--gray-color);
    padding: 15px 20px;
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Conclusion */
.conclusion {
    background-color: var(--gray-color);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    color: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

.cta-box h3 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cta-box p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--secondary-color), #333333);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
}

.cta-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.download-widget {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #e55a00);
    color: var(--white);
}

.download-widget h3 {
    color: var(--white);
}

.download-widget img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.download-widget p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.related-topics {
    list-style: none;
    padding: 0;
}

.related-topics li {
    margin-bottom: 12px;
}

.related-topics a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.related-topics a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.1);
}

.related-topics i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px 0;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

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

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

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .practice-card {
        flex-direction: column;
        text-align: center;
    }

    .download-card {
        flex-direction: column;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-content .btn {
        display: block;
        margin: 10px 0;
    }
}
