/* Legal & Policies Premium CSS */
.legal-wrapper,
.about-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.legal-hero {
  background: linear-gradient(135deg, var(--premium-green, #164d3b) 0%, var(--premium-green-dark, #0d3428) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 2.4rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(22, 77, 59, 0.12);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: .8rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.legal-meta .badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem .8rem;
  border-radius: 99px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.legal-layout > * {
  min-width: 0;
}

.legal-nav {
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 18px;
  padding: 1.25rem;
  position: sticky;
  top: 110px;
}

.legal-nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--premium-green, #164d3b);
  cursor: pointer;
}

.legal-nav-toggle .legal-nav-chevron {
  transition: transform .25s ease;
}

.legal-nav-toggle[aria-expanded="true"] .legal-nav-chevron {
  transform: rotate(180deg);
}

.legal-nav h6 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--premium-green, #164d3b);
  margin-bottom: 1rem;
}

.legal-nav a {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--premium-ink, #18221d);
  padding: .5rem .75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s ease;
  margin-bottom: .25rem;
}

.legal-nav a:hover {
  background: rgba(22, 77, 59, 0.08);
  color: var(--premium-green, #164d3b);
  transform: translateX(3px);
}

.legal-content {
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(24, 34, 29, 0.03);
}

.legal-section {
  margin-bottom: 1.0rem;
  border-bottom: 1px dashed var(--premium-line, #d2d8cf);
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.legal-section h3,
.legal-section h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--premium-ink, #18221d);
  margin-bottom: .8rem;
}

.legal-section p,
.legal-section div {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--premium-muted, #5e6b63);
}

/* Policies hub page */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.policy-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 18px;
  padding: 1.6rem;
  text-decoration: none;
  color: var(--premium-ink, #18221d);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.policy-card:hover {
  transform: translateY(-4px);
  border-color: var(--premium-green, #164d3b);
  box-shadow: 0 12px 28px rgba(22, 77, 59, 0.12);
  color: var(--premium-ink, #18221d);
}

.policy-card > i {
  font-size: 1.8rem;
  color: var(--premium-green, #164d3b);
}

.policy-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.policy-card p {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--premium-muted, #5e6b63);
  margin: 0;
  flex: 1;
}

.policy-card-link {
  margin-top: .5rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--premium-green, #164d3b);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* About Us Section Styles */
.about-hero {
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(24, 34, 29, 0.03);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: center;
}

.about-kicker {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--premium-green, #164d3b);
  margin-bottom: .6rem;
}

.about-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--premium-ink, #18221d);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--premium-muted, #5e6b63);
  margin-bottom: 1.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  background: #f7f9f5;
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--premium-green, #164d3b);
}

.about-hero-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 280px;
}

.about-card {
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 20px;
  padding: 1.8rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(24, 34, 29, 0.03);
}

.about-card i {
  font-size: 2rem;
  color: var(--premium-green, #164d3b);
  margin-bottom: 1rem;
  display: block;
}

.about-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--premium-ink, #18221d);
  margin-bottom: .6rem;
}

.about-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--premium-muted, #5e6b63);
  margin: 0;
}

.story-panel {
  background: var(--premium-surface, #fff);
  border: 1px solid var(--premium-line, #d2d8cf);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(24, 34, 29, 0.03);
}

.story-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--premium-ink, #18221d);
  margin-bottom: 1rem;
}

.story-panel p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--premium-muted, #5e6b63);
}

@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
    padding: .9rem 1rem;
  }
  .legal-nav-toggle {
    display: flex;
  }
  .legal-nav-links {
    display: none;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px dashed var(--premium-line, #d2d8cf);
  }
  .legal-nav.nav-open .legal-nav-links {
    display: block;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Premium Styles */
.contact-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
}

.contact-hero {
  background: linear-gradient(135deg, var(--premium-green, #164d3b) 0%, var(--premium-green-dark, #0d3428) 100%) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 2.2rem 2.4rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 10px 30px rgba(22, 77, 59, 0.15) !important;
}

.contact-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 800 !important;
  margin-bottom: .8rem !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

.contact-hero p {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 !important;
}

.contact-card {
  background: var(--premium-surface, #ffffff) !important;
  border: 1px solid var(--premium-line, #d2d8cf) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  height: 100% !important;
  box-shadow: 0 4px 20px rgba(24, 34, 29, 0.04) !important;
}

.contact-card h2 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--premium-ink, #18221d) !important;
  margin-bottom: 1.4rem !important;
}

.contact-info-item {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
  padding: 0.95rem 0 !important;
  border-bottom: 1px dashed var(--premium-line, #d2d8cf) !important;
}

.contact-info-item:last-child {
  border-bottom: none !important;
}

.contact-info-item i {
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  border-radius: 12px !important;
  color: var(--premium-green, #164d3b) !important;
  background: #edf3df !important;
  border: 1px solid #d2d8cf !important;
  font-size: 1.2rem !important;
  flex-shrink: 0 !important;
}

.contact-info-item span {
  display: block !important;
  color: var(--premium-muted, #5e6b63) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  margin-bottom: .2rem !important;
}

.contact-info-item a {
  color: var(--premium-ink, #18221d) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: .98rem !important;
  transition: color .2s ease !important;
}

.contact-info-item a:hover {
  color: var(--premium-green, #164d3b) !important;
}

.contact-form .form-label {
  display: block !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  color: var(--premium-muted, #5e6b63) !important;
  margin-bottom: .4rem !important;
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea.form-control {
  width: 100% !important;
  padding: .75rem .95rem !important;
  border: 1px solid #b2bcaf !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: var(--premium-ink, #18221d) !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03) !important;
  transition: all .2s ease !important;
}

.contact-form .form-control::placeholder,
.contact-form textarea.form-control::placeholder {
  color: #717d77 !important;
  opacity: 1 !important;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea.form-control:focus {
  border-color: var(--premium-green, #164d3b) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(22, 77, 59, 0.15) !important;
}

.contact-form .form-select option {
  color: var(--premium-ink, #18221d) !important;
  background-color: #ffffff !important;
}

.btn-contact {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .6rem !important;
  width: 100% !important;
  padding: .85rem 1.4rem !important;
  background: var(--premium-green, #164d3b) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: .98rem !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: background .2s ease, transform .2s ease !important;
  box-shadow: 0 4px 14px rgba(22, 77, 59, 0.2) !important;
}

.btn-contact:hover {
  background: var(--premium-green-dark, #0d3428) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}
