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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 50%, #fecaca 100%);
    min-height: 100vh;
}

/* Фоновая анимация */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(234,88,12,0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Хедер */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    position: sticky;
    margin-bottom: 2rem;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;   
}

.nav {
    /* margin-left: 2%;
    margin-right: 2%; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-icon::before {
    content: '';
    width: 20px;
    height: 18px;
    background: #fed7aa;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 8px;
    left: 8px;
}

.logo-icon::after {
    content: '';
    width: 15px;
    height: 15px;
    background: #fed7aa;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 8px;
    right: 8px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #92400e;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover {
    color: #c2410c;
    /* transform: translateY(-2px); */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 10%;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 25px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

/* Стилизуем гамбургер */
.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background-color: #92400e;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger {
  width: 100%;
  height: 3px;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  width: 100%;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-link {
    color: #92400e;
    text-decoration: none;
    /* padding: 1rem 1rem; */
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.active {
    /* background: rgba(234, 88, 12, 0.1); */
    border-image: linear-gradient(90deg, #ea580c, #dc2626) 1;
}

/* Основной контент */
.main-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero секция */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3rem;
    color: #451a03;
    margin-bottom: 1rem;
    /* font-family: 'Georgia', serif; */
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #92400e;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Секции контента */
.content-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.2);
}

.section-title {
    font-size: 2.2rem;
    color: #451a03;
    margin-bottom: 1.5rem;
    /* font-family: 'Georgia', serif; */
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 2px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr); /* по умолчанию 1 карточка */
}

@media (min-width: 10px) {
    .steps-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 карточки */
    }
}

@media (min-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки */
    }
}

@media (min-width: 1300px) {
    .steps-grid {
        grid-template-columns: repeat(4 , 1fr); /* 4 карточки */
    }
}

.steps-grid-about {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr); /* по умолчанию 1 карточка */
}

@media (min-width: 10px) {
    .steps-grid-about {
        grid-template-columns: repeat(1, 1fr); /* 2 карточки */
    }
}

@media (min-width: 600px) {
    .steps-grid-about {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки */
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.15);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.3rem;
    color: #451a03;
    margin-bottom: 0.5rem;
}

.step-text {
    color: #92400e;
    font-size: 0.95rem;
}

/* Команда */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* по умолчанию 1 карточка */
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 10px) {
    .team-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 карточки */
    }
}

@media (min-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки */
    }
}

@media (min-width: 1300px) {
    .team-grid {
        grid-template-columns: repeat(4 , 1fr); /* 4 карточки */
    }
}

.team-grid-about {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* по умолчанию 1 карточка */
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 10px) {
    .team-grid-about{
        grid-template-columns: repeat(1, 1fr); /* 2 карточки */
    }
}

@media (min-width: 600px) {
    .team-grid-about {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки */
    }
}


.team-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.team-name {
    font-size: 1.3rem;
    color: #451a03;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #c2410c;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: #92400e;
    font-size: 0.95rem;
}

/* Достижения */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}


@media (min-width: 10px) {
    .achievements-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 карточки */
    }
}

@media (min-width: 600px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки */
    }
}

@media (min-width: 1300px) {
    .achievements-grid {
        grid-template-columns: repeat(4 , 1fr); /* 4 карточки */
    }
}

.achievement-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.15);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c2410c;
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: #92400e;
    font-weight: 500;
}

/* Кнопка CTA */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-container{
        max-width: 95%;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .main-container {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: fixed;
        top: 72px; /* или высота хедера */
        background-color: #fed7aa;
        left: 0;     /* Сдвигаем в левый край */
        width: 100vw; /* Ширина экрана */
        padding: 1rem;
        box-shadow: -2px 0 6px rgba(0,0,0,0.15);
        height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu a {
        display: block;       /* чтобы занимали всю ширину */
        width: 100%;          /* растягиваются на весь контейнер */
        padding: 0.8rem 1rem; /* немного больше кликабельной зоны */
        box-sizing: border-box;
        font-size: 1.3rem;  
        line-height: 3rem; 
    }

    /* Когда меню открыто — показываем */
    .nav-menu.active {
        display: flex;
    }

    .container{
        max-width: 95%;
        padding: 15px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #c2410c;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-icon::before {
    content: '';
    width: 20px;
    height: 18px;
    background: #fed7aa;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 8px;
    left: 8px;
}

.logo-icon::after {
    content: '';
    width: 15px;
    height: 15px;
    background: #fed7aa;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 8px;
    right: 8px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 60px 0 30px;
    margin-top: 100px;
}

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

.footer-section h3 {
    color: #fed7aa;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fed7aa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}
