:root {
  --blue: #0068d7;
  --blue-dark: #0054b0;
  --blue-soft: #e8f2fc;
  --black: #18171a;
  --anthracite: #1c1c1c;
  --text: #5d5c60;
  --muted: #8b8a8e;
  --line: #ececec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --white: #ffffff;
  --header-h: 88px;
  --container: 1240px;
  --radius: 0;
  --shadow: 0 18px 40px rgba(24, 23, 26, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

[hidden] {
  display: none !important;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.logo span,
.btn,
.eyebrow,
.nav a,
.stat-num,
.process-num,
.card-title,
.product-specs th {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.35em;
  line-height: 1.12;
  font-weight: 600;
}

h1 { font-size: clamp(40px, 5.4vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 26px; }

p { margin: 0 0 1em; }

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

.eyebrow {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 36px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn:hover,
.btn-header:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-header {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 15px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.logo span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--black);
  position: relative;
  padding: 6px 0;
}

.nav a.is-active,
.nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--black);
  padding: 10px;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  padding: 24px 0 0;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 28px;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(34px, 4.4vw, 58px);
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  pointer-events: none;
}

.hero-nav button {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--black);
  cursor: pointer;
  padding: 14px;
}

.hero-nav button:hover {
  background: var(--white);
}

.hero-nav button:first-child svg {
  transform: rotate(-90deg);
}

.hero-nav button:last-child svg {
  transform: rotate(90deg);
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 16ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.why-card,
.value-card,
.product-card,
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card,
.why-card,
.value-card,
.product-card {
  padding: 32px 28px;
}

.service-card:hover,
.product-card:hover,
.project-card:hover,
.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 22px;
}

.icon-box svg,
.svc-icon svg,
.check svg,
.contact-icon svg,
.float-wa svg,
.to-top svg,
.hero-nav svg {
  width: 24px;
  height: 24px;
}

.service-card h3,
.product-card h3,
.why-card h3,
.value-card h3 {
  font-size: 22px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img,
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-visual {
  min-height: 380px;
  overflow: hidden;
}

.split-visual img {
  height: 380px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--black);
  font-weight: 500;
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--blue);
  margin-top: 2px;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-box {
  min-width: 150px;
  padding: 18px 22px;
  background: var(--bg-soft);
}

.stat-num {
  display: block;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.stat-box span:last-child {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--black);
}

.svc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.svc-photo {
  min-height: 560px;
  overflow: hidden;
}

.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-item.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.svc-item.is-active h3,
.svc-item.is-active p {
  color: var(--white);
}

.svc-icon {
  color: var(--blue);
}

.svc-item.is-active .svc-icon {
  color: var(--white);
}

.svc-item h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.svc-item p {
  margin: 0;
  font-size: 15px;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.portfolio-strip a,
.portfolio-strip article {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.portfolio-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-strip a:hover img {
  transform: scale(1.05);
}

.portfolio-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--white);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.portfolio-cap strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
}

.process-grid,
.why-grid,
.product-grid,
.project-grid,
.value-grid {
  display: grid;
  gap: 24px;
}

.process-grid,
.why-grid,
.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.value-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.process-card {
  position: relative;
}

.process-num {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 0 #fff;
  z-index: 1;
}

.process-card h3,
.project-card h3 {
  margin: 18px 18px 8px;
  font-size: 22px;
}

.process-card p,
.project-card p {
  margin: 0 18px 22px;
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-tag {
  display: inline-block;
  margin: 16px 18px 0;
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 56px;
  background: var(--anthracite);
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin: 0;
  max-width: 48ch;
}

.page-hero {
  padding: 72px 0 28px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.product-card .icon-box {
  margin-bottom: 18px;
}

.product-card-media {
  padding: 0;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card-body {
  padding: 28px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
}

.specs th,
.specs td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.specs th {
  width: 38%;
  font-size: 15px;
}

.item-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.item-list article {
  padding: 22px 24px;
  border: 1px solid var(--line);
}

.item-list h3 {
  font-size: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-list li,
.contact-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--black);
  font-weight: 500;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 44px;
}

.form {
  display: grid;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form label {
  display: grid;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 14px 16px;
  font: inherit;
  color: var(--black);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--blue);
  background: var(--white);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 14px 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.alert-ok {
  background: #e9f8ee;
  color: #146c2e;
}

.alert-err {
  background: #fdecec;
  color: #9b1c1c;
}

.map-wrap {
  margin-top: 48px;
  min-height: 360px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.site-footer {
  background: var(--anthracite);
  color: #cfcfcf;
  padding: 64px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 42px;
}

.logo-light span,
.footer-welcome,
.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-welcome {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 42px;
}

.site-footer h2 {
  font-size: 34px;
  max-width: 12ch;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .btn {
  margin-top: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.float-wa,
.to-top {
  position: fixed;
  right: 22px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  border: 0;
  cursor: pointer;
}

.float-wa {
  bottom: 84px;
  border-radius: 50%;
}

.to-top {
  bottom: 22px;
  opacity: 0;
  pointer-events: none;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-open {
  overflow: hidden;
}

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

@media (max-width: 1100px) {
  .service-grid,
  .process-grid,
  .why-grid,
  .product-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid,
  .portfolio-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .svc-layout,
  .contact-layout,
  .hero-top {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-head,
  .cta-band,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .svc-photo {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 20px 28px;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav a {
    padding: 12px 4px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .btn-header {
    display: none;
  }

  .service-grid,
  .process-grid,
  .why-grid,
  .product-grid,
  .project-grid,
  .value-grid,
  .portfolio-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .split-visual img,
  .hero-media img {
    height: 280px;
  }

  .form,
  .cta-band {
    padding: 24px;
  }

  .header-actions .btn-header {
    display: none;
  }
}
