/* =========================================================
   CreativeLabs — главная страница
   Mobile-first. Десктоп — от 1100px.
   ========================================================= */

.stars { display: inline-flex; gap: 2px; color: #f5a524; }
.stars .icon { font-size: 13px; }

/* ---------- Карточки (общие) ---------- */
.cards { display: grid; gap: 14px; margin-top: 40px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 20px; font-size: 19px; line-height: 26px; font-weight: 700; letter-spacing: -.3px; }
.card p { margin-top: 10px; font-size: 14px; line-height: 21px; color: var(--muted); }

/* ---------- 1. Първи екран ---------- */
.hero {
  position: relative; overflow: hidden; padding: 36px 0 32px;
  background: linear-gradient(180deg, #f4f2fd 0%, #ebe8fb 100%);
}
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-violet {
  width: 520px; height: 520px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(135, 105, 255, .5) 0%, rgba(135, 105, 255, 0) 66%);
}
.hero-glow-blue {
  width: 420px; height: 420px; left: -180px; bottom: -120px;
  background: radial-gradient(circle, rgba(94, 140, 255, .5) 0%, rgba(94, 140, 255, 0) 66%);
}
.hero-inner { position: relative; text-align: center; }

.rating-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #ebe8f7;
  box-shadow: 0 2px 10px rgba(13, 13, 26, .05); font-size: 12px; line-height: 16px; color: var(--muted);
}
.rating-pill b { color: var(--violet); font-weight: 700; font-size: 13px; }
.rating-pill .stars .icon { font-size: 12px; }

.hero h1 {
  margin: 22px auto 0; max-width: 1060px; font-size: 34px; line-height: 40px; font-weight: 900; letter-spacing: -.6px; text-wrap: balance;
}
.hero-lead { margin: 20px auto 0; max-width: 580px; font-size: 15px; line-height: 24px; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero-actions .btn { width: 100%; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
.stat {
  display: flex; flex-direction: column; align-items: center; padding: 20px 14px;
  background: #fff; border: 1px solid #ececf3; border-radius: 20px; box-shadow: var(--shadow-card);
}
.stat h2 { margin-top: 14px; font-size: 16px; line-height: 22px; font-weight: 700; letter-spacing: -.2px; }
.stat p { margin-top: 6px; font-size: 12px; line-height: 17px; color: var(--muted); }
.stat .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.stat .icon-badge .icon { font-size: 19px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-item { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-item:nth-child(2) { animation-delay: .06s; }
  .js .hero-item:nth-child(3) { animation-delay: .12s; }
  .js .hero-item:nth-child(4) { animation-delay: .18s; }
  .js .hero-item:nth-child(5) { animation-delay: .26s; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- 2. Портфолио ---------- */
.portfolio-wrap { padding-block: 48px 0; }
.portfolio {
  position: relative; overflow: hidden; padding: 36px 16px 32px; border-radius: 28px; color: #fff;
  background: radial-gradient(ellipse 60% 38% at 50% 0%, rgba(108, 78, 255, .5), rgba(108, 78, 255, 0) 70%), var(--dark);
}
.portfolio-head { text-align: center; }
.portfolio-head h2 { margin: 18px auto 0; max-width: 760px; font-size: 30px; line-height: 36px; font-weight: 900; letter-spacing: -.8px; text-wrap: balance; }
.portfolio-head p { margin: 16px auto 0; max-width: 560px; font-size: 15px; line-height: 24px; color: rgba(205, 200, 235, .62); }

.projects { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.project {
  display: flex; flex-direction: column; padding: 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1);
}
.project-shot { width: 100%; aspect-ratio: 279 / 194; object-fit: cover; border-radius: 12px; }
.project-info { display: flex; flex-direction: column; flex: 1; }
.project-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 18px; }
.project-title h3 { font-size: 16px; line-height: 22px; font-weight: 700; }
.project-title p { margin-top: 3px; font-size: 12.5px; line-height: 18px; color: #a7a3c2; }
.chip {
  flex: none; padding: 5px 12px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap;
  color: #b9a8ff; background: rgba(108, 78, 255, .22); border: 1px solid rgba(167, 139, 255, .3);
}
.project-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.chip-result {
  display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; line-height: 18px; font-weight: 700; color: var(--green-bright); background: rgba(74, 222, 128, .13);
}
.project-result p { font-size: 12.5px; line-height: 24px; color: rgba(255, 255, 255, .62); }
.project-result p + p { margin-top: 2px; }
.project-result b { font-size: 16px; font-weight: 800; letter-spacing: -.1px; color: var(--green-bright); }
.portfolio-cta { display: flex; justify-content: center; margin-top: 32px; }
.portfolio-cta .btn { width: 100%; }

/* ---------- 3. Защо ние ---------- */
.section-why .container { display: flex; flex-direction: column; }
.why-head { display: contents; }
.kicker { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1px; color: var(--violet); }
.section-why .h2 { margin-top: 14px; }
.section-why .lead { margin-top: 18px; max-width: 600px; }
.why-cta { order: 3; margin-top: 24px; width: 100%; }
.benefits { order: 2; display: grid; gap: 12px; margin-top: 32px; }
.benefit {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card);
}
.benefit h3 { margin-top: 20px; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.2px; }
.benefit p { margin-top: 10px; font-size: 14px; line-height: 21px; color: var(--muted); }
.benefit-num { position: absolute; top: 20px; right: 22px; font-size: 24px; line-height: 1; font-weight: 700; color: var(--faint); }
.benefit:first-child { background: linear-gradient(160deg, #1a1440 0%, #0d0d1a 70%); border-color: transparent; }
.benefit:first-child h3 { color: #fff; }
.benefit:first-child p { color: rgba(255, 255, 255, .68); }
.benefit:first-child .benefit-num { color: var(--violet-light); }

/* ---------- 4. Кейс ---------- */
.case { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); }
.case-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 20px; background: var(--violet-soft);
}
.case-head h3 { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.2px; }
.case-head span { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .6px; color: var(--violet); }
.case-body { padding: 20px; }
.case-shots { display: grid; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.case-shots figure { margin: 0; }
.case-shots figcaption { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.case-shots figcaption i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.case-shots .before { color: #d9534f; }
.case-shots .after { color: #22a559; }
.case-shots img { width: 100%; height: auto; }
.case-cols { display: grid; gap: 14px; margin-top: 24px; }
.case-col { padding: 18px 20px; background: #fff; border: 1px solid; border-radius: 18px; }
.case-col h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 24px; font-weight: 700; }
.case-col h4 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.case-col h4 .icon { font-size: 17px; }
.case-col ul { margin-top: 14px; }
.case-col li { position: relative; padding-left: 12px; font-size: 15px; line-height: 22px; color: var(--muted); }
.case-col li::before { content: "•"; position: absolute; left: 0; font-weight: 700; }
.case-col.is-problem { border-color: #ebb066; }
.case-col.is-problem h4 span { color: var(--amber); background: var(--amber-soft); }
.case-col.is-problem li::before { color: var(--amber); }
.case-col.is-done { border-color: #9d8cf5; }
.case-col.is-done h4 span { color: var(--violet); background: var(--violet-soft); }
.case-col.is-done li::before { color: var(--violet); }
.case-col.is-result { border-color: #5cc78d; }
.case-col.is-result h4 span { color: var(--green); background: var(--green-soft); }
.case-col.is-result li::before { color: var(--green); }
.case-stats { display: grid; gap: 14px; margin-top: 18px; }
.case-stat { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--dark); color: #fff; }
.case-stat p { font-size: 14.5px; line-height: 21px; }
.case-stat strong { display: block; margin-top: 2px; font-size: 20px; line-height: 26px; font-weight: 800; color: var(--violet-light); }
.after-note { max-width: 880px; margin: 36px auto 0; text-align: center; font-size: 15px; line-height: 24px; color: var(--muted); }

/* ---------- 5. Диагностика ---------- */
.section-diag .section-head .lead { max-width: 790px; }
.section-team .section-head .lead { max-width: 620px; }
.section-services .section-head .lead { max-width: 710px; }
.section-reviews .section-head .lead { max-width: 820px; }
.journey { margin-top: 28px; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.journey h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.3px; }
.steps { display: grid; gap: 22px; margin-top: 24px; }
.step { position: relative; padding-top: 22px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--grad); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f4f3fb; color: var(--violet); }
.step-icon .icon { font-size: 18px; }
.step-num { font-size: 28px; line-height: 1; font-weight: 600; color: #d6d4e4; }
.step p { margin-top: 16px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.journey-note {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; padding: 22px 20px;
  text-align: center; font-size: 14.5px; line-height: 22px; border-radius: 16px; background: var(--amber-soft); color: #1d1d2b;
}
.journey-note .icon { font-size: 22px; color: var(--amber); }

/* ---------- 6. Безплатен одит ---------- */
.audit-wrap { padding-block: 24px 8px; }
.audit {
  position: relative; padding: 36px 16px 32px; border-radius: 28px; color: #fff; text-align: center;
  background:
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(120, 92, 255, .5), rgba(120, 92, 255, 0) 70%),
    radial-gradient(ellipse 45% 22% at 50% 100%, rgba(108, 78, 255, .2), rgba(108, 78, 255, 0) 70%),
    var(--dark);
}
.audit h2 { max-width: 840px; margin-inline: auto; font-size: 24px; line-height: 31px; font-weight: 800; letter-spacing: -.5px; }
.audit-grid { display: grid; gap: 14px; margin-top: 28px; text-align: center; }
.audit-card {
  display: flex; flex-direction: column; align-items: center; padding: 22px 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px;
}
.audit-card .icon-badge { width: 44px; height: 44px; border-radius: 13px; }
.audit-card h3 { margin-top: 16px; font-size: 18px; line-height: 24px; font-weight: 700; }
.audit-card p { margin-top: 12px; max-width: 420px; font-size: 13.5px; line-height: 20px; color: rgba(255, 255, 255, .58); }
.audit-card-wide .audit-result { margin-top: 18px; max-width: 800px; font-size: 16px; line-height: 24px; font-weight: 700; color: #fff; }
.audit-note { margin-top: 18px; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .55); }
.audit-cta { position: relative; display: flex; justify-content: center; margin-top: 26px; }
.audit-cta .btn { position: relative; z-index: 1; width: 100%; }
.gift { position: absolute; z-index: 0; right: 4px; top: -34px; width: 60px; height: 60px; pointer-events: none; }

/* ---------- 7. Екип ---------- */
.section-team { padding-bottom: 24px; }
.team { margin-top: 36px; }
.team-track {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 6px var(--gutter) 20px; scroll-padding-inline: var(--gutter);
}
.team-track::-webkit-scrollbar { display: none; }
.team-list { display: flex; gap: 14px; width: max-content; }
.team-card {
  flex: 0 0 214px; scroll-snap-align: start; overflow: hidden; padding-bottom: 20px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
}
.team-card img { width: 100%; aspect-ratio: 250 / 256; object-fit: cover; }
.team-card h3 { margin-top: 14px; font-size: 17px; line-height: 24px; font-weight: 700; }
.role { display: inline-block; margin-top: 10px; padding: 5px 16px; border-radius: 999px; background: var(--violet-soft); color: #6a56d8; font-size: 14px; line-height: 20px; font-weight: 500; }
.team-nav { display: flex; justify-content: center; gap: 20px; margin-top: 4px; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff;
  background: var(--grad-135); box-shadow: var(--shadow-icon); transition: transform .2s ease;
}
.round-btn:hover { transform: translateY(-2px); }
.round-btn .icon { font-size: 20px; }

/* ---------- 8. Лична среща ---------- */
.meet-wrap { padding-block: 24px; }
.meet {
  position: relative; overflow: hidden; display: grid; gap: 28px; padding: 28px 20px; border-radius: 28px; color: #fff;
  background: radial-gradient(ellipse 48% 70% at 20% 22%, rgba(80, 56, 200, .55), rgba(80, 56, 200, 0) 70%), var(--dark);
}
.meet-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--violet-light); background: rgba(108, 78, 255, .2); border: 1px solid rgba(167, 139, 255, .25); }
.meet-icon .icon { font-size: 24px; }
.meet h2 { margin-top: 24px; font-size: 30px; line-height: 36px; font-weight: 900; letter-spacing: -.8px; }
.meet h2 .text-violet { color: #6c4eff; }
.meet-copy p { margin-top: 20px; max-width: 420px; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .72); }
.meet-copy .btn { margin-top: 28px; width: 100%; }
.meet-map {
  position: relative; min-height: 280px; overflow: hidden; border-radius: 24px;
  background: #e8e6f2; border: 1px solid rgba(255, 255, 255, .08);
}
.meet-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meet-map .road { position: absolute; background: rgba(255, 255, 255, .06); border-radius: 4px; }
.meet-map .r1 { left: -10%; width: 120%; top: 26%; height: 3.4%; transform: rotate(-8deg); }
.meet-map .r2 { left: -10%; width: 120%; top: 63%; height: 3.4%; transform: rotate(5deg); }
.meet-map .r3 { top: -10%; height: 120%; left: 34%; width: 2.6%; transform: rotate(10.5deg); }
.meet-map .r4 { top: -10%; height: 120%; left: 66%; width: 2.6%; transform: rotate(-6.7deg); }
.meet-map .block { position: absolute; border-radius: 10px; background: rgba(255, 255, 255, .045); }
.meet-map .b1 { left: 37%; top: 32%; width: 25%; height: 24%; }
.meet-map .b2 { left: 74%; top: 66%; width: 20%; height: 19%; }
.meet-map .pin {
  position: absolute; left: 49.5%; top: 44%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #5a6bff; border: 3px solid #fff; box-shadow: 0 0 0 16px rgba(108, 78, 255, .3), 0 0 40px rgba(108, 78, 255, .6);
}

/* ---------- 9. Отзиви ---------- */
.reviews { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.review { display: flex; flex-direction: column; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.review-main, .review-side { display: contents; }
.review-meta { order: 1; font-size: 14px; line-height: 20px; color: var(--muted); }
.review-meta b { font-weight: 600; color: var(--violet); }
.review-title { order: 2; margin-top: 14px; font-size: 26px; line-height: 31px; font-weight: 800; letter-spacing: -.8px; }
.review-media { order: 3; width: 100%; margin-top: 22px; aspect-ratio: 468 / 256; object-fit: cover; border-radius: 14px; }
.review-site { order: 4; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 16px; margin-top: 20px; }
.review-site-name { font-size: 23px; line-height: 28px; font-weight: 800; letter-spacing: -.5px; }
.review-result {
  order: 5; display: flex; gap: 10px; margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  background: var(--green-soft); color: var(--green); font-size: 15.5px; line-height: 23px; font-weight: 700;
}
.review-result .icon { margin-top: 3px; font-size: 16px; }
.review-rating { order: 6; display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 700; }
.review-quote { order: 7; margin-top: 12px; font-size: 16px; line-height: 25px; color: var(--muted); }
.review-author { order: 8; display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.review-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-author-name { font-size: 14px; line-height: 20px; font-weight: 700; }
.review-author-role { font-size: 13px; line-height: 18px; color: var(--subtle); }
.review-quote-mark { margin-left: auto; color: var(--violet); }
.review-quote-mark .icon { font-size: 22px; }

/* ---------- 10. Етапи ---------- */
.stages { position: relative; display: grid; gap: 14px; margin-top: 40px; padding-left: 44px; counter-reset: stage; }
.stages::before { content: ""; position: absolute; left: 14px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--violet), var(--blue)); opacity: .35; }
.stage {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); counter-increment: stage;
}
.stage::before {
  content: counter(stage); position: absolute; left: -44px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--grad-135); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-icon);
}
.stage h3 { margin-top: 18px; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.2px; }
.stage p { margin-top: 10px; font-size: 14.5px; line-height: 22px; color: var(--muted); }
.stage:last-child { background: linear-gradient(160deg, #1a1440 0%, #0d0d1a 70%); border-color: transparent; }
.stage:last-child h3 { color: #fff; }
.stage:last-child p { color: rgba(255, 255, 255, .68); }

.after-bar {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.after-bar p { font-size: 14.5px; line-height: 22px; color: var(--muted); }
.after-bar-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); }
.after-bar-icon .icon { font-size: 18px; }
.after-bar .btn { width: 100%; }

/* ---------- 11. Услуги ---------- */
.services-label { margin-top: 30px; text-align: center; font-size: 15px; line-height: 22px; color: var(--subtle); }
.services { margin-top: 18px; }
.services .card:first-child { background: linear-gradient(160deg, #1a1440 0%, #0d0d1a 70%); border-color: transparent; }
.services .card:first-child h3 { color: #fff; }
.services .card:first-child p { color: rgba(255, 255, 255, .68); }
.clients { margin-top: 24px; padding: 24px 16px; text-align: center; background: var(--violet-soft); border-radius: 20px; }
.clients p { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--muted); }
.clients ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.clients li {
  display: grid; place-items: center; padding: 10px 12px; min-height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--violet-line);
  font-size: 13.5px; line-height: 18px; font-weight: 600;
}

/* ---------- 12. Финальный призыв ---------- */

/* =========================================================
   Планшет
   ========================================================= */
@media (min-width: 700px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 22px 14px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }
  .portfolio-cta .btn, .why-cta, .meet-copy .btn, .audit-cta .btn, .after-bar .btn { width: auto; }
  .audit-cta .btn { min-width: 352px; }
  .why-cta { align-self: flex-start; }
  .gift { right: calc(50% - 205px); }
  .clients ul { display: flex; flex-wrap: wrap; justify-content: center; }
  .clients li { padding: 10px 18px; }
  .case-cols { grid-template-columns: repeat(3, 1fr); }
  .case-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Десктоп
   ========================================================= */
@media (min-width: 1100px) {
  .cards { gap: 18px; margin-top: 56px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 24px; border-radius: 24px; }
  .card { padding-right: 16px; }
  .cards-4 .card h3 { font-size: 19px; letter-spacing: -.35px; }
  .card p { font-size: 13.5px; line-height: 20px; }
  .cards-3 .card { padding: 28px; }
  .cards-3 .card h3 { font-size: 22px; line-height: 28px; margin-top: 22px; }
  .cards-3 .card .icon-badge { width: 48px; height: 48px; }

  /* 1. Первый экран */
  .hero { padding: 72px 0 48px; }
  .hero-glow-violet { width: 780px; height: 780px; right: -140px; top: -300px; }
  .hero-glow-blue { width: 520px; height: 520px; left: 0; bottom: -170px; }
  .rating-pill { padding: 7px 16px; font-size: 12.5px; }
  .hero h1 { margin-top: 28px; font-size: 56px; line-height: 62px; letter-spacing: -.96px; }
  .hero-lead { margin-top: 28px; font-size: 16px; }
  .hero-actions { margin-top: 36px; gap: 12px; }
  .hero-actions .btn { min-height: 54px; padding-inline: 32px; }
  .stats { gap: 18px; margin-top: 58px; }
  .stat { padding: 24px 20px; }
  .stat .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
  .stat .icon-badge .icon { font-size: 22px; }
  .stat h2 { margin-top: 18px; font-size: 21px; line-height: 28px; letter-spacing: -.3px; }
  .stat p { margin-top: 10px; font-size: 13px; line-height: 20px; }

  /* 2. Портфолио */
  .portfolio-wrap { padding-block: 112px 0; }
  .portfolio { padding: 64px 56px 56px; border-radius: 32px; }
  .portfolio-head h2 { margin-top: 24px; font-size: 52px; line-height: 57px; letter-spacing: -1.3px; max-width: none; }
  .portfolio-head p { margin-top: 20px; font-size: 16px; max-width: 470px; }
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: stretch; }
  .projects::before {
    content: ""; position: absolute; top: -20px; height: 20px; left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6);
    border: 1px solid rgba(255, 255, 255, .16); border-bottom: 0; border-radius: 14px 14px 0 0; pointer-events: none;
  }
  .projects::after {
    content: ""; position: absolute; top: -40px; height: 40px; left: 50%; width: 1px; background: rgba(255, 255, 255, .16); pointer-events: none;
  }
  .project { padding: 20px; }
  .portfolio-cta { margin-top: 44px; }

  /* 3. Защо ние */
  .section-why { padding-top: 96px; }
  .why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .section-why .h2 { max-width: 780px; margin-top: 18px; }
  .section-why .lead { margin-top: 18px; max-width: 590px; }
  .why-cta { order: initial; margin: 0 0 4px; align-self: auto; flex: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
  .benefit { padding: 28px; border-radius: 24px; }
  .benefit .icon-badge { width: 52px; height: 52px; border-radius: 16px; }
  .benefit h3 { margin-top: 26px; font-size: 24px; line-height: 30px; letter-spacing: -.4px; }
  .benefit p { margin-top: 12px; font-size: 13.5px; line-height: 20px; }
  .benefit-num { display: none; }
  .benefit:first-child { background: #fff; border-color: var(--line); }
  .benefit:first-child h3 { color: var(--ink); }
  .benefit:first-child p { color: var(--muted); }

  /* 4. Кейс */
  .case { margin-top: 56px; border-radius: 28px; }
  .case-head { padding: 28px 32px; }
  .case-head h3 { font-size: 24px; line-height: 30px; }
  .case-head span { font-size: 14px; letter-spacing: 1px; }
  .case-body { padding: 32px; }
  .case-shots { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; align-items: start; }
  .case-cols { gap: 20px; margin-top: 32px; }
  .case-col { padding: 20px 22px; }
  .case-stats { gap: 16px; margin-top: 24px; }
  .case-stat { padding: 24px; }
  .case-stat p { font-size: 15px; }
  .case-stat .icon-badge { width: 48px; height: 48px; }
  .after-note { margin-top: 44px; font-size: 16px; }

  /* 5. Диагностика */
  .journey { margin-top: 32px; padding: 40px 40px 40px; border-radius: 28px; }
  .journey h3 { font-size: 24px; line-height: 32px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 32px; }
  .journey-note { margin-top: 24px; padding: 22px 32px; }

  /* 6. Одит */
  .audit-wrap { padding-block: 40px 16px; }
  .audit { padding: 56px 48px 56px; border-radius: 32px; }
  .audit h2 { font-size: 28px; line-height: 36px; }
  .audit-grid { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
  .audit-card { padding: 22px 28px 26px; }
  .audit-card-wide { grid-column: 1 / -1; padding: 22px 56px 30px; }
  .audit-card h3 { font-size: 20px; }
  .audit-card p { font-size: 13.5px; }
  .audit-card-wide .audit-result { font-size: 19px; line-height: 28px; }
  .audit-note { margin-top: 20px; }
  .audit-cta { margin-top: 34px; }
  .gift { right: calc(50% - 209px); top: -30px; width: 68px; height: 68px; }

  /* 7. Команда */
  .section-team { padding-top: 88px; }
  .team { margin-top: 48px; }
  .team-track { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .team-list { gap: 20px; }
  .team-card { flex-basis: 252px; }
  .team-card h3 { font-size: 18px; margin-top: 16px; }
  .team-nav { margin-top: 12px; }

  /* 8. Встреча */
  .meet-wrap { padding-block: 48px; }
  .meet { grid-template-columns: 1fr 1.28fr; align-items: center; gap: 48px; padding: 50px; border-radius: 32px; }
  .meet h2 { margin-top: 30px; font-size: 48px; line-height: 55px; letter-spacing: -1.3px; }
  .meet-copy p { margin-top: 24px; font-size: 17px; }
  .meet-copy .btn { margin-top: 34px; min-height: 60px; padding-inline: 48px; }
  .meet-map { min-height: 400px; border-radius: 28px; }

  /* 9. Отзывы */
  .reviews { gap: 24px; margin-top: 56px; }
  .review { display: grid; grid-template-columns: 1fr 472px; gap: 28px; align-items: start; padding: 44px 47px; border-radius: 28px; }
  .review-main, .review-side { display: flex; flex-direction: column; }
  .review-meta, .review-title, .review-media, .review-site, .review-result, .review-rating, .review-quote, .review-author { order: initial; }
  .review-meta { margin-top: 4px; }
  .review-title { margin-top: 22px; max-width: 460px; font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.8px; }
  .review-result { margin-top: 26px; padding: 18px 20px; font-size: 15px; font-weight: 700; }
  .review-rating { margin-top: 22px; }
  .review-quote { margin-top: 14px; font-size: 15px; line-height: 25px; }
  .review-media { margin-top: 0; }
  .review-site { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 16px; }
  .review-site-name { font-size: 22px; letter-spacing: -.3px; }
  .review-author { margin-top: 24px; }

  /* 10. Этапы */
  .stages { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; padding-left: 0; }
  .stages::before, .stage::before { display: none; }
  .stage { padding: 28px; border-radius: 24px; }
  .stage .icon-badge { width: 48px; height: 48px; border-radius: 15px; }
  .stage h3 { margin-top: 26px; font-size: 22px; line-height: 28px; }
  .stage p { font-size: 13.5px; line-height: 20px; }
  .stage:last-child { background: #fff; border-color: var(--line); }
  .stage:last-child h3 { color: var(--ink); }
  .stage:last-child p { color: var(--muted); }
  .after-bar { flex-direction: row; align-items: center; gap: 18px; margin-top: 32px; padding: 14px 22px 14px 24px; }
  .after-bar p { flex: 1; font-size: 15px; }

  /* 11. Услуги */
  .services-label { margin-top: 36px; font-size: 15px; }
  .services { margin-top: 14px; }
  .services .card:first-child { background: #fff; border-color: var(--line); }
  .services .card:first-child h3 { color: var(--ink); }
  .services .card:first-child p { color: var(--muted); }
  .clients { margin-top: 36px; padding: 28px 24px 30px; border-radius: 24px; }

}

/* ---------- Карточки-ссылки (услуги) ---------- */
.card:has(.card-link) { position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card-link):hover { transform: translateY(-3px); border-color: var(--violet-line); box-shadow: var(--shadow-card); }
.card-link:focus-visible { outline: 0; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--violet); outline-offset: 3px; }
.project-result b.nl { display: block; }
