:root {
  --black: #070908;
  --black-soft: #111411;
  --green: #9bc94f;
  --green-soft: #c1de8e;
  --silver: #c7cac8;
  --paper: #f2f4f0;
  --white: #ffffff;
  --text: #111411;
  --muted: #687068;
  --line: rgba(17, 20, 17, .14);
  --line-light: rgba(255, 255, 255, .13);
  --container: min(1180px, calc(100% - 40px));
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--green);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 108px 0; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 9, 8, .94);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(14px);
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  width: 68px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.brand img { width: 100%; height: 100%; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 26px; color: #e8eae8; font-size: .9rem; }
.nav a { padding: 10px 0; transition: color .2s ease; }
.nav a:hover, .nav a.active { color: var(--green); }
.nav__cta {
  padding: 10px 16px !important;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 86px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 68% 38%, rgba(155, 201, 79, .11), transparent 24%), linear-gradient(135deg, #050605 0%, #0c0f0c 56%, #070807 100%);
}
.hero__grid,
.blueprint__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 90%);
}
.hero__shape { position: absolute; border: 1px solid rgba(155, 201, 79, .2); transform: rotate(45deg); }
.hero__shape--one { width: 430px; height: 430px; right: -160px; top: 110px; }
.hero__shape--two { width: 180px; height: 180px; left: 42%; bottom: -120px; border-color: rgba(255,255,255,.11); }
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 78px;
}
.overline {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d8ddd6;
}
.overline span { width: 38px; height: 1px; display: inline-block; background: var(--green); }
.overline--dark { color: #626a62; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6.2vw, 6.3rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 760;
}
.hero__lead {
  margin: 24px 0 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .42em;
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--green); color: var(--black); }
.button--primary:hover { background: var(--green-soft); }
.button--secondary { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.03); }
.button--secondary:hover { border-color: var(--green); }
.hero__logo-wrap { position: relative; display: grid; justify-items: center; }
.hero__logo-frame {
  width: min(455px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: #000;
  box-shadow: 0 35px 90px rgba(0,0,0,.42);
}
.hero__logo-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }
.hero__badge {
  width: min(280px, 84%);
  margin-top: -24px;
  padding: 16px 20px;
  display: grid;
  gap: 2px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(15,18,15,.96);
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
}
.hero__badge span { color: #929991; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.hero__badge strong { font-size: 1.02rem; }

.section-title { display: grid; gap: 0; margin-bottom: 50px; }
.section-title h2,
.architecture__copy h2,
.protection__heading h2,
.contact__content h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.048em;
}
.services { background: #eef1eb; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  min-height: 270px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(155, 201, 79, .24);
  transform: rotate(45deg);
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(155, 201, 79, .7); }
.service-card--dark { background: var(--black-soft); color: #fff; border-color: rgba(255,255,255,.10); }
.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 201, 79, .55);
}
.service-card__icon svg { width: 31px; height: 31px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card__number { position: absolute; top: 33px; right: 30px; color: #879087; font-size: .72rem; letter-spacing: .14em; font-weight: 900; }
.service-card h3 { margin: 45px 0 0; max-width: 290px; font-size: 1.28rem; line-height: 1.25; }

.architecture { background: #fff; }
.architecture__layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.blueprint {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: #101310;
  box-shadow: 0 28px 70px rgba(0,0,0,.14);
}
.blueprint__grid { opacity: .75; mask-image: none; background-size: 40px 40px; }
.blueprint__diamond { position: absolute; transform: rotate(45deg); border: 2px solid var(--green); }
.blueprint__diamond--a { width: 250px; height: 250px; left: 15%; top: 18%; }
.blueprint__diamond--b { width: 160px; height: 160px; right: 13%; bottom: 13%; border-color: rgba(255,255,255,.48); }
.blueprint__line { position: absolute; background: rgba(255,255,255,.28); }
.blueprint__line--a { width: 64%; height: 1px; left: 18%; top: 50%; }
.blueprint__line--b { width: 1px; height: 66%; left: 50%; top: 17%; }
.blueprint__k {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.78);
  font-family: Georgia, serif;
  font-size: 9rem;
  font-weight: 800;
}
.architecture__copy p:not(.overline) { margin: 24px 0 30px; color: var(--muted); font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #111; font-weight: 850; }
.text-link span { color: var(--green); }

.protection { position: relative; overflow: hidden; background: linear-gradient(135deg, #101310, #060706); color: #fff; }
.protection::after { content: ""; position: absolute; width: 560px; height: 560px; right: -280px; bottom: -330px; border: 1px solid rgba(155,201,79,.16); border-radius: 50%; }
.protection__layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.protection__list { border-top: 1px solid var(--line-light); }
.protection__item { min-height: 116px; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line-light); }
.protection__item span { color: var(--green); font-size: .73rem; font-weight: 900; letter-spacing: .14em; }
.protection__item strong { font-size: clamp(1.14rem, 2vw, 1.55rem); font-weight: 650; }

.contact { background: #e9ece6; }
.contact__card {
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.56);
  box-shadow: 0 22px 60px rgba(0,0,0,.06);
}
.contact__content p:not(.overline) { color: var(--muted); }
.contact__details { display: grid; align-content: start; gap: 16px; }
.contact__row { padding: 16px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.contact__row span { color: #747b74; font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; }
.contact__row strong, .contact__row a { font-size: 1.12rem; font-weight: 850; }
.button--full { width: fit-content; min-width: 170px; margin-top: 8px; }

.footer { padding: 44px 0; background: #050605; color: #d6dad5; }
.footer__inner { display: grid; grid-template-columns: 86px 1fr auto; gap: 30px; align-items: center; }
.footer__logo { width: 78px; height: 78px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #000; }
.footer__logo img { width: 100%; height: 100%; object-fit: contain; }
.footer__text { display: grid; gap: 2px; }
.footer__text strong { letter-spacing: .14em; }
.footer__text span { color: #8f958e; font-size: .88rem; }
.footer__phone { color: var(--green); font-weight: 900; }

@media (max-width: 980px) {
  .section { padding: 86px 0; }
  .menu-button { display: block; }
  .nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    padding: 14px;
    display: grid;
    gap: 2px;
    background: #0a0c0a;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 12px 14px; }
  .nav__cta { border-radius: 10px; }
  .hero { min-height: auto; padding-top: 122px; }
  .hero__content { grid-template-columns: 1fr; gap: 50px; }
  .hero__text { text-align: center; }
  .hero__text .overline { justify-content: center; }
  .hero__buttons { justify-content: center; }
  .hero__logo-wrap { order: -1; }
  .hero__logo-frame { width: min(350px, 72vw); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture__layout, .protection__layout, .contact__card { grid-template-columns: 1fr; }
  .architecture__layout, .protection__layout { gap: 48px; }
  .footer__inner { grid-template-columns: 80px 1fr; }
  .footer__phone { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  .header__inner { min-height: 70px; }
  .brand { width: 60px; height: 50px; }
  .nav { top: 70px; left: 12px; right: 12px; }
  .hero { padding: 108px 0 62px; }
  .hero__content { gap: 38px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero__lead { letter-spacing: .3em; }
  .hero__buttons { display: grid; }
  .button { width: 100%; }
  .section { padding: 68px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 225px; padding: 24px; }
  .service-card__number { top: 27px; right: 24px; }
  .blueprint { min-height: 370px; }
  .blueprint__diamond--a { width: 180px; height: 180px; }
  .blueprint__diamond--b { width: 115px; height: 115px; }
  .blueprint__k { font-size: 6.7rem; }
  .protection__item { min-height: 98px; grid-template-columns: 48px 1fr; }
  .contact__card { padding: 28px 22px; gap: 34px; }
  .contact__row { grid-template-columns: 1fr; gap: 4px; }
  .button--full { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
