:root {
  --ink: #15171a;
  --ink-2: #23262b;
  --text: #2b2e33;
  --muted: #6b7078;
  --line: #e4e1dc;
  --paper: #ffffff;
  --sand: #f5f3ef;
  --red: #d7262e;
  --red-dark: #a91c23;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 28px rgba(20,22,26,.08);
  --font: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 10px; }
.eyebrow-red { color: var(--red); }
.eyebrow-red::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-lg { width: 30px; height: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; border-radius: 10px; font: 600 15px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.nav-cta:hover .ic { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 52px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.brand-text small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.6); }
.brand-light .logo-mark path { fill: #6b6f76; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 8px; color: var(--text); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--red); }
.nav-cta { margin-left: 10px; padding: 10px 14px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { background: var(--ink); color: #c9ccd1; padding: 72px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 10%, rgba(215,38,46,.18), transparent 60%); pointer-events: none; }
.hero h1 { color: #fff; }
.hero .accent { color: #ff5a60; }
.hero .lead { color: #aeb2b8; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; min-height: 440px; }
.hm { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { inset: 0 0 70px 60px; }
.hm-2 { left: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; border: 5px solid var(--ink); }
.hero-badge { position: absolute; right: 18px; bottom: 30px; background: var(--red); color: #fff; padding: 14px 18px; border-radius: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.hero-badge b { font-size: 36px; line-height: 1; font-weight: 800; }
.hero-badge span { font-size: 13px; line-height: 1.3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.stats > div { padding: 28px 20px 32px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stats dt { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: #fff; line-height: 1; }
.stats dd { margin: 8px 0 0; font-size: 14px; color: #9a9ea5; }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding-top: 32px; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--ink); color: #b9bcc2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 44px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; text-decoration: none; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow .ic { transition: transform .2s; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.service .ic { color: var(--red); margin-bottom: 18px; }
.service p { color: var(--muted); margin: 0; font-size: 15px; }

/* Project cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(20,22,26,.14); }
.pcard-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-count { position: absolute; right: 12px; bottom: 12px; background: rgba(21,23,26,.75); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.pcard-body { padding: 18px 22px 22px; }
.pcard-body .eyebrow { margin-bottom: 4px; font-size: 12px; }
.pcard-body h3 { margin-bottom: 4px; }
.pcard-body p { margin: 0; font-size: 14px; }
.pcard.is-hidden { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 500 14px var(--font); padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-copy p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: var(--ink-2); }
.step-n { display: block; font-size: 14px; font-weight: 800; color: var(--red); margin-bottom: 18px; }
.step p { margin: 0; font-size: 15px; color: #9a9ea5; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: #fbe9ea; color: var(--red); }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.sub-note { font-size: 14px; color: var(--muted); background: var(--sand); padding: 14px 16px; border-radius: 10px; border-left: 3px solid var(--red); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form { padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: 15px var(--font); padding: 12px 14px; border: 1px solid #d4d1cb; border-radius: 10px; background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,38,46,.15); }
.form-note { font-size: 13px; margin: 12px 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 15px; font-weight: 500; }
.form-status.is-ok { background: #e8f5ec; color: #1d6b37; }
.form-status.is-err { background: #fdecec; color: #a3191f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: wait; }
.map { margin-top: 56px; overflow: hidden; height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Page hero / CTA */
.page-hero { background: var(--ink); padding: 72px 0 64px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #aeb2b8; }
.cta-band { padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; }

/* Footer */
.site-footer { background: #0e0f11; color: #8d9198; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 36px; }
.footer-note { margin: 0; max-width: 40ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-base a { color: #c9ccd1; text-decoration: none; }
.footer-links a:hover, .footer-base a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }

/* Lightbox */
.lightbox { padding: 0; border: 0; width: min(1280px, 96vw); max-width: none; height: min(820px, 92vh); max-height: none; border-radius: var(--radius); background: #0e0f11; color: #c9ccd1; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 1fr 360px; }
.lightbox::backdrop { background: rgba(8,9,10,.82); backdrop-filter: blur(4px); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; background: #000; min-height: 0; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: 13px; background: rgba(0,0,0,.6); padding: 4px 12px; border-radius: 99px; color: #fff; }
.lb-info { padding: 32px 28px; overflow-y: auto; }
.lb-info h2 { color: #fff; font-size: 22px; }
.lb-h { color: #fff; font-size: 15px; margin-top: 22px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.07); }
.lb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 24px; }
.lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; opacity: .6; transition: opacity .2s; }
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs button.is-active { border-color: var(--red); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-open { overflow: hidden; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; padding: 14px; }
  .hero { padding-top: 48px; }
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 4/3.2; }
  .hm-1 { inset: 0 0 50px 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .about { gap: 36px; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 55% 45%; width: 100vw; height: 100dvh; border-radius: 0; }
  .lb-info { padding: 22px 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .services, .pgrid, .steps { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .form { padding: 22px; }
  .hero-badge { right: 8px; bottom: 16px; padding: 10px 14px; }
  .hero-badge b { font-size: 28px; }
  .stats > div { padding: 22px 12px 24px 0; }
  .stats > div + div { padding-left: 14px; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .map { height: 280px; }
  .brand-text small { display: none; }
}
