:root {
    /* Футуристическая цветовая схема "Триада" */
    --primary-color: #0077FF;       /* Основной синий */
    --primary-dark: #0055CC;        /* Темный синий */
    --primary-light: #66AAFF;       /* Светлый синий */
    
    --secondary-color: #FF5500;     /* Оранжевый акцент */
    --secondary-dark: #CC4400;      /* Темный оранжевый */
    --secondary-light: #FF884D;     /* Светлый оранжевый */
    
    --tertiary-color: #00CC66;      /* Зеленый акцент */
    --tertiary-dark: #009944;       /* Темный зеленый */
    --tertiary-light: #66FFAA;      /* Светлый зеленый */
    
    --background-light: #F8F9FA;    /* Светлый фон */
    --background-dark: #212529;     /* Темный фон */
    --text-light: #FFFFFF;          /* Светлый текст */
    --text-dark: #333333;           /* Темный текст */
    --text-muted: #6C757D;          /* Приглушенный текст */
    
    /* Неоновые акценты для неон-брутализма */
    --neon-blue: #00FFFF;
    --neon-pink: #FF00FF;
    --neon-yellow: #FFFF00;
    
    /* Отступы */
    --section-padding: 5rem 0;
    --card-padding: 1.5rem;
    
    /* Переходы */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;
    
    /* Тени */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Границы */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Брутализм */
    --brutalism-border: 3px solid var(--background-dark);
    --brutalism-shadow: 5px 5px 0px var(--background-dark);
}

/* Основные стили */
body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    text-align: center;
}

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

a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all var(--transition-fast);
}

.read-more::after {
    content: "→";
    margin-left: 0.5rem;
    transition: margin-left var(--transition-fast);
}

.read-more:hover {
    color: var(--secondary-dark);
}

.read-more:hover::after {
    margin-left: 0.75rem;
}

/* Кнопки */
.btn, button, input[type="submit"] {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-tertiary {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    color: var(--text-light);
}

.btn-tertiary:hover {
    background-color: var(--tertiary-dark);
    border-color: var(--tertiary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-brutalism {
    border: var(--brutalism-border);
    box-shadow: var(--brutalism-shadow);
    transform: translate(-2px, -2px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-brutalism:hover {
    transform: translate(0, 0);
    box-shadow: none;
}

/* Навигационное меню */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: var(--background-light);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-dark);
    position: relative;
}



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

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 80%;
}

/* Hero секция */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    overflow: hidden;
}

.hero .overlay {
    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: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

/* Статистические виджеты */
.stats {
    background-color: var(--background-light);
    padding: 3rem 0;
    position: relative;
    z-index: 3;
    margin-top: -100px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.stat-widget {
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    border-bottom: 4px solid var(--primary-color);
}

.stat-widget:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stat-text {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Секция Услуги/Сервисы */
.servicios {
    padding: var(--section-padding);
}

.service-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    overflow: hidden;
    width: 100%;
    height: 250px;
}

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

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

.card-content {
    padding: var(--card-padding);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.progress-container {
    margin-top: 1.5rem;
}

.progress-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* История секция */
.historia {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.history-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.history-image-container img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

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

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    padding-left: 1rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Секция Workshops/Talleres */
.talleres {
    padding: var(--section-padding);
}

.workshop-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.badge-container {
    display: flex;
    gap: 0.5rem;
}

.workshop-info {
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Секция Recursos Externos */
.recursos-externos {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.resource-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.resource-card h3 a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.resource-card h3 a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.resource-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Секция Sustainability/Sostenibilidad */
.sostenibilidad {
    padding: var(--section-padding);
}

.sustainability-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.sustainability-image-container img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

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

.sustainability-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--tertiary-color);
}

.principle-item {
    margin-bottom: 1.5rem;
}

.principle-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.principle-item h4 i {
    color: var(--tertiary-color);
}

/* Секция Webinars */
.webinars {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.webinar-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.webinar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.webinar-card .card-image {
    position: relative;
}

.webinar-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius-sm);
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.webinar-date {
    display: block;
    font-weight: 700;
}

.webinar-time {
    display: block;
    font-size: 0.8rem;
}

.webinar-presenter {
    display: flex;
    align-items: center;
}

.webinar-presenter img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.webinar-presenter strong {
    display: block;
    font-size: 1.1rem;
}

.webinar-presenter p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Секция Contact/Contacto */
.contact {
    padding: var(--section-padding);
}

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

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-dark);
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container img {
    width: 100%;
    height: auto;
}

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

.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    border: 2px solid #eee;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 255, 0.25);
}

.form-select {
    border: 2px solid #eee;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    height: auto;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 255, 0.25);
}

.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.25em;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    padding-left: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer h3, .footer h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.25rem 0;
}

.social-links a:hover {
    color: var(--primary-light);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer address p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer address p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom a:hover {
    color: var(--text-light);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
    display: none;
}

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

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

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

.success-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

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

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.success-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Privacy & Terms Pages */
.content-page {
    padding-top: 100px;
    padding-bottom: 5rem;
}

.content-page .container {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-page p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Общие стили для фоновых изображений */
[style*="background-image"] {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Медиа-запросы */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stats {
        margin-top: -50px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        margin-top: 0;
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-dot {
        left: -2.2rem;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-container, .contact-info {
        padding: 1.5rem;
    }
}

/* Анимации при прокрутке */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="custom-fade-in"] {
    opacity: 0;
    transition: opacity 1s ease;
}

[data-aos="custom-fade-in"].aos-animate {
    opacity: 1;
}

[data-aos="custom-scale-up"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-scale-up"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Неон-брутализм элементы */
.brutalism-card {
    border: var(--brutalism-border);
    box-shadow: var(--brutalism-shadow);
    transform: translate(-5px, -5px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    background-color: white;
}

.brutalism-card:hover {
    transform: translate(0, 0);
    box-shadow: none;
}

.neon-text {
    text-shadow: 
        0 0 5px rgba(0, 255, 255, 0.7),
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 15px rgba(0, 255, 255, 0.3);
    color: var(--neon-blue);
}

.neon-border {
    border: 2px solid var(--neon-blue);
    box-shadow: 
        0 0 5px rgba(0, 255, 255, 0.7),
        0 0 10px rgba(0, 255, 255, 0.5);
}

/* Дополнительные утилиты */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}