@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap");

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}

a:hover,
a:active {
  color: inherit;
}

img {
  border-style: none;
  display: block;
  height: auto;
  max-width: 100%;
}

button {
  font: inherit;
}

[hidden],
template {
  display: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  color: var(--nav-text);
  height: var(--nav-h, var(--nav-h-top, 60px));
  display: flex;
  align-items: center;
  background: rgba(47, 79, 62, var(--nav-alpha, 1));
  box-shadow: var(--nav-shadow);
  transition: height 0.22s ease, box-shadow 0.22s ease;
  will-change: height;
}

.nav.is-top {
  box-shadow: none;
}

.nav.scrolled {
  height: var(--nav-h-scrolled, var(--nav-h, 60px));
  box-shadow: var(--nav-shadow);
}

.nav.menu-open {
  box-shadow: var(--nav-shadow);
}

.nav__inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-text);
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 44px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-text);
  font-family: "Barlow Semi Condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}

.lang-switch--desktop {
  margin-left: 24px;
  flex: 0 0 auto;
  transform: translateY(1px);
}

.lang-switch--mobile {
  display: none;
}

.lang-switch__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
}

.lang-switch__link.is-active {
  color: var(--accent);
}

.lang-switch__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.lang-switch__link.is-disabled {
  opacity: 0.92;
}

.lang-switch__separator {
  opacity: 0.9;
  font-size: 0.9rem;
  line-height: 1;
}

.links a {
  position: relative;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  opacity: 0.95;
  transition: opacity 0.15s ease;
  outline: none;
}

.links a:hover {
  opacity: 1;
}

.links a:focus-visible {
  outline: 2px solid rgba(248, 244, 236, 0.72);
  outline-offset: 4px;
  border-radius: 8px;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--underline-gap));
  height: var(--underline-h);
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

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

.menuBtn {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menuBtn:focus-visible {
  outline: 2px solid rgba(248, 244, 236, 0.72);
  outline-offset: 2px;
}

.menuBtn__bars {
  position: relative;
  width: 22px;
  height: 16px;
  margin: 0 auto;
}

.menuBtn__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.menuBtn__bars span:nth-child(1) {
  top: 0;
}

.menuBtn__bars span:nth-child(2) {
  top: 7px;
}

.menuBtn__bars span:nth-child(3) {
  top: 14px;
}

.menuBtn[aria-expanded="true"] .menuBtn__bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.menuBtn[aria-expanded="true"] .menuBtn__bars span:nth-child(2) {
  opacity: 0;
}

.menuBtn[aria-expanded="true"] .menuBtn__bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.mobileMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  padding: 10px 0 14px;
}

.mobileMenu a {
  display: block;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.mobileMenu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--footer-bg);
  color: var(--footer-text, #4f4a43);
  padding: 52px 0 46px;
  border-top: 1px solid var(--footer-line, rgba(31, 58, 44, 0.08));
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand {
  display: inline-block;
  color: var(--text-heading);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-address {
  color: #5f574e;
  font-size: 0.96rem;
  line-height: 1.75;
}

.footer-address p {
  margin: 0;
}

.footer-col--about,
.footer-col--contact {
  padding-left: 28px;
  border-left: 1px solid rgba(31, 58, 44, 0.1);
}

.footer-title {
  margin: 0;
  color: var(--text-heading);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.footer-text {
  margin: 0;
  color: #5f574e;
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 28ch;
}

.footer-contact {
  color: #5f574e;
  font-size: 0.96rem;
  line-height: 1.75;
}

.footer-contact p {
  margin: 0 0 8px 0;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact strong {
  font-weight: 600;
  color: #474139;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.footer-contact a:hover {
  opacity: 0.72;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.footer-social a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  background: #2d4c3a;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social .svg-instagram,
.footer-social .svg-facebook {
  fill: #fff;
}

.footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li {
  margin: 0 0 10px 0;
  color: #5f574e;
  font-size: 0.96rem;
  line-height: 1.55;
}

.footer-services li:last-child {
  margin-bottom: 0;
}

.footer-services a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.footer-services a:hover {
  opacity: 0.72;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .footer-col--about {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .footer-col--contact {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .links {
    display: none;
  }

  .lang-switch--desktop {
    display: none;
  }

  .menuBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobileMenu {
    display: block;
  }

  .mobileMenu[data-open="false"] {
    display: none;
  }

  .lang-switch--mobile {
    display: inline-flex;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 6px auto 0;
    padding: 14px 16px 4px;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 42px 0 38px;
  }

  .footer-inner {
    width: min(var(--max-width), calc(100% - 32px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    font-size: 1.02rem;
  }

  .footer-title {
    font-size: 1.02rem;
  }

  .footer-address,
  .footer-contact,
  .footer-text {
    font-size: 0.95rem;
  }

  .footer-col--about,
  .footer-col--contact {
    padding-left: 0;
    border-left: 0;
  }
}
