/* 
   Freedom School - Main Stylesheet
   Уникальная цветовая гамма: бирюзовый, темно-синий, коралловый, золотистый
*/

/* ===============================================
   ОСНОВНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   =============================================== */

:root {
    --primary-color: #1abc9c;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --warning-color: #f39c12;
    --success-color: #27ae60;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-color);
}

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

/* ===============================================
   ТИПОГРАФИЯ
   =============================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

/* ===============================================
   КНОПКИ
   =============================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a085, var(--primary-color));
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: #34495e;
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
    color: var(--white);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===============================================
   COOKIE CONSENT BANNER
   =============================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    color: var(--white);
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent .btn {
    white-space: nowrap;
}

/* ===============================================
   HEADER
   =============================================== */

.main-header {
    background: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    width: 50px;
    height: 50px;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

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

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

.main-nav a {
    color: var(--dark-text);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 25px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-color);
    color: var(--white);
}

.main-nav i {
    margin-right: 5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===============================================
   FOOTER
   =============================================== */

.main-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-column i {
    margin-right: 8px;
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
}

/* ===============================================
   BACK TO TOP BUTTON
   =============================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="rgba(255,255,255,0.05)" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="rgba(255,255,255,0.1)" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

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

/* ===============================================
   АНИМАЦИИ
   =============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease 0.3s both;
}

.animate-on-scroll {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================================
   FEATURES SECTION
   =============================================== */

.features-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--light-text);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* ===============================================
   CTA SECTION
   =============================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.cta-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    text-align: left;
}

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

/* ===============================================
   STATS SECTION
   =============================================== */

.stats-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */

.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark-text);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

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

/* ===============================================
   PAGE HEADER
   =============================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

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

/* ===============================================
   COURSES SECTION
   =============================================== */

.courses-intro {
    padding: 60px 0 40px;
    background: var(--light-bg);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.course-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

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

.courses-section {
    padding: 60px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.course-icon {
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    color: var(--white);
    padding: 40px;
    text-align: center;
    font-size: 3rem;
}

.course-card h3 {
    padding: 20px 20px 10px;
    color: var(--secondary-color);
}

.course-description {
    padding: 0 20px;
    color: var(--dark-text);
    line-height: 1.6;
}

.course-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

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

.course-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.course-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

.course-benefits {
    padding: 60px 0;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

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

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

.cta-courses {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-courses h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-courses p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===============================================
   CONTACT PAGE
   =============================================== */

.contact-section {
    padding: 60px 0;
}

.contact-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-block h3,
.contact-form-block h3 {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

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

.contact-item-content h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-item-content .note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 10px;
}

.contact-form {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
}

.faq-section {
    padding: 60px 0;
    background: var(--light-bg);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

/* ===============================================
   LEGAL CONTENT
   =============================================== */

.legal-content {
    padding: 60px 0;
}

.legal-updated {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 40px;
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-block h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-list li::before {
    content: '▸';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

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

.value-item {
    padding: 25px;
    background: var(--light-bg);
    border-radius: 10px;
}

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

.value-item i {
    margin-right: 10px;
}

.contact-methods {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.cookies-table th,
.cookies-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.cookies-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookies-table tr:nth-child(even) {
    background: var(--light-bg);
}

/* ===============================================
   ABOUT PAGE
   =============================================== */

.about-content {
    padding: 60px 0;
}

/* ===============================================
   THANK YOU PAGE
   =============================================== */

.thank-you-section {
    padding: 80px 0;
    text-align: center;
}

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

.success-icon {
    width: 120px;
    height: 120px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 4rem;
    color: var(--white);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-content h1 {
    margin-bottom: 20px;
}

.lead {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 40px;
}

.thank-you-message {
    text-align: left;
}

.info-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.info-box.urgent {
    background: #fff3cd;
    border: 2px solid var(--warning-color);
}

.next-steps {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps i {
    color: var(--success-color);
    margin-right: 10px;
}

.urgent-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.urgent-contacts div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.urgent-contacts i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.thank-you-actions {
    margin: 60px 0;
}

.thank-you-actions h3 {
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-proof {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
}

.testimonial-mini {
    max-width: 600px;
    margin: 20px auto 0;
}

.testimonial-mini p {
    font-style: italic;
    margin-bottom: 15px;
}

/* ===============================================
   АДАПТИВНАЯ ВЕРСТКА
   =============================================== */

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 500px;
        margin-top: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .course-categories {
        flex-direction: column;
    }
    
    .category-btn {
        width: 100%;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* ===============================================
   ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ
   =============================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Скрытие элементов */
.hidden {
    display: none !important;
}

/* Loader (для будущего использования) */
.loader {
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}