:root {
  --bg: #f4f0e8;
  --surface: #fffdf8;
  --surface-strong: #fffaf0;
  --ink: #132033;
  --ink-soft: #415065;
  --line: #d7d0c4;
  --accent: #b55d2d;
  --accent-strong: #8d4319;
  --accent-soft: #f7e5d8;
  --highlight: #1d5a55;
  --shadow: 0 18px 50px rgba(19, 32, 51, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(181, 93, 45, 0.12), transparent 28%),
    linear-gradient(180deg, #faf5ec 0%, var(--bg) 100%);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--highlight);
}

a:hover {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-main,
.site-footer,
.sticky-cta-inner {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 35px rgba(19, 32, 51, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.hero,
.page-hero {
  display: grid;
  gap: 28px;
  align-items: start;
  padding: 34px;
  margin-top: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 238, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(19, 32, 51, 0.08);
}

.hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.92rem;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 62ch;
}

.hero p,
.page-hero p {
  max-width: 60ch;
}

.cta-row,
.inline-links,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, color 120ms ease, background 120ms ease;
}

.button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(181, 93, 45, 0.22);
}

.button:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(19, 32, 51, 0.12);
}

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

.button-link {
  color: var(--highlight);
  padding-left: 0;
  padding-right: 0;
}

.hero-panel,
.card,
.checklist,
.cta-panel,
.faq-item {
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 30px rgba(19, 32, 51, 0.05);
}

.hero-panel,
.card,
.cta-panel {
  padding: 22px;
}

.hero-panel h2 {
  font-size: 1.65rem;
}

.site-main {
  flex: 1;
  padding: 0 0 92px;
}

.section {
  margin-top: 22px;
}

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

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

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

.card h2,
.card h3,
.cta-panel h2,
.faq-item h3 {
  margin-bottom: 10px;
}

.list,
.checklist ul,
.service-points,
.faq-list,
.breadcrumb-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li,
.checklist li,
.service-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.list li::before,
.checklist li::before,
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
}

.checklist {
  padding: 20px;
  background: linear-gradient(180deg, rgba(29, 90, 85, 0.08), rgba(255, 253, 248, 0.96));
}

.metric {
  display: grid;
  gap: 8px;
  align-content: start;
}

.metric-value {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 2rem;
  color: var(--accent-strong);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.06);
  color: var(--ink);
  font-weight: 600;
}

.hero-pills {
  margin-top: 16px;
}

.breadcrumb {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(19, 32, 51, 0.45);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.request-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  font-weight: 700;
  color: var(--ink);
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(19, 32, 51, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 148px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(29, 90, 85, 0.18);
  outline-offset: 1px;
  border-color: rgba(29, 90, 85, 0.55);
}

.form-status {
  min-height: 1.5em;
  margin-bottom: 0;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: var(--highlight);
}

.form-status[data-state="error"] {
  color: var(--accent-strong);
}

.spam-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.service-card p:last-child,
.card p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
}

.cta-panel {
  display: grid;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, rgba(29, 90, 85, 0.1), rgba(247, 229, 216, 0.92));
}

.site-footer {
  padding: 26px 0 112px;
  border-top: 1px solid rgba(19, 32, 51, 0.08);
  color: var(--ink-soft);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.small {
  font-size: 0.92rem;
}

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding: 10px 0 14px;
  background: linear-gradient(180deg, rgba(244, 240, 232, 0), rgba(244, 240, 232, 0.96) 40%);
}

.sticky-cta-inner {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.sticky-cta .button,
.sticky-cta .button-secondary {
  min-height: 44px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-main,
  .site-footer,
  .sticky-cta-inner {
    width: min(calc(100% - 20px), var(--content));
  }

  .topbar {
    border-radius: 24px;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .hero,
  .page-hero,
  .card,
  .hero-panel,
  .cta-panel {
    padding: 20px;
  }

  h1 {
    max-width: none;
  }

  .cta-row .button,
  .cta-row .button-secondary,
  .sticky-cta .button,
  .sticky-cta .button-secondary {
    flex: 1 1 100%;
  }

  .sticky-cta-inner {
    justify-content: stretch;
  }

  .footer-row {
    align-items: flex-start;
  }

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