:root {
  --navy: #061b3a;
  --blue: #104f9f;
  --gold: #b8872b;
  --ivory: #f4f1ea;
  --ink: #020b1f;
  --charcoal: #2f3536;
  --line: #d9d2c4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(2, 11, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  padding: 14px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid rgba(6, 27, 58, 0.1);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.brand-logo {
  display: block;
  width: min(245px, 42vw);
  height: auto;
}

.text-link {
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue);
}

.hero {
  min-height: min(720px, calc(100svh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(54px, 8vw, 106px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 88px);
  background:
    linear-gradient(120deg, rgba(244, 241, 234, 0.92), rgba(255, 255, 255, 0.72)),
    url("assets/neighborly-hands-logo.png") right 7vw center / min(560px, 45vw) auto no-repeat;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.35rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-intro {
  max-width: 640px;
  color: var(--charcoal);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.value-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 850;
}

.value-list li {
  position: relative;
  padding-left: 24px;
}

.value-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 11, 31, 0.15);
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(6, 27, 58, 0.24);
}

.hero-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 27, 58, 0.13);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process,
.contact-band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

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

.process li,
.hero-panel p,
.contact-band p {
  color: var(--charcoal);
}

.process {
  background: var(--navy);
}

.process .eyebrow {
  color: #e0b55d;
}

.process h2 {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
}

.steps span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.16rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-copy {
  max-width: 760px;
}

.contact-note {
  margin-top: 24px;
  font-weight: 750;
}

.contact-note a {
  color: var(--navy);
}

.text-link {
  color: var(--navy);
  font-weight: 900;
}

.deal-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.deal-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.field-help {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.deal-form input,
.deal-form select,
.deal-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(6, 27, 58, 0.24);
  border-radius: 6px;
  font: inherit;
}

.deal-form textarea {
  min-height: 132px;
  resize: vertical;
}

.deal-form input:focus,
.deal-form select:focus,
.deal-form textarea:focus {
  outline: 3px solid rgba(184, 135, 43, 0.28);
  border-color: var(--gold);
}

.deal-form input[type="file"] {
  padding: 10px;
}

.deal-form button {
  width: fit-content;
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.thanks-page,
.contact-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  background: var(--ivory);
}

.thanks-logo {
  position: absolute;
  top: 24px;
  left: clamp(20px, 5vw, 72px);
}

.thanks-logo img {
  display: block;
  width: min(260px, 62vw);
  height: auto;
}

.thanks-panel {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.thanks-panel p {
  color: var(--charcoal);
}

.contact-panel {
  display: grid;
  gap: 20px;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--navy);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 850;
  text-decoration: none;
}

.contact-methods a:hover {
  border-color: rgba(16, 79, 159, 0.34);
}

.contact-methods span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--charcoal);
  background: var(--white);
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  display: block;
  width: 170px;
  height: auto;
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 750;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-nav a {
  padding: 9px 13px;
  color: var(--navy);
  border: 1px solid rgba(6, 27, 58, 0.16);
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--blue);
  border-color: rgba(16, 79, 159, 0.34);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    background:
      linear-gradient(120deg, rgba(244, 241, 234, 0.94), rgba(255, 255, 255, 0.86)),
      url("assets/neighborly-hands-logo.png") right 24px top 44px / 270px auto no-repeat;
  }

  .hero-copy {
    padding-top: 110px;
  }

  .steps,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(235px, 76vw);
  }

  .hero-copy {
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.5rem);
  }

  .button {
    width: 100%;
  }

  .steps li,
  .hero-panel,
  .deal-form {
    padding: 22px;
  }

  .deal-form button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
