* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #e8e6e1;
    --color-text: #1a1a1a;
    --color-accent: #e87e3d;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-border: #d4d4d4;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--color-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 500;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
}

.main-content {
    min-height: calc(100vh - 400px);
}

.hero-section {
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.hero-thumbnails img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-thumbnails img:hover {
    transform: scale(1.05);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--color-text);
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background-color: var(--color-text);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--color-text);
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    text-align: center;
    padding: 40px 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--color-text);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.course-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: var(--color-text);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--color-light-gray);
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card-content {
    padding: 30px;
}

.course-card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-text);
}

.course-card-meta {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.course-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 25px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 15px;
}

.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-section h1 {
    font-size: 42px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.checkbox-group label a {
    color: var(--color-accent);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.content-section h1 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 500;
    margin: 40px 0 20px;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.course-detail-hero {
    padding: 60px 0;
    text-align: center;
}

.course-detail-hero h1 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
}

.course-detail-hero p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.course-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.course-detail-section {
    margin-bottom: 60px;
}

.course-detail-section h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
}

.course-detail-section h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 30px 0 15px;
}

.course-detail-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.course-detail-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.course-detail-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.course-image {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 50px 0;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.footer {
    background-color: var(--color-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    font-size: 20px;
    font-weight: 500;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    padding: 30px 0;
    display: none;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-text);
}

.cookie-banner-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    text-decoration: none;
}

.cookie-banner-actions {
    flex-shrink: 0;
}

.btn-accept {
    white-space: nowrap;
    min-width: 120px;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
    }
    
    .btn-accept {
        width: 100%;
    }
    
    .burger-menu {
        display: flex;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 10px 0;
    }
    
    .nav-link.active::after {
        bottom: 0;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section h1,
    .course-detail-hero h1 {
        font-size: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 13px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 0;
    }
    
    .stat-number {
        font-size: 38px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .course-card-content {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stats-grid {
        gap: 20px;
    }
}

