* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f8f9fa;
  overflow-x: hidden;
  color: #151515;
  font-family: Arial, sans-serif;
}

/* -------------------------------------------------
   HEADER (одинаковый на всех страницах)
------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: #fff;
  position: relative;
  z-index: 100;
}
.logo-img { height: 50px; }
.social { display: flex; gap: 15px; }
.social-media-link-item-medium svg { width: 24px; height: 24px; }
.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  background: #151515;
  margin: 5px 0;
  transition: 0.3s;
}
.nav-menu { display: flex; gap: 20px; }
.nav-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.3s;
}
.nav-btn.active,
.nav-btn:hover { color: #005022; }

/* -------------------------------------------------
   ДИАГОНАЛЬНЫЙ НИЗ ХЕДЕРА
------------------------------------------------- */
.header-diagonal-bottom {
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, #fff 50%);
}
.header-spacing { height: 40px; background: #fff; }

/* -------------------------------------------------
   HERO (фоновая картинка – меняется в каждой странице)
------------------------------------------------- */
.hero-image-section {
  height: 400px;
  background: url("../img/about-main.png") center/cover no-repeat;
}

/* -------------------------------------------------
   СЕКЦИИ (общие)
------------------------------------------------- */
.about-section {
  position: relative;
  padding: 100px 20px;
  background: #f8f9f5;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  margin-top: -20px;           /* ← ВАЖНО: перекрытие с предыдущей секцией */
  z-index: 1;
}

.hero-image-section + .about-section,
.hero-image-section + .contact-section {
  margin-top: -60px;           /* чуть меньше, чтобы не задеть hero */
  padding-top: 140px;          /* компенсируем, чтобы контент не прилип к верху */
}

.about-section.last,
.contact-section.last {
  clip-path: none;
  margin-top: -10px;
  padding: 60px 20px;
  background: #d1e7dd;
  z-index: 0;
}

.about-section.last { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-section h2 {
  font-size: 46px;
  color: #647565;
  margin-bottom: 30px;
  line-height: 1.3;
}
.about-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* -------------------------------------------------
   ФОНЫ СЕКЦИЙ
------------------------------------------------- */
.section-1 { background: #f8f9fa; }

.section-3 { background: #f0f8f4; }

.section-4 {
  background: url("../img/about-back.png") center/cover no-repeat;
  color: #fff;
  text-align: left;
}
.section-4 .about-content { text-align: left; }
.section-4 h2,
.section-4 p { color: #fff; }

.section-5 {
  background: #d1e7dd;
  color: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-5 p { font-size: 16px; margin: 0; }

/* -------------------------------------------------
   СЛАЙДЕР
------------------------------------------------- */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 30px auto 40px;
  overflow: hidden;
  padding: 0 40px;
}
.slider-wrapper { overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}
.slide {
  min-width: calc(50% - 10px);
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  flex-shrink: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #005022;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 10;
  transition: background .3s;
}
.slider-btn:hover { background: #003f1a; }
.slider-btn-prev { left: 0; }
.slider-btn-next { right: 0; }

/* -------------------------------------------------
   CONTACT BLOCK (секция 4)
------------------------------------------------- */
.contact-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.contact-logo { width: 180px; flex-shrink: 0; }
.contact-text h2 { font-size: 36px; margin-bottom: 15px; }
.contact-text p { margin-bottom: 25px; }
.contact-btn {
  display: inline-block;
  background: #005022;
  color: #fff;
  padding: 12px 30px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background .3s;
}
.contact-btn:hover { background: #003f1a; }

body.contact .hero-image-section {
  position: relative;
  height: 65vh;
  background: url("../img/door.jpg") center/cover no-repeat;
  margin: -115px 2px 0;
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-family: "Garamond", "Baskerville", serif;
  font-size: 48px;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* Секции */
.contact-section {
  padding: 90px 20px;
  background: #f8f9f5;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}
.contact-section.last { clip-path: none; background: #d1e7dd; }

/* Контейнер */
.section-content { max-width: 1000px; margin: 0 auto; }

/* Форма + инфо */
.form-container {
  display: flex;
  gap: 50px;
  align-items: stretch;
}
.contact-form,
.contact-info {
  flex: 1;
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.contact-form { border: 1px solid #e8e8e8; }

/* Поля формы */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d2d2d;
  font-size: 15px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: border 0.3s ease;
  background: #fdfdfd;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a7043;
  background: white;
}
.form-group textarea { height: 140px; resize: vertical; }

/* Чекбокс */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0;
  font-size: 14px;
  color: #555;
}
.checkbox-group input { margin-top: 3px; }

/* Кнопка */
.submit-btn {
  background: #4a7043;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(74,112,67,0.3);
}
.submit-btn:hover {
  background: #3a5835;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(74,112,67,0.4);
}

/* Инфо */
.contact-info h3 {
  font-size: 24px;
  color: #2d2d2d;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.contact-info h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #4a7043;
  border-radius: 2px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
}
.info-icon {
  width: 20px;
  height: 20px;
  color: #4a7043;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item a {
  color: #4a7043;
  text-decoration: none;
  font-weight: 500;
}
.info-item a:hover { text-decoration: underline; }

/* Футер */
.footer-section p { font-size: 15px; }

/* Адаптив */
@media (max-width: 992px) {
  .form-container { flex-direction: column; gap: 35px; }
  .contact-form, .contact-info { width: 100%; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  .contact-section { padding: 70px 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .submit-btn { padding: 14px 20px; }
}

/* -------------------------------------------------
   АДАПТИВ
------------------------------------------------- */
@media (max-width: 768px) {
  .about-section { padding: 60px 20px; clip-path: polygon(0 3%,100% 0,100% 97%,0 100%) !important; }
  .about-section h2 { font-size: 36px; }
  .about-section p { font-size: 15px; }
  .slider-container { padding: 0 20px; }
  .slide { min-width: 100%; height: 200px; }
  .contact-content { flex-direction: column; text-align: center; gap: 25px; }
  .contact-logo { margin: 0 auto; }
  .contact-text h2,
  .contact-text p { text-align: center; }
}
@media (max-width: 480px) {
  .about-section h2 { font-size: 30px; }
  .about-section p { font-size: 14px; }
  .contact-text h2 { font-size: 28px; }
}
/* Header */
.header {
    position: relative;
    background: #d1e7dd;
    height: 450px;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 20;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    gap: 20px;
}
.header-diagonal-bottom {
    position: absolute;
    bottom: -40px; /* Расстояние от хедера */
    left: 0;
    width: 100%;
    height: 80px; /* Высота линии */
    background: linear-gradient(135deg, #d1e7dd 0%, #d1e7dd 50%, white 50%, white 100%);
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 0);
    z-index: 10;
    transform: skewY(-5deg); /* УГОЛ НАКЛОНА */
}

.header-spacing {
    display: none; /* Убираем старый белый промежуток */
}
.header > .logo {
    flex: 0 0 auto;
}

.header > .social {
    flex: 1;
    justify-content: center;
    margin: 0;
}

.header > .burger {
    flex: 0 0 auto;
}

.header > nav {
    flex: 0 0 auto;
}

/* Белый промежуток после header */
.header-spacing {
    height: 20px;
    background: white;
    width: 100%;
}

/* Секция с картинкой (без текста) */
.hero-image-section {
    width: calc(100% - 4px);
    height: 60vh;
    background: url("../img/door.jpg") no-repeat center center/cover;
    position: relative;
    margin: -115px 2px 0;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
}

.rating {
  display: inline-flex;
  gap: 1px;
  font-size: 24px;
  line-height: 1;
}

.star {
  color: #e0e0e0; /* пустая звезда */
}

.star.filled {
  color: #FFD700; /* золотая, как у Google */
}

/* Google Reviews иконка */
.google-review {
    display: block;
    margin: 30px auto;
    max-width: 200px;
    height: auto;
}

/* Блоки с гарантией */
.guarantee-section {
    background: white;
    padding: 40px 20px;
}
.guarantee-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    background: #f8f9fa;
    grid-template-columns: repeat(2, 1fr);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    gap: 30px;
}
.guarantee-block {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}
.guarantee-block:hover {
    transform: translateY(-5px);
}
.guarantee-icon {
    max-width: 90px;
}
.guarantee-text h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 8px;
}
.guarantee-text p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* Секция с текстом на белом фоне */
.text-section {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.text-section h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 400;
    color: #666;
}

.text-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #666;
}

.text-section .quote-btn {
    background: #4a7043;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.text-section .quote-btn:hover {
    background: #3a5835;
}

/* Остальные стили */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 70%;
    max-width: 250px;
    height: auto;
}
@media (max-width: 768px) {
    .logo-img {
        width: 60%;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 55%;
        max-width: 150px;
    }
}
.nav {
    display: flex;
    gap: 15px;
}
.nav-btn {
    background: transparent;
    color: #333;
    border: 2px solid transparent;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}
.nav-btn.active {
    border: 2px solid #4a7043;
    background: rgba(74, 112, 67, 0.1);
}
.nav-btn:not(.active):hover {
    border: 2px solid rgba(74, 112, 67, 0.3);
    background: rgba(74, 112, 67, 0.05);
}
.nav-btn.active:hover {
    border: 2px solid #3a5835;
    background: rgba(74, 112, 67, 0.15);
}
.social {
    display: flex;
    gap: 15px;
    margin: 0 auto;
}
.social-media-link-item-medium {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-media-link-item-medium:hover {
    background: rgba(0, 0, 0, 0.1);
}
.social-media-icon {
    transition: fill 0.3s ease;
}
.social-media-link-item-medium:hover .social-media-icon {
    fill: #4a7043;
}

/* Services Section */
.services-section {
    position: relative;
    margin-top: 0;
    padding: 80px 20px 50px;
    z-index: 10;
    background: #f8f9fa;
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    max-width: 282px;
    height: 216px;
    background: #d1e7dd;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a7043;
    font-weight: bold;
    font-size: 14px;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.service-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 1em;
}
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Business Hours Section */
.business-hours {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.business-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png') repeat;
    opacity: 0.05;
    z-index: 0;
}
.business-hours .section-title {
    position: relative;
    z-index: 1;
    color: #2c3e50;
}
.hours-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.hours-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.hours-info {
    text-align: center;
    margin-bottom: 20px;
}
.hours-info h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}
.hours-info p {
    color: #666;
    font-size: 1.1em;
}
.hours-list {
    list-style: none;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}
.hours-list li:hover {
    background: #f8f9fa;
    border-radius: 5px;
}
.hours-list li:last-child {
    border-bottom: none;
}
.day {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}
.day::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('img/clock.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
}
.time {
    color: #4a7043;
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f8f9fa;
}
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.benefits-list {
    list-style: none;
}
.benefits-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1em;
    color: #666;
}
.benefits-list li:last-child {
    border-bottom: none;
}
.benefits-list li::before {
    content: "★";
    color: #FFD700; /* Жёлтый цвет (золотой) */
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1em; /* немного увеличим для акцента */
    line-height: 1;
}

/* Contact Form Section */
.contact-section {
  position: relative;
  padding: 100px 20px;
  background: #f8f9f5;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  margin-top: -80px;           /* ← ВАЖНО: перекрытие с предыдущей секцией */
  z-index: 1;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    color: #333;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}
.form-group textarea {
    height: 120px;
    resize: vertical;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.checkbox-group input {
    width: auto;
    margin-top: 5px;
}
.checkbox-group label {
    font-size: 0.9em;
    font-weight: normal;
}
.submit-btn {
    background: #4a7043;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}
.submit-btn:hover {
    background: #3a5835;
}

/* Services List Section */
.services-list-section {
    background: #f8f9fa;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-column h3 {
    color: #4a7043;
    margin-bottom: 20px;
    font-size: 1.3em;
}
.service-column ul {
    list-style: none;
}
.service-column li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}
.service-column li:last-child {
    border-bottom: none;
}
.price {
    color: #4a7043;
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    background: #4a7043;
    color: white;
    padding: 60px 20px;
    text-align: center;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Стили для кнопки телефона */
.phone-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    z-index: 999;
    transition: transform 0.5s ease, opacity 0.5s ease;
    max-width: 340px;
    width: calc(100% - 40px);
    padding: 15px 20px;
    border-radius: 50px;
    background: #005022;
    color: white;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.phone-button.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.phone-button:hover {
    background: #003f1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-button {
    position: fixed;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.8rem;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s ease;
    top: 20px;
    right: 20px;
}


.whatsapp-button:hover {
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1) translateX(0);
}

.whatsapp-logo {
    width: 90%;
}

.whatsapp-button.visible {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1000;
    opacity: 1;
    transform: translateX(0) !important;
    transition: all 0.4s ease;
}

.phone-button:hover {
    background: #003f1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
    

.phone-icon {
    width: 20%;
    font-size: 1.3rem;
}

.phone-button > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.phone-number {
    font-size: 36px;
    white-space: nowrap;
}

.description-phone {
    font-size: 12px;
    white-space: nowrap;
}

.free-call {
    font-size: 23px;
    margin-top: 5px;
    font-weight: normal;
    opacity: 0.9;
    white-space: nowrap;
}
.review-whatsapp-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.whatsapp-button-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-button-inline:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.trust-title {
    font-family: "Garamond", "Baskerville", "Palatino", serif;
    font-size: 46px;
    text-align: center;
    line-height: 1.3;
    max-width: 600px;
}

.trust-subtitle {
    font-size: 28px;
    text-align: center;
    line-height: 1.4;
    max-width: 600px;
}
.phone-button-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #005022;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 340px;
    width: 100%;
}

.phone-button-inline:hover {
    background: #003f1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.phone-button-inline .phone-number {
    font-size: 28px;
    white-space: nowrap;
}
.phone-button-inline .free-call {
    font-size: 18px;
    opacity: 0.9;
}
.phone-button-inline .description-phone {
    font-size: 11px;
    opacity: 0.8;
}
.whatsapp-button-fixed {
position: fixed;
top: 20px;
right: 20px;
width: 60px;
height: 60px;
background: #25D366;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
z-index: 1000;
opacity: 0;
transform: translateX(100px);
transition: all 0.4s ease;
}

.whatsapp-button-fixed.visible {
opacity: 1;
transform: translateX(0);
}

.whatsapp-button-fixed:hover {
background: #128C7E;
transform: scale(1.1) translateX(0);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.phone-button-fixed {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%) translateY(100px);
opacity: 0;
z-index: 999;
max-width: 340px;
width: calc(100% - 40px);
background: #005022;
color: white;
padding: 15px 20px;
border-radius: 50px;
display: flex;
align-items: center;
gap: 12px;
font-weight: bold;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
text-decoration: none;
transition: all 0.5s ease;
}

.phone-button-fixed.visible {
transform: translateX(-50%) translateY(0);
opacity: 1;
}

.phone-button-fixed:hover {
background: #003f1a;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
.review-whatsapp-container {
flex-direction: column;
gap: 15px;
}

.phone-button-inline {
text-align: center;
padding: 12px 16px;
}

.phone-button-inline .phone-number { font-size: 24px; }
.phone-button-inline .free-call { font-size: 16px; }
.phone-button-inline .description-phone { font-size: 11px; }

.whatsapp-button-fixed {
width: 50px;
height: 50px;
top: 400px;
right: 15px;
}

.phone-button-fixed {
bottom: 80px;
width: calc(100% - 30px);
padding: 12px 16px;
}

.phone-button-fixed .phone-number { font-size: 24px; }
.phone-button-fixed .free-call { font-size: 16px; }
}
.review-whatsapp-container .google-review {
    max-width: 300px;
}
.review-whatsapp-container .whatsapp-button {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    width: 60px;
    height: 60px;
}
/* Trustpilot Widget */
#tp-widget-wrapper {
    display: block;
    max-width: 300px;
    text-align: center;
    font-family: Arial, sans-serif;
}

#tp-widget-wrapper .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    color: #191919;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1em;
    border: 1px solid #e0e0e0;
}

#tp-widget-wrapper .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

#tp-widget-wrapper .reviewus {
    color: #191919;
    font-weight: 600;
}

#tp-widget-wrapper .reviewus span {
    color: #00B67A;
    font-weight: 700;
}

#tp-widget-wrapper .tp-widget-logo {
    width: 100px;
    height: 25px;
}

#tp-widget-wrapper .payoff {
    font-size: 0.85em;
    color: #666;
    margin-top: 6px;
    display: block;
}
.burger {
    display: none;
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
    line-height: 1;
    color: #333;
}

.burger::before,
.burger::after,
.burger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger span { top: 50%; transform: translateY(-50%); }
.burger::before { top: 4px; }
.burger::after { bottom: 4px; }

.burger.active span { opacity: 0; }
.burger.active::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.active::after { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Новая секция материалов */
.materials-section {
    position: relative;
    background: #F8F8F7;
    padding: 80px 20px 60px;
    overflow: hidden;
    margin-top: 0;
}

/* Диагональный срез сверху (слева направо вниз) */
.materials-top-diagonal {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    transform: skewY(-3deg);
}

.materials-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background-color: #F8F8F7;
    text-align: left;
}

.materials-title {
    display: flex;
    justify-content: center;
    font-size: 33px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.materials-text {
    font-family: "Proza Libre", Arial, sans-serif;
    font-size: 16px;
    color: #151515;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.materials-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}


.brand-logo:hover {
    opacity: 1;
}
/* -------------------------------------------------
   MODAL — КРАСИВОЕ ВСПЛЫВАЮЩЕЕ ОКНО
------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #666;
}

.modal-icon {
  margin-bottom: 16px;
  animation: bounce 0.6s ease;
}

.modal-body h3 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #2d2d2d;
}

.modal-body p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Анимация иконки */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Адаптив */
@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
  }
  .modal-body h3 { font-size: 22px; }
}
/* -------------------------------------------------
   FOOTER — ВЫСОКИЙ, ЧИТАЕМЫЙ, КРАСИВЫЙ
------------------------------------------------- */
.footer {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 80px 20px 50px;
  font-family: 'Proza Libre', sans-serif;
  min-height: 280px; /* ← ВЫСОТА */
  margin-top: -30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo-img {
  height: 60px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: #aaaaaa;
  margin: 0;
  line-height: 1.5;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}
.footer-link:hover,
.footer-contact a:hover {
  color: #4a7043;
}

.footer-contact p {
  margin: 0;
  font-size: 15px;
  color: #cccccc;
}
.footer-contact strong {
  color: #ffffff;
}

.footer-right {
  text-align: right;
}
.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.footer-social .social-media-link-item-medium {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-social .social-media-link-item-medium:hover {
  background: #4a7043;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 112, 67, 0.4);
}
.footer-social .social-media-icon {
  fill: #ffffff;
}

.footer-copyright {
  font-size: 14px;
  color: #888888;
  margin: 0;
}

/* Адаптив */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    text-align: center;
  }
  .footer-right,
  .footer-social {
    grid-column: span 2;
    justify-content: center;
  }
  .footer-right { text-align: center; }
  .footer-social { justify-content: center; margin: 20px 0; }
}

@media (max-width: 576px) {
  .footer {
    padding: 70px 20px 50px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-logo,
  .footer-nav,
  .footer-contact,
  .footer-right {
    grid-column: span 1;
    text-align: center;
  }
  .footer-social { justify-content: center; }
}

@import url('https://fonts.googleapis.com/css2?family=Proza+Libre:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
@media (max-width: 768px) {
    .burger {
        display: block;
    }
    
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #d1e7dd;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        margin: 5px 0;
        font-size: 18px;
        border-radius: 12px;
    }
}
/* Мобильная адаптация */
@media (max-width: 768px) {
    #tp-widget-wrapper {
        max-width: 260px;
    }
    #tp-widget-wrapper .button {
        padding: 12px 16px;
        font-size: 1em;
        gap: 10px;
    }
    #tp-widget-wrapper .tp-widget-logo {
        width: 80px;
        height: 20px;
    }
}
/* Мобильные стили */
@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 200px;
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%) !important;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header > .logo { order: 1; }
    .header > .social { order: 3; flex-basis: 100%; justify-content: center; margin: 15px 0; }
    .header > .burger { order: 2; }
    .header > nav { order: 4; }

    .header-diagonal-bottom {
        bottom: -40px;
        height: 80px;
        transform: skewY(-6deg);
    }

    .hero-image-section {
        margin-top: 40px;
    }

    .header > .social {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        margin: 15px 0;
    }

    .header > .burger {
        order: 2;
        display: block;
    }

    .header > nav {
        order: 4;
    }
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #d1e7dd;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        margin: 5px 0;
        font-size: 18px;
        border-radius: 12px;
    }
    .social {
        order: 2;
        margin: 15px 0;
    }
    
    .hero-image-section {
        height: 40vh;
        width: calc(100% - 4px);
        margin: -45px 2px 0;
        border-radius: 15px;
    }
    
    .text-section {
        padding: 40px 20px;
    }
    
    .text-section h1 {
        font-size: 1.8em;
    }
    
    .text-section h2 {
        font-size: 1.2em;
    }
    
    .text-section p {
        font-size: 1em;
    }
    
    .services-section {
        padding: 60px 20px 40px;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }

    .service-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 282 / 216;
    }
    
    .guarantee-container {
        grid-template-columns: 1fr;
    }
    
    .guarantee-block {
        text-align: center;
    }
    
    .guarantee-icon {
        margin-bottom: 15px;
    }

    .hours-container,
    .why-content,
    .contact-container,
    .services-grid,
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hours-card {
        padding: 20px;
    }
    
    .hours-info h3 {
        font-size: 1.5em;
    }

    .why-content .expert-image div {
        height: 200px;
    }
    
    .materials-content {
        max-width: 100%;
    }
    
    .materials-content p {
        font-size: 1em;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9em;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .service-column h3 {
        font-size: 1.1em;
    }
    
    .service-column li {
        font-size: 0.9em;
    }
    
    .stats-container .stat-number {
        font-size: 2em;
    }
    
    .stats-container .stat-label {
        font-size: 1em;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .phone-button {
        bottom: 80px;
        font-size: 0.9rem;
        padding: 12px 16px;
        max-width: none;
        width: calc(100% - 30px);
    }

    .phone-number {
        font-size: 24px;
    }

    .free-call {
        font-size: 16px;
    }

    .description-phone {
        font-size: 11px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .text-section h1 {
        font-size: 1.5em;
    }
    
    .text-section h2 {
        font-size: 1em;
    }
    
    .service-image {
        max-width: 100%;
    }
    
    .hours-info h3 {
        font-size: 1.3em;
    }
    
    .nav-btn {
        padding: 10px;
        font-size: 16px;
    }
    
    .stats-container .stat-number {
        font-size: 1.5em;
    }
    
    .hero-image-section {
        border-radius: 12px;
    }
    .phone-number {
    font-size: 20px;
}

.free-call {
    font-size: 14px;
}

.phone-button {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 14px;
}

.phone-icon {
    width: 20%;
}

@media (max-width: 768px) {
    .review-whatsapp-container {
        gap: 15px;
        flex-direction: column;
    }

    .review-whatsapp-container .whatsapp-button {
        order: -1;
    }

    .phone-button {
        bottom: 80px; /* Выше WhatsApp на мобильных */
        font-size: 0.9rem;
    }

    .phone-number {
        font-size: 28px;
    }

    .free-call {
        font-size: 18px;
    }

    .whatsapp-button.visible {
        top: 20px;
        right: 20px;
    }
    }
}
@media (min-width: 769px) {
  .review-whatsapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
  }

  /* Строка 1: Google + гарантии */
  .top-row {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    justify-content: center;
  }

  .google-review {
    width: 250px;
    height: auto;
    flex-shrink: 0;
  }

  .guarantee-block {
    flex: 1;
    max-width: 360px;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
  }

  .guarantee-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
  }

  .guarantee-icon {
    width: 65px;
    height: 65px;
    margin-right: 18px;
    flex-shrink: 0;
  }

  .guarantee-text h3 {
    font-size: 1.2em;
    margin: 0 0 6px 0;
    color: #2c3e50;
    font-weight: 600;
  }

  .guarantee-text p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    line-height: 1.45;
  }

  /* Строка 2: Текст + WhatsApp справа */
  .text-whatsapp-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
  }

  .text-whatsapp-row .trust-subtitle {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
    max-width: 700px;
    text-align: center;
  }

  .text-whatsapp-row .whatsapp-button-inline {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  /* Кнопка телефона */
  .phone-button-inline.full-width {
    margin: 20px auto 0;
    max-width: 440px;
    padding: 18px 30px;
  }

  .phone-button-inline.full-width .phone-number { font-size: 34px; }
  .phone-button-inline.full-width .free-call { font-size: 22px; }
}

/* Скрываем старую секцию гарантий */
@media (min-width: 769px) {
  .guarantee-section { display: none; }
}

/* === Google Reviews Block === */
.google-reviews-section {
  background: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

/* Статистика */

.main-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-stats {
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.google-logo {
  width: 50px;
  height: auto;
}

.stats-text h3 {
  font-size: 1.5em;
  color: #333;
  margin: 0;
}

.review-count {
  font-size: 0.9em;
  color: #666;
  margin-left: 5px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-left: 10px;
}

.rating-number {
  font-size: 2em;
  font-weight: bold;
  color: #333;
}

.stars svg {
  width: 24px;
  height: 24px;
}

/* Карточки отзывов */
.reviews-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info strong {
  display: block;
  font-size: 1em;
  color: #333;
}

.user-info span {
  font-size: 0.85em;
  color: #666;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 0.85em;
  color: #666;
}

.review-rating svg {
  width: 16px;
  height: 16px;
}

.review-date {
  margin-left: 5px;
}

.review-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* Ссылка "View all" */
.view-all-link {
  text-align: right;
  margin-top: 20px;
}

.view-all-link a {
  color: #005022;
  text-decoration: underline;
  font-weight: 500;
  font-size: 0.9em;
}

.view-all-link a:hover {
  color: #003f1a;
  text-decoration: none;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .reviews-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-cards {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 15px;
  }

  .rating-number {
    font-size: 1.5em;
  }

  .stars svg {
    width: 20px;
    height: 20px;
  }

  .view-all-link {
    text-align: center;
  }
}


@media (max-width: 768px) {
  .google-reviews-section {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .google-review {
    display: none !important;
  }
}