/* Laserty — за брендбуком «Laserty Brand system 2023» (Q28)
   Кольори: чорний, білий + пастель #F2D5DA #D4D4EC #D5EBEB #FAF3DD #FBF6EF; інверсія на #13132B
   Шрифти: DM Sans (латиниця) → Manrope (кирилиця) */
:root {
  --black: #000; --white: #fff;
  --pink: #F2D5DA; --lilac: #D4D4EC; --mint: #D5EBEB; --cream: #FAF3DD; --milk: #FBF6EF;
  --navy: #13132B;
  --soft: #5c5a66; --line: rgba(0, 0, 0, .12); --line-inv: rgba(255, 255, 255, .16);
  --sans: "DM Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", cursive; /* поза брендбуком: лише для «живих» приміток */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: clip; background: var(--milk); color: var(--black); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.w { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* type: регулярні заголовки + акцент розрядкою, як у лого */
h1 { font-size: clamp(3rem, 7.6vw, 7rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 400; }
.mark { font-weight: 600; letter-spacing: .22em; margin-right: -.22em; white-space: nowrap; }
.kick { display: flex; align-items: center; gap: 12px; font-family: var(--hand); font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--soft); margin-bottom: 16px; }
.kick::before { content: ""; width: 9px; height: 9px; background: var(--black); transform: rotate(45deg); flex: none; }
.lede { font-size: 1.12rem; color: var(--soft); max-width: 34em; margin-top: 22px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--black); color: var(--white); font: inherit; font-weight: 600; padding: 16px 28px; border-radius: 0; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--lilac); }
.btn-sun { background: var(--black); color: var(--white); }
.btn-inv { background: var(--white); color: var(--black); }
.btn-inv:hover { box-shadow: 4px 4px 0 var(--pink); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-wide { width: 100%; justify-content: center; }
.ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(4px); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 239, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .w { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 30px; width: auto; margin-left: -6px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav a { position: relative; }
.nav a:hover { letter-spacing: .04em; }
.nav a { transition: letter-spacing .2s; }
.langs { display: flex; gap: 2px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; }
.langs a { padding: 5px 7px; color: var(--soft); }
.langs .on { background: var(--black); color: var(--white); }
.acct { font-size: .85rem; font-weight: 600; white-space: nowrap; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--black); }
.acct:hover { background: var(--black); color: var(--white); }

/* hero */
.hero { padding: 48px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--soft); margin-bottom: 30px; }
.pin { width: 8px; height: 8px; background: #2c9b63; transform: rotate(45deg); flex: none; }
.rot { margin-top: 32px; font-size: clamp(1.15rem, 1.9vw, 1.45rem); min-height: 2.8em; max-width: 24em; color: var(--soft); }
.rot b { font-weight: 600; color: var(--black); display: inline-block; transition: opacity .35s, transform .35s; }
.rot b.out { opacity: 0; transform: translateY(10px); }
.hero-cta { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.note { font-family: var(--hand); font-size: 1.45rem; font-weight: 600; color: var(--soft); line-height: 1.05; transform: rotate(-3deg); }
.hero-art { position: relative; padding: 40px 0 40px 30px; }
.hero-art .ph { position: relative; aspect-ratio: 4/5; transform: rotate(3deg); box-shadow: 18px 18px 0 var(--lilac); }
.hero-art .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.kite { position: absolute; left: -40px; bottom: -30px; width: 150px; height: auto; z-index: 2; color: var(--black); }
.kite rect { fill: var(--black); }
.sticker { position: absolute; z-index: 3; left: -18px; top: 10px; width: 150px; height: 150px; display: grid; place-items: center; text-align: center; line-height: 1.15; font-size: .85rem; }
.sticker::before { content: ""; position: absolute; inset: 14px; background: var(--pink); transform: rotate(45deg); }
.st-in { position: relative; }
.sticker b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.sticker small { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.annot { position: absolute; z-index: 3; right: -10px; bottom: 74px; font-family: var(--hand); font-size: 1.45rem; font-weight: 700; line-height: 1.05; transform: rotate(2deg); background: var(--black); color: var(--white); padding: 12px 16px; box-shadow: 6px 6px 0 var(--mint); }
.wants { background: var(--navy); color: var(--milk); overflow: hidden; padding: 22px 0; margin-top: 64px; }
.wants .tr { display: inline-flex; white-space: nowrap; gap: 42px; animation: mq 70s linear infinite; font-size: 1.15rem; letter-spacing: .02em; }
.wants span { display: inline-flex; align-items: center; gap: 18px; }
.wants span::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--pink); }
.wants span:nth-child(4n+2)::before { background: var(--lilac); }
.wants span:nth-child(4n+3)::before { background: var(--mint); }
.wants span:nth-child(4n)::before { background: var(--cream); }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: 120px 0; }
.sec-tight { padding-top: 0; }
.mb { margin-bottom: 44px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.calc-box { background: var(--white); padding: 36px; border: 1px solid var(--line); }
.ctl { margin-bottom: 24px; }
.ctl label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 8px; }
.ctl output { font-weight: 600; }
input[type=range] { width: 100%; accent-color: var(--black); height: 28px; margin: 0; }
.result { border-top: 1px solid var(--line); padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; color: var(--soft); font-size: .92rem; }
.result b { display: block; font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--black); }
.eq { grid-column: 1 / -1; background: var(--mint); color: var(--black); padding: 12px 18px; font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: 1.15; }

/* freedoms */
.free { border-top: 1px solid var(--black); margin: 52px 0 0; padding: 0; }
.free li { list-style: none; display: grid; grid-template-columns: 70px 1fr 1.25fr; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.free li:nth-child(4n+1):hover { background: var(--pink); }
.free li:nth-child(4n+2):hover { background: var(--lilac); }
.free li:nth-child(4n+3):hover { background: var(--mint); }
.free li:nth-child(4n):hover { background: var(--cream); }
.free li:hover { padding-inline: 16px; }
.free .n { font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--soft); }
.free h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
.free p { color: var(--soft); }

/* quote */
.quote { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--pink), var(--lilac) 55%, var(--mint)); padding: clamp(40px, 7vw, 100px); }
.quote blockquote { position: relative; margin: 0; font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; max-width: 18em; }
.quote cite { position: relative; display: block; margin-top: 28px; font-style: normal; font-family: var(--hand); font-size: 1.7rem; font-weight: 700; }
.q-more { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.q-more span { background: var(--white); padding: 10px 18px; font-size: .95rem; }
.quote::after { content: ""; position: absolute; right: 7%; top: 14%; width: 110px; height: 110px; background: var(--black); transform: rotate(45deg); opacity: .9; }
.quote::before { content: ""; position: absolute; right: calc(7% + 48px); top: calc(14% + 132px); width: 22px; height: 22px; background: var(--black); transform: rotate(45deg); }

/* price builder */
.pb { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; margin-top: 52px; }
.groups h3 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--soft); margin: 30px 0 12px; }
.groups h3:first-child { margin-top: 0; }
.sw { display: inline-flex; border: 1px solid var(--black); margin-bottom: 26px; }
.sw button { font: inherit; font-weight: 600; font-size: .95rem; border: 0; background: transparent; color: var(--black); padding: 10px 20px; cursor: pointer; }
.sw button[aria-selected=true] { background: var(--black); color: var(--white); }
.tabp[hidden] { display: none; }
.tabp > h3:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; gap: 10px; align-items: baseline; border: 1px solid var(--black); background: transparent; color: var(--black); padding: 10px 16px; font: inherit; font-size: .95rem; cursor: pointer; transition: background .15s; }
.chip small { font-weight: 600; color: var(--soft); }
.chip:hover { background: var(--cream); }
.chip[aria-pressed=true] { background: var(--black); color: var(--white); }
.chip[aria-pressed=true] small { color: var(--pink); }
.pack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pk { text-align: left; font: inherit; color: var(--black); background: var(--white); border: 1px solid var(--line); padding: 20px; cursor: pointer; transition: background .15s, border-color .15s; }
.pk:hover { border-color: var(--black); }
.pk[aria-pressed=true] { background: var(--lilac); border-color: var(--black); }
.pk b { display: block; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.pk > span { font-size: .85rem; color: var(--soft); }
.pk .p { display: block; margin-top: 12px; font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; color: var(--black); }
.pk .tag { display: inline-block; background: var(--pink); color: var(--black); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; padding: 4px 8px; margin-bottom: 10px; }
.cart { position: sticky; top: 96px; background: var(--navy); color: var(--milk); padding: 32px; }
.cart h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; }
.cart ul { list-style: none; margin: 20px 0; padding: 0; min-height: 60px; font-size: .95rem; }
.cart li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-inv); }
.cart .empty { border: 0; color: #9d9cb3; font-family: var(--hand); font-size: 1.5rem; }
.tot { display: flex; justify-content: space-between; align-items: baseline; }
.tot b { font-size: 3rem; font-weight: 400; letter-spacing: -.03em; }
.cart .meta { color: #9d9cb3; font-size: .85rem; margin: 4px 0 24px; }
.cart .btn { width: 100%; justify-content: center; background: var(--white); color: var(--black); }
.cart .btn:hover { box-shadow: 4px 4px 0 var(--pink); }

/* offers */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.of { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 270px; padding: 32px; }
.of h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; max-width: 12em; }
.of .big { font-size: 4.2rem; font-weight: 400; letter-spacing: -.04em; line-height: .9; }
.of p { font-size: .95rem; opacity: .75; margin-top: 10px; }
.of .new { font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.of-1 { background: var(--pink); }
.of-2 { background: var(--mint); }
.of-3 { background: var(--lilac); }
.of-pink { background: var(--pink); }
.of-mint { background: var(--mint); }
.of-lilac { background: var(--lilac); }
/* акції з календаря: одне поле телефону на блок + «Записатися» на кожній картці → онлайн-запис з послугами й ціною акції */
.of-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -8px 0 22px; }
.of-ph label { font-family: var(--hand); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.of-ph input { flex: 0 1 280px; min-width: 0; font: inherit; font-size: 1rem; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0; padding: 12px 14px; }
.of-ph input:focus { outline: none; box-shadow: 4px 4px 0 var(--lilac); }
.of-ph input[aria-invalid=true] { border-color: #b23a2a; box-shadow: inset 0 0 0 1px #b23a2a; }
.of .btn { align-self: flex-start; }

/* team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.team .ph { aspect-ratio: 5/4; transform: rotate(-2deg); box-shadow: -16px 16px 0 var(--mint); }
.team .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.people { display: grid; gap: 12px; margin-top: 32px; }
.pp { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--line); padding: 16px 20px; }
.av { position: relative; width: 50px; height: 50px; display: grid; place-items: center; font-weight: 600; flex: none; }
.av::before { content: ""; position: absolute; inset: 8px; background: var(--cream); transform: rotate(45deg); }
.pp:nth-child(2) .av::before { background: var(--pink); }
.pp:nth-child(3) .av::before { background: var(--lilac); }
.av { isolation: isolate; }
.av::before { z-index: -1; }
.pp b { display: block; font-weight: 600; font-size: 1.05rem; }
.pp span { font-size: .88rem; color: var(--soft); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-size: 1.18rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 32px; width: 12px; height: 12px; border: 1px solid var(--black); transform: rotate(45deg); transition: background .2s, transform .2s; }
.faq details[open] summary::after { background: var(--black); transform: rotate(135deg); }
.faq details p { color: var(--soft); padding-bottom: 24px; max-width: 40em; }

/* final / form */
.final { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; background: var(--navy); color: var(--milk); padding: clamp(36px, 7vw, 96px) clamp(22px, 6vw, 80px); }
.final .kick, .final .lede { color: #a9a8c0; }
.final .kick::before { background: var(--pink); }
.final h2 { color: var(--white); }
.ct { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 44px; font-size: .98rem; }
.ct small { display: block; color: #a9a8c0; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 4px; }
.ct a { border-bottom: 1px solid var(--pink); }
.form { position: relative; display: grid; gap: 14px; background: var(--milk); color: var(--black); padding: 30px; box-shadow: 14px 14px 0 var(--lilac); }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--black); background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; }
.form input:focus, .form textarea:focus { border-color: var(--black); outline: none; }
.form textarea { resize: vertical; }
.form [aria-invalid=true] { border-color: #b4553f; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--soft); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--black); }
.form .check a { text-decoration: underline; }
.form .btn:hover { box-shadow: 4px 4px 0 var(--pink); }
.zones-sum { background: var(--cream); padding: 12px 14px; font-size: .95rem; }
.zones-sum small { display: block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--soft); }
.zones-sum a { font-size: .85rem; text-decoration: underline; color: var(--soft); white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-msg.ok { color: #2c7a52; }
.form-msg.err { color: #b4553f; }

/* footer */
.foot { padding: 36px 0 120px; color: var(--soft); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 0; }
.foot .w { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-l, .f-r { display: flex; align-items: center; gap: 18px; }
.flogo img { height: 22px; width: auto; }
.prose { max-width: 760px; }
.prose p { color: var(--soft); margin-top: 18px; }
.prose h2 { margin-bottom: 10px; }
.prose h3 { margin-top: 32px; font-size: 1.15rem; }
.prose ul, .prose ol { color: var(--soft); margin: 12px 0 0; padding-left: 22px; }
.prose li { margin-top: 6px; }

.mbar { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .top .w { gap: 14px; }
  .langs { margin-left: auto; }
  .hero-grid, .calc, .pb, .team, .faq, .final { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; padding: 20px 20px 30px 10px; }
  .sticker { left: auto; right: 0; top: -10px; width: 124px; height: 124px; font-size: .75rem; }
  .sticker::before { inset: 12px; }
  .sticker b { font-size: 1.2rem; }
  .kite { width: 110px; left: -10px; bottom: -20px; }
  .annot { right: 6px; bottom: 50px; }
  .offers { grid-template-columns: 1fr; }
  .of { min-height: 0; }
  .free li { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .free li p { grid-column: 2; }
  .cart { position: static; }
  .sec { padding: 80px 0; }
  .sec-tight { padding-top: 0; }
  .quote::after, .quote::before { display: none; }
  .mbar { display: flex; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; background: var(--navy); padding: 6px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
  .mbar a { flex: 1; text-align: center; color: var(--milk); font-weight: 600; padding: 12px 6px; font-size: .92rem; }
  .mbar .go { flex: 1.6; background: var(--white); color: var(--black); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .btn-sm { display: none; }
  .acct { padding: 7px 10px; font-size: .8rem; }
  .logo img { height: 24px; }
  .pack { grid-template-columns: 1fr; }
  .calc-box { padding: 24px; }
  .ct { grid-template-columns: 1fr; }
  .form { padding: 22px; box-shadow: 8px 8px 0 var(--lilac); }
  .hero-art .ph { box-shadow: 10px 10px 0 var(--lilac); }
  .team .ph { box-shadow: -10px 10px 0 var(--mint); }
}
@media (prefers-reduced-motion: reduce) {
  .wants .tr { animation: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* онлайн-запис у фінальному блоці; форма заявки — запасний варіант під <details> */
.online { display: grid; gap: 14px; align-content: start; }
.online-p { margin: 0; color: #a9a8c0; }
.lead-alt { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; }
.lead-alt summary { cursor: pointer; color: var(--milk); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.lead-alt summary::-webkit-details-marker { display: none; }
.lead-alt[open] summary { margin-bottom: 16px; }

/* банер згоди на cookie Meta (consent.js) */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin: 0 auto; background: var(--navy); color: var(--milk); padding: 16px 18px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); font-size: .9rem; line-height: 1.45; }
.ck[hidden] { display: none; }
.ck p { margin: 0 0 12px; }
.ck a { color: var(--milk); text-decoration: underline; }
.ck-b { display: flex; gap: 8px; }
.ck-b button { flex: 1; font: inherit; font-weight: 600; padding: 11px 10px; border: 1px solid var(--milk); cursor: pointer; background: transparent; color: var(--milk); }
.ck-b .ck-yes { background: var(--white); color: var(--black); border-color: var(--white); }
@media (max-width: 980px) { .ck { left: 10px; right: 10px; bottom: 76px; } }
