:root {
  --navy: #102033;
  --navy-2: #182b42;
  --ink: #1f2a36;
  --muted: #637083;
  --line: #dfe5ea;
  --paper: #ffffff;
  --mist: #f4f6f2;
  --warm: #f6efe4;
  --green: #19715a;
  --green-2: #dff0e8;
  --gold: #c7953f;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 234, 0.84);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green-2);
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(86svh - 70px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 26, 43, 0.9) 0%, rgba(12, 26, 43, 0.68) 40%, rgba(12, 26, 43, 0.18) 72%, rgba(12, 26, 43, 0.06) 100%),
    linear-gradient(0deg, rgba(12, 26, 43, 0.22), rgba(12, 26, 43, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 780px;
}

.hero-subhead {
  margin: 24px 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 32px rgba(25, 113, 90, 0.27);
}

.button-primary:hover {
  background: #135f4b;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.intro-strip {
  background: var(--navy);
  color: #fff;
  padding: 42px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.strip-grid h2,
.section-heading h2,
.form-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.strip-grid h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.strip-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.section-heading p:not(.section-kicker),
.form-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.adu-explained-section {
  background: #fff;
}

.explainer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.definition-card {
  padding: 30px;
  border: 1px solid rgba(25, 113, 90, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--green-2));
  box-shadow: var(--shadow);
}

.definition-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.definition-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.definition-card p {
  margin: 16px 0 20px;
  color: #40505d;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.backyard-visual-section {
  background: var(--mist);
}

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

.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.1);
}

.visual-card picture {
  display: block;
  aspect-ratio: 16 / 10;
  background: #dfe5ea;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card div {
  padding: 24px;
}

.visual-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
}

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

.urgency-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.urgency-banner .section-kicker {
  margin-bottom: 8px;
}

.urgency-banner h3 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.14;
}

.benefit-grid,
.why-grid,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.calculator-panel,
.process-step,
.lead-form,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(16, 32, 51, 0.07);
}

.benefit-card {
  padding: 26px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green-2);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.benefit-card h3,
.process-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.benefit-card p,
.process-step p {
  margin: 0;
  color: var(--muted);
}

.calculator-section {
  background: linear-gradient(180deg, var(--mist), #fff);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: 46px;
  align-items: start;
}

.calculator-copy {
  position: sticky;
  top: 110px;
}

.calculator-panel {
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.field-row,
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 113, 90, 0.13);
}

.money-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.money-input:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 113, 90, 0.13);
}

.money-input span {
  padding-left: 14px;
  color: var(--green);
  font-weight: 900;
}

.money-input input {
  border: 0;
  box-shadow: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}

.calculator-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.calculator-output div {
  padding: 20px;
  border-radius: 8px;
  background: var(--green-2);
}

.output-label {
  display: block;
  color: #2d6b5c;
  font-size: 0.82rem;
  font-weight: 800;
}

.calculator-output strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1;
}

.result-message {
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.calculator-note,
.form-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.why-section {
  background: var(--warm);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--navy);
  font-weight: 800;
}

.process-section {
  background: #fff;
}

.process-step {
  padding: 24px;
}

.process-step span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.consultation-section {
  background: var(--navy);
  color: #fff;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: 46px;
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 110px;
}

.form-copy h2,
.consultation-section .section-kicker {
  color: #fff;
}

.form-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.lead-form {
  padding: 28px;
}

.lead-form .button {
  width: 100%;
  margin-top: 20px;
}

.hidden-field {
  display: none;
}

.site-footer {
  padding: 28px 0;
  background: #0b1724;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-inner span:first-child {
  color: #fff;
  font-weight: 800;
}

.thank-you-body {
  min-height: 100svh;
  background:
    linear-gradient(130deg, rgba(16, 32, 51, 0.92), rgba(25, 113, 90, 0.72)),
    url("assets/adu-backyard-hero.webp") center/cover no-repeat;
}

.thank-you-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.thank-you-card {
  width: min(680px, 100%);
  padding: clamp(30px, 7vw, 58px);
  box-shadow: var(--shadow);
}

.thank-you-brand {
  margin-bottom: 34px;
}

.thank-you-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
}

.thank-you-card p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: calc(84svh - 68px);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 26, 43, 0.92) 0%, rgba(12, 26, 43, 0.76) 62%, rgba(12, 26, 43, 0.45) 100%);
  }

  .strip-grid,
  .explainer-layout,
  .calculator-layout,
  .why-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .calculator-copy,
  .form-copy {
    position: static;
  }

  .benefit-grid,
  .visual-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .urgency-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 82px 0 70px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .benefit-grid,
  .visual-grid,
  .why-grid,
  .process-list,
  .field-grid,
  .form-grid,
  .calculator-output {
    grid-template-columns: 1fr;
  }

  .calculator-panel,
  .lead-form {
    padding: 20px;
  }

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