:root {
  --ink: #17201f;
  --muted: #5c6764;
  --line: #dce3df;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --teal: #0d6b68;
  --teal-deep: #094643;
  --red: #b74444;
  --amber: #d99a2b;
  --sky: #dceff2;
  --shadow: 0 18px 60px rgba(15, 31, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(251, 252, 250, 0.93);
  border-bottom: 1px solid rgba(220, 227, 223, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--red));
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.brand strong,
.brand em {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
  font-weight: 750;
}

.brand em {
  color: var(--muted);
  font-size: 0.73rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #31403d;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 15px;
  color: #ffffff;
  background: var(--teal-deep);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 126px);
  overflow: hidden;
  background: #16201f;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 20, 19, 0.86), rgba(12, 20, 19, 0.48) 52%, rgba(12, 20, 19, 0.12)),
    linear-gradient(0deg, rgba(12, 20, 19, 0.3), rgba(12, 20, 19, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 88px 48px 78px;
  color: #ffffff;
}

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

.hero h1 {
  max-width: 12em;
  margin: 0;
  font-size: 4.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-name {
  margin: 18px 0 0;
  color: #dceff2;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9d3434;
}

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

.button.full {
  width: 100%;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  padding: 22px 48px;
  background: #ffffff;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--teal-deep);
  font-size: 0.96rem;
}

.signal-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 92px 48px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading h2,
.media-copy h2,
.digital-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.6rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.media-copy p,
.digital-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.process-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 31, 30, 0.06);
}

.service-number {
  display: inline-grid;
  width: 46px;
  height: 30px;
  place-items: center;
  color: var(--teal-deep);
  background: var(--sky);
  border-radius: 999px;
  font-weight: 800;
}

.service-card h3,
.process-grid h3,
.feature-list h3 {
  margin: 22px 0 10px;
  font-size: 1.22rem;
  line-height: 1.26;
}

.service-card p,
.process-grid p,
.feature-list p {
  margin: 0;
  color: var(--muted);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 54px;
  align-items: center;
  padding: 92px 48px;
  background: #eef5f3;
}

.media-copy {
  max-width: 620px;
  justify-self: end;
}

.category-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.category-list li {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-weight: 700;
}

.image-panel {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.digital {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.dashboard-visual {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(13, 107, 104, 0.95), rgba(23, 32, 31, 0.96)),
    #173431;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
}

.dashboard-top span,
.metric-row span,
.dashboard-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.dashboard-top strong {
  max-width: 180px;
  text-align: right;
}

.metric-row {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.metric-row strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.45rem;
}

.pipeline {
  display: grid;
  height: 160px;
  margin: 26px 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
}

.pipeline span {
  display: block;
  height: var(--size);
  background: linear-gradient(180deg, var(--amber), #f1c96c);
  border-radius: 8px 8px 3px 3px;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 13px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.digital-copy {
  max-width: 620px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-list div {
  padding: 0 0 18px 22px;
  border-left: 4px solid var(--red);
}

.feature-list h3 {
  margin-top: 0;
}

.process {
  background: #ffffff;
}

.process-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid article {
  min-height: 235px;
  box-shadow: none;
}

.process-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.7fr);
  gap: 56px;
  align-items: start;
  padding: 92px 48px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(13, 30, 29, 0.9), rgba(13, 30, 29, 0.62)),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.contact-copy {
  max-width: 720px;
  justify-self: end;
}

.contact-copy h2,
.contact-copy p {
  color: #ffffff;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #31403d;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(13, 107, 104, 0.16);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 48px;
  color: #40514e;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-deep);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 24px;
    left: 24px;
    display: none;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-content {
    padding: 74px 28px 64px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .signal-strip,
  .service-grid,
  .media-band,
  .digital,
  .process-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .section,
  .media-band,
  .contact-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .media-copy,
  .contact-copy {
    justify-self: start;
  }

  .digital {
    padding: 78px 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand strong {
    max-width: 13em;
    font-size: 0.9rem;
    line-height: 1.22;
  }

  .brand em {
    max-width: 16em;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .site-nav {
    top: 66px;
    right: 16px;
    left: 16px;
  }

  .hero {
    min-height: calc(100svh - 112px);
  }

  .hero-content {
    padding: 58px 20px 48px;
  }

  .hero h1 {
    max-width: 8em;
    font-size: 2.48rem;
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-points {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .signal-strip div,
  .section,
  .media-band,
  .contact-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .media-copy h2,
  .digital-copy h2,
  .contact-copy h2 {
    font-size: 2rem;
    line-height: 1.18;
  }

  .category-list,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .image-panel,
  .image-panel img {
    min-height: 300px;
  }

  .digital {
    padding: 66px 20px;
    grid-template-columns: 1fr;
  }

  .dashboard-visual {
    padding: 18px;
  }

  .dashboard-list p {
    display: grid;
    gap: 4px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
    padding: 24px 20px;
  }
}
