﻿:root {
  --primary: #4057d8;
  --primary-strong: #3044c4;
  --secondary: #8797e5;
  --accent: #18b69f;
  --background: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --surface-strong: #eef2f8;
  --border: #dde4ef;
  --text-primary: #202124;
  --text-secondary: #556170;
  --text-muted: #7b8796;
  --success: #127d68;
  --success-bg: #e7f7f3;
  --error: #be3b3b;
  --dark: #111827;
  --dark-2: #172033;
  --radius: 8px;
  --shadow-sm: 0 10px 28px rgba(22, 31, 51, .08);
  --shadow-md: 0 24px 70px rgba(22, 31, 51, .13);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(245, 247, 251, .65), transparent 460px),
    var(--background);
  line-height: 1.58;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
:focus-visible {
  outline: 3px solid rgba(64, 87, 216, .34);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.narrow { width: min(900px, calc(100% - 48px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(221, 228, 239, .86);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  min-height: 84px;
}
.logo {
  display: inline-flex;
  align-items: center;
  width: 188px;
  min-width: 160px;
}
.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-logo {
  width: 210px;
  padding: 0;
  margin-bottom: 20px;
  border-radius: 0;
  background: transparent;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.main-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--primary); background: rgba(64, 87, 216, .07); }
.nav-accent { color: var(--primary); }
.header-contacts {
  display: grid;
  gap: 2px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}
.header-contacts a:first-child { color: var(--text-primary); font-weight: 800; }
.header-contacts a, .site-footer a { transition: color .2s ease; }
.header-contacts a:hover, .site-footer a:hover { color: var(--primary); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--text-primary); }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 760;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(64, 87, 216, .22);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(64, 87, 216, .28); }
.btn-small { min-height: 42px; padding: 10px 14px; font-size: 14px; }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .45); }
.btn-full { width: 100%; }

.section { padding: 104px 0; }
.section-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 22% 78%, rgba(24,182,159,.16), transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(135,151,229,.2), transparent 38%),
    linear-gradient(120deg, #0f1a27 0%, #172033 54%, #202842 100%);
}
.muted { background: var(--surface-soft); }
.section-head {
  max-width: 1120px;
  margin-bottom: 38px;
}
.section-head, .cta-inner > *, .form-layout > *, .registration-form > * { min-width: 0; }
.section-head h2, .final-inner h2, .cta-inner h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}
.section-head h2, .final-inner h2, .cta-inner h2, .hero h1, .speaker h2, .card h3, .case-card h3, .step h3 { overflow-wrap: break-word; }
.section-head p { margin: 0; color: var(--text-secondary); font-size: 18px; max-width: 1120px; }
.section-dark .section-head p { color: rgba(255,255,255,.76); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-dark .eyebrow, .cta-band .eyebrow { color: #aebaff; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  padding: 86px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 26, 39, .9) 0%, rgba(18, 28, 44, .7) 48%, rgba(27, 35, 58, .58) 100%),
    url("./hero-bim-building.png") left center / auto 100% no-repeat;
  opacity: .56;
  transform: scaleX(-1);
  filter: brightness(1.02) contrast(1.02) saturate(.95);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .72fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 760px; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 400;
  letter-spacing: .08em;
  box-shadow: none;
}
.webinar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}
.webinar-meta div {
  min-width: 164px;
  padding: 17px 19px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}
.webinar-meta dt {
  margin: 0 0 2px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 500;
}
.webinar-meta dd {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  justify-self: end;
  width: min(100%, 430px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .54));
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(24px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -28px 52px rgba(64,87,216,.08),
    0 30px 86px rgba(9, 15, 30, .32);
}
.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-panel::before {
  inset: -28%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.5), rgba(255,255,255,.16) 42%, transparent 66%),
    linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.04));
  opacity: .72;
  filter: blur(.2px);
  transform: scale(1.06);
}
.hero-panel::after {
  width: 82%;
  aspect-ratio: 1;
  right: -22%;
  top: -30%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,.08) 58%, transparent 72%);
  box-shadow: inset 0 0 46px rgba(255,255,255,.28);
  opacity: .72;
}
.quick-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quick-form h2 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.form-bonus {
  grid-column: 1 / -1;
  margin: -2px 0 4px;
  color: #4a5668;
  font-size: 13px;
  line-height: 1.35;
}
.quick-form .full,
.quick-form .consent-check,
.quick-form .required-note,
.quick-form .form-success { grid-column: 1 / -1; }
.quick-form .btn { grid-column: 1 / -1; align-self: end; min-height: 46px; padding: 12px 14px; }

label { display: grid; gap: 6px; color: #303948; font-weight: 500; font-size: 12px; }
.js-form label:not(.consent-check) { position: relative; }
.field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  padding: 12px 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:hover, textarea:hover { border-color: #c8d2e3; background: #fbfcff; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(64, 87, 216, .12); }
input::placeholder, textarea::placeholder { color: #8794ad; opacity: 1; }
.required-note {
  margin: -2px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}
.consent-check {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.consent-check span { display: block; }
.consent-check input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(64, 87, 216, .2);
  outline-offset: 2px;
}
.form-success { margin: 0; padding: 12px 14px; border-radius: 6px; background: var(--success-bg); color: var(--success); font-weight: 760; }

.card-grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.five { grid-template-columns: repeat(5, 1fr); }
.card, .case-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(22, 31, 51, .02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .case-card:hover { transform: translateY(-4px); border-color: rgba(64, 87, 216, .38); box-shadow: var(--shadow-sm); }
.card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(64, 87, 216, .09);
  color: var(--primary);
  font-weight: 850;
}
.card h3, .case-card h3, .step h3 { margin: 0 0 10px; font-size: 19px; font-weight: 400; line-height: 1.25; }
.card p, .case-card p, .step p { margin: 0; color: var(--text-secondary); }

.audience-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(64, 87, 216, .12), transparent 29%),
    radial-gradient(circle at 92% 88%, rgba(24, 182, 159, .11), transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, #f4f8fb 100%);
}
.audience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(64, 87, 216, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, rgba(64, 87, 216, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}
.audience-section .container { position: relative; }
.audience-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.audience-grid { gap: 20px; }
.audience-card {
  --audience-color: #4057d8;
  --audience-tint: #e9edff;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px 26px 28px;
  border: 1px solid rgba(64, 87, 216, .16);
  border-top: 5px solid var(--audience-color);
  background: linear-gradient(155deg, var(--audience-tint) 0%, #fff 72%);
  box-shadow: 0 18px 44px rgba(31, 43, 76, .08);
}
.audience-card::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 150px;
  height: 150px;
  border: 24px solid color-mix(in srgb, var(--audience-color) 10%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.audience-card > span {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--audience-color);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--audience-color) 25%, transparent);
}
.audience-card h3 {
  position: relative;
  margin-bottom: 14px;
  color: #172033;
  font-size: 20px;
  font-weight: 600;
}
.audience-card p { position: relative; line-height: 1.6; }
.audience-card:hover {
  border-color: color-mix(in srgb, var(--audience-color) 46%, transparent);
  box-shadow: 0 24px 58px color-mix(in srgb, var(--audience-color) 17%, transparent);
}
.note {
  margin: 30px 0 0;
  padding: 26px 30px;
  border-left: 6px solid var(--primary);
  background: linear-gradient(135deg, rgba(64, 87, 216, .11), rgba(64, 87, 216, .04));
  border-radius: var(--radius);
  color: #202b42;
  font-size: 19px;
  line-height: 1.58;
  box-shadow: 0 18px 48px rgba(64, 87, 216, .13);
}

.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.step:hover { transform: translateY(-3px); border-color: rgba(64, 87, 216, .35); box-shadow: var(--shadow-sm); }
.step span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 850;
}
.step p { grid-column: 2; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; }
.split .section-head { max-width: 560px; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding: 18px 18px 18px 54px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 17px;
  height: 10px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #151c2a, #202838);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.fact strong { display: block; margin-bottom: 8px; font-size: 50px; line-height: 1; color: #aebaff; }
.fact span { color: rgba(255,255,255,.8); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 86px 90px;
  margin-top: 46px;
}
.about-item h3 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.22;
  font-weight: 400;
  text-transform: none;
}
.about-item h3::after {
  content: "";
  display: block;
  width: 66px;
  height: 8px;
  margin: 32px 0 20px;
  background: var(--primary);
}
.about-item p {
  margin: 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.issue-board { display: flex; flex-wrap: wrap; gap: 12px; }
.issue-board span {
  padding: 14px 16px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  color: #303948;
  box-shadow: 0 1px 0 rgba(22, 31, 51, .02);
}

.cta-band {
  padding: 66px 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #151c2a, #202838);
  color: #fff;
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.cta-inner p { margin: 0; max-width: 780px; color: rgba(255,255,255,.76); }
.cta-inner h2 { max-width: 1120px; }

.speaker { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 56px; align-items: center; }
.speaker-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8ebef;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.speaker-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.speaker h2 { margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; line-height: 1.12; }
.speaker h3 { margin: 0 0 8px; font-size: 26px; font-weight: 400; }
.speaker-role { color: var(--primary); font-weight: 600; }

.cases-carousel {
  position: relative;
  margin-top: 34px;
}
.case-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, calc((100% - 36px) / 3));
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(64, 87, 216, .45) rgba(64, 87, 216, .08);
}
.case-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}
.case-card img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(64, 87, 216, .09), rgba(24, 182, 159, .08)),
    #eef2f8;
  border-bottom: 1px solid var(--border);
}
.case-content { padding: 22px; }
.case-card h3 {
  min-height: 0;
  margin-bottom: 18px;
  line-height: 1.18;
}
.case-type {
  display: flex;
  width: fit-content;
  margin-bottom: 32px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(64, 87, 216, .09);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
}
.case-card dl { margin: 0; display: grid; gap: 5px; }
.case-card dt { color: var(--text-muted); font-size: 12px; text-transform: uppercase; font-weight: 850; letter-spacing: .08em; }
.case-card dd { margin: -3px 0 6px; color: var(--text-secondary); line-height: 1.28; }
.case-card a { color: var(--primary); font-weight: 820; }
.case-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(64, 87, 216, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.case-nav:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(64, 87, 216, .42);
  box-shadow: var(--shadow-md);
}
.case-nav-prev { left: -23px; }
.case-nav-next { right: -23px; }

.form-section { background: #fff; }
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start; }
.form-layout .section-head { max-width: 560px; }
.registration-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.registration-form .full, .registration-form .consent-check, .registration-form .required-note, .registration-form .btn { grid-column: 1 / -1; }

.faq { display: grid; gap: 12px; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
details[open] { border-color: rgba(64, 87, 216, .34); box-shadow: var(--shadow-sm); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 22px;
  cursor: pointer;
  font-weight: 820;
}
summary::after { content: "+"; color: var(--primary); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "-"; }
details p { margin: 0; padding: 0 22px 22px; color: var(--text-secondary); }

.final-cta { padding: 88px 0; text-align: center; }
.final-inner { max-width: 820px; }
.final-inner p { margin: 0 auto 28px; max-width: 700px; color: rgba(255,255,255,.76); font-size: 20px; }

.site-footer { padding: 50px 0; background: #101624; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer nav, .site-footer div:last-child { display: grid; gap: 10px; align-content: start; }
.site-footer p { margin: 0; }

.bitrix-form-bridge {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 420px;
  min-height: 640px;
  opacity: .01;
  pointer-events: none;
  overflow: hidden;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .logo { width: 174px; }
  .burger { display: block; grid-column: 2; grid-row: 1; }
  .main-nav, .header-contacts, .header-inner > .btn { display: none; }
  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
    gap: 6px;
    padding: 0 0 18px;
  }
  .main-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .hero-grid, .split, .form-layout { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; width: min(100%, 540px); }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(15, 26, 39, .92) 0%, rgba(18, 28, 44, .8) 58%, rgba(27, 35, 58, .66) 100%),
      url("./hero-bim-building.png") left center / auto 100% no-repeat;
  }
  .five, .four { grid-template-columns: repeat(2, 1fr); }
  .case-track { grid-auto-columns: minmax(300px, calc((100% - 18px) / 2)); }
  .case-nav-prev { left: -12px; }
  .case-nav-next { right: -12px; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(var(--container), calc(100% - 36px)); }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 68px; }
  .hero { min-height: calc(100vh - 84px); }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: 36px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 26, 39, .94) 0%, rgba(18, 28, 44, .84) 58%, rgba(27, 35, 58, .74) 100%),
      url("./hero-bim-building.png") center center / auto 100% no-repeat;
    opacity: .5;
  }
  .quick-form { grid-template-columns: 1fr; }
  .webinar-meta { gap: 8px; }
  .webinar-meta div { flex: 1 1 160px; padding: 15px 16px; }
  .cta-inner .btn { width: 100%; }
  .three, .five, .four, .timeline, .fact-grid, .about-grid, .footer-grid, .speaker, .cta-inner { grid-template-columns: 1fr; }
  .about-grid { gap: 44px; }
  .card, .case-card { min-height: auto; }
  .audience-section .section-head { display: block; }
  .audience-card { min-height: auto; padding: 25px 22px 24px; }
  .case-track { grid-auto-columns: minmax(260px, 86%); }
  .case-card img { height: 140px; }
  .case-card h3 { min-height: 0; }
  .case-nav {
    position: static;
    transform: none;
    margin-top: 12px;
  }
  .case-nav:hover { transform: scale(1.04); }
  .cases-carousel {
    display: grid;
    grid-template-columns: 46px 46px;
    gap: 10px;
  }
  .case-track {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .registration-form { grid-template-columns: 1fr; padding: 20px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .step span { width: 38px; height: 38px; }
  .speaker-photo { max-width: 260px; }
  .section-head h2, .final-inner h2, .cta-inner h2, .speaker h2 { font-size: 30px; }
  .about-item h3 { font-size: 28px; }
}

@media (max-width: 380px) {
  .container, .narrow { width: min(var(--container), calc(100% - 44px)); }
  .logo { width: 148px; min-width: 148px; }
  .hero h1 { font-size: 31px; }
  .hero .eyebrow { font-size: 14px; padding: 0; }
  .hero-panel { padding: 18px; }
  .quick-form { gap: 10px; }
  .webinar-meta { display: grid; grid-template-columns: 1fr; }
  input, textarea { padding: 11px 12px; }
  .section-head h2, .final-inner h2, .cta-inner h2, .speaker h2 { font-size: 26px; }
  .about-item h3 { font-size: 25px; }
  .about-item h3::after { height: 6px; margin: 22px 0 16px; }
  .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
}



