/* The Pleinair Studio — русская версия. Стиль: космос + жидкое стекло, как в логотипе и макетах 404. */

@font-face { font-family: Montserrat; src: url(../fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Montserrat; src: url(../fonts/montserrat-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: Manrope; src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(../fonts/manrope-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215; }

:root {
  --void: #02041a;
  --deep: #030722;
  --navy: #071047;
  --cobalt: #1f3cff;
  --electric: #3f6bff;
  --ice: #b8ccff;
  --violet: #8b6dff;
  --text: #eef1ff;
  --muted: #a3aed8;
  --dim: #6f7aa8;
  --line: rgba(150, 172, 255, .22);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 55%, rgba(120, 150, 255, .05));
  --glass-solid: rgba(10, 18, 70, .68); /* плотнее, т.к. у карточек больше нет backdrop-filter */
  --r: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --display: Montserrat, ui-sans-serif, system-ui, sans-serif;
  --body: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--deep); color: var(--text);
  font: 400 16px/1.6 var(--body); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(63, 107, 255, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 99px; background: var(--cobalt); transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* ---------- Типографика ---------- */
.eyebrow { font: 600 12px/1.4 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--ice); opacity: .85; margin-bottom: 18px; }
.h1, .h2, .hero__title { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.h1 { font-size: clamp(48px, 9vw, 132px); }
.h2 { font-size: clamp(34px, 4.8vw, 68px); }
.h3 { font: 500 clamp(24px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -.02em; }
.h1, .h2 {
  background: linear-gradient(180deg, #fff 30%, #c4d2ff 75%, #8fa6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--text); }
.split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Космос ---------- */
.space { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(31, 60, 255, .55), transparent 60%),
    radial-gradient(60% 50% at 85% 10%, rgba(40, 70, 230, .25), transparent 70%),
    radial-gradient(50% 40% at 0% 40%, rgba(110, 80, 255, .12), transparent 70%),
    linear-gradient(180deg, var(--void), var(--deep) 40%, #04093a);
}
.space__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.space__nebula { position: absolute; inset: -20%; opacity: .5;
  background: radial-gradient(30% 25% at 70% 60%, rgba(63, 107, 255, .18), transparent 70%), radial-gradient(25% 20% at 20% 80%, rgba(139, 109, 255, .12), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

/* ---------- Стекло ---------- */
.glass {
  position: relative; border-radius: var(--r);
  background: var(--glass), var(--glass-solid);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -20px 40px -30px rgba(63, 107, 255, .5), 0 20px 50px -30px rgba(0, 0, 0, .8);
}

/* Кнопки-пилюли — как «BACK TO HOME» на макете 404 */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px; border-radius: 99px;
  font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid rgba(170, 190, 255, .45);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)), rgba(12, 22, 90, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -10px 20px -12px rgba(120, 150, 255, .7), 0 10px 30px -10px rgba(31, 60, 255, .6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden; isolation: isolate;
}
.btn::after { /* светящаяся нижняя кромка */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #9fb6ff, #fff, #9fb6ff, transparent); filter: blur(.5px); opacity: .9;
}
.btn::before { /* блик при наведении */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: rgba(200, 215, 255, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -10px 24px -10px rgba(140, 170, 255, .9), 0 16px 40px -10px rgba(63, 107, 255, .8); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--glow { background: linear-gradient(180deg, rgba(120, 150, 255, .5), rgba(31, 60, 255, .35)), rgba(20, 40, 170, .6); border-color: rgba(190, 205, 255, .7); }
.btn--ghost { --h: 52px; }

.pill {
  display: inline-flex; align-items: center; gap: 18px; height: 50px; padding: 0 24px 0 28px; border-radius: 99px;
  font: 700 12px/1 var(--body); letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid rgba(170, 190, 255, .4);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)), rgba(8, 16, 70, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 26px -12px rgba(31, 60, 255, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .3s, box-shadow .3s;
}
.pill:hover { border-color: rgba(210, 222, 255, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 30px -10px rgba(63, 107, 255, .9); }
.pill i { position: relative; width: 26px; height: 8px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.pill i::after { content: ""; position: absolute; right: 0; top: 50%; }
.pill i.x { height: 14px; border: 0; }
.pill i.x::before, .pill i.x::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.pill i.x::after { transform: rotate(-45deg); }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font: 700 10px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--cobalt), var(--violet)); box-shadow: 0 0 18px rgba(63, 107, 255, .6); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad); mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 99px;
  font: 600 14px/1 var(--body); color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  transition: color .25s, background .25s, border-color .25s, box-shadow .25s;
}
.chip sup { font-size: 10px; opacity: .6; }
.chip:hover { color: var(--text); border-color: rgba(170, 190, 255, .5); }
.chip.is-on { color: #fff; border-color: rgba(190, 205, 255, .8); background: linear-gradient(180deg, rgba(90, 120, 255, .5), rgba(31, 60, 255, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 20px -8px rgba(63, 107, 255, .9); }

/* ---------- Шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--pad);
  transition: background .4s, height .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { height: 70px; background: rgba(3, 7, 34, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-color: rgba(150, 172, 255, .12); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(63, 107, 255, .7)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__word { display: grid; font-family: var(--display); line-height: 1; color: #fff; }
.brand__the { font-size: 12px; font-weight: 500; margin-bottom: -2px; }
.brand__name { font-size: 27px; font-weight: 500; letter-spacing: -.03em; }
.brand__studio { justify-self: end; font-size: 8px; font-weight: 500; letter-spacing: .14em; margin-top: 1px; }
.top__nav { display: flex; gap: 6px; padding: 6px; border-radius: 99px; border: 1px solid rgba(150, 172, 255, .14); background: rgba(8, 14, 60, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top__nav a { padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.top__nav a:hover, .top__nav a.is-active { color: #fff; background: rgba(120, 150, 255, .16); }
.top__right { display: flex; align-items: center; gap: 12px; }
.top__lang { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font: 700 12px/1 var(--body); letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); transition: color .25s, border-color .25s; }
.top__lang:hover { color: #fff; border-color: rgba(200, 215, 255, .7); }

/* ---------- Полноэкранное меню ---------- */
.menu { position: fixed; inset: 0; z-index: 75; /* above the cookie bar (70), so its links never cover the menu */ display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--pad) 28px; }
.menu__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 70% 100%, rgba(31, 60, 255, .5), transparent 70%), rgba(2, 4, 26, .82); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); }
.menu__close { justify-self: end; margin-top: 16px; }
.menu__nav { align-self: center; display: grid; gap: 2px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; width: fit-content; font: 500 clamp(38px, 7.5vw, 92px)/1.08 var(--display); letter-spacing: -.035em; color: var(--text); transition: color .3s, transform .4s var(--ease); }
.menu__nav a small { font: 600 13px/1 var(--body); letter-spacing: .2em; color: var(--ice); opacity: .7; }
.menu__nav a:hover { color: var(--ice); transform: translateX(10px); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; color: var(--muted); }
.menu__foot a:hover { color: #fff; }

/* ---------- Герой ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2vw;
  padding: 110px var(--pad) 90px; max-width: 1600px; margin: 0 auto;
}
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero__title { font-size: clamp(40px, 5.2vw, 86px); font-weight: 400; margin-bottom: 28px; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; font-weight: 600; background: linear-gradient(95deg, #fff 10%, #a9bdff 45%, #6d8bff 70%, #b39dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .line:not(:has(em)) { color: #fff; }
.hero__lead { max-width: 540px; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--dim); }
.hero__art { position: relative; z-index: 1; aspect-ratio: 1; width: min(100%, 680px); justify-self: center; display: grid; place-items: center; }
.hero__mark { position: relative; width: 78%; height: auto; filter: drop-shadow(0 0 40px rgba(63, 107, 255, .55)) drop-shadow(0 0 120px rgba(63, 107, 255, .35)); animation: float 9s ease-in-out infinite; will-change: transform; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hero__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 107, 255, .55), rgba(63, 107, 255, .12) 55%, transparent); animation: pulse 6s ease-in-out infinite; } /* без filter: blur — градиент и так мягкий, а размытие пересчитывалось в каждом кадре пульсации */
@keyframes pulse { 50% { opacity: .65; transform: scale(.92); } }
.orbit { position: absolute; inset: -14%; width: 128%; height: 128%; overflow: visible; }
.orbit__ring { filter: drop-shadow(0 0 6px rgba(150, 180, 255, .8)); }
.hero__meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 70% 78%, rgba(130, 160, 255, .45), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(30, 40, 120, .2), rgba(20, 30, 110, .65) 70%, rgba(150, 170, 255, .55) 100%);
  box-shadow: inset -10px -14px 30px rgba(0, 0, 30, .55), inset 6px 8px 20px rgba(255, 255, 255, .12), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.b1 { width: clamp(90px, 13vw, 190px); aspect-ratio: 1; left: 3%; top: 15%; }
.b2 { width: clamp(50px, 7vw, 110px); aspect-ratio: 1; right: 6%; top: 18%; filter: blur(1px); opacity: .85; }
.b3 { width: clamp(44px, 5vw, 86px); aspect-ratio: 1; left: 22%; bottom: 9%; }
.b4 { width: clamp(26px, 3vw, 44px); aspect-ratio: 1; left: 47%; top: 12%; filter: blur(2px); opacity: .6; }
.molecule { position: absolute; left: 4%; bottom: 16%; width: 34px; height: 34px; animation: spin 18s linear infinite; }
.molecule i { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9cfe6 45%, #6c7393); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.molecule i:nth-child(1) { left: 9px; top: 0; } .molecule i:nth-child(2) { left: 0; top: 10px; } .molecule i:nth-child(3) { left: 18px; top: 11px; } .molecule i:nth-child(4) { left: 9px; top: 19px; }
@keyframes spin { to { transform: rotate(360deg); } }
.planet { position: absolute; right: -14vw; bottom: -32vw; width: 46vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(190, 205, 255, .55), rgba(70, 100, 230, .4) 30%, rgba(20, 40, 150, .5) 60%, rgba(5, 10, 60, .9));
  box-shadow: inset 20px 20px 60px rgba(255, 255, 255, .15), 0 0 80px rgba(63, 107, 255, .35); filter: blur(1.5px); opacity: .75; }

/* ---------- Бегущая строка ---------- */
.marquee { display: flex; overflow: hidden; border-block: 1px solid rgba(150, 172, 255, .14); background: linear-gradient(90deg, rgba(31, 60, 255, .12), rgba(139, 109, 255, .08), rgba(31, 60, 255, .12)); }
.marquee__row { flex: none; display: flex; align-items: center; gap: 34px; padding: 22px 17px; animation: marquee 38s linear infinite; }
.marquee__row span { font: 500 clamp(18px, 2vw, 26px)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; color: #dfe6ff; }
.marquee__row i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #7f9cff 60%, #2a3a9a); box-shadow: 0 0 12px #6d8bff; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Секции ---------- */
section.wrap { padding-block: clamp(90px, 12vw, 170px) 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; margin-bottom: 44px; }
.sec-head__text { color: var(--muted); max-width: 520px; font-size: 17px; }

/* Студия */
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); margin-top: 50px; }
.studio__text { display: grid; gap: 18px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.facts li { padding: 28px 26px; display: grid; gap: 10px; }
.facts strong { font: 300 clamp(54px, 6vw, 84px)/.9 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #7f9cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 15px; }

/* Работы */
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.work { display: grid; gap: 22px; align-content: start; }
.work--feature { grid-column: 1 / -1; grid-template-columns: 1.55fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); }
.work--feature .work__meta h3 { font-size: clamp(30px, 3.4vw, 48px); }
.work__shot { display: block; overflow: hidden; padding: 0 8px 8px; border-radius: 20px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.work__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px; }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(170, 190, 255, .35); }
.work__bar b { margin-left: 10px; font: 600 11px/1 var(--body); letter-spacing: .04em; color: var(--dim); }
.work__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; transition: transform 1.2s var(--ease), filter .6s; }
.work__open { position: absolute; right: 22px; bottom: 22px; padding: 12px 18px; border-radius: 99px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; background: rgba(8, 16, 70, .75); border: 1px solid rgba(190, 205, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.work__shot:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 70px -30px rgba(63, 107, 255, .9); }
.work__shot:hover img { transform: scale(1.035); }
.work__shot:hover .work__open, .work__shot:focus-visible .work__open { opacity: 1; transform: none; }
.work__meta { display: grid; gap: 8px; padding-inline: 6px; }
.work__meta h3 { font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.02em; }
.work__cat { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ice); }
.lang { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; }
.work__meta > p:not(.work__cat) { color: var(--muted); font-size: 15px; max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(120, 150, 255, .08); border: 1px solid rgba(150, 172, 255, .14); }

/* Услуги */
.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 28px 26px 24px; min-height: 260px; }
.svc:hover { transform: translateY(-4px); border-color: rgba(190, 205, 255, .5); }
.svc header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc h3 { font: 600 21px/1.2 var(--display); letter-spacing: -.015em; }
.svc p { color: var(--muted); font-size: 15px; }
.svc footer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(150, 172, 255, .14); }
.svc__price { font: 600 24px/1 var(--display); letter-spacing: -.02em; color: #fff; }
.svc__price small, .bundle__price small { font-size: .6em; font-weight: 500; color: var(--muted); margin-left: 2px; }
.svc__term { font-size: 13px; color: var(--dim); }
.svc--top { background: linear-gradient(160deg, rgba(90, 120, 255, .22), rgba(255, 255, 255, .02) 60%), var(--glass-solid); }

.bundles__title { margin: 90px 0 26px; }
.bundles__title span { color: var(--dim); font-size: .6em; letter-spacing: 0; }
.bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bundle { display: flex; flex-direction: column; gap: 14px; padding: 34px 30px 30px; overflow: hidden; }
.bundle .eyebrow { margin: 0; font-size: 11px; }
.bundle h3 { font: 500 40px/1 var(--display); letter-spacing: -.03em; }
.bundle__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bundle__price strong { font: 600 32px/1 var(--display); letter-spacing: -.02em; }
.bundle__price s { color: var(--dim); font-size: 15px; }
.bundle__price .from { font-size: .5em; margin: 0 6px 0 0; color: var(--muted); }
.bundle ul { display: grid; gap: 10px; align-content: start; margin: 8px 0; flex: 1; }
.bundle li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.bundle li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #7f9cff 60%, #2a3a9a); box-shadow: 0 0 10px #6d8bff; }
.bundle__term { font-size: 13px; color: var(--dim); }
.bundle .btn { margin-top: 6px; }
.bundle .badge { position: absolute; top: 20px; right: 20px; }
.bundle--hot .eyebrow { padding-right: 120px; }
.bundle--hot { border-color: transparent; background: linear-gradient(160deg, rgba(90, 120, 255, .3), rgba(255, 255, 255, .02) 60%), var(--glass-solid); }
.bundle__ring { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 55%, #7f9cff 70%, #fff 75%, #b39dff 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 5s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --a: 360deg; } }

/* Калькулятор */
.calc__box { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc fieldset { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.calc legend { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 600 14px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.calc legend b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); letter-spacing: 0; color: #fff; }
.calc__bases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { display: grid; gap: 8px; padding: 22px; cursor: pointer; transition: border-color .3s, box-shadow .3s, background .3s; }
.opt input, .tog input, .budget input { position: absolute; opacity: 0; pointer-events: none; }
.opt__name { font: 600 19px/1.2 var(--display); }
.opt__price { color: var(--muted); font-size: 14px; }
.opt:has(input:checked) { border-color: rgba(200, 215, 255, .85); background: linear-gradient(160deg, rgba(90, 120, 255, .35), rgba(31, 60, 255, .1)), var(--glass-solid); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 40px -16px rgba(63, 107, 255, .9); }
.opt:has(input:focus-visible), .tog:has(input:focus-visible), .budget label:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.calc__addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tog { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 48px; border-radius: 16px; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s; }
.tog::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 1.5px solid rgba(170, 190, 255, .6); transition: background .25s, border-color .25s; }
.tog::after { content: ""; position: absolute; left: 23px; top: 50%; width: 6px; height: 11px; margin-top: -7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.tog span { font-size: 15px; font-weight: 600; }
.tog em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tog:hover { border-color: rgba(190, 205, 255, .5); }
.tog:has(input:checked) { border-color: rgba(190, 205, 255, .7); background: rgba(63, 107, 255, .18); }
.tog:has(input:checked)::before { background: var(--electric); border-color: var(--electric); }
.tog:has(input:checked)::after { transform: rotate(45deg) scale(1); }
.calc__sum { position: sticky; top: 96px; padding: 30px; display: grid; gap: 16px; }
.calc__sum .eyebrow { margin: 0; }
.calc__total { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); color: var(--muted); }
.calc__total strong { font-size: clamp(44px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.calc__weeks { color: var(--muted); }
.calc__weeks b { color: #fff; }
.calc__list { display: grid; gap: 8px; padding: 16px 0; border-block: 1px solid rgba(150, 172, 255, .14); font-size: 14px; color: var(--muted); }
.calc__list li { display: flex; justify-content: space-between; gap: 12px; }
.calc__list li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.calc__send { display: grid; gap: 10px; }
.calc__alt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc__alt .btn { padding: 0 12px; }
.calc__fine { font-size: 12px; color: var(--dim); }

/* Процесс */
.process__track { position: relative; margin-top: 60px; }
.process__line { position: absolute; left: 9px; right: 0; top: 0; width: calc(100% - 9px); height: 18px; overflow: visible; }
.process__line path { fill: none; stroke: rgba(160, 185, 255, .7); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(120, 150, 255, .9)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
.step { display: grid; gap: 10px; align-content: start; }
.step__dot { width: 18px; height: 18px; border-radius: 50%; margin-bottom: 14px; background: radial-gradient(circle at 35% 30%, #fff, #8ea6ff 55%, #2a3a9a); box-shadow: 0 0 0 6px rgba(63, 107, 255, .15), 0 0 24px #6d8bff; }
.step__n { font: 300 54px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(184, 204, 255, .6); }
.step h3 { font: 600 22px/1.2 var(--display); }
.step__d { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.step p:last-child { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font: 600 18px/1.35 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.qa summary span::before, .qa summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; background: currentColor; }
.qa summary span::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] summary span { background: rgba(63, 107, 255, .35); }
.qa[open] summary span::after { transform: rotate(0); }
.qa div { padding: 0 24px 22px; color: var(--muted); }

/* Контакты */
.contact { position: relative; }
.contact__glow { position: absolute; left: 50%; top: 40%; width: 80vw; height: 50vw; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(31, 60, 255, .35), transparent); pointer-events: none; z-index: -1; }
.contact .h1 { margin-bottom: 50px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 4vw, 50px); align-items: start; }
.contact__ways { display: grid; gap: 12px; }
.way { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 26px; transition: transform .45s var(--ease), border-color .45s; }
.way span { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); }
.way b { grid-column: 1; font: 500 clamp(19px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.way i { grid-row: 1 / 3; grid-column: 2; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-style: normal; transition: background .3s, transform .45s var(--ease); }
.way:hover { transform: translateX(6px); border-color: rgba(190, 205, 255, .55); }
.way:hover i { background: var(--electric); transform: rotate(45deg); }
.contact__hint { padding: 6px 4px 0; font-size: 14px; color: var(--dim); }
.brief { padding: clamp(24px, 3vw, 38px); display: grid; gap: 18px; }
.brief h3 { font: 500 26px/1.15 var(--display); letter-spacing: -.02em; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(2, 4, 26, .45); font-size: 16px; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: rgba(190, 205, 255, .8); box-shadow: 0 0 0 4px rgba(63, 107, 255, .25); }
.field textarea::placeholder { color: var(--dim); }
.field .is-bad { border-color: #ff7a9a; }
.budget { display: flex; flex-wrap: wrap; gap: 8px; }
.budget label { position: relative; }
.budget span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .25s; }
.budget input:checked + span { color: #fff; border-color: rgba(190, 205, 255, .8); background: rgba(63, 107, 255, .35); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--electric); }
.consent a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.brief__send { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.brief__send .btn { padding: 0 12px; }
.brief__send .btn:first-child { grid-column: 1 / -1; }
.brief__fine { font-size: 12px; color: var(--dim); }
.brief__err { color: #ffb3c4; font-size: 14px; }

/* Подвал */
.foot { padding: clamp(90px, 12vw, 160px) 0 30px; }
.foot__logo { width: min(100%, 560px); height: auto; margin-bottom: 50px; opacity: .95; }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 20px clamp(40px, 8vw, 120px); padding-bottom: 50px; border-bottom: 1px solid rgba(150, 172, 255, .14); }
.foot__cols nav { display: grid; gap: 10px; align-content: start; }
.foot__cols a { color: var(--muted); font-weight: 600; transition: color .25s; }
.foot__cols a:hover, .foot__btn:hover { color: #fff; }
.foot__btn { justify-self: start; color: var(--muted); font-weight: 600; transition: color .25s; }
.foot__copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font: 600 11px/1.4 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 99px; font-weight: 600; font-size: 14px; background: rgba(12, 22, 90, .9); border: 1px solid rgba(190, 205, 255, .5); box-shadow: 0 12px 40px -10px rgba(63, 107, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Появления: свойство translate (не transform), чтобы не спорить с эффектами наведения.
   JS добавляет .rv элементам и .in, когда они попадают в экран; без JS всё видно. */
.rv { opacity: 0; translate: 0 34px; transition: opacity .9s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s), transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.rv.in { opacity: 1; translate: 0 0; }

/* Нижние секции главной браузер раскладывает, только когда они подходят к экрану: первая раскладка всей страницы
   на телефоне занимала ~0,4 с. Перед переходом по якорю JS ставит .cv-all, чтобы позиция цели была точной. */
main > :is(#services, #calc, #work, #ready, #faq, #contact) { content-visibility: auto; contain-intrinsic-size: auto 1400px; }
.cv-all main > :is(#services, #calc, #work, #ready, #faq, #contact) { content-visibility: visible; }

/* ---------- Экран загрузки ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(70% 50% at 50% 60%, rgba(31, 60, 255, .35), transparent 70%), var(--void);
  --r: 0px;
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent var(--r), #000 calc(var(--r) + 2px));
  mask: radial-gradient(circle at 50% 46%, transparent var(--r), #000 calc(var(--r) + 2px));
  animation: loaderFailsafe .6s 4s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader.is-done, .no-intro .loader { display: none; }
.loader__core { position: relative; width: min(46vw, 230px); aspect-ratio: 1; display: grid; place-items: center; }
.loader__mark { width: 70%; height: auto; filter: drop-shadow(0 0 30px rgba(63, 107, 255, .8)); animation: loaderBreath 2.4s ease-in-out infinite; }
@keyframes loaderBreath { 50% { transform: scale(1.05); filter: drop-shadow(0 0 50px rgba(110, 140, 255, 1)); } }
.loader__orbit { position: absolute; inset: -20%; width: 140%; height: 140%; overflow: visible; }
.loader__ring { stroke: rgba(180, 200, 255, .55); stroke-width: 1.2; stroke-dasharray: 700; stroke-dashoffset: 700; animation: loaderDraw 1.4s .1s var(--ease) forwards; filter: drop-shadow(0 0 4px #7f9cff); }
@keyframes loaderDraw { to { stroke-dashoffset: 0; } }
.loader__moon { fill: #fff; filter: drop-shadow(0 0 6px #9fb6ff); }
.loader__count { font: 300 clamp(40px, 6vw, 64px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #fff; margin-top: 10px; }
.loader__count small { font-size: .45em; color: var(--ice); margin-left: 4px; }
.loader__word { font: 600 11px/1 var(--body); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); padding-left: .5em; }
.loader__bar { width: min(60vw, 240px); height: 2px; border-radius: 2px; background: rgba(150, 172, 255, .18); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, #3f6bff, #fff); box-shadow: 0 0 10px #7f9cff; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 70; width: min(100% - 32px, 760px); translate: -50% 0;
  display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding: 20px 22px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(90, 120, 255, .25), rgba(255, 255, 255, .03) 60%), rgba(6, 12, 52, .88);
  animation: cookieIn .8s var(--ease) both; }
@keyframes cookieIn { from { opacity: 0; translate: -50% 30px; } }
.cookie.is-out { opacity: 0; translate: -50% 30px; transition: opacity .4s, translate .4s; }
.cookie__icon { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8ea6ff 40%, #2a3a9a); box-shadow: 0 0 18px #6d8bff, inset -4px -5px 8px rgba(0, 0, 40, .5); position: relative; }
.cookie__icon::after { content: ""; position: absolute; inset: 14px -8px; border-radius: 50%; border: 1.5px solid rgba(220, 230, 255, .8); transform: rotate(-16deg); }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie .btn { --h: 46px; padding: 0 22px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundles { grid-template-columns: 1fr; max-width: 640px; }
  .calc__box { grid-template-columns: 1fr; }
  .calc__sum { position: relative; top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .process__line { display: none; }
  .steps { padding-top: 0; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 96px; text-align: left; }
  .hero__art { order: -1; width: min(82vw, 440px); margin-bottom: -10px; }
  .hero__meta { display: none; }
  .sec-head, .studio__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .sec-head { gap: 18px; }
  .works__grid { grid-template-columns: 1fr; }
  .work--feature { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .planet { width: 80vw; right: -30vw; bottom: -40vw; }
}
@media (max-width: 600px) {
  .top { height: 72px; }
  .brand__mark { width: 38px; }
  .brand__name { font-size: 23px; }
  .top__lang { display: none; }
  .pill { height: 44px; padding: 0 18px 0 20px; gap: 12px; letter-spacing: .2em; }
  .svc__grid, .calc__bases, .calc__addons { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .btn { padding: 0 20px; letter-spacing: .12em; }
  .brief__send { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols nav:last-child { grid-column: 1 / -1; }
  .way b { font-size: 17px; overflow-wrap: normal; }
  .way { padding: 18px 20px; }
  .cookie { grid-template-columns: 1fr; bottom: 12px; padding: 18px; }
  .cookie__icon { display: none; }
  .cookie .btn { flex: 1 1 auto; }
  .work__open { opacity: 1; transform: none; right: 16px; bottom: 16px; padding: 10px 14px; font-size: 11px; }
  .b1 { left: -8%; top: 10%; } .b3, .molecule { display: none; }
  .facts li { grid-template-columns: 64px 1fr; align-items: center; padding: 18px 20px; }
  .facts strong { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; translate: none; }
  .loader { display: none; }
}
.work.rv { transition: opacity .9s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s); }

/* ---------- Выбор почтового сервиса ---------- */
.mailpick { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.mailpick__bg { position: absolute; inset: 0; background: rgba(2, 4, 26, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: mpFade .3s both; }
.mailpick__box { position: relative; width: min(100%, 420px); padding: 28px 24px 22px; border-radius: 26px; background: linear-gradient(160deg, rgba(90, 120, 255, .28), rgba(255, 255, 255, .03) 60%), rgba(6, 12, 52, .94); animation: mpIn .45s var(--ease) both; }
@keyframes mpFade { from { opacity: 0; } }
@keyframes mpIn { from { opacity: 0; translate: 0 20px; scale: .97; } }
.mailpick .eyebrow { margin-bottom: 6px; }
.mailpick__to { font: 500 19px/1.3 var(--display); margin-bottom: 18px; overflow-wrap: anywhere; }
.mailpick__list { display: grid; gap: 8px; }
.mailpick__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 16px; font-weight: 600; text-align: left; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s, translate .3s var(--ease); }
.mailpick__opt:hover, .mailpick__opt:focus-visible { border-color: rgba(190, 205, 255, .7); background: rgba(63, 107, 255, .2); translate: 4px 0; }
.mp-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; font: 700 16px/1 var(--body); color: #fff; background: rgba(120, 150, 255, .25); }
.mp-ic--gmail { background: linear-gradient(135deg, #ea4335, #fbbc05 60%, #34a853); }
.mp-ic--ya { background: #fc3f1d; }
.mp-ic--mr { background: #005ff9; }
.mailpick__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; line-height: 1; color: var(--muted); transition: color .25s, border-color .25s; }
.mailpick__close:hover { color: #fff; border-color: rgba(200, 215, 255, .7); }
@media (max-width: 600px) { .mailpick { place-items: end center; padding: 0; } .mailpick__box { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); } }

/* ---------- Кнопки мессенджеров ---------- */
.msgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; border-radius: 22px; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.msg b { font: 600 20px/1 var(--display); letter-spacing: -.01em; }
.msg i { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-style: normal; font-size: 13px; transition: background .3s, transform .45s var(--ease); }
.msg:hover { transform: translateY(-4px); border-color: rgba(190, 205, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 50px -20px rgba(63, 107, 255, .9); }
.msg:hover i { background: var(--electric); transform: rotate(45deg); }
.msg__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; font: 800 22px/1 var(--display); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -6px rgba(0, 0, 0, .6); }
.msg__ic svg { width: 26px; height: 26px; fill: currentColor; }
.msg__ic--tg { background: linear-gradient(160deg, #37bbfe, #1e96c8); }
.msg__ic--wa { background: linear-gradient(160deg, #4fe07f, #1fae54); }
.msg__ic--max { background: linear-gradient(135deg, #3f8cff, #7a3cff 70%, #b14dff); }
@media (max-width: 600px) {
  .msgs { grid-template-columns: 1fr; gap: 10px; }
  .msg { flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px; }
  .msg__ic { width: 42px; height: 42px; }
  .msg i { position: static; margin-left: auto; }
}

/* Главная кнопка MAX и подписи */
.msg--main { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 12px; border-color: rgba(190, 205, 255, .55);
  background: linear-gradient(120deg, rgba(110, 70, 255, .45), rgba(63, 107, 255, .35) 55%, rgba(255, 255, 255, .03)), var(--glass-solid); }
.msg--main .msg__ic { width: 54px; height: 54px; font-size: 26px; }
.msg__txt { display: grid; gap: 4px; }
.msg--main b { font-size: 22px; }
.msg__txt small { font-size: 13px; color: var(--ice); }
.msg--main i { position: static; margin-left: auto; width: 40px; height: 40px; }
.msg__ic--mail { background: linear-gradient(160deg, #ffcc4d, #ff7a1a); }
.contact__hint a, .price-note a, .foot__legal a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.price-note { margin-top: 22px; max-width: 900px; font-size: 13px; color: var(--dim); }
.foot__legal { padding-top: 12px; font-size: 12px; color: var(--dim); }
@media (max-width: 600px) { .msg--main { padding: 16px 18px; } .msg--main .msg__ic { width: 46px; height: 46px; } .msg--main b { font-size: 19px; } }
