/* ==========================================================================
   MODZI — лендинг
   ========================================================================== */

:root {
  --bg: #fbf8f3;
  --ink: #3a2e2c;
  --muted: #6f605c;
  --sand: #f3ece2;
  --coral: #ff8686;
  --coral-soft: #ffe3da;
  --coral-deep: #c9474d;
  --coral-dark: #a8353b;
  --cream: #fbf6e9;
  --line: #e2d6c6;
  --white: #ffffff;

  --f-display: 'Unbounded', 'Noto Sans Georgian', sans-serif;
  --f-body: 'Manrope', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);        /* мягкий выход */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* лёгкий пружинный */
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: 120px;
  --sec-pad: 96px;
  --header-h: 88px;
}

@media (max-width: 1439px) { :root { --gutter: clamp(40px, 8.33vw, 120px); } }
@media (max-width: 767px)  { :root { --gutter: 20px; --sec-pad: 56px; --header-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  isolation: isolate;
}
img { display: block; max-width: 100%; }
a { color: var(--coral-deep); text-decoration: none; transition: color .25s; }
a:hover { color: var(--coral-dark); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 2px; }
::selection { background: var(--coral); color: var(--ink); }
section[id] { scroll-margin-top: calc(var(--header-h) - 8px); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.h1, .h2, .h3 { font-family: var(--f-display); font-weight: 300; margin: 0; line-height: 1.15; text-wrap: balance; }
.h1 { font-size: 64px; line-height: 1.08; }
.h2 { font-size: 44px; }
.h3 { font-size: 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-deep); }
.eyebrow-light { color: #ff9a9a; }

.show-sm { display: none; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--coral), var(--coral-deep)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 0 3px 3px 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 28px; border: 0;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s;
  will-change: transform;
}
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px) rotate(-8deg); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn-sm { height: 48px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { color: var(--cream); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(58, 46, 44, .6); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 14px 28px -12px rgba(255, 110, 110, .8); }
.btn-coral:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 22px 36px -14px rgba(255, 110, 110, .95); }

/* блик по кнопке */
.shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.shine:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
.hero .shine::after { animation: shine 5s 2.2s var(--ease-io) infinite; }
@keyframes shine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* ---------- language switcher ---------- */
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 22px; background: var(--sand); }
.lang button { height: 36px; min-width: 46px; border: 0; border-radius: 18px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang-dark { background: rgba(251, 246, 233, .1); }
.lang-dark button { color: #d9cdc8; }
.lang-dark button:hover { color: var(--cream); }
.lang-dark button[aria-pressed="true"] { background: var(--coral); color: var(--ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 243, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(226, 214, 198, .7), 0 12px 30px -24px rgba(58, 46, 44, .35);
  opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-scrolled::before { opacity: 1; }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s var(--ease); }
.header.is-scrolled .header-in { height: calc(var(--header-h) - 16px); }
.logo img { width: 120px; height: 61px; object-fit: contain; object-position: left center; transition: transform .4s var(--ease); }
.header.is-scrolled .logo img { transform: scale(.86); transform-origin: left center; }

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; height: 44px; padding: 0 16px; border-radius: 22px;
  display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .3s, color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--coral-deep); transform: scale(0); transition: transform .4s var(--ease-spring);
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a.is-active::after { transform: scale(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 24px; background: var(--sand); transition: background-color .3s; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.burger[aria-expanded="true"] { background: var(--ink); }
.burger[aria-expanded="true"] span { background: var(--cream); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

.mnav {
  position: absolute; top: calc(100% - 4px); left: 12px; right: 12px;
  padding: 10px; border-radius: 28px; background: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(58, 46, 44, .7);
  transform-origin: top right;
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.96);
  transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s; }
.mnav a {
  height: 52px; padding: 0 16px; border-radius: 26px; color: var(--cream);
  display: flex; align-items: center; font-size: 16px; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background-color .25s;
}
.mnav a:hover { color: var(--cream); background: rgba(251, 246, 233, .08); }
.mnav.is-open a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .25s; }
.mnav.is-open a:nth-child(1) { transition-delay: .05s; }
.mnav.is-open a:nth-child(2) { transition-delay: .09s; }
.mnav.is-open a:nth-child(3) { transition-delay: .13s; }
.mnav.is-open a:nth-child(4) { transition-delay: .17s; }
.mnav.is-open a:nth-child(5) { transition-delay: .21s; }
.mnav-lang { padding: 8px 6px 4px; }
.mnav-lang .lang { display: inline-flex; }

/* ==========================================================================
   BLOBS
   ========================================================================== */
/* секции с пятнами обрезаем по горизонтали, иначе на телефоне появится боковой скролл */
.hero, #prices { overflow-x: hidden; overflow-x: clip; overflow-y: visible; }
@supports not (overflow: clip) { .hero, #prices { overflow: hidden; } }
.blob { position: absolute; z-index: -1; pointer-events: none; will-change: transform; }
.blob i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--coral); filter: blur(100px); animation: drift 18s ease-in-out infinite alternate; }
.blob-hero { top: -28px; right: 80px; width: 560px; height: 560px; }
.blob-hero i { opacity: .2; }
.blob-prices { top: -40px; left: -160px; width: 480px; height: 480px; }
.blob-prices i { opacity: .12; animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-40px, 30px) scale(1.08); }
  66%  { transform: translate(25px, 55px) scale(.94); }
  100% { transform: translate(-15px, -20px) scale(1.04); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; }
.hero-in { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.chip { align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--sand); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.chip .ico { width: 18px; height: 18px; }
.lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; }
.hero-note { font-size: 13px; color: var(--muted); text-align: center; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-in, .phone-tilt, .phone-float { will-change: transform; }
.phone-tilt { transition: transform .8s var(--ease); transform-style: preserve-3d; }
.phone-float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-.6deg); } }

.phone {
  width: 320px; padding: 18px 16px 22px; border-radius: 46px;
  background: var(--bg); border: 10px solid var(--ink);
  box-shadow: 0 40px 80px -40px rgba(58, 46, 44, .55);
  display: flex; flex-direction: column; gap: 14px;
}
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-hello { display: flex; flex-direction: column; gap: 2px; }
.ph-hello span { font-size: 11px; color: var(--muted); }
.ph-hello b { font-family: var(--f-display); font-size: 18px; font-weight: 300; }
.ph-city { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--sand); display: flex; align-items: center; font-size: 11px; font-weight: 500; }
.ph-balance { padding: 16px; border-radius: 24px; background: var(--coral); display: flex; justify-content: space-between; align-items: flex-end; }
.ph-balance > div { display: flex; flex-direction: column; gap: 4px; }
.ph-lbl { font-size: 11px; font-weight: 500; }
.ph-num { font-family: var(--f-display); font-size: 28px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.ph-num small { font-family: var(--f-body); font-size: 12px; font-weight: 500; }
.ph-topup { flex-shrink: 0; white-space: nowrap; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--ink); color: var(--cream); display: flex; align-items: center; font-size: 11px; font-weight: 500; }
.ph-booking { padding: 14px; border-radius: 22px; background: var(--sand); display: flex; flex-direction: column; gap: 10px; }
.ph-next { font-size: 11px; font-weight: 500; color: var(--coral-dark); }
.ph-title { font-size: 14px; font-weight: 500; }
.ph-sub { font-size: 11px; color: var(--muted); }
.ph-row { padding: 8px 12px 8px 8px; border-radius: 22px; background: var(--sand); display: flex; gap: 10px; align-items: center; }
.ph-row > div { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.ph-row b { font-size: 13px; font-weight: 500; }
.ph-thumb { width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0; }
.ph-time { font-size: 10px; color: var(--muted); }
.ph-price { font-family: var(--f-display); font-size: 11px; padding: 6px 8px; border-radius: 12px; background: var(--bg); }

.hero-people { position: absolute; left: -10px; bottom: -30px; width: 200px; height: 120px; object-fit: contain; animation: bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ---------- code digits ---------- */
.code { display: flex; gap: 6px; }
.code span {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); box-shadow: 0 14px 26px -18px rgba(201, 71, 77, .6);
  font-family: var(--f-display); font-weight: 300;
}
.code span:last-child { background: var(--coral); }
.code-sm span { width: 40px; height: 52px; border-radius: 13px; font-size: 20px; }
.code-md span { width: 44px; height: 57px; border-radius: 14px; font-size: 22px; }
.code-lg { gap: 10px; }
.code-lg span { width: 56px; height: 72px; border-radius: 18px; font-size: 30px; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding-block: var(--sec-pad); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.head-row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head-aside { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.5; }
.section > .wrap > .head, .section > .wrap > .head-row { margin-bottom: 40px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  min-height: 340px; padding: 28px; border-radius: 34px; background: var(--sand);
  box-shadow: 0 20px 44px -32px rgba(201, 71, 77, .6);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -36px rgba(201, 71, 77, .75); }
.step p { margin: 0; font-size: 16px; line-height: 1.5; }
.step-coral { background: var(--coral); }
.step-head { display: flex; flex-direction: column; gap: 16px; }
.step-n {
  width: 44px; height: 44px; border-radius: 22px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 16px; flex-shrink: 0;
  transition: transform .6s var(--ease-spring);
}
.step:hover .step-n { transform: rotate(-12deg) scale(1.08); }
.step-coral .step-n { background: var(--ink); color: var(--cream); }
.step-foot { margin-top: auto; }
.slot { padding: 10px 12px; border-radius: 18px; background: var(--bg); display: flex; align-items: center; gap: 10px; }
.slot-time { font-family: var(--f-display); font-size: 15px; font-weight: 300; }
.slot-name { flex-grow: 1; font-size: 14px; font-weight: 500; }
.slot-price { font-family: var(--f-display); font-size: 12px; padding: 6px 10px; border-radius: 12px; background: var(--coral); }

/* directions */
.dirs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.dir {
  position: relative; overflow: hidden; isolation: isolate;
  height: 280px; padding: 24px; border-radius: 32px; background: var(--c);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.dir::before {
  content: ""; position: absolute; z-index: -1; top: -30%; right: -30%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .45); transform: scale(.35); opacity: .7;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.dir:hover { box-shadow: 0 30px 50px -30px rgba(58, 46, 44, .35); }
.dir:hover::before { transform: scale(1.25); opacity: 1; }
.dir-t { font-family: var(--f-display); font-size: 22px; font-weight: 300; transition: transform .6s var(--ease); }
.dir-s { font-size: 14px; line-height: 1.45; }
.dir:hover .dir-t { transform: translateY(-4px); }

/* prices */
.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.prices-copy { display: flex; flex-direction: column; gap: 22px; }
.big { margin: 0; font-size: 18px; line-height: 1.55; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.check { width: 32px; height: 32px; flex-shrink: 0; border-radius: 16px; background: var(--coral-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.check .ico { width: 18px; height: 18px; }
.check path { stroke-dasharray: 22; stroke-dashoffset: 0; }

.calc {
  padding: 36px; border-radius: 36px; background: var(--sand);
  box-shadow: 0 20px 44px -30px rgba(201, 71, 77, .55);
  display: flex; flex-direction: column; gap: 22px;
}
.calc-lbl { font-size: 14px; font-weight: 500; color: var(--muted); }
.calc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-opts button {
  height: 48px; min-width: 72px; padding: 0 16px; border: 0; border-radius: 24px;
  background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease-spring), box-shadow .35s;
}
.calc-opts button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(58, 46, 44, .5); }
.calc-opts button:active { transform: scale(.94); }
.calc-opts button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.calc-opts button.is-pop { animation: pop .5s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.9); } 100% { transform: scale(1); } }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-box { padding: 20px; border-radius: 26px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.calc-box-coral { background: var(--coral); }
.calc-cap { font-size: 13px; color: var(--muted); }
.calc-cap b { font-weight: 500; color: var(--ink); }
.calc-num { font-family: var(--f-display); font-size: 40px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-bonus { font-size: 12px; font-weight: 500; transition: opacity .3s; }
.calc-row { padding: 14px 18px; border-radius: 22px; background: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.calc-classes { font-family: var(--f-display); font-size: 20px; font-weight: 300; font-variant-numeric: tabular-nums; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: translateY(0); } 30% { transform: translateY(-4px); } 100% { transform: translateY(0); } }

/* rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule { padding: 26px; border-radius: 30px; background: var(--sand); display: flex; flex-direction: column; gap: 14px; transition: transform .6s var(--ease), background-color .5s; }
.rule > div { display: flex; flex-direction: column; gap: 14px; }
.rule:hover { transform: translateY(-6px); background: #f0e6d9; }
.rule h3 { margin: 0; font-size: 18px; font-weight: 500; }
.rule p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rule-ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 26px; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: transform .6s var(--ease-spring), background-color .4s; }
.rule-ico .ico { width: 24px; height: 24px; }
.rule:hover .rule-ico { transform: scale(1.1); background: var(--coral); }
.clock-hand { transform-origin: 12px 12px; }
.rule:hover .clock-hand { animation: tick 1.2s var(--ease) ; }
@keyframes tick { to { transform: rotate(360deg); } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); grid-template-areas: "head list" "note list" "rest list"; grid-template-rows: auto auto 1fr; column-gap: 64px; row-gap: 16px; align-items: start; }
.faq-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }
.faq-note { grid-area: note; margin: 0; font-size: 16px; line-height: 1.5; }
.faq-note a { font-weight: 500; }
.faq-list { grid-area: list; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 24px; background: var(--sand); overflow: hidden; transition: background-color .4s, box-shadow .5s var(--ease); }
.faq-item:hover { background: #f0e6d9; }
.faq-item.is-open { background: var(--sand); box-shadow: 0 20px 40px -34px rgba(201, 71, 77, .7); }
.faq-q {
  width: 100%; min-height: 64px; padding: 12px 16px 12px 22px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; font-size: 17px; font-weight: 500;
}
.faq-ico { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 16px; background: var(--bg); transition: background-color .4s, transform .5s var(--ease); }
.faq-item .faq-ico { background: var(--sand); }
.faq-q:hover .faq-ico { transform: scale(1.08); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), background-color .4s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item.is-open .faq-ico { background: var(--ink); transform: rotate(180deg); }
.faq-item.is-open .faq-ico::before, .faq-item.is-open .faq-ico::after { background: var(--cream); }
.faq-item.is-open .faq-ico::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.faq-a p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.55; max-width: 760px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { visibility: visible; transition: visibility 0s; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition: opacity .5s .1s, transform .5s .1s var(--ease); }

/* studios */
.section-studios { padding-top: 48px; }
.studios {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px; border-radius: 44px; background: var(--ink); color: var(--cream);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center;
}
.studios-glow { position: absolute; z-index: -1; top: -120px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: var(--coral); opacity: .22; filter: blur(80px); animation: drift 16s ease-in-out infinite alternate; }
.studios-copy { display: flex; flex-direction: column; gap: 22px; }
.checks-light { line-height: 1.45; color: #e9dfd9; }
.checks-light li { align-items: flex-start; }
.checks-light .check { width: 28px; height: 28px; border-radius: 14px; background: var(--coral); }
.checks-light .check .ico { width: 16px; height: 16px; }

.desk { padding: 28px; border-radius: 34px; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: 18px; }
.desk-cap { font-size: 13px; font-weight: 500; color: var(--muted); }
.desk-title { font-family: var(--f-display); font-size: 22px; font-weight: 300; }
.desk-row { padding: 14px 16px; border-radius: 22px; background: var(--sand); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.desk-row > div { display: flex; flex-direction: column; gap: 2px; }
.desk-row b { font-size: 15px; font-weight: 500; }
.desk-row > div span { font-size: 13px; color: var(--muted); }
.desk-btn { position: relative; display: grid; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 500; overflow: hidden; transition: background-color .5s var(--ease), color .5s var(--ease), transform .3s var(--ease); }
.desk-btn > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform .5s var(--ease), opacity .4s; }
.desk-btn .ico { width: 16px; height: 16px; }
.desk-btn-b { transform: translateY(100%); opacity: 0; }
.desk.is-done .desk-btn { background: var(--coral); color: var(--ink); }
.desk.is-done .desk-btn-a { transform: translateY(-100%); opacity: 0; }
.desk.is-done .desk-btn-b { transform: none; opacity: 1; }
.desk.is-press .desk-btn { transform: scale(.94); }
/* ввод кода в кабинете студии */
.desk-code.is-typing span { color: transparent; background: var(--white); }
.desk-code.is-typing span.on { color: var(--ink); animation: key .45s var(--ease-spring); }
.desk-code.is-typing span.on:last-child { background: var(--coral); }
.desk-code.is-typing span.caret { box-shadow: 0 0 0 2px var(--coral), 0 14px 26px -18px rgba(201, 71, 77, .6); }
@keyframes key { 0% { transform: scale(.8); } 100% { transform: scale(1); } }

/* cta */
.section-cta { padding-bottom: var(--sec-pad); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px; border-radius: 44px; background: var(--coral);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.cta-glow { position: absolute; z-index: -1; top: -100px; left: 30%; width: 420px; height: 420px; border-radius: 50%; background: #ffb3a6; opacity: .6; filter: blur(60px); animation: drift 14s ease-in-out infinite alternate; }
.cta-people { position: absolute; z-index: -1; right: 64px; bottom: 40px; width: 320px; height: 192px; object-fit: contain; animation: bob 5s ease-in-out infinite; }
.cta-title { font-size: 48px; max-width: 640px; }
.cta-text { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; }
.cta-actions { display: flex; gap: 12px; }

/* footer */
.footer { padding: 56px 0 40px; background: var(--sand); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 3fr); gap: 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand img { width: 130px; height: 66px; object-fit: contain; object-position: left center; }
.foot-brand span { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 300px; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-h { margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.foot-col a { position: relative; align-self: flex-start; height: 36px; display: flex; align-items: center; color: var(--ink); font-size: 15px; }
.foot-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.foot-col a:hover { color: var(--coral-deep); }
.foot-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot-small { font-size: 14px; color: var(--muted); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.foot-copy { margin-right: auto; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--ink); }
.footer .lang { background: var(--sand); }

/* ==========================================================================
   MOTION: появление при загрузке и прокрутке
   (только когда есть JS — без него всё видно сразу)
   ========================================================================== */
.js [data-hero] { opacity: 0; transform: translateY(24px); }
.js.is-loaded [data-hero] { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .14em; margin: -.06em -.02em -.14em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; }
.js.is-loaded .split .w > span { transform: none; transition: transform 1.1s var(--ease) calc(.2s + var(--wi) * .07s); }

.js .header-in { opacity: 0; transform: translateY(-16px); }
.js.is-loaded .header-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease), height .4s var(--ease); }

.js .phone-in { opacity: 0; transform: translateY(80px) rotate(8deg) scale(.94); }
.js.is-loaded .phone-in { opacity: 1; transform: none; transition: opacity 1s var(--ease) .35s, transform 1.4s var(--ease) .35s; }
.js [data-ph] { opacity: 0; transform: translateY(14px); }
.js.is-loaded [data-ph] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(.8s + var(--d) * .1s); }
.js .phone .code span { opacity: 0; transform: translateY(10px) scale(.7); }
.js.is-loaded .phone .code span { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease-spring); transition-delay: calc(1.3s + var(--i) * .09s); }
.js .hero-people { opacity: 0; }
.js.is-loaded .hero-people { opacity: 1; transition: opacity 1s var(--ease) 1.4s; }

/* появление при прокрутке */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="scale"] { transform: translateY(40px) scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * .08s); }
/* после появления возвращаем «родные» переходы, чтобы hover срабатывал без задержки */
.js [data-reveal].is-in.is-done { transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .5s; }
.js [data-reveal].dir.is-done { transition: transform .25s var(--ease), box-shadow .6s var(--ease); }
.js .step.is-in:hover { transform: translateY(-8px); }
.js .rule.is-in:hover { transform: translateY(-6px); }

/* цифры кода «выпрыгивают» при появлении карточки */
.js .step .code span, .js .desk-code span { opacity: 0; transform: translateY(14px) scale(.7); }
.js .is-in .code span { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease-spring); transition-delay: calc(.35s + var(--i) * .09s); }

/* галочки рисуются */
.js [data-reveal] .check path { stroke-dashoffset: 22; }
.js [data-reveal].is-in .check path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease) calc(var(--d, 0) * .08s + .35s); }
.js [data-reveal] .check { transform: scale(.5); }
.js [data-reveal].is-in .check { transform: none; transition: transform .7s var(--ease-spring) calc(var(--d, 0) * .08s + .15s); }

/* ==========================================================================
   LANGUAGES
   ========================================================================== */
/* пока не применён перевод — прячем страницу (максимум 1,5 с, на случай сбоя скрипта) */
.i18n-pending body { opacity: 0; animation: i18n-show 0s 1.5s forwards; }
@keyframes i18n-show { to { opacity: 1; } }

/* плавная смена языка */
main, footer, .nav { transition: opacity .22s var(--ease-io); }
.header-actions .btn-sm { transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, opacity .22s var(--ease-io); }
.is-switching main, .is-switching footer, .is-switching .nav, .is-switching .header-actions .btn-sm { opacity: 0; }

.h1, .h2, .h3, .dir-t { overflow-wrap: break-word; }

/* грузинский: без заглавных (в грузинском их не используют) и чуть меньше кегль заголовков */
html[lang="ka"] .eyebrow { text-transform: none; letter-spacing: .02em; font-size: 14px; }
html[lang="ka"] .h1 { font-size: 54px; line-height: 1.2; }
html[lang="ka"] .h2 { font-size: 38px; line-height: 1.25; }
html[lang="ka"] .cta-title { font-size: 42px; }
html[lang="ka"] .dir-t { font-size: 20px; }

/* ==========================================================================
   LEGAL PAGES (правила, политика)
   ========================================================================== */
.legal-main { padding-block: 24px 96px; }
.legal { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; margin-bottom: 32px; border-radius: 20px; background: var(--sand); color: var(--ink); font-size: 14px; font-weight: 500; transition: background-color .3s, transform .4s var(--ease); }
.legal-back:hover { color: var(--ink); background: #efe4d6; transform: translateX(-3px); }
.legal-back .ico { width: 18px; height: 18px; }
.legal h1 { font-family: var(--f-display); font-weight: 300; font-size: 44px; line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.legal-date { display: block; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.legal-lead { margin: 0 0 8px; padding: 22px 24px; border-radius: 26px; background: var(--sand); font-size: 16px; line-height: 1.6; }
.legal h2 { font-family: var(--f-display); font-weight: 300; font-size: 22px; line-height: 1.3; margin: 40px 0 14px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #4a3c39; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--coral-deep); }
html[lang="ka"] .legal h1 { font-size: 38px; line-height: 1.25; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .nav, .header-actions > .lang { display: none; }
  .header-simple .header-actions > .lang { display: flex; }
  .burger { display: block; }
  .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir { height: auto; min-height: 200px; }
  .dir-wide { grid-column: span 2; }
}

@media (max-width: 1023px) {
  .h1 { font-size: 52px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 56px; padding-block: 32px 72px; }
  .hero-visual { justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; }
  .step-head { flex-direction: row; align-items: center; gap: 12px; }
  .prices { grid-template-columns: 1fr; gap: 40px; }
  .rules { grid-template-columns: 1fr; gap: 12px; }
  .rule { flex-direction: row; align-items: flex-start; }
  .rule > div { gap: 4px; }
  .faq { grid-template-columns: 1fr; grid-template-areas: "head" "list" "note"; grid-template-rows: auto; row-gap: 22px; }
  .studios { grid-template-columns: 1fr; gap: 40px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  html[lang="ka"] .h1 { font-size: 44px; }
}

@media (max-width: 767px) {
  .show-sm { display: block; }
  .hide-sm { display: none; }
  .h1 { font-size: 36px; line-height: 1.12; }
  .h2 { font-size: 30px; }
  .h3 { font-size: 20px; }
  .btn-block-sm { display: flex; width: 100%; }

  .logo img { width: 96px; height: 49px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 0 16px; font-size: 14px; }

  .blob-hero { top: -20px; right: -120px; width: 340px; height: 340px; }
  .blob-hero i { filter: blur(80px); }
  .blob-prices { width: 320px; height: 320px; }

  .hero-in { padding-block: 24px 56px; gap: 34px; }
  .hero-copy { gap: 22px; }
  .chip { height: 34px; padding: 0 12px; gap: 6px; font-size: 13px; }
  .chip .ico { width: 16px; height: 16px; }
  .lead { font-size: 17px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-copy { margin-bottom: -12px; }
  .hero-visual { padding-top: 12px; justify-self: stretch; }
  .phone { width: 290px; }
  .hero-people { left: -6px; bottom: -24px; width: 150px; height: 90px; }

  .section > .wrap > .head, .section > .wrap > .head-row { margin-bottom: 24px; }
  .head { gap: 10px; }
  .step { padding: 24px; border-radius: 30px; gap: 12px; }
  .step p { font-size: 15px; }
  .step-n { width: 40px; height: 40px; border-radius: 20px; font-size: 15px; }
  .step-foot { margin-top: 0; }

  .dirs { gap: 10px; }
  .dir { min-height: 150px; padding: 18px; border-radius: 26px; gap: 6px; }
  .dir-t { font-size: 18px; }
  .dir-s { font-size: 13px; line-height: 1.4; }

  .prices-copy { gap: 22px; }
  .big { font-size: 16px; }
  .checks { gap: 10px; font-size: 15px; }
  .checks li { gap: 10px; }
  .check { width: 28px; height: 28px; }
  .check .ico { width: 16px; height: 16px; }
  .calc { padding: 22px; }
  .calc-num { font-size: 28px; }

  .rule { padding: 20px; border-radius: 26px; }
  .rule h3 { font-size: 16px; }
  .rule p { font-size: 14px; }
  .rule-ico { width: 48px; height: 48px; }
  .rule-ico .ico { width: 22px; height: 22px; }

  .faq-list { gap: 8px; }
  .faq-q { padding: 10px 12px 10px 18px; font-size: 15px; }
  .faq-a p { padding: 0 18px 18px; }
  .faq-note { font-size: 14px; }

  .section-studios { padding-top: 24px; padding-bottom: 48px; }
  .wrap-card { padding-inline: 12px; }
  .studios { padding: 32px 24px; border-radius: 36px; gap: 20px; }
  .studios-copy { gap: 20px; }
  .studios .h2 { font-size: 28px; }
  .studios-glow { width: 280px; height: 280px; top: -100px; filter: blur(70px); }
  .checks-light { gap: 10px; }
  .checks-light .check { width: 26px; height: 26px; }
  .checks-light .check .ico { width: 14px; height: 14px; }
  .desk { display: none; }

  .section-cta { padding-bottom: 40px; }
  .cta { padding: 32px 24px; border-radius: 36px; gap: 18px; }
  .cta-people { right: 12px; top: 20px; bottom: auto; width: 150px; height: 90px; opacity: .8; }
  .cta-title { font-size: 30px; padding-top: 70px; }
  .cta-text { font-size: 15px; }
  .cta-actions { flex-direction: column; }

  .footer { padding: 40px 0 32px; }
  .foot-grid { gap: 28px; }
  .foot-brand { gap: 10px; }
  .foot-brand img { width: 110px; height: 56px; }
  .foot-brand span { font-size: 14px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .foot-h { margin-bottom: 4px; }
  .foot-col { gap: 2px; }
  .foot-col a { height: auto; min-height: 36px; font-size: 14px; }
  .foot-small { font-size: 13px; }
  .foot-bottom { margin-top: 28px; padding-top: 0; border-top: 0; flex-direction: column; align-items: flex-start; gap: 18px; font-size: 13px; }
  .foot-bottom .lang { order: -1; }
  .foot-links { order: 0; flex-direction: column; gap: 8px; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
  .foot-copy { order: 1; }

  .header-simple .btn-sm { display: none; }
  .legal-main { padding-block: 16px 64px; }
  .legal-back { margin-bottom: 24px; }
  .legal h1 { font-size: 30px; }
  .legal-date { margin-bottom: 24px; }
  .legal-lead { padding: 18px 20px; border-radius: 22px; font-size: 15px; }
  .legal h2 { font-size: 19px; margin-top: 32px; }
  .legal p, .legal li { font-size: 15px; }

  html[lang="ka"] .h1 { font-size: 30px; }
  html[lang="ka"] .h2, html[lang="ka"] .cta-title { font-size: 26px; }
  html[lang="ka"] .studios .h2 { font-size: 24px; }
  html[lang="ka"] .dir-t { font-size: 17px; }
  html[lang="ka"] .legal h1 { font-size: 26px; }
}

@media (hover: none) {
  .step:hover, .rule:hover, .js .step.is-in:hover, .js .rule.is-in:hover, .btn-dark:hover, .btn-coral:hover { transform: none; }
}

/* ==========================================================================
   Для тех, у кого в системе отключены анимации
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-hero], .js [data-reveal], .js [data-ph], .js .phone-in, .js .header-in, .js .hero-people,
  .js .split .w > span, .js .code span, .js [data-reveal] .check { opacity: 1 !important; transform: none !important; }
  .js [data-reveal] .check path { stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   Правки: калькулятор на узких экранах, язык в шапке на телефоне
   ========================================================================== */
.calc-box { min-width: 0; }
.calc-num { font-size: clamp(28px, 3vw, 40px); }
.calc-cur { font-family: var(--f-body); font-size: .42em; font-weight: 500; margin-left: .1em; }

@media (max-width: 1199px) {
  .header-actions > .lang { display: flex; }
}
@media (max-width: 767px) {
  .header-in { gap: 8px; }
  .logo img { width: 84px; height: 43px; }
  .header-actions { gap: 6px; }
  .header-actions > .lang { padding: 3px; gap: 0; }
  .header-actions > .lang button { min-width: 34px; height: 34px; font-size: 12px; }
  .header-actions .btn-sm { width: 44px; height: 44px; padding: 0; }
  .header-actions .btn-sm > span { display: none; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 13px; right: 13px; }
  .calc-grid { gap: 10px; }
  .calc-box { padding: 16px; }
  .calc-num { font-size: 30px; }
}
@media (max-width: 359px) {
  .logo img { width: 70px; height: 36px; }
  .header-actions > .lang button { min-width: 30px; }
}
.calc-cur[data-i18n="cur"] { font-family: inherit; font-size: .8em; font-weight: 300; margin-left: 0; }

/* Направления: название всегда в одну строку, названия и описания — на одном уровне */
.dir-t { overflow-wrap: normal; white-space: nowrap; }
@media (min-width: 1200px) {
  /* размер названия — от ширины карточки: (ширина блока − 4 промежутка) / 5 − поля */
  .dirs { container-type: inline-size; }
  .dirs { --dir-pad: 24px; }
  .dir { padding: var(--dir-pad); }
  .dir-t, html[lang="ka"] .dir-t { font-size: 20px; font-size: min(22px, calc(((100cqi - 64px) / 5 - 2 * var(--dir-pad)) * 0.112)); }
  /* общие строки сетки: пустое место / название / описание */
  .dirs { grid-template-rows: 1fr auto auto; height: 280px; row-gap: 0; }
  .dir { height: auto; grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; row-gap: 10px; }
  .dir-t { grid-row: 2; }
  .dir-s { grid-row: 3; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .dirs { --dir-pad: 18px; }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 1200px) { .dir-s { min-height: calc(3 * 1.45em); } }
}
@media (max-width: 1199px) {
  .dir { container-type: inline-size; }
  .dir-t { font-size: min(22px, 13cqi); }
  html[lang="ka"] .dir-t { font-size: min(20px, 12cqi); }
  .dir-s { display: block; min-height: calc(2 * 1.45em); }
  html[lang="ka"] .dir-s, html[lang="en"] .dir-s { min-height: calc(3 * 1.45em); }
}
@media (max-width: 767px) {
  .dir-t { font-size: min(18px, 16cqi); }
  html[lang="ka"] .dir-t { font-size: min(17px, 15cqi); }
  .dir-s, html[lang="ka"] .dir-s, html[lang="en"] .dir-s { min-height: calc(3 * 1.4em); }
  .dir-wide .dir-s, html[lang="ka"] .dir-wide .dir-s, html[lang="en"] .dir-wide .dir-s { min-height: 0; }
}
@media (max-width: 359px) {
  .dir-s, html[lang="ka"] .dir-s, html[lang="en"] .dir-s { min-height: calc(4 * 1.4em); }
  .dir-wide .dir-s, html[lang="ka"] .dir-wide .dir-s, html[lang="en"] .dir-wide .dir-s { min-height: 0; }
}
