/* ============================================================
   dopamine-interior.ru – главная, версия 2
   Подключается после style.css и переопределяет блоки:
   шапка и хиро (Antra home 4), услуги (Xinterio home 8),
   портфолио (Antra home 2, стопка карточек), команда (Antra team),
   отзывы (Antra home 1, сепия + рамка телефона).
   ============================================================ */

/* ---------- Шапка: светлая, без размытия, иконка телефона ---------- */
.v2 .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.v2 .header-phone { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.15; }
.v2 .header-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.v2 .header-phone svg { width: 22px; height: 22px; flex: 0 0 22px; }
.v2 .icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(23, 22, 26, .18); background: transparent; display: inline-grid; place-items: center; transition: background .25s, color .25s; }
.v2 .icon-btn svg { width: 18px; height: 18px; }
.v2 .icon-btn:hover { background: var(--ink); color: #fff; }
.v2 .btn-arrow { padding: 8px 8px 8px 24px; gap: 14px; }
.v2 .btn-arrow i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.v2 .btn-arrow i svg { width: 14px; height: 14px; }
.v2 .btn-ghost.btn-arrow i { background: var(--accent); color: #fff; }

/* ---------- Хиро: светлый, две колонки (Antra home 4) ---------- */
.v2 .hero { min-height: 0; align-items: center; color: var(--ink); background: var(--bg); padding-top: var(--header-h); }
.v2 .hero::before { content: ''; position: absolute; left: -10%; top: 0; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(228, 85, 44, .08), transparent 70%); pointer-events: none; }
.v2 .hero-body { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.v2 .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.v2 .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid rgba(23, 22, 26, .14); background: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.v2 .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.v2 .hero h1 { max-width: none; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin-top: 22px; }
.v2 .hero h1 .accent { color: var(--accent); }
.v2 .hero-video { display: inline-grid; place-items: center; vertical-align: middle; width: clamp(120px, 12vw, 190px); height: .95em; margin: 0 .12em; border-radius: var(--pill); overflow: hidden; position: relative; border: 0; padding: 0; background: var(--dark); cursor: pointer; transform: translateY(-.06em); }
.v2 .hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s var(--ease); }
.v2 .hero-video:hover img { transform: scale(1.06); }
.v2 .hero-video span { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.v2 .hero-video span svg { width: 16px; height: 16px; margin-left: 2px; }
.v2 .hero-lead { color: var(--ink-2); max-width: 46ch; margin-top: 26px; }
.v2 .hero-cta { margin-top: 32px; }
.v2 .hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--bg-2); }
.v2 .hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.4s var(--ease) forwards; transform: scale(1.06); }

/* ---------- Услуги (Xinterio home 8): белые карточки с круглой иконкой ---------- */
.v2 .services-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); }
.v2 .services-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.v2 .services-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 26px); }

/* Карточка услуги: крупная, с бегущим огоньком по кромке */
.v2 .s-card {
  position: relative; isolation: isolate; display: block; text-align: center;
  background: transparent; border: 0; border-radius: var(--radius); overflow: hidden;
  padding: 0 0 30px; transition: transform .35s var(--ease), box-shadow .35s;
}
.v2 .s-card::before {           /* вращающийся конус – он и есть бегущая подсветка */
  content: ''; position: absolute; left: 50%; top: 50%; width: 165%; aspect-ratio: 1; translate: -50% -50%; z-index: 0;
  background: conic-gradient(from 0deg,
    rgba(228, 85, 44, 0) 0deg 296deg,
    rgba(228, 85, 44, .45) 316deg,
    rgba(255, 240, 231, 1) 329deg,
    rgba(228, 85, 44, .45) 342deg,
    rgba(228, 85, 44, 0) 360deg);
  animation: s-run 9s linear infinite;
  opacity: .85; transition: opacity .4s ease;
}
.v2 .s-card::after {            /* подложка карточки, оставляет от конуса только кромку */
  content: ''; position: absolute; inset: 2px; z-index: 1; border-radius: calc(var(--radius) - 2px);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.v2 .s-card > * { position: relative; z-index: 2; }
.v2 .s-card:nth-child(2n)::before { animation-duration: 11s; animation-delay: -3s; }
.v2 .s-card:nth-child(3n)::before { animation-duration: 13s; animation-delay: -6s; }
.v2 .s-card:nth-child(4n)::before { animation-duration: 10s; animation-delay: -1.5s; }
.v2 .s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.v2 .s-card:hover::before { opacity: 1; animation-duration: 4.5s; }
@keyframes s-run { to { rotate: 360deg; } }

.v2 .s-card .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 2px 2px 0; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.v2 .s-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.v2 .s-card:hover .pic img { transform: scale(1.05); }
.v2 .s-card .badge { width: 62px; height: 62px; margin: -31px auto 0; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--card); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.v2 .s-card h3 { padding: 20px 22px 0; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.16; letter-spacing: -.01em; overflow-wrap: anywhere; hyphens: auto; }
.v2 .s-card p { padding: 12px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.v2 .s-card .s-more { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: auto auto 0; padding-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.v2 .s-card .s-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.v2 .s-card:hover .s-more svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .v2 .s-card::before { animation: none; opacity: .25; }
}

@media (min-width: 1101px) {
  .v2 .services-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v2 .s-card { grid-column: span 2; }
  .v2 .s-card:nth-child(7):nth-last-child(2) { grid-column: 2 / span 2; }
}

/* ---------- Портфолио (Antra home 2): стопка широких карточек ---------- */
.v2 .stack { display: grid; gap: 28px; }
.v2 .stack-card { position: sticky; top: calc(var(--header-h) + 20px); width: auto; max-width: none; }
.v2 .stack-card .project-media { aspect-ratio: 16 / 7.4; border-radius: var(--radius); box-shadow: 0 -12px 40px -20px rgba(23, 22, 26, .35); }
.v2 .stack-card .project-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .08) 40%, rgba(23, 22, 26, .78) 100%); z-index: 1; pointer-events: none; }
.v2 .stack-card .project-tags { top: 22px; left: 26px; z-index: 2; }
.v2 .stack-card .project-caption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.v2 .stack-card .project-caption h3 { font-size: clamp(22px, 2.6vw, 36px); max-width: 16ch; }
.v2 .stack-card .project-caption .project-meta { color: rgba(255, 255, 255, .8); margin-top: 8px; max-width: 46ch; }
.v2 .stack-card .btn-flat { color: #fff; border-color: rgba(255, 255, 255, .5); flex: 0 0 auto; }
.v2 .stack-card .btn-flat:hover { background: #fff; color: var(--ink); border-color: #fff; }
.v2 .stack-card .project-dots { left: auto; right: 26px; top: 24px; bottom: auto; }
.v2 .stack-tail { height: 10vh; }

/* ---------- Команда (Antra team): три карточки, средняя ниже ---------- */
.v2 .team-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.v2 .t-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); display: block; }
.v2 .t-card:nth-child(2) { margin-top: 40px; }
.v2 .t-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.v2 .t-card:hover img { transform: scale(1.04); }
.v2 .t-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, 0) 50%, rgba(23, 22, 26, .82) 100%); }
.v2 .t-card .t-body { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: #fff; }
.v2 .t-card h3 { font-size: clamp(20px, 2vw, 28px); }
.v2 .t-card .role { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.v2 .t-card .bio { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .85); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.v2 .t-card:hover .bio, .v2 .t-card:focus-within .bio { max-height: 160px; opacity: 1; }

/* ---------- Отзывы (Antra home 1): карточки в ленте, сепия, телефон ---------- */
.v2 .review { box-shadow: none; background: transparent; }
.v2 .review img { filter: grayscale(.7) sepia(.35) contrast(.95); transition: filter .5s ease, transform .5s var(--ease); }
.v2 .review:hover img, .v2 .review:focus-within img { filter: none; }
/* рамка телефона для скриншотов другого формата */
.v2 .phone { height: 100%; aspect-ratio: 9 / 19.5; border-radius: 34px; background: #111; padding: 10px; position: relative; display: flex; flex-direction: column; box-shadow: inset 0 0 0 2px #2a2a2a; }
.v2 .phone::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 36%; height: 22px; border-radius: 12px; background: #111; z-index: 3; }
.v2 .phone-screen { flex: 1; border-radius: 26px; overflow: hidden; background: #e9e6df; display: flex; flex-direction: column; font-family: var(--font-text); }
.v2 .phone-status { display: flex; justify-content: space-between; padding: 12px 20px 4px; font-size: 11px; font-weight: 700; color: #111; }
.v2 .phone-status i { font-style: normal; letter-spacing: .05em; }
.v2 .phone-head { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; background: #f5f3ee; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.v2 .phone-head .ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #f3a37e); flex: 0 0 32px; }
.v2 .phone-head b { display: block; font-size: 12.5px; color: #111; }
.v2 .phone-head small { display: block; font-size: 10.5px; color: #7a7a7a; }
.v2 .phone-body { flex: 1; display: grid; place-items: center; padding: 10px; background: #e5e1d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%23c9c3b3'/%3E%3C/svg%3E"); }
.v2 .phone-body img { width: 100%; height: auto; border-radius: 14px; filter: none; }
.v2 .phone-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 12px; background: #f5f3ee; }
.v2 .phone-input span { flex: 1; height: 30px; border-radius: 15px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); font-size: 11px; color: #9a9a9a; display: flex; align-items: center; padding-left: 12px; }
.v2 .phone-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.v2 .review.is-phone { filter: grayscale(.7) sepia(.35) contrast(.95); transition: filter .5s ease; }
.v2 .review.is-phone:hover { filter: none; }

/* ---------- Адаптив второй версии ---------- */
@media (max-width: 1100px) {
  .v2 .header-phone { display: none; }
  .v2 .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2 .hero-grid { grid-template-columns: 1fr; }
  .v2 .hero-photo { aspect-ratio: 4 / 3; }
  .v2 .team-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 760px) {
  .v2 .hero { padding-top: var(--header-h); }
  .v2 .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .v2 .hero-video { width: 96px; height: .9em; }
  .v2 .hero-video span { width: 32px; height: 32px; }
  .v2 .services-cards { grid-template-columns: 1fr; }
  .v2 .stack-card { top: calc(var(--header-h) + 12px); }
  .v2 .stack-card .project-media { aspect-ratio: 4 / 5; border-radius: 18px; }
  .v2 .stack-card .project-caption { flex-direction: column; align-items: flex-start; left: 18px; right: 18px; bottom: 18px; gap: 14px; }
  .v2 .stack-card .project-tags { left: 18px; top: 16px; }
  .v2 .stack-card .project-dots { right: 18px; top: 18px; }
  .v2 .team-cards { grid-template-columns: 1fr; }
  .v2 .t-card:nth-child(2) { margin-top: 0; }
  .v2 .t-card { aspect-ratio: 4 / 5; }
  .v2 .t-card .bio { max-height: 200px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .v2 .hero-photo img { animation: none; transform: none; }
}

/* sticky-стопке нужен видимый overflow у секции */
.v2 .portfolio { overflow: visible; }
.v2 .stack-card .project-media img { z-index: 0; }

/* ============================================================
   Правки Максима от 15.09.2026 (версия 2.1)
   ============================================================ */

/* ---------- Хиро: слайдер с плавным фейдом ---------- */
.v2 .hero-photo { position: relative; }
.v2 .hero-photo img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; animation: none; transform: none; }
.v2 .hero-photo img.is-active { opacity: 1; }

/* ---------- Услуги: светлые бейджи в бледно-красном ---------- */
.v2 .s-card::after { background: var(--card); }
.v2 .s-card .badge { background: #ea7a58; color: #fff; box-shadow: 0 0 0 6px var(--card), 0 8px 20px -8px rgba(228, 85, 44, .6); }

/* ---------- О нас: белый фон ---------- */
.v2 .section-white { background: #fff; }

/* ---------- Портфолио: во всю ширину экрана, формат 4:3 ---------- */
.v2 .stack { width: 100vw; margin-left: calc(50% - 50vw); gap: 0; }
.v2 .stack-card { top: var(--header-h); }
.v2 .stack-card .project-media { aspect-ratio: auto; width: 100%; height: min(75vw, calc(100vh - var(--header-h))); border-radius: 0; box-shadow: 0 -24px 60px -24px rgba(23, 22, 26, .55); }
.v2 .stack-card .project-tags { left: var(--gutter); top: 28px; }
.v2 .stack-card .project-caption { left: var(--gutter); right: var(--gutter); bottom: 108px; }
.v2 .stack-card .project-caption h3 { font-size: clamp(24px, 3vw, 44px); }
.v2 .stack-card .project-dots { right: var(--gutter); top: 30px; }
.v2 .stack-tail { height: 6vh; }

/* ---------- Отзывы: бегущая лента вправо, обесцвечивание 90 %, увеличение по наведению ---------- */
.v2 .reviews-marquee { overflow-x: clip; overflow-y: visible; padding: 130px 0 150px; margin-top: -80px; }
.v2 .reviews.section { padding-bottom: 0; }
.v2 .reviews-track { display: flex; width: max-content; animation: rev-move 110s linear infinite; }
.v2 .reviews-track:hover { animation-play-state: paused; }
@keyframes rev-move { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.v2 .review { height: clamp(220px, 24vw, 320px); margin-right: 18px; position: relative; transition: transform .7s var(--ease); transform-origin: center; }
.v2 .review img { filter: grayscale(.9); transition: filter .6s ease; }
.v2 .review:hover, .v2 .review:focus-within { transform: scale(2); z-index: 5; }
.v2 .review:hover img { filter: none; }
.v2 .review.is-phone { filter: grayscale(.9); transition: filter .6s ease, transform .7s var(--ease); }
.v2 .review.is-phone:hover { filter: none; }
.v2 .reviews .section-head { margin-bottom: 0; }

/* ---------- Команда: панель справа (information drawer) ---------- */
.v2 .t-card { cursor: pointer; }
.v2 .drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; transition: visibility 0s .6s; }
.v2 .drawer.is-open { visibility: visible; transition-delay: 0s; }
.v2 .drawer-backdrop { position: absolute; inset: 0; background: rgba(23, 22, 26, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s; }
.v2 .drawer.is-open .drawer-backdrop { opacity: 1; }
.v2 .drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 94vw); background: var(--bg); transform: translateX(100%); transition: transform .65s var(--ease); overflow: auto; display: flex; flex-direction: column; box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .5); }
.v2 .drawer.is-open .drawer-panel { transform: none; }
.v2 .drawer-media { aspect-ratio: 4 / 5; max-height: 62vh; background: var(--bg-2); flex: 0 0 auto; position: relative; overflow: hidden; }
.v2 .drawer-media img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08); } }
.v2 .drawer-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; cursor: pointer; }
.v2 .drawer-close svg { width: 16px; height: 16px; }
.v2 .drawer-body { padding: 28px 32px 44px; opacity: 0; transform: translateY(16px); transition: opacity .5s .35s, transform .6s .35s var(--ease); }
.v2 .drawer.is-open .drawer-body { opacity: 1; transform: none; }
.v2 .drawer-name { font-size: clamp(24px, 2.2vw, 32px); }
.v2 .drawer-role { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.v2 .drawer-bio { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.v2 .drawer-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.v2 .drawer-facts li { padding-left: 20px; position: relative; }
.v2 .drawer-facts li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.v2 .drawer-note { margin-top: 24px; font-size: 12.5px; color: var(--muted); }

/* ---------- ФАК: раскрывается при прокрутке ---------- */
.v2 .faq { max-width: 880px; display: grid; gap: 14px; }
.v2 .faq-q { display: inline-flex; align-items: center; gap: 14px; padding: 13px 20px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; cursor: pointer; text-align: left; color: var(--ink); transition: background .35s, color .35s, border-color .35s; }
.v2 .faq-item.is-open .faq-q { background: var(--ink); color: #fff; border-color: var(--ink); }
.v2 .faq-q i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; position: relative; flex: 0 0 26px; }
.v2 .faq-q i::before, .v2 .faq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.v2 .faq-q i::before { width: 10px; height: 1.5px; }
.v2 .faq-q i::after { width: 1.5px; height: 10px; transition: transform .3s; }
.v2 .faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) scaleY(0); }
.v2 .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.v2 .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.v2 .faq-a > div { overflow: hidden; }
.v2 .faq-a .bubble { background: var(--accent-soft); border-radius: 20px 20px 20px 4px; padding: 18px 22px; margin: 12px 0 0 40px; color: var(--ink-2); font-size: 15.5px; }
.v2 .faq-a .bubble ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.v2 .faq-a .bubble p + p { margin-top: 8px; }

/* ---------- Кнопка play: жидкое стекло ---------- */
.v2 .play { background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -10px 20px rgba(255, 255, 255, .12), 0 12px 40px rgba(0, 0, 0, .3); color: #fff; overflow: hidden; }
.v2 .play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%); transform: translateX(-130%); transition: transform .9s var(--ease); }
.v2 .play:hover::after { transform: translateX(130%); }
.v2 .play:hover { background: rgba(255, 255, 255, .26); }

/* ---------- Кнопки «жидкий металл» (визард) ---------- */
@property --lm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.v2 .btn-metal {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--pill); color: #fff; font-weight: 600; font-size: 15px; line-height: 1;
  border: 2px solid transparent; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, #2c2b32, #131216) padding-box,
              conic-gradient(from var(--lm-a), #e6e6ea, #6a6a73, #ffffff, #4f4f57, #d2d2d8, #e6e6ea) border-box;
  animation: lm-spin 7s linear infinite;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .3s var(--ease);
}
@keyframes lm-spin { to { --lm-a: 360deg; } }
.v2 .btn-metal::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-140%); transition: transform .8s var(--ease); }
.v2 .btn-metal:hover::after { transform: translateX(140%); }
.v2 .btn-metal:hover { transform: translateY(-2px); }
.v2 .btn-metal:disabled { opacity: .35; animation: none; cursor: default; transform: none; }
.v2 .btn-metal[hidden] { display: none; }
.v2 .btn-metal.is-light { color: var(--ink); background: linear-gradient(180deg, #ffffff, #ececef) padding-box, conic-gradient(from var(--lm-a), #c9c9cf, #7a7a83, #ffffff, #5a5a62, #d4d4da, #c9c9cf) border-box; }
.v2 .btn-metal svg { width: 16px; height: 16px; }

/* ---------- Визард брифа ---------- */
.v2 .wizard { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.v2 .wizard::before { content: ''; position: absolute; right: -10%; top: -20%; width: 55%; height: 80%; background: radial-gradient(closest-side, rgba(228, 85, 44, .22), transparent 70%); pointer-events: none; }
.v2 .wizard > * { position: relative; }
.v2 .wiz-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.v2 .wiz-head h2 { max-width: 22ch; }
.v2 .wiz-head p { color: var(--on-dark-muted); margin-top: 12px; max-width: 58ch; }
.v2 .wiz-safe { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: var(--on-dark-muted); }
.v2 .wiz-safe svg { width: 16px; height: 16px; color: #fff; flex: 0 0 16px; }
.v2 .wiz-progress { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 4px; margin: 30px 0 10px; overflow: hidden; }
.v2 .wiz-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #d9d9de, #fff); transition: width .5s var(--ease); }
.v2 .wiz-counter { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.v2 .wiz-step { display: none; padding-top: 26px; }
.v2 .wiz-step.is-active { display: block; animation: reveal-up .5s var(--ease) both; }
.v2 .wiz-step h3 { font-size: clamp(20px, 2vw, 28px); }
.v2 .wiz-step .hint { color: var(--on-dark-muted); margin-top: 8px; font-size: 15px; }
.v2 .wiz-step h4 { margin-top: 26px; font-family: var(--font-text); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.v2 .wiz-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.v2 .chip { padding: 12px 18px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.v2 .chip:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-1px); }
.v2 .chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.v2 .wiz-chips.has-error .chip { border-color: var(--accent); }
.v2 .wiz-extra { margin-top: 14px; max-width: 420px; }
.v2 .wizard input:not([type="checkbox"]), .v2 .wizard textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.v2 .wizard input::placeholder, .v2 .wizard textarea::placeholder { color: rgba(244, 244, 241, .45); }
.v2 .wizard input:focus, .v2 .wizard textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.v2 .wizard textarea { margin-top: 14px; min-height: 110px; resize: vertical; }
.v2 .wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.v2 .wiz-privacy { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 13.5px; color: rgba(244, 244, 241, .8); display: flex; gap: 12px; align-items: flex-start; }
.v2 .wiz-privacy svg { width: 20px; height: 20px; flex: 0 0 20px; color: #fff; margin-top: 2px; }
.v2 .wiz-privacy strong { color: #fff; }
.v2 .wizard .form { margin-top: 20px; grid-template-columns: 1fr 1fr; gap: 14px; }
.v2 .wizard .field label { color: rgba(244, 244, 241, .85); }
.v2 .wizard .field.is-full, .v2 .wizard .consent, .v2 .wizard .form .btn-metal { grid-column: 1 / -1; }
.v2 .wizard .consent { color: var(--on-dark-muted); }
.v2 .wizard .consent a { color: #fff; }
.v2 .wizard .form .btn-metal { justify-self: start; }
.v2 .wizard .form-success { display: none; text-align: left; padding: 20px 0 0; }
.v2 .wizard .form-success p { color: var(--on-dark-muted); }
.v2 .wizard.is-sent .wiz-body { display: none; }
.v2 .wizard.is-sent .form-success { display: block; }
.v2 .wizard .field .error { color: #ff9c7d; }
.v2 .wizard .field.has-error input { border-color: #ff9c7d; }

/* ---------- Подвал: крупный вордмарк ---------- */
.v2 .footer { padding-bottom: clamp(70px, 10vw, 150px); }
.v2 .footer .container { position: relative; z-index: 1; }
.v2 .footer-big { position: absolute; left: 50%; bottom: -.14em; transform: translateX(-50%); z-index: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7.6vw, 118px); line-height: 1; white-space: nowrap; letter-spacing: -.02em; color: rgba(255, 255, 255, .07); pointer-events: none; user-select: none; }

@media (max-width: 760px) {
  .v2 .stack-card .project-media { height: min(133vw, calc(100vh - var(--header-h))); }
  .v2 .reviews-marquee { padding: 90px 0 110px; margin-top: -40px; }
  .v2 .review { height: 220px; }
  .v2 .review:hover, .v2 .review:focus-within { transform: scale(1.5); }
  .v2 .wizard .form { grid-template-columns: 1fr; }
  .v2 .drawer-media { max-height: 48vh; }
  .v2 .faq-q { font-size: 14px; padding: 12px 16px; }
  .v2 .faq-a .bubble { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v2 .reviews-track { animation: none; }
  .v2 .btn-metal { animation: none; }
  .v2 .drawer-media img { animation: none; }
}

/* ============================================================
   Правки Максима 15.09, вечер (версия 2.2)
   ============================================================ */

/* ---------- Слайдер хиро: полупрозрачные точки под фото ---------- */
.v2 .hero-photo { overflow: visible; border-radius: 0; background: transparent; aspect-ratio: auto; }
.v2 .hero-photo::before { content: ''; display: block; padding-top: 120%; }
.v2 .hero-photo img { border-radius: var(--radius); }
.v2 .fader-dots { position: absolute; left: 0; right: 0; bottom: -26px; display: flex; justify-content: center; gap: 8px; }
.v2 .fader-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(23, 22, 26, .18); transition: background .6s, transform .6s var(--ease); }
.v2 .fader-dots i.is-active { background: rgba(228, 85, 44, .75); transform: scale(1.25); }

/* ---------- О нас: командное фото прямоугольником, чтобы влезли все трое ---------- */
.v2 .why { grid-template-columns: minmax(0, 1fr) minmax(300px, 480px) minmax(0, 1fr); }
.v2 .why-center { aspect-ratio: 1; border-radius: 50%; padding: 14px; }
.v2 .why-center img { border-radius: 50%; object-position: center center; }
.v2 .why-center::after { border-radius: 50%; inset: 6px; }

/* ---------- ФАК в виде переписки ---------- */
.v2 .faq { gap: 22px; }
.v2 .faq-item { display: grid; gap: 10px; }
.v2 .faq-q { justify-self: start; border-radius: 22px 22px 22px 6px; position: relative; box-shadow: 0 6px 20px -14px rgba(23, 22, 26, .4); }
.v2 .faq-a { justify-self: end; width: min(100%, 640px); }
.v2 .faq-a .bubble { margin: 0; border-radius: 22px 22px 6px 22px; background: var(--accent); color: #fff; position: relative; box-shadow: 0 12px 30px -16px rgba(228, 85, 44, .7); }
.v2 .faq-a .bubble ul { padding-left: 18px; }
.v2 .faq-a .bubble p, .v2 .faq-a .bubble li { color: rgba(255, 255, 255, .95); }
.v2 .faq-a .bubble::after { content: ''; position: absolute; right: 14px; bottom: -6px; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); transform: rotate(45deg); }
.v2 .faq-item.is-open .faq-a { animation: faq-in .5s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.v2 .faq-meta { justify-self: end; font-size: 11px; color: var(--muted); margin-right: 8px; }

/* ---------- Визард: светлый halftone-фон с движением ---------- */
.v2 .wizard {
  background: linear-gradient(135deg, #2a2330 0%, #6b3a3a 32%, #d3673f 62%, #f1c9a8 100%);
  color: #fff;
}
.v2 .wizard::before {
  content: ''; position: absolute; inset: 0; width: auto; height: auto; right: auto; top: auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(23, 22, 26, .55) 0 1.3px, transparent 2.2px) 0 0 / 9px 9px,
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 .9px, transparent 1.8px) 4px 4px / 9px 9px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .95));
  -webkit-mask-image: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .95));
  animation: halftone-drift 14s linear infinite;
  pointer-events: none;
}
.v2 .wizard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .38), rgba(23, 22, 26, .52)); pointer-events: none; }
.v2 .wizard > * { position: relative; z-index: 1; }
@keyframes halftone-drift { from { background-position: 0 0, 4px 4px; } to { background-position: 90px 45px, 94px 49px; } }
.v2 .wiz-head p, .v2 .wiz-step .hint, .v2 .wiz-counter, .v2 .wiz-step h4 { color: rgba(255, 255, 255, .78); }
.v2 .wiz-safe { border-color: rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .9); background: rgba(23, 22, 26, .25); }
.v2 .wiz-progress { background: rgba(255, 255, 255, .22); }
.v2 .chip { background: rgba(23, 22, 26, .28); border-color: rgba(255, 255, 255, .35); }
.v2 .chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.v2 .wizard input:not([type="checkbox"]), .v2 .wizard textarea { background: rgba(23, 22, 26, .3); border-color: rgba(255, 255, 255, .3); }
.v2 .wiz-privacy { background: rgba(23, 22, 26, .32); color: rgba(255, 255, 255, .88); }
.v2 .wizard .consent { color: rgba(255, 255, 255, .8); }
.v2 .wizard .form-success p { color: rgba(255, 255, 255, .85); }
@media (prefers-reduced-motion: reduce) { .v2 .wizard::before { animation: none; } }

/* ---------- Правки 15.09 вечер: кнопки визарда в стиле сайта, заметка панели ---------- */
.v2 .wiz-nav .btn { min-width: 150px; justify-content: center; }
.v2 .wiz-nav .btn-arrow { justify-content: space-between; }
.v2 .wiz-nav .btn:disabled { opacity: .35; cursor: default; }
.v2 .wiz-next[hidden] { display: none; }
.v2 .wiz-nav .btn-ghost.on-dark { border-color: rgba(255, 255, 255, .45); }
@media (max-width: 1100px) { .v2 .why { grid-template-columns: 1fr; } .v2 .why-center { max-width: 400px; width: 100%; margin: 0 auto; } }

/* --- Хиро: видео-слайдер с полосой прогресса (18.09.2026) --- */
.v2 .hero-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); opacity: 0; transition: opacity 1.8s ease; background: var(--bg-2); }
.v2 .hero-photo video.is-active { opacity: 1; }
.v2 .hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; z-index: 2; pointer-events: none; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(to top, rgba(18, 17, 20, .40), rgba(18, 17, 20, 0)); }
.v2 .hero-progress::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .32); }
.v2 .hero-progress i { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #fff; transform: scaleX(0); transform-origin: left center; will-change: transform; }
.v2 .hero-progress i.is-reset { transition: transform .35s var(--ease); }
@media (prefers-reduced-motion: reduce) { .v2 .hero-photo video { transition: none; } .v2 .hero-progress { display: none; } }


/* На телефоне подпись остаётся на прежней высоте, поднимаем только десктоп (18.09.2026) */
@media (max-width: 760px) { .v2 .stack-card .project-caption { bottom: 36px; } }

/* Правка 18.09: галочка согласия в брифе растягивалась на всю колонку из-за общего правила для input */
.v2 .wizard .consent { align-items: center; gap: 12px; }
.v2 .wizard .consent input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; padding: 0; accent-color: var(--accent); }


/* SEO 2026-10-05: H1 – название услуги (строка над слоганом), слоган Анны – абзац .hero-slogan с прежним видом */
.v2 .hero h1.eyebrow { max-width: none; margin: 0; font-family: inherit; font-size: 11px; font-weight: 700; line-height: inherit; letter-spacing: .12em; }
.v2 .hero .hero-slogan { font-family: var(--font-display); font-weight: 700; max-width: none; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 0; }
.v2 .hero .hero-slogan .accent { color: var(--accent); }
@media (max-width: 760px) { .v2 .hero .hero-slogan { font-size: clamp(34px, 9.5vw, 44px); } }
