:root {
  --ink: #16201e;
  --muted: #5b6864;
  --paper: #f7f3eb;
  --surface: #fffdfa;
  --line: #ded8cb;
  --forest: #12312f;
  --forest-2: #1e4a45;
  --sage: #b8c9b3;
  --clay: #b15f3a;
  --ochre: #d99b45;
  --aqua: #5ca6a1;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(18, 49, 47, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.card-icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

.section-wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1220px, calc(100% - 28px));
  min-height: 74px;
  margin: 14px auto 0;
  padding: 12px 16px;
  color: var(--white);
  background: rgba(18, 49, 47, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.95);
  border-color: rgba(18, 49, 47, 0.12);
  box-shadow: 0 14px 38px rgba(18, 49, 47, 0.12);
}

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

.brand strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.76rem;
  line-height: 1.2;
  opacity: 0.78;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  background: linear-gradient(135deg, var(--sage), var(--aqua));
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  background: var(--forest);
}

.brand-mark::before {
  top: 13px;
  height: 12px;
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}

.brand-mark::after {
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: currentColor;
  opacity: 0.88;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.is-scrolled .site-nav a:hover {
  background: rgba(18, 49, 47, 0.08);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  background: var(--ochre);
  color: #21130a;
  white-space: nowrap;
}

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

.button-primary {
  color: #1d1208;
  background: var(--ochre);
  box-shadow: 0 14px 30px rgba(217, 155, 69, 0.22);
}

.button-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-dark {
  color: var(--white);
  background: var(--forest);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle .icon-close {
  display: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 140px 0 72px;
  color: var(--white);
  overflow: hidden;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 49, 47, 0.9) 0%, rgba(18, 49, 47, 0.74) 36%, rgba(18, 49, 47, 0.28) 68%, rgba(18, 49, 47, 0.12) 100%),
    linear-gradient(0deg, rgba(18, 49, 47, 0.62) 0%, rgba(18, 49, 47, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero .eyebrow {
  color: #ffd69c;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(4rem, 11vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  padding: 16px 18px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof dt {
  margin-bottom: 3px;
  color: #ffd69c;
  font-weight: 840;
}

.hero-proof dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.problem-strip {
  background: var(--forest);
  color: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 760;
}

.problem-grid a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.problem-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 94px 0;
}

section[id],
article[id] {
  scroll-margin-top: 112px;
}

.intro-layout,
.local-layout,
.proof-layout,
.contact-layout,
.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro-section {
  background: var(--surface);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 1.03rem;
}

.services-section {
  background:
    linear-gradient(180deg, var(--paper), #eee7dc);
}

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

.service-card,
.blog-grid article,
.method-steps li,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(18, 49, 47, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
}

.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--clay);
}

.service-card p,
.blog-grid p,
.method-steps p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--forest-2);
  font-weight: 800;
}

.method-section {
  color: var(--white);
  background: var(--forest);
}

.method-section .eyebrow {
  color: #f3c17c;
}

.method-intro {
  position: sticky;
  top: 120px;
}

.method-intro p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

.method-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  padding: 24px;
  color: var(--ink);
}

.method-steps span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 860;
}

.proof-section {
  background: var(--surface);
}

.visual-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list .icon {
  margin-top: 3px;
  color: var(--clay);
}

.local-seo {
  background: #e9eee7;
}

.local-content p {
  color: var(--muted);
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.keyword-grid span {
  padding: 9px 12px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 49, 47, 0.12);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 720;
}

.local-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  color: var(--forest-2);
  font-weight: 820;
}

.blog-section {
  background: var(--paper);
}

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

.blog-grid article {
  min-height: 245px;
  padding: 24px;
}

.blog-grid article a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.blog-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.blog-grid strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--forest-2);
  font-size: 0.9rem;
}

.guide-main {
  background: var(--paper);
}

.guide-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(180deg, #eef4ef 0%, var(--paper) 100%);
}

.guide-hero .eyebrow {
  color: var(--clay);
}

.guide-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.7rem);
}

.guide-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.guide-article,
.guide-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(18, 49, 47, 0.06);
}

.guide-article {
  padding: clamp(24px, 5vw, 48px);
}

.guide-article h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.guide-article h2:first-child {
  margin-top: 0;
}

.guide-article p,
.guide-article li {
  color: var(--muted);
  font-size: 1.03rem;
}

.guide-article ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.guide-note {
  margin: 28px 0;
  padding: 20px;
  color: var(--forest);
  background: #e9eee7;
  border-left: 4px solid var(--aqua);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 720;
}

.guide-aside {
  position: sticky;
  top: 116px;
  padding: 24px;
}

.guide-aside h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.guide-aside ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.guide-aside li {
  color: var(--muted);
}

.guide-aside a {
  margin-top: 10px;
}

.contact-section {
  background: var(--forest);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #f3c17c;
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.form-row {
  display: grid;
  gap: 7px;
}

.hp-field {
  display: none;
}

.form-row.full,
.lead-form .full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid #d5cec0;
  border-radius: 6px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(92, 166, 161, 0.2);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note.is-success {
  color: var(--forest);
  font-weight: 760;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0b1f1e;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 44px;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.96rem;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.site-footer p {
  max-width: 440px;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
  }

  .site-header.is-open .header-cta {
    grid-column: 1 / -1;
  }

  .site-header.is-open .nav-toggle .icon-open {
    display: none;
  }

  .site-header.is-open .nav-toggle .icon-close {
    display: block;
  }

  .hero {
    min-height: 84svh;
    padding-top: 126px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 49, 47, 0.92) 0%, rgba(18, 49, 47, 0.74) 62%, rgba(18, 49, 47, 0.42) 100%),
      linear-gradient(0deg, rgba(18, 49, 47, 0.68) 0%, rgba(18, 49, 47, 0.02) 45%);
  }

  .hero-proof,
  .problem-grid,
  .service-grid,
  .blog-grid,
  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .intro-layout,
  .local-layout,
  .proof-layout,
  .contact-layout,
  .method-layout,
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .method-intro,
  .guide-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .section-wrap {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding: 10px;
  }

  .brand small {
    font-size: 0.69rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.3rem);
  }

  h2 {
    font-size: clamp(1.85rem, 11vw, 2.6rem);
  }

  .hero {
    min-height: 76svh;
    padding-bottom: 38px;
  }

  .hero-image {
    object-position: 69% center;
  }

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

  .hero-proof {
    display: none;
  }

  .button,
  .header-cta,
  .contact-actions a {
    width: 100%;
  }

  .hero-proof,
  .problem-grid,
  .service-grid,
  .blog-grid,
  .footer-layout,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div,
  .problem-grid a,
  .problem-grid a:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-proof div:first-child,
  .problem-grid a:first-child {
    border-top: 0;
  }

  .section {
    padding: 70px 0;
  }

  .guide-hero {
    padding: 126px 0 54px;
  }

  .service-card,
  .blog-grid article,
  .lead-form,
  .guide-article,
  .guide-aside {
    padding: 22px;
  }
}
