/* Canonical public shell for inner pages.
   Mirrors the solid/scrolled state of the homepage header. */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 93, 56, 0.12);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 18px 45px rgba(24, 33, 28, 0.08);
  color: #18211C;
  backdrop-filter: blur(18px);
}

.site-header .nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

.site-header .brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 104px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.site-header .brand-badge img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.site-header .brand-copy {
  display: none;
  flex-direction: column;
  line-height: 1.05;
}

.site-header .brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .brand-copy small {
  margin-top: 5px;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.7;
}

.site-header .nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.site-header .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.site-header .nav-item::after {
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 16px;
  content: "";
}

.site-header .nav-link {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-header .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  content: "";
  background: #8BB174;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active,
.site-header .nav-item:hover > .nav-link,
.site-header .nav-item:focus-within > .nav-link {
  opacity: 1;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.is-active::after,
.site-header .nav-item:hover > .nav-link::after,
.site-header .nav-item:focus-within > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .nav-trigger {
  appearance: none;
}

.site-header .nav-sub {
  display: none;
}

.site-header .dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  display: grid;
  min-width: 150px;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.15);
  color: #18211C;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.site-header .nav-item:hover .dropdown-panel,
.site-header .nav-item:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header .dropdown-panel a {
  display: grid;
  padding: 12px 14px;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
  white-space: nowrap;
}

.site-header .dropdown-panel a:hover {
  background: rgba(15, 93, 56, 0.08);
}

.site-header .dropdown-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .btn-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #0F5D38;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header .btn-header-action:hover {
  background: #8BB174;
  color: #18211C;
  transform: translateY(-1px);
}

.site-header .header-action-group {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-header .account-menu {
  position: relative;
  display: inline-flex;
}

.site-header .account-menu summary {
  display: inline-flex;
  width: 72px;
  height: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.54);
  color: #5a0b6f;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-header .account-menu summary::-webkit-details-marker {
  display: none;
}

.site-header .account-menu summary:hover,
.site-header .header-icon-button:hover {
  border-color: rgba(90, 11, 111, 0.32);
  box-shadow: 0 12px 28px rgba(24, 33, 28, 0.08);
  transform: translateY(-1px);
}

.site-header .avatar {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #5a0b6f;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.site-header .account-summary-copy {
  display: none;
}

.site-header .chevron {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.8;
  transform: rotate(45deg) translateY(-2px);
}

.site-header .account-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: grid;
  width: 250px;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.16);
  color: #18211C;
  backdrop-filter: blur(18px);
}

.site-header .account-panel a,
.site-header .account-panel button {
  display: flex;
  min-height: 40px;
  align-items: center;
  border: 0;
  border-radius: 2px;
  padding: 0 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.site-header .account-panel a:hover,
.site-header .account-panel button:hover {
  background: rgba(15, 93, 56, 0.08);
  color: #0F5D38;
}

.site-header .account-panel .sign-out {
  margin-top: 5px;
  border-top: 1px solid rgba(24, 33, 28, 0.1);
  border-radius: 0;
  padding-top: 10px;
  color: #8e4e34;
}

.site-header .header-icon-button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #5a0b6f;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-header .header-icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header .mobile-menu {
  position: relative;
  display: none;
  justify-self: end;
}

.site-header .mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 28, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.site-header .mobile-menu summary::before {
  content: none !important;
}

.site-header .mobile-menu summary::-webkit-details-marker {
  display: none;
}

.site-header .mobile-menu summary span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header .mobile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 93, 56, 0.14);
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 22px 55px rgba(24, 33, 28, 0.16);
  color: #18211C;
}

.site-header .mobile-menu-group {
  display: grid;
  gap: 4px;
}

.site-header .mobile-menu-label {
  padding: 0 12px 4px;
  color: rgba(24, 33, 28, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header .mobile-menu-panel a {
  padding: 10px 12px;
  border-radius: 2px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .mobile-menu-panel a:hover {
  background: rgba(15, 93, 56, 0.08);
}

@media (max-width: 1040px) {
  .site-header .nav-container {
    grid-template-columns: auto auto;
    width: min(100% - 32px, 1180px);
  }

  .site-header .nav-links,
  .site-header .btn-header-action,
  .site-header .header-action-group {
    display: none;
  }

  .site-header .mobile-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 0;
  }

  .site-header .nav-container {
    width: min(100% - 28px, 1180px);
  }

  .site-header .brand-badge {
    width: 168px;
    height: 78px;
  }

  .site-header .mobile-menu-panel {
    position: fixed;
    top: 86px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 108px);
    overflow: auto;
  }
}

.public-footer {
  border-radius: 40px 40px 0 0;
  background: #091e14;
  padding: 64px 0;
  color: rgba(255, 255, 255, 0.65);
}

.public-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.public-footer-info {
  display: grid;
  gap: 32px;
}

.public-footer-heading {
  margin: 0 0 12px;
  color: white;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.public-footer-copy,
.public-footer-contact,
.public-footer-address {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.public-footer-copy {
  color: rgba(255, 255, 255, 0.55);
}

.public-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.public-footer a:hover {
  color: #8BB174;
}

.public-footer-copy a,
.public-footer-contact a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-footer-copy a:hover,
.public-footer-contact a:hover {
  color: #8BB174;
}

.public-footer-address strong {
  display: block;
  margin-bottom: 6px;
  color: white;
  font-weight: 500;
}

.public-footer-qr {
  display: flex;
  width: 144px;
  height: 144px;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.public-footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 96px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
}

.public-footer-links a:hover {
  transform: translateX(4px);
}

.public-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1152px, calc(100% - 48px));
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.public-footer-bottom p {
  margin: 0;
}

.public-footer-bottom .public-footer-registration {
  color: rgba(139, 177, 116, 0.8);
}

@media (max-width: 768px) {
  .public-footer {
    padding: 64px 0;
  }

  .public-footer-grid {
    grid-template-columns: 1fr;
  }

  .public-footer-links {
    padding-top: 8px;
  }

  .public-footer-bottom {
    flex-direction: column;
  }
}
