:root {
  --black: #282828;
  --blue: #384c6f;
  --yellow: #f4d046;
  --bg: #f7f7f7;
  --card: #edeef0;
  --border: #dcdfe3;
  --white: #fff;
  --muted: #909090;
  --container: 1200px;
  --header-h: 126px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--card);
  scrollbar-gutter: stable;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--card);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--card);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 2px solid var(--card);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

::-webkit-scrollbar-corner {
  background: var(--card);
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--black);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.4;
  padding-bottom: 64px;
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

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

a { color: inherit; }

.container-ob {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .container-ob { width: min(100% - 48px, var(--container)); }
}

.h-section {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 28px;
}

.btn-yellow,
.btn-blue,
.btn-ghost,
.btn-ghost-dark,
.btn-white {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 11px 20px;
  border: 0;
  font: 600 17px/1 Inter, sans-serif;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  z-index: 0;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, color .28s ease;
}
.btn-yellow > *,
.btn-blue > *,
.btn-ghost > *,
.btn-ghost-dark > *,
.btn-white > * { position: relative; z-index: 2; }
.btn-yellow::before,
.btn-blue::before,
.btn-ghost::before,
.btn-ghost-dark::before,
.btn-white::before {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, .08) 40%,
    rgba(255, 255, 255, .72) 50%,
    rgba(255, 248, 200, .45) 54%,
    rgba(255, 255, 255, .12) 62%,
    transparent 74%
  );
  transform: translateX(-70%) skewX(-20deg);
  animation: shine-idle 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.btn-yellow:hover,
.btn-blue:hover,
.btn-ghost:hover,
.btn-ghost-dark:hover,
.btn-white:hover {
  transform: translateY(-2px);
}
.btn-yellow:hover::before,
.btn-blue:hover::before,
.btn-ghost:hover::before,
.btn-ghost-dark:hover::before,
.btn-white:hover::before {
  animation: shine-hover .65s ease-out;
}
.btn-yellow:active,
.btn-blue:active,
.btn-ghost:active,
.btn-ghost-dark:active,
.btn-white:active { transform: translateY(0); }

.btn-yellow {
  color: var(--black);
  background: var(--yellow);
}
.btn-yellow:hover {
  background: #ffd84f;
}
.btn-blue {
  color: #fff;
  border: 0;
  background: var(--blue);
}
.btn-blue:hover {
  background: #42597f;
}
.btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid var(--yellow);
}
.btn-ghost:hover {
  background: rgba(244, 208, 70, .16);
}
.btn-ghost-dark {
  color: var(--black);
  background: transparent;
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-white {
  color: var(--black);
  background: #fff;
  border: 1px solid #fff;
}
.btn-white:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

@keyframes shine-idle {
  0%, 35% { transform: translateX(-75%) skewX(-20deg); opacity: .35; }
  70% { transform: translateX(75%) skewX(-20deg); opacity: 1; }
  100% { transform: translateX(75%) skewX(-20deg); opacity: 0; }
}
@keyframes shine-hover {
  0% { transform: translateX(-80%) skewX(-20deg); opacity: .3; }
  100% { transform: translateX(80%) skewX(-20deg); opacity: 1; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 40;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .12) 70%, transparent 100%);
}
.site-header.is-stuck {
  background: rgba(28, 28, 28, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.site-header__top .container-ob,
.site-header__nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
}

.site-header__nav { border-top: 1px solid rgba(255,255,255,.2); }

.site-header__nav-row { min-height: 60px; justify-content: space-between; }

.brand { display: flex; align-items: center; flex: 0 0 auto; color: #fff; transition: transform .25s ease, opacity .25s ease; }
.brand__logo { width: 150px; height: 32px; object-fit: contain; color: #fff; }
.brand__fallback { display: none; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.brand__tagline {
  margin: 0;
  max-width: 199px;
  font-size: 14px;
  opacity: .7;
}
.header-hours { margin: 0 0 0 auto; font-size: 14px; opacity: .7; }
.header-socials { display: flex; gap: 4px; }
.soc {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.soc:hover {
  transform: translateY(-2px);
  background: rgba(244, 208, 70, .22);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}
.soc img { width: 22px; height: 22px; object-fit: contain; }
.header-contacts {
  display: flex; flex-direction: column; align-items: flex-end; font-weight: 500; font-size: 16px; line-height: 1.4;
}
.header-contacts a {
  text-decoration: none;
  color: #fff;
  transition: color .2s ease;
}
.header-contacts a:hover { color: var(--yellow); }
.header-phone { white-space: nowrap; }
.brand:hover { transform: translateY(-1px); opacity: .92; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav .nav-link {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0 0 6px;
  transition: color .2s ease;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.is-active { color: var(--yellow); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.is-active::after { transform: scaleX(1); }

.mega {
  width: min(1100px, 90vw);
  padding: 24px;
  border: 0;
  border-radius: 0;
}
.mega__title { font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--blue); }
.mega a {
  display: block;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  padding: 6px 8px;
  margin: 0 -8px;
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
}
.mega a:hover {
  color: var(--blue);
  background: rgba(56, 76, 111, .08);
  padding-left: 14px;
}

.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover {
  border-color: var(--yellow);
  background: rgba(244, 208, 70, .12);
}
.nav-toggle span { display: block; height: 2px; background: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 750px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #1b1b1b;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: calc(var(--header-h) + 32px) 0 64px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .28) 42%, rgba(20, 20, 20, .45) 100%);
}
.hero > *:not(.parallax-layer) { position: relative; z-index: 2; }
.hero h1 {
  max-width: 580px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 20px;
}
.hero p { max-width: 580px; font-size: 18px; margin: 0; }
.hero-icons { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.hero-icon { width: 115px; transition: transform .25s ease; }
.hero-icon:hover { transform: translateY(-3px); }
.hero-icon img,
.hero-icon .icon-bubble {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.9);
  border-radius: 100px;
  padding: 10px;
  object-fit: contain;
}
.hero-icon span { display: block; margin-top: 6px; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  background: #333 center/cover no-repeat;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(40, 40, 40, .22);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-80%);
  transition: transform .6s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after { transform: translateX(80%); }
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(40,40,40,.3);
}
.service-card > * { position: relative; z-index: 1; }
.service-card h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.03em; margin: 0 16px 6px; }
.service-card p { margin: 0 16px 16px; font-size: 14px; }
.service-card .btn-white { margin: 0 16px 20px; align-self: stretch; }

.guarantee {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px;
  min-height: 215px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.guarantee:hover {
  transform: translateY(-3px);
  border-color: #8591a6;
  box-shadow: 0 10px 24px rgba(56, 76, 111, .1);
}
.guarantee img { width: 64px; height: 64px; object-fit: contain; margin-left: auto; display: block; }
.guarantee h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.03em; margin: 8px 0; max-width: 80%; }
.guarantee p { margin: 0; font-size: 14px; }

.projects-head { display: grid; gap: 16px; }
@media (min-width: 992px) {
  .projects-head { grid-template-columns: 1fr 1fr; align-items: end; }
}

.carousel-nav {
  display: flex; align-items: center; gap: 16px; margin-top: 20px;
}
.carousel-nav .line { flex: 1; height: 1px; background: var(--border); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.round-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.06);
  box-shadow: 0 6px 14px rgba(244, 208, 70, .35);
}
.round-btn img { width: 16px; height: 16px; }

.price-card { position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(40, 40, 40, .12); }
.price-card img { width: 100%; height: 400px; object-fit: cover; }
.price-tags { position: absolute; top: 20px; left: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.price-tags span { background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; padding: 11px; }
.price-card figcaption {
  position: absolute; right: 0; bottom: 0; width: 242px;
  background: rgba(237,238,240,.8); padding: 20px;
  font-size: 16px;
}

.form-band {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background-color: #333;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 80px 0;
  display: flex;
  align-items: center;
}
.form-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 20, 20, .28) 0%, rgba(20, 20, 20, .12) 55%, transparent 100%);
  pointer-events: none;
}
.form-band > *:not(.parallax-layer) { position: relative; z-index: 2; }
.form-card {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  padding: 40px;
  max-width: 580px;
}
.has-parallax {
  background-image: none !important;
}
.parallax-layer {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}

.lead-field { display: block; margin-bottom: 20px; }
.lead-field span {
  display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
}
.lead-field input {
  width: 100%; border: 0; border-bottom: 1px solid var(--border);
  background: transparent; padding: 8px 0; font: 16px Inter, sans-serif;
  transition: border-color .2s ease;
}
.lead-field input:hover,
.lead-field input:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.lead-check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 24px;
  cursor: pointer;
  user-select: none;
}
.lead-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.lead-check__box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #c9ced6;
  background: #fff;
  border-radius: 4px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lead-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #282828;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .18s ease;
}
.lead-check:hover .lead-check__box {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(244, 208, 70, .18);
}
.lead-check__input:focus-visible + .lead-check__box {
  box-shadow: 0 0 0 4px rgba(56, 76, 111, .22);
}
.lead-check__input:checked + .lead-check__box {
  background: var(--yellow);
  border-color: var(--yellow);
}
.lead-check__input:checked + .lead-check__box::after {
  transform: rotate(45deg) scale(1);
}
.lead-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.lead-check a:hover { color: #2d3d5a; }

.step-card {
  display: grid;
  grid-template-columns: 1fr 250px;
  border: 1px solid #8591a6;
  min-height: 217px;
  overflow: hidden;
  background: #fff;
}
.step-card__text { padding: 20px; }
.step-card__num { color: var(--blue); font-weight: 500; font-size: 20px; }
.step-card img { width: 100%; height: 100%; object-fit: cover; min-height: 177px; }

.rating-box {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--card); padding: 18px; background: #fff;
}
.rating-box strong { font-size: 54px; letter-spacing: -0.03em; line-height: 1; }

.review-card { background: var(--card); }
.review-card img.cover { width: 100%; height: 350px; object-fit: cover; }
.review-card .body { padding: 20px; }
.review-meta { display: flex; gap: 12px; align-items: center; }

.accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--border); }
.accordion-button { font-size: 23px; font-weight: 500; letter-spacing: -0.03em; background: transparent; box-shadow: none !important; transition: color .2s ease; }
.accordion-button:hover { color: var(--blue); }
.accordion-button:not(.collapsed) { background: transparent; color: var(--black); }

.inner-content { font-size: 18px; max-width: 760px; }
.inner-content p { margin: 0 0 16px; }

.mobile-call {
  position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 30;
  background: var(--yellow); color: var(--black); text-align: center;
  padding: 14px; font-weight: 600; text-decoration: none;
}

.site-footer {
  background: var(--blue);
  color: rgba(255, 255, 255, .82);
  padding: 60px 0 24px;
  min-height: 521px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 270px 270px 270px 270px;
  column-gap: 40px;
  justify-content: space-between;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-brand__rehau { width: 110px; height: 36px; object-fit: contain; }
.footer-brand img:not(.footer-brand__rehau) { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-brand__div { width: 1px; height: 36px; background: rgba(255, 255, 255, .15); }
.footer-about {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .62);
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 20px;
  transition: color .2s ease, transform .2s ease, padding-left .2s ease;
}
.footer-links a:hover {
  color: var(--yellow);
  padding-left: 6px;
}
.footer-links a:last-child { margin-bottom: 0; }
.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 22px;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-nav a:hover {
  color: var(--yellow);
  padding-left: 6px;
}
.footer-phone {
  display: block;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  line-height: 24px;
  transition: color .2s ease;
}
.footer-phone:hover { color: var(--yellow); }
.footer-brand { transition: opacity .2s ease; }
.footer-brand:hover { opacity: .85; }
.footer-cta__note {
  margin: 4px 0 16px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .48);
}
.footer-cta .btn-yellow,
.footer-cta .btn-ghost {
  display: flex;
  width: 270px;
  max-width: 100%;
  min-height: 39px;
  margin-bottom: 14px;
}
.footer-cta .btn-ghost {
  color: #fff;
  border-color: var(--yellow);
  box-shadow: none;
}
.footer-soc { display: flex; gap: 17px; margin-bottom: 16px; }
.footer-soc a {
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.footer-soc a:hover {
  transform: translateY(-2px);
  background: rgba(244, 208, 70, .22);
  border-color: var(--yellow);
}
.footer-soc img { width: 22px; height: 22px; object-fit: contain; }
.footer-hours {
  width: 270px;
  max-width: 100%;
  min-height: 47px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .78);
}
.footer-hours span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 2px;
}
.footer-legal {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .62);
}
.footer-legal p { margin: 0 0 8px; }
.footer-mid {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-bottom {
  display: grid;
  grid-template-columns: 270px 270px minmax(180px, 1fr) auto;
  column-gap: 40px;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  font-size: 12px;
  transition: color .2s ease;
}
.footer-bottom a:hover { color: #fff; }
.footer-rating {
  width: 146px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 1199.98px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.modal { --bs-modal-border-radius: 24px; }
.modal-backdrop.show {
  background: rgba(18, 22, 32, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal.fade .modal-dialog {
  transform: translateY(28px) scale(.94);
  filter: blur(4px);
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .42s ease, opacity .42s ease;
}
.modal.show .modal-dialog {
  transform: none;
  filter: none;
}
.lead-modal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(56, 76, 111, .06),
    0 24px 60px rgba(20, 28, 44, .28),
    0 2px 8px rgba(20, 28, 44, .08);
}
.lead-modal::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--yellow);
}
.lead-modal::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 208, 70, .22), transparent 70%);
  pointer-events: none;
}
.lead-modal .modal-header {
  position: relative;
  z-index: 1;
  padding: 32px 32px 8px;
  border: 0;
  align-items: flex-start;
}
.lead-modal .modal-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 80%;
}
.lead-modal__lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}
.lead-modal .modal-body {
  position: relative;
  z-index: 1;
  padding: 8px 32px 32px;
}
.modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--black);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover {
  background: var(--yellow);
  transform: rotate(90deg);
}
.lead-modal .lead-field input:focus {
  border-bottom-color: var(--yellow);
}
.page-success { min-height: 50vh; display: grid; place-items: center; padding: 160px 16px 80px; text-align: center; }

@media (max-width: 991.98px) {
  .site-header__top .container-ob { min-height: 64px; }
  .hero { min-height: 560px; padding-top: 96px; }
  .price-card figcaption { position: static; width: 100%; }
  .step-card { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .header-contacts { display: none; }
}

@media (max-width: 575.98px) {
  .hero-icon { width: 72px; }
  .hero-icon span { font-size: 14px; }
}

.offcanvas-body a {
  transition: color .2s ease, padding-left .2s ease;
}
.offcanvas-body a:hover {
  color: var(--blue);
  padding-left: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-yellow::before,
  .btn-blue::before,
  .btn-ghost::before,
  .btn-ghost-dark::before,
  .btn-white::before,
  .service-card::after {
    animation: none;
    display: none;
  }
  * { scroll-behavior: auto !important; }
}
