:root {
  --primary-green: #6cb043;
  --dark-green: #188542;
  --light-green: #b7e09f;
  --bg-light: #f3f9ef;
  --bg-secondary: #eff7ea;
  --white: #ffffff;
  --text-black: #000000;
  --text-gray: #565656;
  --text-gray-light: #9c9c9c;
  --font-inter: "Inter", sans-serif;
  --font-commissioner: "Commissioner", sans-serif;
  --font-calibri: "Calibri", sans-serif;
}

body {
  font-family: var(--font-inter);
  color: var(--text-black);
  background-color: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 25px 0 10px;
}
.breadcrumbs span {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-green);
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 10px 0 20px;
}
.page-header h1 {
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.page-header p {
  font-family: var(--font-calibri);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-gray);
  max-width: 1084px;
  line-height: 1.5;
}

/* ========== SEARCH BAR ========== */
.search-section {
  background: #d4e8c7;
  border-radius: 5px;
  padding: 8px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.search-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
  min-width: 280px;
}
.search-wrapper input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-commissioner);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-black);
  outline: none;
}
.search-wrapper input::placeholder {
  color: #000;
}
.search-wrapper button {
  background: var(--primary-green);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.3s;
  white-space: nowrap;
}
.search-wrapper button:hover {
  background: #5a9437;
}
.search-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.search-logo img {
  height: 45px;
  object-fit: contain;
}

/* ========== CATALOG GRID ========== */
.catalog-section {
  padding: 0 0 30px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 10px 0;
}
.catalog-item:hover {
  transform: translateY(-5px);
}
.catalog-item .circle-wrap {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #d4e8c7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 15px;
  transition:
    box-shadow 0.3s,
    background 0.3s;
  position: relative;
}
.catalog-item .circle-wrap img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
}
.catalog-item.active .circle-wrap {
  background: var(--primary-green);
  box-shadow: 0 8px 9px rgba(0, 0, 0, 0.25);
}
.catalog-item.active .circle-wrap img {
  background: var(--white);
}
.catalog-item .model-name {
  font-weight: 600;
  font-size: 18px;
  color: #777777;
  line-height: 1.2;
  max-width: 160px;
}
.catalog-item.active .model-name {
  font-weight: 700;
  color: var(--text-black);
}

/* ========== BANNER REPAIR ========== */
.banner-repair {
  padding: 40px 0;
}
.banner-wrapper {
  display: flex;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(268.14deg, #6cb043 20.62%, #188542 134.98%);
  min-height: 380px;
}
.banner-left {
  flex: 1.5;
  padding: 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.banner-left h3 {
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 15px;
  max-width: 578px;
  line-height: 1.1;
}
.banner-left p {
  font-family: var(--font-calibri);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 25px;
  color: var(--white);
  max-width: 634px;
  line-height: 1.6;
}
.btn-banner {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-banner:hover {
  background: var(--white);
  color: var(--dark-green);
}
.banner-right {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(20.8px);
  -webkit-backdrop-filter: blur(20.8px);
}
.banner-right-content {
  color: var(--white);
  max-width: 450px;
}
.banner-right-content .cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.banner-right-content .cert-icon svg {
  width: 60px;
  height: 60px;
  fill: var(--white);
}
.banner-right-content p {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}
.banner-right-content ul li {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* ========== REASONS ========== */
.reasons-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}
.reasons-section h2 {
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.reason-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 38.79%, #d6ebc9 187.61%);
  box-shadow: 0px 4px 12.7px #e2f0da;
  border-radius: 8px;
  padding: 30px 15px 20px;
  text-align: center;
  transition: transform 0.3s;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reason-card:hover {
  transform: translateY(-5px);
}
.reason-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(333.9deg, #6cb043 29.36%, #188542 142.01%);
  border: 1px solid #95c479;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.reason-icon {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason-icon svg {
  width: 50px;
  height: 50px;
}
.reason-card h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-green);
  line-height: 1.2;
}
.reason-card.black h4 {
  color: var(--text-black);
}

/* ========== PAYMENT ========== */
.payment-section {
  padding: 40px 0;
}
.payment-section .title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.payment-section .title-wrap h2 {
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
}
.payment-section .title-wrap::before,
.payment-section .title-wrap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--primary-green);
  max-width: 300px;
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}
.payment-logos img {
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.payment-logos img:hover {
  opacity: 1;
}

/* ========== CONSULTATION FORM ========== */
.consultation-section {
  padding: 40px 0;
}
.consultation-wrapper {
  background: linear-gradient(268.14deg, #6cb043 20.62%, #188542 134.98%);
  border-radius: 5px;
  padding: 40px;
  color: var(--white);
}
.consultation-wrapper h3 {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 5px;
}
.consultation-wrapper p {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 25px;
  color: var(--white);
}
.consultation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.consultation-form input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--white);
  border-radius: 5px;
  padding: 12px 15px;
  font-family: var(--font-commissioner);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  width: 100%;
  outline: none;
}
.consultation-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.consultation-form input:focus {
  background: rgba(255, 255, 255, 0.25);
}
.consultation-form .full-width {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.consultation-form .consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 10px;
  color: var(--white);
  cursor: pointer;
}
.consultation-form .consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}
.btn-consultation {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-consultation:hover {
  background: var(--white);
  color: var(--dark-green);
}

/* ========== GALLERY ========== */
.gallery-section {
  padding: 40px 0;
}
.gallery-section h2 {
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.4 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #afafaf;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--primary-green);
}
.dot:hover {
  background: var(--light-green);
}

/* ========== CONTACTS ========== */
.contacts-section {
  padding: 40px 0;
  background: var(--bg-light);
}
.contacts-section h2 {
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contacts-wrapper {
  display: flex;
  gap: 30px;
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.contacts-info {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-item .icon {
  width: 30px;
  height: 30px;
  background: var(--primary-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-item .icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.contact-item .text {
  font-family: var(--font-commissioner);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-green);
}
.contact-item .text span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-black);
}
.contacts-map {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
  background: #ddd;
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .banner-wrapper {
    flex-direction: column;
  }
  .banner-right {
    padding: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-wrapper {
    flex-direction: column;
  }
  .contacts-info {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .consultation-form {
    grid-template-columns: 1fr;
  }
  .consultation-form .full-width {
    grid-column: 1;
  }
  .search-wrapper {
    flex-wrap: wrap;
  }
  .search-wrapper input {
    width: 100%;
  }
  .search-wrapper button {
    width: 100%;
    border-radius: 0 0 5px 5px;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .catalog-item .circle-wrap {
    width: 120px;
    height: 120px;
  }
  .catalog-item .circle-wrap img {
    width: 100px;
    height: 100px;
  }
  .catalog-item .model-name {
    font-size: 14px;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .payment-logos img {
    height: 30px;
  }
  .btn-consultation {
    width: 100%;
    text-align: center;
  }
}
