* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d3e;
    --secondary-color: #2d7a5f;
    --accent-color: #4a9d7a;
    --text-color: #333333;
    --light-bg: #f5f8f6;
    --white: #ffffff;
    --border-color: #d0d9d4;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a:hover {
    opacity: 0.8;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-color);
}

.btn-registro {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-registro:hover {
    background-color: #3d8a68;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

.what-section,
.how-get-section,
.competitions-section,
.transparency-section,
.faq-section {
    padding: 4rem 2rem;
}

.what-section,
.transparency-section {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.explanation-content {
    max-width: 800px;
    margin: 0 auto;
}

.explanation-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.methods-list {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.method-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.method-header {
    margin-bottom: 1rem;
}

.method-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--light-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
}

.method-item p {
    color: #666;
    line-height: 1.8;
}

.competitions-info {
    max-width: 900px;
    margin: 0 auto;
}

.competitions-info > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.competition-table-wrapper {
    overflow-x: auto;
}

.competition-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.competition-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.competition-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
}

.competition-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: #555;
}

.competition-table tbody tr {
    transition: background-color 0.3s ease;
}

.competition-table tbody tr:hover {
    background-color: var(--light-bg);
}

.competition-table tbody tr:last-child td {
    border-bottom: none;
}

.transparency-content {
    max-width: 800px;
    margin: 0 auto;
}

.transparency-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: var(--white);
    overflow: hidden;
}

.faq-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background-color: var(--light-bg);
}

.faq-header h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-content {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-content p {
    color: #666;
    line-height: 1.8;
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list a {
        display: block;
        padding: 1rem 0;
    }

    .btn-registro {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .competition-table {
        font-size: 0.875rem;
    }

    .competition-table th,
    .competition-table td {
        padding: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
