:root {
  --ink: #12213a;
  --graphite: #17243a;
  --navy: #1f4377;
  --navy-deep: #14315f;
  --sky: #72bce7;
  --cyan: #3fa4d8;
  --muted: #657287;
  --paper: #f3f7fb;
  --surface: #ffffff;
  --white: #ffffff;
  --line: #dbe5ef;
  --mint: #18a999;
  --green: #0a7f74;
  --coral: #f26d5b;
  --gold: #f1b84b;
  --shadow: 0 28px 80px rgba(31, 67, 119, 0.18);
  --soft-shadow: 0 18px 42px rgba(31, 67, 119, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(114, 188, 231, 0.28), transparent 30rem),
    radial-gradient(circle at 88% 20%, rgba(24, 169, 153, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 54%, #f8fbfd 100%);
  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: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(219, 229, 239, 0.88);
  background: rgba(251, 253, 255, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand {
  width: clamp(168px, 17vw, 238px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.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(--navy);
}

.header-action {
  justify-self: end;
  padding: 0.82rem 1.05rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(31, 67, 119, 0.2);
}

.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 - 68px);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.2rem) 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: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 7.3vw, 6.8rem);
  line-height: 0.9;
  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, border-color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  box-shadow: 0 18px 34px rgba(31, 67, 119, 0.24);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.system-map {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(31, 67, 119, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(114, 188, 231, 0.34), transparent 18rem),
    linear-gradient(145deg, var(--navy-deep), var(--graphite));
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: var(--shadow);
}

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

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

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

.map-topline strong {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(114, 188, 231, 0.2);
  color: #c9e9fb;
}

.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: 320px;
  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: #f5fbff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.map-node.large {
  grid-row: span 2;
  background: linear-gradient(145deg, rgba(114, 188, 231, 0.96), rgba(31, 67, 119, 0.92));
}

.map-node.accent {
  background: linear-gradient(145deg, rgba(24, 169, 153, 0.96), rgba(10, 127, 116, 0.9));
}

.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(--sky);
}

.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);
  box-shadow: var(--soft-shadow);
}

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

.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);
  box-shadow: var(--soft-shadow);
}

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

.service-list article:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: inset 0 4px 0 var(--sky);
}

.service-list span {
  display: inline-flex;
  margin-bottom: 5.2rem;
  color: var(--cyan);
  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.72);
  box-shadow: var(--soft-shadow);
}

.process-track article::before {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 3.4rem;
  border: 8px solid rgba(114, 188, 231, 0.26);
  border-top-color: var(--navy);
  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(--sky);
}

.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:
    radial-gradient(circle at 20% 20%, rgba(114, 188, 231, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--navy), #15233a 70%);
  box-shadow: var(--shadow);
}

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

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

.contact-panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-panel a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
}

.contact-panel a:hover {
  border-color: rgba(201, 233, 251, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.contact-panel span {
  color: #c9e9fb;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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: 1.5rem;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  max-width: 680px;
  text-align: right;
}

@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;
  }

  .brand {
    width: 158px;
  }

  .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;
  }

  .footer-contact {
    justify-content: flex-start;
    text-align: left;
  }

  .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;
  }
}
