/* ============================================================
   RitmixLove — Production · Landing styles
   Dark music-studio · magenta + neon blue + WhatsApp green
   ============================================================ */

:root {
  /* Background */
  --bg-0: #0b0717;
  --bg-1: #0f081d;
  --bg-2: #140c26;

  /* Surfaces (glass) */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.1);

  /* Borders */
  --border: rgba(59, 28, 90, 0.7);
  --border-pink: rgba(255, 0, 122, 0.45);
  --border-blue: rgba(0, 162, 255, 0.45);
  --border-soft: rgba(255, 255, 255, 0.08);

  /* Text */
  --text: #ffffff;
  --text-soft: #c4b5fd;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;

  /* Accents */
  --pink: #ff007a;
  --pink-2: #e02885;
  --blue: #00a2ff;
  --blue-2: #0084e0;
  --green: #25d366;
  --green-2: #1da851;
  --purple: #a855f7;
  --purple-deep: #3b1c5a;

  /* Gradients */
  --grad-pink: linear-gradient(135deg, #ff007a 0%, #e02885 100%);
  --grad-blue: linear-gradient(135deg, #00a2ff 0%, #0084e0 100%);
  --grad-green: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  --grad-text: linear-gradient(135deg, #ff007a 0%, #a855f7 55%, #00a2ff 100%);
  --grad-border: linear-gradient(135deg, rgba(255,0,122,.6), rgba(168,85,247,.35), rgba(0,162,255,.4));

  /* Glow */
  --glow-pink: 0 0 30px rgba(255, 0, 122, 0.45);
  --glow-blue: 0 0 30px rgba(0, 162, 255, 0.45);
  --glow-strong: 0 14px 50px rgba(255, 0, 122, 0.3);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Type */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--grad-pink); border-radius: 10px; border: 3px solid var(--bg-0); }
::selection { background: rgba(255, 0, 122, 0.4); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(36px, 6vw, 60px) 0; }
.section--alt { background:
    radial-gradient(900px 500px at 12% 0%, rgba(168,85,246,.10), transparent 60%),
    radial-gradient(800px 500px at 88% 30%, rgba(0,162,255,.08), transparent 55%);
}

/* ---------- Background decoration ---------- */
.bg-layers {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 50% -10%, rgba(88,28,135,.4), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 45%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; will-change: transform; }
.orb--magenta { width: 520px; height: 520px; background: #ff007a; top: -140px; left: -120px; animation: float1 22s var(--ease) infinite; }
.orb--blue    { width: 460px; height: 460px; background: #00a2ff; top: 35%; right: -160px; opacity: .35; animation: float2 26s var(--ease) infinite; }
.orb--violet  { width: 600px; height: 600px; background: #6d28d9; bottom: -220px; left: 28%; opacity: .35; animation: float3 30s var(--ease) infinite; }

.grid-overlay {
  position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(168,85,247,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,80px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-80px,50px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-70px)} }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .brand__text { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 14px; --btn-pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; white-space: nowrap; user-select: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  cursor: pointer; position: relative;
}
.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad-pink); color: #fff; box-shadow: 0 8px 28px rgba(255,0,122,.4), 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255,0,122,.55), 0 0 0 1px rgba(255,255,255,.2) inset; }
.btn--primary:active { transform: translateY(-1px); }

.btn--blue { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 28px rgba(0,162,255,.4), 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn--blue:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,162,255,.55), 0 0 0 1px rgba(255,255,255,.2) inset; }

.btn--whatsapp { background: var(--grad-green); color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,.4), 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,.55), 0 0 0 1px rgba(255,255,255,.2) inset; }

.btn--telegram { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 28px rgba(0,162,255,.4), 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn--telegram:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,162,255,.55), 0 0 0 1px rgba(255,255,255,.2) inset; }

.btn--ghost {
  background: var(--surface); color: var(--text); border: 1px solid var(--border-pink); backdrop-filter: blur(12px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--glow-pink); background: var(--surface-2); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 38px; height: 38px; border-radius: 11px; object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(255, 0, 122, .5));
  border: 1px solid var(--border-pink);
  transition: filter .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.06); filter: drop-shadow(0 0 16px rgba(0,162,255,.7)); box-shadow: 0 0 24px rgba(255,0,122,.45); }
.brand--footer .brand__logo { width: 34px; height: 34px; }
.brand__text { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: var(--text); display: inline-flex; align-items: baseline; flex-wrap: wrap; }
.brand__text--sub { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 4px; letter-spacing: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; padding: 15px 0;
  background: rgba(11, 7, 23, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(11, 7, 23, 0.85); border-bottom-color: var(--border); }

.nav-bar { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--grad-pink); border-radius: 2px; transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 0; opacity: 0; overflow: hidden; padding: 0 var(--gutter);
  background: rgba(11, 7, 23, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
}
.mobile-menu.open { max-height: 460px; opacity: 1; padding: 16px var(--gutter) 26px; border-bottom-color: var(--border); }
.mobile-menu a { padding: 13px 8px; font-family: var(--font-display); font-weight: 600; color: var(--text-soft); border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 6vw, 70px);
  background-image: url("new_main_imeg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: clip;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, #0b0717 0%, rgba(11,7,23,0.96) 24%, rgba(11,7,23,0.62) 52%, rgba(11,7,23,0.12) 100%);
}
.hero__inner { position: relative; z-index: 1; }

.hero__content { display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--border-pink);
  font-size: 12.5px; font-weight: 600; color: var(--text-soft); letter-spacing: .04em;
  backdrop-filter: blur(10px); text-transform: uppercase;
}

.hero__title { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 800; margin: 22px 0 0; line-height: 1.05; }
.hero__title--accent { color: var(--pink); text-shadow: 0 0 40px rgba(255,0,122,.5); }

.hero__subtitle { margin-top: 22px; max-width: 50ch; font-size: clamp(1rem, 2vw, 1.18rem); color: var(--text-muted); line-height: 1.65; }

.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-soft);
  font-size: 13.5px; font-weight: 500; color: var(--text-soft); backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s, color .3s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--border-pink); color: var(--text); }

/* ---------- Section heading ---------- */
.section__head { max-width: 720px; margin: 0 auto clamp(38px,6vw,58px); text-align: center; }
.section__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }

/* ---------- Cards grids ---------- */
.cards-grid { display: grid; gap: 18px; }
.cards-grid--6 { grid-template-columns: repeat(6, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Glass card base */
.glass {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

/* ---------- Advantages ---------- */
.adv-card {
  padding: 24px 18px; border-radius: var(--r-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s;
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--border-pink); box-shadow: var(--glow-pink); background: var(--surface-2); }
.adv-card__icon {
  font-size: 30px; line-height: 1; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(255,0,122,.16), rgba(168,85,247,.16));
  border: 1px solid var(--border);
}
.adv-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.3; min-height: 2.6em; }
.adv-card__text { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Categories ---------- */
.cat-card {
  position: relative; padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s;
}
.cat-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,122,.3), transparent 70%);
  top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%,-50%);
  opacity: 0; transition: opacity .4s; pointer-events: none; filter: blur(20px);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--border-pink); background: var(--surface-2); box-shadow: 0 20px 50px rgba(0,0,0,.4), var(--glow-pink); }
.cat-card:hover::after { opacity: .9; }
.cat-card__icon {
  font-size: 34px; line-height: 1; display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,0,122,.16), rgba(168,85,247,.16));
  border: 1px solid var(--border);
  transition: transform .4s var(--ease);
}
.cat-card:hover .cat-card__icon { transform: scale(1.08) rotate(-4deg); }
.cat-card__title { font-size: 1.16rem; font-weight: 600; margin-bottom: 8px; }
.cat-card__text { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ---------- Audio players ---------- */
.works-list { display: flex; flex-direction: column; gap: 16px; max-width: 880px; margin: 0 auto; }

.track {
  --accent: #ff007a; --accent-2: #e02885;
  --accent-grad: linear-gradient(135deg, #ff007a, #e02885);
  --accent-glow: rgba(255,0,122,.45);
  padding: 22px clamp(18px, 4vw, 28px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  transition: border-color .35s, box-shadow .35s, background .35s, opacity .5s, transform .5s;
}
.track--blue {
  --accent: #00a2ff; --accent-2: #0084e0;
  --accent-grad: linear-gradient(135deg, #00a2ff, #0084e0);
  --accent-glow: rgba(0,162,255,.45);
}
.track.playing { border-color: var(--accent); background: var(--surface-2); box-shadow: 0 0 30px var(--accent-glow); }

.track__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.track__meta { flex: 1; min-width: 0; }
.track__label {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 3px;
}
.track__title { font-size: 1.08rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__time { font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--text-muted); white-space: nowrap; }

.play-btn {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-grad); color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn:active { transform: scale(.96); }
.play-btn svg { width: 22px; height: 22px; }
.play-btn .icon-pause { display: none; }
.track.playing .play-btn .icon-play { display: none; }
.track.playing .play-btn .icon-pause { display: block; }

.track__wave {
  position: relative; height: 56px; border-radius: var(--r-sm);
  cursor: pointer; user-select: none; overflow: hidden;
  background: rgba(255,255,255,.02);
}
.track__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; padding: 0 2px; }
.track__bars i { flex: 1; min-width: 2px; border-radius: 2px; background: rgba(168,85,247,.22); transform-origin: center; height: var(--h, 30%); }
.track.playing .track__bars i { animation: barbounce 1s ease-in-out infinite alternate; }
@keyframes barbounce { from { transform: scaleY(.4); } to { transform: scaleY(1.4); } }

.track__progress {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0%;
  background: linear-gradient(90deg, rgba(255,0,122,.18), rgba(168,85,247,.18));
  border-right: 2px solid var(--accent);
  box-shadow: 4px 0 14px var(--accent-glow);
  pointer-events: none;
}
.track__bars i.played { background: var(--accent-grad); }

.track__handle {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px var(--accent-glow), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.track.playing .track__handle, .track__wave:hover .track__handle { opacity: 1; }

.works__more { text-align: center; margin-top: 30px; }
.works__more-link {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px;
  border-bottom: 1px solid var(--border-pink); transition: color .25s, gap .25s, border-color .25s;
}
.works__more-link:hover { color: var(--pink); border-bottom-color: var(--pink); gap: 12px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

.price-card {
  position: relative; padding: 32px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-pink); box-shadow: 0 20px 50px rgba(0,0,0,.4); }

.price-card--featured { border-color: var(--border-blue); background: linear-gradient(180deg, rgba(0,162,255,.12), var(--surface)); box-shadow: 0 20px 60px rgba(0,162,255,.25); }
.price-card--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad-blue); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-card--featured:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 26px 70px rgba(0,162,255,.4); }

.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
  background: var(--grad-blue); box-shadow: 0 6px 20px rgba(0,162,255,.5); white-space: nowrap;
}

.price-card__head { margin-bottom: 22px; }
.price-card__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.price-card__sub { font-size: .92rem; color: var(--text-muted); }

.price-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card__features li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--text-soft); line-height: 1.5; }
.check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,0,122,.18), rgba(168,85,247,.18)); border: 1px solid var(--border); position: relative;
}
.check::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(-45deg) translate(1px,-1px); }
.price-card--featured .check::after { border-color: var(--blue); }

.price-card__foot { display: flex; flex-direction: column; gap: 16px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; }
.price-card__price .amount { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 2.6rem); font-weight: 800; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.price-card--featured .price-card__price .amount { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-card__price .currency { font-size: 1.4rem; font-weight: 700; color: var(--text-soft); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.steps__line { position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--border-pink), var(--border-blue), transparent); z-index: 0; }
.step { position: relative; text-align: center; z-index: 1; }
.step__top { position: relative; display: grid; place-items: center; margin-bottom: 18px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff;
  background: var(--bg-2); border: 1.5px solid var(--border-pink);
  box-shadow: 0 0 30px rgba(255,0,122,.22);
  transition: transform .4s var(--ease), box-shadow .4s, background .4s, border-color .4s;
}
.step__icon {
  position: absolute; right: -6px; top: -6px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-pink); color: #fff;
  box-shadow: 0 4px 14px rgba(255,0,122,.5);
}
.step__icon svg { width: 16px; height: 16px; }
.step:nth-child(2n) .step__icon { background: var(--grad-blue); box-shadow: 0 4px 14px rgba(0,162,255,.5); }
.step:hover .step__num { transform: translateY(-4px) scale(1.06); background: var(--grad-pink); border-color: transparent; box-shadow: var(--glow-strong); }
.step__title { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: .92rem; color: var(--text-muted); line-height: 1.55; max-width: 22ch; margin-inline: auto; }

/* ---------- Reviews ---------- */
.reviews-carousel { max-width: 1080px; margin: 0 auto; }
.reviews-viewport { overflow: hidden; border-radius: var(--r-lg); }
.reviews-track { display: flex; gap: 20px; padding: 4px; transition: transform .6s var(--ease); will-change: transform; }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3); padding: 28px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
.review-card:hover { border-color: var(--border-pink); box-shadow: var(--glow-pink); transform: translateY(-4px); }
.review-card__stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.review-card__text { font-size: .98rem; color: var(--text-soft); line-height: 1.65; flex: 1; }
.review-card__person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--a1, #ff007a), var(--a2, #a855f7));
  box-shadow: 0 4px 16px rgba(255,0,122,.3);
}
.review-card__who { display: flex; flex-direction: column; }
.review-card__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.review-card__loc { font-size: .82rem; color: var(--text-faint); }

.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s, background .25s;
}
.carousel-btn:hover { color: #fff; border-color: var(--border-pink); background: var(--surface-3); transform: scale(1.08); box-shadow: var(--glow-pink); }
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.reviews-dots { display: flex; gap: 9px; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border-pink); transition: width .3s var(--ease), background .3s, box-shadow .3s; }
.reviews-dots button.active { width: 28px; border-radius: 6px; background: var(--grad-pink); box-shadow: 0 0 12px rgba(255,0,122,.6); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(40px, 7vw, 80px) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(34px, 6vw, 56px); text-align: center;
  background: linear-gradient(135deg, rgba(255,0,122,.14), rgba(168,85,247,.10) 50%, rgba(0,162,255,.10));
  border: 1px solid var(--border-pink); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(255,0,122,.2);
}
.cta-band__inner::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,0,122,.4), transparent 65%); top: -120px; right: -100px; filter: blur(30px); pointer-events: none; }
.cta-band__inner::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,162,255,.32), transparent 65%); bottom: -120px; left: -80px; filter: blur(30px); pointer-events: none; }
.cta-band__title { position: relative; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.cta-band__sub { position: relative; margin: 14px auto 0; color: var(--text-soft); max-width: 50ch; }
.cta-band__actions { position: relative; display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 28px; background: linear-gradient(180deg, transparent, rgba(11,7,23,.6)); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); }
.brand--footer .brand__text { font-size: 1.25rem; }
.footer-about { margin-top: 14px; color: var(--text-muted); font-size: .92rem; max-width: 34ch; line-height: 1.6; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-social {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s, background .25s;
}
.footer-social:hover { transform: translateY(-3px); border-color: var(--border-pink); color: var(--pink); box-shadow: var(--glow-pink); background: var(--surface-2); }

.footer-col__title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-list { display: flex; flex-direction: column; gap: 11px; }
.footer-list a { color: var(--text-muted); font-size: .92rem; transition: color .2s; width: fit-content; }
.footer-list a:hover { color: var(--pink); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--text-muted); }
.footer-contacts a { color: var(--text-muted); transition: color .2s; }
.footer-contacts a:hover { color: var(--pink); }

.site-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: var(--text-faint); }
.site-footer__made { color: var(--text-muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .cards-grid--6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Показываем фоновое изображение hero целиком, без обрезки на узких экранах */
  .hero { background-size: contain; background-position: top center; }

  .hero__content { align-items: center; text-align: center; max-width: none; }
  .hero::before { background: linear-gradient(180deg, rgba(11,7,23,0.5) 0%, rgba(11,7,23,0.42) 32%, rgba(11,7,23,0.8) 72%, rgba(11,7,23,0.95) 100%); }
  .chips { justify-content: center; }

  .cards-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card--featured { order: -1; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .steps__line { display: none; }

  .review-card { flex-basis: calc((100% - 20px) / 2); }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-col--about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .cards-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: 1fr; }
  .adv-card__title { min-height: 0; }

  .track__head { flex-wrap: wrap; gap: 12px; }
  .track__time { order: 3; width: 100%; text-align: right; margin-top: -4px; }
  .track__wave { height: 48px; }

  .review-card { flex-basis: 100%; }

  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: flex; align-items: center; gap: 16px; text-align: left; }
  .step__top { margin: 0; flex-shrink: 0; }
  .step__num { width: 52px; height: 52px; font-size: 1.2rem; }
  .step__icon { width: 24px; height: 24px; right: -4px; top: -4px; }
  .step__icon svg { width: 13px; height: 13px; }
  .step__text { max-width: none; }

  .hero__actions { flex-direction: column; width: 100%; max-width: 320px; align-self: stretch; margin-inline: auto; }
  .hero__actions .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }

  .cta-band__actions { flex-direction: column; width: 100%; max-width: 280px; margin-inline: auto; }
  .cta-band__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .cards-grid--6 { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.3rem; }
}

/* ============================================================
   Mobile (<768px) — clean, finger-friendly layout
   Desktop (>=768px) stays untouched.
   ============================================================ */
@media (max-width: 767px) {
  /* --- Header: clean, solid, separated from content; no neon glow on logo --- */
  .site-header {
    padding: 12px 0;
    background: rgba(11, 7, 23, 0.96);
    border-bottom: 1px solid var(--border);
  }
  .site-header.scrolled { background: rgba(11, 7, 23, 0.98); }
  .brand__logo { filter: none; border-color: var(--border-soft); }

  /* --- Hero: soft deep-blue -> dark gradient instead of the busy banner image
         (the image contains a large grey "RITMIX LOVE Production" text that
         overlapped the white title and caused the chaos) --- */
  .hero {
    background-image: none;
    background: linear-gradient(180deg, #0d1430 0%, #0b0717 62%);
    padding: 44px 0 40px;
  }
  .hero::before { background: none; }

  /* --- Declutter: hide the framed slogan ("ПЕСНИ, КОТОРЫЕ ГОВОРЯТ ЗА ВАС") --- */
  .hero .eyebrow { display: none; }

  /* --- Title: centered, more line-height for readability --- */
  .hero__title { margin-top: 18px; line-height: 1.16; }
  .hero__title--accent { text-shadow: 0 0 28px rgba(255, 0, 122, .4); }

  /* --- Subtitle: compact, centered, tidy --- */
  .hero__subtitle { margin-top: 18px; max-width: 40ch; font-size: 1rem; line-height: 1.6; }

  /* --- Buttons: full-width, tall hit-target, stacked with generous spacing --- */
  .hero__actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 460px;
    margin: 34px auto 0;
  }
  .hero__actions .btn {
    width: 100%;
    --btn-pad-y: 16px;
    --btn-pad-x: 24px;
    font-size: 15.5px;
  }
  /* soft neon glow only on press, not in the background */
  .hero__actions .btn--primary:active {
    box-shadow: 0 0 26px rgba(255, 0, 122, .55), 0 10px 30px rgba(255, 0, 122, .4);
  }
  .hero__actions .btn--ghost:active {
    box-shadow: 0 0 22px rgba(255, 0, 122, .4);
  }

  /* --- Trust chips: sit cleanly below the buttons, centered, not floating --- */
  .chips { justify-content: center; margin-top: 36px; }

  /* --- Soften the page background: hide sharp neon orbs --- */
  .bg-layers { background: linear-gradient(180deg, #0a1330 0%, #0b0717 50%, #0b0717 100%); }
  .orb { opacity: 0; }
  .grid-overlay { opacity: .12; }

  /* --- Floating WhatsApp: slightly raised & a bit more compact --- */
  .fab-whatsapp { right: 18px; bottom: 22px; width: 52px; height: 52px; }
  .fab-whatsapp svg { width: 24px; height: 24px; }
}

/* ============================================================
   YouTube / Релизы section
   ============================================================ */
.btn--youtube {
  background: linear-gradient(135deg, #ff0033 0%, #c4302b 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 0, 51, .45), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}
.btn--youtube:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255, 0, 51, .6), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.btn--youtube:active { transform: translateY(-1px); }

.yt-carousel { position: relative; display: flex; align-items: center; gap: 14px; max-width: 1100px; margin: 0 auto; }
.yt-viewport { flex: 1; overflow: hidden; border-radius: var(--r-lg); }
.yt-track {
  display: flex; gap: 18px; padding: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.yt-track::-webkit-scrollbar { display: none; }

.yt-arrow {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s, background .25s, opacity .25s;
}
.yt-arrow:not(:disabled):hover { color: #fff; border-color: var(--border-pink); background: var(--surface-3); transform: scale(1.08); box-shadow: var(--glow-pink); }
.yt-arrow:disabled { opacity: .3; cursor: not-allowed; }

/* Video card */
.yt-card {
  flex: 0 0 320px; scroll-snap-align: start;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.yt-card:hover { transform: translateY(-8px); border-color: var(--border-pink); box-shadow: 0 20px 50px rgba(0, 0, 0, .45), var(--glow-pink); }
.yt-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease), opacity .3s; }
.yt-card:hover .yt-card__thumb img { transform: scale(1.07); }
.yt-card__thumb::after { /* darkening for contrast */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 7, 23, .55));
  opacity: .7; transition: opacity .4s;
}
.yt-card:hover .yt-card__thumb::after { opacity: 1; }
.yt-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9); z-index: 2;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-pink); color: #fff;
  box-shadow: 0 0 0 0 rgba(255, 0, 122, .55), 0 8px 24px rgba(255, 0, 122, .5);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.yt-card__play svg { width: 26px; height: 26px; margin-left: 2px; }
.yt-card:hover .yt-card__play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 8px rgba(255, 0, 122, .18), 0 12px 34px rgba(255, 0, 122, .65);
}
.yt-card__body { padding: 16px 18px 20px; }
.yt-card__title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.yt-card__date { font-size: .82rem; color: var(--text-faint); display: inline-flex; align-items: center; gap: 6px; }

/* Loading + fallback states */
.yt-status {
  flex: 1; min-width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 60px 24px; color: var(--text-muted); font-size: .95rem;
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-lg);
}
.yt-status__spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border-pink); border-top-color: var(--pink);
  animation: ytspin .8s linear infinite;
}
@keyframes ytspin { to { transform: rotate(360deg); } }
.yt-status--error { flex-direction: column; gap: 16px; text-align: center; max-width: 460px; margin: 0 auto; }
.yt-status--error .yt-status__hint { color: var(--text-faint); font-size: .85rem; }
.yt-status--error .btn { margin-top: 4px; }

/* Skeleton cards */
.yt-skel { flex: 0 0 320px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.yt-skel__thumb { aspect-ratio: 16 / 9; background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-2) 40%, rgba(168, 85, 247, .12) 50%, var(--bg-2) 60%, var(--bg-2) 100%); background-size: 200% 100%; animation: ytshimmer 1.4s linear infinite; }
.yt-skel__lines { padding: 16px 18px 20px; }
.yt-skel__lines span { display: block; height: 12px; border-radius: 6px; background: var(--bg-2); margin-bottom: 8px; }
.yt-skel__lines span:nth-child(1) { width: 85%; }
.yt-skel__lines span:nth-child(2) { width: 55%; height: 10px; }
@keyframes ytshimmer { to { background-position: -200% 0; } }

/* CTA under carousel */
.yt-cta { text-align: center; margin-top: 34px; }

/* Modal / lightbox */
.yt-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.yt-modal[hidden] { display: none; }
.yt-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 3, 12, .86); backdrop-filter: blur(8px); animation: ytfade .25s var(--ease); }
.yt-modal__dialog {
  position: relative; width: min(960px, 100%); z-index: 1;
  animation: ytpop .3s var(--ease);
}
.yt-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-pink); box-shadow: 0 30px 90px rgba(255, 0, 122, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.yt-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-modal__close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-pink);
  color: var(--text); backdrop-filter: blur(10px); transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.yt-modal__close:hover { transform: rotate(90deg) scale(1.08); background: var(--grad-pink); box-shadow: var(--glow-pink); }
@keyframes ytfade { from { opacity: 0; } }
@keyframes ytpop { from { opacity: 0; transform: scale(.94) translateY(12px); } }

@media (max-width: 640px) {
  .yt-arrow { display: none; } /* native swipe on the scroll-snap track */
  .yt-card, .yt-skel { flex-basis: 86%; }
  .yt-modal__close { top: -48px; }
}
@media (min-width: 1100px) {
  .yt-card, .yt-skel { flex-basis: 340px; }
}

/* ============================================================
   Floating WhatsApp quick-contact button
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #25D366 0%, #128C3E 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 1px rgba(255, 255, 255, .14) inset;
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: fabin .5s var(--ease) .3s both;
}
.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, .65), 0 0 0 1px rgba(255, 255, 255, .22) inset;
}
.fab-whatsapp:active { transform: translateY(-1px) scale(1.02); }
.fab-whatsapp svg { position: relative; z-index: 2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.fab-whatsapp__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: 1;
  animation: fabpulse 2.4s ease-out infinite;
}
@keyframes fabin {
  from { opacity: 0; transform: translateY(20px) scale(.6); }
}
@keyframes fabpulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
@media (max-width: 640px) {
  .fab-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp { animation: none; }
  .fab-whatsapp__pulse { animation: none; opacity: 0; }
}

/* ============================================================
   CMS text-safety — keep layout stable with longer/shorter copy
   ============================================================ */
.hero__title,
.section__title,
.cta-band__title,
.price-card__name,
.cat-card__title,
.adv-card__title,
.step__title,
.track__title,
.review-card__name {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero__subtitle,
.section__lead,
.adv-card__text,
.cat-card__text,
.price-card__sub,
.price-card__features li,
.step__text,
.review-card__text,
.cta-band__sub,
.footer-about,
.eyebrow,
.chip {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Flexible card heights — drop fixed min-heights that fight long titles */
.adv-card__title { min-height: 0; }
.adv-card,
.cat-card,
.price-card {
  min-width: 0; /* allow grid items to shrink without overflow */
}

.price-card__price .amount {
  overflow-wrap: anywhere;
  max-width: 100%;
}

.btn {
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.35;
}

.brand__text {
  overflow-wrap: anywhere;
  max-width: min(52vw, 280px);
}

.track__meta { min-width: 0; flex: 1; }
.track__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.step__text { max-width: 28ch; }

.nav-links a,
.mobile-menu a:not(.btn) {
  overflow-wrap: anywhere;
}

/* Empty CMS mounts keep section rhythm while content loads */
#cms-advantages:empty,
#cms-categories:empty,
#cms-pricing:empty,
#cms-steps:empty,
#worksList:empty,
#reviewsTrack:empty {
  min-height: 120px;
}
