/* «Дело Кожи» · Казань — общая основа всех страниц: шрифт, цвета бренда, стекло, кнопки, шапка, меню, подвал, формы */
@font-face { font-family: 'Involve'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/Involve-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Involve'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/Involve-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Involve'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/Involve-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Involve'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/Involve-Bold.woff2) format('woff2'); }

:root {
  /* палитра гайдлайна */
  --blue: #275da7;
  --blue-d: #1f4d8d;
  --blue-dd: #173a6c;
  --terra: #e15336;
  --terra-d: #c94328;
  --terra-l: #fbdad6;
  --sky: #bddbf4;
  --white: #ebf3f4;
  /* производные */
  --paper: #f5f8f9;
  --ivory: #f1eae2;           /* фон студии на снимках модели */
  --ink: #16294a;             /* текст — глубокий синий бренда */
  --ink2: #4b5b75;
  --ink3: #8a95a8;
  --line: rgba(22, 41, 74, 0.12);
  --glass: rgba(255, 255, 255, 0.5);
  --shadow: 0 40px 90px -40px rgba(22, 41, 74, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 3vw, 44px);
  --gut: max(var(--pad), calc((100vw - 1360px) / 2)); /* поля внутренних страниц: на широком экране контент собран в колонку 1360 px */
  --hdr: 86px;
  --font: 'Involve', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: transparent;
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html.cur-on:not(.touch), html.cur-on:not(.touch) * { cursor: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--blue); color: #fff; transition: top .3s; }
.skip:focus { top: 12px; }

/* ── стекло ────────────────────────────────────────── */
.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.34) 60%, rgba(255, 255, 255, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(22, 41, 74, 0.04), var(--shadow), 0 0 0 1px rgba(22, 41, 74, 0.035);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border-radius: 28px;
}
.glass::before { /* блик за курсором */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, 0.55), transparent 60%);
  opacity: 0.6; mix-blend-mode: soft-light;
}
.glass-pill {
  background: rgba(255, 255, 255, 0.56); border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px -18px rgba(22, 41, 74, 0.45);
  border-radius: 999px;
}

/* ── типографика ───────────────────────────────────── */
/* метка раздела: фирменный знак-«точка фокуса» + название раздела */
.label { font: 600 11.5px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ''; flex: none; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.h1 { font-weight: 500; font-size: clamp(36px, 3.9vw, 66px); line-height: 1.02; letter-spacing: -0.032em; text-wrap: balance; }
.h2 { font-weight: 500; font-size: clamp(30px, 2.9vw, 50px); line-height: 1.04; letter-spacing: -0.028em; text-wrap: balance; }
.h3 { font-weight: 500; font-size: clamp(20px, 1.5vw, 25px); line-height: 1.18; letter-spacing: -0.015em; }
.soft { color: var(--ink3); }
.acc { color: var(--blue); }
.acc-t { color: var(--terra); }
.lead { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.6; color: var(--ink2); max-width: 34em; text-wrap: pretty; }
.fine { font-size: 12px; line-height: 1.5; color: var(--ink2); }

/* ── кнопки ────────────────────────────────────────── */
.cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 46px; padding: 0 22px;
  border-radius: 999px; background: var(--terra); color: #fff; font-weight: 500; font-size: 15px; letter-spacing: 0.005em; white-space: nowrap;
  box-shadow: 0 14px 34px -16px rgba(225, 83, 54, 0.75); overflow: hidden; isolation: isolate;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .2s var(--ease);
}
.cta::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent); transform: skewX(-20deg); transition: left .9s var(--ease); }
.cta:hover::after { left: 130%; }
.cta:hover { background: var(--terra-d); box-shadow: 0 18px 40px -14px rgba(225, 83, 54, 0.8); }
.cta:active { transform: translateY(1px); }
.cta-lg { height: 58px; padding: 0 28px; font-size: 17px; }
.cta-blue { background: var(--blue); box-shadow: 0 14px 34px -16px rgba(39, 93, 167, 0.8); }
.cta-blue:hover { background: var(--blue-d); box-shadow: 0 18px 40px -14px rgba(39, 93, 167, 0.8); }
.cta-ghost { background: rgba(255, 255, 255, 0.6); color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(39, 93, 167, 0.35); }
.cta-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.cta-white { background: #fff; color: var(--terra); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.4); }
.cta-white:hover { background: #fff; color: var(--terra-d); }
.cta-ar { width: 18px; height: 1.5px; background: currentColor; position: relative; flex: none; }
.cta-ar::after { content: ''; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.magnetic { will-change: transform; }
.link { color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ── шапка ─────────────────────────────────────────── */
.hdr { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: var(--hdr); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hdr > * { pointer-events: auto; }
.brand, .chapter { height: 56px; padding: 0 20px; margin-left: -18px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .6s var(--ease), border-color .6s, box-shadow .6s, -webkit-backdrop-filter .6s, backdrop-filter .6s; }
.chapter { margin-left: 0; }
.scrolled .brand, .scrolled .chapter, .page .brand { background-color: rgba(255, 255, 255, 0.58); border-color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 1px 0 #fff, 0 10px 30px -18px rgba(22, 41, 74, 0.45); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--blue); }
/* логотип в шапке: знак, надпись «Дело Кожи» и под ней дескриптор — живым текстом, от левого края «Д»,
   кеглем почти как разделы шапки (по просьбе владельца); знак — по высоте обеих строк, как в горизонтальной версии */
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-t { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.brand-name { width: 186px; height: 25px; display: block; }
.brand-d { font-size: 12.5px; font-weight: 600; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--blue); }
.brand-c { font-size: 13.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2); padding-left: 14px; border-left: 1px solid var(--line); line-height: 18px; }
.hdr-r { display: flex; align-items: center; gap: 10px; }
.nav-in { display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 6px; }
.nav-i { position: relative; height: 100%; display: flex; align-items: center; }
.nav-a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font-size: 17px; font-weight: 500; color: var(--ink); transition: background-color .3s, color .3s; }
.nav-a:hover, .nav-i:hover > .nav-a, .nav-i:focus-within > .nav-a { background: rgba(39, 93, 167, 0.08); color: var(--blue); }
.nav-a[aria-current="page"] { color: var(--blue); background: rgba(39, 93, 167, 0.1); }
.nav-car { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); opacity: 0.6; transition: transform .4s var(--ease); }
.nav-i:hover .nav-car, .nav-i:focus-within .nav-car { transform: rotate(-135deg) translate(-2px, -2px); }
/* выпадающие списки разделов */
.nav-dd { position: absolute; top: calc(100% + 6px); left: 50%; width: 300px; padding: 8px; border-radius: 22px; display: grid; gap: 2px;
  background: rgba(255, 255, 255, 0.88); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .35s; }
.nav-i::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* мостик, чтобы список не закрывался по пути */
.nav-i:hover .nav-dd, .nav-i:focus-within .nav-dd, .nav-i.open .nav-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.nav-dd a { display: block; padding: 11px 14px; border-radius: 14px; transition: background-color .25s; }
.nav-dd a:hover, .nav-dd a:focus-visible { background: rgba(39, 93, 167, 0.08); }
.nav-dd b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.nav-dd span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--ink2); }
.nav-dd a[aria-current="page"] b { color: var(--blue); }
.nav-dd-wide { width: 560px; grid-template-columns: 1fr 1fr; }
.nav-dd-wide .nav-main { grid-column: 1 / -1; background: var(--blue); }
.nav-dd-wide .nav-main b, .nav-dd-wide .nav-main span { color: #fff; }
.nav-dd-wide .nav-main span { opacity: 0.8; }
.nav-dd-wide .nav-main:hover { background: var(--blue-d); }
.chapter { display: flex; align-items: center; gap: 10px; margin-right: 4px; font-size: 12px; color: var(--ink2); letter-spacing: 0.06em; }
.chapter-n { font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 600; }
.chapter-t { min-width: 7.5em; }
.chapter-bar { width: 64px; height: 1.5px; background: rgba(22, 41, 74, 0.14); position: relative; overflow: hidden; }
.chapter-bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.menu-btn { height: 56px; padding: 0 22px 0 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.hdr .cta { height: 56px; padding: 0 26px; font-size: 17px; }
.menu-ic { width: 16px; height: 8px; position: relative; }
.menu-ic i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease); }
.menu-ic i:first-child { top: 0; } .menu-ic i:last-child { bottom: 0; }
.menu-open .menu-ic i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-ic i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ── меню ──────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: center; gap: 6vh; padding: calc(var(--hdr) + 3vh) max(var(--pad), (100vw - 1360px) / 2) 40px;
  background: rgba(235, 243, 244, 0.82); -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; overflow: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; }
.menu-g { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.menu-h { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.menu-g a { font-size: clamp(22px, 1.9vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); opacity: 0; transform: translateY(16px); transition: color .3s, opacity .6s var(--ease), transform .8s var(--ease); }
.menu-open .menu-g a { opacity: 1; transform: none; }
.menu-g:nth-child(2) a { transition-delay: .05s; } .menu-g:nth-child(3) a { transition-delay: .1s; }
.menu-g a:hover, .menu-g a[aria-current="page"] { color: var(--blue); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink2); font-size: 14px; line-height: 1.5; }
.menu-tel { font-size: 22px; font-weight: 500; color: var(--ink); }
.menu-foot .cta { margin-left: auto; }

/* ── курсор ────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(22, 41, 74, 0.5); display: grid; place-items: center; opacity: 0; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, border-color .4s, opacity .4s; }
.cursor.on { opacity: 1; }
.cursor::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transition: opacity .3s; }
.cursor-l { position: absolute; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: #fff; opacity: 0; white-space: nowrap; transition: opacity .3s; }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(39, 93, 167, 0.88); border-color: transparent; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cursor.is-label::after { opacity: 0; }
.cursor.is-label .cursor-l { opacity: 1; }
.touch .cursor { display: none; }

/* ── фото, которых пока нет: место и подпись, что снять ── */
.ph { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, #dfeaf6, #f3e1dc); display: grid; place-items: center; text-align: center; color: var(--blue); min-height: 120px; }
.ph::before { content: ''; position: absolute; width: 34%; aspect-ratio: 1; max-width: 140px; opacity: 0.18;
  background: currentColor; -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.ph > span { position: relative; margin-top: 46%; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2); max-width: 90%; }
.ph > span::before { content: 'Фото · '; color: var(--terra); }

/* ── «до/после» с фирменной кривой ─────────────────── */
.ba { position: relative; overflow: hidden; border-radius: 22px; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #ddd; }
.ba-svg { width: 100%; height: 100%; display: block; }
.ba-tag { position: absolute; top: 18px; font: 600 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #fff; padding: 8px 12px; border-radius: 999px; background: rgba(22, 41, 74, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.ba-l { left: 18px; }
.ba-r { right: 18px; background: rgba(39, 93, 167, .82); }
.ba-knob { position: absolute; left: 0; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center;
  box-shadow: 0 10px 26px -10px rgba(22, 41, 74, .6), 0 0 0 6px rgba(255, 255, 255, .28); }
.ba-knob::before, .ba-knob::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.ba-knob::before { left: 13px; transform: rotate(45deg); }
.ba-knob::after { right: 13px; transform: rotate(-135deg); }

/* ── формы ─────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; }
.fld > span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2); }
.fld input, .fld select, .fld textarea { height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(22, 41, 74, 0.14); background: rgba(255, 255, 255, 0.66); font: inherit; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; }
.fld textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink3); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(39, 93, 167, 0.12); }
.fld.bad input { border-color: var(--terra); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
.agree input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.agree a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-err { min-height: 18px; font-size: 13px; color: var(--terra-d); margin-bottom: 8px; }
.form-done[hidden] { display: none; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: rgba(255, 255, 255, 0.66) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23275da7' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat; }
.form .form-row + .form-row { margin-top: 12px; }

/* ── запись поверх страницы ────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-bg { position: absolute; inset: 0; background: rgba(16, 34, 64, 0.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease); }
.modal.open .modal-bg { opacity: 1; }
.modal-card { position: relative; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-radius: 30px; background: #fff; box-shadow: 0 50px 120px -30px rgba(16, 34, 64, 0.55); opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-side { position: relative; overflow: hidden; padding: 36px 32px; color: #fff; background: var(--blue); display: flex; flex-direction: column; gap: 14px; }
.modal-mark { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; color: #fff; opacity: 0.1; }
.modal-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.modal-big { font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.modal-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; font-size: 15px; }
.modal-list li { position: relative; padding-left: 26px; }
.modal-list li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.modal-contact { margin-top: auto; padding-top: 22px; font-size: 14px; opacity: 0.9; }
.modal-contact a { font-size: 20px; font-weight: 500; }
.modal-main { padding: 36px 36px 30px; }
.modal-title { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.modal-lead { margin: 10px 0 24px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.modal-x { position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); transition: background-color .3s, transform .4s var(--ease); }
.modal-x::before, .modal-x::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.modal-x::after { transform: rotate(-45deg); }
.modal-x:hover { background: var(--white); transform: rotate(90deg); }
.modal .form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 30px; }
.modal .form-done[hidden] { display: none; }
.modal-open { overflow: hidden; }

/* ── подвал: синее поле под фирменной кривой ───────── */
/* сплошное синее поле, без выступов вверх; фирменный знак — крупно и бледно в углу */
.ftr { position: relative; z-index: 2; overflow: hidden; color: #fff; background: var(--blue); margin-top: 120px; padding: 64px var(--gut) 28px; }
.ftr::before { content: ''; position: absolute; right: -6vw; top: -18vw; width: 44vw; max-width: 640px; aspect-ratio: 1; opacity: 0.07; background: #fff; pointer-events: none;
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.ftr > * { position: relative; }
.page .hdr { padding-left: var(--gut); padding-right: var(--gut); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 4vw; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.ftr-logo { width: min(420px, 100%); aspect-ratio: 423 / 75; color: #fff; }
.ftr-slogan { margin-top: 26px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; max-width: 14em; }
.ftr h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.ftr-col a, .ftr-col p { display: block; font-size: 15px; line-height: 1.5; padding: 3px 0; color: rgba(255, 255, 255, 0.92); }
.ftr-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-tel { font-size: 22px !important; font-weight: 500; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 22px; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.ftr-bot a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 2px; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-warn { width: 100%; font-size: clamp(14px, 1.6vw, 26px); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); padding: 22px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 8px; text-align: center; }

/* ── появление ─────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in, .shot .rv, .calm .rv { opacity: 1; transform: none; }

/* логотип с дескриптором широкий: разделы шапки уходят в «Меню», пока между ними и логотипом нет ~50 px */
@media (max-width: 1439px) { .nav-in { display: none; } }
@media (max-width: 860px) {
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; --pad: 16px; }
  .brand { height: 48px; padding: 0 14px; margin-left: -6px; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-t { gap: 5px; }
  .brand-name { width: 138px; height: 18.6px; }
  .brand-d { font-size: 9px; letter-spacing: 0.04em; }
  .brand-c, .chapter, .hdr .cta { display: none; }
  .menu-btn { height: 48px; }
  .menu { justify-content: flex-start; gap: 26px; padding-top: calc(var(--hdr) + 16px); }
  .menu-cols { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .menu-g:first-child { grid-column: 1 / -1; }
  .menu-g a { font-size: 20px; }
  .menu-foot .cta { margin-left: 0; width: 100%; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .modal { padding: 0; align-items: end; }
  .modal-card { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 94vh; }
  .modal-side { padding: 24px 22px 20px; gap: 8px; }
  .modal-big { font-size: 22px; }
  .modal-list, .modal-contact, .modal-mark { display: none; }
  .modal-main { padding: 22px 20px 26px; }
  .modal-title { font-size: 24px; }
  .ftr { margin-top: 70px; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr-warn { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .js .rv { transition: opacity .6s linear; transform: none; } }
