:root {
  --ink: #101820;
  --muted: #66717f;
  --paper: #ffffff;
  --soft: #eef4f2;
  --line: #dce5e2;
  --teal: #04a7a3;
  --green: #21a66b;
  --gold: #d8a548;
  --navy: #13202c;
  --shadow: 0 18px 45px rgba(16, 24, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 8px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--teal);
}

.nav-links a.is-current {
  position: relative;
}

.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--teal);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 18, 25, 0.94) 0%, rgba(9, 18, 25, 0.76) 41%, rgba(9, 18, 25, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 18, 25, 0.72), rgba(9, 18, 25, 0.18) 68%, rgba(9, 18, 25, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 68px;
}

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

.hero h1,
.section-heading h2,
.split-copy h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.05;
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.hero-actions,
.contact-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active,
.service-card:active,
.process-step:active,
.intro-band button:active {
  transform: translateY(0) scale(0.99);
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(4, 167, 163, 0.28);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.button.is-loading {
  opacity: 0.76;
  pointer-events: none;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-band button {
  min-height: 138px;
  padding: 34px clamp(22px, 4vw, 54px);
  border: 0;
  color: inherit;
  text-align: left;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.intro-band button:hover,
.intro-band button:focus-visible {
  z-index: 1;
  background: #f8fffd;
  box-shadow: inset 0 -4px 0 var(--teal);
  outline: 0;
}

.intro-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.intro-band span,
.section-heading p,
.service-card p,
.split-copy p,
.check-list,
.process-grid p,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

.section,
.split-section,
.quote-section,
.contact-section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-heading h2,
.split-copy h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  border-color: rgba(4, 167, 163, 0.45);
  background: #fbfffe;
  box-shadow: 0 18px 42px rgba(4, 167, 163, 0.16);
  outline: 0;
  transform: translateY(-4px);
}

.service-card.is-active .icon {
  background: var(--teal);
}

.service-card .icon,
.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.service-card h3,
.process-grid h3 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.card-action {
  margin-top: auto;
  padding: 0;
  border: 0;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.card-action::after {
  content: " ->";
}

.service-detail {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f3fbf8;
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.06);
}

.service-detail strong {
  display: block;
  margin-bottom: 6px;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  background: var(--soft);
}

.split-copy p {
  max-width: 650px;
  margin: 22px 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
}

.status-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101820;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 18px;
  background: #182432;
}

.panel-top button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.panel-top button:hover,
.panel-top button:focus-visible {
  outline: 0;
  transform: scale(1.35);
  filter: brightness(1.18);
}

.panel-top button:nth-child(2) {
  background: var(--teal);
}

.panel-top button:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #bff4e8;
  font: 600 0.92rem/1.9 "SFMono-Regular", Consolas, monospace;
}

.muted {
  background: #f7faf9;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-step {
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.process-step:hover,
.process-step:focus-visible,
.process-step.is-active {
  border-color: rgba(4, 167, 163, 0.28);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(16, 24, 32, 0.08);
  outline: 0;
  transform: translateY(-3px);
}

.process-step.is-active span {
  background: var(--green);
}

.process-grid span {
  background: var(--teal);
}

.process-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.quote-section {
  color: #ffffff;
  background: var(--navy);
}

blockquote {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
}

.quote-section p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.contact-form {
  flex-direction: column;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(4, 167, 163, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(8, 14, 20, 0.62);
  backdrop-filter: blur(8px);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  padding: 32px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.modal-card p:not(.eyebrow) {
  color: var(--muted);
}

.modal-close {
  float: right;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 44px));
  padding: 15px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  font-weight: 700;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 42px clamp(20px, 6vw, 88px);
  color: #ffffff;
  background: #0b1118;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div:last-child {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer a:not(.brand) {
  color: #bff4e8;
}

@media (max-width: 980px) {
  .service-grid,
  .process-grid,
  .intro-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
    color: inherit;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 18px 22px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 16px 24px rgba(16, 24, 32, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-inner {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

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

  .intro-band,
  .service-grid,
  .process-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .quote-section,
  .contact-section {
    padding: 64px 18px;
  }

  .service-card {
    min-height: 0;
  }

  pre {
    font-size: 0.8rem;
  }
}
