*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: #ffffff;
  color: #1c1c1c;
  font-family: "Geist", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #000;
}

p {
  font-family: "Geist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #6b6b6b;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 28px;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #000;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    color 0.25s ease;
}

.header--light {
  color: #fff;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: rgba(28, 28, 28, 0.08);
  box-shadow: 0 8px 30px rgba(28, 28, 28, 0.06);
}

.header__logo img {
  display: block;
  width: 45px;
  height: auto;
  transition: filter 0.25s ease;
}

.header--light .header__logo img {
  filter: none;
}

.header__contacts p {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  color: inherit;
}

.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 40px 40px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
    url("./img/Sud.jpg") center / cover no-repeat;
  z-index: -1;
  transform: scale(1.15);
  transform-origin: center;
  will-change: transform;
  animation: homeZoom 1.3s ease-out forwards;
}

.home > * {
  position: relative;
}

@keyframes homeZoom {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.home h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.1;
  color: #fff;
}

.home p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid #000;
  color: #000;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.hero-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-btn:hover,
.hero-btn:active {
  background: #000;
  color: #fff;
}

.home .hero-btn {
  border-color: #fff;
  color: #fff;
}

.home .hero-btn:hover,
.home .hero-btn:active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.section {
  padding: 50px 40px 50px;
}

.section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section h2 {
  margin: 0 0 24px;
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
}

.section p {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b6b;
}

.services {
  background: #f7f6f3;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.service-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.service-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.service-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(
    to top,
    rgba(110, 89, 68, 0.85) 0%,
    rgba(143, 120, 97, 0.4) 50%,
    rgba(184, 163, 141, 0.1) 100%
  );
  color: #fff;
}

.service-card__overlay h3 {
  margin: 0 0 8px;
  font-family: "Lora", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.service-card__overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.service-card__hint {
  order: 1;
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 0.35s ease,
    margin-top 0.35s ease,
    opacity 0.3s ease,
    transform 0.35s ease;
}

.service-card:hover .service-card__hint,
.service-card.is-revealed .service-card__hint {
  max-height: 24px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .header {
    padding: 10px 16px;
  }

  .header__contacts p {
    font-size: 14px;
  }

  .home {
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100svh;
  }

  .home h1 {
    width: 100%;
  }

  .home p {
    width: 100%;
  }

  .home h1,
  .home p {
    text-align: center;
  }

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

.header__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #cdb076;
  border: 1px solid #cdb076;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.contact-btn svg {
  width: 22px;
  height: 22px;
}

.contact-btn:hover,
.contact-btn:active {
  background: #887146;
  border-color: #887146;
  color: #fff;
}

@media (hover: hover) {
  .to-top:hover {
    background: #000;
    border-color: #000;
    color: #fff;
  }
}

.map-section {
  background: #fff;
}

.map {
  width: 100%;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1023px) {
  .map {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .map {
    height: 360px;
  }
}

.header__nav-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 32px;
  transform: translate(-50%, -50%);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  position: relative;
  font-family: "Geist", sans-serif;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  transition: color 0.25s ease;
}

.header--light .header__nav > a,
.header--light .header__nav-item--dropdown > a {
  color: #fff;
}

.header__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header__nav a:hover {
  color: #cdb076;
}

.header__nav a:hover::after,
.header__nav a.is-active::after {
  transform: scaleX(1);
}

.header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.header__nav-item--dropdown > a {
  cursor: pointer;
}

.header__nav-item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -8px;
  left: -8px;
  height: 18px;
}

.header__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid #cdb076;
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.header__nav-item--dropdown:hover .header__dropdown,
.header__nav-item--dropdown:focus-within .header__dropdown,
.header__nav-item--dropdown.is-open .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header__nav-item--dropdown.is-closed .header__dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
}

.header__dropdown a {
  display: block;
  padding: 10px 14px;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #1c1c1c;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header__dropdown a:hover {
  background: #cdb076;
  color: #fff;
}

.header__dropdown a::after {
  display: none;
}

.header__burger {
  display: none;
  width: 64px;
  height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.header__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.about {
  background: #fff;
}

.about-page {
  padding-top: 96px;
}

.about-page__details {
  max-width: 900px;
  margin: 72px auto 0;
}

.about-page__block + .about-page__block {
  margin-top: 48px;
}

.about-page__block h3 {
  margin: 0 0 18px;
  font-family: "Lora", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.25;
}

.about-page__block p,
.about-page__block li {
  font-size: 17px;
  line-height: 1.7;
  color: #6b6b6b;
}

.about-page__block ul,
.about-page__block ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.about-page__block li {
  padding-left: 4px;
}

.about-page__block strong {
  color: #1c1c1c;
  font-weight: 600;
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: stretch;
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-contact__info {
  min-width: 0;
}

.about-contact__info h2 {
  margin: 0 0 16px;
  font-family: "Lora", serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}

.about-contact__intro {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b6b;
}

.about-contact__items {
  display: grid;
  gap: 0;
  min-width: 0;
}

.about-contact__item {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #1c1c1c;
  text-decoration: none;
}

.about-contact__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-contact__item span {
  flex-shrink: 1;
  min-width: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-contact__item strong,
.about-contact__item a {
  min-width: 0;
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: #1c1c1c;
  text-align: right;
  text-decoration-color: #cdb076;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.3s ease;
}

.about-contact__item a:hover {
  color: #cdb076;
}

.about-contact__map {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.about-contact__map .map {
  flex: 1;
  min-height: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.about__media {
  position: relative;
  justify-self: center;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.about__photo {
  position: relative;
  width: min(280px, 66vw);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #f4f2ee;
}

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

.about__badge {
  position: absolute;
  right: -8px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  max-width: 150px;
  padding: 18px 22px;
  background: #000;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.about__badge strong {
  font-family: "Lora", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.about__badge span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.about__lead {
  font-family: "Lora", serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: #1c1c1c !important;
  margin-bottom: 20px !important;
}

.about__body {
  min-width: 0;
}

.about__body p {
  max-width: 620px;
}

.about__a {
  color: #cdb076;
  transition: color 0.3s ease;
}

.about__a:hover,
.about__a:active {
  color: #887146;
}

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  margin: 32px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about__stat strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: #000;
}

.about__stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #6b6b6b;
}

.about__sign img {
  width: 120px;
  height: auto;
  opacity: 0.85;
}

.about__sign strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.about__sign span {
  font-size: 14px;
  color: #6b6b6b;
}

.contacts {
  background: #f7f6f3;
}

.section__lead {
  max-width: 600px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b6b;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  color: #000;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.contact-card--dark {
  background: #000;
  border-color: #000;
  color: #fff;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  border: 1px solid currentColor;
  border-radius: 12px;
  opacity: 0.9;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 18px;
  opacity: 0.55;
}

.contact-card__label {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.contact-card--dark .contact-card__label {
  color: rgba(255, 255, 255, 0.55);
}

.contact-card__value {
  margin-top: 8px;
  font-family: "Lora", serif;
  font-size: 21px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card__hint {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #8a8a8a;
}

.contact-card--dark .contact-card__hint {
  color: rgba(255, 255, 255, 0.6);
}

.contacts__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.contacts__cta > div {
  max-width: 620px;
  min-width: 0;
}

.contacts__cta h3 {
  margin: 0 0 8px;
  font-family: "Lora", serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  color: #000;
}

.contacts__cta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #6b6b6b;
}

.contacts__cta .hero-btn {
  flex-shrink: 0;
  margin-top: 0;
}

.footer {
  padding: 30px 40px;
  background: #cdb076;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 14px;
  color: #fff;
}

.footer__inner a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.25s ease;
}

.footer__inner a:hover {
  border-color: #fff;
}

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 50%;
  color: #000;
  box-shadow: 0 8px 30px rgba(28, 28, 28, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

.to-top:hover,
.to-top:active {
  background: #cdb076;
  border-color: #cdb076;
  color: #fff;
}

@media (max-width: 1023px) {
  .header__nav {
    display: none;
  }

  .header__nav-wrap {
    display: none;
  }

  .header__contacts {
    position: static;
    margin-left: auto;
    transform: none;
    flex-shrink: 0;
  }

  .header__burger {
    display: flex;
    margin-left: 8px;
    flex-shrink: 0;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    gap: 44px;
    padding: 96px 24px 40px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .mobile-menu__nav a {
    font-family: "Lora", serif;
    font-size: 30px;
    color: #000;
    text-decoration: none;
  }

  .mobile-menu__nav a.is-active,
  .mobile-menu__dropdown-toggle.is-active {
    opacity: 0.5;
  }

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

  .mobile-menu__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: 0;
    font-family: "Lora", serif;
    font-size: 30px;
    color: #000;
    cursor: pointer;
  }

  .mobile-menu__chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .mobile-menu__dropdown-toggle[aria-expanded="true"] .mobile-menu__chevron {
    transform: rotate(180deg);
  }

  .mobile-menu__submenu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 48px));
    max-height: 0;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 0 solid #cdb076;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.35s ease,
      margin-top 0.3s ease,
      padding 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .mobile-menu__dropdown.is-open .mobile-menu__submenu {
    max-height: 420px;
    margin-top: 18px;
    padding: 8px;
    border-width: 1px;
    box-shadow: 0 18px 40px rgba(28, 28, 28, 0.14);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu__submenu a {
    display: block;
    padding: 10px 14px;
    font-family: "Geist", sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #1c1c1c;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-menu__submenu a:hover,
  .mobile-menu__submenu a:active {
    background: #cdb076;
    color: #fff;
  }

  .mobile-menu .hero-btn {
    margin-top: 0;
    border-color: #000;
    color: #000;
  }

  .mobile-menu .hero-btn:hover,
  .mobile-menu .hero-btn:active {
    background: #000;
    color: #fff;
    border-color: #000;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    margin-bottom: 64px;
  }

  .about-page {
    padding-top: 72px;
  }

  .about-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 64px;
    padding-top: 44px;
  }

  .about__media {
    margin-top: 18px;
  }

  .about__badge {
    right: 0;
    bottom: 0;
  }

  .about__body {
    max-width: 640px;
    margin: 0 auto;
  }

  .about__body p,
  .about__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .about__stats {
    justify-content: center;
    text-align: center;
  }

  .about__sign {
    justify-content: center;
    text-align: left;
  }

  .contacts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
  }

  .service-card__image {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }

  .contact-card {
    min-height: 210px;
  }

  .contacts__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }

  .section__head {
    margin-bottom: 44px;
  }

  .footer {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 110px 20px 70px;
  }

  .about-page {
    padding-top: 56px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .section h2 {
    font-size: 30px;
  }

  .about__badge {
    padding: 14px 18px;
  }

  .about__badge strong {
    font-size: 28px;
  }

  .about__stats {
    gap: 20px 36px;
  }

  .about-contact {
    gap: 28px;
    margin-top: 48px;
    padding-top: 36px;
  }

  .about-contact__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-contact__item {
    min-height: 100px;
    flex-wrap: wrap;
  }

  .about-contact__map .map {
    min-height: 360px;
  }

  .about__sign {
    flex-direction: column;
    gap: 12px;
  }

  .contacts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    min-height: 190px;
  }

  .contacts__cta {
    padding: 26px 22px;
  }

  .contacts__cta .hero-btn {
    justify-content: center;
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.service-page .section {
  padding: 96px 40px;
}

.service-page .section__head--center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-page .section__head--center {
  justify-content: center;
}

.service-hero {
  position: relative;
  display: block;
  padding: 180px 40px 100px;
  overflow: hidden;
  background: #101010;
  color: #fff;
}

.service-hero__media {
  position: absolute;
  inset: 0;
  background: url("./img/hr-up1.jpg") center / cover no-repeat;
  filter: saturate(0.85);
}

.service-hero__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9, 9, 9, 0.745) 0%,
    rgba(9, 9, 9, 0.456) 46%,
    rgba(9, 9, 9, 0.13) 100%
  );
}

.about-hero .service-hero__media {
  background-image: url("./img/Img2.jpg");
  background-position: center 75%;
}

.about-hero .breadcrumbs {
  margin-bottom: 0;
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #cdb076;
}

.breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.28);
}

.service-hero h1 {
  max-width: 920px;
  margin: 0 0 24px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-hero__lead {
  max-width: 700px;
  margin: 0 0 28px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-btn--light {
  margin-top: 0;
  background: #cdb076;
  border-color: #cdb076;
  color: #111;
}

.hero-btn--light:hover,
.hero-btn--light:active {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.service-hero__phone {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-family: "Lora", serif;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.service-hero__phone:hover {
  color: #cdb076;
  border-color: #cdb076;
}

.section p.service-lead {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.72;
  color: #5d5d5d;
}

.service-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 72px;
  align-items: start;
}

.service-intro__text {
  min-width: 0;
}

.service-intro__text h2 {
  margin-bottom: 26px;
}

.section .service-intro__text p:last-child {
  margin-bottom: 0;
}

.info-card {
  min-width: 0;
  padding: 38px 34px;
  background: #f7f6f3;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
}

.info-card h3 {
  margin: 0 0 20px;
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.info-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: #4f4f4f;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cdb076;
}

.info-card__note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 1.6;
  color: #7a7a7a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.service-stats > div {
  min-width: 0;
  padding: 28px 30px;
  background: #fff;
}

.service-stats strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: #111;
}

.service-stats span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #7a7a7a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-scope {
  background: #f7f6f3;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scope-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 30px 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.scope-card h3 {
  margin: 18px 0 12px;
  font-family: "Lora", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.32;
  color: #111;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section .scope-card p {
  max-width: none;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: #6b6b6b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.process-step {
  min-width: 0;
  padding: 34px 28px 0 0;
}

.process-step + .process-step {
  padding-left: 28px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.process-step__num {
  font-family: "Lora", serif;
  font-size: 40px;
  line-height: 1;
  color: rgba(185, 154, 95, 0.55);
}

.process-step h3 {
  margin: 22px 0 12px;
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: #111;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section .process-step p {
  max-width: none;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: #6b6b6b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-included {
  background: #f7f6f3;
}

.included-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.included-layout__head {
  min-width: 0;
}

.section .included-layout__head p.service-lead {
  max-width: 480px;
}

.included-layout__head .hero-btn {
  margin-top: 28px;
}

.included-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.included-list li {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 16.5px;
  line-height: 1.55;
  color: #3f3f3f;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.included-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 5px;
  margin-top: 7px;
  border-bottom: 2px solid #b99a5f;
  border-left: 2px solid #b99a5f;
  transform: rotate(-45deg);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: "Geist", sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: #b99a5f;
  transition: transform 0.3s ease;
}

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

.section .faq-item p {
  max-width: 760px;
  margin: 0;
  padding: 0 40px 26px 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #6b6b6b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 250px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  background: #111;
  border-color: #111;
  color: #fff;
}

.related-card__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b99a5f;
}

.related-card h3 {
  margin: 0;
  font-family: "Lora", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section .related-card p {
  max-width: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #6b6b6b;
  transition: color 0.3s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.related-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.related-card__arrow {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #8d7449;
  transition: color 0.3s ease;
}

.related-card:hover .related-card__arrow {
  color: #cdb076;
}

.service-page .service-contact {
  padding-top: 64px;
  padding-bottom: 110px;
  background: #f7f6f3;
}

.service-page .service-contact .about-contact {
  scroll-margin-top: 96px;
}

.service-page .service-contact .about-contact {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1023px) {
  .service-page .section {
    padding: 72px 20px;
  }

  .service-hero {
    min-height: 0;
    padding: 150px 20px 80px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }

  .service-intro__grid,
  .included-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .service-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 52px;
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    padding: 30px 24px 30px 0;
  }

  .process-step:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-card {
    min-height: 0;
  }

  .service-page .service-contact {
    padding-top: 56px;
    padding-bottom: 80px;
  }
}

@media (max-width: 640px) {
  .service-page .section {
    padding: 56px 20px;
  }

  .service-hero {
    padding: 128px 20px 64px;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .service-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .service-stats {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  .service-stats > div {
    padding: 22px 24px;
  }

  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-card {
    padding: 28px 24px;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step,
  .process-step:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }

  .process-step + .process-step {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .process-step h3 {
    margin-top: 16px;
  }

  .included-list li {
    font-size: 15.5px;
  }

  .faq-item summary {
    font-size: 18px;
  }

  .section .faq-item p {
    padding-right: 0;
  }

  .service-page .service-contact {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}

@media (max-width: 1023px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step,
  .process-step + .process-step {
    padding: 30px 24px 30px 0;
    border-left: 0;
    border-top: 0;
  }

  .process-step:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step,
  .process-step:nth-child(even),
  .process-step + .process-step {
    padding: 26px 0;
    border-left: 0;
    border-top: 0;
  }

  .process-step + .process-step {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .process-step h3 {
    margin-top: 16px;
  }
}

.section.about-page-contacts {
  padding-top: 88px;
  padding-bottom: 88px;
}

.about-page-contacts .about-contact {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1023px) {
  .section.about-page-contacts {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .section.about-page-contacts {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}


.section.reviews {
  background: #ffffff;
  scroll-margin-top: 96px;
}

.reviews h2 {
  color: #1c1c1c;
}

.reviews .section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title nav"
    "lead nav";
  align-items: center;
  column-gap: 24px;
  max-width: none;
}

.reviews .section__head h2 {
  grid-area: title;
}

.reviews .section__lead {
  grid-area: lead;
  color: #6b6b6b;
}

.reviews__nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews__carousel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.review {
  flex: 0 0 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 46px 64px;
  background: #f7f6f3;
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
}

.review__stars {
  margin-bottom: 20px;
  color: #b99a5f;
  font-size: 15px;
  letter-spacing: 6px;
}

.reviews .review__text {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 19px;
  line-height: 1.7;
  color: #5d5d5d;
}

.review__author {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review__author strong {
  font-family: "Lora", serif;
  font-size: 19px;
  font-weight: 500;
  color: #b99a5f;
}

.review__author span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 41px;
  padding: 0;
  border: 1px solid rgba(28, 28, 28, 0.16);
  border-radius: 6px;
  background: #ffffff;
  color: #1c1c1c;
  font-family: "Geist", sans-serif;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.reviews__arrow:hover,
.reviews__arrow:active {
  background: #cdb076;
  border-color: #cdb076;
  color: #ffffff;
}

.reviews__arrow:focus-visible {
  outline: 2px solid #b99a5f;
  outline-offset: 2px;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.reviews__dot:hover {
  background: rgba(0, 0, 0, 0.32);
}

.reviews__dot.is-active {
  background: #cdb076;
  transform: scale(1.3);
}

.reviews--service .review {
  min-height: 300px;
  padding: 40px 64px;
}

@media (max-width: 1023px) {
  .section.reviews {
    padding-right: 0;
    padding-left: 0;
  }

  .reviews .section__inner {
    max-width: none;
  }

  .reviews .section__head {
    padding-right: 20px;
    padding-left: 20px;
  }

  .review,
  .reviews--service .review {
    padding: 32px 36px;
  }
}

@media (max-width: 640px) {
  .review,
  .reviews--service .review {
    min-height: 340px;
    padding: 32px 42px 30px;
  }

  .reviews .review__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .reviews .section__head {
    grid-template-areas:
      "title nav"
      "lead lead";
    align-items: start;
    column-gap: 16px;
    row-gap: 4px;
  }

  .reviews__arrow {
    width: 40px;
    height: 36px;
    font-size: 12px;
  }

  .reviews__dots {
    margin-top: 20px;
  }
}

@media (min-width: 701px) {
  .review {
    flex: 0 0 50%;
  }
}

