:root {
  --site-primary-rgb: 85, 113, 58;
  --site-secondary-rgb: 212, 163, 115;
  --site-shadow-soft: 0 18px 45px rgba(27, 39, 19, 0.08);
}

body.site-body-lock {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.site-mobile-nav {
  overflow: hidden;
}

.site-mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: rgb(87 83 78);
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-mobile-link:hover,
.site-mobile-link[aria-current="page"] {
  color: rgb(var(--site-primary-rgb));
  background: rgba(var(--site-primary-rgb), 0.08);
  border-radius: 0.75rem;
}

.nav-link[aria-current="page"] {
  color: rgb(var(--site-primary-rgb));
}

.site-toast-stack {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: min(92vw, 22rem);
}

.site-toast {
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: #1c1917;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(120, 137, 84, 0.18);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--success {
  border-color: rgba(34, 197, 94, 0.28);
  background: #f0fdf4;
}

.site-toast--error {
  border-color: rgba(239, 68, 68, 0.28);
  background: #fef2f2;
}

.site-toast--info {
  border-color: rgba(59, 130, 246, 0.18);
  background: #eff6ff;
}

.chairman-message-shell {
  max-width: 80rem;
  margin: 2rem auto 0;
  padding: 0 1rem 3rem;
}

.chairman-message-card {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7f2 100%);
  border: 1px solid rgba(120, 137, 84, 0.14);
  border-radius: 1.75rem;
  box-shadow: var(--site-shadow-soft);
  overflow: hidden;
}

.leadership-card--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.chairman-message-photo-wrap {
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(170, 193, 138, 0.28), transparent 58%), #eef3e8;
}

.chairman-message-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chairman-message-copy {
  padding: 2.5rem 2.5rem 2.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.chairman-message-kicker {
  margin: 0;
  color: #6f8650;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.chairman-message-title {
  margin: 0;
  color: #1f2a17;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
  font-weight: 800;
}

.chairman-message-text {
  margin: 0;
  color: #44503d;
  font-size: 1.02rem;
  line-height: 1.85;
}

.chairman-message-signoff {
  margin: 0.25rem 0 0;
  color: #25311e;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-maps-shell {
  max-width: 80rem;
  margin: 1.5rem auto 0;
  padding: 0 1rem 3rem;
}

.contact-maps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-map-card {
  background: #ffffff;
  border: 1px solid rgba(120, 137, 84, 0.14);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(27, 39, 19, 0.07);
}

.contact-map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.contact-map-copy {
  padding: 1.25rem 1.25rem 1.5rem;
}

.contact-map-title {
  margin: 0 0 0.5rem;
  color: #1f2a17;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.7;
}

.contact-map-coords {
  margin: 0;
  color: #52604a;
  font-size: 0.96rem;
  line-height: 1.75;
}

.contact-map-link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: #55713a;
  font-weight: 700;
  text-decoration: none;
}

.contact-map-link:hover {
  text-decoration: underline;
}

.contact-success-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #166534;
}

.form-field-error {
  margin-top: 0.45rem;
  color: #dc2626;
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 9, 0.66);
  backdrop-filter: blur(6px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  border-radius: 1.75rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(120, 137, 84, 0.14);
  color: #1f2a17;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-modal-close:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.product-card-button {
  width: 100%;
  display: block;
  text-align: left;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  background: rgba(var(--site-primary-rgb), 0.1);
  color: rgb(var(--site-primary-rgb));
  font-size: 0.9rem;
  font-weight: 600;
}

.product-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.products-filter-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(245 245 244);
}

.products-filter-panel[hidden] {
  display: none !important;
}

.site-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  border: 3px solid rgba(var(--site-primary-rgb), 0.15);
  border-top-color: rgb(var(--site-primary-rgb));
  animation: site-spin 0.8s linear infinite;
}

@keyframes site-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .chairman-message-card,
  .leadership-card--reverse,
  .contact-maps-grid {
    grid-template-columns: 1fr;
  }

  .chairman-message-photo-wrap {
    max-height: 28rem;
  }

  .chairman-message-copy {
    padding: 0 1.5rem 2rem;
  }

  .chairman-message-shell {
    padding: 0 1rem 2.5rem;
  }

  .contact-map-frame {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .site-toast-stack {
    top: auto;
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .product-modal {
    padding: 0.75rem;
  }

  .product-modal-dialog {
    max-height: calc(100vh - 1.5rem);
    border-radius: 1.25rem;
  }
}
