:root {
  --ink: #17201f;
  --muted: #5b6661;
  --line: #dfe8e5;
  --paper: #ffffff;
  --soft: #eef8f6;
  --deep: #123a31;
  --teal: #0e776f;
  --coral: #e96f5f;
  --sun: #d7a957;
  --shadow: 0 22px 60px rgba(18, 58, 49, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 44px;
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
  content: "";
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 28, 26, 0.78) 0%, rgba(12, 28, 26, 0.5) 43%, rgba(12, 28, 26, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  min-height: 76svh;
  padding: 116px 44px 72px;
}

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

.hero .eyebrow {
  color: #ffd39a;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.15rem;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f9dfc7;
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.button-dark {
  color: #ffffff;
  background: var(--deep);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal);
}

.quick-search {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 28px;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8d5;
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(14, 119, 111, 0.16);
}

.section-pad {
  padding: 92px 28px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro {
  background: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: start;
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.areas,
.selling {
  background: var(--soft);
}

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

.section-heading.narrow {
  max-width: 680px;
}

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

.area-card,
.service-card,
.timeline article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.area-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border-top: 4px solid var(--teal);
}

.area-card:nth-child(2) {
  border-top-color: var(--coral);
}

.area-card:nth-child(3) {
  border-top-color: var(--sun);
}

.county-code {
  margin-bottom: 42px;
  color: rgba(18, 58, 49, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.8;
}

.area-card p:not(.county-code),
.service-card p,
.timeline p,
.contact p,
.site-footer p,
.market p,
.sticky-copy p {
  color: var(--muted);
}

.text-action {
  width: fit-content;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.text-action:hover,
.text-action:focus-visible {
  color: var(--coral);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.sticky-copy .button {
  margin-top: 12px;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--soft);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market {
  background: #ffffff;
}

.market-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.market-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.market-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 72% 50%;
}

.market-visual::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  content: "";
}

.pill-row {
  margin-top: 26px;
}

.pill-row span {
  padding: 10px 13px;
  border: 1px solid #c9dfda;
  border-radius: 999px;
  color: var(--deep);
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.timeline article {
  padding: 24px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--deep);
  font-weight: 900;
}

.contact {
  background: var(--deep);
  color: #ffffff;
}

.contact .eyebrow {
  color: #ffd39a;
}

.contact p,
.contact .contact-notes p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 58px;
  align-items: start;
}

.contact-notes {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-notes p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hidden {
  display: none;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent span {
  font-weight: 600;
  line-height: 1.4;
}

.site-footer {
  padding: 44px 28px 26px;
  background: #0d1715;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.legal {
  width: min(1120px, 100%);
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.success-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18, 58, 49, 0.92), rgba(14, 119, 111, 0.78)),
    url("hero.jpg") center / cover;
}

.success-wrap {
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0;
  color: #ffffff;
}

.success-brand {
  margin-bottom: 26px;
}

.success-panel {
  padding: 36px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.success-panel h1 {
  color: var(--ink);
  font-size: 3rem;
}

.success-panel p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 24px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 12px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .search-panel,
  .intro-grid,
  .split,
  .market-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    max-width: 720px;
    margin: 0 auto;
  }

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

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    min-height: 82svh;
    padding: 104px 20px 72px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 28, 26, 0.82) 0%, rgba(12, 28, 26, 0.62) 58%, rgba(12, 28, 26, 0.22) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.3) 100%);
  }

  h1 {
    font-size: 2.24rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-search {
    margin-top: -32px;
    padding: 0 18px;
  }

  .section-pad {
    padding: 68px 18px;
  }

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

  .area-card {
    min-height: 0;
  }

  .county-code {
    margin-bottom: 24px;
    font-size: 3rem;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .market-visual,
  .market-visual img {
    min-height: 360px;
  }

  .lead-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
