body {
  background-color: #fffffd;
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.5s;
}

a:not(.btn):hover {
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
  color: #173b2d;
}

.decor-label {
  background-color: #f8f8f8;
  color: #929292;
  padding: 5px 15px;
  border-radius: 15px;
  width: fit-content;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background-color: #f8f8f8;
  border-radius: 25px;
  padding: 8px 15px;
  text-align: center;
  white-space: nowrap;
  transition: all 0.5s;
  font-weight: 600;
}

.btn--solid {
  background-color: #def5c9;
  border: 2px solid #def5c9;
}

.btn--solid:hover {
  background-color: #f8f8f8;
  border-color: #f8f8f8;
}

.btn--bordered {
  background-color: transparent;
  border: 2px solid #def5c9;
}

.btn--bordered:hover {
  background-color: #def5c9;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background-color: #173b2d;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 120px;
  left: 20px;
  right: 20px;
  background-color: #f8f8f8;
  border-radius: 20px;
  padding: 20px;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  color: #173b2d;
  font-size: 16px;
}

.burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.burger span {
  transition: all 0.3s ease;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 25px;
  width: 100%;
  max-width: 800px;
  transition: all 0.3s;
}

.site-nav__col--left,
.site-nav__col--right {
  flex: 0 0 170px;
  display: flex;
  align-items: center;
}

.site-nav__col--left {
  flex: 0 0 80px;
}

.site-nav__col--right {
  flex: 0 0 170px;
}

@media (min-width: 768px) {
  .site-nav__col--left,
  .site-nav__col--right {
    flex: 0 0 170px;
  }
}

.site-nav__col--left {
  justify-content: flex-start;
}

.site-nav__col--right {
  justify-content: flex-end;
}

.site-nav__col--center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav .logo {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #173b2d;
}

.site-nav a {
  color: #173b2d;
}

.site-nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.site-nav__btn {
  display: inline-block;
  background-color: #def5c9;
  border-radius: 25px;
  padding: 8px 15px;
  max-width: 170px;
  text-align: center;
  white-space: nowrap;
}

.site-nav.is-scrolled {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}

@media (max-width: 768px) {
  .site-nav__col--center {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu.is-open {
    display: block;
  }
}

/*** HERO ***/
.hero {
  padding: 220px 0 0px 0;
  text-align: center;
}

.hero__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__info h1 {
  line-height: 1.5;
  margin-bottom: 0;
}

.hero__info .buttons {
  margin-top: 20px;
}

.hero__info .buttons .btn {
  margin: 10px;
}

.hero--main {
  background-image: url("../images/hero-bg-light.png");
  background-repeat: no-repeat;
  background-size: cover;
}

/*** IMAGE CAROUSEL ***/
.image-carousel {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  margin-top: 50px;
}

.image-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 20px;

  scrollbar-width: none;
}

.image-carousel__track::-webkit-scrollbar {
  display: none;
}

.image-carousel__item {
  flex: 0 0 360px;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #eee;
  border: 5px solid #ffffff;
}

.image-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .image-carousel__item {
    flex: 0 0 200px;
    height: 280px;
  }
}

.section-padding {
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-top: 12px;
}

/* Місія */
.mission__content {
  margin: 0 auto 60px;
  line-height: 1.7;
  text-align: center;
}

.mission__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.value-item {
  background: #f8f8f8;
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
}

.value-item h4 {
  margin-bottom: 12px;
  color: #173b2d;
}

/* Як це працює */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.step {
  background: #f8f8f8;
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.step__number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: #def5c9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #173b2d;
}

.how-works__cta {
  text-align: center;
}

/* FAQ */
.faq__list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #f8f8f8;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 28px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "↓";
  position: absolute;
  right: 28px;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 28px 24px;
  margin: 0;
  line-height: 1.7;
}

/*** PROJECTS ***/

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.project-card {
  background: #f8f8f8;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-card__image {
  height: 220px;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

.project-card__content {
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.project-card__content h3 {
  margin: 0 0 12px;
  color: #173b2d;
}

.project-card__content p {
  margin: 0 0 20px;
  flex-grow: 1;
  line-height: 1.6;
  color: #444;
}

.btn.small {
  padding: 8px 18px;
  max-width: 160px;
  margin: 0 auto;
}

/* Адаптивність */
@media (max-width: 768px) {
  .projects-gallery {
    gap: 24px;
  }

  .project-card__image {
    height: 180px;
  }

  .project-card__content {
    padding: 20px;
  }
}

/* Footer */
.site-footer {
  background: #173b2d;
  color: #f8f8f8;
  padding: 80px 20px 40px;
}

.site-footer .btn {
  color: #ffffff;
}

.site-footer .btn:hover {
  color: #173b2d;
}

.site-footer h5 {
  color: #ffffff;
}

.footer__inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.footer__brand {
  max-width: 400px;
}

.footer__brand a {
  color: #ffffff;
}

.logo--large {
  font-size: 3.2rem;
  letter-spacing: -1px;
}

.footer__slogan {
  margin-top: 12px;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 40px;
}

.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links ul a {
  color: #ffffff;
}

.footer__copyright {
  margin-top: 50px;
}

.footer__copyright p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.2);
}

.btn--footer {
  display: block;
  margin: 12px 0;
  width: 220px;
}

@media (min-width: 768px) {
  .footer__inner--centered {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__links {
    justify-content: flex-end;
  }
}

/*** CONTACTS ***/
.contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .contact-blocks {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-block {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 2rem 2.2rem;
}

.contact-block h3 {
  margin: 0 0 1.2rem;
}

.contact-block p {
  margin: 0 0 1.6rem;
  line-height: 1.6;
  opacity: 0.95;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.contact-info li {
  margin-bottom: 0.9rem;
}

.contact-info a {
  color: #173b2d;
  text-decoration: none;
}

/*** FAQ ***/

.site-page.faq .faq {
  padding-bottom: 80px;
}

/*** ABOUT ***/
.hero--about h1 {
  margin-bottom: 16px;
}

.story__content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  color: #444;
}

.story__content p {
  margin-bottom: 1.6em;
}

.team {
  padding-top: 50px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 20px;
}

.team-card {
  background: #f8f8f8;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

.team-card__photo {
  height: 280px;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.08);
}

.team-card__info {
  padding: 24px 20px 32px;
}

.team-card__info h3 {
  margin: 0 0 8px;
}

.role {
  font-weight: 500;
  color: #666;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.team__note {
  text-align: center;
  font-style: italic;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

.cta {
  padding: 20px 0 80px 0;
}

.cta__inner {
  text-align: center;
  background: #f8f8f8;
  padding: 64px 32px;
  border-radius: 32px;
}

.cta__inner h2 {
  margin-bottom: 16px;
}

.cta__inner p {
  margin-bottom: 32px;
  color: #444;
}

.section-padding--small {
  padding: 40px 20px;
}
