:root {
    /* Триадная цветовая схема */
    --primary-color: #ff3d00; /* Основной цвет - яркий оранжевый */
    --secondary-color: #4caf50; /* Вторичный цвет - зеленый */
    --accent-color: #3d5afe; /* Акцентный цвет - синий */
    
    /* Варианты основных цветов для эффектов при наведении */
    --primary-dark: #dd2c00;
    --secondary-dark: #388e3c;
    --accent-dark: #304ffe;
    
    /* Нейтральные цвета */
    --dark: #212121;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #757575;
    --gray-light: #e0e0e0;
    
    /* Фоновые градиенты */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff7043);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #8bc34a);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #536dfe);
    
    /* Тени */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.14);
    
    /* Скругления */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Размеры шрифтов */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    
    /* Межстрочные интервалы */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;
    
    /* Контейнер */
    --container-padding: 1.5rem;
    --container-max-width: 1200px;
}

/* Базовые стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size-md);
    line-height: var(--line-height-normal);
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    line-height: var(--line-height-tight);
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

h4 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin-left: auto;
    margin-right: auto;
}

/* Секции */
section {
    padding: 4rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--light);
}

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

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    font-size: var(--font-size-3xl);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    transform: skewX(-20deg);
}

/* Кнопки */
.btn, 
button,
input[type="submit"] {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--font-size-md);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before, 
button::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s;
    z-index: -1;
}

.btn:hover::before, 
button:hover::before,
input[type="submit"]:hover::before {
    left: 0;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-medium);
}

.header-scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo a {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
}

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

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-list li {
    margin-left: 1rem;
}

.nav-list a {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
}

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

.nav-list a:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    transition: all var(--transition-medium);
}

/* Hero секция */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: var(--font-size-4xl);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: 2.5rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Process Section */
.process-section {
    background-color: var(--white);
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

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

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

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

.card-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

.card-content p {
    color: var(--gray);
    line-height: var(--line-height-loose);
}

/* Sustainability Section */
.sustainability-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.sustainability-image img {
    width: 100%;
    height: auto;
    transform: rotate(-2deg) scale(1.05);
    transition: transform var(--transition-slow);
}

.sustainability-image:hover img {
    transform: rotate(0) scale(1.1);
}

.sustainability-text {
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transform: rotate(1deg);
    transition: transform var(--transition-medium);
}

.sustainability-text:hover {
    transform: rotate(0);
}

.sustainability-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-xl);
}

.sustainability-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.sustainability-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.sustainability-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.sustainability-list h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Case Studies Section */
.case-studies-section {
    background-color: var(--white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Resources Section */
.resources-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

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

.resource-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    z-index: 1;
    text-align: center;
}

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

.resource-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

.resource-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: bold;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.resource-link:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    text-decoration: none;
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Awards Section */
.awards-section {
    background-color: var(--light);
}

.awards-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

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

.awards-intro {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    color: var(--dark);
    font-style: italic;
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.award-item {
    padding-left: 2rem;
    position: relative;
    border-left: 4px solid var(--primary-color);
    padding-bottom: 1.5rem;
}

.award-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.award-item p {
    color: var(--gray);
}

.awards-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    transition: transform var(--transition-medium);
}

.awards-image:hover {
    transform: rotate(0);
}

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

/* Press Section */
.press-section {
    background-color: var(--white);
}

.press-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.press-item {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.press-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 150px;
    color: rgba(0, 0, 0, 0.05);
    font-family: 'Archivo Black', sans-serif;
    line-height: 1;
}

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

.press-date {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.press-title {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

.press-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.press-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}

.press-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
}

.press-link:hover {
    color: var(--accent-dark);
}

.press-link:hover::after {
    right: -5px;
}

/* Contact Section */
.contact-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

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

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-xl);
}

.contact-details {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-md);
}

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

.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-xl);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size-md);
    transition: border-color var(--transition-fast);
}

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

.privacy-policy {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.privacy-policy input {
    margin-top: 0.25rem;
}

.submit-btn {
    align-self: center;
    margin-top: 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo a {
    font-family: 'Archivo Black', sans-serif;
    font-size: var(--font-size-xl);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}

.footer-logo p {
    color: var(--gray-light);
    font-size: var(--font-size-md);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-lg);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

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

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

.footer-links-column a {
    color: var(--gray-light);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links-column a:hover {
    color: var(--white);
    text-decoration: none;
}

.social-links a {
    display: flex;
    align-items: center;
}

.social-links a::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.social-links a:hover::before {
    transform: translateX(3px);
}

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

.footer-bottom p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-bottom: 0.5rem;
}

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

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

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

.success-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

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

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
    padding-top: 100px;
}

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

/* Media Queries */
@media (max-width: 992px) {
    .contact-content,
    .awards-content {
        grid-template-columns: 1fr;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .process-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    .hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero p {
        font-size: var(--font-size-lg);
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .hero p {
        font-size: var(--font-size-md);
    }
}