@font-face {
  font-family: "CoFo Sans Trial";
  font-weight: 300 800;
  font-display: swap;
  font-style: normal;
  src:
    url("cofosansvf-Trial.ttf") format("truetype"),
    url("CoFoSans.ttf") format("truetype");
}

:root {
  --ff: "CoFo Sans Trial", Arial, Helvetica, sans-serif;
  --cream: #FBF3E8;
  --cream2: #F4E9D8;
  --pink: #FF6FA8;
  --pink-deep: #E04A85;
  --pink-soft: #FFD3E2;
  --pink-pastel: #FFE4ED;
  --green: #1F4D3A;
  --green-deep: #143828;
  --ink: #2A2823;
  --mute: #6A655B;
  --line: #E8DDC9;
  --white: #FFF;
  --r: 18px;
  --r-lg: 24px;
  --sh-sm: 0 2px 0 rgba(26, 25, 22, .06);
  --sh-md: 0 6px 18px rgba(26, 25, 22, .09);
  --sh-lg: 0 16px 40px rgba(26, 25, 22, .13);
  --sh-pink: 0 4px 0 var(--pink-deep);
  --hdr-h: 62px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
  hyphens: auto;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr-h);
}

body {
  font-family: var(--ff);
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  flex-wrap: wrap;

}

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

button {
  font-family: var(--ff);
  border: none;
  background: none;
  cursor: pointer;
  color: inherit
}

input,
textarea,
select {
  font-family: var(--ff);
  font-size: inherit;
  color: inherit
}

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

::selection {
  background: var(--pink);
  color: #fff
}

.h1 {
  font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 4.5rem);
  line-height: .96;
  letter-spacing: -.04em;
}

.h2 {
  font-weight: 700;
  font-size: clamp(1.375rem, 3.8vw, 2.625rem);
  line-height: 1.06;
  letter-spacing: -.025em
}

.h3 {
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.2vw, 1.5rem);
  line-height: 1.15
}

.eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--pink-deep)
}

.lead {
  font-size: clamp(0.9375rem, 1.2vw, 1rem);
  color: var(--mute);
  line-height: 1.55;
  max-width: 75ch
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform .15s, box-shadow .15s, background .12s;
  white-space: nowrap
}

.btn-p {
  background: var(--pink);
  color: #fff;
  box-shadow: var(--sh-pink)
}

.btn-p:hover {
  background: var(--pink-deep);
  transform: translateY(-2px)
}

.btn-p:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--pink-deep)
}

.btn-d {
  background: var(--green);
  color: var(--cream2);
  box-shadow: 0 4px 0 var(--green-deep)
}

.btn-d:hover {
  background: var(--green-deep);
  transform: translateY(-2px)
}

.btn-s {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm)
}

.btn-s:hover {
  background: var(--pink-pastel);
  border-color: var(--pink-soft)
}

.btn-lg {
  padding: 14px 22px;
  font-size: 0.9375rem
}

.btn-bl {
  display: flex;
  width: 100%
}

.arr {
  transition: transform .15s
}

.btn:hover .arr {
  transform: translateX(3px)
}

/* ═══ HEADER ═══ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(251, 243, 232, .86);
  border-bottom: 1px solid rgba(232, 221, 201, .4);
  height: var(--hdr-h)
}

.hdr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%
}

.logo-img {
  height: 60px;
  width: auto;
  /* cursor: pointer; */
  flex-shrink: 0
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative
}

.nav a:hover,
.nav a.active,
.nav a[aria-current="true"] {
  color: var(--pink-deep)
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform .2s
}

.nav a:hover::after,
.nav a.active::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1)
}

.hdr-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px
}

.ib {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s, background .12s;
  position: relative;
  flex-shrink: 0
}

.ib:hover {
  transform: translateY(-1px);
  background: var(--pink-pastel)
}


.burger {
  display: none
}

@media(max-width:960px) {
  .nav {
    display: none
  }

  .burger {
    display: flex
  }
}

@media(max-width:520px) {
  .hdr .btn-p {
    display: none
  }
}

/* ═══ OVERLAYS ═══ */
.ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 14px;
  overflow-y: auto
}

.ov.open {
  display: flex
}

.mdl {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 22px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: var(--sh-lg);
  animation: fu .2s ease
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.mdl-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem
}

.mdl h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px
}

.mdl-empty {
  padding: 16px;
  text-align: center;
  color: var(--mute);
  font-size: 0.875rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px dashed var(--line)
}

/* Burger */
.bm {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 250;
  display: none;
  flex-direction: column
}

.bm.open {
  display: flex
}

.bm-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line)
}

.bm-b {
  flex: 1;
  overflow-y: auto;
  padding: 16px
}

.bm-b a {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: color .15s, background .15s, padding-left .15s
}


.remove-confirm-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

.remove-confirm-modal.open {
      display: flex;
    }

.remove-confirm-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(22, 20, 17, .58);
    cursor: pointer;
  }

.remove-confirm-box {
    position: relative;
    width: min(100%, 430px);
    border: 1px solid rgba(22, 20, 17, .12);
    border-radius: 24px;
    background: var(--cream, #fffaf0);
    color: var(--ink, #241f1a);
    box-shadow: 0 24px 70px rgba(22, 20, 17, .28);
    padding: 26px;
    transform: translateY(8px) scale(.98);
    animation: removeConfirmIn .18s ease forwards;
  }

.remove-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 20, 17, .08);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
  }

.remove-confirm-close:hover {
    background: rgba(22, 20, 17, .14);
    transform: scale(1.04);
  }

.remove-confirm-box h3 {
    margin: 0 36px 10px 0;
    font-size: 1.25rem;
    line-height: 1.25;
  }

.remove-confirm-text {
    margin: 0;
    opacity: .72;
    line-height: 1.55;
  }

.remove-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
  }

.qty button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
  }

.cart-item.is-qty-zero [data-line-price] {
    opacity: .65;
  }

@keyframes removeConfirmIn {
    to {
      transform: translateY(0) scale(1);
    }
  }

.bm-b a.active,
.bm-b a[aria-current="true"] {
  color: var(--pink-deep);
  background: var(--pink-pastel);
  padding-left: 10px;
  border-bottom-color: transparent
}

.bm-f {
  padding: 14px;
  border-top: 1px solid var(--line)
}


/* ═══ HERO ═══ */
.hero {
  padding: 36px 0 56px;
  position: relative;
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw 0 -10vw;
  height: 50%;
  background: radial-gradient(ellipse at 20% 100%, var(--pink-pastel) 0%, transparent 50%), radial-gradient(ellipse at 80% 100%, #DCE8DE 0%, transparent 50%);
  z-index: -1
}

.hero-g {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center
}

@media(max-width:960px) {
  .hero-g {
    grid-template-columns: 1fr
  }
}

.hero .pk {
  color: var(--pink-deep)
}

/* Fancy underline: two pink bars with gap for descender of "р" */
.uf {
  position: relative;
  display: inline-block
}

.uf .uf-l,
.uf .uf-r {
  position: absolute;
  bottom: -.02em;
  height: clamp(3px, .5vw, 6px);
  background: var(--pink);
  border-radius: 2px
}

.uf .uf-l {
  left: 0;
  width: 53%
}

.uf .uf-r {
  left: 64%;
  right: 0
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px
}

@media(max-width:640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

.hs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px;
  text-align: center;
  position: relative;
}

.hs b {
  display:inline-flex;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  white-space: nowrap;
  align-content: center;
}

.hs b .star {
  color: var(--green);
  font-size: 1rem;
  align-content: center;
}

.hs span {
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.3;
  display: block;
  margin-top: 1px;
}

.hero-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.hero-ph {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-md);
  aspect-ratio: 3/4
}

.hero-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-ph:first-child {
  transform: rotate(-3deg)
}

.hero-ph:nth-child(2) {
  transform: rotate(2deg);
  margin-top: 22px
}

.hero-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--sh-md);
  z-index: 2
}

/* ═══ MARQUEE ═══ */
.mq {
  background: var(--green);
  color: var(--cream);
  padding: 11px 0;
  overflow: hidden
}

.mt {
  display: flex;
  white-space: nowrap;
  animation: scrl 50s linear infinite;
  font-size: 0.9375rem;
  font-weight: 600
}

.mt span {
  display: flex;
  align-items: center
}

.mt .item {
  padding: 0 16px
}

.mt .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0
}

@keyframes scrl {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ═══ SECTIONS ═══ */
section {
  padding: 56px 0;
  scroll-margin-top: var(--hdr-h)
}

.sh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap
}

.sh .left {
  max-width: 800px
}

.sh .eyebrow {
  margin-bottom: 7px;
  display: block
}

/* CATEGORY CARDS */
.cg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

@media(max-width:900px) {
  .cg {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {
  .cg {
    grid-template-columns: 1fr
  }
}

.cc {
  background: var(--white);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  min-height: 160px
}

.cc:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md)
}

.cc-i {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center
}

.cc h4 {
  font-size: 1.3rem;
  font-weight: 700
}

.cc p {
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.35;
  flex: 1
}

.cc .m {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  padding-top: 4px
}

.cc .ac {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem
}

.cc.pk {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink-deep)
}

.cc.pk p {
  color: rgba(255, 255, 255, .82)
}

.cc.pk .ac {
  background: #fff;
  color: var(--pink-deep)
}

.cc.dk {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green-deep)
}

.cc.dk p {
  color: rgba(244, 233, 216, .78)
}

.cc.dk .ac {
  background: var(--cream);
  color: var(--green)
}

/* TRUST */
.trust {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

@media(max-width:768px) {
  .trust {
    grid-template-columns: 1fr;
    padding: 22px
  }
}

.tst {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

}

.ts {
  background: rgba(244, 233, 216, .06);
  border: 1px solid rgba(244, 233, 216, .08);
  border-radius: 11px;
  padding: 14px;
  text-align: center;
  align-content: space-around;
  overflow-wrap: break-word;
  hyphens: auto;
  flex-grow: 1;
}

.ts b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pink)
}

.ts span {
  display: block;
  font-size: 1.1rem;
  margin-top: 2px;
  opacity: .72
}

/* STEPS */
.sg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px
}

@media(max-width:900px) {
  .sg {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {
  .sg {
    grid-template-columns: 1fr
  }
}

.sc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.sc-i {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--pink-pastel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px
}

.sc-n {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--pink-deep);
  margin-bottom: 3px
}

.sc h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: normal;
}

.sc p {
  font-size: 0.9375rem;
  color: var(--mute);
  line-height: 1.35
}

/* GALLERY */
.gg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

@media(max-width:768px) {
  .gg {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {
  .gg {
    grid-template-columns: 1fr
  }
}

.gc {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .2s;
  background: var(--white);
  border: 1px solid var(--line)
}

.gc:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md)
}

.gc img,
.gc video {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--cream2);
  display: block;
}

.gc .tg {
  position: absolute;
  bottom: 7px;
  left: 7px;
  right: 7px;
  background: rgba(251, 243, 232, .9);
  backdrop-filter: blur(5px);
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.gc .tg small {
  font-weight: 600;
  color: var(--pink-deep);
  font-size: 0.875rem;
}

/* PRICING */
.psz {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 18px
}

@media(max-width:640px) {
  .psz {
    grid-template-columns: repeat(2, 1fr)
  }
}

.psc {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 11px;
  text-align: center
}

.psc b {
  display: block;
  font-size: 1rem;
  font-weight: 700
}

.psc .sub {
  font-size: 0.875rem;
  color: var(--mute);
  margin-top: 2px;
  line-height: 1.3
}

.psc .pr {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-top: 3px;
  color: var(--green)
}

.pgr {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px
}

@media(max-width:900px) {
  .pgr {
    grid-template-columns: 1fr
  }
}

.pcd {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px
}

.pcd.dk {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green-deep)
}

.prw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(232, 221, 201, .4);
  font-size: 0.875rem
}

.pcd.dk .prw {
  border-bottom-color: rgba(244, 233, 216, .08)
}

.prw:last-child {
  border-bottom: none
}

/* ACCORDION */
.ai {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 4px
}

.ai-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  gap: 8px
}

.ai-q .ch {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, background .25s;
  font-size: 1rem;
}

.ai.open .ai-q .ch {
  transform: rotate(45deg);
  background: var(--pink);
  color: #fff
}

.ai-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  min-width: 0;
}

.ai.open .ai-a {
  max-height: 1400px;
  padding: 0 14px 12px;
}

.ai-a p {
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ai-a ol {
  padding-left: 24px;
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ai-a li {
  color: var(--mute);
}

/* Картинки в дополнительных услугах: всегда по ширине своего блока, без горизонтального скролла */
.pgr > *,
#exA,
.ai,
.ai-a,
.ai-imgs {
  min-width: 0;
  max-width: 100%;
}

.ai-imgs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  overflow: hidden;
}

.ai-imgs img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

@media(max-width:480px) {
  .ai.open .ai-a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* TESTIMONIALS */
.teg {
  position: relative;

  width: 100vw;
  max-width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  outline: none;
}

.teg.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.te-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  min-width: 100%;

  padding: 2px max(20px, calc((100vw - 1200px) / 2 + 20px)) 18px;

  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.tc {
  flex: 0 0 clamp(280px, 31vw, 370px);

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  min-width: 0;
}

.tc-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: var(--cream2);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.tc-b {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-b .stars {
  color: var(--pink);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.tc-b p {
  font-size: 0.9375rem;
  line-height: 1.35;
}

.tc-b .who {
  font-size: 0.875rem;
  color: var(--mute);
  padding-top: 5px;
  border-top: 1px solid var(--line);
}

@media(max-width:900px) {
  .te-track {
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .tc {
    flex-basis: min(82vw, 360px);
  }
}

@media(max-width:480px) {
  .tc {
    flex-basis: 84vw;
  }
}

/* FOOTER */
footer {
  background: var(--green);
  color: var(--cream);
  padding: 48px 0 20px;
  margin-top: 36px
}

.fcta {
  margin-bottom: 36px;
  background: var(--green-deep);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.fgr2 {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px
}

@media(max-width:900px) {
  .fgr2 {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:480px) {
  .fgr2 {
    grid-template-columns: 1fr
  }
}

.fgr2 h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px
}

.fgr2 ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.fgr2 a {
  font-size: 0.875rem;
  opacity: .76
}

.fgr2 a:hover {
  opacity: 1;
  color: var(--pink)
}

.soc {
  display: flex;
  gap: 6px;
  margin-top: 10px
}

.sb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(244, 233, 216, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background .15s
}

.sb:hover {
  background: var(--pink)
}

.sb svg {
  width: 15px;
  height: 15px;
  fill: currentColor
}

.fbt {
  padding-top: 14px;
  border-top: 1px solid rgba(244, 233, 216, .08);
  font-size: 0.8rem;
  color: rgba(244, 233, 216, .5);
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(1, minmax(220px, 1fr));
  align-items: start;
  gap: 12px 24px;
}

.fbt span {
  display: block;
  line-height: 1.45;
}

.fbt .disc {
  max-width: none;
  text-align: left;
  line-height: 1.45;
}

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

.mob-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 243, 232, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 50
}

@media(max-width:768px) {
  .mob-cta {
    display: block
  }

  body {
    padding-bottom: 58px
  }
}


.legal-hero {
    padding: 44px 0 28px;
    background: linear-gradient(180deg, rgba(255, 211, 226, .18), transparent);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.legal-card,
.legal-toc,
.legal-note {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

.legal-card {
    padding: 28px;
}

.legal-note {
    padding: 14px 16px;
    margin-top: 16px;
    color: var(--mute);
    font-size: 0.9375rem;
}

.legal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.legal-meta div {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}

.legal-meta b {
    display: block;
    font-size: 0.8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pink-deep);
    margin-bottom: 3px;
}

.legal-meta span {
    display: block;
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 600;
}

.legal-toc {
    position: sticky;
    top: calc(var(--hdr-h) + 16px);
    padding: 16px;
}

.legal-toc h3 {
    font-size: 0.875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pink-deep);
    margin-bottom: 10px;
}

.legal-toc a {
    display: block;
    position: relative;
    font-size: 0.875rem;
    padding: 7px 10px 7px 14px;
    color: var(--mute);
    border-bottom: 1px dashed var(--line);
    border-radius: 10px;
    transition: color .15s, background .15s, border-color .15s;
}

.legal-toc a:hover {
    color: var(--pink-deep);
}

.legal-toc a.active,
.legal-toc a[aria-current="true"] {
    color: var(--pink-deep);
    background: var(--pink-pastel);
    border-bottom-color: transparent;
    font-weight: 700;
}

.legal-toc a.active::before,
.legal-toc a[aria-current="true"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: var(--pink);
}

.legal-section {
    scroll-margin-top: calc(var(--hdr-h) + 16px);
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.legal-section:first-child {
    padding-top: 0;
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin: 18px 0 8px;
}

.legal-section p,
.legal-section li {
    color: var(--mute);
    font-size: 1rem;
    line-height: 1.65;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section ol + p {
    margin-top: 10px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 22px;
    margin: 10px 0;
}

.legal-section li + li {
    margin-top: 6px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 12px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 12px;
    border: 1px solid var(--line);
    font-size: 1rem;
}

.legal-table th {
    width: 32%;
    background: var(--cream2);
    color: var(--ink);
}

.legal-callout {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--pink-pastel);
    border: 1px solid var(--pink-soft);
    color: var(--ink);
}

.legal-callout p {
    color: var(--ink);
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

@media(max-width:960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }
}

@media(max-width:640px) {
    .legal-meta {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 18px;
    }

    .legal-table,
    .legal-table tbody,
    .legal-table tr,
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table th {
        border-bottom: none;
    }
}



/* === Simplified public header and Telegram contact dialog === */
.hdr-row {
  min-height: var(--hdr-h);
  flex-wrap: nowrap;
}

.nav {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  gap: clamp(8px, 1.8vw, 16px);
  margin-left: clamp(6px, 1.6vw, 20px);
  -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 4px 0 7px;
  white-space: nowrap;
  hyphens: none;
  overflow-wrap: normal;
}

.burger {
  display: none !important;
}

.hdr-r {
  flex: 0 0 auto;
}

.cc,
.gc {
  cursor: default;
}

.gallery-want {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform .15s, background .15s;
}

.gallery-want:hover {
  background: var(--pink-deep);
  transform: translateY(-1px);
}

.manager-modal .eyebrow {
  display: block;
  margin: 2px 38px 8px 0;
  font-size: 0.75rem;
}

.manager-modal h3 {
  margin-right: 38px;
}

.manager-modal-text {
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.manager-modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

@media(max-width:720px) {
  .hdr-row {
    gap: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .logo-img {
    height: 46px;
  }

  .nav {
    margin-left: 0;
    gap: 10px;
  }

  .nav a {
    font-size: .875rem;
  }

  .hdr-r .btn-p {
    font-size: .8125rem !important;
    padding: 7px 11px !important;
  }
}

@media(max-width:520px) {
  .wrap.hdr-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-img {
    height: 40px;
  }

  .hdr-r {
    display: none;
  }
}
