:root {
  --White: #ffffff;
  --Black: #000000;
  --Vrskott: #DBDAAA;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 72px;
  overflow-x: hidden;
}

/* Full-width ACF block backgrounds */
[class*="wp-block-acf-"] {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  overflow-x: clip;
}

[class*="wp-block-acf-"] > * {
  width: 100%;
  box-sizing: border-box;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  background: #EDEBE2;
  box-sizing: border-box;
}

.header__container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .header__container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1280px) {
  .header__container {
    padding-left: 80px;
    padding-right: 80px;
    gap: 48px;
  }

  .header__menu {
    gap: 32px;
  }
}
/* Logo */
.header__container .custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  grid-column: 1;
  justify-self: start;
}

.header__container .custom-logo {
  max-height: 48px;
  width: auto;
}

/* Navigation */
.header__nav {
  display: flex;
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  min-width: 0;
}

.header__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.header__menu li,
.header__menu .menu-item {
  margin: 0;
}

.header__menu a {
  color: #253010;
  text-decoration: none;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.14px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

@media (min-width: 1441px) {
  .header__menu {
    gap: 40px;
  }

  .header__menu a {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
  }
}

.header__menu a:hover {
  opacity: 0.7;
}

.header__menu .current-menu-item > a,
.header__menu .current-menu-ancestor > a {
  font-weight: 500;
}

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

.header__menu-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Header actions */
.header__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}

.header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.14px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.header__button:hover {
  opacity: 0.85;
}

.header__button--primary {
  order: 2;
  background: #253010;
  color: #EDEBE2;
  font-size: 14px;
  padding: 8px 16px;
}

.header__button--secondary {
  order: 1;
  background: transparent;
  color: rgba(28, 41, 16, 0.60);
  border: 1px solid rgba(116, 134, 57, 0.20);
  padding: 8px 14px;
  font-size: 12px;
  padding: 4px 8px;
}

.header__lang-nav {
  order: 1;
}

.header__lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid rgba(116, 134, 57, 0.20);
  border-radius: 4px;
  background: transparent;
  color: rgba(28, 41, 16, 0.60);
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.14px;
  text-decoration: none;
  text-transform: uppercase;
  box-sizing: border-box;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.header__lang-switch:hover {
  opacity: 0.85;
}

.header__lang-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__lang-menu li,
.header__lang-menu .menu-item {
  margin: 0;
}

.header__lang-menu img,
.header__mobile-lang-menu img {
  display: none;
}

.header__button-icon {
  display: none;
}

/* Mobile menu toggle */
.header__mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}

.header__mobile-menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #18210F;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header--menu-open .header__mobile-menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header--menu-open .header__mobile-menu-line:nth-child(2) {
  opacity: 0;
}

.header--menu-open .header__mobile-menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.header__mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: #F8F6EE;
  overflow-y: auto;
  z-index: 1001;
}

.header--menu-open .header__mobile-menu {
  display: block;
}

.header__mobile-menu-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 80px 48px;
  box-sizing: border-box;
}

.header__mobile-menu-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__mobile-menu-list li,
.header__mobile-menu-list .menu-item {
  margin: 0;
  border-bottom: 1px solid rgba(24, 33, 15, 0.1);
}

.header__mobile-menu-list a {
  display: block;
  padding: 16px 0;
  color: #18210F;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.header__mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header__mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.header__mobile-button--primary {
  background: #283618;
  color: #FFFFFF;
}

.header__mobile-button--secondary {
  background: transparent;
  color: rgba(28, 41, 16, 0.60);
  border: 1px solid rgba(116, 134, 57, 0.20);
  font-size: 14px;
  padding: 10px 16px;
}

.header__mobile-lang-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__mobile-lang-menu li,
.header__mobile-lang-menu .menu-item {
  margin: 0;
}

.header__lang-switch--mobile {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.header__mobile-button-icon {
  display: none;
}

@media (max-width: 1100px) {
  .header__menu {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 64px;
  }

  .header__container {
    padding: 12px 24px;
    min-height: 64px;
    gap: 16px;
    display: flex;
    justify-content: space-between;
  }

  .header__container .custom-logo-link {
    grid-column: auto;
  }

  .header__nav,
  .header__buttons {
    display: none;
  }

  .header__mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    grid-column: auto;
  }

  .header__mobile-menu {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .header__mobile-menu-container {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .header__container {
    padding: 12px 20px;
  }

  .header__container .custom-logo {
    max-height: 40px;
  }
}

/* Footer */
.footer {
  min-height: 373px;
  background: var(--Mossbdd, #18210F);
  color: rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
}

.footer__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 373px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.footer__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 64px 0 40px;
  box-sizing: border-box;
}

.footer__brand,
.footer__column {
  min-width: 0;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 280px;
  padding-right: 40px;
}

.footer__logo-link,
.footer__logo .custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.footer__logo-image,
.footer__logo .custom-logo {
  max-height: 48px;
  width: auto;
}

.footer__logo .custom-logo-link img {
  filter: brightness(0) invert(1);
}

.footer__description {
  margin: 0;
  color: rgba(237, 235, 226, 0.60);
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0.28px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B7B656;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__social:hover {
  opacity: 0.75;
}

.footer__social-icon {
  display: flex;
  flex-shrink: 0;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__heading {
  margin: 0;
  color: #B7B656;
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 90%;
  letter-spacing: -0.2px;
}

.footer__menu,
.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__menu li,
.footer__menu .menu-item,
.footer__contact-item {
  margin: 0;
}

.footer__menu a,
.footer__contact-item a,
.footer__menu .menu-item span,
.footer__contact-item span {
  color: rgba(255, 255, 255, 0.60);
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__menu a:hover,
.footer__contact-item a:hover {
  opacity: 0.75;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--Vrskott);
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.footer__copyright,
.footer__bottom-brand {
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-family: Satoshi, "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.12px;
}

.footer__bottom-brand a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom-brand a:hover {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1439px) {
  .footer__container {
    width: 92%;
    max-width: 1280px;
  }
}

@media (max-width: 1280px) {
  .footer__grid {
    gap: 32px 24px;
    padding: 56px 0 36px;
  }

  .footer__brand {
    padding-right: 24px;
  }
}

@media (max-width: 1015px) {
  .footer__container {
    width: 100%;
    padding: 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 48px 0 32px;
  }

  .footer__brand {
    max-width: none;
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer,
  .footer__container {
    min-height: auto;
  }

  .footer__container {
    padding: 0 32px;
  }

  .footer__grid {
    padding: 48px 0 28px;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer__container {
    padding: 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 32px;
  }
}
