:root {
  --ink: #14213d;
  --ink-2: #24324a;
  --text: #253044;
  --muted: #667085;
  --line: #d8dee8;
  --panel: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef7f2;
  --green: #0f8f5f;
  --green-dark: #0b6b49;
  --gold: #d79524;
  --red: #b54708;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.08rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(15, 143, 95, 0.7);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.62rem 0.82rem;
  border-radius: var(--radius);
  font-size: 0.94rem;
  color: var(--ink-2);
  font-weight: 650;
}

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

.nav-links .nav-cta {
  margin-left: 0.3rem;
  background: var(--green);
  color: #ffffff;
}

.nav-links .nav-cta:hover {
  background: var(--green-dark);
  color: #ffffff;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(10, 21, 39, 0.92), rgba(10, 21, 39, 0.7) 42%, rgba(10, 21, 39, 0.22)),
    url("../images/ithokitops-operations-dashboard.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 4.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c9f3df;
  font-weight: 750;
  font-size: 0.86rem;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0.75rem 0 1rem;
  color: inherit;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.cta-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.1;
}

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

.button.primary:hover {
  background: var(--green-dark);
}

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.button.light:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.proof-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-item {
  min-height: 112px;
  padding: 1.25rem;
  background: var(--surface);
}

.proof-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.93rem;
}

.section {
  padding: 4.8rem 0;
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head h2,
.page-section h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p,
.page-hero p,
.page-section > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.05);
}

.card h3 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.25;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: var(--surface-2);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.ops-list {
  display: grid;
  gap: 0.8rem;
}

.ops-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.status-dot.gold {
  background: var(--gold);
}

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

.ops-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  background: var(--ink);
  color: #ffffff;
  padding: 4.8rem 0;
}

.page-hero .container {
  display: grid;
  gap: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-section {
  padding: 4rem 0;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 1.3rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h2 {
  font-size: 1.25rem;
}

.service-row ul,
.check-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.service-row li,
.check-list li {
  margin: 0.35rem 0;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
}

.contact-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
}

.contact-block h2,
.contact-block h3 {
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.email-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green-dark);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cta-band {
  background: var(--ink);
  color: #ffffff;
  padding: 3rem 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 2rem 0;
  background: #0d1727;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-grid a {
  color: #ffffff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

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

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

  .nav-links a {
    width: 100%;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 78vh;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 4rem 0 3rem;
  }

  .proof-grid,
  .grid.three,
  .grid.two,
  .split,
  .contact-panel,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .cta-band .container {
    display: grid;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

@media (max-width: 560px) {
  .nav-wrap,
  .container,
  .hero-inner,
  .proof-grid,
  .footer-grid {
    width: min(100% - 1.2rem, var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .section,
  .page-section {
    padding: 3rem 0;
  }

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

  .button {
    width: 100%;
  }
}
