/* Базовые стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #2a4d2e;
    background-color: #f8fbf8;
}

h1{
	margin-bottom: 15px !important;
	    font-weight: 600 !important;
		font-size: 24px;
}

h2{
	margin-bottom: 15px !important;
	    font-weight: 600 !important;
}

p {
    margin: 15px 0px !important;
}
a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3a6b3f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2a4d2e;
}

/* Шапка сайта */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #3a6b3f;
}

.logo span {
    color: #2a4d2e;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3a6b3f;
}

.header-phone {
    font-weight: bold;
    color: #2a4d2e;
    font-size: 18px;
}

/* Главный экран (Hero Section) */
.hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.9)), url('https://via.placeholder.com/1920x800') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    background-color: #4a824a;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #2a4d2e;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #3a6b3f;
}

/* Секция услуг */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2em;
    color: #2a4d2e;
}

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

.service-card {
    background: #f8fbf8;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #3a6b3f;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #2a4d2e;
}

/* SEO текст */
.seo-section {
    padding: 80px 0;
    background-color: #f8fbf8;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #2a4d2e;
}

.seo-text {
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.7;
}

.seo-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.seo-feature-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #3a6b3f;
    min-width: 30px;
}

.seo-list,
.seo-list ul {
  list-style: none;
  margin: 25px 0;
  padding-left: 0;
}

.seo-list li {
  position: relative;
  padding-left: 28px;
}

.seo-list li::before {
  content: "✓";
  color: #3a6b3f;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0.15em;
}

.highlight {
    background-color: rgba(58, 107, 63, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #3a6b3f;
}

.highlight strong {
    color: #2a4d2e;
}

/* Секция преимуществ */
.advantages {
    padding: 80px 0;
    background-color: #f0f7f0;
}

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

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #3a6b3f;
}

.advantage-item h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #2a4d2e;
}

/* Секция с отзывами */
.reviews {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-slider {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 0;
    scrollbar-width: thin;
}

.review-card {
    flex: 0 0 auto;
    width: 300px;
    background: #f8fbf8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.review-author {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2a4d2e;
}

.review-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

/* Секция контактов */
.contacts {
    padding: 80px 0;
    background-color: #f0f7f0;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #2a4d2e;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 10px;
}

#map {
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
}

/* Подвал сайта */
footer {
    background-color: #2a4d2e;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links h4, .footer-services h4, .footer-contacts h4 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 8px;
}

.footer-links a, .footer-services a {
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-services a:hover {
    color: #a8d5b1;
}

.footer-contacts p {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
    color: rgba(255,255,255,0.7);
}

/* Всплывающее окно о куки */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: #2a4d2e;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent p {
    margin-right: 15px;
    font-size: 0.95em;
}

.cookie-consent button {
    background: #fff;
    color: #2a4d2e;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .header-phone {
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    #map {
        height: 250px;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent button {
        margin-top: 10px;
    }
    
    .seo-feature {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .seo-feature-icon {
        margin-bottom: 10px;
    }
}

/* ===== правки под компактную шапку ===== */

/* общий отступ шапки чуть меньше */
.h-header { gap: 2px; padding: 6px 0 0; }

/* верхняя строка — логотип, меню, контакты */
.h-top { gap: 12px; }

/* логотип компактнее */
.h-logo a { font-size: 18px; font-weight: 800; }
.h-slogan { font-size: 12px; margin-top: 1px; }

/* меню — по центру, с тонкой линией под ним */
.h-nav { flex: 1 1 auto; justify-content: center; }
.h-nav ul { gap: 16px; }
.h-nav a { font-size: 14px; font-weight: 600; }
.h-nav { padding-bottom: 6px; }
.h-nav { border-bottom: 1px solid #e6eae7; } /* линия под меню */

/* контакты компактнее */
.h-contacts { gap: 8px; }
.h-phone { font-size: 16px; font-weight: 700; }

/* кнопка WhatsApp — компакт */
.h-wa { padding: 5px 9px; font-size: 13px; }
.h-wa-ico { width: 15px; height: 15px; }

/* нижняя строка с режимом работы — центр и мелкий шрифт */
.h-bottom { gap: 18px; font-size: 13px; padding: 4px 0 6px; }
.h-work-wa { font-weight: 700; }

/* hover-подсветка ссылок меню (осторожная) */
.h-menu a { padding: 4px 6px; border-radius: 8px; }
.h-menu a:hover { background: rgba(58,107,63,.08); color: #2c6d38; }
*{
    line-height: 20px;
}
/* адаптив */
@media (max-width: 900px) {
  .h-nav { border-bottom: 0; padding-bottom: 0; } /* на мобиле линию убираем */
  .h-burger {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border: 1px solid #dfe7e1; border-radius: 8px; background: #fff;
  }
  .h-burger-lines, .h-burger-lines::before, .h-burger-lines::after {
    width: 16px; height: 2px;
  }
  .h-menu.is-open { display: flex !important; flex-direction: column; gap: 6px; padding-top: 6px; }
  .h-bottom { font-size: 12.5px; }
}

.parallax{
  position: relative;
  height: 600px;     /* высота по ТЗ */
  width: 100%;
  overflow: hidden;  /* обрезаем края при сдвиге */
}
.parallax__img{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 120%;  /* запас для движения */
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform;
  display: block;
}

.service-link {
    display: inline-block;
    margin-top: 10px;
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}
.service-link:hover {
    text-decoration: underline;
}