:root {
  --ink: #1d1a22; --muted: #6c6672; --line: #ebe5e2; --bg: #fff; --soft: #f8f4f1; --dark: #1b1720;
  --acc: #e0306b; --acc2: #7b3ff0; --grad: linear-gradient(120deg, var(--acc), var(--acc2));
  --r: 18px; --sh: 0 10px 30px rgba(40, 20, 40, .08); --wrap: 1180px;
  --f: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--f); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5.2vw, 54px); font-weight: 800; }
h2 { font-size: clamp(25px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ic { width: 24px; height: 24px; flex: none; }
.ic-s { width: 16px; height: 16px; }
.sub { color: var(--muted); font-size: 18px; margin: -6px 0 28px; }
.link { color: var(--acc); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); font: 600 16px/1 var(--f); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-main { border: 0; background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(224, 48, 107, .3); }
.btn-main:hover { box-shadow: 0 12px 28px rgba(224, 48, 107, .4); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btns.center { justify-content: center; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-img { width: 46px; height: 46px; border-radius: 50%; }
.logo b { display: block; font-size: 18px; line-height: 1.1; }
.logo small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .dd-btn { padding: 10px 12px; border-radius: 10px; text-decoration: none; font: 500 15px/1 var(--f); color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .dd-btn:hover, .nav a[aria-current] { color: var(--acc); }
.dd { position: relative; }
.dd-list { position: absolute; top: 100%; left: 0; min-width: 190px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--sh); border: 1px solid var(--line);
  display: none; }
.dd:hover .dd-list, .dd.open .dd-list { display: block; }
.dd-list a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.dd-list a:hover { background: var(--soft); color: var(--acc); }
.nav-foot { display: none; }
.hdr-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr-phone .ic { color: var(--acc); width: 20px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.burger .ic + .ic, .burger[aria-expanded=true] .ic:first-child { display: none; }
.burger[aria-expanded=true] .ic + .ic { display: block; }

/* hero */
.hero { background: radial-gradient(80% 70% at 85% 30%, #fde6ee 0, rgba(253, 230, 238, 0) 70%), radial-gradient(60% 60% at 10% 90%, #efe7ff 0, rgba(239, 231, 255, 0) 70%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.lead { font-size: 19px; color: #3d3842; max-width: 560px; }
.hero-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.hero-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-list .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: #fff; color: var(--acc); box-shadow: var(--sh); }
.hero-pics { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.hero-pic { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); background: var(--soft); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hp1 { grid-row: 1 / 3; }
.hero-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh); display: grid; }
.hero-badge b { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badge span { color: var(--muted); font-size: 14px; }

/* sections */
.sec { padding: 72px 0; }
.sec-top { padding-top: 12px; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark .sub { color: #b9b2c0; }
.sec-accent { background: linear-gradient(135deg, #fff0f5, #f3ecff); }
.page-head { padding-top: 40px; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); text-decoration: none; margin: 0; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.card:hover img { transform: scale(1.04); }
.aud { display: flex; flex-direction: column; }
.aud-t { font-weight: 800; font-size: 19px; padding: 14px 16px 2px; }
.aud-s { color: var(--muted); font-size: 14px; padding: 0 16px; flex: 1; }
.more { display: flex; align-items: center; gap: 4px; color: var(--acc); font-weight: 600; font-size: 14px; padding: 10px 16px 16px; }
.gift figcaption { padding: 14px 16px; font-weight: 700; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk { background: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 6px; align-content: start; }
.perk-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.perk b { font-size: 18px; }
.perk span:last-child { color: var(--muted); }

/* price */
.price { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
.price-media img { border-radius: 24px; box-shadow: var(--sh); width: 100%; max-height: 640px; object-fit: cover; }
.price-big { font-size: clamp(38px, 5vw, 58px); font-weight: 800; line-height: 1; margin: 4px 0 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 24px; }
.price-opt { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff; box-shadow: var(--sh); }
.price-opt b { font-size: 17px; }
.price-opt .price-big { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 8px; }
.price-opt span { color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .price-opts { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks .ic { color: var(--acc); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 18px; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gal-i { border-radius: 14px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 4; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-i:hover img { transform: scale(1.05); }
.gal.short .gal-i:nth-child(n+16) { display: none; }

/* reviews */
.rev { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rev > div { background: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 16px; align-content: start; }
.rev h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.rev h3 .ic { color: var(--acc); }
.rev-frame { height: 520px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.rev-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.rev-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rev-shots a { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 9 / 16; }
.rev-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rev-vk .btn { justify-self: start; }

/* form */
.form-sec { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.form-pic img { border-radius: 24px; }
.form-box { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--sh); }
.lform { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld span, .ways legend { font-weight: 600; font-size: 14px; }
.fld input { height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; font: 16px var(--f); color: var(--ink); background: #fff; transition: border-color .15s; }
.fld input:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(224, 48, 107, .15); }
.fld input.bad, .agree.bad { border-color: #d93025; }
.agree.bad span { color: #d93025; }
.ways { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ways legend { margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.chip input:checked + span { border-color: var(--acc); background: #fff0f5; color: var(--acc); font-weight: 600; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(224, 48, 107, .25); }
.agree { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.agree input { width: 20px; height: 20px; accent-color: var(--acc); margin: 1px 0 0; flex: none; }
.err { color: #d93025; font-size: 14px; margin: 0; }
.thanks { background: #f1fbf4; border: 1px solid #bfe5c9; border-radius: 14px; padding: 18px; }
.thanks b { font-size: 18px; display: block; margin-bottom: 6px; }
.lform.done > :not(.thanks) { display: none; }

/* messengers */
.msg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.msg .ic { width: 20px; height: 20px; }
.msg-tg { background: #2aa3df; } .msg-max { background: linear-gradient(135deg, #3b7bff, #8b3dff); } .msg-vk { background: #2f7cf6; } .msg-phone { background: #1fae5b; }

/* info, contacts, legal */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--soft); border-radius: var(--r); padding: 26px; }
.info-card h2 { font-size: 22px; }
.info-card a { color: var(--acc); font-weight: 600; }
.info-card ol, .info-card ul { padding-left: 20px; margin: 0 0 1em; }
.info-card li { margin-bottom: 6px; }
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
.contact-list p { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list .ic { color: var(--acc); margin-top: 2px; }
.contact-list b { display: block; }
.contact-list a { font-weight: 600; }
.map { display: grid; gap: 14px; justify-items: start; }
.map .rev-frame { width: 100%; height: 440px; }
.legal { max-width: 860px; }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal p { color: #36323a; }

/* footer */
.ftr { background: var(--dark); color: #d8d2dd; padding: 52px 0 40px; font-size: 15px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr-in > div { display: grid; gap: 8px; align-content: start; }
.ftr b { color: #fff; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr .logo small, .ftr .muted { color: #9c95a3; }
.ftr .msg { min-height: 40px; padding: 0 10px; }

/* modal, lightbox, floating button, cookie */
.modal, .lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20, 15, 25, .6); }
.modal[hidden], .lb[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 32px 28px; }
.modal-box h2 { font-size: 26px; padding-right: 30px; }
.modal-x, .lb-x { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; padding: 6px; color: inherit; }
.lb { background: rgba(10, 8, 12, .92); color: #fff; }
.lb img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; border-radius: 10px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; width: 48px; height: 48px; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; justify-items: end; gap: 10px; }
.fab-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(123, 63, 240, .4); cursor: pointer; display: grid; place-items: center; }
.fab-btn .ic { width: 28px; height: 28px; }
.fab-btn .ic + .ic, .fab-btn[aria-expanded=true] .ic:first-child { display: none; }
.fab-btn[aria-expanded=true] .ic + .ic { display: block; }
.fab-list { display: grid; gap: 8px; justify-items: end; }
.fab-list[hidden] { display: none; }
.fab-list .msg { box-shadow: var(--sh); }
.cookie { position: fixed; left: 16px; right: 92px; bottom: 16px; z-index: 9995; max-width: 560px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--acc); }

@media (max-width: 1100px) {
  .hdr-phone span { display: none; }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(4, 1fr); }
  .gal.short .gal-i:nth-child(n+13) { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .hdr { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: 72px 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; gap: 2px; overflow: auto; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav > a, .dd-btn { font-size: 18px; padding: 14px 4px; width: 100%; justify-content: space-between; }
  .dd-list { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .dd-list a { font-size: 17px; }
  .menu-open .fab, .menu-open .kks-code { display: none; }
  .dd:hover .dd-list { display: none; }
  .dd.open .dd-list { display: block; }
  .nav-foot { display: grid; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav-phone { display: flex; gap: 8px; font-size: 20px; font-weight: 700; text-decoration: none; }
  .hdr-phone { margin-left: auto; }
  .hdr-cta { display: none; }
  .hero-in, .price, .form-sec, .contacts, .rev { grid-template-columns: 1fr; }
  .hero-in { padding-top: 28px; gap: 28px; }
  .hero-pics { height: 420px; }
  .price { gap: 28px; }
  .price-media { max-width: 400px; }
  .perks, .info { grid-template-columns: repeat(2, 1fr); }
  .form-pic { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hdr-in { height: 62px; gap: 10px; }
  .nav { inset: 62px 0 0; }
  .logo-img { width: 40px; height: 40px; }
  .sec { padding: 48px 0; }
  .lead { font-size: 17px; }
  .hero-pics { height: 340px; gap: 10px; }
  .hero-badge { left: 8px; bottom: 12px; padding: 10px 14px; }
  .btns .btn { flex: 1 1 100%; }
  .cards-5, .cards-4, .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .aud-t { font-size: 16px; padding: 10px 12px 2px; }
  .aud-s { font-size: 13px; padding: 0 12px; }
  .more { padding: 8px 12px 12px; }
  .perks, .info, .steps { grid-template-columns: 1fr; }
  .perk { grid-template-columns: 52px 1fr; column-gap: 14px; padding: 18px; }
  .perk-ic { grid-row: 1 / 3; margin: 0; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rev-shots { grid-template-columns: repeat(2, 1fr); }
  .rev > div, .form-box { padding: 20px; }
  .rev-frame { height: 460px; }
  .ftr-in { grid-template-columns: 1fr; }
  .cookie { right: 84px; left: 10px; bottom: 12px; padding: 10px 12px; font-size: 12px; gap: 10px; }
  .cookie .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .fab { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
