:root {
  --primary: #165544;
  --primary-soft: rgba(22, 85, 68, 0.09);
  --accent: #d99a0a;
  --light: #f6f6f6;
  --text: #2b2b2b;
  --white: #ffffff;
  --border: rgba(22, 85, 68, 0.15);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --radius-large: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 24px), var(--max-width));
  margin: 0 auto;
}

.top-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #ddd;
  background: var(--light);
}

.top-logo-link,
.top-logo-picture {
  display: block;
  min-width: 0;
  line-height: 0;
}

.top-logo {
  width: clamp(160px, 42vw, 420px);
  height: auto;
  padding: 0.25rem 0;
}

.top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.top-contact {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.top-contact:hover {
  color: var(--primary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.45rem 0;
  background: var(--primary);
}

.navbar-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.5rem;
}

.navbar a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.2rem;
  border-radius: 5px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar a:focus-visible {
  outline-color: var(--white);
}

.site-intro {
  max-width: 860px;
  margin: 1rem auto 0.75rem;
  padding: 0 12px;
  color: var(--primary);
  font-size: 1.05rem;
  text-align: center;
}

.site-intro strong {
  font-weight: 750;
}

section {
  padding: 1.6rem 0;
  scroll-margin-top: 92px;
}

.hero {
  padding-top: 0.5rem;
}

.hero-grid,
.feature-grid,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.hero-copy {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, rgba(22, 85, 68, 0.07), rgba(22, 85, 68, 0.02));
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.15rem;
}

.hero-points,
.service-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.2rem;
}

.hero-point,
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  font-weight: 550;
}

.tick {
  display: inline-flex;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(22, 85, 68, 0.12);
  color: var(--primary);
  font-weight: 750;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cta-button,
.cta-outline {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  text-align: center;
  transition: background 0.2s ease;
}

.cta-button {
  border: 0;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.cta-button:hover {
  background: rgba(22, 85, 68, 0.82);
}

.cta-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.cta-outline {
  border: 1px solid rgba(22, 85, 68, 0.25);
  background: var(--white);
  color: var(--primary);
}

.hero-visual,
.support-visual {
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #dfe6e2;
  box-shadow: var(--shadow);
}

.hero-visual {
  aspect-ratio: 4 / 5;
}

.hero-visual picture,
.support-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual img,
.support-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-visual {
  aspect-ratio: 1 / 1;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 1.3rem;
  text-align: center;
}

.feature-copy,
.scope-card,
.step-card,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature-copy,
.scope-card {
  padding: 1.3rem;
}

.accent-section {
  background: var(--primary);
}

.accent-section h2,
.accent-section > .container > .section-lead {
  color: var(--white);
}

.scope-grid,
.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.scope-card p:last-child,
.step-card p:last-child {
  margin-bottom: 0;
}

.steps-grid {
  margin-top: 1.2rem;
}

.step-card {
  padding: 1.2rem;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 750;
}

.location-strip {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(22, 85, 68, 0.08);
  text-align: center;
}

.location-strip p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 1.2rem auto 0;
}

.faq-list details {
  padding: 0.15rem 1rem;
}

.faq-list summary {
  padding: 0.9rem 0;
  color: var(--primary);
  font-weight: 750;
  cursor: pointer;
}

.faq-list details p {
  margin: 0 0 1rem;
}

.quote-card {
  padding: 1.4rem;
  border-radius: var(--radius-large);
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-card h2,
.quote-card p {
  color: var(--white);
}

.quote-card .cta-button {
  background: var(--white);
  color: var(--primary);
}

.mini-note {
  font-size: 0.92rem;
  opacity: 0.92;
}

.quote-form-wrap form {
  max-width: none;
  margin: 0;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.42rem;
}

.field label {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #aaa;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

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

.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #a8c8bf;
  border-radius: 8px;
  background: #eef7f4;
  color: var(--primary);
  font-weight: 650;
}

.form-feedback[data-state="error"] {
  border-color: #b00020;
  background: #fff1f3;
  color: #8a0019;
}

.form-feedback[hidden] {
  display: none;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.4rem 1rem 1.2rem;
  background: var(--primary);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-col h2 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: 1.05rem;
}

.footer-col p,
.footer-col ul {
  margin: 0 0 0.7rem;
}

.footer-col ul {
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  max-width: 1000px;
  margin: 1.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 419px) {
  .top-contact-email {
    display: none;
  }
}

@media (min-width: 600px) {
  .container {
    width: min(calc(100% - 40px), var(--max-width));
  }

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

  .form-grid.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}

@media (min-width: 769px) {
  .top-header {
    padding: 0.5rem 1rem;
  }

  .top-logo {
    width: 480px;
  }

  .top-right {
    margin-right: 1rem;
  }

  .top-contact {
    font-size: 0.95rem;
  }

  .navbar-inner {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 1.6rem;
  }

  .navbar a {
    padding-inline: 0.5rem;
    font-size: 0.98rem;
  }

  .site-intro {
    font-size: 1.18rem;
  }

  section {
    padding: 2.2rem 0;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
    align-items: stretch;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 590px;
    padding: 1.9rem;
  }

  .hero-visual {
    min-height: 590px;
    aspect-ratio: auto;
  }

  .feature-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 1.25rem;
  }

  .feature-grid.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .feature-grid.reverse .support-visual {
    order: 1;
  }

  .feature-grid.reverse .feature-copy {
    order: 2;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-layout {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
