:root {
  --ink: #17322f;
  --muted: #5f706d;
  --line: #d9e2de;
  --paper: #f7f8f4;
  --white: #ffffff;
  --teal: #16766f;
  --teal-dark: #0d514c;
  --coral: #c95d43;
  --gold: #d8ad53;
  --shadow: 0 18px 45px rgba(18, 49, 46, 0.14);
}

* {
  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);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 244, 0.94);
  border-bottom: 1px solid rgba(23, 50, 47, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: #415550;
  font-weight: 700;
  font-size: 0.92rem;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 11vw, 144px) clamp(18px, 6vw, 88px);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 45, 41, 0.9) 0%, rgba(12, 45, 41, 0.72) 42%, rgba(12, 45, 41, 0.3) 100%),
    linear-gradient(0deg, rgba(18, 49, 46, 0.52), rgba(18, 49, 46, 0.02));
}

.hero-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
}

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

.hero .eyebrow {
  color: #ffd185;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(201, 93, 67, 0.26);
}

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

.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

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

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.services {
  background: #eef5f1;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(23, 50, 47, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(18, 49, 46, 0.06);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.service-card:focus,
.service-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(22, 118, 111, 0.5);
  box-shadow: 0 14px 34px rgba(18, 49, 46, 0.12);
  outline: none;
}

.service-card h3,
.steps h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
}

.service-card p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card-action {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.92rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--teal);
  background: #e5f3ed;
}

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

.accent-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--teal-dark);
  color: var(--white);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.8);
}

.accent-card a {
  margin-top: 28px;
  color: #ffd185;
  font-weight: 800;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.65fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: stretch;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(23, 50, 47, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-detail h3 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1;
}

.service-detail-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.service-detail-cta {
  margin-top: 26px;
}

.service-visual {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
  background: #e5f3ed;
  border: 1px solid rgba(22, 118, 111, 0.14);
}

.visual-stat strong,
.visual-stat span {
  display: block;
}

.visual-stat strong {
  color: var(--teal-dark);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
}

.visual-stat span {
  margin-top: 10px;
  color: #415550;
  font-weight: 800;
  line-height: 1.35;
}

.bar-graph {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 130px;
  padding-top: 12px;
}

.bar-graph span {
  display: block;
  height: var(--bar);
  min-height: 34px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
}

.process {
  background: var(--white);
}

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

.steps article {
  padding-top: 24px;
  border-top: 3px solid var(--gold);
}

.steps span {
  color: var(--teal);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  background: #f8eee7;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}

.contact-note {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  border: 1px solid rgba(23, 50, 47, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #314844;
  font-weight: 800;
  font-size: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.privacy-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd9d5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 118, 111, 0.18);
  border-color: var(--teal);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
  line-height: 1.4;
}

.request-preview {
  margin: 0;
  padding: 16px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #cbd9d5;
  border-radius: 8px;
  color: #243d39;
  background: #f4f8f5;
  font: 0.9rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #17322f;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffd185;
  font-weight: 800;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(12, 45, 41, 0.84), rgba(12, 45, 41, 0.84)),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.thank-you-panel {
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 48px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-panel .brand {
  margin-bottom: 36px;
}

.thank-you-panel h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.thank-you-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header,
  .intro,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    display: grid;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .service-grid,
  .service-detail,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  nav {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 78px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
