:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-alt: #f1f5f4;
  --text: #1f2528;
  --muted: #667175;
  --line: #dbe3e1;
  --primary: #0f5b5c;
  --primary-dark: #0a4243;
  --support: #3e6f8f;
  --accent: #c45f4d;
  --accent-soft: #f6e6e1;
  --shadow: 0 18px 40px rgba(31, 37, 40, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 760;
}

h3 {
  font-size: 1.28rem;
  font-weight: 720;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid rgba(219, 227, 225, 0.86);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.95rem;
}

.brand span:last-child {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--surface-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  color: var(--primary-dark);
  background: var(--surface);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--surface-alt);
  border-color: #c9d5d2;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero-copy {
  max-width: 680px;
}

.hero-copy p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.13rem;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.proof-number {
  display: block;
  color: var(--primary-dark);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.proof-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.hero-media {
  position: relative;
}

.hero-media img,
.split-media img,
.wide-image img,
.article-hero img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 5;
}

.media-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: min(245px, 82%);
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 35px rgba(31, 37, 40, 0.1);
}

.media-note strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.25rem;
  line-height: 1.1;
}

.media-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.section {
  padding: 78px 0;
}

.section-tight {
  padding: 54px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  color: #ffffff;
  background: #17383a;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p,
.section-dark .muted {
  color: #d8e2e0;
}

.section-dark .cta-band h2 {
  color: var(--text);
}

.section-dark .cta-band p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.section-head.center {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.center p {
  margin: 16px auto 0;
}

.kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 37, 40, 0.045);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--primary-dark);
  background: #e4efed;
  border-radius: 8px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card p,
.feature-card p,
.blog-card p,
.team-card p,
.contact-card p {
  color: var(--muted);
}

.service-card p {
  margin: 12px 0 0;
}

.feature-card {
  padding: 24px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--primary);
  flex: 0 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.split-media img {
  aspect-ratio: 5 / 4;
}

.split-copy p {
  color: var(--muted);
}

.process {
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 26px;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.testimonial {
  padding: 30px;
}

.quote {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.quote-author {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta-band p {
  max-width: 640px;
  color: var(--muted);
}

.page-hero {
  padding: 68px 0 48px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  border-top: 0;
}

.service-row p {
  color: var(--muted);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.service-details li {
  padding: 14px 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.blog-card {
  overflow: hidden;
}

.blog-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-card h2 {
  font-size: 1.32rem;
  line-height: 1.18;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  color: var(--primary-dark);
  background: #e4efed;
  border-radius: 8px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 760;
}

.read-link svg {
  width: 17px;
  height: 17px;
}

.wide-image img {
  aspect-ratio: 16 / 7;
  max-height: 500px;
}

.team-card {
  padding: 24px;
}

.team-card .role {
  margin: 6px 0 14px;
  color: var(--accent);
  font-weight: 760;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.contact-card {
  padding: 26px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.contact-item svg {
  width: 21px;
  height: 21px;
  margin-top: 4px;
  color: var(--primary);
  flex: 0 0 auto;
}

.form {
  display: grid;
  gap: 16px;
}

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

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 720;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #cfdad7;
  border-radius: 8px;
  outline: 0;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 91, 92, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 650;
}

.article {
  padding: 64px 0 78px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(250px, 1fr);
  gap: 52px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 1.9rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-hero {
  margin: 30px 0 4px;
}

.article-hero img {
  aspect-ratio: 16 / 9;
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 22px;
}

.sidebar p {
  color: var(--muted);
}

.site-footer {
  padding: 54px 0 30px;
  color: #dce6e4;
  background: #122f31;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(140px, 0.5fr));
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .brand {
  color: #ffffff;
}

.footer-copy {
  max-width: 420px;
  margin-top: 16px;
  color: #b8c7c4;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 9px;
  color: #b8c7c4;
}

.footer-col a:hover,
.footer-col a:focus {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: #a8bab7;
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .cta-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-layout {
    gap: 28px;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 2.55rem;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-proof,
  .hero-actions,
  .section-actions,
  .form-row,
  .service-details,
  .grid-4,
  .grid-3,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

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

  .media-note {
    right: 12px;
    bottom: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 46px 0 36px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wide-image img {
    aspect-ratio: 4 / 3;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.35rem;
  }

  .brand span:last-child {
    max-width: 170px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .cta-band {
    padding: 24px;
  }
}
