:root {
  --cobalt: #1F3BFF;
  --cobalt-on-ink: #5A74FF;
  --ink: #0B0B0B;
  --white: #FFFFFF;
  --paper: #F3F1EC;
  --muted: #66625B;

  --rule: 2px solid var(--ink);
  --m: 72px;
  --max: 1320px;

  --f-display: "Unbounded", "Noto Sans Georgian", sans-serif;
  --f-ka: "Noto Sans Georgian", sans-serif;
  --f-body: "Space Grotesk", "Noto Sans Georgian", sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  /* Georgian glyphs run wider and taller than Latin, so KA text scales down. */
  --kh: 1;  /* headlines */
  --kb: 1;  /* body, lists, CTAs */
}

html[lang="ka"] {
  --kh: .72;
  --kb: .88;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: calc(18px * var(--kb));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--m);
}

.dot { color: var(--cobalt); }

.mono {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.display,
.heavy {
  font-family: var(--f-display);
  font-weight: 900;
}

.display {
  line-height: 1.02;
  letter-spacing: -.02em;
}

html[lang="ka"] .display,
html[lang="ka"] .heavy {
  font-family: var(--f-ka);
  letter-spacing: 0;
}

html[lang="ka"] .display { line-height: 1.2; }

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: var(--rule);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}

.mark {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.01em;
  text-decoration: none;
  line-height: 1;
}

.mark-sm { font-size: 20px; }

.nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  margin-left: 24px;
}

.nav a {
  font-weight: 500;
  font-size: calc(16px * var(--kb));
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}

.nav a:hover { border-bottom-color: var(--cobalt); }

.top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
}

.lang button {
  font: inherit;
  letter-spacing: .1em;
  background: none;
  border: 0;
  padding: 6px 2px;
  color: var(--muted);
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Hero */

.hero { padding: 56px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 488px;
  grid-template-areas:
    "kicker visual"
    "title  title";
  row-gap: 48px;
  column-gap: 48px;
}

.kicker { grid-area: kicker; align-self: end; }
.hero-bars { grid-area: visual; height: 340px; }
.hero-title {
  grid-area: title;
  font-size: calc(clamp(40px, 7vw, 104px) * var(--kh));
}

.services-line {
  margin-top: 40px;
  font-weight: 700;
  font-size: calc(clamp(18px, 2.1vw, 30px) * var(--kb));
}

.cta-row {
  margin-top: 28px;
  padding: 24px 0 72px;
  border-top: var(--rule);
}

.cta {
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  color: var(--cobalt);
  text-decoration: none;
  font-size: calc(clamp(24px, 2.6vw, 36px) * var(--kb));
  line-height: 1.2;
  cursor: pointer;
}

.cta-sm { font-size: calc(clamp(20px, 1.8vw, 26px) * var(--kb)); }

.arr {
  display: inline-block;
  transition: transform .2s ease;
}

a:hover .arr { transform: translateX(6px); }

/* Bars motif */

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: var(--rule);
}

.bars > i,
.bars > a {
  flex: 1;
  height: var(--h);
  border: 2px solid var(--ink);
  border-bottom: 0;
  transform-origin: bottom;
  animation: grow .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i) * 60ms);
}

.bars > .peak {
  background: var(--cobalt);
  border-color: var(--cobalt);
}

@keyframes grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Sections */

.section {
  padding: 96px 0;
  border-top: var(--rule);
}

.sec-label { margin-bottom: 40px; }

/* Services */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--rule);
}

.svc {
  display: flex;
  flex-direction: column;
  padding: 48px 48px 8px 0;
}

.svc + .svc {
  padding: 48px 0 8px 48px;
  border-left: var(--rule);
}

.svc-visual {
  width: 100%;
  max-width: 488px;
  height: auto;
  margin-bottom: 40px;
}

.svc-tag { margin-bottom: 12px; }

.h2 { font-size: calc(clamp(30px, 3.4vw, 50px) * var(--kh)); }

.lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: calc(19px * var(--kb));
}

.list {
  margin: 28px 0 36px;
  border-top: var(--rule);
}

.list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 11, 11, .25);
  font-weight: 500;
}

.svc .cta { margin-top: auto; padding-top: 8px; }

/* Statement */

.statement {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0;
}

.statement .dot { color: var(--cobalt-on-ink); }
.statement .mono { color: #A7A29A; }

.statement-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.big { font-size: calc(clamp(44px, 8vw, 120px) * var(--kh)); }

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  border-top: var(--rule);
  padding-top: 24px;
}

.num {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 28px;
}

.peak-num { color: var(--cobalt); }

.step-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: calc(24px * var(--kh) / .8);
  line-height: 1.2;
  margin-bottom: 12px;
}

html[lang="ka"] .step-title { font-family: var(--f-ka); }

.step p { color: var(--muted); }

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}

.faq { border-top: var(--rule); }

.faq details { border-bottom: var(--rule); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: calc(clamp(20px, 2vw, 26px) * var(--kb));
  line-height: 1.3;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--cobalt); }

.pm {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.pm::before,
.pm::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 10px;
  left: 0;
  width: 22px;
  height: 2px;
  transition: transform .2s ease;
}

.pm::after { transform: rotate(90deg); }

details[open] .pm::after { transform: rotate(0); }

.faq details p {
  padding: 0 0 28px;
  max-width: 40em;
  color: var(--muted);
}

/* Final CTA */

.final {
  border-top: var(--rule);
  padding: 96px 0 0;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: end;
}

.final-copy { padding-bottom: 8px; }

.h-final { font-size: calc(clamp(34px, 4.4vw, 64px) * var(--kh)); }

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: var(--rule);
}

.contacts a {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--cobalt);
}

.phone { margin-top: 20px; }
.phone a { text-decoration: none; }
.phone a:hover { color: var(--ink); }

.poster-bars { height: 520px; }

.poster-bars > .peak-link {
  flex: 2.4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 0;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}

.poster-bars > .peak-link:hover { background: var(--ink); border-color: var(--ink); }

.peak-link span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 28px;
  line-height: 1;
}

html[lang="ka"] .peak-link span { font-size: 32px; }

/* Footer */

.foot {
  margin-top: 0;
  background: var(--ink);
  color: var(--white);
}

.foot .dot { color: var(--cobalt-on-ink); }
.foot .mono { color: #A7A29A; }

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Responsive */

@media (max-width: 1080px) {
  :root { --m: 40px; }
  .descriptor { display: none; }
  .hero-grid { grid-template-columns: 1fr 380px; }
  .hero-bars { height: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .final-grid { grid-template-columns: 1fr 400px; }
  .poster-bars { height: 440px; }
}

@media (max-width: 820px) {
  :root { --m: 16px; }
  .nav { display: none; }
  .top-inner { height: 64px; }
  .mark { font-size: 22px; }
  html { scroll-padding-top: 72px; }

  .hero { padding-top: 32px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "kicker" "visual" "title";
    row-gap: 28px;
  }
  .hero-bars { height: 200px; gap: 6px; }
  .cta-row { padding-bottom: 56px; }

  .section { padding: 64px 0; }
  .sec-label { margin-bottom: 28px; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc,
  .svc + .svc { padding: 36px 0 40px; border-left: 0; }
  .svc + .svc { border-top: var(--rule); }

  .statement { padding: 80px 0; }

  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .num { font-size: 36px; margin-bottom: 16px; }

  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  .final { padding-top: 64px; }
  .final-grid { grid-template-columns: 1fr; gap: 48px; }
  .poster-bars { height: 420px; gap: 6px; }
  .peak-link span { font-size: 21px; }
  html[lang="ka"] .peak-link span { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bars > i,
  .bars > a { animation: none; }
  .arr { transition: none; }
}
