:root {
    /* Триадная цветовая схема */
    --primary-color: #2C6ECF;
    --primary-dark: #1B4C9E;
    --primary-light: #5392F3;
    
    --secondary-color: #CF2C6E;
    --secondary-dark: #9E1B4C;
    --secondary-light: #F35392;
    
    --tertiary-color: #6ECF2C;
    --tertiary-dark: #4C9E1B;
    --tertiary-light: #92F353;
    
    /* Нейтральные цвета */
    --neutral-dark: #333333;
    --neutral-medium: #666666;
    --neutral-light: #999999;
    --neutral-lighter: #f4f4f7;
    
    /* Цвета состояний */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Параметры дизайн-системы */
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Типографика */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Размеры контейнеров */
    --container-width: 1200px;
    --container-padding: 20px;
    
    /* Z-индексы */
    --z-back: -1;
    --z-normal: 1;
    --z-forward: 10;
    --z-modal: 100;
    --z-overlay: 1000;
}

/* =========== Базовые стили =========== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin: 0 0 1.5rem;
}

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

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

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

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

/* Секционные заголовки */
.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--neutral-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--neutral-medium);
}

/* =========== Стили кнопок =========== */
.btn, 
button,
input[type='submit'] {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(44, 110, 207, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(44, 110, 207, 0.3);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(207, 44, 110, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(207, 44, 110, 0.3);
    color: white;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(44, 110, 207, 0.2);
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0.5rem 0;
    position: relative;
    text-transform: none;
    font-weight: 600;
    font-family: var(--font-body);
}

.btn-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-fast);
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn-accept {
    background-color: var(--tertiary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 0.5rem 1.2rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 600;
    font-family: var(--font-heading);
}

.btn-accept:hover {
    background-color: var(--tertiary-dark);
    transform: translateY(-2px);
}

/* =========== Компоненты =========== */
/* Карточки */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.card-content p {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
}

/* Полоса прогресса */
.progress-container {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-medium);
}

.progress-bar {
    height: 8px;
    background-color: var(--neutral-lighter);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width var(--transition-medium);
}

/* =========== Хедер и навигация =========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-forward);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--neutral-dark);
    font-weight: 700;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop ul li {
    margin: 0 1rem;
}

.nav-desktop ul li a {
    color: var(--neutral-dark);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-fast);
    border-radius: 2px;
}

.nav-desktop ul li a:hover {
    color: var(--primary-color);
}

.nav-desktop ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--neutral-dark);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-mobile {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    overflow: hidden;
    transition: height var(--transition-medium);
    z-index: var(--z-modal);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav-mobile ul {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.nav-mobile ul li {
    margin-bottom: 1.5rem;
}

.nav-mobile ul li a {
    color: var(--neutral-dark);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
}

.nav-mobile ul li a:hover {
    color: var(--primary-color);
}

.nav-mobile.active {
    height: calc(100vh - 80px);
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* =========== Секция Hero =========== */
.hero {
    position: relative;
    padding: 150px 0 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: var(--z-back);
}

.hero-content {
    position: relative;
    z-index: var(--z-normal);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* =========== Секция Курсы =========== */
.cursos {
    padding: 100px 0;
    background-color: var(--neutral-lighter);
}

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

/* =========== Секция Testimonios =========== */
.testimonios {
    padding: 100px 0;
    background: linear-gradient(120deg, #fff, var(--neutral-lighter));
}

.testimonios-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    max-width: 350px;
    transition: transform var(--transition-fast);
}

.testimonio-card:hover {
    transform: translateY(-10px);
}

.testimonio-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(44, 110, 207, 0.2);
}

.testimonio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.testimonio-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--neutral-medium);
    line-height: 1.8;
    position: relative;
}

.testimonio-text::before, 
.testimonio-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
    line-height: 0;
}

.testimonio-text::before {
    top: 0.5rem;
    left: -1rem;
}

.testimonio-text::after {
    bottom: -0.5rem;
    right: -1rem;
}

.testimonio-autor {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--neutral-dark);
}

.testimonio-cargo {
    color: var(--neutral-light);
    font-size: 0.9rem;
}

/* =========== Секция Success Stories =========== */
.success-stories {
    padding: 100px 0;
    background-color: white;
}

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

/* =========== Секция Proyectos =========== */
.proyectos {
    padding: 100px 0;
    background-color: var(--neutral-lighter);
}

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

/* =========== Секция Recursos =========== */
.recursos {
    padding: 100px 0;
    background: linear-gradient(to right, #fff, var(--neutral-lighter));
}

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

.recursos .card {
    padding: 2rem;
    text-align: center;
}

.recursos .card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* =========== Секция Eventos =========== */
.eventos {
    padding: 100px 0;
    background-color: white;
}

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

.evento-fecha {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* =========== Секция Sustainability =========== */
.sustainability {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--neutral-lighter), white);
}

.sustainability-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.sustainability-image {
    flex: 1 1 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.sustainability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.sustainability-image:hover img {
    transform: scale(1.05);
}

.sustainability-text {
    flex: 1 1 500px;
}

.sustainability-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sustainability-text h3:first-child {
    margin-top: 0;
}

.sustainability-text p {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
}

/* =========== Секция Contact =========== */
.contact {
    padding: 100px 0;
    background-color: var(--neutral-lighter);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-item p {
    margin-bottom: 0.5rem;
    color: var(--neutral-medium);
}

.contact-form-container {
    flex: 1 1 500px;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--neutral-lighter);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

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

/* =========== Футер =========== */
.footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    flex: 1 1 500px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    flex: 1 1 160px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    display: block;
}

.footer-links-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-links li a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-links li a:hover {
    color: white;
}

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

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========== Cookie Consent =========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--neutral-dark);
    color: white;
    padding: 1rem;
    z-index: var(--z-overlay);
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content p {
    margin: 0;
    padding-right: 2rem;
}

/* =========== Success Page =========== */
.success-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 2rem;
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.success-message {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--neutral-medium);
}

/* =========== Privacy & Terms Pages =========== */
.privacy-page,
.terms-page {
    padding-top: 100px;
    padding-bottom: 50px;
}

.privacy-content,
.terms-content {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.privacy-content h2,
.terms-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content h2:first-child,
.terms-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.terms-content p {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
}

.privacy-content ul,
.terms-content ul {
    margin-bottom: 1.5rem;
    color: var(--neutral-medium);
}

.privacy-content li,
.terms-content li {
    margin-bottom: 0.5rem;
}

/* =========== About Page =========== */
.about-page {
    padding-top: 100px;
    padding-bottom: 50px;
}

.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.about-section {
    margin-bottom: 100px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1 1 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1 1 500px;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--neutral-light);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--neutral-lighter);
    color: var(--neutral-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

/* =========== Адаптивный дизайн =========== */
@media (max-width: 1100px) {
    .nav-desktop {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .sustainability-content,
    .contact-container {
        flex-direction: column;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .cursos-grid,
    .proyectos-grid,
    .eventos-grid,
    .recursos-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
}

/* =========== Анимации =========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Прокрутка-зависимые эффекты */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Добавляем анимации для компонентов */
.hero-content {
    animation: fadeIn 1s ease forwards;
}

.section-title,
.section-description {
    animation: fadeIn 0.8s ease forwards;
}

.cursos .card:nth-child(odd) {
    animation: slideIn 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i, 1));
}

.cursos .card:nth-child(even) {
    animation: slideIn 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i, 1));
}

.testimonio-card {
    animation: scaleIn 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i, 1));
}

/* Эффект параллакса */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}