*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-secondary: #2b6cb0;
    --color-accent: #3182ce;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-background: #ffffff;
    --color-background-alt: #f7fafc;
    --color-border: #e2e8f0;
    --color-error: #c53030;
    --color-success: #2f855a;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --max-width: 1200px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.3;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: #ffffff;
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 15px 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #90cdf4;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo:hover {
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s;
}

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

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

.nav-list a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, #edf2f7 100%);
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--color-background-alt);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.25rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.track-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.track-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.track-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.track-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background-color: var(--color-secondary);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-secondary);
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

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

.contact {
    background-color: var(--color-background-alt);
}

.form-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--color-text-light);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.required {
    color: var(--color-error);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--color-error);
}

.error-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-error);
}

.form-group-checkbox {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 15px;
}

.footer {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #90cdf4;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #718096;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-background);
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
