:root {
  --ink: #102033;
  --muted: #415065;
  --green: #244b2c;
  --green-2: #2e633a;
  --line: #d8ded6;
  --paper: #fffdf7;
  --services-section-bg: #f5f5ee;
  --services-bg: #fbfaf5;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(16, 32, 51, 0.12);
  --container: 1340px;
  --page-gutter: clamp(40px, 6vw, 112px);
  --anchor-offset: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

.container {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

#home {
  scroll-margin-top: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.1);
}

.header-top {
  width: min(1504px, calc(100% - var(--page-gutter)));
  min-height: 88px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(500px, 1fr) minmax(315px, auto) auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo-mark {
  width: 72px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.72);
}

.brand-text strong {
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-text small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-text em {
  display: block;
  margin-top: 4px;
  color: #1f2732;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-contact {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  color: #101b29;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.header-contact a,
.contact-details a,
.contact-details p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mini-icon,
.button-icon,
.contact-icon {
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
  color: var(--green);
}

.mini-icon {
  width: 18px;
  height: 18px;
}

.phone-icon::before {
  content: "";
  position: absolute;
  inset: 3px 5px 3px 5px;
  border: 2px solid currentColor;
  border-left-width: 4px;
  border-radius: 8px 8px 8px 2px;
  transform: rotate(-28deg);
}

.mail-icon::before {
  content: "";
  position: absolute;
  inset: 3px 2px 4px;
  border: 2px solid currentColor;
  border-radius: 1px;
}

.mail-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 6px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.location-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.location-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 2px solid var(--green);
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-cta,
.button-primary {
  background: var(--green);
  color: var(--white);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--green-2);
  transform: translateY(-1px);
}

.button-secondary {
  min-width: 204px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green);
}

.main-nav {
  justify-self: center;
  min-width: 0;
}

.nav-links {
  margin: 0 auto;
  padding: 0;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.65vw, 30px);
  list-style: none;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 88px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 620px;
  height: clamp(620px, calc(100vh - 88px), 760px);
  overflow: hidden;
  background: #f9faf7;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 31%;
  z-index: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.94) 18%, rgba(255, 255, 255, 0.62) 31%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0) 69%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1504px, calc(100% - var(--page-gutter)));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 36px 0 44px;
}

.hero-copy {
  width: min(680px, 52vw);
}

.hero-kicker {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.4vw, 37px);
  font-weight: 800;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(43px, 4.15vw, 66px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-location {
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(28px, 2.8vw, 43px);
  font-weight: 900;
}

.hero-lead {
  width: min(520px, 100%);
  margin-top: 25px;
  color: #111c2b;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.quote-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: var(--white);
}

.quote-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.quote-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(35deg);
}

.hero-services {
  width: min(600px, 100%);
  margin: 54px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero-services li {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  column-gap: 12px;
  padding-right: 18px;
  border-right: 1px solid rgba(36, 75, 44, 0.28);
}

.hero-services li + li {
  padding-left: 18px;
}

.hero-services li:last-child {
  border-right: 0;
}

.hero-services strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
}

.hero-services small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
}

.line-icon,
.process-icon,
.why-icon {
  position: relative;
  display: block;
  color: var(--green);
}

.line-icon {
  width: 52px;
  height: 52px;
}

.line-icon::before,
.line-icon::after,
.process-icon::before,
.process-icon::after,
.why-icon::before,
.why-icon::after {
  content: "";
  position: absolute;
}

.loft-icon::before,
.home-icon::before {
  left: 8px;
  bottom: 5px;
  width: 34px;
  height: 27px;
  border: 2px solid currentColor;
  border-top: 0;
}

.loft-icon::after,
.home-icon::after {
  left: 5px;
  top: 7px;
  width: 38px;
  height: 38px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.loft-icon {
  background:
    linear-gradient(currentColor, currentColor) 20px 28px / 9px 14px no-repeat,
    linear-gradient(currentColor, currentColor) 33px 20px / 5px 5px no-repeat;
}

.home-icon {
  background:
    linear-gradient(currentColor, currentColor) 20px 29px / 8px 14px no-repeat,
    linear-gradient(currentColor, currentColor) 32px 29px / 8px 14px no-repeat;
}

.document-icon::before {
  left: 11px;
  top: 3px;
  width: 30px;
  height: 42px;
  border: 2px solid currentColor;
}

.document-icon::after {
  right: 5px;
  bottom: 4px;
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.process-section {
  background: var(--white);
  --process-section-pad-top: 48px;
  --process-section-pad-bottom: 32px;
  --process-steps-overlap: clamp(52px, 10vw, 168px);
  padding: var(--process-section-pad-top) 0 var(--process-section-pad-bottom);
  overflow-x: clip;
  overflow-y: hidden;
}

.services-section {
  padding: 52px 0 88px;
  background: var(--services-section-bg);
  border-top: 1px solid rgba(16, 32, 51, 0.1);
}

.services-section .section-heading {
  margin-bottom: 28px;
}

.services-section .section-heading h2::after {
  background: #3d4552;
  height: 2px;
  width: 68px;
}

.services-section .service-card-illustration {
  width: 76px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #646645;
}

.services-section .service-card-illustration svg {
  width: 100%;
  height: auto;
  max-height: 52px;
  overflow: visible;
}

.services-section .service-card {
  background: #f2f1ee;
  border: 1px solid #ddd9d0;
}

.section-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.section-heading h2,
.process-section h2,
.why-section h2,
.contact-section h2 {
  font-size: clamp(24px, 1.75vw, 31px);
  font-weight: 900;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 12px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78px;
  height: 3px;
  background: var(--green);
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1320px;
  margin-inline: auto;
}

.service-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 24px 17px;
  border-radius: 6px;
  text-align: center;
}

.service-card h3 {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.service-card p {
  margin-top: 8px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.43;
}

.certificate-card-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 18px;
  height: 26px;
  border: 2px solid currentColor;
}

.certificate-card-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.process-copy-outer {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-left: max(
    0px,
    calc((100vw - min(var(--container), calc(100vw - var(--page-gutter)))) / 2)
  );
  padding-right: 0;
}

.process-copy-inner {
  width: 100%;
  max-width: min(var(--container), calc(100vw - var(--page-gutter)));
}

.process-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-right: clamp(0px, 1vw, 12px);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, min(480px, 46vw));
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.process-section h2 {
  margin-bottom: 28px;
}

.process-grid {
  --process-overlap: var(--process-steps-overlap);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.8vw, 35px);
  position: relative;
  z-index: 3;
  width: calc(100% + var(--process-overlap));
  max-width: none;
  margin-right: calc(-1 * var(--process-overlap));
}

.process-grid::before {
  content: "";
  position: absolute;
  left: clamp(32px, 5vw, 70px);
  right: clamp(12px, 2vw, 32px);
  top: 34px;
  border-top: 1px dashed rgba(36, 75, 44, 0.35);
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.process-step b {
  width: 30px;
  height: 30px;
  margin: -9px auto 14px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  font-size: 14px;
}

.process-step h3 {
  min-height: 32px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.process-step p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
}

.chat-process-icon::before {
  left: 17px;
  top: 21px;
  width: 31px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.chat-process-icon::after {
  left: 24px;
  top: 38px;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-30deg);
}

.survey-process-icon::before {
  left: 15px;
  top: 25px;
  width: 36px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 9px;
}

.survey-process-icon::after {
  left: 21px;
  top: 17px;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.draw-process-icon::before {
  left: 21px;
  top: 16px;
  width: 12px;
  height: 35px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.draw-process-icon::after {
  left: 18px;
  top: 46px;
  width: 25px;
  height: 2px;
  background: currentColor;
}

.issue-process-icon::before {
  left: 17px;
  top: 18px;
  width: 32px;
  height: 28px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skew(-28deg) rotate(-16deg);
}

.issue-process-icon::after {
  left: 31px;
  top: 30px;
  width: 3px;
  height: 18px;
  background: currentColor;
  transform: rotate(35deg);
}

.process-image {
  position: relative;
  z-index: 0;
  align-self: stretch;
  min-height: 0;
  margin-top: calc(-1 * var(--process-section-pad-top));
  margin-bottom: calc(-1 * var(--process-section-pad-bottom));
  overflow: hidden;
}

.process-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 14%,
    rgba(255, 255, 255, 0.94) 24%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.12) 58%,
    rgba(255, 255, 255, 0) 72%
  );
}

.process-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.prices-section {
  padding: 44px 0 46px;
  background: var(--white);
  border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.prices-intro {
  margin-bottom: 26px;
  max-width: 720px;
}

.prices-intro h2 {
  font-size: clamp(24px, 1.75vw, 31px);
  font-weight: 900;
  line-height: 1.1;
}

.prices-lead {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.price-card {
  padding: 20px 16px;
  min-height: 118px;
  display: grid;
  grid-template-rows: 40px auto;
  align-content: start;
  background: var(--services-section-bg);
  border: 1px solid #ddd9d0;
  border-radius: 6px;
  text-align: center;
}

.price-card h3 {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  display: grid;
  place-items: center;
}

.price-card p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}

.price-note {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 900px;
}

.about-section {
  padding: 44px 0 48px;
  background: var(--services-section-bg);
  border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-layout h2 {
  margin: 0;
  font-size: clamp(22px, 1.65vw, 28px);
  font-weight: 900;
  line-height: 1.12;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #142033;
}

.why-section {
  padding: 25px 0 31px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(33, 77, 41, 0.98), rgba(23, 63, 34, 0.96)),
    radial-gradient(circle at 82% 50%, rgba(255, 255, 255, 0.16), transparent 35%);
}

.why-section h2 {
  margin-bottom: 31px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.why-grid article {
  min-height: 126px;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.why-grid article:last-child {
  border-right: 0;
}

.why-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: var(--white);
}

.why-grid h3 {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.why-grid p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.4;
}

.faq-section {
  padding: 44px 0 48px;
  background: var(--services-section-bg);
  border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.faq-intro {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-section h2 {
  font-size: clamp(24px, 1.75vw, 31px);
  font-weight: 900;
  line-height: 1.1;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-list details {
  border: 1px solid #ddd9d0;
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
}

.faq-list summary {
  padding: 16px 44px 16px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid rgba(16, 32, 51, 0.06);
  padding-top: 14px;
}

.contact-section {
  padding: 40px 0;
  background: var(--paper);
  overflow: hidden;
}

.contact-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(460px, 1fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-intro p {
  margin-top: 12px;
  color: #142033;
  font-size: 15px;
  line-height: 1.55;
}

.contact-intro .section-eyebrow {
  margin-top: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details {
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  border-block: 1px solid rgba(16, 32, 51, 0.12);
  color: #101b29;
  font-size: 13px;
  font-weight: 900;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.contact-icon.phone-icon::before {
  inset: 8px 10px 8px 10px;
}

.contact-icon.mail-icon::before {
  inset: 10px 8px 11px;
}

.contact-icon.mail-icon::after {
  left: 11px;
  right: 11px;
  top: 13px;
}

.contact-image {
  position: relative;
  min-height: 560px;
  margin-block: -40px;
  margin-right: calc((100vw - min(var(--container), calc(100vw - var(--page-gutter)))) / -2);
  overflow: hidden;
}

.contact-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(255, 253, 247, 0.95) 16%,
    rgba(255, 253, 247, 0.68) 34%,
    rgba(255, 253, 247, 0.18) 54%,
    rgba(255, 253, 247, 0) 72%
  );
}

.contact-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #ddd9d0;
  border-radius: 8px;
}

.form-row {
  display: grid;
  gap: 5px;
}

.form-row-wide,
.contact-form .button {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 32, 51, 0.18);
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(36, 75, 44, 0.12);
  background: var(--white);
}

.contact-form input[type="file"] {
  padding: 7px 10px;
}

.contact-form .button {
  margin-top: 4px;
  cursor: pointer;
}

.site-footer {
  padding: 32px 0;
  color: var(--white);
  background: linear-gradient(90deg, #232323, #1b1d1f);
}

.footer-layout {
  display: grid;
  grid-template-columns: 255px 130px 130px 140px 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand-logo-mark {
  background: #232323;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small,
.footer-brand .brand-text em {
  color: var(--white);
}

.footer-brand .brand-text strong {
  font-size: 17px;
  letter-spacing: 0.07em;
}

.footer-brand .brand-text small {
  font-size: 9px;
}

.footer-brand .brand-text em {
  color: rgba(255, 255, 255, 0.8);
  font-size: 6px;
}

.footer-layout h3 {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-layout a {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
}

.footer-note {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.35;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1400px) {
  .header-top {
    grid-template-columns: auto minmax(420px, 1fr) auto;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 20px;
    font-size: 11px;
  }

  .hero-copy {
    width: min(620px, 58vw);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-copy {
    padding-right: 0;
  }

  .process-copy-outer {
    padding-left: max(14px, calc((100vw - min(var(--container), calc(100vw - 28px))) / 2));
    padding-right: max(14px, calc((100vw - min(var(--container), calc(100vw - 28px))) / 2));
  }

  .process-copy-inner {
    max-width: none;
  }

  .process-grid {
    width: 100%;
    margin-right: 0;
    gap: 28px;
  }

  .process-image,
  .contact-image {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --anchor-offset: 18px;
  }

  .container,
  .header-top,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .header-top {
    min-height: 74px;
    grid-template-columns: 1fr;
  }

  .nav-cta,
  .main-nav {
    display: none;
  }

  .brand-logo-mark {
    width: 58px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .hero {
    min-height: auto;
    height: auto;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    height: 360px;
  }

  .hero-visual::before {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  }

  .hero-content {
    min-height: auto;
    padding: 28px 0 38px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-actions,
  .hero-services,
  .process-grid,
  .price-grid,
  .why-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-services {
    gap: 16px;
    margin-top: 34px;
  }

  .hero-services li,
  .hero-services li + li {
    padding: 0;
    border-right: 0;
  }

  .process-grid::before {
    display: none;
  }

  .contact-details {
    padding-left: 0;
    border-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    border-right: 0;
  }

  .sticky-contact {
    display: none;
  }
}
