/* ToiGo — главная страница. Палитра «Шампань и пудровая роза».
   Цвета и шрифты меняются в блоке :root ниже. */
:root {
  --bg: #F6EDE4; --blush: #EBD3CC; --peach: #F3E3D0;
  --ink: #3E2C2C; --muted: #6B5656;
  --rose: #C98F7A; --rose-deep: #8F5445; --gold: #C9A27A;
  --glass: rgba(255,255,255,.52); --glass-line: rgba(255,255,255,.78);
  --f-head: "Bodoni Moda", "Noto Serif Display", "Times New Roman", serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  --grad-btn: linear-gradient(135deg, #F0CDBB, #DBA590 55%, #C98F7A);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

/* ---------- Стекло и кнопки ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 18px 40px -26px rgba(143,84,69,.45); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border-radius: 999px; font: 600 16px/1 var(--f-body); letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--solid { color: var(--ink); background: var(--grad-btn); box-shadow: 0 16px 32px -16px rgba(201,143,122,.95), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 22px 38px -16px rgba(201,143,122,1), inset 0 1px 0 rgba(255,255,255,.7); }
.btn--glass { color: var(--ink); background: var(--glass); border-color: var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.76); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--big { height: 64px; padding: 0 44px; font-size: 17px; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.header { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(20px, 5vw, 72px); transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s; }
.header.is-stuck { padding-top: 10px; padding-bottom: 10px; background: rgba(246,237,228,.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(143,84,69,.12); }
.logo { font-family: var(--f-head); font-weight: 600; font-size: 2rem; letter-spacing: .01em; line-height: 1; }
.logo i { font-style: italic; font-weight: 500; color: var(--rose-deep); }
.nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.nav a:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; }
.lang button { width: 46px; height: 36px; border: 0; border-radius: 999px; background: transparent; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); transition: background .3s, color .3s; }
.lang button.on { color: var(--ink); background: linear-gradient(135deg, #F0CDBB, #D69E89); }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(58% 52% at 10% 6%,  #EBD3CC 0%, transparent 72%),
    radial-gradient(48% 50% at 90% 16%, #F3E3D0 0%, transparent 72%),
    radial-gradient(52% 58% at 72% 100%, rgba(201,143,122,.40) 0%, transparent 72%),
    radial-gradient(44% 44% at 26% 92%, rgba(236,200,188,.65) 0%, transparent 72%),
    var(--bg); }
.hero__text { position: relative; z-index: 3; width: min(640px, 50%); padding: 130px 0 90px clamp(20px, 5vw, 72px); }
.hero__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(2.7rem, 4.9vw, 4.9rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.hero__sub { margin-top: 26px; max-width: 46ch; color: var(--muted); font-size: 1.04rem; text-wrap: pretty; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__price { margin-top: 24px; font-size: .95rem; color: var(--muted); }
.hero__price b { font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; color: var(--rose-deep); margin: 0 .25em; }

.hero__stage { position: absolute; z-index: 2; right: 0; bottom: 0; height: min(90vh, 900px); aspect-ratio: 2435 / 3200; }
.hero__arch { position: absolute; z-index: 0; left: 10%; right: 12%; top: 6%; bottom: 0; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.18)); border: 1px solid rgba(255,255,255,.85); border-bottom: 0; box-shadow: 0 0 120px 20px rgba(255,236,226,.7); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hero__img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom right; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); filter: drop-shadow(0 24px 40px rgba(110,60,45,.22)); }

.chip { position: absolute; z-index: 4; background: rgba(255,250,246,.86); display: flex; align-items: center; gap: 14px; width: 268px; padding: 14px 18px 14px 14px; border-radius: 22px; }
.chip__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F0CDBB, #D69E89); color: var(--ink); }
.chip__ic svg { width: 22px; height: 22px; }
.chip b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.25; }
.chip span { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.chip div span { display: block; }
.chip--1 { left: -22%; top: 24%; }
.chip--2 { left: -34%; top: 46%; }
.chip--3 { left: -16%; top: 68%; }

/* ---------- Разделы ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 72px); }
.sec--a { background: linear-gradient(180deg, var(--bg), #F2E3D8); }
.sec--b { background: linear-gradient(180deg, #F2E3D8, var(--bg)); }
.sec--cta { background:
    radial-gradient(60% 70% at 50% 0%, rgba(235,194,174,.55) 0%, transparent 70%),
    radial-gradient(50% 60% at 90% 100%, rgba(243,227,208,.9) 0%, transparent 70%),
    var(--bg); text-align: center; }
.sec__in { max-width: 1180px; margin: 0 auto; }
.h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em; max-width: 18ch; text-wrap: balance; }
.lead { margin-top: 16px; max-width: 52ch; color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.why li { padding: 28px 26px 30px; border-radius: 24px; transition: transform .5s var(--ease), background .3s; }
.why li:hover { transform: translateY(-5px); background: rgba(255,255,255,.7); }
.why h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.why p { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.steps li { padding-top: 22px; border-top: 1px solid rgba(143,84,69,.3); }
.steps__n { display: block; font-family: var(--f-head); font-weight: 400; font-size: 4rem; line-height: 1; color: var(--rose); }
.steps h3 { margin-top: 12px; font-family: var(--f-head); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
.steps p { margin-top: 8px; color: var(--muted); max-width: 32ch; }

/* ---------- Примеры: фильтры и карточки-постеры ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 38px 0 40px; }
.filter { height: 46px; padding: 0 22px; border-radius: 999px; font: 600 .92rem/1 var(--f-body); color: var(--muted); transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.filter:hover { transform: translateY(-1px); color: var(--ink); }
.filter.on { color: var(--ink); border-color: transparent; background: var(--grad-btn); box-shadow: 0 14px 26px -16px rgba(201,143,122,.95), inset 0 1px 0 rgba(255,255,255,.6); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: #eadbd2; box-shadow: 0 34px 50px -34px rgba(143,84,69,.65); opacity: 0; transform: translateY(22px); animation: cardIn .7s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-8px); box-shadow: 0 44px 60px -34px rgba(143,84,69,.75); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img { transform: scale(1.06); }
.card__badge { position: absolute; top: 18px; left: 18px; padding: 6px 14px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #3B2410; background: linear-gradient(135deg, #F1DDA2, #D9B26A); box-shadow: 0 8px 18px -8px rgba(80,50,10,.6); }
.card__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 14px 14px 18px; border-radius: 22px; display: flex; align-items: center; gap: 10px; background: rgba(255,250,246,.985); border: 1px solid #fff; box-shadow: 0 18px 30px -20px rgba(62,44,44,.5); }
.card__cap > div { flex: 1; min-width: 0; }
.card__cat { font-size: .74rem; font-weight: 600; color: var(--rose-deep); }
.card__title { font-family: var(--f-body); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.card__price { margin-top: 2px; font-size: .8rem; color: var(--muted); white-space: nowrap; line-height: 1.3; }
.card__price b { font-family: var(--f-head); font-size: 1.12rem; font-weight: 600; color: var(--rose-deep); margin: 0 .08em; }
.card__go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F0CDBB, #D69E89); transition: transform .4s var(--ease); }
.card__go svg { width: 18px; height: 18px; }
.card:hover .card__go { transform: translateX(3px) scale(1.06); }
.more { display: flex; justify-content: center; margin-top: 56px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Музыка ---------- */
.panel { margin-top: 40px; border-radius: 32px; padding: 14px; box-shadow: 0 40px 60px -40px rgba(143,84,69,.5); }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.tr { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 20px; border: 1px solid transparent; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; }
.tr:hover { background: rgba(255,255,255,.6); }
.tr.sel { background: rgba(255,250,246,.92); border-color: #fff; box-shadow: 0 14px 26px -18px rgba(143,84,69,.6); }
.tr__pl { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); border: 1px solid #fff; transition: background .3s, transform .3s var(--ease); }
.tr__pl:hover { transform: scale(1.06); }
.tr.on .tr__pl { background: var(--grad-btn); }
.tr__pl svg { width: 16px; height: 16px; fill: var(--ink); }
.tr__pl .i-pause { display: none; }
.tr.on .tr__pl .i-play { display: none; }
.tr.on .tr__pl .i-pause { display: block; }
.tr__nm { flex: 1; min-width: 0; }
.tr__nm b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.tr__bar { margin-top: 6px; height: 3px; border-radius: 3px; background: rgba(62,44,44,.1); overflow: hidden; opacity: 0; transition: opacity .3s; }
.tr.on .tr__bar { opacity: 1; }
.tr__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #DBA590, #C98F7A); }
.tr__du { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr__ck { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(62,44,44,.28); background: transparent; display: grid; place-items: center; padding: 0; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tr__ck:hover { transform: scale(1.12); }
.tr.sel .tr__ck { border-color: var(--rose-deep); background: var(--rose-deep); }
.tr.sel .tr__ck::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.choice { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; margin: 14px 8px 6px; padding: 18px 20px; border-radius: 22px; background: rgba(255,250,246,.7); }
.choice p { color: var(--muted); font-size: .95rem; }
.choice b { color: var(--ink); font-weight: 600; }

/* ---------- Контакты и подвал ---------- */
.cta .h2, .cta .lead { margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: 36px; }
.phone { margin-top: 22px; font-family: var(--f-head); font-size: 1.5rem; font-weight: 500; }
.phone a { color: var(--rose-deep); }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; padding: 30px clamp(20px, 5vw, 72px) 34px; background: #F2E3D8; color: var(--muted); font-size: .9rem; border-top: 1px solid rgba(143,84,69,.14); }
.footer .logo { font-size: 1.6rem; color: var(--ink); }
.wafloat { position: fixed; z-index: 45; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--grad-btn); box-shadow: 0 18px 30px -12px rgba(143,84,69,.7), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .4s var(--ease), opacity .4s; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.wafloat.show { opacity: 1; transform: none; pointer-events: auto; }
.wafloat:hover { transform: translateY(-3px) scale(1.05); }
.wafloat svg { width: 28px; height: 28px; }

/* ---------- Анимации ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.js-on .hero__title, .js-on .hero__sub, .js-on .hero__actions, .js-on .hero__price { opacity: 0; transform: translateY(26px); animation: rise .95s var(--ease) forwards; }
.js-on .hero__title { animation-delay: .1s; } .js-on .hero__sub { animation-delay: .28s; }
.js-on .hero__actions { animation-delay: .44s; } .js-on .hero__price { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js-on .hero__arch { animation: archIn 1.3s var(--ease) both .1s; }
@keyframes archIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.js-on .hero__img { animation: coupleIn 1.4s var(--ease) both .3s; }
@keyframes coupleIn { from { opacity: 0; transform: translateY(30px) scale(1.03); } to { opacity: 1; transform: none; } }
.js-on .chip { animation: chipIn .9s var(--ease) both, bob 7s ease-in-out infinite; }
.js-on .chip--1 { animation-delay: .9s, 1.8s; } .js-on .chip--2 { animation-delay: 1.1s, 2.4s; } .js-on .chip--3 { animation-delay: 1.3s, 3s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.js-on .header { animation: fadeDown .8s var(--ease) both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.fade-swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Планшет и телефон ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .chip { width: 230px; }
  .chip--1 { left: -30%; } .chip--2 { left: -40%; } .chip--3 { left: -24%; }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header { padding: 14px 20px; }
  .logo { font-size: 1.7rem; }
  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero__text { width: 100%; padding: 92px 20px 0; }
  .hero__title { font-size: clamp(2.3rem, 9.4vw, 3.2rem); }
  .hero__sub { margin-top: 18px; font-size: .98rem; }
  .hero__actions { margin-top: 26px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; height: 52px; }
  .hero__price { margin-top: 18px; }
  .hero__stage { position: relative; right: auto; margin: 22px auto 0; width: 100%; max-width: 440px; height: auto; }
  .chip { width: 212px; padding: 10px 14px 10px 10px; border-radius: 18px; gap: 10px; }
  .chip__ic { width: 36px; height: 36px; } .chip__ic svg { width: 18px; height: 18px; }
  .chip b { font-size: .84rem; } .chip span { font-size: .72rem; }
  .chip--1 { left: 10px; top: auto; bottom: 25%; } .chip--2 { left: auto; right: 10px; top: auto; bottom: 8%; } .chip--3 { display: none; }
  .why, .steps { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .panel { padding: 8px; border-radius: 26px; }
  .choice { flex-direction: column; align-items: stretch; text-align: center; }
  .choice .btn { width: 100%; }
}
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; height: 42px; padding: 0 18px; }
  .grid { gap: 16px 12px; }
  .card { border-radius: 22px; }
  .card__badge { top: 10px; left: 10px; padding: 4px 10px; font-size: .64rem; }
  .card__cap { left: 8px; right: 8px; bottom: 8px; padding: 9px 8px 9px 12px; border-radius: 16px; gap: 6px; }
  .card__cat { font-size: .64rem; }
  .card__title { font-size: .86rem; }
  .card__price { font-size: .68rem; }
  .card__price b { font-size: .95rem; }
  .card__go { width: 30px; height: 30px; margin-left: auto; } .card__go svg { width: 14px; height: 14px; }
  .wafloat { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
