.mirror-hero,header {
  --bg: #101115;
  --surface: #17191f;
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(10, 11, 14, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-dark: #17181d;
  --brand: #245879;
  --brand-2: #245879;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1320px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: "Involve", sans-serif;
}

body {
  min-height: 100vh;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-overlay[hidden] {
  display: none !important;
}

.popup-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.52);
  backdrop-filter: blur(5px);
}

.popup-overlay__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 768px);
  min-height: 468px;
  padding: 34px 48px 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(10, 14, 25, 0.78);
  backdrop-filter: blur(2px);
  text-align: center;
}

.popup-overlay__kicker {
  margin: 0;
  text-align: left;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}

.popup-overlay__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
}

.popup-overlay__close::before,
.popup-overlay__close::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 4px;
  width: 2px;
  height: 22px;
  background: #245879;
}

.popup-overlay__close::before {
  transform: rotate(45deg);
}

.popup-overlay__close::after {
  transform: rotate(-45deg);
}

.popup-overlay__icon {
  display: block;
  width: 116px;
  height: 116px;
  margin: 28px auto 20px;
  object-fit: contain;
}

.popup-overlay__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.popup-overlay__text {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.25;
}

.popup-overlay__text--accent {
  margin-top: 22px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 500;
}

.popup-overlay__cta {
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 6px;
  background: #245879;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

@media (min-width: 768px) {
  .popup-overlay--desktop {
    display: flex;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.bau-page {
  min-height: 100vh;
  padding: 24px 0 44px;
}

.wrap {
  width: var(--container);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 12px 18px;
  border-radius: 18px 18px 0 0;
  background: #ffffff;
  color: var(--text-dark);
}

.topbar__group,
.topbar__contacts,
.topbar__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f5f6;
  font-size: 13px;
}

.rating-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.brand-email {
  font-size: 17px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.brand-mark__text {
  display: grid;
  gap: 0;
  font-size: 20px;
  line-height: 0.88;
  text-transform: lowercase;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f2f4f5;
  color: #30343b;
  font-size: 15px;
}

.contact-chip__status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #66d95c;
}

.phone-block {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: rgba(23, 24, 29, 0.6);
}

.phone-block strong {
  color: var(--text-dark);
  font-size: 15px;
}

.square-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 18px 28px rgba(36, 88, 121, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.square-cta:hover,
.square-cta:focus-visible,
.primary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:hover,
.secondary-btn:focus-visible,
.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.social-dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f5f6;
  font-size: 15px;
  color: #2e3138;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #0f1115;
  box-shadow: var(--shadow);
}

.banner--hero {
  min-height: 760px;
}

.banner--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.54) 0%, rgba(8, 9, 11, 0.26) 40%, rgba(8, 9, 11, 0.14) 100%);
  z-index: 0;
}

.banner--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
  opacity: 0.96;
  z-index: -2;
}

.banner__inner {
  position: relative;
  z-index: 1;
  padding: 18px 28px 30px;
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 82px;
}

.hero-nav__link {
  min-width: 0;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.hero-nav__link.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
  gap: 34px;
  align-items: end;
}

.hero-copy {
  padding: 214px 0 18px;
}

.hero-copy h1,
.hero-card h1,
.consult-copy h1 {
  margin: 0;
  font-size: 64px;
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-copy p,
.consult-copy p,
.consult-form__meta {
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.4;
}

.pricing-card,
.consult-form {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.pricing-card {
  margin-bottom: 26px;
}

.pricing-card__value {
  margin: 0 0 18px;
  font-size: 31px;
  line-height: 1.08;
  text-align: right;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 500;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.secondary-btn {
  background: rgba(18, 20, 25, 0.9);
  color: #fff;
}

.primary-btn__icon,
.secondary-btn__icon,
.feature__icon,
.speech-badge__dots,
.service-point__icon {
  flex: 0 0 auto;
}

.primary-btn__icon,
.secondary-btn__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 17px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 172px;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
}

.feature--dark {
  background: #13151a;
}

.feature__icon,
.service-point__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(36, 88, 121, 0.16);
  color: var(--brand);
  font-size: 26px;
}

.feature__text strong,
.service-card__stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 500;
}

.feature__text span,
.service-card__stats span {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.35;
}

.banner--services {
  background: #0f1115;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 34px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.18) 0%, rgba(6, 7, 9, 0.36) 48%, rgba(6, 7, 9, 0.9) 100%);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card h1 {
  margin-top: 310px;
  max-width: 10ch;
}

.service-card__footer {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  background: rgba(15, 17, 21, 0.74);
  backdrop-filter: blur(10px);
}

.service-card__stats {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-point {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.service-point__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 16px;
}

.service-point span {
  font-size: 16px;
  line-height: 1.2;
}

.service-card__actions {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 12px;
}

.banner--consult {
  min-height: 756px;
}

.banner--consult::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.6) 0%, rgba(8, 9, 11, 0.38) 42%, rgba(8, 9, 11, 0.18) 100%);
  z-index: 0;
}

.banner--consult::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: 44px;
  align-items: center;
}

.consult-copy {
  max-width: 620px;
  padding: 84px 0 34px;
}

.speech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 102px;
  margin-bottom: 42px;
  border: 4px solid rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  background: rgba(15, 17, 21, 0.28);
  backdrop-filter: blur(8px);
  position: relative;
}

.speech-badge::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -16px;
  width: 24px;
  height: 24px;
  border-left: 4px solid rgba(255, 255, 255, 0.94);
  border-bottom: 4px solid rgba(255, 255, 255, 0.94);
  transform: skewX(-28deg) rotate(-12deg);
  background: transparent;
}

.speech-badge__dots {
  display: flex;
  gap: 12px;
}

.speech-badge__dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
}

.speech-badge__dots span:nth-child(2) {
  background: var(--brand);
}

.consult-copy h1 {
  max-width: 10ch;
  margin-bottom: 24px;
}

.consult-copy p {
  max-width: 28ch;
  margin: 0 0 36px;
}

.consult-copy__divider {
  width: min(480px, 100%);
  height: 1px;
  margin-bottom: 32px;
  border-top: 1px dashed rgba(255, 255, 255, 0.46);
}

.consult-form {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
}

.consult-form h2 {
  margin: 0 0 28px;
  font-size: 64px;
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.consult-form label {
  display: block;
  margin-bottom: 14px;
}

.consult-form input {
  width: 100%;
  min-height: 68px;
  padding: 0 20px;
  border: 1px solid rgba(23, 24, 29, 0.26);
  border-radius: 12px;
  background: transparent;
  color: var(--text-dark);
  font-size: 20px;
}

.consult-form input::placeholder {
  color: rgba(23, 24, 29, 0.5);
}

.consult-form__meta {
  margin: 16px 0 24px;
  color: rgba(23, 24, 29, 0.52);
  font-size: 16px;
}

.side-rail {
  position: absolute;
  right: 16px;
  top: 46%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.side-rail__badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #40a8da;
  color: #fff;
  font-size: 14px;
}

.side-rail__button {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  min-height: 176px;
  padding: 16px 10px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--brand), #ff6f24);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.mobile-toggle,
.mobile-panel {
  display: none;
}

.mobile-toggle {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
}

.mobile-panel {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.mobile-panel nav {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}



.site-header[data-open="true"] .mobile-panel {
  display: block;
}

@media (max-width: 1600px) and (min-width: 1200px) {
  .mirror-hero,
  header {
    --container: min(1240px, calc(100% - 28px));
  }

  .bau-page {
    padding: 18px 0 30px;
  }

  .topbar {
    min-height: 66px;
    padding: 10px 14px;
    gap: 12px;
  }

  .brand-mark__icon {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .brand-mark__text {
    font-size: 18px;
  }

  .brand-email {
    font-size: 15px;
  }

  .contact-chip {
    padding: 8px 12px;
    font-size: 14px;
  }

  .phone-block strong {
    font-size: 14px;
  }

  .banner--hero {
    min-height: 680px;
  }

  .banner__inner {
    padding: 14px 22px 24px;
  }

  .hero-nav {
    margin: 10px 0 58px;
  }

  .hero-nav__link {
    padding: 12px 20px;
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
    gap: 24px;
  }

  .hero-copy {
    padding: 150px 0 12px;
  }

  .hero-copy h1,
  .hero-card h1,
  .consult-copy h1 {
    font-size: 54px;
  }

  .hero-copy p,
  .consult-copy p,
  .consult-form__meta {
    font-size: 18px;
  }

  .pricing-card,
  .consult-form {
    padding: 24px;
    border-radius: 18px;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 60px;
    font-size: 20px;
  }

  .feature {
    min-height: 148px;
    padding: 20px;
  }

  .feature__text strong,
  .service-card__stats strong {
    font-size: 20px;
  }

  .feature__text span,
  .service-card__stats span {
    font-size: 16px;
  }

  .service-card {
    min-height: 620px;
    padding: 26px;
  }

  .mirror-hero__content h1 {
    font-size: 54px;
  }

  .mirror-features {
    margin-top: 52px;
  }

  .mirror-feature {
    min-height: 190px;
    padding: 16px;
  }

  .mirror-feature h2 {
    font-size: 21px;
  }

  .mirror-feature p {
    font-size: 14px;
  }
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .mirror-hero,
  header {
    --container: min(1160px, calc(100% - 24px));
  }

  .banner--hero {
    min-height: 620px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 340px);
    gap: 18px;
  }

  .hero-copy {
    padding-top: 126px;
  }

  .hero-copy h1,
  .hero-card h1,
  .consult-copy h1 {
    font-size: 48px;
  }

  .hero-copy p,
  .consult-copy p,
  .consult-form__meta {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 56px;
    font-size: 18px;
  }

  .feature {
    padding: 18px;
  }

  .service-card {
    min-height: 560px;
    padding: 22px;
  }

  .mirror-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .topbar {
    padding: 14px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-nav {
    gap: 10px;
    margin-bottom: 44px;
    flex-wrap: wrap;
  }

  .hero-nav__link {
    padding: 14px 18px;
    font-size: 16px;
  }

  .hero-grid,
  .consult-grid,
  .services-grid,
  .service-card__actions,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 94px;
  }

  .feature {
    min-height: 0;
  }

  .service-card h1 {
    margin-top: 250px;
  }

  .service-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-rail {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --container: min(100%, calc(100% - 18px));
  }
  .mirror-rating.mirror-rating--mobile iframe {
    transform: translateX(-17px) !important;
  }
  .bau-page {
    padding: 10px 0 24px;
  }

  .wrap {
    width: var(--container);
  }

  .topbar {
    min-height: 0;
    padding: 12px;
    border-radius: 16px 16px 0 0;
    justify-content: space-between;
  }

  .topbar__group,
  .topbar__contacts,
  .topbar__socials,
  .brand-mark {
    gap: 10px;
  }

  .topbar__contacts {
    width: 100%;
    justify-content: space-between;
  }

  .rating-badge,
  .brand-email,
  .phone-block,
  .hero-nav {
    display: none;
  }

  .brand-mark__icon {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .brand-mark__text {
    font-size: 15px;
  }

  .square-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .social-dot {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .banner {
    border-radius: 0 0 22px 22px;
  }

  .banner__inner {
    padding: 14px 14px 18px;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .banner--hero,
  .banner--consult,
  .service-card {
    min-height: 0;
  }

  .hero-copy,
  .consult-copy {
    padding: 20px 0 0;
  }

  .hero-copy h1,
  .hero-card h1,
  .consult-copy h1,
  .consult-form h2 {
    font-size: 44px;
    line-height: 0.94;
  }

  .hero-copy p,
  .consult-copy p,
  .consult-form__meta,
  .feature__text span,
  .service-card__stats span {
    font-size: 15px;
  }

  .pricing-card,
  .consult-form,
  .service-card__footer {
    padding: 20px;
    border-radius: 18px;
  }

  .pricing-card__value {
    font-size: 22px;
    text-align: left;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 54px;
    font-size: 18px;
    border-radius: 14px;
  }

  .service-card {
    padding: 18px;
  }

  .service-card h1 {
    margin-top: 220px;
  }

  .service-card__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-point {
    align-items: center;
  }

  .feature {
    padding: 20px;
  }

  .feature__text strong {
    font-size: 19px;
  }

  .speech-badge {
    width: 92px;
    height: 76px;
    margin-bottom: 24px;
    border-width: 3px;
    border-radius: 24px;
  }

  .speech-badge__dots {
    gap: 8px;
  }

  .speech-badge__dots span {
    width: 11px;
    height: 11px;
  }

  .consult-copy p {
    max-width: none;
  }

  .consult-copy__divider {
    margin-bottom: 20px;
  }

  .consult-form input {
    min-height: 56px;
    font-size: 17px;
  }
}

.mirror-frame {
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.bau-page--site {
  padding: 0;
}

.mirror-frame--site {
  width: 100%;
  min-height: 100vh;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.mirror-header {
  background: #ffffff;
  color: #17181d;
}
header {
  position: sticky;
  top: 0;
  z-index: 101;
}
.mirror-header__desktop {
  width: 100%;
  background-color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 84px;
  padding: 10px 28px;
  gap: 28px;
}

.mirror-header__left,
.mirror-header__right {
  display: flex;
  align-items: center;
}

.mirror-header__left {
  min-width: 0;
  gap: 32px;
  justify-content: flex-start;
}

.mirror-brand {
  display: flex;
  max-width: 138px;
  width: 100%;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
}

.mirror-brand__logo {
  width: 138px;
  height: 70px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mirror-brand__logo-image {
  width: 100%;
  height: 100%;
  display: block;
}

.mirror-brand__copy {
  display: grid;
  gap: 1px;
  width: 175px;
  color: #17181d;
  font-size: 16px;
  line-height: 0.98;
  font-weight: 500;
  
}

.mirror-rating {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  flex: 0 0 auto;
}

.mirror-rating__image {
  display: block;
  height: 40px;
  width: auto;
}

.mirror-mail {
  color: var(--brand);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  white-space: nowrap;
}

.mirror-header__right {
  gap: 12px;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.mirror-wa {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6d6d6;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  background: #f2f4f5;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
.mirror-wa img.circle {
  position: absolute;
  right: -5px;
  top: -5px;
}

.mirror-wa__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.mirror-phone {
  display: grid;
  gap: 0;
  padding-right: 6px;
}

.mirror-phone strong {
  font-size: 20px;
  line-height: 1.1;
}

.mirror-phone span {
  color: rgba(23, 24, 29, 0.62);
  font-size: 13px;
  white-space: nowrap;
}

.mirror-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mirror-social {
  width: 40px;
  height: 40px;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f8f8f9;
  color: #6f7883;
}

.mirror-social img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  display: block;
}

.mirror-cta {
  position: relative;
  min-height: 41px;
  padding: 10px 15px;
  border: 0;
  border-radius: 4px;
  background: #245879;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  
  transition: filter 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
  white-space: nowrap;
}

.mirror-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -45%;
  height: 100%;
  width: 80px;
  opacity: 0.3;
  transform: rotate(45deg);
  filter: blur(28.4px);
  height: 100%;
  background: white;
  transition: transform 0.52s cubic-bezier(0.22, 0.8, 0.2, 1), left 0.52s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.mirror-cta:hover,
.mirror-cta:focus-visible {
  background: #245879;
  filter: brightness(1.02);
  outline: none;
}

.mirror-cta:hover::before,
.mirror-cta:focus-visible::before {
  left: 103%;
}

.mirror-header__mobile {
  display: none;
}

.mirror-mobile-panel {
  display: none;
}

.mirror-hero {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  padding: 0 30px;
  
  background: #152a3a;
}

.mirror-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65px -81px;
  pointer-events: none;
  transform: scale(1.12,1.26);
  z-index: 1;
}

.mirror-header__desktop,
.mirror-header__mobile,
.mirror-mobile-panel,
.mirror-nav,
.mirror-hero__main,
.mirror-features {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mirror-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #4B4B4BAA;
  pointer-events: none;
  z-index: 2;
}
.mirror-nav{position: relative;z-index: 4;}
.mirror-hero__main,
.mirror-features {
  position: relative;
  z-index: 3;
}

.mirror-nav {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.mirror-nav__group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mirror-nav__group--left {
  justify-content: flex-start;
}

.mirror-nav__group--right {
  justify-content: flex-end;
}

.mirror-nav__item {
  min-height: 48px;
  padding: 26px 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 1);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.mirror-nav__item--active {
  background: rgba(255, 255, 255, 0.08);
}

.mirror-hero__main {
  display: block;
  min-height: 0;
  padding-top: 20px;}
.mirror-hero__content h1 {
  margin: 22px 0;
  color: white;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
}

.mirror-bullets {
  list-style: none;
  padding: 0;
  margin: 36px 0;
  max-width: 100%;
  display: grid;
  gap: 6px;
}

.mirror-bullets li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.32;
}

.mirror-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 3px;
  background: url("/assets/checked.png") center / contain no-repeat;
  box-shadow: none;
}

.mirror-cta--hero {
  min-width: 407px;
  min-height: 66px;
  font-size: 26px ;
  font-weight: 400;
  justify-content: center;
  padding: 0 18px;
}

.mirror-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 79px;
  padding-bottom: 40px;
}

.mirror-feature {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  padding: 20px;
  background: rgba(20, 22, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mirror-feature > *:not(.mirror-feature__number) {
  position: relative;
  z-index: 1;
}

.mirror-feature::before {
  content: none;
}

.mirror-feature__number {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.mirror-feature h2 {
  margin: 0;
  
  max-width: 100%;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
}

.mirror-feature p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
}

@media (max-width: 1800px) and (min-width: 1601px) {
  .mirror-header__desktop {
    min-height: 80px;
    padding: 9px 24px;
    gap: 24px;
  }

  .mirror-header__left {
    gap: 26px;
  }

  .mirror-brand {
    max-width: 128px;
    gap: 12px;
  }

  .mirror-brand__logo {
    width: 128px;
    height: 65px;
  }

  .mirror-brand__copy {
    width: 162px;
    font-size: 15px;
  }

  .mirror-phone strong {
    font-size: 18px;
  }

  .mirror-cta {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 15px;
  }

  .mirror-hero {
    
    padding: 0 26px;
  }

  .mirror-nav {
    padding-top: 18px;
    gap: 20px;
    margin-bottom: 18px;
  }

  .mirror-nav__item {
    min-height: 44px;
    padding: 22px 32px;
    font-size: 16px;
  }

  .mirror-hero__content h1 {
    font-size: 58px;
    margin: 20px 0;
  }

  .mirror-bullets {
    margin: 32px 0;
  }

  .mirror-bullets li {
    font-size: 20px;
    padding-left: 26px;
  }

  .mirror-bullets li::before {
    width: 18px;
    height: 18px;
  }

  .mirror-cta--hero {
    min-width: 360px;
    min-height: 60px;
    font-size: 23px;
  }

  .mirror-features {
    margin-top: 64px;
    padding-bottom: 34px;
  }

  .mirror-feature {
    min-height: 196px;
    padding: 17px;
  }

  .mirror-feature h2 {
    font-size: 21px;
  }

  .mirror-feature p {
    font-size: 15px;
  }
}

@media (max-width: 1600px) and (min-width: 1401px) {
  .mirror-header__desktop {
    min-height: 74px;
    padding: 8px 22px;
    gap: 22px;
  }

  .mirror-header__left {
    gap: 24px;
  }

  .mirror-brand {
    max-width: 122px;
    gap: 10px;
  }

  .mirror-brand__logo {
    width: 122px;
    height: 62px;
  }

  .mirror-brand__copy {
    width: 154px;
    font-size: 14px;
  }

  .mirror-phone strong {
    font-size: 17px;
  }

  .mirror-phone span {
    font-size: 11px;
  }

  .mirror-cta {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .mirror-hero {
    
    padding: 0 24px;
  }

  .mirror-nav {
    padding-top: 16px;
    gap: 18px;
    margin-bottom: 16px;
  }

  .mirror-nav__item {
    min-height: 42px;
    padding: 15px 19px;
    font-size: 15px;
  }

  .mirror-hero__main {
    padding-top: 14px;
  }

  .mirror-hero__content h1 {
    margin: 18px 0;
    font-size: 51px;
    line-height: 1.1;
  }

  .mirror-bullets {
    margin: 28px 0;
    gap: 5px;
  }

  .mirror-bullets li {
    padding-left: 24px;
    font-size: 18px;
  }

  .mirror-bullets li::before {
    width: 17px;
    height: 17px;
  }

  .mirror-cta--hero {
    min-width: 340px;
    min-height: 56px;
    font-size: 21px;
  }

  .mirror-features {
    margin-top: 56px;
    padding-bottom: 30px;
  }

  .mirror-feature {
    min-height: 182px;
    padding: 16px;
  }

  .mirror-feature h2 {
    font-size: 20px;
  }

  .mirror-feature p {
    font-size: 14px;
  }
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .mirror-header__desktop {
    min-height: 66px;
    padding: 8px 18px;
    gap: 18px;
  }

  .mirror-header__left {
    gap: 18px;
  }

  .mirror-brand {
    max-width: 108px;
    gap: 8px;
  }

  .mirror-brand__logo {
    width: 108px;
    height: 54px;
  }

  .mirror-brand__copy {
    width: 138px;
    font-size: 12px;
  }

  .mirror-phone strong {
    font-size: 15px;
  }

  .mirror-phone span {
    font-size: 10px;
  }

  .mirror-social {
    width: 34px;
    height: 34px;
  }

  .mirror-social img {
    width: 16px;
    height: 16px;
  }

  .mirror-cta {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .mirror-hero {
    
    padding: 0 18px;
  }

  .mirror-nav {
    padding-top: 14px;
    gap: 14px;
    margin-bottom: 14px;
  }

  .mirror-nav__item {
    min-height: 38px;
    padding: 18px 26px;
    font-size: 13px;
  }

  .mirror-hero__main {
    padding-top: 12px;
  }

  .mirror-hero__content h1 {
    margin: 16px 0;
    font-size: 48px;
    line-height: 1.14;
  }

  .mirror-bullets {
    margin: 24px 0;
    gap: 4px;
  }

  .mirror-bullets li {
    padding-left: 21px;
    font-size: 16px;
  }

  .mirror-bullets li::before {
    width: 15px;
    height: 15px;
  }

  .mirror-cta--hero {
    min-width: 300px;
    min-height: 52px;
    font-size: 18px;
  }

  .mirror-features {
    margin-top: 44px;
    padding-bottom: 24px;
  }

  .mirror-feature {
    min-height: 166px;
    padding: 14px;
  }

  .mirror-feature h2 {
    font-size: 18px;
  }

  .mirror-feature p {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .mirror-header__desktop {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .mirror-header__left,
  .mirror-header__right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mirror-nav {
    margin-bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .mirror-nav__group {
    width: 100%;
    justify-content: flex-start;
  }

  .mirror-hero__content h1 {
    font-size: 44px;
  }

  .mirror-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .popup-overlay--desktop {
    display: none !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  .bau-page--site {
    padding: 0;
  }

  .mirror-frame--site {
    min-height: 100vh;
  }

  .mirror-header__desktop {
    display: none;
  }

  .mirror-header__mobile {
    display: grid;
    grid-template-columns: auto 1px 1fr auto;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 9px 20px 9px 16px;
  }

  .mirror-brand--mobile {
    gap: 4px;
    align-items: center;
  }

  .mirror-brand--mobile .mirror-brand__logo {
    width: 90px;
    height: 46px;
  }

  .mirror-brand--mobile .mirror-brand__logo-image {
    width: 100%;
    height: 100%;
  }

  .mirror-brand__copy--mobile {
    display: none;
    gap: 0;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 0.8;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #17181d;
  }

  .mirror-mobile__divider {
    display: block;
    width: 1px;
    height: 34px;
    background: rgba(23, 24, 29, 0.2);
  }

  .mirror-mobile__meta {
    display: grid;
    
    min-width: 0;
    align-content: center;
    justify-items: start;
  }

  .mirror-mobile__meta strong {
    font-size: 17px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #17181d;
  }

  .mirror-mobile__meta span {
    color: rgba(23, 24, 29, 0.56);
    font-size: 13px;
    line-height: 1.1;
  }

  .mirror-mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: 0;
    color: #17181d;
    background: #fff;
    border: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .mirror-mobile-toggle__icon {
    position: absolute;
    inset: 0;
    margin: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .mirror-mobile-toggle__icon--menu {
    width: 19px;
    height: 16px;
    background:
      linear-gradient(#17181d 0 0) center 0 / 19px 2px no-repeat,
      linear-gradient(#17181d 0 0) center 5px / 19px 2px no-repeat,
      linear-gradient(#17181d 0 0) center 10px / 19px 2px no-repeat;
  }

  .mirror-mobile-toggle__icon--close {
    display: none;
  }

  .mirror-mobile-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    overflow-y: auto;
    background: #fff;
    padding: 12px 18px 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
    will-change: transform;
  }

  .mirror-header[data-open="true"] .mirror-mobile-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mirror-mobile-panel__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 6px 2px 18px;
  }

  .mirror-brand--panel {
    gap: 18px;
    align-items: center;
    min-width: 0;
  }

  .mirror-brand--panel .mirror-brand__logo {
    width: 90px;
    height: 46px;
  }

  .mirror-brand--panel .mirror-brand__logo-image {
    width: 90px;
    height: 46px;
  }

  .mirror-brand--panel .mirror-brand__copy {
    gap: 1px;
    display: block;
    font-size: 12px;
    line-height: 1.20;
    font-weight: 500;
    text-transform: none;
    flex: 0 1 186px;
  }

  .mirror-mobile-panel__close {
    position: relative;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 0;
    flex: 0 0 auto;
  }

  .mirror-mobile-panel__close::before,
  .mirror-mobile-panel__close::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 1px;
    width: 2px;
    height: 28px;
    background: #17181d;
  }

  .mirror-mobile-panel__close::before {
    transform: rotate(45deg);
  }

  .mirror-mobile-panel__close::after {
    transform: rotate(-45deg);
  }

  .mirror-mobile-panel nav {
    display: grid;
    gap: 0;
    margin-bottom: 22px;
    border-top: 1px solid rgba(23, 24, 29, 0.08);
    border-bottom: 1px solid rgba(23, 24, 29, 0.08);
    padding: 18px 0 18px;
  }

  .mirror-mobile-panel__nav-group {
    display: grid;
    gap: 18px;
  }

  .mirror-mobile-panel__nav-group + .mirror-mobile-panel__nav-group {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(23, 24, 29, 0.08);
  }

  .mirror-mobile-panel nav a {
    color: #17181d;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.12;
    padding: 0;
  }

  .mirror-mobile-panel nav a.is-active {
    text-decoration: none;
  }

  .mirror-mobile-panel__contacts {
    display: grid;
    grid-template-columns: minmax(206px, 1fr) auto;
    grid-template-areas:
      "phone socials"
      "mail rating";
    gap: 12px 12px;
    margin-bottom: 18px;
    align-items: start;
  }

  .mirror-phone--mobile {
    display: grid;
    grid-area: phone;
    gap: 0;
  }
  .mirror-social img {
    width: 27px;
    height: 27px;
  }
  .mirror-phone--mobile strong {
    font-size: 20px;
    line-height: 1.05;
    white-space: nowrap;
    word-break: keep-all;
  }

  .mirror-phone--mobile span {
    font-size: 13px;
    line-height: 1.15;
    color: rgba(23, 24, 29, 0.58);
  }

  .mirror-mobile-panel__social-row {
    display: contents;
  }

  .mirror-mail--mobile {
    grid-area: mail;
    font-size: 11px;
    margin-top: -28px;
    line-height: 1.2;
    align-self: center;
  }

  .mirror-socials--mobile {
    grid-area: socials;
    justify-self: end;
    gap: 8px;
  }

  .mirror-socials--mobile .mirror-social {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #fff;
  }

  .mirror-rating--mobile {
    max-width: 190px;
    grid-area: rating;
    justify-self: end;
    margin-top: -2px;
  }

  .mirror-rating--mobile .mirror-rating__image {
    width: 100%;
    height: auto;
  }

  .mirror-cta--mobile {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 54px;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 6px;
  }

  .mirror-hero {
    
    padding: 0 0 14px;
  }
  .mirror-hero__bg{
    transform: none;
    object-position:-500px !important;
  }
  .mirror-hero::after {
		background: linear-gradient(360deg, rgba(19, 20, 24, 0) 0%, rgba(19, 20, 24, 0.56) 42.24%, rgba(19, 20, 24, 0.8) 100%) !important;
      }

  .mirror-nav {
    display: none;
  }

  .mirror-hero__main {
    padding: 0 20px;
  }
  .mirror-hero__content h1 br {display: none;}
  .mirror-hero__content h1 {
    max-width: 98%;
    font-size: 32px;
    margin-bottom: 32px;
    margin-top: 40px;
    line-height: 1.3;
    font-weight: 500;
  }

  .mirror-bullets {
    gap: 8px;
    margin-bottom: 32px;
    
  }

  .mirror-bullets li {
    font-size: 16px;
    line-height: 1.22;
    padding-left: 22px;
    max-width: 100%;
  }

  .mirror-bullets li::before {
    width: 16px;
    height: 16px;
    top: 1px;
    background: url("/assets/checked.png") center / contain no-repeat;
  }

  .mirror-cta--hero {
    min-width: 0;
    width: 100%;
    min-height: 58px;
    font-size: 16px;
    line-height: 1.2;
    padding: 0 75px;
    white-space: normal;
    text-align: center;
  }

  .mirror-features {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin-top: 60px;
    margin-left: 20px;
    padding: 0 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mirror-features::-webkit-scrollbar {
    display: none;
  }

  .mirror-feature {
    flex: 0 0 calc(100vw - 40px);
    min-height: 232px;
    padding: 18px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    margin-left: 20px;
  }

  .mirror-feature__number {
    right: 0;
    height: 100%;
    top: auto;
    bottom: 0;
    transform: none;
    opacity: 0.86;
  }

  .mirror-feature h2 {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
  }

  .mirror-feature p {
    max-width: 100%%;
    margin-top: auto;
    font-size: 14px;
    line-height: 1.35;
  }
}
