:root {
  --ink: #141414;
  --graphite: #24282c;
  --muted: #687076;
  --paper: #f6f3ed;
  --surface: #fffaf1;
  --white: #ffffff;
  --line: #ded7ca;
  --mint: #1b9a8a;
  --green: #0c6b52;
  --plum: #5f4b8b;
  --tomato: #e45f45;
  --gold: #d9a441;
  --shadow: 0 28px 90px rgba(31, 34, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fffcf5 0%, var(--paper) 52%, #eef4f1 100%);
  background-size: 64px 64px, auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 22px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(222, 215, 202, 0.8);
  background: rgba(255, 252, 245, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.proof-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
}

.nav-links {
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-action {
  justify-self: end;
  padding: 0.78rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100vh - 79px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.4rem, 8.2vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-copy p:not(.eyebrow),
.section-intro p,
.about > p,
.consultation-copy p {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 18px 34px rgba(12, 107, 82, 0.25);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.system-map {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--graphite);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: var(--shadow);
}

.system-map::before {
  position: absolute;
  inset: 17% auto auto 45%;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.system-map::after {
  position: absolute;
  inset: auto 12% 11% auto;
  width: 27%;
  height: 2px;
  background: var(--gold);
  content: "";
}

.map-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #edf3f0;
  font-size: 0.88rem;
  font-weight: 800;
}

.map-topline strong {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(27, 154, 138, 0.25);
  color: #91f0df;
}

.map-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1.1fr 0.9fr 0.8fr;
  gap: 1rem;
  min-height: 410px;
  margin-top: 1.7rem;
}

.map-node {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f5fbf8;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.map-node.large {
  grid-row: span 2;
  background: linear-gradient(145deg, rgba(27, 154, 138, 0.96), rgba(12, 107, 82, 0.92));
}

.map-node.accent {
  background: linear-gradient(145deg, rgba(228, 95, 69, 0.96), rgba(95, 75, 139, 0.92));
}

.map-node span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-node strong {
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.signal-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.65fr 0.9fr 0.5fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

.signal-strip span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.signal-strip span:nth-child(2) {
  background: var(--gold);
}

.signal-strip span:nth-child(3) {
  background: var(--mint);
}

.proof-strip {
  justify-content: space-between;
  gap: 1px;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  flex: 1;
  min-height: 118px;
  padding: 1.2rem;
  background: rgba(255, 250, 241, 0.88);
}

.proof-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-intro.compact {
  display: block;
  max-width: 760px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-list article {
  min-height: 330px;
  padding: 1.35rem;
  background: rgba(255, 250, 241, 0.92);
  transition: background 180ms ease, transform 180ms ease;
}

.service-list article:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.service-list span {
  display: inline-flex;
  margin-bottom: 5.2rem;
  color: var(--tomato);
  font-weight: 900;
}

.service-list p,
.process-track p {
  color: var(--muted);
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.process-track article {
  position: relative;
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.process-track article::before {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 3.4rem;
  border: 8px solid rgba(27, 154, 138, 0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  content: "";
}

.process-track span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about > p {
  margin-top: 2.2rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--gold);
}

.consultation {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(27, 154, 138, 0.18), transparent 42%),
    var(--ink);
  box-shadow: var(--shadow);
}

.consultation h2 {
  color: var(--white);
}

.consultation-copy p,
.consultation .eyebrow {
  color: #b8e1d9;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: #e8f3f0;
  font-size: 0.88rem;
  font-weight: 900;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input::placeholder,
select:invalid,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #89decf;
  outline: 3px solid rgba(137, 222, 207, 0.22);
}

form .button {
  justify-self: start;
  min-width: 190px;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer p {
  margin: 0;
}

.footer-address {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-address a {
  color: var(--green);
  font-weight: 700;
}

.site-footer a {
  font-weight: 900;
}

.form-contact-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.25rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.form-contact-info a {
  color: #89decf;
  font-weight: 700;
  text-decoration: none;
}

.form-contact-info a:hover {
  color: #b8e1d9;
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .section-intro,
  .about,
  .consultation {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

  .service-list,
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-map {
    min-height: 470px;
  }
}

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

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .proof-strip,
  .consultation,
  .site-footer {
    width: calc(100% - 28px);
  }

  .proof-strip,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .system-map {
    min-height: auto;
  }

  .map-grid,
  .service-list,
  .process-track,
  form {
    grid-template-columns: 1fr;
  }

  .map-node.large {
    grid-row: auto;
  }

  .service-list article,
  .process-track article {
    min-height: auto;
  }

  .service-list span,
  .process-track article::before {
    margin-bottom: 2rem;
  }

  .about > p {
    margin-top: 0;
  }
}
