/* ───── priceee — site styles ───── */

@import url("../ds/colors_and_type.css");

* { box-sizing: border-box; }
html, body, #app { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--lavender);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* page background — soft periwinkle with diffuse blue orbs */
.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(1, 42, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(189, 0, 255, 0.12), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(24, 24, 213, 0.18), transparent 65%),
    var(--lavender);
  overflow: hidden;
}
.page::before {
  /* faint grain */
  content: "";
  position: fixed;
  inset: 0;
  background: url("../ds/grain-texture-blue.png") center/cover;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.shell {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 56px 80px;
}

/* ─────────── liquid glass primitives ─────────── */
.glass {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(1, 42, 255, 0.06),
    0 14px 50px -16px rgba(6, 6, 135, 0.18);
}
.glass-strong {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 60px -20px rgba(6, 6, 135, 0.22);
}
.glass-dark {
  background: linear-gradient(180deg, rgba(1, 42, 255, 0.55), rgba(6, 6, 135, 0.65));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 20px 60px -20px rgba(0, 14, 86, 0.45);
  color: white;
}

/* ─────────── top nav ─────────── */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 22px;
  border-radius: var(--r-pill);
  margin-bottom: 56px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: 18px;
  cursor: pointer;
}
.nav-logo-mark {
  height: 26px;
  width: auto;
  display: block;
}
.nav-logo-full {
  height: 30px;
  width: auto;
  display: block;
}
.nav-logo-word {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--blue-pure);
  white-space: nowrap;
}
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-700);
  border: none;
  background: transparent;
  transition: background .2s, color .2s, transform .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link:hover { background: rgba(255,255,255,0.55); color: var(--blue-pure); }
.nav-link.active {
  background: var(--blue-pure);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 8px 20px -6px rgba(1, 42, 255, 0.55);
}
.nav-cta {
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  background: var(--ink-900);
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--blue-pure); transform: translateY(-1px); }

/* burger + mobile menu — hidden on desktop/tablet, shown ≤600px */
.nav-burger { display: none; }
.nav-mobile-menu { display: none; }

/* ─────────── hero ─────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.hero-headline-eco {
  font-size: clamp(44px, 5.4vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-headline-eco em {
  font-style: normal;
  font-weight: 300;
}
.hero-sub-secondary {
  margin-top: 22px;
  font-size: 16px;
  max-width: 520px;
  color: var(--ink-500);
}
.hero-headline {
  font-weight: 700;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin: 12px 0 0;
  text-wrap: balance;
}
.hero-headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue-pure);
  background: linear-gradient(120deg, var(--blue-pure), var(--violet) 75%, var(--blue-night));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 520px;
}
.hero-meta {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.chip {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-pure); }

.hero-pad {
  position: relative;
  border-radius: 38px;
  padding: 26px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(180% 120% at 100% 0%, rgba(189, 0, 255, 0.45), transparent 55%),
    linear-gradient(135deg, #060687 0%, #1818D5 55%, #012AFF 100%);
  color: white;
  overflow: hidden;
}
.hero-pad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../ds/grain-texture-blue.png") center/cover;
  opacity: 0.6;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-pad-orb {
  position: absolute;
  width: 580px;
  height: 580px;
  right: -190px;
  bottom: -240px;
  background: url("../ds/section-bg-orb.png") center/contain no-repeat;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: hue-rotate(-15deg);
  pointer-events: none;
}
.hero-pad h3 {
  position: relative;
  margin: 0;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-pad .price-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.hero-pad .price-bar b {
  font-weight: 700;
  font-size: 92px;
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.hero-pad .price-bar span { font-size: 18px; opacity: 0.7; padding-bottom: 12px; }
.hero-pad .price-rows {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.hero-pad .price-rows .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.hero-pad .price-rows .row b { font-weight: 600; }

/* ─────────── hero art (right column illustration) ─────────── */
.hero-art {
  position: relative;
  border-radius: 38px;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(180% 120% at 100% 0%, rgba(189, 0, 255, 0.4), transparent 55%),
    linear-gradient(135deg, #060687 0%, #1818D5 55%, #012AFF 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 20px 60px -20px rgba(0,14,86,0.45);
}
.hero-art-grain {
  position: absolute; inset: 0;
  background: url("../ds/grain-texture-blue.png") center/cover;
  opacity: 0.55;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-art-orb {
  position: absolute;
  width: 620px; height: 620px;
  right: -220px; bottom: -260px;
  background: url("../ds/section-bg-orb.png") center/contain no-repeat;
  opacity: 0.55;
  mix-blend-mode: screen;
  filter: hue-rotate(-15deg);
  pointer-events: none;
}
.hero-art-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero-art-glow-1 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(189,0,255,0.55), transparent 70%);
  top: 12%; left: 10%;
}
.hero-art-glow-2 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,255,200,0.4), transparent 70%);
  bottom: 14%; right: 20%;
}

.hero-art-card {
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(255,255,255,0.08),
    0 30px 60px -20px rgba(0,0,0,0.4);
  padding: 14px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.hero-art:hover .hero-art-card { transform: translateY(-2px); }
.hero-art-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hero-art-card-static {
  width: 170px; height: 170px;
  left: 8%; top: 14%;
  transform: rotate(-7deg);
  animation: floatA 8s ease-in-out infinite;
}
.hero-art-card-static .hero-art-card-inner {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 4px;
}
.hero-art-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  display: block;
}
.hero-art-bar.w70 { width: 70%; background: rgba(255,255,255,0.7); }
.hero-art-bar.w50 { width: 50%; }
.hero-art-bar.w30 { width: 30%; }

.hero-art-card-video {
  width: 200px; height: 118px;
  right: 8%; top: 16%;
  transform: rotate(5deg);
  animation: floatB 9s ease-in-out infinite;
}
.hero-art-play {
  position: absolute;
  left: 50%; top: 56%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  color: white;
}

.hero-art-card-gif {
  width: 130px; height: 200px;
  left: 18%; bottom: 8%;
  transform: rotate(-3deg);
  animation: floatA 11s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-art-pulse {
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,0,255,0.85), rgba(1,42,255,0.6) 60%, transparent 70%);
  box-shadow: 0 0 30px rgba(189,0,255,0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-art-card-rich {
  width: 150px; height: 150px;
  right: 14%; bottom: 14%;
  transform: rotate(8deg);
  animation: floatB 10s ease-in-out infinite;
  animation-delay: -3s;
}
.hero-art-cursor {
  position: absolute;
  left: 50%; top: 56%;
  transform: translate(-50%,-50%) rotate(-12deg);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.hero-art-tag {
  position: absolute;
  padding: 7px 13px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(14px);
  color: white;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.45);
}
.hero-art-tag-1 { top: 6%; left: 42%; transform: rotate(-4deg); }
.hero-art-tag-2 { top: 38%; right: 4%; transform: rotate(8deg); }
.hero-art-tag-3 { bottom: 6%; left: 4%; transform: rotate(-3deg); animation-delay: -1s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50%      { transform: translateY(-8px) rotate(-7deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50%      { transform: translateY(-10px) rotate(5deg); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity: 0.75; }
}

/* ─────────── home — category grid ─────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cat-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: 38px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card .num {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.cat-card h2 {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.cat-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-700);
  max-width: 360px;
}
.cat-card .formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.cat-card .formats .tag {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--ink-700);
  backdrop-filter: blur(10px);
}
.cat-card .arrow-pill {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-pure);
  color: white;
  transition: transform .35s, box-shadow .35s;
  box-shadow: 0 10px 24px -8px rgba(1, 42, 255, 0.55);
}
.cat-card:hover .arrow-pill { transform: translate(2px, -2px) scale(1.04); }
.cat-card.x-display { grid-column: span 7; }
.cat-card.x-video   { grid-column: span 5; background: linear-gradient(160deg, #ffffff 0%, #E5EAFF 100%); border: 1px solid rgba(255,255,255,0.8); }
.cat-card.x-bundles {
  grid-column: span 5;
  background: linear-gradient(160deg, #060687 0%, #1818D5 70%, #012AFF 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}
.cat-card.x-bundles::after { content:""; position:absolute; inset:0; background: url("../ds/grain-texture-blue.png") center/cover; opacity:.45; mix-blend-mode: soft-light; pointer-events:none;}
.cat-card.x-bundles .num,
.cat-card.x-bundles h2,
.cat-card.x-bundles p { color: white; }
.cat-card.x-bundles p { opacity: 0.78; }
.cat-card.x-bundles .formats .tag { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); color: white; }
.cat-card.x-bundles .arrow-pill { background: white; color: var(--blue-pure); }
.cat-card.x-additional { grid-column: span 7; }

/* highlight row */
.hl-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.hl {
  padding: 22px 22px 24px;
  border-radius: 28px;
}
.hl h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.hl p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-700); }
.hl b { color: var(--ink-900); font-weight: 600; }

/* ─────────── category page ─────────── */
.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 32px 0 28px;
  gap: 32px;
}
.cat-head h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.cat-head h1 em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue-pure);
}
.cat-head .lede { max-width: 520px; font-size: 17px; line-height: 1.5; color: var(--ink-700); }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.breadcrumb b { color: var(--blue-pure); font-weight: 600; }

/* slider */
.slider {
  position: relative;
  margin-top: 14px;
}
.slider-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.slider-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
}
.slider-tab {
  border: none;
  background: transparent;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .2s, color .2s;
}
.slider-tab:hover { color: var(--blue-pure); }
.slider-tab.active {
  background: var(--ink-900);
  color: white;
}
.slider-counter {
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}
.slider-nav {
  display: flex;
  gap: 8px;
}
.slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  transition: background .2s, color .2s;
}
.slider-nav button:hover { background: var(--blue-pure); color: white; border-color: var(--blue-pure); }
.slider-nav button:disabled { opacity: 0.4; cursor: not-allowed; }

.slider-track-wrap { overflow: hidden; border-radius: 38px; }
.slider-track {
  display: flex;
  will-change: transform;
}

/* format card */
.fmt {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 38px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(255,255,255,0.8);
}
.fmt-media {
  position: relative;
  background: linear-gradient(160deg, #060687 0%, #1818D5 55%, #012AFF 100%);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.fmt-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../ds/grain-texture-blue.png") center/cover;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.fmt-media .label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.fmt-media .label .dot { width: 6px; height: 6px; border-radius: 50%; background: white; }

/* ─── Bundle preview board (full-bleed composite frame + live overlays) ─── */
.fmt-media.board-media-card {
  padding: 0;
  background: #ffffff;
  display: block;
  overflow: hidden;
}
.fmt-media.board-media-card::after { display: none; }
.bundle-board {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3086 / 2426;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-inner {
  position: relative;
}
.bundle-board .board-frame-live { z-index: 1; }
.bundle-board .bundle-frame-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 2;
  pointer-events: none;
}
.bundle-board .board-overlay {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border-radius: 14px;
}
/* Interactive rich-media banner sits on top of the live frame and stays clickable. */
.bundle-board .board-overlay.interactive { z-index: 3; }
.bundle-board .board-overlay .example-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bundle-board .board-html {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.bundle-board .board-html iframe {
  border: 0;
  display: block;
}

.fmt-examples {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
}
.example-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.example-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  transition: opacity .45s ease, transform .45s ease;
  padding: 16px 64px 46px;
  pointer-events: none;
}
.example-slide.active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }

/* looping video example (HTML5 banners) */
.example-video {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}

/* embedded live HTML5 banner (Rich Media) */
.example-html {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.example-html iframe { border: none; display: block; }
.example-frame {
  position: relative;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 30px 70px -30px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.example-frame image-slot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
}
.example-frame .example-img {
  display: block;
  border-radius: 14px;
  max-width: 100%;
}
.example-frame.zoomable .example-img { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.example-frame.zoomable:hover .example-img { transform: scale(1.02); }
.example-frame .pl {
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 12px;
  color: rgba(255,255,255,0.9);
}
.example-frame .pl-meta {
  margin-top: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-align: center;
  font-weight: 600;
}

.example-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.16);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,0.5);
  transition: background .2s, transform .2s;
}
.example-arrow:hover { background: rgba(255,255,255,0.42); }
.example-arrow:active { transform: translateY(-50%) scale(0.94); }
.example-arrow.left { left: 18px; }
.example-arrow.right { right: 18px; }
.example-arrow svg { width: 20px; height: 20px; }
.example-dots {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(14px);
}
.example-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: width .25s, background .25s;
}
.example-dots span.active { background: white; width: 18px; border-radius: 4px; }

/* zoomable static frames + lightbox */
.example-frame.zoomable { cursor: zoom-in; }
.example-frame.zoomable image-slot { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.example-frame.zoomable:hover image-slot { transform: scale(1.02); }
.zoom-btn {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
  color: white;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  opacity: 0;
  transform: scale(0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.45);
  transition: opacity .25s, transform .25s, background .2s;
}
.example-frame.zoomable:hover .zoom-btn { opacity: 1; transform: scale(1); }
.zoom-btn:hover { background: rgba(255,255,255,0.42); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 48px;
  background: rgba(6,6,40,0.78);
  backdrop-filter: blur(18px);
  animation: lb-in .22s ease-out;
  cursor: zoom-out;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: min(92vw, 760px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,0.7);
  cursor: default;
  animation: lb-pop .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes lb-pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: fixed;
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.14);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* right side detail */
.fmt-detail {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fmt-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 6px 0 8px;
  color: var(--ink-900);
}
.fmt-tag {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-700);
}
.fmt-section {
  padding: 18px 0;
  border-top: 1px solid rgba(61, 70, 119, 0.12);
}
.fmt-section:last-of-type { border-bottom: 1px solid rgba(61, 70, 119, 0.12); }
.fmt-section h5 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.feat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-700);
}
.feat-list .mark {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(1,42,255,0.12);
  color: var(--blue-pure);
  display: grid; place-items: center;
  margin-top: 2px;
}
.aud-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aud-tag {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--lavender-4);
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
}
.bench-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bench {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--lavender-4);
}
.bench dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.bench dd { margin: 4px 0 0; font-weight: 700; font-size: 19px; color: var(--blue-pure); }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ink-900) 0%, #1c2350 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.price-row.has-old { padding-right: 18px; }
.price-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180% 100% at 100% 0%, rgba(189, 0, 255, 0.25), transparent 50%);
  pointer-events: none;
}
.price-row .label {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.price-row .value {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.price-row .value .old {
  font-weight: 500;
  font-size: 17px;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.55);
}
.price-row .value .save {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--blue-ink);
  align-self: center;
}
.price-row .cta {
  position: relative;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  background: white;
  color: var(--ink-900);
  border: none;
  transition: background .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.price-row .cta:hover { background: var(--blue-pure); color: white; }

/* gallery CTA (replaces price-row on Rich Media) */
.gallery-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 26px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue-pure) 0%, #1818D5 60%, #7C01FF 130%);
  box-shadow: 0 14px 34px -12px rgba(1, 42, 255, 0.6);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.gallery-cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 40px -12px rgba(1, 42, 255, 0.7); }
.gallery-cta:active { transform: translateY(0); }

/* pricing rows inside detail */
.pkg-rows { display: flex; flex-direction: column; gap: 10px; }
.pkg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--lavender-4);
}
.pkg-row .pkg-info { display: flex; flex-direction: column; gap: 2px; }
.pkg-row .pkg-info b { font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.pkg-row .pkg-info span { font-size: 12.5px; color: var(--ink-500); }
.pkg-row .pkg-price { font-weight: 700; font-size: 18px; color: var(--blue-pure); }

/* steps (bundles) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step {
  display: flex;
  gap: 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-700);
}
.step .n {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-pure);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 12px;
}

/* additional / resize page */
.add-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.add-card {
  padding: 32px;
  border-radius: 38px;
}
.add-card h3 {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.add-card p {
  margin: 0 0 18px;
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 480px;
}
.resize-list { display: flex; flex-direction: column; gap: 6px; }
.resize-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(61,70,119,0.1);
}
.resize-row:last-child { border-bottom: none; }
.resize-row .ico { color: var(--blue-pure); }
.resize-row .nm { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.resize-row .nm small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.resize-row .pr { font-weight: 700; font-size: 17px; color: var(--blue-pure); }

.note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(189, 0, 255, 0.08);
  border: 1px solid rgba(189, 0, 255, 0.2);
  color: var(--ink-700);
  font-size: 13.5px;
  line-height: 1.5;
}

/* footer */
.foot {
  margin-top: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  border-radius: 24px;
  font-size: 13px;
  color: var(--ink-500);
}
.foot b { color: var(--ink-900); }

/* utilities */
.fade-in {
  animation: fadeIn .55s cubic-bezier(.2,.7,.2,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ CASES ═══════════ */

/* home teaser band */
.cases-teaser {
  margin-top: 28px;
  border-radius: 38px;   /* match .cat-card so all home tiles share one corner radius */
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.cases-teaser:hover { transform: translateY(-2px); }
.cases-teaser .num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--blue-pure); margin-bottom: 8px;
}
.cases-teaser-main { max-width: 560px; }
.cases-teaser-main h2 { margin: 0 0 8px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); }
.cases-teaser-main p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-700); }
.cases-teaser-brands { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.ct-brand {
  padding: 10px 20px; border-radius: var(--r-pill, 9999px);
  background: rgba(1,42,255,0.08); border: 1px solid rgba(1,42,255,0.16);
  color: var(--blue-pure); font-weight: 700; font-size: 15px;
}
.cases-teaser .arrow-pill {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-pure); color: white;
  transition: transform .35s;
}
.cases-teaser:hover .arrow-pill { transform: translate(3px,-3px) scale(1.05); }

/* case card shell (lives inside the slider track) */
.case {
  min-width: 100%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 40px 40px 44px;
}
.case-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 28px; margin-bottom: 30px;
}
.case-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-pure); margin-bottom: 10px;
}
.case-title { margin: 0; font-size: 38px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1.05; }
.case-q { margin: 12px 0 0; font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--ink-500); white-space: pre-line; }
.case-badge {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; text-align: center; padding: 6px;
  color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0.02em;
  box-shadow: 0 10px 26px -10px rgba(6,6,135,0.5);
}

/* meta rows */
.case-meta { display: flex; flex-direction: column; gap: 14px; }
.meta-row { font-size: 17px; line-height: 1.4; color: var(--ink-500); }
.meta-row b { color: var(--ink-900); font-weight: 700; }

/* stat lines */
.stat-line { display: flex; align-items: baseline; gap: 14px; }
.stat-big { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -0.02em; color: var(--blue-pure); }
.stat-lab { font-size: 16px; font-weight: 600; color: var(--ink-500); }
.result-card .stat-big, .compare-card.spin .stat-big { color: #fff; }

/* ─ Borjomi ─ */
.case-body.borjomi { display: grid; grid-template-columns: 1fr 0.82fr; gap: 26px; align-items: stretch; }
.borjomi-left { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.creative-card {
  margin-top: auto; background: #fff; border-radius: 30px; padding: 16px;
  box-shadow: 0 18px 50px -24px rgba(6,6,135,0.3);
  overflow: hidden;
}
.creative-card img { width: 100%; display: block; border-radius: 16px; }

/* live embedded HTML5 banner (cases) */
.live-banner {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  line-height: 0;
}
.banner-frame .live-banner { border-radius: 12px; }

/* "Хочу так же!" CTA at the bottom of each case */
.case-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}
.case-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--r-pill, 9999px);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;
  border: none;
  background: var(--blue-pure);
  box-shadow: 0 14px 32px -12px rgba(1, 42, 255, 0.6);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.case-cta:hover { transform: translateY(-2px); background: #1818D5; box-shadow: 0 18px 40px -12px rgba(1, 42, 255, 0.7); }
.case-cta:active { transform: translateY(0); }
.result-card {
  background: var(--blue-pure); border-radius: 38px; padding: 38px 40px;
  color: #fff; display: flex; flex-direction: column; gap: 30px;
}
.result-card p { margin: 0; font-size: 25px; font-weight: 500; line-height: 1.3; }
.result-stats { display: flex; flex-direction: column; gap: 20px; margin-top: auto; }
.result-card .stat-big { font-size: 58px; }
.result-card .stat-lab { color: rgba(255,255,255,0.6); }

/* ─ Дапален ─ */
.case-body.dapalen { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center; }
.dapalen-left { display: flex; flex-direction: column; gap: 22px; }
.process { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-700); }
.process b { color: var(--ink-900); font-weight: 700; }
.banner-row { display: flex; gap: 20px; justify-content: center; }
.banner-col { display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .3s; }
.banner-col.is-best { transform: translateY(-10px); }
.banner-frame {
  width: 210px; height: 420px; background: #fff; border-radius: 26px; padding: 12px;
  display: grid; place-items: center; box-shadow: 0 16px 44px -22px rgba(6,6,135,0.35);
}
.banner-col.is-best .banner-frame { box-shadow: 0 22px 50px -18px rgba(1,42,255,0.5); outline: 3px solid rgba(1,42,255,0.25); }
.banner-frame img { max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain; }
.banner-ctr { font-family: var(--font-display); font-weight: 700; font-size: 27px; color: var(--blue-pure); }
.banner-tag { font-size: 14px; color: var(--ink-500); margin-top: -4px; }

/* ─ МТБанк inner carousel ─ */
.mtb-carousel { position: relative; }
.mtb-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.mtb-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.mtb-step {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 9px; border-radius: var(--r-pill, 9999px);
  border: 1px solid rgba(1,42,255,0.18); background: rgba(255,255,255,0.5);
  font-size: 13.5px; font-weight: 600; color: var(--ink-700); transition: all .2s;
}
.mtb-step .mtb-step-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(1,42,255,0.12); color: var(--blue-pure); font-size: 12px; font-weight: 700;
}
.mtb-step:hover { color: var(--blue-pure); }
.mtb-step.active { background: var(--blue-pure); border-color: var(--blue-pure); color: #fff; }
.mtb-step.active .mtb-step-n { background: rgba(255,255,255,0.25); color: #fff; }
.mtb-nav { display: flex; gap: 8px; margin-left: auto; }
.mtb-nav button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(1,42,255,0.2); background: rgba(255,255,255,0.6); color: var(--ink-900);
  transition: all .2s;
}
.mtb-nav button:hover { background: var(--blue-pure); color: #fff; border-color: var(--blue-pure); }
.mtb-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.mtb-viewport { overflow: hidden; border-radius: 30px; }
.mtb-track { display: flex; will-change: transform; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.mtb-slide { min-width: 100%; }

/* mtb intro */
.mtb-intro { display: grid; grid-template-columns: 1fr 0.82fr; gap: 30px; align-items: center; }
.mtb-feat-title {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 16px;
  font-size: 21px; font-weight: 700; color: var(--blue-pure); line-height: 1.15;
}
.mtb-feat-title .spark { font-size: 22px; }
.mtb-features { display: flex; flex-direction: column; gap: 16px; }
.mtb-feature { display: flex; gap: 14px; align-items: center; font-size: 16px; line-height: 1.4; color: var(--ink-900); }
.mtb-feature-ic {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-pure); color: #fff;
}
.mtb-photo { display: flex; justify-content: center; align-items: flex-end; }
.mtb-photo img { width: 100%; max-width: 480px; display: block; }

/* mtb compare */
.mtb-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  position: relative; border-radius: 38px; padding: 26px 26px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.compare-card.static { background: #fff; box-shadow: 0 18px 50px -26px rgba(6,6,135,0.3); }
.compare-card.spin { background: var(--blue-pure); color: #fff; }
.compare-pill {
  align-self: flex-start; padding: 9px 24px; border-radius: var(--r-pill, 9999px);
  font-weight: 700; font-size: 18px; border: 3px solid rgba(1,42,255,0.4); color: var(--blue-pure);
}
.compare-card.spin .compare-pill { border-color: rgba(255,255,255,0.45); color: #fff; }
.compare-img-wrap { flex: 1; display: grid; place-items: center; }
.compare-img { max-height: 330px; max-width: 100%; border-radius: 18px; display: block; }
.compare-live { width: 232px; max-width: 100%; }
.compare-live .live-banner { border-radius: 18px; }
.compare-stats { display: flex; gap: 34px; align-self: stretch; justify-content: center; }
.compare-card .stat-line { flex-direction: column; gap: 2px; align-items: center; }
.compare-card .stat-big { font-size: 62px; }
.compare-card.spin .stat-lab { color: rgba(255,255,255,0.65); }
.compare-card.static .stat-lab { color: rgba(1,42,255,0.6); }
.fire-badge { position: absolute; top: -18px; right: -16px; width: 60px; height: 76px; object-fit: contain; z-index: 3; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18)); }

/* mtb insights */
.mtb-insights { display: grid; grid-template-columns: 1.05fr 0.7fr; gap: 30px; align-items: center; }
.mtb-insights-title { margin: 0 0 24px; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--blue-pure); }
.mtb-insights .compare-card.spin { max-width: 440px; margin: 0 auto; }
.mtb-insights .compare-pill { align-self: center; }

/* responsive */
@media (max-width: 1100px) {
  .shell { padding: 22px 28px 60px; }
  .hero { grid-template-columns: 1fr; }
  .cases-teaser { flex-direction: column; align-items: flex-start; }
  .cases-teaser-brands { margin-left: 0; }
  .case-body.borjomi,
  .case-body.dapalen,
  .mtb-intro,
  .mtb-compare,
  .mtb-insights { grid-template-columns: 1fr; }
  .banner-row { flex-wrap: wrap; }
  .cat-card.x-display,
  .cat-card.x-video,
  .cat-card.x-bundles,
  .cat-card.x-additional { grid-column: span 12; }
  .fmt { grid-template-columns: 1fr; }
  .add-grid { grid-template-columns: 1fr; }
  .hl-row { grid-template-columns: repeat(2, 1fr); }
  .hero-art { min-height: 380px; }
}

/* ─────────── 2026-06 revision ─────────── */
/* Home cards: lower the white fill density (~18% less) */
.cat-card.x-display,
.cat-card.x-additional,
.cases-teaser.glass-strong { background: rgba(255, 255, 255, 0.50); }
.cat-card.x-video {
  background: linear-gradient(160deg, rgba(255,255,255,0.82) 0%, rgba(229,234,255,0.82) 100%);
}

/* Bundles card: keep the format tags clear of the arrow pill */
.cat-card.x-bundles .formats { padding-right: 66px; }

/* Development packages: compact, content-width cards (prices removed) */
.pkg-rows { flex-direction: row; flex-wrap: wrap; }
.pkg-row {
  flex: 0 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 20px;
}

/* Order CTA reuses .gallery-cta styling */
.order-cta { border: none; cursor: pointer; }

/* Additional page: image-left / text-right card (matches .fmt layout) */
.add-fmt { margin-top: 24px; grid-template-columns: 1.05fr 1fr; }
.add-media { min-height: 480px; }
.add-board-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.add-detail { justify-content: center; gap: 0; padding: 52px 52px 50px; }
.add-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-pure); margin-bottom: 22px;
}
.add-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-pure); }
.add-lead { margin: 0; font-size: 23px; line-height: 1.5; color: var(--ink-900); font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.add-divider { height: 1px; background: rgba(61,70,119,0.14); margin: 28px 0; }
.add-note { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-500); text-wrap: pretty; }

/* Footer: single centered brand line */
.foot { justify-content: center; text-align: center; }

/* ═══════════ Phone adaptation — added 2026-06 ═══════════ */
/* Layers on top of desktop + the existing ≤1100px tablet query, which are
   left untouched. Targets phones only (≤600px, then ≤400px for small iPhones).
   Goal: single-column flow, finger-sized CTAs, zero horizontal scroll. */
@media (max-width: 600px) {
  .shell { padding: 14px 14px 48px; }

  /* ── nav: horizontally scrollable links + compact icon CTA ── */
  .nav {
    top: 10px;
    gap: 6px;
    padding: 8px 8px 8px 12px;
    margin-bottom: 32px;
  }
  .nav-brand { margin-right: auto; }
  .nav-logo-full { height: 26px; }
  /* desktop pill links + inline CTA give way to a burger */
  .nav-links { display: none; }
  .nav-cta { display: none; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: var(--blue-pure);
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform .28s ease, opacity .18s ease;
  }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    border-radius: 26px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 24px 60px -20px rgba(6,6,40,0.45);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity .26s ease, transform .26s ease;
    z-index: 60;
  }
  .nav.menu-open .nav-mobile-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-mobile-link {
    text-align: left;
    padding: 13px 18px;
    min-height: 44px;
    border: none;
    border-radius: 16px;
    background: transparent;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-900);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
  }
  .nav-mobile-link.active { background: var(--lavender-4); color: var(--blue-pure); }
  .nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 16px;
    background: var(--blue-pure);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-mobile-cta svg { width: 18px; height: 18px; }

  /* ── hero ── */
  .hero { gap: 16px; margin-bottom: 20px; }
  .hero-headline { font-size: clamp(38px, 12vw, 52px); }
  .hero-headline-eco { font-size: clamp(30px, 9vw, 40px); }
  .hero-sub, .hero-sub-secondary { font-size: 15px; margin-top: 16px; }
  .hero-pad { min-height: 260px; padding: 20px; border-radius: 28px; }
  .hero-pad h3 { font-size: 14px; }
  .hero-pad .price-bar b { font-size: 60px; }
  .hero-pad .price-rows { grid-template-columns: 1fr; }

  /* hero art: shrink floating cards so nothing escapes the frame */
  .hero-art { min-height: 300px; border-radius: 28px; }
  .hero-art-card-static { width: 112px; height: 112px; left: 5%; top: 12%; }
  .hero-art-card-video { width: 136px; height: 80px; right: 5%; top: 14%; }
  .hero-art-card-gif { width: 90px; height: 138px; left: 13%; bottom: 8%; }
  .hero-art-card-rich { width: 100px; height: 100px; right: 9%; bottom: 12%; }
  .hero-art-tag { padding: 5px 10px; font-size: 9.5px; }
  .hero-art-glow { display: none; }

  /* ── category cards: one column, tighter ── */
  .cat-grid { gap: 14px; margin-top: 24px; }
  .cat-card { padding: 24px 20px 70px; min-height: 0; border-radius: 28px; gap: 12px; }
  .cat-card h2 { font-size: 32px; }
  .cat-card p { font-size: 14px; }
  /* hide the format-tag lists on phones (they collide with the arrow pill);
     they stay visible on desktop/tablet */
  .cat-card .formats { display: none; }
  .cat-card .arrow-pill { width: 44px; height: 44px; right: 18px; bottom: 18px; }

  /* ── highlights: one column ── */
  .hl-row { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .hl { padding: 18px; border-radius: 22px; }

  /* ── category page header ── */
  .cat-head { flex-direction: column; align-items: flex-start; gap: 12px; margin: 20px 0; }
  .cat-head h1 { font-size: clamp(40px, 12vw, 60px); }
  .cat-head .lede { font-size: 15px; }

  /* ── slider + format cards ── */
  .slider-bar { flex-wrap: wrap; gap: 10px; }
  .slider-tabs { flex-wrap: wrap; }
  .slider-counter { margin-left: 0; }
  .slider-track-wrap, .mtb-viewport { border-radius: 24px; }
  .fmt { border-radius: 24px; }
  .fmt-media { padding: 18px; }
  .fmt-detail { padding: 24px 20px 22px; }
  .fmt-title { font-size: 32px; }
  .fmt-tag { font-size: 15px; margin-bottom: 16px; }
  .bench-grid { grid-template-columns: 1fr; }

  /* ── example slider media: scale to fit width, never deform ──
     Take slides out of absolute flow so the blue stage grows/shrinks to the
     active banner, and lay the active slide out as a centered flex column
     (NOT grid place-items:center — that makes width:100% children either
     collapse to ~0 or overflow to native size). Each media element fills the
     frame width and keeps its aspect-ratio (set inline in JSX), so static /
     gif / video / rich-media examples stay centered and undistorted. */
  /* stage is a centering GRID on desktop (place-items:center) — on mobile that
     shrinks the slide track to min-content and collapses width:100% children to
     0. Force block flow so the active slide fills the full stage width. */
  .example-stage { min-height: 0 !important; width: 100%; display: block !important; }
  .example-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    display: none;
    width: 100%;
    padding: 16px 10px 44px;
  }
  .example-slide.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .example-frame { width: 100%; max-width: 100%; box-sizing: border-box; }
  .example-frame .example-img,
  .example-frame image-slot,
  .example-frame .example-video,
  .example-frame .example-html {
    width: 100% !important;
    height: auto !important;   /* height follows inline aspect-ratio */
    max-width: 100% !important;
  }
  .example-arrow { width: 38px; height: 38px; }
  .example-arrow.left { left: 6px; }
  .example-arrow.right { right: 6px; }

  /* cases banners scale to their (now narrower) containers */
  .live-banner, .compare-live, .compare-img, .creative-card img,
  .banner-frame img, .banner-frame .live-banner {
    max-width: 100% !important;
  }
  .compare-img, .creative-card img { height: auto !important; }

  /* ── cases: one column, fit banners ── */
  .cases-teaser { padding: 22px; gap: 18px; border-radius: 28px; }
  .cases-teaser-main h2 { font-size: 26px; }
  .case { padding: 24px 18px 28px; border-radius: 24px; }
  .case-head { flex-direction: column; gap: 16px; margin-bottom: 22px; }
  .case-title { font-size: 28px; }
  .case-q { font-size: 17px; }
  .case-badge { width: 56px; height: 56px; font-size: 10px; }
  .result-card { padding: 26px 22px; border-radius: 28px; }
  .result-card p { font-size: 19px; }
  .result-card .stat-big { font-size: 44px; }
  .stat-big { font-size: 38px; }
  .case-body.borjomi, .case-body.dapalen { gap: 18px; }

  /* fixed-width vertical banners → shrink to fixed (scaled) px so the
     contain-scaled live banners keep a definite parent height to measure */
  .banner-row { gap: 14px; flex-wrap: wrap; }
  .banner-frame { width: 168px; height: 336px; padding: 10px; }
  .banner-col.is-best { transform: none; }
  .compare-card { padding: 20px 18px 24px; border-radius: 28px; }
  .compare-img { max-height: 240px; }
  .compare-card .stat-big { font-size: 42px; }
  .compare-stats { gap: 22px; }
  .mtb-bar { gap: 10px; }
  .mtb-feat-title { font-size: 18px; }
  .mtb-insights-title { font-size: 28px; }

  /* ── additional page ── */
  .add-grid, .add-fmt { grid-template-columns: 1fr; }
  .add-card { padding: 24px 20px; border-radius: 28px; }
  .add-detail { padding: 28px 22px; }
  .add-card h3 { font-size: 24px; }
  .add-media { min-height: 240px; }
  .add-lead { font-size: 18px; }

  /* ── CTAs: full width, finger-sized ── */
  .case-cta, .gallery-cta, .order-cta {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .price-row { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .price-row .value { font-size: 24px; }
  .price-row .cta { width: 100%; justify-content: center; min-height: 44px; }

  /* ── footer ── */
  .foot { flex-direction: column; gap: 8px; padding: 16px; margin-top: 48px; }
}

@media (max-width: 400px) {
  .shell { padding: 12px 10px 40px; }
  .nav-logo-full { height: 22px; }
  .nav-link { padding: 8px 11px; font-size: 13px; }
  .hero-headline { font-size: clamp(32px, 11vw, 42px); }
  .hero-pad .price-bar b { font-size: 52px; }
  .cat-card h2 { font-size: 28px; }
  .case-title { font-size: 24px; }
  .fmt-title { font-size: 28px; }
  .stat-big { font-size: 34px; }
  .result-card .stat-big { font-size: 38px; }
  .compare-img { max-height: 200px; }
  /* stack the two vertical banners on the smallest screens */
  .banner-row { flex-direction: column; align-items: center; }
  .banner-frame { width: 156px; height: 312px; }
}
