:root {
  --st-bg: #f9f5ef;
  --st-surface: #fffdf9;
  --st-ink: #2f2520;
  --st-accent: #b44b31;
  --st-accent-strong: #8e311d;
  --st-line: #e8d7c5;
  --st-shadow: 0 18px 40px -24px rgba(47, 37, 32, 0.4);
}

body {
  background: radial-gradient(circle at 8% -16%, #f5ddc7 0%, var(--st-bg) 32%), var(--st-bg);
  color: var(--st-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header--scrolled {
  background: rgba(255, 253, 249, 0.94);
  border-color: var(--st-line);
  box-shadow: var(--st-shadow);
}

.site-header__top {
  border-bottom: 1px dashed var(--st-line);
  background: rgba(255, 249, 242, 0.72);
}

.site-header__container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.site-header__container--top {
  justify-content: space-between;
  min-height: 42px;
}

.site-header__container--main {
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}

.site-header__tagline,
.site-header__phone {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

.site-header__phone {
  color: var(--st-ink);
  font-weight: 700;
  text-decoration: none;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-header__logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e7b88c, #d98666);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-header__logo-text {
  color: var(--st-ink);
  /* font-family: Georgia, serif; */
  font-size: 16px;
  line-height: 0.95;
}

.site-header__nav {
  flex: 1;
}

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

.site-header__menu-link {
  display: inline-flex;
  text-decoration: none;
  color: var(--st-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__menu-link:hover,
.site-header__menu-link:focus-visible {
  color: var(--st-accent-strong);
  border-color: var(--st-accent-strong);
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header__messenger,
.site-header__cta {
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
}

.site-header__messenger {
  color: var(--st-ink);
  border: 1px solid var(--st-line);
  background: #fff;
}

.site-header__cta {
  color: #fff;
  background: linear-gradient(135deg, var(--st-accent), var(--st-accent-strong));
  box-shadow: 0 10px 22px -14px rgba(180, 75, 49, 0.9);
}

.site-header__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.site-header__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  margin: 5px auto;
  background: var(--st-ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 21, 18, 0.56);
}

.mobile-menu__panel {
  position: relative;
  z-index: 2;
  height: 100vh;

  background: linear-gradient(160deg, #fffdf9 0%, #f9efe4 100%);
  padding: 26px 18px 30px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mobile-menu__title {
  margin: 0;
  font-size: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.mobile-menu__close {
  border: 0;
  background: transparent;
  font-size: 38px;
  line-height: 1;
  color: var(--st-ink);
  padding: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu__link {
  text-decoration: none;
  color: var(--st-ink);
  font-size: 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  border-bottom: 1px solid var(--st-line);
  padding: 6px 0;
}

.mobile-menu__contacts {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--st-line);
  display: grid;
  gap: 8px;
}

.mobile-menu__contact {
  color: var(--st-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

body.has-mobile-menu {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .site-header__nav,
  .site-header__actions {
    display: none;
  }

  .site-header__burger {
    display: block;
  }
}

@media (max-width: 767px) {
  .site-header__top {
    display: none;
  }

  .site-header__container {
    width: min(1280px, calc(100% - 20px));
  }

  .site-header__container--main {
    min-height: 70px;
  }

  .site-header__logo-mark {
    width: 38px;
    height: 38px;
  }
}

.wp-site-blocks {
  padding-top: 124px;
}

@media (max-width: 767px) {
  .wp-site-blocks {
    padding-top: 70px;
  }
}
