:root {
  --blue: #80c9db;
  --blue-d: #5aaec2;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-2: #f6f7f8;
  --dark: #555555;
  --header: #555555;
  --max: 1120px;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 0.55em; letter-spacing: 0.02em; line-height: 1.15; text-transform: uppercase; font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--blue); color: #fff; padding: 8px; z-index: 99; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.dotted { border: 0; border-top: 1px dotted #cfcfcf; margin: 28px 0; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 16px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 58px;
  width: auto;
  max-width: 170px;
  display: block;
}
.logo svg { width: 42px; height: 42px; }
.logo__name {
  font-weight: 700; letter-spacing: 0.18em; font-size: 18px; color: #fff;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav__btn {
  padding: 10px 12px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer; color: #fff;
}
.nav a:hover, .nav a.is-active, .nav__btn:hover { color: var(--blue); }
.nav__drop { position: relative; }
.nav__menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: block; }
.nav__menu a { display: block; text-transform: none; letter-spacing: 0; color: var(--ink); }
.nav__menu a:hover { color: var(--blue); background: var(--bg-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 13px; cursor: pointer; transition: 0.15s;
}
.btn--blue { background: var(--blue); color: #1c1c1c; }
.btn--blue:hover { background: var(--blue-d); }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.header .btn--ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.header .btn--ghost:hover { background: #fff; color: var(--header); }
.btn--white { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.header__cta { display: flex; gap: 8px; align-items: center; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.35);
  background: transparent; position: relative; cursor: pointer;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff;
}
.burger span { top: 20px; }
.burger::before { top: 13px; }
.burger::after { top: 27px; }

.hero {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh;
  background: #fff;
}
.hero__copy { padding: 72px 8% 56px; display: flex; flex-direction: column; justify-content: center; }
.kicker { font-size: 14px; font-weight: 500; margin-bottom: 12px; color: var(--muted); text-transform: lowercase; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(28px, 4.2vw, 48px); max-width: 14ch; }
.hero p { color: var(--muted); max-width: 48ch; }
.hero__photo { min-height: 420px; background: #111 center/cover no-repeat; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.banner {
  min-height: 420px; display: grid; align-items: end;
  background: #123 center/cover no-repeat; color: #fff; position: relative;
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,37,58,0.82), rgba(16,37,58,0.25));
}
.banner .container { position: relative; padding: 56px 0; }
.banner h2 { font-size: clamp(26px, 4vw, 42px); }
.banner p { max-width: 58ch; opacity: 0.92; }

.section { padding: 72px 0; }
.section--gray { background: var(--bg-2); }
.lead { color: var(--muted); max-width: 70ch; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  display: block; background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.cat:hover { border-color: var(--blue); transform: translateY(-3px); }
.cat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #eee; }
.cat__body { padding: 16px 16px 18px; }
.cat h3 { font-size: 16px; margin: 0 0 6px; }
.cat p { color: var(--muted); font-size: 14px; margin: 0; text-transform: none; letter-spacing: 0; }

.grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.tile { background: #fff; border: 1px solid var(--line); padding: 22px; }
.tile h3 { font-size: 16px; }
.tile p { color: var(--muted); margin: 0; font-size: 14px; text-transform: none; letter-spacing: 0; }

.product {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: center;
  padding: 28px 0; border-bottom: 1px dotted #d7d7d7;
}
.product img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #f3f4f5; }
.product h3 { font-size: 18px; text-transform: none; letter-spacing: 0; }
.product p, .product li { color: var(--muted); }
.product ul { margin: 0; padding-left: 18px; }

.why { color: #fff; background: #111 center/cover no-repeat; position: relative; }
.why::before { content: ""; position: absolute; inset: 0; background: rgba(10,16,24,0.72); }
.why .container { position: relative; }
.why li { margin: 0 0 8px; }

.page-hero { padding: 48px 0 20px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; text-transform: none; }
.crumbs a:hover { color: var(--blue); }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); max-width: 18ch; }

.prose { max-width: 78ch; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3 { font-size: 16px; text-transform: none; letter-spacing: 0; }
.prose p, .prose li { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--bg-2); }

.contacts { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list small { display: block; color: var(--blue); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-list li { margin: 0 0 14px; }
.contact-list a, .contact-list span { font-weight: 700; }
.map { width: 100%; min-height: 420px; border: 1px solid var(--line); }

.form { display: grid; gap: 12px; border: 1px solid var(--line); padding: 20px; background: #fff; }
.form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  border: 1px solid var(--line); padding: 11px 12px; outline: none; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form__ok { color: #1f7a46; font-weight: 700; margin: 0; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 16px 28px 16px 0;
  font-weight: 700; cursor: pointer; position: relative;
}
.faq__q::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--blue); }
.faq__item.is-open .faq__q::after { content: "–"; }
.faq__a { display: none; color: var(--muted); padding: 0 0 16px; }
.faq__item.is-open .faq__a { display: block; }

.footer .logo img { height: 52px; margin-bottom: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; margin-bottom: 28px; }
.footer h3 { color: #fff; font-size: 12px; letter-spacing: 0.14em; }
.footer a, .footer p { color: #b8b8b8; font-size: 14px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: var(--blue); }
.footer__copy { border-top: 1px solid #2a2a2a; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #888; }

.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.wa svg { width: 28px; height: 28px; }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; place-items: center; z-index: 80; padding: 16px;
}
.modal.is-open { display: grid; }
.modal__box { width: min(440px, 100%); background: #fff; padding: 22px; position: relative; }
.modal__close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 24px; cursor: pointer; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.seo {
  background: var(--bg-2);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.seo h2 { font-size: 22px; }
.seo p, .seo li { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tags a, .tags span {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 12px;
  font-size: 13px;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
}
.tags a:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 980px) {
  .hero, .cats, .grid-3, .grid-2, .product, .contacts, .footer__grid, .two-col { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #4a4a4a; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid #666; padding: 8px 16px 20px;
  }
  .nav.is-open { display: flex; }
  .nav__menu { position: static; display: none; border: 0; box-shadow: none; background: #4a4a4a; }
  .nav__menu a { color: #fff; }
  .nav__drop.is-open .nav__menu { display: block; }
  .header__cta .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
