:root {
  --ink: #17202a;
  --muted: #596777;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: #dfe6e2;
  --teal: #0b7d7b;
  --green: #4f8a46;
  --gold: #c58a25;
  --red: #c05a49;
  --deep: #102535;
  --shadow: 0 22px 60px rgba(23, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 247, 0.9);
  border-bottom: 1px solid rgba(223, 230, 226, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.button,
.check-list li,
.ops-note,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  color: var(--deep);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.site-nav {
  gap: clamp(14px, 2vw, 30px);
  color: #314253;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 83svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("../images/hero-ops.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 249, 247, 0.97) 0%, rgba(247, 249, 247, 0.88) 31%, rgba(247, 249, 247, 0.45) 54%, rgba(16, 37, 53, 0.22) 100%),
    linear-gradient(0deg, rgba(247, 249, 247, 0.34), transparent 30%);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  padding: clamp(76px, 13vh, 132px) 0 48px clamp(18px, 6vw, 86px);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: var(--deep);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  color: #314253;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(11, 125, 123, 0.26);
}

.button.secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 37, 53, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 52px 0 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 230, 226, 0.84);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  color: var(--deep);
  font-size: 1.65rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head.compact {
  margin-left: 0;
  text-align: left;
}

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

.service-card,
.case-card,
.plan-card,
.ops-panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
}

.service-card {
  padding: 24px;
  border-top: 5px solid var(--teal);
}

.service-card.accent-green {
  border-top-color: var(--green);
}

.service-card.accent-gold {
  border-top-color: var(--gold);
}

.service-card.accent-red {
  border-top-color: var(--red);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--teal);
}

.service-card.accent-green svg {
  color: var(--green);
}

.service-card.accent-gold svg {
  color: var(--gold);
}

.service-card.accent-red svg {
  color: var(--red);
}

.service-card p,
.case-card p,
.plan-card p,
.split-copy p,
.contact-copy p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: #edf3ef;
}

.split-copy {
  max-width: 720px;
}

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

.check-list li {
  gap: 10px;
  color: #283849;
  font-weight: 700;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.ops-panel {
  padding: 28px;
}

.ops-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  color: var(--muted);
}

.ops-row strong {
  color: var(--deep);
}

.bar {
  height: 10px;
  margin-bottom: 22px;
  overflow: hidden;
  background: #e5ece9;
  border-radius: 999px;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.bar.green span {
  background: var(--green);
}

.bar.gold span {
  background: var(--gold);
}

.ops-note {
  gap: 10px;
  padding: 14px;
  color: #233546;
  background: #f2f6f4;
  border-radius: 8px;
  font-weight: 800;
}

.work {
  background: var(--deep);
}

.work h2,
.work h3 {
  color: var(--white);
}

.work .eyebrow {
  color: #78d2cb;
}

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

.case-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.case-card span {
  color: #e0b15f;
  font-size: 0.84rem;
  font-weight: 900;
}

.case-card p {
  color: #c7d1d9;
}

.plans {
  background: #fbfcfb;
}

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

.plan-card {
  padding: 28px;
}

.plan-card.featured {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.plan-card.featured h3,
.plan-card.featured p,
.plan-card.featured span {
  color: var(--white);
}

.plan-card strong {
  display: block;
  margin-top: 20px;
  color: var(--deep);
  font-size: 2rem;
}

.plan-card.featured strong {
  color: var(--white);
}

.plan-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

address {
  margin-top: 26px;
  color: #2c3d4e;
  font-style: normal;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #2a3c4d;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #d7e0dc;
  border-radius: 8px;
  outline: none;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 125, 123, 0.12);
}

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

.site-footer {
  display: grid;
  gap: 12px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #dbe5e2;
  background: #0b1c27;
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 900;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #dbe5e2;
}

.site-footer small {
  color: #9fb2bc;
}

@media (max-width: 960px) {
  .service-grid,
  .case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: #edf3ef;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247, 249, 247, 0.98), rgba(247, 249, 247, 0.76)),
      linear-gradient(0deg, rgba(247, 249, 247, 0.48), transparent 35%);
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .case-card,
  .plan-card,
  .button {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .service-card:hover,
  .case-card:hover,
  .plan-card:hover {
    transform: translateY(-3px);
  }

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