/* ============================================================
   KOSMETOLOGIA NK — Sections (about → footer) + tweaks + responsive
   ============================================================ */

/* ---------- Marquee strip ---------- */
.strip { background: var(--band-bg); color: var(--band-fg); overflow: hidden; padding-block: 22px; }
.strip__track { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.strip__track span { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 32px); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 60px; }
.strip__track span::before { content: ""; width: 9px; height: 9px; background: var(--accent-2);
  -webkit-mask: var(--spark-mask) center/contain no-repeat; mask: var(--spark-mask) center/contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__figure { position: relative; }
.about__portrait { aspect-ratio: 4/5; border-radius: 240px 240px 24px 24px; overflow: hidden; }
.about__badge {
  position: absolute; right: -22px; top: -22px; width: 132px; height: 132px; border-radius: 999px;
  background: var(--soft-bg); color: var(--green-800); display: grid; place-content: center; text-align: center;
  font-family: var(--serif); line-height: 1.05; box-shadow: 0 20px 40px -22px rgba(0,0,0,.3);
}
.about__badge b { font-size: 34px; display: block; }
.about__badge small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--sans); }
.about__body p { color: var(--page-muted); font-size: clamp(15px,1.2vw,17px); margin-bottom: 22px; }
.about__sign { font-family: var(--serif); font-size: 30px; color: var(--accent); font-style: italic; margin-top: 10px; }
.about__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 13px; letter-spacing: .04em; color: var(--page-fg); }

/* ---------- Services ---------- */
.services { background: var(--band-bg); color: var(--band-fg); border-radius: clamp(24px,4vw,48px); }
.services .sec-head h2, .services .sec-head .eyebrow { color: var(--band-fg); }
.services .sec-head .eyebrow { color: var(--accent-2); }
.services .lead { color: color-mix(in oklab, var(--band-fg) 86%, transparent); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 22px; overflow: hidden; }
.svc {
  background: color-mix(in oklab, var(--band-bg) 88%, #f3eee7); padding: clamp(28px, 3vw, 44px); position: relative;
  transition: background .5s ease; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between;
}
.svc:hover { background: color-mix(in oklab, var(--band-bg) 80%, #000); }
:root[data-palette="cream"] .svc:hover { background: color-mix(in oklab, var(--band-bg) 92%, #fff); }
.svc__num { font-family: var(--serif); font-size: 15px; color: var(--accent-2); letter-spacing: .1em; }
.svc__title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; margin: 18px 0 14px; }
.svc__desc { font-size: 14.5px; color: color-mix(in oklab, var(--band-fg) 84%, transparent); max-width: 34ch; }
.svc__arrow { align-self: flex-start; margin-top: 26px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-light); display: grid; place-items: center; transition: .4s; }
.svc:hover .svc__arrow { background: var(--accent-2); color: var(--green-900); transform: rotate(-45deg); border-color: var(--accent-2); }

/* ---------- Pricing ---------- */
.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: minmax(0,auto) 1fr auto; align-items: center; gap: 18px;
  padding: clamp(20px, 2.6vw, 34px) 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .5s cubic-bezier(.2,.8,.2,1), background .4s;
}
.price-row:hover { padding-left: 18px; background: linear-gradient(90deg, color-mix(in oklab, var(--soft-bg) 60%, transparent), transparent 60%); }
.price-row > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.price-row .pname { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.12; color: var(--page-fg); text-wrap: balance; }
.price-row .pdesc { font-size: 13.5px; color: var(--page-muted); margin-top: 6px; }
.price-row .pdots { border-bottom: 1px dotted var(--line); align-self: center; height: 1px; }
.price-row .pprice { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); color: var(--accent); white-space: nowrap; }
.price-row .pprice small { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--page-muted); display: block; text-align: right; }
.price-note { margin-top: 26px; font-size: 13px; color: var(--page-muted); letter-spacing: .02em; }

/* ---------- Gallery ---------- */
.gallery { background: var(--soft-bg); border-radius: clamp(24px,4vw,48px); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.gal-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; }
.gal-item .ph { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.gal-item:hover .ph { transform: scale(1.06); }
.gal-item.tall { grid-row: span 2; aspect-ratio: 3/5; }
.gal-tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255,255,255,.85); color: var(--green-800);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-size: clamp(36px, 4vw, 60px); color: var(--accent); line-height: 1; }
.step__t { font-family: var(--serif); font-size: 23px; margin: 16px 0 10px; color: var(--page-fg); }
.step__d { font-size: 14.5px; color: var(--page-muted); max-width: 26ch; }

/* ---------- Testimonials ---------- */
.testi { background: var(--band-bg); color: var(--band-fg); border-radius: clamp(24px,4vw,48px); }
.testi .sec-head h2, .testi .sec-head .eyebrow { color: var(--band-fg); }
.testi .sec-head .eyebrow { color: var(--accent-2); }
.testi-track-wrap { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 22px; overflow-x: auto; overflow-y: hidden; padding: 16px 2px 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
.testi-track::-webkit-scrollbar { display: none; }
/* Right-edge fade as a separate overlay layer (no per-frame mask repaint on the scroller).
   Hidden once scrolled to the end — nothing more to the right, so the edge stays crisp. */
.testi-fade { position: absolute; top: 0; right: 0; bottom: 0; width: 72px; pointer-events: none;
  background: linear-gradient(to right, transparent, var(--band-bg)); opacity: 1; transition: opacity .35s ease; }
.testi-track-wrap.at-end .testi-fade { opacity: 0; }
.testi-card { background: color-mix(in oklab, var(--band-bg) 88%, #f3eee7); border: 1px solid var(--line-light); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; gap: 20px; transition: background .5s ease, transform .5s ease; }
.testi-card:hover { background: color-mix(in oklab, var(--band-bg) 82%, #f3eee7); transform: translateY(-4px); }
.testi-card .stars { color: var(--accent-2); letter-spacing: .2em; font-size: 14px; }
.testi-card q { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; quotes: "\201E""\201D"; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .who .av { width: 46px; height: 46px; min-height: 0; border-radius: 999px; overflow: hidden; flex: none; }
.testi-card .who .av.ph::after { display: none; }
.testi-card .who b { font-weight: 400; font-family: var(--serif); font-size: 18px; }
.testi-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; }
.testi-progress { position: relative; flex: 1; height: 3px; background: var(--line-light); border-radius: 3px; max-width: 320px; }
.testi-progress__bar { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--accent-2); border-radius: 3px; }
.testi-arrows { display: flex; gap: 12px; flex: none; }
.testi-arrow { width: 50px; height: 50px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--band-fg); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s, opacity .35s; }
.testi-arrow svg { width: 19px; height: 19px; }
.testi-arrow:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--green-900); }
.testi-arrow:disabled { opacity: .35; cursor: default; }
.testi-arrow:disabled:hover { background: none; color: var(--band-fg); border-color: var(--line-light); }
.testi-card .who span { font-size: 12px; letter-spacing: .08em; color: color-mix(in oklab, var(--band-fg) 80%, transparent); display: block; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 26px); color: var(--page-fg); }
.faq-ic { flex: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: .4s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--accent); transition: .4s; }
.faq-ic::before { width: 14px; height: 1.5px; }
.faq-ic::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-ic { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-ic::before, .faq-item.open .faq-ic::after { background: #fff; }
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; }
.faq-a__inner { padding: 0 48px 26px 0; color: var(--page-muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--band-bg); color: var(--band-fg); border-radius: clamp(24px,4vw,48px); text-align: center; position: relative; overflow: hidden; }
.cta-band .spark { position: absolute; }
.cta-band h2 { color: var(--band-fg); margin-bottom: 18px; }
.cta-band p { color: color-mix(in oklab, var(--band-fg) 86%, transparent); max-width: 46ch; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 26px; }
.cinfo-row { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cinfo-row .ic { flex: none; width: 46px; height: 46px; border-radius: 999px; background: var(--soft-bg); color: var(--green-800); display: grid; place-items: center; }
.cinfo-row .ic svg { width: 19px; height: 19px; }
.cinfo-row .k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--page-muted); margin-bottom: 4px; }
.cinfo-row .v { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); color: var(--page-fg); }
.contact__map { border-radius: 22px; overflow: hidden; min-height: 380px; position: relative; }
.hours { margin-top: 6px; }
.hours div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.hours div span:first-child { color: var(--page-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: var(--cream-100); padding-top: clamp(60px, 8vw, 110px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer img.flogo { height: 56px; margin-bottom: 22px; }
.footer p { color: rgba(247,244,238,.82); font-size: 14.5px; max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: rgba(247,244,238,.9); font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: var(--cream-50); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 30px; font-size: 12.5px; letter-spacing: .04em; color: rgba(247,244,238,.72); }

/* ---------- Tweaks panel ---------- */
#tweaks { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 300px; max-width: calc(100vw - 28px);
  background: rgba(28,24,20,.9); backdrop-filter: blur(20px); color: #f3eee7; border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 18px; display: none; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); font-family: var(--sans); }
#tweaks.show { display: block; }
#tweaks h5 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #c6a583; margin-bottom: 4px; font-weight: 400; }
#tweaks .tw-close { position: absolute; top: 14px; right: 14px; color: #f3eee7; opacity: .6; font-size: 18px; line-height: 1; }
#tweaks .tw-group { margin-top: 16px; }
#tweaks .tw-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-bottom: 8px; }
#tweaks .tw-seg { display: flex; gap: 6px; flex-wrap: wrap; }
#tweaks .tw-seg button { flex: 1; min-width: 60px; padding: 9px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  color: #f3eee7; font-size: 12px; letter-spacing: .04em; transition: .25s; }
#tweaks .tw-seg button.active { background: #c6a583; border-color: #c6a583; color: #221c16; font-weight: 500; }
#tweaks .tw-swatches { display: flex; gap: 8px; }
#tweaks .tw-sw { width: 34px; height: 34px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; }
#tweaks .tw-sw.active { border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
  .hero__figure { display: none; }
  .hero[data-variant="split"] .hero__inner { grid-template-columns: 1fr; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-actions .btn, .header-actions .icon-btn { display: none; }
  .burger { display: flex; }
  .header-actions { gap: 10px; }
  .svc-grid, .gal-grid, .process__grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item.tall { grid-row: span 1; aspect-ratio: 3/4; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row .pdots { display: none; }
  .hero__stat { left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  h1.display { font-size: clamp(44px, 13vw, 80px); }
}

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--green-900); color: var(--cream-50);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--gutter);
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.7,0,.2,1); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--serif); font-size: 40px; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu .mm-close { position: absolute; top: 22px; right: var(--gutter); font-size: 30px; color: var(--cream-50); }
.mobile-menu .mm-foot { margin-top: 30px; font-size: 14px; color: rgba(246,242,234,.6); display: flex; flex-direction: column; gap: 6px; }
