@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #231b25;
  --muted: #232324;
  --white: #fff;
  --paper: #fff;
  --cream: #fff5c6;
  --soft: #f5f7f8;
  --line: #eae3e9;
  --pink: #f2008c;
  --pink-dark: #b8006a;
  --yellow: #fadc40;
  --radius: 18px;
  --wrap: 1260px;
  --header-main-height: 96px;
  scroll-padding-top: 80px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

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

body {
  margin: 0;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  vertical-align: middle;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #126e9c;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.13;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 4.45vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -.046em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -.015em;
}

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  padding: 10px 16px;
}

.skip-link:focus {
  transform: none;
}

.button,
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  border-radius: 10px;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}

.button {
  min-height: 50px;
  padding: 11px 20px;
  font-size: .99rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button--primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 5px 12px #a6006326;
}

.button--primary:hover {
  background: var(--pink-dark);
  box-shadow: 0 6px 13px #a600633f;
}

.button--white {
  background: var(--white);
  border-color: #ded5dd;
}

.button--white:hover,
.button--outline:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.button--outline {
  border-color: #c6bac5;
  background: var(--white);
}

.button--yellow {
  background: var(--yellow);
}

.button--yellow:hover {
  background: #f5c72c;
}

.button--small {
  min-height: 39px;
  padding: 8px 14px;
  font-size: .88rem;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
}

.icon-button:hover {
  color: var(--pink);
  background: var(--soft);
}

.text-link {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.text-link:hover {
  color: var(--pink);
}

.mobile-capital,
.mobile-call,
.mobile-nav-actions,
.menu-toggle {
  display: none;
}

.site-header {
  position: sticky;
  top: calc(-1 * var(--header-main-height));
  z-index: 10;
  background: var(--white);
}

.header-main {
  height: var(--header-main-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 24px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

.header-main .brand img {
  width: 66px;
  height: 66px;
}

.brand strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.header-main .brand strong {
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.brand small {
  display: block;
  margin-top: 0px;
  font-size: .69rem;
  line-height: 1.22;
}

.header-main .brand small {
  font-size: clamp(.68rem, .9vw, .82rem);
  color: #000000;
  font-weight: 500;
}

.header-capital {
  color: var(--pink);
  text-align: center;
  font-size: clamp(.9rem, 1.2vw, .96rem);
  font-weight: 700;
  line-height: 1.3;
}

.header-socials,
.header-phones {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 36px;
  gap: 7px;
  border-radius: 10px;
  font-weight: 650;
  transition: transform .2s ease, background-color .2s ease;
}

.social img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.header-socials .social {
  width: 35px;
  height: 35px;
}

.header-socials img,
.mobile-nav-socials img {
  width: 34px;
  height: 34px;
}

.social--label {
  justify-content: flex-start;
}

.header-phones a,
.mobile-nav-phones a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 7px clamp(8px, .85vw, 13px);
  border: 1px solid #f293bb;
  border-radius: 9px;
  background: #fff5fa;
  color: var(--pink-dark);
  font-size: clamp(.77rem, 1.06vw, .98rem);
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.header-phones a:first-child,
.mobile-nav-phones a:first-child {
  background: var(--pink);
  color: var(--white);
  border-color: transparent;
}

.header-phones a:hover,
.mobile-nav-phones a:hover {
  background: var(--pink-dark);
  color: var(--white);
  border-color: transparent;
}

.header-phones a svg,
.mobile-nav-phones a svg {
  width: 16px;
  height: 16px;
}

.site-nav {
  background: var(--yellow);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 25px);
}

.nav-inner a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 6px 12px;
  font-weight: 650;
  font-size: .94rem;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.nav-inner a:hover,
.nav-inner a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff68;
}

.ticker {
  position: relative;
  background: var(--pink);
  color: var(--white);
  font-weight: 650;
  font-size: clamp(.8rem, 1.5vw, .93rem);
}

.ticker-window {
  overflow: hidden;
}

.ticker-track,
.ticker-group {
  display: flex;
  width: max-content;
}

.ticker-group {
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
  min-width: 100vw;
  min-height: 38px;
  white-space: nowrap;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
}

.ticker-group span::after {
  content: "•";
  margin-inline: 13px;
  color: var(--yellow);
}

.has-js .ticker-track {
  animation: ticker-slide 50s linear infinite;
}

@media (hover: hover) {
  .ticker-window:hover .ticker-track {
    animation-play-state: paused;
  }
}

@keyframes ticker-slide {
  to {
    transform: translateX(-50%);
  }
}

.sr-only,
.metrika-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 475px;
  border-bottom: 3px solid var(--pink);
  background: #f1f8fc;
  text-align: center;
  overflow: hidden;
}

.hero--doors {
  background: #f2ebe4;
}

.hero--ceilings {
  background: #f8f0e4;
}

.hero--balcony {
  background: #eaf2f6;
}

.hero-picture,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  background: radial-gradient(ellipse at center, #fff 0%, #ffffffeb 23%, #ffffff75 49%, #ffffff02 79%);
}

.hero-inner {
  padding-block: 62px 57px;
}

.hero h1 {
  max-width: 980px;
  margin-inline: auto;
}

.hero--balcony h1 {
  max-width: 1040px;
}

.hero-price {
  margin-top: 14px;
  font-size: clamp(1.32rem, 3vw, 1.85rem);
  font-weight: 690;
  line-height: 1.14;
}

.hero-price strong {
  color: var(--pink);
  font-size: 1.3em;
  font-weight: 700;
}

.hero-lead {
  max-width: 560px;
  margin: 17px auto 0;
  font-size: clamp(1rem, 2.2vw, 1.19rem);
  font-weight: 580;
  text-wrap: pretty;
}

.hero .actions {
  margin-top: 24px;
}

.hero-discount {
  margin-top: 23px;
  font-size: clamp(1.05rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--pink);
}

.benefit-strip {
  background: var(--yellow);
}

.benefit-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit-inner>div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 10px;
  line-height: 1.25;
  text-align: center;
}

.benefit-inner>div+div {
  border-left: 1px solid #3126092b;
}

.benefit-inner svg {
  width: 23px;
  height: 23px;
}

.section {
  padding-block: clamp(36px, 4.5vw, 68px);
  background: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--soft {
  background: var(--soft);
}

.section-head {
  margin-bottom: 26px;
}

.section-head p,
.band-inner p {
  margin-top: 9px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
}

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

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

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

.price-card,
.brand-card,
.extra-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.price-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px #2d182a07;
  text-align: center;
}

.price-image {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  background: #f4f1f3;
}

.hero--windows~.pricing .price-image {
  object-fit: contain;
  padding: 7px;
  background: var(--white);
}

.price-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 7px 10px 8px;
}

.price-card h3 {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px 10px;
  font-size: clamp(.93rem, 1.22vw, 1.09rem);
}

.price-desc {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.45;
}

.price {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 650;
  white-space: nowrap;
}

.price strong {
  font-size: 1.35em;
  color: var(--pink-dark);
  font-weight: 700;
}

.price-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 5px;
  color: var(--pink-dark);
  font-weight: 700;
}

.price-link svg {
  width: 17px;
  height: 17px;
}

.price-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-card img,
.extra-card img {
  width: 100%;
  object-fit: cover;
  background: #f5f1f2;
}

.brand-card img {
  aspect-ratio: 1.28;
  object-fit: cover;
}

.extra-card img {
  aspect-ratio: 1.32;
}

.extra-card figcaption {
  display: grid;
  place-items: center;
  min-height: 35px;
  padding: 7px 9px;
  background: var(--pink);
  color: var(--white);
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 5vw, 78px);
  align-items: center;
}

.service-intro {
  padding-block: clamp(36px, 4vw, 60px);
}

.intro-inner,
.service-brands>.wrap,
.advantage,
.order-layout {
  max-width: 1120px;
}

.intro-inner h2,
.intro-inner h3,
:is(.service-brands, .pricing, .advantages-section, .extras-section, .order-section, .gallery-section) .section-head {
  text-align: center;
}

.intro-inner p {
  margin: 17px auto 0;
  color: var(--muted);
}

.intro-inner h3 {
  margin-top: 25px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.trust-grid li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 13px;
  border: 1px solid #f1add6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 12px #24172109;
  font-size: .97rem;
  font-weight: 650;
}

.trust-grid svg,
.check svg {
  color: var(--pink-dark);
}

.trust-grid svg {
  width: 20px;
  height: 20px;
}

.service-brands,
.advantages-section,
.extras-section--yellow,
.gallery-section {
  background: var(--yellow);
}

.extras-section--soft {
  background: var(--soft);
}

.pricing-note {
  margin: 21px auto 0;
  text-align: left;
  color: var(--muted);
  font-size: .94rem;
}

.advantage {
  grid-template-columns: 1.28fr .92fr;
}

.advantage-image {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 12px;
  background: var(--white);
}

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

.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #c9a928;
  border-radius: 8px;
}

.check-list p,
.step-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
}

.check {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--pink);
  border-radius: 5px;
}

.check svg {
  width: 25px;
  height: 25px;
}

.trust-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  min-height: 36px;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .24em;
}

.trust-review:hover {
  color: var(--pink-dark);
}

.step-list {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  counter-increment: step;
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--pink-dark);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
}

.order-photo {
  display: grid;
  justify-items: center;
  gap: 17px;
}

.order-photo img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  background: var(--soft);
  border-radius: 12px;
  box-shadow: 0 5px 17px #22212b1a;
}

.contact-band {
  padding-block: clamp(16px, 3vw, 40px) clamp(35px, 5vw, 60px);
  background: var(--white);
}

.band-inner {
  text-align: center;
}

.band-inner h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.contact-actions {
  margin-top: 18px;
}

.contact-actions .button {
  min-height: 44px;
  padding: 9px 14px;
}

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

.contact-phone {
  border-color: #c9a928;
}

.contact-telegram,
.contact-max {
  color: var(--white);
  box-shadow: 0 3px 8px #22152b14;
}

.contact-telegram {
  background: #1e87b5;
}

.contact-max {
  background: #6542bd;
}

.contact-telegram:hover {
  background: #10668d;
}

.contact-max:hover {
  background: #5030a1;
}

.review-quote {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .service-brands .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .contact-actions .button {
    padding-inline: 2px;
    font-size: .8rem;
  }

  .contact-phone svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.25vw, 16px);
}

.work-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.work-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.12);
}

.work-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  background: #3c102bdb;
  color: var(--white);
  border: 1px solid #f8adce;
  border-radius: 50%;
  transition: background-color .2s ease;
}

.work-card:hover .work-zoom,
.work-card:focus-visible .work-zoom {
  background: var(--pink);
}

.work-zoom svg {
  width: 18px;
  height: 18px;
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 28px 15px 12px;
  width: min(1190px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 20px);
  background: transparent;
  color: var(--white);
  border: 0;
  overflow: visible;
}

.gallery-dialog::backdrop {
  background: #170b17f2;
  backdrop-filter: blur(4px);
}

.gallery-stage {
  -webkit-user-select: none;
  user-select: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: clamp(5px, 1.5vw, 18px);
  align-items: center;
}

.gallery-large {
  width: 100%;
  height: min(76dvh, 850px);
  object-fit: contain;
  border-radius: 12px;
  touch-action: pan-y pinch-zoom;
}

.gallery-dialog .icon-button {
  color: var(--white);
  background: #ffffff1d;
  border: 1px solid #ffffff58;
  border-radius: 50%;
}

.gallery-dialog .icon-button:hover {
  color: var(--white);
  background: var(--pink);
}

.gallery-close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
}

.gallery-count {
  display: block;
  margin-top: 9px;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
}

.page-intro {
  background: var(--cream);
  padding-block: clamp(30px, 5vw, 59px);
}

.page-intro h1 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.page-intro p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 1.08rem;
}

.back-link {
  color: var(--pink-dark);
  font-weight: 650;
  font-size: .92rem;
}

.back-link:hover {
  text-decoration: underline;
}

.prose {
  max-width: 1250px;
  overflow-wrap: anywhere;
}

.prose h2 {
  font-size: 1.38rem;
  margin-top: 1.35em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-top: .78em;
}

.prose a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-layout,
.review-layout {
  align-items: start;
}

/* Виджеты отзывов */
@media (min-width: 701px) {
  .review-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .review-layout>div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
}

@media (max-width: 700px) {
  .split.review-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 350px) {
  .review-layout.wrap {
    width: min(100%, max(302px, calc(100% - 32px)));
  }
}

.contact-details dl {
  margin: 22px 0;
}

.contact-details dl div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-block: 12px;
}

.contact-details dt {
  font-weight: 700;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--pink-dark);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.map-frame,
.review-frame,
.review-video {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.map-frame {
  height: clamp(330px, 48vw, 490px);
}

.review-frame {
  height: 640px;
}

.review-video {
  aspect-ratio: 4/3;
}

.footer {
  background: var(--yellow);
  color: var(--ink);
  padding-block: 20px;
}

.footer-bottom,
.footer-bottom nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  text-align: center;
  font-size: .82rem;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: .19em;
}

.footer a:hover {
  color: var(--pink-dark);
}

.form-panel {
  padding: clamp(18px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.form-panel>p,
.dialog-inner>p {
  margin: 9px 0 19px;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 15px;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form label {
  display: block;
  font-size: .9rem;
  font-weight: 700;
}

.quote-form label span {
  color: var(--pink-dark);
}

.quote-form :is(input:not([type="checkbox"]), select) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  margin-top: 5px;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c6bbc6;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
}

.quote-form :is(input:not([type="checkbox"]), select)[aria-invalid="true"] {
  border-color: #c73444;
  background-color: #fff5f5;
}

.quote-form [aria-invalid="true"]:focus-visible {
  outline-color: #c73444;
}

.form-consent:has(input[aria-invalid="true"]) {
  border-radius: 6px;
  outline: 1px solid #c73444;
  outline-offset: 4px;
  background-color: #fff5f5;
}

:is(.form-panel, .dialog-inner).is-sent {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

:is(.form-panel, .dialog-inner).is-sent>h2 {
  padding: 0;
  font-size: clamp(22px, 4vw, 30px);
}

:is(.form-panel, .dialog-inner).is-sent>h2::before {
  content: "✓" / "";
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #e6f5e9;
  color: #225b2e;
  font-size: 28px;
}

:is(.form-panel, .dialog-inner).is-sent>p {
  max-width: 34ch;
  margin: 10px 0 0;
}

.quote-form input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--pink);
}

.form-consent {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 9px;
  font-size: .84rem;
  line-height: 1.45;
}

.form-consent label {
  display: inline;
  font-size: inherit;
  font-weight: 550;
}

.form-consent a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-form button[type="submit"] {
  justify-self: start;
}

.quote-form button[disabled] {
  opacity: .65;
  cursor: wait;
}

.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-product {
  font-size: .9rem;
  color: var(--muted);
}

.form-status {
  padding: 8px 12px;
  background: #e6f5e9;
  color: #225b2e;
  border-radius: 8px;
  font-size: .93rem;
}

.form-status.is-error {
  color: #821632;
  background: #fce7ec;
}

.dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 22px 75px #1a102a49;
}

.dialog::backdrop {
  background: #24162a9e;
}

.dialog-inner {
  padding: clamp(18px, 4vw, 34px);
}

.dialog-inner h2 {
  padding-right: 34px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--white);
}

.quick-contact {
  display: none;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 11;
}

.has-js .quick-contact {
  display: block;
}

.quick-toggle {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  border: 1px solid #ff84bd;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 7px 21px #a6005655;
  transition: transform .2s ease, box-shadow .2s ease;
}

.quick-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px #a600566b;
}

.quick-toggle svg {
  width: 26px;
  height: 26px;
}

.quick-close,
.quick-toggle[aria-expanded="true"] .quick-phone {
  display: none;
}

.quick-toggle[aria-expanded="true"] .quick-close {
  display: block;
}

.quick-panel {
  position: absolute;
  right: 3px;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 8px;
  animation: arrive .23s ease both;
}

.quick-panel .social {
  width: 50px;
  height: 50px;
  background: #ffffff69;
  border-radius: 50%;
  box-shadow: 0 3px 14px #2a12293d;
}

.quick-panel img {
  width: 46px;
  height: 46px;
}

.cookie-banner {
  position: fixed;
  z-index: 8;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(490px, calc(100% - 92px));
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 7px 25px #2d182a23;
}

.cookie-banner p {
  font-size: .84rem;
  line-height: 1.35;
}

.cookie-banner a {
  color: var(--pink-dark);
  text-decoration: underline;
}

.cookie-banner button {
  flex: 0 0 auto;
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }

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

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

}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: 385px;
  }

  .hero-inner {
    padding-block: 41px 38px;
  }

  .hero::after {
    background: #ffffff9e;
  }

  .hero-lead {
    margin-top: 13px;
  }

  .hero .actions {
    margin-top: 19px;
  }

  .hero-discount {
    margin-top: 13px;
  }

  .benefit-inner {
    width: calc(100% - 14px);
  }

  .benefit-inner>div {
    flex-direction: column;
    gap: 6px;
    padding: 12px 5px;
    font-size: .74rem;
  }

  .benefit-inner svg {
    width: 18px;
    height: 18px;
  }

  .split,
  .advantage {
    grid-template-columns: 1fr;
  }

  .price-body {
    padding: 10px 11px 8px;
  }

  .price-desc {
    font-size: .79rem;
  }

  .price strong {
    font-size: 1.21em;
  }

  .price-link {
    font-size: .86rem;
  }

  .brand-card,
  .extra-card,
  .price-card,
  .work-card {
    border-radius: 12px;
  }

  .extra-card figcaption {
    font-size: .9rem;
    padding: 8px;
    overflow-wrap: anywhere;
  }

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

  .order-photo img {
    max-height: 320px;
  }

  .cookie-banner {
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 385px) {
  .hero .button {
    width: min(230px, 100%);
  }

  .hero .actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .button {
    padding-inline: 13px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .contact-details dl div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-main-height: 67px;
  }

  .mobile-capital {
    display: block;
    background: var(--pink);
    color: var(--white);
    min-height: 27px;
    padding: 5px 12px;
    text-align: center;
    font-size: clamp(.67rem, 2.15vw, .85rem);
    font-weight: 700;
    line-height: 1.3;
  }

  .site-header {
    top: 0;
    background: var(--yellow);
    box-shadow: 0 2px 10px #67471920;
  }

  .header-main {
    justify-content: initial;
    gap: 9px;
  }

  .header-main .brand img {
    width: 47px;
    height: 47px;
  }

  .header-main .brand strong {
    font-size: clamp(1.1rem, 3.6vw, 1.55rem);
  }

  .header-main .brand small {
    font-size: clamp(.54rem, 1.55vw, .72rem);
  }

  .header-capital,
  .header-socials,
  .header-phones {
    display: none;
  }

  .mobile-call {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--pink-dark);
    background: #ffed96;
    border-color: #6649132b;
  }

  .has-js .menu-toggle {
    display: inline-flex;
    background: #fff7d7;
    border-color: #66491333;
    flex: 0 0 auto;
  }

  .menu-close,
  .menu-toggle[aria-expanded="true"] .menu-open {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] {
    color: var(--ink);
    background: #fff7d7;
    border-color: #66491333;
  }

  .menu-toggle[aria-expanded="true"] .menu-close {
    display: inline;
  }

  .site-nav {
    background: var(--white);
  }

  .has-js .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    overflow: auto;
    max-height: calc(100dvh - var(--header-main-height) - 20px);
    border-radius: 0 0 17px 17px;
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 14px 32px #24121c25;
  }

  .has-js .site-nav.is-open {
    animation: arrive .2s ease both;
  }

  .has-js .site-nav:not(.is-open) {
    display: none;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 9px;
    padding-block: 12px 10px;
  }

  .nav-inner a {
    min-height: 44px;
    padding: 7px 10px;
    font-size: clamp(.77rem, 2vw, .96rem);
    text-align: left;
    border-radius: 9px;
    background: var(--soft);
  }

  .nav-inner a:hover,
  .nav-inner a[aria-current="page"] {
    color: var(--pink-dark);
    background: #ffe5f0;
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding-block: 10px 12px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .mobile-nav-phones a {
    font-size: .78rem;
    min-height: 39px;
  }

  .mobile-nav-socials {
    display: flex;
    gap: 4px;
  }

  .mobile-nav-socials .social {
    min-width: 38px;
    min-height: 42px;
  }

  .hero {
    min-height: 423px;
  }
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header-main .brand {
    gap: 7px;
  }

  .header-main .brand img {
    width: 40px;
    height: 40px;
  }

  .header-main .brand strong {
    font-size: clamp(1.23rem, 4.2vw, 1.4rem);
  }

  .header-main .brand small {
    font-size: clamp(.70rem, 1.6vw, .64rem);
  }

  .header-main :is(.mobile-call, .menu-toggle) {
    width: 39px;
    height: 42px;
  }

  .header-main :is(.mobile-call, .menu-toggle) svg {
    width: 25px;
    height: 25px;
  }

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

  .gallery-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px 12px;
  }

  .gallery-large {
    grid-column: 1 / -1;
    grid-row: 1;
    height: min(60dvh, 490px);
  }

  .gallery-prev {
    justify-self: end;
  }

  .header-main {
    height: 45px;
  }
}

@media (max-width: 350px) {
  .header-main {
    gap: 6px;
  }

  .header-main .brand img {
    width: 32px;
    height: 34px;
  }

  .header-main :is(.mobile-call, .menu-toggle) {
    width: 36px;
  }
}

.button--primary,
.quick-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button--primary::after,
.quick-toggle::after {
  position: absolute;
  z-index: -1;
  inset: -40% auto -40% -65%;
  width: 38%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, #fff0, #ffffff8c 48%, #fff0);
  content: "";
  pointer-events: none;
  animation: button-sheen 5.6s ease-in-out infinite;
}

.quick-toggle::after {
  animation-delay: 1.3s;
  opacity: .62;
}

@keyframes button-sheen {

  0%,
  11% {
    left: -65%;
  }

  29%,
  100% {
    left: 138%;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 8px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.hero-inner {
  animation: arrive .55s ease-out both;
}

.hero .button--white {
  background: var(--yellow);
  border-color: #c9a129;
}

.hero .button--white:hover {
  background: #ffeb8c;
  color: var(--ink);
}

.discount-body {
  display: inline-grid;
  text-align: left;
}

.discount-body>span {
  grid-area: 1 / 1;
}

.discount-ghost {
  visibility: hidden;
}

.discount-type.is-typing::after {
  content: "";
  display: inline-block;
  width: .075em;
  height: .83em;
  margin-left: .1em;
  vertical-align: -.02em;
  background: currentColor;
  animation: typing-caret .75s step-end infinite;
}

@keyframes typing-caret {
  50% {
    opacity: 0;
  }
}

.price-card,
.brand-card,
.extra-card,
.check-list li {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.card-grid .price-card {
  border-color: #e6c742;
}

.card-grid :is(.brand-card, .extra-card) {
  border-color: var(--pink);
  box-shadow: 0 5px 16px #3212212b;
}

@media (hover: hover) {

  .site-header .social:hover,
  .quick-panel .social:hover {
    transform: translateY(-3px);
  }

  .card-grid :is(.price-card, .brand-card, .extra-card):hover {
    transform: translateY(-5px);
    border-color: var(--pink-dark);
    box-shadow: 0 10px 22px #57113c29;
  }

  .check-list li:hover {
    background-color: #fff0f7;
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}

/* Мобильное меню */
@media (max-width: 1100px) {
  .has-js .site-nav {
    max-height: calc(100dvh - var(--header-main-height) - 32px);
    overscroll-behavior-y: contain;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 26px #24121c29;
  }

  .site-nav .nav-inner,
  .site-nav .mobile-nav-actions {
    max-width: 560px;
  }

  .site-nav .nav-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 8px;
  }

  .site-nav .nav-inner a {
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-size: clamp(.875rem, 2.5vw, .98rem);
  }

  .site-nav .nav-inner a:last-child {
    border-bottom-color: transparent;
  }

  .site-nav .nav-inner a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    color: var(--muted);
    transform: rotate(45deg);
  }

  .site-nav .nav-inner a:hover,
  .site-nav .nav-inner a[aria-current="page"] {
    border-color: transparent;
    border-radius: 8px;
    background: #ffe5f3;
    color: var(--pink-dark);
  }

  .site-nav .nav-inner a[aria-current="page"] {
    font-weight: 700;
  }

  .site-nav .nav-inner a[aria-current="page"]::after {
    color: var(--pink-dark);
  }

  .site-nav .mobile-nav-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 12px 15px;
  }

  .site-nav :is(.mobile-nav-phones, .mobile-nav-socials) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav .mobile-nav-phones a {
    min-height: 44px;
    gap: 5px;
    padding-inline: 5px;
    font-size: clamp(.71rem, 3.2vw, .875rem);
  }

  .site-nav .mobile-nav-phones svg {
    width: 14px;
    height: 14px;
  }

  .site-nav .mobile-nav-socials .social {
    min-height: 44px;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--soft);
    border-radius: 9px;
    font-size: .86rem;
  }

  .site-nav .mobile-nav-socials .social:hover {
    border-color: #e99ec8;
  }

  .site-nav .mobile-nav-socials img {
    width: 24px;
    height: 24px;
  }

  .site-nav .mobile-nav-socials .social::after {
    content: attr(aria-label);
  }
}

@media (max-width: 1100px) {
  .header-main .mobile-call {
    display: none;
  }

  .has-js .header-main .menu-toggle {
    margin-left: auto;
    background: transparent;
    border-color: transparent;
    color: var(--ink);
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-notice {
  color: var(--muted);
  font-size: .76rem;
}

.recaptcha-notice a {
  color: var(--pink-dark);
  text-decoration: underline;
}