/* ==========================================================================
   ZIPI.GE — სტილები
   სამი ნაწილი: 1) ტოკენები  2) კომპონენტები  3) სექციები
   საიტი მუქ თემაზეა აწყობილი, ღია თემა მისი ინვერსიაა. ფერს ან ზომას რომ
   შეცვლი, ჯერ ტოკენებში ეძებე: თითო მნიშვნელობა ერთხელაა გამოცხადებული.
   ========================================================================== */

/* --- 1. ტოკენები: მუქი თემა (ძირითადი) ---------------------------------- */
:root {
  --ground: #0c0d10;
  --ground-2: #101216;
  --card: #171a1f;
  --card-2: #1c2027;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f5f8;
  --ink-2: #c6cdd6;
  --muted: #7f8895;

  --accent: #ff5b2e;
  --accent-ink: #1a0700;
  --accent-glow: rgba(255, 91, 46, 0.22);

  --ok: #43cf90;
  --wait: #e6ac54;

  /* პროდუქტის ფოტოს ფირფიტა: ორივე თემაში ღიაა, რადგან ქარხნული ფოტოების
     ნაწილი თეთრ ფონზეა გადაღებული და მუქ კარტზე თეთრი ლაქა გამოჩნდებოდა.
     მუქ თემაზე ოდნავ ჩამუქებულია, რომ თვალს არ ეჭრებოდეს */
  --plate-1: #ffffff;
  --plate-2: #dfe4ea;
  --plate-line: rgba(0, 0, 0, 0.08);

  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --r: 22px;
  --r-sm: 14px;
  --r-xs: 10px;
  --rail: clamp(16px, 4vw, 44px);
  --max: 1300px;

  --ka: "Noto Sans Georgian", system-ui, sans-serif;
  --lat: "Nunito", "Noto Sans Georgian", system-ui, sans-serif;
}

/* ღია თემა: სისტემურად არჩეული, თუ მომხმარებელს ხელით მუქი არ აურჩევია */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #eef0f4;
    --ground-2: #e5e8ee;
    --card: #ffffff;
    --card-2: #f7f8fa;
    --line: rgba(12, 16, 22, 0.09);
    --line-2: rgba(12, 16, 22, 0.18);
    --ink: #10141a;
    --ink-2: #38414c;
    --muted: #6b7580;
    --accent: #e2410f;
    --accent-ink: #ffffff;
    --accent-glow: rgba(226, 65, 15, 0.16);
    --ok: #157f52;
    --wait: #8c5710;
    --plate-1: #ffffff;
    --plate-2: #e6eaef;
    --plate-line: rgba(0, 0, 0, 0.06);
    --shadow: 0 20px 50px -28px rgba(16, 20, 26, 0.45);
  }
}
/* ღია თემა: ხელით არჩეული — სისტემის პარამეტრს გადაწონის */
:root[data-theme="light"] {
  --ground: #eef0f4;
  --ground-2: #e5e8ee;
  --card: #ffffff;
  --card-2: #f7f8fa;
  --line: rgba(12, 16, 22, 0.09);
  --line-2: rgba(12, 16, 22, 0.18);
  --ink: #10141a;
  --ink-2: #38414c;
  --muted: #6b7580;
  --accent: #e2410f;
  --accent-ink: #ffffff;
  --accent-glow: rgba(226, 65, 15, 0.16);
  --ok: #157f52;
  --wait: #8c5710;
  --plate-1: #ffffff;
  --plate-2: #e6eaef;
  --plate-line: rgba(0, 0, 0, 0.06);
  --shadow: 0 20px 50px -28px rgba(16, 20, 26, 0.45);
}

/* --- 2. საბაზისო -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ka);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* ორი სუსტი შუქი ფონზე, რომ შავი ერთფეროვანი არ იყოს */
  background-image:
    radial-gradient(900px 500px at 78% -6%, var(--accent-glow), transparent 70%),
    radial-gradient(700px 420px at 8% 34%, rgba(120, 160, 255, 0.07), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:where(a, button, select, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.lat { font-family: var(--lat); }
.num { font-family: var(--lat); font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--rail); }

.skip { position: absolute; left: -9999px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 18px; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.06; text-wrap: balance; font-family: var(--ka); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
p { margin: 0; }

.eyebrow {
  font-family: var(--lat);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { color: var(--muted); font-size: clamp(0.98rem, 1.2vw, 1.1rem); max-width: 56ch; }

/* --- ღილაკები ----------------------------------------------------------- */
.btn {
  --bg: var(--accent);
  --fg: var(--accent-ink);
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--accent); --fg: var(--accent); filter: none; }
.btn--soft { --bg: var(--card-2); --fg: var(--ink); --bd: var(--line); }
.btn--soft:hover { --bd: var(--line-2); filter: none; }
.btn--sm { padding: 10px 17px; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* --- 3. ჰედერი --------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1; flex: none; }
.logo__mark { font-family: var(--lat); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.logo__mark span { color: var(--accent); }
.logo__sub { font-size: 0.6rem; letter-spacing: 0.05em; color: var(--muted); margin-top: 5px; }

.nav { display: flex; gap: clamp(8px, 1.4vw, 22px); margin-inline-start: auto; }
.nav a { white-space: nowrap; font-size: 0.92rem; color: var(--ink-2); padding: 8px 4px; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ენა და თემა: ორივე პატარა სეგმენტური გადამრთველია */
.seg { display: flex; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; flex: none; }
.seg button {
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  font-family: var(--lat);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--card-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.seg--theme button { padding: 6px 9px; font-size: 0.8rem; line-height: 1; }

.top__tel { font-family: var(--lat); font-variant-numeric: tabular-nums; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.top__burger { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer; margin-inline-start: auto; }

@media (max-width: 1320px) { .top__tel { display: none; } }
@media (max-width: 1150px) {
  .nav { display: none; }
  .nav--open {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 72px;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 8px var(--rail) 18px; gap: 0; margin: 0;
  }
  .nav--open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .top__burger { display: block; }
}
@media (max-width: 640px) {
  .top .btn { display: none; }
  .seg--lang button { padding: 6px 8px; }
}
/* ვიწრო ეკრანზე ჰედერის ორი გადამრთველი ერთ ხაზზე უნდა ჩაჯდეს */
@media (max-width: 520px) {
  .top__in { gap: 8px; }
  .logo__sub { display: none; }
  .seg { padding: 2px; }
  .seg button { padding: 6px 7px; font-size: 0.67rem; }
  .seg--theme button { padding: 6px 6px; }
}

/* --- ჰერო -------------------------------------------------------------- */
.hero { padding-block: clamp(30px, 5vw, 66px) clamp(24px, 3vw, 40px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__marks { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--lat); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; color: var(--muted); }

/* ფლაგმანების ბარათი — ბენტოს ყველაზე დიდი ფილა */
.flag { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow); }
.flag__stage { position: relative; aspect-ratio: 16 / 11; }
.flag__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s ease; display: flex; flex-direction: column; gap: 12px; }
.flag__slide[data-on="1"] { opacity: 1; visibility: visible; }
.flag__plate {
  position: relative;
  flex: 1;
  border-radius: var(--r-sm);
  background: var(--plate-1);
  border: 1px solid var(--plate-line);
  overflow: hidden;
}
/* multiply: ქარხნული ფოტოების თეთრი ფონი ფირფიტაში ითქვიფება და კიდე არ ჩანს */
.flag__plate img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.flag__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.flag__brand { font-family: var(--lat); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent); }
.flag__name { font-family: var(--lat); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.flag__price { text-align: right; font-family: var(--lat); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.flag__price small { display: block; font-family: var(--ka); font-size: 0.62rem; font-weight: 400; letter-spacing: 0.1em; color: var(--muted); }
.flag__dots { display: flex; gap: 4px; margin-top: 14px; flex-wrap: wrap; }
.flag__dot {
  flex: 1 1 0; min-width: 74px; background: none; border: 0; border-top: 2px solid var(--line);
  padding: 9px 2px 0; font-family: var(--lat); font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.14em; color: var(--muted); cursor: pointer; text-align: left;
  transition: color 0.2s, border-color 0.2s;
}
.flag__dot[aria-selected="true"] { color: var(--ink); border-top-color: var(--accent); }
.flag__dot:hover { color: var(--ink); }

@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; } .flag { order: -1; } }

/* --- ციფრების ზოლი ------------------------------------------------------ */
.strip__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.strip__cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.strip__n { font-family: var(--lat); font-variant-numeric: tabular-nums; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.strip__l { font-size: 0.78rem; color: var(--muted); }

/* --- სექციის თავი ------------------------------------------------------- */
.sec { padding-block: clamp(44px, 6vw, 86px); }
.sec--tight { padding-block: clamp(20px, 3vw, 34px); }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 34px); }
.sec__head > div { display: flex; flex-direction: column; gap: 12px; }

/* --- ვიდეო -------------------------------------------------------------- */
.vid__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.vid__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* პლეერამდე მხოლოდ სურათი და ღილაკი ჩანს */
.vid__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(150deg, var(--card-2), var(--ground-2));
  cursor: pointer;
  display: grid;
  place-items: center;
}
.vid__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__play {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}
.vid__play svg { margin-inline-start: 3px; }
.vid__facade:hover .vid__play { transform: scale(1.08); }
.vid__copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.vid__name { font-weight: 700; font-size: 0.95rem; }

@media (max-width: 900px) { .vid__in { grid-template-columns: 1fr; } }

/* --- ბრენდების ბენტო ---------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bento > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento > :nth-child(2) { grid-column: span 2; }
.tile {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.2vw, 30px);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
/* ტექსტი ფოტოს ზემოთ დგას და სიგანეც შეზღუდულია, რომ ფოტოს არ შეეხოს */
.tile > * { position: relative; z-index: 1; max-width: 60%; }
.bento > :nth-child(1) > * { max-width: 54%; }
.tile__name { font-family: var(--lat); font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.tile__count { font-family: var(--lat); font-variant-numeric: tabular-nums; font-size: 0.95rem; color: var(--muted); font-weight: 700; }
.tile__tag { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; }
.tile__from { margin-top: auto; font-family: var(--lat); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.05rem; }
/* ფოტო მრგვალ ფირფიტაზე, ფილის ქვედა კუთხიდან "გამოდის" — ბენტოს ხრიკი.
   მრგვალი ღია ფონი საჭიროა, რადგან ქარხნული ფოტოები თეთრ ფონზეა გადაღებული */
.tile__shot {
  position: absolute;
  right: -5%;
  bottom: -12%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--plate-1);
  box-shadow: 0 0 0 1px var(--plate-line), 0 24px 50px -20px rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
}
.bento > :nth-child(1) .tile__shot { width: 42%; right: 4%; bottom: -6%; }
.tile__shot img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s ease; }
.tile:hover .tile__shot img { transform: scale(1.05) rotate(-2deg); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > :nth-child(1) { grid-column: span 2; grid-row: auto; }
  .bento > :nth-child(2) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento > :nth-child(1), .bento > :nth-child(2) { grid-column: span 1; }
  .tile__shot { width: 46%; }
}

/* --- ფილტრები ---------------------------------------------------------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px; font-size: 0.85rem; font-weight: 700; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip .lat { font-size: 0.78rem; letter-spacing: 0.08em; }
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.sort select {
  font-family: var(--ka); font-size: 0.85rem; padding: 10px 14px; background: var(--card);
  color: var(--ink); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}

/* --- პროდუქტის ბარათი -------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 12px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card__plate {
  position: relative; aspect-ratio: 4 / 3; width: 100%; padding: 0; cursor: pointer;
  border: 1px solid var(--plate-line); border-radius: var(--r-sm);
  background: var(--plate-1);
  overflow: hidden; display: block;
}
.card__plate img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.3s ease; }
.card:hover .card__plate img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink);
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; padding: 5px 10px; border-radius: 999px;
}
.card__body { display: flex; flex-direction: column; gap: 9px; flex: 1; padding-inline: 4px; }
.card__brand { font-family: var(--lat); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.2em; color: var(--muted); }
.card__name { font-family: var(--lat); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.specs { display: flex; flex-wrap: wrap; gap: 5px; }
.spec { font-size: 0.7rem; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stock { font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--order { color: var(--wait); }

.card__price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-family: var(--lat); font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.025em; display: flex; align-items: baseline; gap: 8px; }
.price s { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.price__mo { font-size: 0.72rem; color: var(--muted); }
.price__mo b { font-family: var(--lat); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.card__acts { display: flex; gap: 6px; margin-top: 12px; }
.card__acts .btn { flex: 1; }

.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* --- სერვისი ----------------------------------------------------------- */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.svc__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.svc__item span { font-family: var(--lat); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; color: var(--accent); }
.svc__item p { color: var(--muted); font-size: 0.87rem; }

/* --- ჩვენ შესახებ და კონტაქტი ------------------------------------------ */
.about__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2.4vw, 34px); align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.facts { display: flex; flex-direction: column; gap: 0; width: 100%; }
.fact { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: 0.79rem; color: var(--muted); }
.fact dd { margin: 0; font-weight: 700; font-size: 0.92rem; }

/* --- ფუტერი ------------------------------------------------------------ */
.foot { border-top: 1px solid var(--line); padding-block: clamp(34px, 4vw, 56px) 22px; margin-top: clamp(24px, 4vw, 50px); }
.foot__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; }
.foot h4 { font-family: var(--lat); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot__bar { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.74rem; color: var(--muted); }

/* --- ფანჯრები ---------------------------------------------------------- */
dialog {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink);
  padding: 0; width: 100%; max-width: min(1020px, calc(100vw - 20px));
  max-height: min(92vh, 920px); box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(4, 6, 9, 0.72); backdrop-filter: blur(4px); }
.sheet__x {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; line-height: 1;
}
.sheet__x:hover { border-color: var(--accent); color: var(--accent); }
.sheet { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.sheet__media { padding: clamp(16px, 2vw, 22px); display: flex; flex-direction: column; gap: 10px; }
.sheet__big {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm);
  background: var(--plate-1); border: 1px solid var(--plate-line); overflow: hidden;
}
.sheet__big img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.sheet__thumbs { display: flex; gap: 8px; }
.sheet__thumbs button {
  flex: 1; aspect-ratio: 4 / 3; border: 1px solid var(--plate-line); border-radius: var(--r-xs);
  background: var(--plate-1); cursor: pointer; padding: 5px;
}
.sheet__thumbs button[aria-current="true"] { border-color: var(--accent); }
.sheet__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sheet__info { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 13px; overflow-y: auto; }
.sheet__name { font-family: var(--lat); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.sheet__blurb { font-size: 0.92rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.table th, .table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.table th { font-weight: 400; color: var(--muted); font-size: 0.81rem; }
.table td { font-weight: 700; text-align: right; font-family: var(--lat); font-variant-numeric: tabular-nums; }
.sheet__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sheet__acts .btn { flex: 1 1 140px; }
.note { font-size: 0.73rem; color: var(--muted); }

@media (max-width: 820px) { .sheet { grid-template-columns: 1fr; } }

/* --- ზარის ფორმა ------------------------------------------------------- */
.callform { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; max-width: 470px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--ka); font-size: 0.95rem; padding: 12px 14px; background: var(--ground-2);
  color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-xs); resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field--bad input { border-color: var(--accent); }
.field__err { font-size: 0.74rem; color: var(--accent); min-height: 1em; }
.done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* --- გამოჩენა ---------------------------------------------------------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .rise { opacity: 1; transform: none; }
}
