:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.012 200);
  --ink: oklch(0.22 0.028 200);
  --muted: oklch(0.42 0.022 200);
  --primary: oklch(0.36 0.08 200);
  --primary-deep: oklch(0.26 0.065 200);
  --primary-mid: oklch(0.44 0.085 200);
  --accent: oklch(0.62 0.155 55);
  --accent-ink: oklch(1 0 0);
  --line: oklch(0.36 0.08 200 / 0.16);
  --z-sticky: 40;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Petrona", "Georgia", serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

html[lang="ru"] {
  --font-display: "Onest", "Segoe UI", sans-serif;
  --font-body: "Source Serif 4", "Georgia", serif;
}

html[lang="ka"] {
  --font-display: "Noto Sans Georgian", "Segoe UI", sans-serif;
  --font-body: "Noto Serif Georgian", "Georgia", serif;
}

html[lang="ka"] .hero h1 {
  max-width: 18ch;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 60;
  background: var(--bg);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  display: grid;
  text-decoration: none;
  line-height: 0.95;
}

.wordmark strong {
  font-family: var(--font-display);
  font-weight: 750;
  font-stretch: 80%;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.wordmark span {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 85%;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 550;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.nav a[aria-current="page"] {
  color: var(--primary);
}

.pay-cta {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.7rem 1.1rem;
  background: var(--primary);
  color: oklch(0.97 0.01 200);
  font-family: var(--font-display);
  font-weight: 650;
  text-decoration: none;
}

.pay-cta:hover {
  background: var(--primary-deep);
}

.pay-hero .hero-inner {
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.2rem, 6vw, 4rem);
}

.pay-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.pay-form,
.pay-result {
  max-width: 28rem;
}

.pay-result.is-found {
  max-width: 36rem;
}

.pay-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 650;
}

.pay-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-weight: 500;
}

.pay-form input::placeholder {
  color: var(--muted);
}

.pay-or {
  margin: 0.15rem 0 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
}

.pay-error {
  color: oklch(0.45 0.14 25);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.pay-form button,
.pay-again {
  appearance: none;
  border: 0;
  background: var(--primary);
  color: oklch(0.97 0.01 200);
  padding: 0.8rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}

.pay-form button:hover,
.pay-again:hover {
  background: var(--primary-deep);
}

.pay-result.is-invalid h2 {
  color: oklch(0.42 0.12 25);
}

.invoice {
  margin: 1.35rem 0 1.15rem;
  background: oklch(0.97 0.014 200);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px oklch(0.22 0.03 200 / 0.08);
}

.invoice-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px dashed oklch(0.36 0.08 200 / 0.28);
  font-family: var(--font-display);
}

.invoice-head b {
  font-stretch: 82%;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.invoice-head span {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.invoice-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 1rem 1.15rem;
}

.invoice-meta div {
  display: grid;
  gap: 0.15rem;
}

.invoice-meta dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.invoice-meta dd {
  margin: 0;
  font-weight: 550;
}

.invoice-meta dd a {
  color: inherit;
  text-decoration: none;
}

.invoice-meta dd a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.invoice-due {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.15rem;
  padding: 0.9rem 0 1rem;
  border-top: 1px dashed oklch(0.36 0.08 200 / 0.28);
  font-family: var(--font-display);
}

.invoice-due span {
  font-weight: 650;
}

.invoice-due strong {
  font-size: 1.55rem;
  font-stretch: 86%;
  letter-spacing: -0.03em;
}

.invoice-tax {
  margin: 0 1.15rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--muted);
}

.invoice-notes {
  margin: 0 1.15rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed oklch(0.36 0.08 200 / 0.28);
}

.invoice-notes b {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.invoice-notes p {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
}

.invoice-notes p:last-child {
  margin-bottom: 0;
}

.invoice-actions {
  display: grid;
  gap: 0.55rem;
  margin: 0 1.15rem 1.15rem;
}

.invoice-pay,
.invoice-pdf {
  appearance: none;
  display: block;
  width: 100%;
  border: 0;
  padding: 0.8rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.invoice-pay {
  background: var(--primary);
  color: oklch(0.97 0.01 200);
}

.invoice-pay:hover {
  background: var(--primary-deep);
}

.invoice-pdf {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.invoice-pdf:hover {
  background: oklch(0.36 0.08 200 / 0.07);
}

.invoice-stripe-note {
  margin: 0 1.15rem 1.15rem;
  font-size: 0.98rem;
}

.pay-result h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-stretch: 86%;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.pay-again {
  margin-top: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding-left: 0;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.15rem;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  font-family: var(--font-display);
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.38rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--primary);
  color: oklch(0.97 0.01 200);
}

.step-copy {
  display: inline;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
}

.hero {
  position: relative;
  background: var(--primary);
  color: oklch(0.97 0.01 200);
  overflow: hidden;
}

.awning {
  display: block;
  width: 100%;
  height: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 8vw, 6.5rem) 0 clamp(3rem, 8vw, 7rem);
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-stretch: 82%;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 14ch;
}

.hero .lede {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: oklch(0.93 0.02 200);
}

.ticket {
  justify-self: start;
  width: min(18rem, 100%);
  background: oklch(0.97 0.02 90);
  color: var(--ink);
  padding: 1.15rem 1.2rem 1.25rem;
  mask: radial-gradient(circle at 0 50%, transparent 8px, #000 8.2px),
    radial-gradient(circle at 100% 50%, transparent 8px, #000 8.2px);
  mask-composite: intersect;
  box-shadow: 0 18px 40px oklch(0.2 0.04 200 / 0.28);
  transform: rotate(2.5deg);
}

.ticket b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.ticket p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.ticket .fee {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed oklch(0.36 0.08 200 / 0.35);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: oklch(0.4 0.08 55);
}

.intro {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.intro-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

@media (min-width: 860px) {
  .intro-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
}

.intro figure {
  margin: 0;
}

.intro img {
  width: 100%;
  height: min(34rem, 70vw);
  object-fit: cover;
  object-position: center 20%;
}

.intro h2,
.work h2,
.pay h2,
.services h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-stretch: 84%;
  font-weight: 750;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.pay h2.follow {
  margin-top: 2.5rem;
}

.intro p,
.pay p,
.work p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--ink);
}

.services {
  background: var(--primary-deep);
  color: oklch(0.96 0.012 200);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.services h2 {
  color: oklch(0.97 0.01 200);
  max-width: 16ch;
}

.service-list {
  display: grid;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid oklch(0.96 0.012 200 / 0.16);
}

.service {
  display: grid;
  gap: 0.75rem 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid oklch(0.96 0.012 200 / 0.16);
}

@media (min-width: 780px) {
  .service {
    grid-template-columns: minmax(12rem, 18rem) 1fr;
    align-items: start;
  }
}

.service h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 86%;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.service p {
  margin: 0;
  max-width: 58ch;
  color: oklch(0.9 0.02 200);
}

.work {
  background: var(--surface);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }
}

@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  max-width: 36ch;
}

.steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps li > span:first-child {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.pay {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.pay-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 860px) {
  .pay-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.pay figure {
  margin: 0;
}

.pay img {
  width: 100%;
  height: min(28rem, 60vw);
  object-fit: cover;
}

.note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  max-width: 48ch;
}

.note strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.note p {
  margin: 0;
  font-size: 1.02rem;
}

.limits {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(2.4rem, 6vw, 4rem) 0;
}

.limits .wrap {
  display: grid;
  gap: 0.75rem;
}

.limits h2 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 86%;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.limits p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.12rem;
}

.visit {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background: var(--bg);
}

.offices {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 860px) {
  .offices {
    grid-template-columns: 1fr 1fr;
  }
}

.office .visit-label {
  margin-top: 0;
}

.visit-phone {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
}

.visit-phone a {
  color: var(--ink);
}

.visit h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-stretch: 84%;
  font-weight: 750;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.visit p {
  margin: 0 0 1rem;
  max-width: 54ch;
}

.visit-label {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.visit-address {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.35;
}

.visit-address a,
.visit-link {
  color: var(--ink);
}

.visit-link {
  font-family: var(--font-display);
  font-weight: 600;
}

.map-frame {
  min-height: 22rem;
  background: var(--surface);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: min(28rem, 70vw);
  min-height: 22rem;
  border: 0;
}

.site-footer {
  background: var(--primary-deep);
  color: oklch(0.9 0.02 200);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  font-family: var(--font-display);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer a {
  color: oklch(0.97 0.01 200);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticket {
    transform: none;
  }
}
