:root {
  --bg: #eef4ea;
  --paper: #fbfcf8;
  --ink: #102116;
  --muted: #597164;
  --line: rgba(16, 33, 22, 0.12);
  --brand: #1f6a3d;
  --brand-deep: #184e2e;
  --accent: #c39a3b;
  --shadow: 0 24px 60px rgba(19, 47, 28, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(195, 154, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #f7faee 0%, #eef4ea 55%, #f4f7ef 100%);
}

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

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

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.topbar,
.navbar,
.hero-card,
.quote-form-panel,
.aside-card,
.footer,
.thank-you-card {
  backdrop-filter: blur(10px);
}

.topbar,
.navbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(251, 252, 248, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: 0 10px 35px rgba(19, 47, 28, 0.06);
}

.navbar {
  margin-top: 14px;
}

.topbar-links,
.nav-links,
.footer-links,
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow,
.section-kicker,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 30px rgba(31, 106, 61, 0.2);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(31, 106, 61, 0.24);
}

.button-ghost {
  background: transparent;
  color: var(--brand-deep);
  border: 1px solid rgba(31, 106, 61, 0.2);
  box-shadow: none;
}

.section {
  margin-top: 28px;
}

.hero-grid,
.quote-section {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.hero-copy,
.quote-form-panel,
.aside-card,
.hero-card,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 252, 248, 0.88);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(31, 106, 61, 0.08), transparent 55%),
    rgba(251, 252, 248, 0.88);
}

.hero-copy h1,
.panel-header h2,
.aside-card h2,
.thank-you-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.panel-header h2,
.aside-card h2 {
  font-size: 1.45rem;
}

.lede,
.hero-copy p,
.panel-header p,
.aside-card p,
.faq-item p,
.footer p,
.form-note,
.quote-form-status {
  color: var(--muted);
  line-height: 1.65;
}

.service-focus,
.checklist,
.trust-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.service-focus li,
.checklist li,
.trust-point {
  position: relative;
  padding-left: 22px;
  margin-top: 12px;
}

.service-focus li::before,
.checklist li::before,
.trust-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
}

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

.hero-card {
  overflow: hidden;
}

.hero-image {
  min-height: 280px;
  background-position: center;
  background-size: cover;
}

.hero-card-body,
.quote-form-panel,
.aside-card,
.thank-you-card {
  padding: 28px;
}

.quote-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.75fr);
}

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

.form-grid label,
.form-grid fieldset {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 33, 22, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(31, 106, 61, 0.12);
  border-color: rgba(31, 106, 61, 0.4);
}

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

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 500;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.quote-form-status.is-error {
  color: #8a1d1d;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer {
  margin-top: 28px;
  border-radius: var(--radius-lg);
}

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

.thank-you-shell {
  width: min(720px, 100%);
}

.thank-you-card {
  text-align: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-shell {
    padding: 16px;
  }

  .topbar,
  .navbar,
  .footer {
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card-body,
  .quote-form-panel,
  .aside-card,
  .thank-you-card {
    padding: 22px;
  }
}
