
.stranici a{
    text-decoration: none;
    color: black;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
.body{
  font-family: Nunito;
}
.stranici{
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 20px;
}
.stranici a.glav{
    color: orange;
    border-bottom: 1px solid orange;
    font-weight: 600;
}
.stranici a:hover{
    color: orange;
    border-bottom: 1px solid orange;   
}
.pervi{
    position: relative;
    height: 704px;
    overflow: hidden;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    padding: 0 0 50px 0;
}
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}
.perviknop{
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.perviknop:hover{
    background-color: darkorange;
}
.col-8{
    color: white;
    text-align: right;
     position: relative;
    z-index: 10;
    background-color:#1c2a3bc6;
    padding: 20px 15px 20px 10px;
    width: 720px !important;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.slov{
    font-size:  50px;
    font-weight: 600;
  
}
.opisa{
    font-size: 26px;
 
    font-weight: 600;
}
.okomp{
  display: flex;
  align-items: center;
  text-align: left;
  padding: 120px 150px;

  gap: 30px;
  
}
.opis-right{
    grid-template-columns: repeat(2, 250px );
    display: grid;
    gap: 9px;
}
.opis-img{
    width: 250px !important;
    object-fit: cover;
    position: center;
    height: 300px;
}
.im2{
    transform:translateY(20px);
}
.im4{
    transform:translateY(20px);
}
.okomp img{
  
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.titleokomp{
  font-size: 40px;
  font-weight: 700;
  margin:0;
  padding: 0;
}
.opisokomp{
  font-size: 20px;
  line-height: 1.6;
  color: #555;
}

.titleokomp {
    color: orange;
    font-size: 50px;
}

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
  }

  .advantages {
    padding: 100px 100px;
   
    
    background-color: #eaeaea;
  }

  .advantages h2 {
    text-align: left;
    font-size: 50px;
    margin-bottom: 20px;
    color: #333;
    grid-column: 1/3;
    padding: 20px;

  }

  
.section-produce {
    max-width: 1250px;
    margin: 0 auto;
    padding: 100px 20px;
    font-family: "Inter", sans-serif;
}

.section-produce h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2c18;
}

.section-produce p.subtitle {
    font-size: 20px;
    max-width: 900px;
    margin-bottom: 40px;
    color: #1b1b1b;
}

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

.produce-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.produce-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.produce-card .overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    align-items: flex-end;
  justify-content: space-between;

}

.produce-card h3 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    font-weight: 500;
}

.produce-card .btn {
    background: #5fa88a;
    padding: 10px 22px;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s ease;
}

.produce-card .btn:hover {
    background: #4c8f73;
}
  

.stat-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
      height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    background-size: cover;
    background-position: center;
    background-image: url('Gemini_Generated_Image_jb69ivjb69ivjb69.png'); /* замени фото */
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* Нижний градиент как в твоих карточках */
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    z-index: 1;
}

.stat-card-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.stat-card .big-number {
    font-size: 54px;
    font-weight: 800;
    margin: 0;
    padding: 0;
}

.stat-card .text-sub {
    font-size: 22px;
    opacity: 0.9;
}

.stat-card .btn {
    background: #5fa88a;
    padding: 12px 26px;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: 0.25s;
}

.stat-card .btn:hover {
    background: #4c8f73;
}

/* Адаптив */
@media (max-width: 768px) {
    .stat-card {
        height: 270px;
        padding: 22px;
    }
    
    .stat-card .big-number {
        font-size: 42px;
    }
}
.geo-clean {
    padding: 130px 100px;
    margin: 80px auto;
    
    font-family: "Inter", sans-serif;
    color: #111;
    background-color: #eaeaea;
}

/* Заголовок и подзаголовок */
.geo-clean h2 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 12px;
        color: #dfaa65;

}

.geo-clean p.subtitle {
    font-size: 21px;
    line-height: 1.55;
    margin-bottom: 55px;
    max-width: 780px;
}

/* Горизонтальная линия */
.geo-line {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Каждая позиция */
.geo-item {
    position: relative;
    flex: 1;
    padding: 20px 0;
}

/* Большие цифры-фоном */
.geo-num {
    font-size: 130px;
    font-weight: 800;
    color: #dfaa65;
    line-height: 0.8;
    position: absolute;
    top: -10px;
    left: 0;
    pointer-events: none;
}

/* Текст поверх цифры */
.geo-text {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    margin-left: 10px; /* чуть поверх цифры */
    z-index: 2;
}

/* Средний пункт ниже */
.geo-item.center {
    margin-top: 40px;
}

/* Адаптив */
@media (max-width: 900px) {
    .geo-line {
        flex-direction: column;
    }
    .geo-item.center {
        margin-top: 0;
    }
    .geo-num {
        font-size: 100px;
    }
}
.history-section {
    display: flex;
    padding: 120px 100px;
    font-family: "Inter", sans-serif;
    color: #111;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.history-title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #174927;
}

.history-text {
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 55px;
}
.history-text b{
   color: #174927;
}



.section-title {
font-size: 32px;
font-weight: 600;
margin-bottom: 40px;
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px 50px;
}

.benefit-item {
position: relative;
padding-left: 40px;
}

.benefit-number {
position: absolute;
left: 0;
top: 0;
font-size: 55px;
font-weight: 700;
color: #f6a63e;
line-height: 1;
}

.benefit-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
}

.benefit-text {
font-size: 15px;
line-height: 1.5;
}

@media (max-width: 900px) {
.benefits-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
.benefits-grid {
grid-template-columns: 1fr;
}
}
.bt{
    margin-top: 30px;
}
.bth{
    margin-top: 60px;
}


.site-footer {
    background-color: #f5f5f5; /* светло-серый фон */
    color: #4d4d4d;
    padding: 60px 90px 30px 90px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: orange; /* акцент на оранжевом */
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
    font-size: 16px;
    line-height: 1.6;
}

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

.footer-column li::before {
    content: "•";
    color: orange;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

.history-num{
    font-size: 180px;
    margin: 0;
    color: orange;
    font-weight: 900;
    background-image: url('large_TP0UJrHt0231YcBQgHmTl5D0rk81GOeE.jpg');
    background-position: center;
    background-size: cover;
    padding: 80px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.video-section {
    position: relative;
    width: 100%;
    height: 500px; /* или auto, но лучше фикс. высота */
    overflow: hidden;
}

/* ВИДЕО НА ФОНЕ */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* КОНТЕНТ СВЕРХУ ВИДЕО */
.video-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px;
}

/* ПО ЖЕЛАНИЮ — затемнение видео */
.video-section::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0,0,0,0.3); /* прозрачность меняешь сам */
}
@media (max-width: 1024px) {
    /* Хедер */
    .stranici {
        gap: 20px;
        margin: 15px;
        flex-wrap: wrap;
        font-size: 15px;
    }
    .stranici a {
        padding: 5px 0;
    }

    /* Главная секция (Видео) */
    .pervi {
        height: 600px;
    }
    .col-8 {
        width: 100% !important;
        padding: 20px 20px;
        margin-right: 20px;
    }
    .slov {
        font-size: 40px;
    }
    .opisa {
        font-size: 20px;
    }

    /* О Компании */
    .okomp {
        padding: 80px 50px;
        flex-direction: column;
        text-align: center;
    }
    .okomp > div:first-child {
        margin-bottom: 30px;
    }
    .opis-right {
        grid-template-columns: repeat(2, 200px);
        gap: 15px;
    }
    .opis-img {
        width: 200px !important;
        height: 240px;
    }
    .titleokomp {
        font-size: 40px;
    }
    .opisokomp {
        font-size: 18px;
    }
    .im2, .im4 {
        transform: translateY(0); /* Убираем смещение */
    }

    /* Преимущества */
    .advantages {
        padding: 80px 50px;
    }
    .advantages h2 {
        font-size: 40px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .bt, .bth {
        margin-top: 0;
    }

    /* Продукция */
    .section-produce {
        padding: 80px 20px;
    }
    .section-produce h2 {
        font-size: 50px;
    }
    .produce-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .stat-card {
        height: 250px;
    }
    .stat-card .big-number {
        font-size: 48px;
    }

    /* География */
    .geo-clean {
        padding: 100px 50px;
    }
    .geo-line {
        flex-direction: column;
        gap: 40px;
    }
    .geo-item.center {
        margin-top: 0;
    }
    .geo-num {
        font-size: 120px;
        top: -20px;
    }
    .geo-text {
        font-size: 20px;
        margin-left: 20px;
    }

    /* История */
    .history-section {
        padding: 80px 50px;
        flex-direction: column-reverse;
        text-align: center;
    }
    .history-title {
        font-size: 40px;
        margin-top: 20px;
    }
    .history-num {
        font-size: 120px;
        padding: 60px;
    }

    /* Футер */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ======================================= */
/* === Адаптация для МОБИЛЬНЫХ (до 768px) === */
/* ======================================= */

@media (max-width: 768px) {
    /* Хедер */
    .stranici {
        font-size: 14px;
        gap: 10px;
        justify-content: space-around;
        padding: 10px;
    }

    /* Главная секция (Видео) */
    .pervi {
        height: 500px;
    }
    .col-8 {
        padding: 15px 15px;
        margin-right: 0;
        text-align: center;
    }
    .slov {
        font-size: 32px;
    }
    .opisa {
        font-size: 18px;
    }
    .perviknop {
        padding: 8px 15px;
        font-size: 14px;
    }

    /* О Компании */
    .okomp {
        padding: 60px 20px;
    }
    .opis-right {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 15px;
    }
    .opis-img {
        width: 100% !important;
        height: auto;
    }
    .titleokomp {
        font-size: 32px;
        text-align: left;
    }
    .opisokomp {
        font-size: 16px;
        text-align: left;
    }
    .okomp > div:first-child {
        width: 100%;
    }

    /* Преимущества */
    .advantages {
        padding: 60px 20px;
    }
    .advantages h2 {
        font-size: 32px;
        padding: 0;
        text-align: center;
    }
    .benefits-grid {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 20px;
    }
    .benefit-item {
        padding-left: 35px;
    }
    .benefit-number {
        font-size: 45px;
    }

    /* Продукция */
    .section-produce {
        padding: 60px 15px;
    }
    .section-produce h2 {
        font-size: 40px;
    }
    .produce-grid {
        grid-template-columns: 1fr; /* 1 колонка */
    }
    .produce-card img, .stat-card {
        height: 220px;
    }
    .stat-card .big-number {
        font-size: 40px;
    }
    .stat-card .text-sub {
        font-size: 18px;
    }

    /* География */
    .geo-clean {
        padding: 80px 20px;
    }
    .geo-clean h2 {
        font-size: 32px;
    }
    .geo-clean p.subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .geo-num {
        font-size: 90px;
        top: 0;
    }
    .geo-text {
        font-size: 18px;
        margin-left: 15px;
    }

    /* История */
    .history-section {
        padding: 60px 20px;
    }
    .history-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .history-text {
        font-size: 16px;
    }
    .history-num {
        font-size: 90px;
        padding: 50px;
    }

    /* Футер */
    .site-footer {
        padding: 40px 20px 20px 20px;
    }
    .footer-column h3 {
        font-size: 20px;
    }
    .footer-column p {
        font-size: 14px;
    }
    .footer-bottom {
        font-size: 12px;
    }
}
/* Базовые стили для бургер-меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute; 
    top: 15px;
    right: 20px;
    z-index: 1001; 
}
.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; 
    margin: 5px 0;
    transition: all 0.3s ease;
}
.nav-container {
    width: 100%;
}
/* Стили для открытого бургер-меню (активация в @media < 1024px) */
@media (max-width: 1024px) {
    /* ... (ваши стили для хедера в media query) */

    .menu-toggle {
        display: block;
    }
    .stranici {
        display: none; 
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px; 
        height: 100%;
        background-color: white; 
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        padding-top: 80px;
        z-index: 1000;
        align-items: flex-start;
        margin: 0;
        /* Переопределение стилей для ссылок в мобильном меню */
        padding: 15px 20px;
    }
    .stranici a {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .stranici.active {
        display: flex;
    }
    .menu-toggle.active .icon-bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .icon-bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}