:root {
  --site-shell-cream: #fff7eb;
  --site-shell-cream-strong: #f5ead9;
  --site-shell-gold: #d6ad3e;
  --site-shell-gold-dark: #b88d1e;
  --site-shell-brown: #5a4830;
  --site-shell-brown-deep: #3f3120;
  --site-shell-sand: #8c775e;
  --site-shell-white: #ffffff;
  --site-shell-shadow: 0 28px 80px -46px rgba(58, 41, 17, 0.65);
  --site-shell-border: rgba(90, 72, 48, 0.1);
}

#site-header-root,
#site-footer-root {
  display: block;
}

.site-shell-mount {
  position: relative;
  z-index: 120;
}

.site-shell-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  padding: 0 18px;
  z-index: 1200;
  pointer-events: none;
}

.site-shell-bar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border-radius: 26px;
  background: rgba(255, 247, 235, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--site-shell-shadow);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

body.site-shell-scrolled .site-shell-bar {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px -44px rgba(58, 41, 17, 0.75);
  background: rgba(255, 249, 240, 0.96);
}

.site-shell-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-shell-brand img {
  width: auto;
  height: 56px;
  display: block;
}

.site-shell-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-shell-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-shell-link,
.site-shell-cta,
.site-shell-footer-link,
.site-shell-footer-brand,
.site-shell-footer-legal a {
  text-decoration: none !important;
}

.site-shell-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--site-shell-brown);
  font-family: lato-bold, sans-serif;
  font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-shell-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--site-shell-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-shell-link:hover,
.site-shell-link:focus-visible,
.site-shell-link.is-active {
  color: var(--site-shell-brown-deep);
  background: rgba(214, 173, 62, 0.1);
}

.site-shell-link:hover::after,
.site-shell-link:focus-visible::after,
.site-shell-link.is-active::after {
  transform: scaleX(1);
}

.site-shell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-shell-gold) 0%, #e3bf65 100%);
  color: var(--site-shell-white);
  font-family: lato-black, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px -24px rgba(184, 141, 30, 0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-shell-cta:hover,
.site-shell-cta.is-active,
.site-shell-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px -22px rgba(184, 141, 30, 0.95);
  filter: saturate(1.05);
}

.site-shell-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(214, 173, 62, 0.14);
  color: var(--site-shell-brown);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-shell-toggle-lines,
.site-shell-toggle-lines::before,
.site-shell-toggle-lines::after {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-shell-toggle-lines {
  position: relative;
  display: block;
}

.site-shell-toggle-lines::before,
.site-shell-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-shell-toggle-lines::before {
  top: -6px;
}

.site-shell-toggle-lines::after {
  top: 6px;
}

body.site-menu-open .site-shell-toggle-lines {
  background: transparent;
}

body.site-menu-open .site-shell-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

body.site-menu-open .site-shell-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-shell-spacer {
  height: 110px;
}

.site-shell-footer {
  position: relative;
  margin-top: 72px;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 62, 0.22), transparent 30%),
    linear-gradient(180deg, #61472f 0%, #4f3823 48%, #3f2d1d 100%);
  color: rgba(255, 247, 235, 0.92);
}

.site-shell-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 35%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.site-shell-footer-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 68px 24px 28px;
}

.site-shell-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.85fr));
  gap: 28px;
}

.site-shell-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--site-shell-white);
  font-family: lato-bold, sans-serif;
  font-size: 1.2rem;
}

.site-shell-footer-brand img {
  width: auto;
  height: 68px;
  display: block;
}

.site-shell-footer-copy {
  margin: 18px 0 0;
  max-width: 34rem;
  color: rgba(255, 247, 235, 0.78);
  font-family: lato-regular, sans-serif;
  line-height: 1.8;
}

.site-shell-footer-group h3 {
  margin: 0 0 14px;
  color: var(--site-shell-white);
  font-family: lato-bold, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-shell-footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-shell-footer-link {
  color: rgba(255, 247, 235, 0.82);
  font-family: lato-regular, sans-serif;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-shell-footer-link:hover,
.site-shell-footer-link:focus-visible {
  color: var(--site-shell-white);
  transform: translateX(2px);
}

.site-shell-footer-legal {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 247, 235, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 20px;
  color: rgba(255, 247, 235, 0.68);
  font-family: lato-regular, sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-shell-footer-legal a {
  color: rgba(255, 247, 235, 0.88);
}

.site-shell-footer-legal a:hover,
.site-shell-footer-legal a:focus-visible {
  color: var(--site-shell-white);
}

@media (max-width: 1100px) {
  .site-shell-nav {
    gap: 16px;
  }

  .site-shell-links {
    gap: 4px;
  }

  .site-shell-link {
    padding: 0 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 960px) {
  .site-shell-header {
    top: 12px;
    padding: 0 14px;
  }

  .site-shell-bar {
    padding: 14px 16px;
    gap: 16px;
    border-radius: 22px;
  }

  .site-shell-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-shell-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 248, 238, 0.98);
    border: 1px solid var(--site-shell-border);
    box-shadow: var(--site-shell-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.site-menu-open .site-shell-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-shell-links {
    flex-direction: column;
    align-items: stretch;
  }

  .site-shell-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
  }

  .site-shell-link::after {
    left: 14px;
    right: auto;
    width: 28px;
    bottom: 9px;
    transform-origin: left center;
  }

  .site-shell-cta {
    width: 100%;
  }

  .site-shell-spacer {
    height: 92px;
  }

  .site-shell-footer-inner {
    padding-top: 56px;
  }

  .site-shell-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-shell-brand img {
    height: 46px;
  }

  .site-shell-footer {
    margin-top: 56px;
  }

  .site-shell-footer-inner {
    padding: 48px 18px 24px;
  }

  .site-shell-footer-copy,
  .site-shell-footer-legal {
    font-size: 0.95rem;
  }

  .site-shell-footer-legal {
    flex-direction: column;
  }
}
