:root {
  --ink: #151821;
  --muted: #626a75;
  --paper: #f6f1ea;
  --surface: #ffffff;
  --accent: #d87545;
  --accent-dark: #9d5135;
  --deep: #1f3f4a;
  --blue: #2f7186;
  --mist: #dfe9ee;
  --line: #ded7cf;
  --shadow: 0 20px 50px rgba(21, 24, 33, 0.12);
}

* {
  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.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 236, 0.92);
  border-bottom: 1px solid rgba(31, 63, 74, 0.12);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 650;
}

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

.nav-links a,
.ghost-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.ghost-link:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(15, 18, 26, 0.88), rgba(15, 18, 26, 0.5) 50%, rgba(15, 18, 26, 0.1)),
    url("img/hero-ai.png") center / cover;
  color: #fff;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8d7a9;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.content-block .eyebrow,
.section-head .eyebrow {
  color: var(--accent-dark);
}

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

.hero h1 {
  width: min(850px, 100%);
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 7.5rem);
}

.hero p {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(216, 117, 69, 0.25);
}

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

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

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 56px 0;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.equipment-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .number {
  color: var(--blue);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 28px;
  font-size: 1.55rem;
}

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

.text-link {
  color: var(--deep);
  font-weight: 900;
}

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

.split.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.media-frame {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.content-block h2 {
  font-size: clamp(2rem, 4vw, 4.7rem);
}

.content-block p {
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-band {
  background: var(--deep);
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-item {
  min-height: 180px;
  padding: 28px;
  background: var(--deep);
}

.proof-item strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: #f7d8a8;
}

.proof-item span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.equipment-list {
  display: grid;
  gap: 18px;
}

.equipment-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
}

.equipment-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.equipment-card img.product-contain {
  object-fit: contain;
  padding: 22px;
  background: #fff;
}

.equipment-card div {
  padding: 28px;
}

.equipment-card h2,
.equipment-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

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

.page-hero {
  padding: 84px 0 64px;
  background:
    linear-gradient(90deg, rgba(21, 24, 33, 0.86), rgba(21, 24, 33, 0.46)),
    url("img/background1.webp") center / cover;
  color: #fff;
}

.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
}

.gallery {
  columns: 3 260px;
  column-gap: 18px;
}

.gallery img {
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partner-band {
  background:
    linear-gradient(180deg, rgba(223, 233, 238, 0.5), rgba(255, 255, 255, 0.95));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-band .section-head {
  max-width: 760px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: center;
}

.partner-logo {
  position: relative;
  max-width: 760px;
  height: clamp(300px, 42vw, 420px);
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
}

.cta {
  background:
    linear-gradient(90deg, rgba(31, 63, 74, 0.94), rgba(216, 117, 69, 0.76)),
    url("img/managed.webp") center / cover;
  color: #fff;
}

.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 58px 0 26px;
  background: #101916;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 9px;
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.72);
}

.contact-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7d8a8;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.copyright {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .section-head,
  .split,
  .split.reverse,
  .equipment-card,
  .cta .wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 760px;
  }
}

@media (max-width: 560px) {
  .brand strong {
    max-width: 170px;
  }

  .section {
    padding: 66px 0;
  }

  .hero-inner {
    padding: 86px 0 54px;
  }

  .media-frame,
  .media-frame img {
    min-height: 300px;
  }
}
