/* 
  Mending Health static site
  Drop this folder into Netlify to deploy.
*/

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #eef3ef;
  --text: #1d2924;
  --muted-text: #5e6a64;
  --brand: #46665a;
  --brand-dark: #2d443b;
  --accent: #c9a66b;
  --border: #d9e2dc;
  --shadow: 0 18px 50px rgba(29, 41, 36, 0.10);
  --radius: 22px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--text);
  color: white;
  padding: 10px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text span {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(201, 166, 107, 0.20), transparent 34%),
    linear-gradient(135deg, #fbfaf7 0%, #eef3ef 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.65fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 1.18rem;
  max-width: 680px;
  color: var(--muted-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 30px rgba(70, 102, 90, 0.22);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--brand-dark);
}

.button.secondary {
  background: white;
  color: var(--brand-dark);
  border-color: var(--border);
}

.button.full {
  width: 100%;
}

.hero-note,
.small {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.hero-card,
.card,
.profile-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section.muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted-text);
}

.cards {
  display: grid;
  gap: 20px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
}

.card p {
  color: var(--muted-text);
  margin-bottom: 0;
}

.card.compact {
  box-shadow: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 42px;
  align-items: center;
}

.split p {
  color: var(--muted-text);
}

.profile-card {
  padding: 30px;
  text-align: center;
}

.profile-placeholder {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-size: 2.3rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-methods {
  margin: 24px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.warning {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

.contact-form {
  padding: 28px;
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(70, 102, 90, 0.18);
  border-color: var(--brand);
}

.optional {
  color: var(--muted-text);
  font-weight: 400;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 12px;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.hidden {
  display: none;
}

.legal-preview {
  padding: 34px 0;
  background: #1d2924;
  color: white;
}

.legal-preview .container {
  max-width: 920px;
}

.legal-preview h2 {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.legal-preview p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 34px 0;
  background: #111815;
  color: white;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.site-footer a {
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .cards.four {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 580px) {
  .hero {
    padding: 58px 0 50px;
  }

  .section {
    padding: 54px 0;
  }

  .cards.three,
  .cards.four {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
  }

  .brand-text span {
    display: none;
  }
}


.request-hero {
  padding-bottom: 54px;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}


.logo-mark {
  background: transparent;
  overflow: hidden;
}

.logo-mark img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
}
