:root {
  --color-primary: #228B22;
  --color-secondary: #32CD32;
  --color-text: #333;
  --color-bg: #fff;
  --color-bg-light: #f5f5f5;
  --color-footer-bg: #2d2d2d;
  --color-footer-text: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus {
  outline: 2px dashed var(--color-primary);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-footer-text);
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}
.info-block {
  background-color: var(--color-primary);
  color: #000000;
  text-align: center;
  padding: 0,5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Sub-navigation */
.subnav {
  text-align: center;
  background: transparent;
}

.subnav__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.subnav__btn {
  background: var(--color-primary);
  color: var(--color-footer-text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.subnav__btn:hover,
.subnav__btn:focus {
  background: var(--color-secondary);
}

/* Mobile: grid 2×N */
@media (max-width: 768px) {
  .subnav__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}

/* Hero section */
.hero {
  min-height: 400px;
  background: url('banner1.webp') center/cover no-repeat;
  text-align: center;
  padding: 6rem 1rem;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero__subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.btn {
  background: var(--color-primary);
  color: var(--color-footer-text);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover,
.btn:focus {
  background: var(--color-secondary);
}

/* About section */
.about__logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

:root {
  --color-secondary: #f6f3fe; /* Замени на свой фирменный цвет! */
}

.contact-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #32CD32;
  color: #222;
  padding: 40px 0 35px 0;

  text-align: center;

  font-size: 1.18rem;
}

.contact-fullwidth h2 {
  color: #080111;
  margin-bottom: 16px;
  font-size: 2rem;
  letter-spacing: 1px;
}



.contact-fullwidth a {
  color: #0b0117;
  text-decoration: none;
  transition: color 0.18s;
}
.contact-fullwidth a:hover {
  color: #0521f5;

}

@media (max-width: 600px) {
  .contact-fullwidth address {
    padding: 16px 10px;
    font-size: 1rem;
  }
  .contact-fullwidth h2 {
    font-size: 1.22rem;
  }
}

.contact-fullwidth address {
  font-style: normal;
  font-weight: bold;
  margin: 0 auto;
  display: inline-block;
  text-align: left;

}




p {
  text-indent: 2em;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
}

/* Services section */
.services ul {
  list-style: disc inside;
  max-width: 600px;
  margin: 0 auto;
}

.services li {
  margin-bottom: 0.5rem;
}

.services {

  max-width: 800px;
  margin: 0 auto;
}


/* Reviews section */
.reviews__items {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.reviews__items figure {
  text-align: center;
}

.reviews__items img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews__items2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.reviews__items2 img {
  width: 20%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews__items figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
  padding: 1rem 0;
}

/* Responsive font adjustments */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
  }
  .hero__title {
    font-size: 2rem;
  }
  .subnav__list {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}

/* Добавляем строку rhcye. в конец нужных блоков */
.about::after,
.contact::after,
.services::after,
.reviews::after {

  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--color-text);
}
