/* Refined hero promise panel */
.hero-caption {
  margin-top: -0.8rem;
}

.hero-promise-card {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 91, 42, 0.16);
  background: linear-gradient(135deg, #fffdf8 0%, #f4f8f2 100%);
  box-shadow: 0 18px 46px rgba(15, 91, 42, 0.11);
}

.hero-promise-copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0.25rem;
}

.hero-eyebrow {
  width: fit-content;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(15, 91, 42, 0.09);
  color: #0f5b2a;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-caption h1 {
  max-width: 780px;
  margin: 0 0 0.45rem;
  color: #082f1f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-caption p {
  max-width: 760px;
  margin: 0 0 0.75rem;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.hero-caption .btn.primary {
  width: fit-content;
  padding: 0.52rem 1rem;
  background: linear-gradient(135deg, #0f5b2a, #d99508);
  box-shadow: 0 12px 28px rgba(15, 91, 42, 0.18);
  font-size: 14px;
}

.hero-proof-grid {
  display: grid;
  align-self: stretch;
  gap: 0.55rem;
  border-left: 0;
  padding: 0;
}

.hero-proof-item {
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(15, 91, 42, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.hero-proof-item:last-child {
  border-bottom: 1px solid rgba(15, 91, 42, 0.12);
}

.hero-proof-item span {
  width: 2rem;
  height: 2rem;
  background: #f4d98d;
  color: #0f5b2a;
  font-size: 12px;
}

.hero-proof-item strong {
  color: #0b1f44;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .hero-promise-card {
    grid-template-columns: 1fr;
    padding: 0.8rem;
  }

  .hero-promise-copy {
    min-height: 0;
  }

  .hero-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
    padding-top: 0;
  }

  .hero-proof-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .hero-caption {
    margin-top: 0.8rem;
  }

  .hero-caption h1 {
    font-size: 20px;
    white-space: normal;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-item {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .hero-caption .btn.primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    justify-content: center !important;
  }

  .brand {
    justify-content: center;
    margin: 0 auto;
  }

  .nav-toggle {
    position: absolute;
    right: 0;
  }

  .hero-caption,
  .section-header,
  #about .about-copy,
  #contact .contact-main-header {
    text-align: center;
  }

  .hero-caption h1,
  .section-header h2,
  #about .about-copy h2,
  #products .section-header h2,
  #contact .contact-main-header h2 {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-caption h1 {
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-caption p,
  #products .section-header p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    min-height: 76px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    max-width: 150px;
    margin: 0;
  }

  .brand-logo {
    height: 54px;
    max-width: 128px;
    object-fit: contain;
  }

  .nav-toggle {
    position: static !important;
    grid-column: 3;
    justify-self: end;
  }

  .nav {
    top: 76px !important;
    right: 50% !important;
    width: min(260px, calc(100vw - 32px));
    align-items: center;
    text-align: center;
    transform: translateX(50%);
  }

  .hero-caption h1 {
    max-width: 27ch;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.24;
    text-wrap: balance;
  }

  .section-header h2,
  #about .about-copy h2,
  #products .section-header h2,
  #contact .contact-main-header h2 {
    max-width: 30ch;
    margin-right: auto;
    margin-left: auto;
    text-wrap: balance;
  }
}
