:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #1c2430;
  --muted: #5b6774;
  --line: #d9e2e4;
  --brand: #0f6e6a;
  --brand-dark: #143d3b;
  --brand-soft: #e6f3f2;
  --cta: #d97706;
  --cta-ink: #fff7ed;
  --ok: #2e7d6f;
  --danger: #b42318;
  --shadow: 0 12px 40px rgba(20, 61, 59, 0.08);
  --radius: 18px;
  --header: 76px;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --display: "Unbounded", "Golos Text", sans-serif;
}

* { 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;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
p { margin: 0 0 1em; color: var(--muted); }
.lead { font-size: 1.15rem; max-width: 42rem; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 16px; z-index: 80; background: #fff; padding: 8px 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 0.95rem var(--font);
  cursor: pointer;
  transition: 0.18s ease;
}
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: #b45309; color: #fff; }
.btn-dark { background: var(--brand-dark); color: #fff; }
.btn-dark:hover { background: #0c2c2a; color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-line {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

.logo-mark { color: var(--brand); }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { color: #e8f3f2; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}
.logo:hover { color: var(--brand); }
.logo-mark { width: 36px; height: 36px; display: block; }
.logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a, .nav-drop > span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
}
.nav a:hover, .nav-drop:hover > span { color: var(--brand); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop > span { cursor: default; }
.nav-drop > span::after { content: "▾"; font-size: 0.7em; margin-left: 6px; opacity: .6; }
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown { display: grid; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone { color: var(--ink); font-weight: 600; white-space: nowrap; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.hero {
  background:
    linear-gradient(180deg, rgba(20,61,59,.2), rgba(20,61,59,.55)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.05) 46px 48px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.05) 46px 48px),
    radial-gradient(1200px 500px at 80% 0%, #1d6f6a, var(--brand-dark));
  color: #fff;
  padding: 72px 0 80px;
}
.hero-photo {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(20, 61, 59, 0.42) 0%, rgba(20, 61, 59, 0.78) 100%),
    url("../images/hero-cleanroom.png?v=3") center / cover no-repeat;
}
.card-media { padding: 0; overflow: hidden; }
.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--brand-soft);
}
.card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.page-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  margin: 4px 0 28px;
  background: var(--brand-soft);
}
.faq { margin: 8px 0 72px; max-width: 760px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.hero h1, .hero p { color: #fff; }
.hero p { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.pill {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.9);
}

.section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card-link { display: flex; flex-direction: column; color: inherit; height: 100%; }
.card-link:hover { border-color: var(--brand); color: inherit; }
.card-link .more { margin-top: auto; color: var(--brand); font-weight: 600; }

.steps { counter-reset: step; }
.steps li {
  list-style: none;
  position: relative;
  padding-left: 56px;
  margin: 0 0 22px;
}
.steps { margin: 0; padding: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.page-hero {
  padding: 48px 0 24px;
}
.crumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }

form { display: grid; gap: 12px; }
label { font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: 1rem var(--font);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 0.82rem; color: var(--muted); }

.site-footer {
  background: var(--brand-dark);
  color: #d7e6e4;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 8px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: 0.85rem; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--brand-soft); }

@media (max-width: 980px) {
  .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
  .phone { display: none; }
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }
  .dropdown { position: static; display: grid; box-shadow: none; border: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin: 0 0 1.2em;
  padding: 0;
}
.check-grid li { margin: 0 0 6px; }
.lead-box { margin: 8px 0 72px; }
.lead-box h3 { margin-bottom: 8px; }
.lead-next {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.88rem;
}
.consent input { width: auto; margin-top: 4px; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.sticky-cta {
  display: none;
}
@media (max-width: 980px) {
  .check-grid { grid-template-columns: 1fr; }
  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 76px; }
}
