/* Codewright — светлый камень и саперави. Источник правды по токенам: DESIGN.md */
:root {
  --paper: #f4f2ee;
  --paper-2: #eae6e0;
  --surface: #ffffff;
  --ink: #161514;
  --ink-2: #4a4643;
  --muted: #6b6660;
  --line: #e0dbd4;
  --accent: #7b2236;
  --accent-hover: #631b2b;
  --band: #1c1a19;
  --band-2: #272321;
  --band-ink: #f4f2ee;
  --band-muted: #a29c95;
  --band-line: #3b3735;
  --band-accent: #d46a80;
  --live: #276b40;
  --dev: #8a6418;

  --display: 'Geologica', 'Noto Sans Georgian', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Onest', 'Noto Sans Georgian', 'Helvetica Neue', Arial, sans-serif;
  --track: -.035em;   /* крупные заголовки */
  --track-s: -.015em; /* заголовки помельче */

  --gutter: 16px;
  --section: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 760px) { :root { --gutter: 40px; --section: 112px; } }
/* грузинскому плотная разрядка вредит */
html[lang='ka'] { --track: 0; --track-s: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: var(--track-s); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.contact :focus-visible, .calc-result :focus-visible, .site-footer :focus-visible { outline-color: var(--band-accent); }

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

.arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .25s var(--ease); }

/* ---------- кнопки: одна главная на сценарий ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, filter .2s;
}
.btn:hover .arrow { transform: translateX(3px); }
/* главная на светлом */
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
/* второго порядка на светлом */
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
/* главная на тёмной полосе */
.btn-accent { background: var(--band-accent); color: var(--band); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 238, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { font: 600 24px/1 var(--display); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { font-size: 15px; text-decoration: none; color: var(--ink-2); position: relative; }
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.langs { display: flex; gap: 12px; }
.langs a { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.langs a:hover, .langs a[aria-current] { color: var(--ink); }
.langs a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative; margin: 0 auto; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-icon::before { content: ''; position: absolute; left: 0; top: 7px; }
.menu-icon { top: -3px; }
.menu-btn[aria-expanded='true'] .menu-icon { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-icon::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 16px 0; font: 600 23px/1.2 var(--display); letter-spacing: var(--track-s); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .langs { margin: 22px 0; gap: 20px; }
  .langs a { font-size: 15px; }
  .nav .btn { min-height: 52px; font-size: 16px; }
}

/* ---------- появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- заголовки ---------- */
/* :where — чтобы размеры по языку не перебивали размеры отдельных блоков */
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: var(--track); }
:where(html[lang='ka']) h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.22; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.06; letter-spacing: var(--track); }
:where(html[lang='ka']) h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }

/* ---------- первый экран ---------- */
/* clip: поля картинки под тени не должны давать горизонтальную прокрутку на телефоне */
.hero { padding: 40px 0 32px; overflow-x: clip; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1040px) {
  .hero { padding: 72px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}
.hero h1 { max-width: 12em; }
.hero .lead { margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 520px) { .actions .btn { flex: 1 1 100%; } }
.hero-art { margin: 0; }
/* у картинки поля 110px под тени (scripts/covers.py) — вытягиваем их за край колонки */
.hero-art img { width: 115.72%; max-width: none; margin: -7.86% -7.86% -7.86% -7.86%; }
@media (max-width: 1039px) { .hero-art { max-width: 640px; margin: 0 auto; } }

/* как мы работаем — строкой под первым экраном */
.steps-strip { padding: 8px 0 var(--section); }
.steps-inner { display: grid; gap: 18px 48px; }
@media (min-width: 1040px) { .steps-inner { grid-template-columns: auto minmax(0, 1fr); align-items: start; } }
.steps-inner h2 { font-size: 1.15rem; line-height: 1.4; letter-spacing: var(--track-s); }
.steps { display: grid; gap: 18px 32px; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step h3 { font-size: 1.05rem; line-height: 1.4; }
.step h3 span { margin-right: 8px; color: var(--accent); font-variant-numeric: tabular-nums; }
.step p { margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- секции ---------- */
.section { padding: var(--section) 0; }
/* на полосе потемнее и разделители чуть темнее, иначе их не видно */
.section-paper { background: var(--paper-2); --line: #d6d1ca; }
.section-title, .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-title { max-width: 18em; }
.section-head-split { display: grid; gap: 16px; align-items: end; }
@media (min-width: 900px) { .section-head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 28em); gap: 64px; } }

/* работы */
.projects { display: grid; gap: 48px 32px; }
/* семь работ: ряды 2 + 3 + 2, крайние ряды крупные (сетка из шести долей) */
@media (min-width: 760px) {
  .projects { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .projects > .project { grid-column: span 2; }
  .projects > .project:nth-child(-n+2), .projects > .project:nth-child(n+6) { grid-column: span 3; }
  /* в узкой колонке длинное имя выталкивает статус вниз — пусть он стоит под именем у всех */
  .project-meta { flex-direction: column; align-items: flex-start; }
}
.project { display: block; text-decoration: none; color: inherit; }
.cover { overflow: hidden; border-radius: 12px; background: var(--paper); }
.cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
a.project:hover .cover img { transform: scale(1.025); }
.project-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: 18px; }
.project h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.2; }
/* стрелка строчная, а не flex-соседом: у переносящегося имени она остаётся за последним словом */
.project h3 .arrow { display: inline-block; vertical-align: -.02em; margin-left: 8px; width: .7em; height: .7em; color: var(--muted); }
a.project:hover h3 .arrow { color: var(--accent); transform: translate(2px, -2px); }
.status { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--live); }
.status-dev { color: var(--dev); }
.project-type { margin-top: 2px; font-size: 14px; color: var(--muted); }
.project-line { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* услуги */
.services { display: grid; gap: 40px 64px; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; }
.service h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; transition: color .2s; }
:where(html[lang='ka']) .service h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.3; }
.service p { max-width: 30em; color: var(--ink-2); }
.service-price { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.service-price .arrow { color: var(--muted); }
.service:hover h3 { color: var(--accent); }
.service:hover .arrow { color: var(--accent); transform: translateX(4px); }
.gel { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* для бизнеса в Грузии — четыре факта */
.georgia { margin-top: clamp(56px, 7vw, 88px); }
.georgia h3 { margin-bottom: 18px; font-size: 1.15rem; line-height: 1.4; }
.facts { display: grid; gap: 12px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 12px; background: var(--surface); }
.fact h4 { font-size: 1.1rem; line-height: 1.3; }
.fact p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* цены */
.tabs { display: flex; gap: 6px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html:not(.js) .tabs { display: none; }
.panel-title { display: none; }
html:not(.js) .panel-title { display: block; margin: 40px 0 8px; font-size: 1.5rem; }
.js .tab-panel:not(.is-active) { display: none; }

/* светлая линия между строками прайса: в широкой строке «название … цена» она ведёт глаз */
.price-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name val' 'time pick';
  gap: 6px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center;
}
@media (min-width: 760px) {
  .price-row { grid-template-columns: minmax(0, 1fr) 150px 170px 40px; grid-template-areas: 'name time val pick'; padding: 26px 0; }
}
.price-name { grid-area: name; }
.price-name h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.3rem; line-height: 1.25; }
:where(html[lang='ka']) .price-name h4 { font-size: 1.15rem; }
.price-name p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.badge { font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
html[lang='ka'] .badge { text-transform: none; letter-spacing: 0; }
.price-time { grid-area: time; font-size: 15px; color: var(--muted); }
.price-val { grid-area: val; font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.price-val small { margin-left: 4px; font-size: .8em; font-weight: 400; color: var(--muted); }
.price-pick { grid-area: pick; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s; }
.price-pick:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.price-pick .arrow { width: 16px; height: 16px; }

.support { margin-top: clamp(56px, 6vw, 80px); }
.support h3 { margin-bottom: 8px; font-size: 1.4rem; line-height: 1.25; }
.support-grid { display: grid; }
@media (min-width: 900px) { .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
/* на телефоне — строки как в прайсе, на широком экране — три колонки без линий */
.support-item { display: grid; gap: 4px; align-content: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .support-item { padding: 12px 0 0; border-bottom: 0; } }
.support-item h4 { font-size: 1.05rem; }
.support-item p { font-size: 15px; color: var(--muted); }
.support-item .price-val { grid-area: auto; margin-top: 8px; text-align: left; }

.terms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.terms li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); font-size: 15px; }
.terms li::before { content: ''; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-2px) rotate(-45deg); }

/* калькулятор */
.calc { display: grid; gap: 24px; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.calc-fields { display: grid; gap: 32px; }
.field { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-label { display: block; padding: 0; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.select { position: relative; display: block; }
.select::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { width: 100%; min-height: 60px; padding: 0 48px 0 20px; border: 1px solid var(--muted); border-radius: 10px; background: var(--surface); font: 500 1.05rem var(--sans); appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; transition: border-color .2s; }
.select select:hover { border-color: var(--ink); }
.addons { display: grid; gap: 8px; }
@media (min-width: 620px) { .addons { grid-template-columns: repeat(2, 1fr); } }
.addon { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; transition: border-color .2s; }
.addon:hover { border-color: var(--muted); }
.addon input[type='checkbox'] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon:has(input:checked) { border-color: var(--ink); }
.addon:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 5px; display: grid; place-items: center; background: var(--surface); transition: background-color .15s, border-color .15s; }
.addon input:checked + .check { background: var(--ink); border-color: var(--ink); }
.addon input:checked + .check::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.addon-text { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.addon-name { font-size: 15px; }
.addon-price { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon-count { cursor: default; }
@media (min-width: 620px) { .addon-count { grid-column: 1 / -1; } }
.stepper { flex: none; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 40px; height: 38px; border: 0; background: transparent; font-size: 18px; cursor: pointer; border-radius: 999px; }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 28px; border: 0; background: transparent; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc-result { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px; border-radius: 14px; background: var(--band); color: var(--band-ink); }
@media (min-width: 1000px) { .calc-result { position: sticky; top: 96px; } }
.result-label { font-size: 14px; color: var(--band-muted); }
.result-price { font: 600 clamp(2.2rem, 1.7rem + 2vw, 3.2rem)/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.result-gel { color: var(--band-muted); font-variant-numeric: tabular-nums; }
.result-gel:empty { display: none; }
.result-time { margin-top: 8px; font-size: 15px; }
.result-time span { color: var(--band-muted); }
.result-time strong { font-weight: 500; }
.result-note { margin-top: 4px; font-size: 14px; color: var(--band-muted); }
.calc-result .btn { margin-top: 16px; }
.calc-alt { align-self: flex-start; font-size: 14px; color: var(--band-muted); text-underline-offset: 3px; }
.calc-alt:hover { color: var(--band-ink); }

/* вопросы: светлая линия показывает, где кончается строка, на которую жмут */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font: 600 1.2rem/1.35 var(--display); letter-spacing: var(--track-s); }
html[lang='ka'] .faq summary { font-size: 1.05rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--muted); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 40em; }

/* ---------- контакты: тёмная полоса ---------- */
.contact { background: var(--band); color: var(--band-ink); padding: var(--section) 0; }
.contact-inner { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .contact-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 80px; align-items: end; }
  .contact-inner.has-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
}
.contact-side { display: flex; flex-direction: column; align-items: flex-start; }
.contact h2 { margin-bottom: 24px; font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: 1; }
html[lang='ka'] .contact h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.15; }
.contact .lead { margin-bottom: 28px; color: var(--band-muted); }
.soon { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border: 1px solid var(--band-line); border-radius: 12px; color: var(--band-muted); font-size: 15px; }
.soon::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--band-accent); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .soon::before { animation: none; } }
/* Telegram ссылкой — там, где главная кнопка у формы */
.contact-alt { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; color: var(--band-ink); text-underline-offset: 4px; }
.contact-alt:hover { color: var(--band-accent); }
.contact-mail { display: inline-block; margin-top: 28px; font: 500 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--band-ink); text-decoration: none; border-bottom: 1px solid var(--band-line); overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.contact-mail:hover { color: var(--band-accent); border-color: var(--band-accent); }
.contact-note { margin-top: 10px; font-size: 14px; color: var(--band-muted); }
.contact-extra { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.contact-extra a { color: var(--band-ink); }

/* заявка с сайта */
.order, .order-done { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 14px; background: var(--band-2); }
.order-note { font-size: 15px; color: var(--band-muted); }
.ofield { display: grid; gap: 8px; min-width: 0; }
.ofield-label { font-size: 14px; color: var(--band-muted); }
.order input, .order textarea, .order .select select {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--band-line); border-radius: 10px;
  background: var(--band); color: var(--band-ink); font: 400 16px/1.45 var(--sans); transition: border-color .2s;
}
.order .select select { padding-right: 44px; }
.order .select::after { border-color: var(--band-muted); }
.order textarea { min-height: 124px; resize: vertical; }
.order ::placeholder { color: #8f8983; opacity: 1; }
.order input:hover, .order textarea:hover, .order .select select:hover { border-color: #5a5550; }
.order-row { display: grid; gap: 18px; }
.order-calc { margin-top: -8px; font-size: 14px; color: var(--band-muted); }
.order-error { font-size: 15px; color: var(--band-accent); }
.order .btn, .order-done .btn { justify-self: start; }
.order .btn[disabled] { opacity: .6; cursor: progress; }
/* Кнопка формы — второго порядка (контур), на языках «форма главная» — саперави.
   Пока задача и контакт не заполнены, приглушена, но нажимается и подсказывает, чего не хватает (app.js) */
.btn-form { border-color: var(--band-ink); color: var(--band-ink); }
.btn-form:hover { background: var(--band-ink); color: var(--band); }
.btn-form-main { background: var(--band-accent); border-color: var(--band-accent); color: var(--band); }
.btn-form-main:hover { background: var(--band-accent); color: var(--band); filter: brightness(1.08); }
.js .btn-form:not(.is-ready) { background: transparent; border-color: var(--band-line); color: var(--band-muted); filter: none; }
.js .btn-form:not(.is-ready):hover { border-color: var(--band-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.order-done h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: var(--track); }
html[lang='ka'] .order-done h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.25; }
.order-done p { color: var(--band-muted); }
.order-done:focus { outline: none; }
.order-bot { justify-self: start; font-size: 15px; color: var(--band-ink); text-underline-offset: 3px; }
.order-privacy { margin-top: -4px; font-size: 13px; }
.order-privacy a { color: var(--band-muted); text-underline-offset: 3px; }
.order-privacy a:hover { color: var(--band-ink); }

/* подвал */
.site-footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); padding: 36px 0; }
.site-footer .logo { color: var(--band-ink); font-size: 21px; }
.footer-inner { display: grid; gap: 12px; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }
.site-footer p { font-size: 14px; }
.footer-langs a { margin-left: 10px; text-decoration: none; }
.footer-langs a:hover, .footer-link:hover { color: var(--band-ink); }
.footer-link { color: inherit; text-decoration: none; }

/* ---------- страница о ботах ---------- */
/* снизу отступ даёт следующая секция — иначе два отступа подряд */
.subhero { padding: 56px 0 0; }
@media (min-width: 1040px) { .subhero { padding-top: 96px; } }
.subhero h1 { max-width: 14em; }
.subhero .lead { margin-top: 24px; }
.features { display: grid; gap: 28px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; } }
.feature h3 { margin-bottom: 6px; font-size: 1.3rem; line-height: 1.25; }
html[lang='ka'] .feature h3 { font-size: 1.15rem; line-height: 1.35; }
.feature p { max-width: 32em; color: var(--ink-2); }
.live { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .live { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; } }
.live-copy h2 { margin-bottom: 20px; }
.live-points { display: grid; gap: 10px; margin: 24px 0 32px; }
.live-points li { position: relative; padding-left: 26px; color: var(--ink-2); }
.live-points li::before { content: ''; position: absolute; left: 0; top: calc(.8em - 1px); width: 14px; height: 2px; background: var(--accent); }
.live-more { display: grid; gap: 8px; margin-top: 40px; }
.live-more p { font-size: 14px; color: var(--muted); }
.live-more a { color: var(--ink-2); text-decoration: none; }
.live-more a strong { font-weight: 600; color: var(--ink); }
.live-more a:hover strong { color: var(--accent); }
.live-doc { margin: 0; }
.live-doc img { width: 100%; border-radius: 12px; background: var(--surface); box-shadow: 0 40px 70px -40px rgba(22, 21, 20, .4), 0 2px 6px rgba(22, 21, 20, .06); }
.live-doc figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.prices-more { margin-top: 28px; }
.prices-more a { color: var(--ink); text-underline-offset: 3px; }
.prices-more a:hover { color: var(--accent); }

/* ---------- данные ---------- */
.legal-wrap { max-width: 46em; }
.legal h1 { font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); line-height: 1.1; }
html[lang='ka'] .legal h1 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.25; }
.legal-updated { margin: 14px 0 40px; font-size: 14px; color: var(--muted); }
.legal h2 { margin: 36px 0 8px; font-size: 1.35rem; line-height: 1.3; letter-spacing: var(--track-s); }
html[lang='ka'] .legal h2 { font-size: 1.15rem; }
.legal p { max-width: 40em; color: var(--ink-2); }
.legal a { color: var(--ink); }
