/* ═══════════════════════════════════════════════════════════
   VitoFix — выездной ремонт смартфонов
   Тема «тёмная мастерская»: глубокий сине-чёрный фон,
   стеклянные панели, электрический синий и сигнальный зелёный.
   Эффекты (aurora, dot-grid, spotlight, split-text, count-up,
   star-border, magnet, glare) живут в assets/fx.js
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --surface: #f6f8fc;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --line: #e7ecf5;
  --line-2: #d5deec;

  --ink: #0b1220;
  --body: #4e5c73;
  --muted: #7b8899;
  --faint: #a6b0c0;

  --blue: #2563eb;
  --blue-lt: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, .38);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, .4);
  --warn: #f0a13c;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh: 0 18px 44px -24px rgba(15, 40, 80, .26);
  --sh-lg: 0 40px 90px -46px rgba(15, 40, 80, .4);

  --display: "Wix Madefor Display", "Onest", system-ui, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* picture не должен создавать бокс — иначе ломается разметка карточек */
picture { display: contents; }
a { color: var(--blue-lt); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
p { margin: 0; }
button { font: inherit; }
::selection { background: #d9e6ff; color: var(--ink); }

.wrap { width: min(1180px, 92%); margin-inline: auto; position: relative; z-index: 1; }
.narrow { width: min(880px, 92%); margin-inline: auto; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Фоновые слои: aurora + точечная сетка ── */
.fx-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .22; animation: drift 26s var(--ease) infinite alternate; }
.aurora--1 { width: 620px; height: 620px; top: -14%; left: 52%; background: radial-gradient(circle, #2563eb, transparent 66%); }
.aurora--2 { width: 520px; height: 520px; top: 26%; left: -12%; background: radial-gradient(circle, #7c3aed, transparent 68%); animation-delay: -9s; }
.aurora--3 { width: 460px; height: 460px; top: 64%; left: 60%; background: radial-gradient(circle, #10b981, transparent 70%); opacity: .14; animation-delay: -17s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-6%, 7%, 0) scale(1.14); }
  100% { transform: translate3d(7%, -5%, 0) scale(.94); }
}
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, .13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 20%, #000 8%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 20%, #000 8%, transparent 74%);
}

/* ── Типографика ── */
.eyebrow, .sec-idx {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 18px;
}
.sec-idx b { font-weight: 700; opacity: .5; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.sec-idx::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .35; }

h1 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.042em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.14rem; letter-spacing: -.02em; }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.19rem); color: var(--body); max-width: 58ch; }
.sec-head { max-width: 62ch; margin-bottom: clamp(34px, 4.6vw, 58px); }
.sec-head p { margin-top: 14px; color: var(--muted); }
.sec-head--c { margin-inline: auto; text-align: center; }

/* мерцающий блик по тексту (Shiny Text) */
.shiny {
  background: linear-gradient(100deg, var(--blue) 30%, #7cb0ff 46%, var(--blue) 54%, var(--blue-lt) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5.5s linear infinite;
}
@keyframes shine { 0% { background-position: 180% 0; } 100% { background-position: -80% 0; } }

/* ── Секции ── */
.sec { padding: clamp(58px, 8vw, 112px) 0; position: relative; }
.sec--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Кнопки ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--pri { background: var(--blue); color: #fff; box-shadow: 0 16px 40px -16px var(--blue-glow); }
.btn--pri:hover { background: #2f74ee; box-shadow: 0 22px 54px -18px var(--blue-glow); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 18px 34px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

/* бегущая рамка (Star Border) */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.star-border { position: relative; isolation: isolate; }
.star-border::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--ang), transparent 0deg, var(--blue-lt) 40deg, #fff 62deg, var(--blue) 92deg, transparent 150deg);
  animation: spin-border 3.8s linear infinite;
}
@keyframes spin-border { to { --ang: 360deg; } }

/* ── Шапка ── */
.hdr {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-family: var(--display); font-size: 1.12rem; letter-spacing: -.03em; color: var(--ink); }
.brand-txt span { font-size: .69rem; color: var(--muted); }
.hdr-nav { margin-left: auto; display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.hdr-nav a { color: var(--body); transition: color .2s; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-r { display: flex; align-items: center; gap: 14px; }
.hdr-tel { font-weight: 600; color: var(--ink); white-space: nowrap; font-size: .97rem; }
.hdr-tel:hover { color: var(--blue-lt); }

/* ── Плашки доверия ── */
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--ink);
  padding: 8px 15px 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
}
.chips li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: #e7f8ee no-repeat center/10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2322c55e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5.5 5.5L20 7'/%3E%3C/svg%3E");
}

/* ── Герой ── */
.hero { padding: clamp(52px, 7vw, 104px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue-lt); }
.hero .lede { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex: none; box-shadow: 0 0 12px var(--green-glow); }
.dot-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* Панель платформ */
.hero-vis { position: relative; display: grid; place-items: center; }
.tech-panel {
  position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1.02;
  border-radius: var(--r-xl); overflow: hidden; padding: 34px;
  display: grid; place-content: center; gap: 26px;
  background: radial-gradient(125% 95% at 50% 0%, #16233f 0%, #0d1526 55%, #080d18 100%);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--sh-lg);
}
.tech-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(140, 180, 255, .12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(140, 180, 255, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 44%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 44%, #000 10%, transparent 72%);
}
.tech-panel::after {
  content: ""; position: absolute; left: 50%; top: 40%; translate: -50% -50%;
  width: 310px; height: 310px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .42), transparent 66%);
}
.tp-logos { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 36px; color: #fff; }
.tp-logos svg { width: 92px; height: 92px; fill: currentColor; }
.tp-logos .apple { fill: #fff; filter: drop-shadow(0 6px 20px rgba(255, 255, 255, .35)); }
.tp-logos .droid { color: #3ddc84; fill: #3ddc84; filter: drop-shadow(0 6px 22px rgba(61, 220, 132, .5)); }
.tp-div { width: 1px; height: 70px; background: linear-gradient(transparent, rgba(255, 255, 255, .38), transparent); }
.tp-cap { position: relative; z-index: 2; text-align: center; font-family: var(--mono); font-size: .88rem; letter-spacing: .18em; text-transform: uppercase; color: #8ea3c4; }
.tp-line { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--mono); font-size: .85rem; color: #a9bad6; }
.tp-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); font-style: normal; }
.tp-brk { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.tp-brk span { position: absolute; width: 17px; height: 17px; border: 1.5px solid rgba(255, 255, 255, .24); }
.tp-brk span:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; border-radius: 5px 0 0 0; }
.tp-brk span:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; border-radius: 0 5px 0 0; }
.tp-brk span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 5px; }
.tp-brk span:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 5px 0; }

/* Выноски */
.float {
  position: absolute; display: flex; align-items: center; gap: 11px; white-space: nowrap;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 15px; padding: 11px 15px; box-shadow: var(--sh);
  animation: floaty 6s ease-in-out infinite;
}
.float b { display: block; font-size: .86rem; color: var(--ink); font-weight: 700; line-height: 1.2; }
.float span { font-size: .74rem; color: var(--muted); }
.float-i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.float-i svg { width: 17px; height: 17px; }
.float-i--b { background: #eaf1ff; color: var(--blue); }
.float-i--g { background: #e7f8ee; color: var(--green); }
.float--1 { top: 13%; left: -8%; }
.float--2 { bottom: 16%; right: -10%; animation-delay: 2.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Марки */
.brands { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.brands span { font-family: var(--mono); font-size: .74rem; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.brands-note { margin-top: 12px; font-size: .74rem; color: var(--faint); }

/* ── Сетки и карточки ── */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: 0 1px 2px rgba(15, 40, 80, .04);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
/* Spotlight — подсветка следует за курсором (--mx/--my ставит fx.js) */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, .07), transparent 62%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); font-size: .96rem; }
.card-i { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue); background: #eaf1ff; border: 1px solid #d5e3ff; }
.card-i svg { width: 24px; height: 24px; }
.card-i img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.card-i--g { color: var(--green); background: #e7f8ee; border-color: #c8eed8; }

/* ── Процесс ── */
.rail { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.rail li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.rail li:first-child { border-top: none; }
.rail li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-weight: 700; font-size: 1rem;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blue); background: #fff; border: 1px solid var(--line-2);
  transition: .3s var(--ease);
}
.rail li:hover::before { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 28px -4px var(--blue-glow); }
.rail h3 { margin-bottom: 5px; }
.rail p { color: var(--body); font-size: .97rem; }

/* ── Гарантия ── */
.seal {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: clamp(26px, 3.6vw, 44px); border-radius: var(--r-xl);
  background: linear-gradient(150deg, #eafaf1, #f7fbff);
  border: 1px solid rgba(34, 197, 94, .22);
}
.seal-m { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, #22c55e, #14824a); box-shadow: 0 22px 50px -18px var(--green-glow); }
.seal-m svg { width: 44px; height: 44px; }
.seal h2 { margin-bottom: 10px; }
.seal p { color: var(--body); }
.seal-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.seal-list li { display: flex; gap: 10px; font-size: .93rem; color: var(--body); }
.seal-list svg { width: 17px; height: 17px; flex: none; color: var(--green); margin-top: 3px; }

/* ── Услуги ── */
.srv { display: flex; flex-direction: column; height: 100%; }
.srv-top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.srv-meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.srv-meta li { display: flex; align-items: center; gap: 9px; font-size: .89rem; color: var(--muted); }
.srv-meta svg { width: 15px; height: 15px; flex: none; color: var(--faint); }
.srv-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.srv-price { font-size: .84rem; color: var(--muted); }
.srv-price b { display: block; font-family: var(--mono); font-size: 1.24rem; color: var(--ink); }
.srv-go { font-weight: 600; font-size: .93rem; color: var(--blue-lt); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease); }
.card:hover .srv-go { gap: 11px; }

/* ── Мастера ── */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.crew--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; gap: 26px; }
.crew-card { text-align: center; }
.crew-ph { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; }
.crew-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.92) contrast(1.05); }
.crew-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 20, .5)); pointer-events: none; }
.crew-card b { display: block; font-family: var(--display); font-size: 1.06rem; color: var(--ink); }
.crew-card > span { display: block; font-size: .87rem; color: var(--muted); margin-top: 3px; }
.crew-card em { display: inline-block; margin-top: 10px; font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--blue); background: #eaf1ff; border: 1px solid #d5e3ff; padding: 4px 10px; border-radius: 6px; }
.crew-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; border: 1.6px dashed var(--line-2); border-radius: inherit; font-size: .86rem; font-weight: 600; color: var(--faint); }

/* ── Отзывы ── */
.rev { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.rev-txt { color: var(--ink); font-size: .99rem; }
.rev-who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.rev-av { width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden; border: 1px solid var(--line-2); }
.rev-av img { width: 100%; height: 100%; object-fit: cover; }
.rev-who b { display: block; font-size: .93rem; color: var(--ink); }
.rev-who > span > span { font-size: .82rem; color: var(--muted); }

/* ── Таблицы цен ── */
.tbl-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.price-all, .ptable { width: 100%; border-collapse: collapse; }
.price-all th, .price-all td, .ptable th, .ptable td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .97rem; }
.price-all th, .ptable th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-all td:first-child a, .ptable td:first-child { color: var(--ink); font-weight: 500; }
.price-all td:first-child a:hover { color: var(--blue-lt); }
.price-all td:nth-child(2) { font-family: var(--mono); font-size: .88rem; color: var(--muted); white-space: nowrap; }
.price-all td:last-child, .ptable td:last-child { font-family: var(--mono); font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.price-all tbody tr, .ptable tbody tr { transition: background .2s; }
.price-all tbody tr:hover, .ptable tbody tr:hover { background: var(--surface); }
.price-all tr:last-child td, .ptable tr:last-child td { border-bottom: none; }
.tbl-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* ── Ограничения ── */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.limit { display: flex; gap: 14px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.limit-i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.limit-i svg { width: 20px; height: 20px; }
.limit-i--warn { color: #b8730f; background: #fdf3e3; }
.limit-i--geo { color: var(--green); background: #e7f8ee; }
.limit b { display: block; color: var(--ink); margin-bottom: 4px; }
.limit p { font-size: .93rem; color: var(--body); }

/* ── Спеки, галочки, FAQ ── */
.spec { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec li { padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.spec span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec b { font-family: var(--mono); font-size: 1.1rem; color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--body); font-size: .99rem; }
.ticks svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--green); }
.ticks--warn svg { color: var(--warn); }

.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 2px 22px; margin-bottom: 11px; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: #eaf1ff no-repeat center/9px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 0 18px; color: var(--body); font-size: .97rem; }

/* ── Фото ── */
.ph-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ph { width: 100%; height: 100%; object-fit: cover; }
.ph-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: #fff; background: rgba(7, 11, 20, .7); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); }
.ill { width: 100%; height: auto; }
/* блик по фото при наведении (Glare Hover) */
.glare { position: relative; overflow: hidden; }
.glare::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: skewX(-18deg); transition: left .75s var(--ease); pointer-events: none;
}
.glare:hover::after { left: 130%; }

/* ── Призыв ── */
.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  padding: clamp(28px, 3.8vw, 46px); border-radius: var(--r-xl);
  background: linear-gradient(135deg, #e8f0ff, #f2ecff);
  border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); margin-bottom: 8px; }
.cta-band p { color: var(--body); }

/* ── Форма ── */
.form-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4.6vw, 62px); align-items: start; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--sh); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { margin-bottom: 17px; }
.f label { display: block; font-size: .89rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.f label .opt { font-weight: 400; color: var(--muted); }
.f .req { color: var(--blue-lt); }
.f input, .f textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s;
}
.f input::placeholder, .f textarea::placeholder { color: var(--faint); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, .16); }
.f textarea { resize: vertical; min-height: 108px; }
.drop { display: grid; place-items: center; gap: 5px; text-align: center; cursor: pointer; padding: 26px 20px; border: 1.6px dashed var(--line-2); border-radius: var(--r); background: #fbfcfe; transition: .2s; }
.drop:hover, .drop.on { border-color: var(--blue); background: #eff5ff; }
.drop svg { width: 26px; height: 26px; color: var(--blue-lt); }
.drop b { font-size: .95rem; color: var(--ink); }
.drop span { font-size: .82rem; color: var(--muted); }
.files { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 9px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.files .fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.files .fs { color: var(--muted); font-size: .78rem; }
.files button { border: none; background: none; cursor: pointer; color: var(--blue-lt); font-size: 1.25rem; }
.hp { position: absolute; left: -9999px; opacity: 0; width: 1px; height: 1px; }
.f-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 13px; }
.f-status { margin-top: 15px; padding: 14px 17px; border-radius: var(--r-sm); font-size: .94rem; font-weight: 500; }
.f-status.ok { background: rgba(34, 197, 94, .14); color: #6ee7a0; border: 1px solid rgba(34, 197, 94, .3); }
.f-status.err { background: rgba(239, 68, 68, .14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .3); }

/* ── Подвал ── */
.ftr { border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 72px) 0 26px; background: var(--surface); position: relative; z-index: 1; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 34px; }
.ftr-desc { margin-top: 16px; font-size: .93rem; color: var(--muted); max-width: 42ch; }
.ftr-col b { display: block; color: var(--ink); font-family: var(--display); font-size: .96rem; margin-bottom: 14px; }
.ftr-col a, .ftr-col p { display: block; color: var(--body); font-size: .94rem; margin-bottom: 9px; transition: color .2s; }
.ftr-col a:hover { color: var(--ink); }
.ftr-bot { border-top: 1px solid var(--line); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: var(--faint); }

/* ── Крошки ── */
.crumbs { font-size: .86rem; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-lt); }
.crumbs em { font-style: normal; color: var(--body); }
.crumbs i { font-style: normal; margin: 0 7px; opacity: .5; }

/* ── Появление при скролле ── */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rise.in { opacity: 1; transform: none; }
/* пословное появление заголовка (Split Text) */
.split > span { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(6px); }
.split.in > span { animation: word-in .68s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }

/* ── Плавающая кнопка ── */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 18px 40px -12px var(--blue-glow); transition: transform .22s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }

/* ── Адаптив ── */
@media (max-width: 1000px) {
  .hdr-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-vis { order: -1; }
  .tech-panel { width: min(72%, 320px); }
  .float--1 { left: 0; } .float--2 { right: 0; }
  .hero-vis { padding-block: 10px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .ftr-top { grid-template-columns: 1fr; }
  .crew { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }

  /* Шапка: убираем подпись и телефон, оставляем логотип и кнопку */
  .hdr-in { height: 60px; gap: 12px; }
  .brand-txt span { display: none; }
  .brand-txt b { font-size: 1.02rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hdr-r { margin-left: auto; gap: 8px; }
  .hdr-tel { display: none; }
  .hdr-r .btn { padding: 11px 18px; font-size: .9rem; }

  /* Выноски на телефоне только мешают — информация есть в полосе ниже */
  .float { display: none; }
  .tech-panel { width: min(84%, 300px); }

  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .seal, .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .seal-list, .limits { grid-template-columns: 1fr; text-align: left; }
  .spec, .f-row { grid-template-columns: 1fr; }
  .rail li { grid-template-columns: 44px 1fr; gap: 16px; }
  .rail li::before { width: 44px; height: 44px; font-size: .9rem; }
  /* Таблицы: без table-layout:fixed колонки распирают таблицу шире экрана */
  .price-all, .ptable { table-layout: fixed; width: 100%; }
  .price-all th:nth-child(2), .price-all td:nth-child(2) { display: none; }
  .price-all th:first-child, .price-all td:first-child { width: 58%; }
  .price-all th:last-child, .price-all td:last-child { width: 42%; }
  .ptable th:first-child, .ptable td:first-child { width: 55%; }
  .ptable th:last-child, .ptable td:last-child { width: 45%; }
  .price-all th, .price-all td, .ptable th, .ptable td { padding: 13px 14px; font-size: .92rem; }
  .bleed-tbl .price-all td, .bleed-tbl .price-all th { padding-inline: 16px; }
  .bleed-tbl .price-all td:last-child { font-size: .98rem; }
  .price-all td:last-child, .ptable td:last-child { white-space: nowrap; }
  .tp-logos svg { width: 58px; height: 58px; }
}
@media (max-width: 560px) { .crew--2 { grid-template-columns: 1fr; max-width: 300px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .split > span { opacity: 1; transform: none; filter: none; }
}

/* ═══════════════════════════════════════════════════════════
   КОМПОЗИЦИЯ — асимметрия вместо центрированных блоков
   ═══════════════════════════════════════════════════════════ */

/* Заголовок секции слева, содержимое справа. Метка липнет при скролле. */
.duo { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 4vw, 62px); align-items: start; }
.duo-label { position: sticky; top: 104px; }
.duo-label h2 { font-size: clamp(1.9rem, 3.5vw, 2.95rem); }
.duo-label p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }

/* Полоса показателей под первым экраном */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.statband div { padding: 26px 30px; border-left: 1px solid var(--line); }
.statband div:first-child { border-left: none; }
.statband b { display: block; font-family: var(--mono); font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--ink); letter-spacing: -.03em; }
.statband span { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); }

/* Бегущая строка марок */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-in { display: flex; gap: 14px; width: max-content; animation: slide 26s linear infinite; }
.marquee:hover .marquee-in { animation-play-state: paused; }
.marquee span { font-family: var(--mono); font-size: .84rem; color: var(--muted); padding: 9px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Мозаика: плитки разного размера */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .t-wide { grid-column: span 2; }
.bento .t-tall { grid-row: span 2; }
.bento .card { height: 100%; }
.t-wide .card, .t-tall .card { display: flex; flex-direction: column; justify-content: flex-end; }
.t-tall .card { min-height: 340px; }

/* Крупные цифры этапов */
.steps-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps-h > div { padding: 30px 26px 34px; border-left: 1px solid var(--line); position: relative; }
.steps-h > div:first-child { border-left: none; }
.steps-h .n {
  font-family: var(--mono); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 700;
  line-height: 1; letter-spacing: -.05em; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--ink), rgba(11,18,32,.18));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps-h h3 { margin-bottom: 8px; }
.steps-h p { font-size: .93rem; color: var(--body); }
.steps-h > div::after { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.steps-h > div:hover::after { width: calc(100% + 1px); }

/* Ступенчатые отзывы */
.stagger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.stagger > *:nth-child(2) { margin-top: 42px; }
.stagger > *:nth-child(3) { margin-top: 84px; }

/* Мастера крупно, имя поверх фото */
.crew-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 780px; }
.crew-big .crew-ph { aspect-ratio: 4 / 5; margin-bottom: 0; }
.crew-big figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.crew-big figcaption b { display: block; font-family: var(--display); font-size: 1.28rem; color: #fff; letter-spacing: -.03em; }
.crew-big figcaption span { display: block; font-size: .8rem; color: #cbd7e8; margin-top: 3px; line-height: 1.35; }
.crew-big figcaption em { display: inline-block; margin-top: 9px; font-style: normal; font-family: var(--mono); font-size: .72rem; color: #fff; background: rgba(59,130,246,.32); border: 1px solid rgba(124,176,255,.4); padding: 4px 10px; border-radius: 6px; backdrop-filter: blur(4px); }
.crew-big .crew-ph::after { background: linear-gradient(180deg, transparent 30%, rgba(7,11,20,.62) 58%, rgba(7,11,20,.95)); }

/* Заявка во всю ширину, тёмная половина слева */
.form-bleed { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; border-top: 1px solid var(--line); }
.form-side { padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 62px); background: linear-gradient(160deg, #eef4ff, #fbfcfe 62%); border-right: 1px solid var(--line); }
.form-side h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 20px; }
.form-main { padding: clamp(34px, 5vw, 72px) clamp(24px, 4vw, 62px); }
.form-bleed .form-card { background: none; border: none; box-shadow: none; padding: 0; max-width: 640px; }

/* Полноширинная таблица цен */
.bleed-tbl { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bleed-tbl .price-all td, .bleed-tbl .price-all th { padding-inline: clamp(16px, 3vw, 40px); }
.bleed-tbl .price-all td:last-child { font-size: 1.12rem; }

@media (max-width: 1000px) {
  .duo { grid-template-columns: 1fr; }
  .duo-label h2 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); }
  .duo-label { position: static; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .statband div:nth-child(3) { border-left: none; }
  .statband div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .t-wide { grid-column: span 2; }
  .bento .t-tall { grid-row: auto; }
  .t-tall .card { min-height: 0; }
  .steps-h { grid-template-columns: repeat(2, 1fr); }
  .steps-h > div:nth-child(odd) { border-left: none; }
  .steps-h > div { border-top: 1px solid var(--line); }
  .stagger { grid-template-columns: 1fr; }
  .stagger > *:nth-child(n) { margin-top: 0; }
  .form-bleed { grid-template-columns: 1fr; }
  .form-side { border-right: none; border-bottom: 1px solid var(--line); }
  .crew-big { max-width: none; }
}
@media (max-width: 620px) {
  .statband { grid-template-columns: 1fr; }
  /* без этого t-wide создаёт неявную вторую колонку и плитки едут в два ряда */
  .bento .t-wide, .bento .t-tall { grid-column: auto; grid-row: auto; }
  .t-tall .card, .bento .card { min-height: 0; }
  .statband div { border-left: none; border-top: 1px solid var(--line); }
  .statband div:first-child { border-top: none; }
  .bento, .steps-h { grid-template-columns: 1fr; }
  .steps-h > div { border-left: none; }
  .crew-big { grid-template-columns: 1fr; max-width: 340px; }
}

/* ── Стена марок: логотип растёт и оживает при наведении ── */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-tile {
  position: relative; display: grid; place-items: center; gap: 10px;
  padding: 26px 14px 18px; border-radius: var(--r-lg);
  background: var(--panel); border: 1px solid var(--line);
  cursor: default; transform: translateZ(0);
  transition: transform .32s var(--ease), border-color .3s, box-shadow .32s, background .3s;
}
.brand-tile svg {
  width: 42px; height: 42px; fill: #9aa8bd;
  transition: transform .32s var(--ease), fill .3s;
}
.brand-tile span {
  font-size: .78rem; color: var(--faint); text-align: center; line-height: 1.25;
  transition: color .3s;
}
.brand-tile:hover {
  transform: translateY(-6px) scale(1.06);
  border-color: var(--line-2); background: #fff;
  box-shadow: 0 20px 44px -22px rgba(15, 40, 80, .35);
  z-index: 2;
}
.brand-tile:hover svg { transform: scale(1.22); fill: var(--ink); }
.brand-tile:hover span { color: var(--body); }

/* фирменные цвета — только при наведении, чтобы стена не пестрила */
.brand-tile:nth-child(1):hover svg { fill: #111; }        /* Apple    */
.brand-tile:nth-child(2):hover svg { fill: #1428a0; }     /* Samsung  */
.brand-tile:nth-child(3):hover svg { fill: #ff6900; }     /* Xiaomi   */
.brand-tile:nth-child(4):hover svg { fill: #cf0a2c; }     /* Huawei   */
.brand-tile:nth-child(5):hover svg { fill: #1b6ef3; }     /* Honor    */
.brand-tile:nth-child(6):hover svg { fill: #046a38; }     /* OPPO     */
.brand-tile:nth-child(7):hover svg { fill: #415fff; }     /* vivo     */
.brand-tile:nth-child(8):hover svg { fill: #4285f4; }     /* Google   */
.brand-tile:nth-child(9):hover svg { fill: #eb0028; }     /* OnePlus  */
.brand-tile:nth-child(10):hover svg { fill: #5c92fa; }    /* Motorola */
.brand-tile:nth-child(11):hover svg { fill: #124191; }    /* Nokia    */
.brand-tile:nth-child(12):hover svg { fill: #3ddc84; }    /* Android  */

@media (max-width: 1000px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px)  { .brand-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-tile { padding: 20px 8px 14px; } .brand-tile svg { width: 34px; height: 34px; }
  .brand-tile span { font-size: .7rem; } }

/* ── Подпись разработчика ──
   Палитра сайта: синий #2563eb. Логотип у HATED оранжевый —
   перекрашиваем фильтром, файл не трогаем. */
.hated {
  position: relative; isolation: isolate; flex: none; align-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px; border-radius: 999px; overflow: hidden;
  font-size: 12.5px; font-weight: 500; letter-spacing: .01em; line-height: 1;
  color: var(--muted); background: #fff; border: 1px solid var(--line);
  text-decoration: none; white-space: nowrap;
  transition: color .28s, border-color .28s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.hated b {
  font-weight: 700;
  background: linear-gradient(92deg, var(--blue), #7cb0ff 55%, var(--blue));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position .7s var(--ease);
}
.hated-logo {
  width: 24px; height: 19px; object-fit: contain;
  filter: hue-rotate(202deg) saturate(.9) brightness(1.02);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1.5), filter .3s;
}
/* блик пробегает по подписи при наведении */
.hated::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(37, 99, 235, .16), transparent);
  transform: skewX(-18deg); transition: left .75s var(--ease); pointer-events: none;
}
.hated:hover {
  color: var(--ink); border-color: rgba(37, 99, 235, .35); transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .55);
}
.hated:hover::after { left: 130%; }
.hated:hover b { background-position: 100% 0; }
.hated:hover .hated-logo {
  transform: rotate(-14deg) scale(1.16);
  filter: hue-rotate(202deg) saturate(1.05) brightness(1.06) drop-shadow(0 0 7px rgba(37, 99, 235, .5));
}
.hated-txt { position: relative; z-index: 2; }

@media (max-width: 760px) {
  .ftr-bot { justify-content: center; text-align: center; padding-bottom: 78px; }  /* место под кнопку звонка */
  .ftr-oferta { order: 3; }
  .hated { order: 2; }
}

/* ── Кнопки мессенджеров ── */
.msgs { display: flex; flex-wrap: wrap; gap: 10px; }
.msg {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 8px 16px 8px 9px; border-radius: 12px;
  font-size: .92rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s;
}
.msg img { width: 26px; height: 26px; flex: none; }
.msg:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 10px 22px -14px var(--blue-glow); }
.msgs--ftr { margin-top: 12px; }
.msgs--ftr .msg { font-size: .88rem; padding: 7px 14px 7px 8px; }
.msgs--ftr .msg img { width: 24px; height: 24px; }

/* ── Стена отзывов с Яндекса: скриншоты как есть ── */
.ya-wall { columns: 2; column-gap: 20px; }
.ya-rev {
  break-inside: avoid; margin: 0 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; box-shadow: 0 1px 2px rgba(15, 40, 80, .04);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.ya-rev img { width: 100%; height: auto; border-radius: 12px; display: block; }
.ya-rev:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh); }

/* три мастера в ряд */
.crew-big--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }

@media (max-width: 1000px) { .crew-big--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .ya-wall { columns: 1; } }
@media (max-width: 560px)  { .crew-big--3 { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

/* Фото во всю ширину плитки-бенто */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
/* фото занимает всю свободную высоту плитки, текст прижат снизу */
.card--photo .tile-ph { display: block; flex: 1 1 auto; min-height: 230px; }
.card--photo .tile-ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.card--photo > div { flex: none; padding: 24px 28px 28px; }
@media (max-width: 620px) { .card--photo .tile-ph { min-height: 190px; } .card--photo > div { padding: 20px 22px 22px; } }

/* Иконки мессенджеров в шапке */
.msgs--ico { gap: 8px; }
.msg-ico {
  display: inline-flex; flex: none; width: 30px; height: 30px; border-radius: 9px;
  transition: transform .2s var(--ease), filter .2s;
}
.msg-ico img { width: 100%; height: 100%; display: block; }
.msg-ico:hover { transform: translateY(-2px) scale(1.08); filter: brightness(1.05); }
@media (max-width: 760px) { .hdr-r .msgs--ico { display: none; } }   /* в шапке телефона места нет */

/* Галерея «как это выглядит»: один крупный кадр + два поменьше */
.gal { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.gal figure { margin: 0; }
.gal-big { grid-row: span 2; }
.gal .ph-frame { height: 100%; min-height: 190px; }
.gal .ph { height: 100%; }
@media (max-width: 760px) {
  .gal { grid-template-columns: 1fr; grid-template-rows: none; }
  .gal-big { grid-row: auto; }
  .gal .ph-frame { min-height: 0; aspect-ratio: 16/10; }
}
