:root {
  --ink: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #dbe4ee;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --accent: #168a46;
  --accent-strong: #0f6f37;
  --accent-soft: #e9f7ef;
  --gold: #b78b2d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
  backdrop-filter: blur(18px);
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-name {
  display: block;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-line {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

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

.button.secondary {
  color: var(--accent-strong);
  background: var(--paper);
  border-color: rgba(22, 138, 70, 0.26);
  box-shadow: none;
}

.button.accent {
  background: var(--accent);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  background: var(--paper);
}

.menu-toggle {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  margin-top: 10px;
}

.mobile-menu.is-open {
  display: grid;
  gap: 8px;
}

.mobile-menu a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--wash);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(112deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78)),
    radial-gradient(circle at 80% 10%, rgba(32, 177, 90, 0.45), transparent 35%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: 640px;
  padding: 82px 0;
}

.eyebrow {
  color: #168a46;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee2b7;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 16px 0 0;
  font-size: clamp(2.5rem, 5.2vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

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

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: 28px;
}

.metric-grid {
  display: grid;
  gap: 18px;
}

.metric {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric strong {
  display: block;
  color: var(--paper);
  font-size: 1.05rem;
}

.metric span {
  color: #cbd5e1;
  font-size: 0.94rem;
}

.section {
  padding: 84px 0;
  background: var(--paper);
}

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

.section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-header h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header p,
.page-hero p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

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

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

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

.process {
  counter-reset: step;
}

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

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

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

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

.service-card h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.1;
}

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

.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 20px;
}

.mini-panel h3 {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.method {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
}

.method strong {
  display: block;
  color: var(--accent-strong);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  font-size: 0.93rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--paper);
}

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

  .nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-inner,
  .split,
  .service-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 64px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .service-details,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
