/* --- CSS Reset & Base Variables --- */
:root {
  --color-primary: #6cb043;
  --color-primary-dark: #188542;
  --color-navbar-bg: #449c42;
  --color-bg-light: #eff7ea;
  --color-border-light: #b7e09f;

  --color-brand-orange: #f77504;
  --color-brand-blue: #69bceb;
  --color-brand-red: #ed7a7a;
  --color-brand-grey: #a9a9a9;
  --color-brand-grey-dark: #898989;

  --color-text-main: #000000;
  --color-text-light: #5c5c5c;
  --color-white: #ffffff;
  --color-footer-text-light: #a0ce84;

  --font-primary: "Commissioner", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --font-calibri: "Calibri", sans-serif;

  --container-width: 1420px;
  --feature-card-shadow: 0px 5px 11.1px rgba(79, 178, 91, 0.24);
}

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

body {
  font-family: var(--font-secondary);
  background-color: #ffffff;
  color: var(--color-text-main);
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.8;
}



/* --- MAIN CONTENT --- */
.main-content {
  padding: 30px 0 60px;
}

.breadcrumbs {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-title {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

/* --- GUARANTEE HERO --- */
.guarantee-hero {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}
.guarantee-text-block {
  flex: 1;
  font-family: var(--font-calibri);
  font-weight: 400;
  font-size: 16px;
  line-height: 104%;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.guarantee-image-block {
  flex: 0 0 450px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-img-wrapper {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  margin-top: -10%;
}

/* --- AUTHORIZATION SECTION --- */
.authorization-section {
  margin-bottom: 40px;
}
.authorization-section h2 {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.authorization-section p {
  font-family: var(--font-calibri);
  font-weight: 400;
  font-size: 16px;
  line-height: 104%;
  color: #000000;
  max-width: 900px;
}

/* --- FEATURES SECTION --- */
.features-section {
  background: var(--color-bg-light);
  padding: 40px 0;
  margin: 40px -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.feature-card {
  background: linear-gradient(180deg, #ffffff 38.79%, #d6ebc9 187.61%);
  box-shadow: var(--feature-card-shadow);
  border-radius: 5px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.feature-icon-box {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}
.f-icon {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
}
.feature-divider {
  width: 80%;
  height: 3px;
  background: #f0faea;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: #000000;
}

/* --- CERTIFICATES SECTION --- */
.certificates-section {
  margin-bottom: 80px;
}
.section-title-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}
.section-title-centered {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  position: relative;
  padding: 0 20px;
  background: white;
}
.section-title-centered::before,
.section-title-centered::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 500px;
  height: 1px;
  background: var(--color-primary);
}
.section-title-centered::before {
  right: 100%;
}
.section-title-centered::after {
  left: 100%;
}

.certificates-slider-wrapper {
  position: relative;
  padding: 0 50px;
}
/* .certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
} */
.cert-card {
  background: linear-gradient(0deg, #ffffff, #ffffff), url(image.png);
  border-radius: 5px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0px 9px 15.3px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
  min-height: 270px;
  justify-content: center;
}
.color-orange {
  border: 4px solid var(--color-brand-orange);
}
.color-blue {
  border: 4px solid var(--color-brand-blue);
}
.color-red {
  border: 4px solid var(--color-brand-red);
}
.color-grey {
  border: 4px solid var(--color-brand-grey);
}

.cert-logo {
  width: 100%;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
}
.cert-divider {
  width: 80%;
  height: 3px;
  background: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  margin-bottom: 20px;
}
.color-orange .cert-divider {
  border-color: var(--color-brand-orange);
  background: #f77504;
}
.color-blue .cert-divider {
  border-color: var(--color-brand-blue);
  background: #69bceb;
}
.color-red .cert-divider {
  border-color: var(--color-brand-red);
  background: #ed7a7a;
}
.color-grey .cert-divider {
  border-color: var(--color-brand-grey);
  background: #a9a9a9;
}

.cert-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: #101010;
}
.color-blue .cert-title,
.color-red .cert-title,
.color-grey .cert-title {
  color: var(--color-brand-grey-dark);
}

/* Slider Arrows & Dots */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #b7e09f;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.slider-arrow.prev {
  left: 0;
}
.slider-arrow.next {
  right: 0;
}
.arrow-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}
.slider-arrow.prev .arrow-icon {
  transform: rotate(-135deg);
  margin-left: 4px;
}
.slider-arrow.next .arrow-icon {
  transform: rotate(45deg);
  margin-right: 4px;
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #afafaf;
  cursor: pointer;
}
.dot.active {
  background: var(--color-primary);
}


/* --- FOOTER --- */
.site-footer {
  background: var(--color-primary-dark);
  padding: 40px 0 30px;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
}
.footer-logo .logo-text .brand {
  color: white;
}
.footer-logo .logo-text .sub-brand {
  color: white;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}
.footer-socials .social-icon {
  background: #a0ce84;
  color: #188542;
}

.footer-copyright {
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.03em;
  color: #a0ce84;
}

.footer-links-col h4 {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links-col ul li a {
  font-weight: 600;
  font-size: 15px;
  color: white;
}
.footer-links-col ul li a:hover {
  text-decoration: underline;
}

.client-col {
  background: #2c9043;
  padding: 20px;
  margin: -40px 0 -30px 0;
}

.footer-contacts-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-phone-item,
.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.icon-phone-green,
.icon-pin-green {
  width: 31px;
  height: 31px;
  background: #a0ce84;
  border-radius: 8px;
  position: relative;
}
.icon-phone-green::after {
  content: "📞";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}
.icon-pin-green::after {
  content: "📍";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

.phone-link {
  display: block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: #a0ce84;
  margin-bottom: 5px;
}
.footer-address-item span {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  color: #a0ce84;
}
.btn-tracking-footer {
  max-width: 220px;
  margin-top: 10px;
  background: var(--color-primary);
  color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .guarantee-hero {
    flex-direction: column-reverse;
    align-items: center;
  }
  .guarantee-image-block {
    flex: auto;
    justify-content: center;
    width: 100%;
  }
  .hero-img-wrapper {
    max-width: 100%;
    height: 250px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .client-col {
    margin: -40px 0 -30px 0;
  }
  .section-title-centered::before,
  .section-title-centered::after {
    width: 200px;
  }
}

@media (max-width: 992px) {
  .header-top {
    flex-wrap: wrap;
    justify-content: center;
  }
  .header-contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .main-nav {
    display: none;
  }
  .contacts-wrapper {
    flex-direction: column;
  }
  .contacts-info-box {
    flex: none;
    width: 100%;
  }
  .contacts-map-box {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .guarantee-text-block {
    font-size: 15px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  .certificates-slider-wrapper {
    padding: 0 30px;
  }
  .slider-arrow {
    width: 28px;
    height: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .client-col {
    margin: 0;
    padding: 20px;
  }
  .section-title-centered::before,
  .section-title-centered::after {
    width: 50px;
  }
}
