:root {
  --ink: #172026;
  --muted: #5d6871;
  --line: #d8dee2;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0f7b75;
  --teal-dark: #0c5b56;
  --copper: #b75f32;
  --moss: #637244;
  --sun: #e2b44d;
  --soft: #eef3ef;
  --shadow: 0 18px 42px rgba(23, 32, 38, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.skip-link {
  left: 1rem;
  padding: 0.55rem 0.8rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid rgba(216, 222, 226, 0.75);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 72px;
  padding: 0 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.menu-toggle {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

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

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 720;
  padding: 0.55rem 0.72rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.button.light {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero {
  min-height: 660px;
  position: relative;
  overflow: hidden;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(10, 16, 18, 0.86) 0%, rgba(10, 16, 18, 0.62) 42%, rgba(10, 16, 18, 0.16) 76%),
    linear-gradient(0deg, rgba(10, 16, 18, 0.42), rgba(10, 16, 18, 0.05));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-inner {
  color: var(--white);
  display: grid;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 660px;
  padding: 4.8rem 1.25rem 4rem;
  place-items: center start;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 710px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  max-width: 780px;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  margin-top: 1.1rem;
  max-width: 690px;
}

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

.hero-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.4rem;
  max-width: 720px;
  padding-top: 1.2rem;
}

.proof-item strong {
  display: block;
  font-size: 1.05rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.92rem;
}

.band {
  padding: 5rem 1.25rem;
}

.band.white {
  background: var(--white);
}

.band.ink {
  background: var(--ink);
  color: var(--white);
}

.band.soft {
  background: var(--soft);
}

.wrap {
  margin: 0 auto;
  max-width: 1180px;
}

.section-head {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  margin-bottom: 2rem;
}

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

.ink .section-head p,
.ink .muted {
  color: rgba(255, 255, 255, 0.72);
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.03);
  padding: 1.35rem;
}

.card.dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.card p,
.service-item p,
.timeline p,
.case p {
  color: var(--muted);
  margin-top: 0.55rem;
}

.service-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1rem 0;
  max-height: 360px;
  object-fit: contain;
  object-position: left center;
  padding: 0.5rem;
  width: 100%;
}

.service-media {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 160px);
  margin: 1rem 0;
}

.service-media .service-preview,
.service-media .platform-row {
  margin: 0;
}

.service-media .platform-row {
  grid-template-columns: 1fr;
}

.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.icon {
  align-items: center;
  background: var(--soft);
  border-radius: 8px;
  color: var(--teal-dark);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.icon svg {
  height: 23px;
  width: 23px;
}

.service-list {
  display: grid;
  gap: 0;
}

.service-heading {
  align-items: start;
  display: flex;
  gap: 0.8rem;
}

.service-heading h2 {
  font-size: clamp(1.35rem, 1.85vw, 1.8rem);
  line-height: 1.18;
  margin-top: 0;
}

.service-mark {
  align-items: center;
  background: var(--soft);
  border: 1px solid #d7e0d8;
  border-radius: 8px;
  color: var(--teal-dark);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.service-mark svg {
  height: 23px;
  width: 23px;
}

.service-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  padding: 1.55rem 0;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.tag {
  align-items: center;
  background: #e9eee8;
  border: 1px solid #d5ddd4;
  border-radius: 999px;
  color: #31413a;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 720;
  gap: 0.28rem;
  padding: 0.28rem 0.58rem;
}

.tag img {
  flex: 0 0 auto;
  height: 14px;
  object-fit: contain;
  width: 14px;
}

.platform-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  margin-top: 1rem;
}

.platform {
  align-items: center;
  background: #f9fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  min-height: 92px;
  padding: 0.75rem 0.55rem;
  text-align: center;
  overflow: hidden;
}

.platform img {
  height: 30px;
  max-width: 100%;
  object-fit: contain;
  width: min(56px, 100%);
}

.platform span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.2;
}

.project-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2rem;
}

.project-strip a {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
  min-height: 96px;
  padding: 1rem;
}

.project-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-top: 0.35rem;
}

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

.visual-panel {
  background:
    radial-gradient(circle at 88% 18%, rgba(226, 180, 77, 0.28), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #edf2ee 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 440px;
  overflow: hidden;
  padding: 1rem;
}

.browser-frame {
  background: var(--white);
  border: 1px solid #cad4d4;
  border-radius: 8px;
  height: 100%;
  min-height: 405px;
  overflow: hidden;
}

.browser-top {
  align-items: center;
  background: #edf1ee;
  border-bottom: 1px solid #d5dcda;
  display: flex;
  gap: 0.42rem;
  height: 44px;
  padding: 0 0.85rem;
}

.dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.dot.red { background: #c85b43; }
.dot.yellow { background: #d8a733; }
.dot.green { background: #5b8a62; }

.browser-body {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 0.7fr 1.3fr;
  padding: 1rem;
}

.sidebar-lines,
.content-lines {
  display: grid;
  gap: 0.7rem;
}

.line {
  background: #dfe7e2;
  border-radius: 999px;
  height: 12px;
}

.line.short { width: 64%; }
.line.mid { width: 82%; }
.line.full { width: 100%; }

.metric-row {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.metric {
  background: #f8faf7;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  min-height: 88px;
  padding: 0.9rem;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
}

.timeline {
  counter-reset: steps;
  display: grid;
  gap: 1rem;
}

.timeline article {
  border-left: 3px solid var(--teal);
  padding: 0.15rem 0 1.35rem 1.2rem;
  position: relative;
}

.timeline article::before {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: var(--white);
  content: counter(steps);
  counter-increment: steps;
  display: flex;
  font-size: 0.86rem;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  left: -16px;
  position: absolute;
  top: 0;
  width: 30px;
}

.case {
  background: var(--white);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.05);
  padding: 1.35rem;
}

.case-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1rem;
  max-height: 88px;
  object-fit: contain;
  padding: 0.8rem;
  width: 100%;
}

.case-preview {
  aspect-ratio: 16 / 6;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1rem 0;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.text-link {
  color: var(--teal);
  display: inline-flex;
  font-weight: 820;
  margin-top: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.case-gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.case-photo {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.case:nth-child(2) { border-top-color: var(--copper); }
.case:nth-child(3) { border-top-color: var(--moss); }
.case:nth-child(4) { border-top-color: var(--sun); }

.cta {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.6rem;
  max-width: 760px;
}

.page-hero {
  background:
    linear-gradient(125deg, rgba(23, 32, 38, 0.96), rgba(31, 67, 61, 0.92)),
    url("../img/it-services-hero.png") center / cover;
  color: var(--white);
  padding: 4.8rem 1.25rem 3.3rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  margin-top: 1rem;
  max-width: 760px;
}

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

.contact-box {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  padding: 1.5rem;
}

.contact-box a {
  color: #9ce2d7;
  font-weight: 760;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

label {
  color: var(--ink);
  font-weight: 780;
}

input,
select,
textarea {
  border: 1px solid #cbd4d8;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 0.75rem 0.8rem;
  width: 100%;
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 123, 117, 0.3);
  outline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #10171b;
  color: var(--white);
  padding: 2.5rem 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.operator {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-top: 0.55rem;
}

.operator strong {
  color: var(--white);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
  color: #9ce2d7;
}

.legal-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.legal-list div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.7rem;
}

.legal-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 760;
}

.legal-list dd {
  margin: 0.1rem 0 0;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    padding: 0 0 1rem;
  }

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

  .nav-links a {
    padding: 0.7rem 0.75rem;
  }

  .section-head,
  .split,
  .contact-layout,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-media {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .brand-text small {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-inner {
    padding-top: 4.4rem;
  }

  .hero-proof,
  .grid.three,
  .grid.two,
  .project-strip,
  .platform-row,
  .metric-row,
  .browser-body {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 3.6rem 1rem;
  }

  .page-hero {
    padding: 3.2rem 1rem 2.4rem;
  }

  h1 {
    font-size: 1.85rem;
  }
}
