:root {
  --bg: #eef4fb;
  --surface: #fbfdff;
  --surface-strong: #ddeaf7;
  --surface-dark: #10233f;
  --text: #16243a;
  --muted: #647790;
  --line: rgba(24, 32, 52, 0.12);
  --accent: #3f96ff;
  --accent-strong: #1158c7;
  --sand: #9fd0ff;
  --shadow: 0 24px 80px rgba(20, 50, 96, 0.16);
  --radius: 28px;
  --radius-small: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(63, 150, 255, 0.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(17, 88, 199, 0.12), transparent 24%),
    linear-gradient(180deg, #f4f9ff 0%, #ebf3fb 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Prata", serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding-top: 32px;
}

.section--contrast {
  background: linear-gradient(180deg, rgba(16, 35, 63, 0.98), rgba(10, 24, 44, 0.97));
  color: white;
}

.section--photo-band {
  background:
    radial-gradient(circle at top left, rgba(63, 150, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109, 165, 255, 0.14);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section--contrast .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #e8ebff;
}

.hero--home .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.muted {
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 249, 255, 0.84);
  border-bottom: 1px solid rgba(24, 32, 52, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo__image {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.logo strong {
  display: block;
  font-size: 1rem;
}

.logo small {
  display: block;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav a:not(.button) {
  color: var(--muted);
  font-weight: 600;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.contact-link,
.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 79, 215, 0.16);
  background: rgba(236, 246, 255, 0.9);
  color: var(--accent-strong);
  box-shadow: 0 10px 24px rgba(11, 79, 215, 0.08);
}

.contact-link {
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-link img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.contact-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.contact-icon-link img {
  width: 24px;
  height: 24px;
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(17, 88, 199, 0.24);
}

.button:hover,
.pill:hover {
  transform: translateY(-2px);
}

.button--small {
  padding: 12px 18px;
}

.button--ghost,
.pill {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--light {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.pill.is-active {
  background: var(--text);
  color: white;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero--home {
  padding: 78px 0 52px;
}

.hero--inner {
  padding: 42px 0 12px;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__layout--inner {
  grid-template-columns: 1fr 0.8fr;
}

.hero__banner {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
}

.hero__banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--home .hero__banner > img {
  object-position: 66% 18%;
}

.hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 46, 0.78) 0%, rgba(15, 21, 46, 0.38) 36%, rgba(15, 21, 46, 0.12) 62%, rgba(15, 21, 46, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 21, 46, 0.12));
}

.hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 44px;
}

.hero__content {
  max-width: 720px;
  color: white;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.hero--home h1 {
  max-width: min(22ch, 100%);
  font-size: clamp(1.84rem, 2.05vw, 2.48rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: white;
  text-wrap: balance;
}

.hero__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero--home .hero__lead {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

@media (min-width: 1280px) {
  .hero__content {
    max-width: 760px;
    width: 100%;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero--home .hero__content {
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding-bottom: 92px;
}

.hero--home .hero__actions {
  position: absolute;
  left: 44px;
  bottom: 42px;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.hero__note {
  align-self: flex-end;
  max-width: 280px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(15, 21, 46, 0.72);
  backdrop-filter: blur(10px);
  color: white;
}

.service-hero-copy {
  max-width: 920px;
}

.service-hero-copy .hero__lead,
.service-hero-copy .muted {
  max-width: 78ch;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__visual--service img {
  min-height: 0;
}

.stats,
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stats--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.stat,
.fact {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.stat strong,
.fact strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-head {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 10px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 78ch;
}

.section-head > * {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.card--image {
  overflow: hidden;
  padding: 0;
  position: relative;
}

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

.card--service {
  min-height: 420px;
  display: flex;
  align-items: end;
  color: white;
  border: 0;
  text-decoration: none;
}

.card--service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 26, 48, 0.08), rgba(22, 26, 48, 0.88));
}

.card--service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card--service .card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.card--service .link-arrow {
  color: #ffffff;
  margin-top: 10px;
}

.card--service h3 {
  margin-bottom: 0;
}

.card--service:hover {
  transform: translateY(-4px);
}

.card--service:hover img {
  transform: scale(1.03);
}

.card--service img {
  transition: transform 0.45s ease;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.photo-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  min-height: 220px;
  box-shadow: var(--shadow);
}

.photo-grid__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 51, 0.06), rgba(20, 25, 51, 0.78));
}

.photo-grid__item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-weight: 800;
  line-height: 1.4;
}

.photo-strip {
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.photo-strip img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-grid__item--1 {
  grid-row: 1 / span 2;
}

.photo-grid__item--4 {
  grid-column: 2;
}

.photo-grid__item--5 {
  grid-column: 3;
}

.card__body {
  padding: 22px;
}

.link-arrow {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

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

.timeline__item {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline__item span:first-child {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
  font-weight: 800;
}

.wizard,
.lead-card,
.service-calc {
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard__meta {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 14.28%;
  height: 100%;
  background: linear-gradient(90deg, #8dd8d0, #fff5d6);
}

.wizard__summary {
  display: grid;
  gap: 6px;
}

.wizard__summary strong {
  font-size: 1.3rem;
}

.wizard__summary span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.choice-grid,
.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-grid--materials {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.choice-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.choice-grid--compact {
  margin-top: 16px;
}

.input-grid--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card,
.choice-chip,
.checkline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.choice-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
}

.choice-card {
  flex-direction: column;
  align-items: stretch;
}

.choice-card span {
  font-weight: 700;
}

.choice-card--scene img {
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
}

.choice-card--product img {
  height: 148px;
  object-fit: contain;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.choice-card--equipment {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.choice-card--equipment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0.2), rgba(8, 18, 31, 0.82)),
    var(--card-image) center / cover no-repeat;
  filter: blur(18px) saturate(0.9);
  transform: scale(1.08);
  opacity: 0.55;
  z-index: 0;
}

.choice-card--equipment > * {
  position: relative;
  z-index: 1;
}

.choice-card--equipment img {
  height: 156px;
  object-fit: contain;
  border-radius: 16px;
  padding: 4px;
  background: transparent;
}

.choice-chip {
  min-height: 72px;
}

.choice-chip span,
.checkline span {
  font-weight: 700;
}

.choice-card input,
.choice-chip input,
.checkline input {
  accent-color: var(--accent);
}

.wizard label,
.lead-form label,
.service-calc label {
  display: grid;
  gap: 8px;
}

.wizard input,
.wizard textarea,
.wizard select,
.lead-form input,
.lead-form textarea,
.service-calc input,
.service-calc textarea,
.service-calc select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.wizard textarea,
.lead-form textarea,
.service-calc textarea {
  resize: vertical;
  min-height: 120px;
}

.wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.lead-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 245, 0.9));
  color: var(--text);
  border: 1px solid rgba(23, 33, 38, 0.08);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.service-calc--lead {
  display: grid;
  gap: 16px;
}

.logo--footer .logo__image {
  box-shadow: none;
}

.form-message {
  min-height: 24px;
  color: var(--accent-strong);
  font-weight: 700;
}

.form-message.is-success {
  color: #236b4f;
}

.form-message.is-error {
  color: #a03b34;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  padding: 10px 20px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.faq__answer {
  display: none;
  color: var(--muted);
}

.faq__item.is-open .faq__answer {
  display: block;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.article__body {
  display: grid;
  gap: 26px;
}

.article__body section,
.thankyou {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.service-copy {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.service-copy__body {
  display: grid;
  gap: 18px;
  max-width: 86ch;
}

.service-copy__body p {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  color: var(--muted);
}

.footer {
  padding: 60px 0 24px;
  color: #dfe7ea;
  background: linear-gradient(180deg, #19252a 0%, #10181b 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(223, 231, 234, 0.7);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__layout,
  .hero__layout--inner,
  .lead-card,
  .footer__grid,
  .timeline,
  .photo-grid,
  .card-grid,
  .card-grid--4,
  .stats,
  .facts,
  .choice-grid--materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    position: absolute;
    inset: calc(100% + 8px) 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: var(--shadow);
  }

  .logo__image {
    width: 76px;
    height: 76px;
  }

  .logo small {
    display: none;
  }

  .contact-link--email {
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }

  .hero__banner,
  .hero__overlay {
    min-height: 640px;
  }

  .hero__overlay {
    padding: 40px;
  }

  .hero--home h1 {
    font-size: clamp(1.84rem, 2vw, 2.42rem);
  }

  .hero--home .hero__content {
    padding-bottom: 120px;
  }

  .hero--home .hero__actions {
    left: 40px;
    bottom: 40px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar__inner {
    gap: 8px;
    padding: 10px 0;
  }

  .logo {
    gap: 8px;
  }

  .logo span {
    display: none;
  }

  .logo__image {
    width: 56px;
    height: 56px;
  }

  .topbar__contacts {
    gap: 6px;
    margin-left: auto;
  }

  .contact-link {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .contact-link img {
    width: 16px;
    height: 16px;
  }

  .contact-icon-link {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .contact-icon-link img {
    width: 22px;
    height: 22px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hero__layout,
  .hero__layout--inner,
  .lead-card,
  .footer__grid,
  .timeline,
  .photo-grid,
  .card-grid,
  .card-grid--4,
  .stats,
  .facts,
  .choice-grid,
  .input-grid,
  .input-grid--double,
  .input-grid--triple,
  .choice-grid--materials {
    grid-template-columns: 1fr;
  }

  .photo-grid__item--1,
  .photo-grid__item--4,
  .photo-grid__item--5 {
    grid-column: auto;
    grid-row: auto;
  }

  .card--service {
    min-height: 360px;
  }

  .section-head,
  .footer__bottom,
  .wizard__actions,
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.8rem;
  }

  .hero--inner h1 {
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero__banner,
  .hero__overlay {
    min-height: 560px;
  }

  .hero__overlay {
    padding: 24px;
  }

  .hero--home h1 {
    max-width: none;
    font-size: 2rem;
    line-height: 1;
    white-space: normal;
  }

  .hero--home .hero__lead {
    max-width: none;
    font-size: 1rem;
  }

  .hero--home .hero__content {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero--home .hero__actions {
    position: static;
    margin-top: 24px;
    padding-top: 0;
  }

  .hero__note {
    max-width: none;
    align-self: stretch;
  }

  .hero__visual img,
  .hero__visual--service img,
  .photo-strip img {
    min-height: 0;
    height: auto;
  }

  .choice-card--scene img,
  .choice-card--product img,
  .choice-card--equipment img {
    height: 180px;
  }

  .topbar__inner {
    gap: 8px;
  }

  .logo__image {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 380px) {
  .hero--inner h1 {
    font-size: 1.85rem;
  }

  .contact-link {
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .contact-icon-link {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}
