/* RedAxis — სტილი */
:root {
  --paper: #F6F5F2;
  --paper-2: #EDEBE6;
  --white: #FFFFFF;
  --ink: #0E0F12;
  --ink-2: #3A3D44;
  --muted: #6B6E76;
  --line: rgba(14, 15, 18, .12);
  --line-strong: rgba(14, 15, 18, .24);
  --red: #D7261E;
  --red-dark: #B01D16;
  --dark: #111215;
  --dark-2: #1B1D22;
  --on-dark: #F2F1EE;
  --on-dark-muted: #A3A6AD;
  --radius: 4px;
  --wrap: 1200px;
  --font: "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
/* ერთნაირი ფერები ყველა მოწყობილობაზე.
   Samsung Internet / Chrome-ის იძულებითი მუქი რეჟიმი საიტს ფერებს უცვლის, თუ საიტი
   თვითონ არ აცხადებს მუქი რეჟიმის მხარდაჭერას. ვაცხადებთ — და მუქ რეჟიმშიც იგივე ფერებს ვაჩვენებთ. */
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #F6F5F2; --paper-2: #EDEBE6; --white: #FFFFFF; --ink: #0E0F12; --ink-2: #3A3D44; --muted: #6B6E76;
    --line: rgba(14, 15, 18, .12); --line-strong: rgba(14, 15, 18, .24); --red: #D7261E; --red-dark: #B01D16;
    --dark: #111215; --dark-2: #1B1D22; --on-dark: #F2F1EE; --on-dark-muted: #A3A6AD;
  }
  html, body { background: var(--paper); color: var(--ink); }
  .form input, .form select, .form textarea, .search input, .search-field input { background-color: var(--paper); color: var(--ink); }
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
img { -webkit-user-drag: none; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .14em; font-size: 15px; }
.logo svg { width: 26px; height: 26px; }
.logo b { color: var(--red); font-weight: 800; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--red); transition: width .2s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: none; border-radius: var(--radius); position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Search ---------- */
.search-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: none; display: grid; place-items: center; color: inherit; transition: background .15s, color .15s, border-color .15s;
}
.search-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.home .site-header:not(.scrolled) .search-btn { border-color: rgba(255,255,255,.45); }
body.home .site-header:not(.scrolled) .search-btn:hover { background: #fff; color: var(--ink); }
html.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(14,15,18,.55); backdrop-filter: blur(4px); }
.search-sheet { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); padding: 22px 0 26px; animation: sheetIn .2s ease-out; }
@keyframes sheetIn { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding: 6px 0 12px; color: var(--ink); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: var(--ink); outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field kbd { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 6px; }
.search-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; font-size: 20px; line-height: 1; }
.search-close:hover { border-color: var(--ink); }
.search-results { max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); overflow: auto; padding-top: 18px; overscroll-behavior: contain; }
.sr-group + .sr-group { margin-top: 22px; }
.sr-group h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin: 0 0 10px; }
.sr-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-brands a { display: inline-flex; flex-direction: column; gap: 1px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); text-decoration: none; min-width: 150px; }
.sr-brands a:hover { border-color: var(--ink); }
.sr-brands b { letter-spacing: .06em; font-size: 14px; }
.sr-brands span { font-size: 12px; color: var(--muted); }
.sr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.sr-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color .15s; }
.sr-item:hover, .sr-item:focus-visible { border-color: var(--ink); outline: none; }
.sr-img { width: 64px; height: 64px; display: grid; place-items: center; background: var(--white); }
.sr-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sr-text { display: flex; flex-direction: column; min-width: 0; }
.sr-meta { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.sr-model { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.sr-item mark, .sr-brands mark { background: color-mix(in srgb, var(--red) 20%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }
.sr-empty, .sr-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Common bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.coord { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.label { font-family: var(--mono); font-size: 12.5px; color: var(--red); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); padding: 3px 10px; border-radius: 999px; }

.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--on-dark-muted); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 22ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col .section-head { margin-bottom: 0; }
.prose p { font-size: 17.5px; color: var(--ink-2); }

/* ---------- Hero (full-screen) ---------- */
body.home .site-header { position: fixed; left: 0; right: 0; }
body.home .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; color: #fff; }
body.home .site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.86); }
body.home .site-header:not(.scrolled) .nav a:hover { color: #fff; }
body.home .site-header:not(.scrolled) .lang { border-color: rgba(255,255,255,.4); }
body.home .site-header:not(.scrolled) .lang button { color: rgba(255,255,255,.75); }
body.home .site-header:not(.scrolled) .lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
body.home .site-header:not(.scrolled) .burger { border-color: rgba(255,255,255,.45); }
body.home .site-header:not(.scrolled) .burger span { background: #fff; }

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #0B0C0F; color: #fff; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active img, .hero__slide.is-active video { animation: heroZoom 9s ease-out forwards; }
/* პრიალა ფოლადი (DIMEDA): ინვერსიის შემდეგ გაღიავება, რომ იარაღივით ნათელი სილუეტი გამოვიდეს */
.hero__slide--blueprint.bp-steel img { --bp-filter: grayscale(1) invert(1) contrast(3.6) brightness(1.05); filter: var(--bp-filter); opacity: .95; }
.hero__slide--blueprint.bp-steel { padding: 8vh 6vw 14vh 42vw; }
.hero__slide--photo img, .hero__slide--video video { filter: brightness(.5) contrast(1.08); }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* პროდუქტის ("ნახაზის") ანიმაცია: შემოდის მარჯვნიდან, შემდეგ ნელა მოძრაობს */
.hero__slide--blueprint img { transform: translateX(8%) scale(1.08); }
.hero__slide--blueprint.is-active img {
  animation: bpEnter 1.6s cubic-bezier(.2,.7,.2,1) both, bpDrift 7s ease-in-out 1.6s infinite alternate;
}
@keyframes bpEnter {
  0%   { transform: translateX(8%) scale(1.08); filter: var(--bp-filter) blur(6px); }
  100% { transform: translateX(0) scale(1); filter: var(--bp-filter) blur(0); }
}
@keyframes bpDrift {
  from { transform: translateX(0) scale(1) rotate(0deg); }
  to   { transform: translateX(-2.5%) scale(1.04) rotate(-1.2deg); }
}

/* ფოტოს გარეშე: პროდუქტი "ნახაზის" სტილში მუქ ფონზე */
.hero__slide--blueprint { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center end; padding: 12vh 4vw 22vh 38vw; background: #0B0C0F; }
.hero__slide--blueprint img {
  width: 100%; height: 100%; object-fit: contain;
  --bp-filter: invert(1) hue-rotate(180deg) contrast(1.3) brightness(.92);
  filter: var(--bp-filter);
  mix-blend-mode: screen; opacity: .92;
}

.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,12,15,.55) 0%, rgba(11,12,15,0) 22%),
    linear-gradient(0deg, rgba(11,12,15,.92) 0%, rgba(11,12,15,.55) 32%, rgba(11,12,15,0) 62%),
    linear-gradient(90deg, rgba(11,12,15,.55) 0%, rgba(11,12,15,0) 55%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero__content { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; padding-bottom: 28px; }
.hero__text { max-width: 900px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 18px; }
.hero__title {
  font-size: clamp(38px, 6.4vw, 96px); font-weight: 800; line-height: 1.02; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0; color: #fff;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__lead { margin: 22px 0 0; max-width: 56ch; font-size: 17px; color: rgba(255,255,255,.78); }

.hero__circle {
  flex: none; width: 148px; height: 148px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; font-weight: 600; font-size: 15px; line-height: 1.25; padding: 18px;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.hero__circle-arrow { font-size: 20px; transition: transform .25s; }
.hero__circle:hover { background: var(--red); border-color: var(--red); transform: scale(1.04); }
.hero__circle:hover .hero__circle-arrow { transform: translate(3px, -3px); }

.hero__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; padding-bottom: 22px;
  font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .04em;
}
.hero__caption { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__caption a { color: #fff; text-decoration: none; }
.hero__caption a:hover { color: var(--red); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.3); border-radius: 2px; position: relative; overflow: hidden; }
.hero__dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotFill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__coords { white-space: nowrap; }

/* ციფრების ზოლი ჰეროს ქვემოთ */
.stats-band { border-bottom: 1px solid var(--line); background: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; }
.stats div { padding: 28px 24px 28px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--mono); font-size: 34px; font-weight: 500; line-height: 1.1; }
.stats dd { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Services ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper-2); padding: 32px 28px 36px; transition: background .2s; }
.card:hover { background: var(--white); }
.card__n { font-family: var(--mono); font-size: 12px; color: var(--red); display: block; margin-bottom: 40px; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.brand-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.brand-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.brand-card__media { aspect-ratio: 16/10; background: var(--white); display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.brand-card__media { grid-template: minmax(0, 1fr) / minmax(0, 1fr); overflow: hidden; }
.brand-card__media img { width: 100%; height: 100%; object-fit: contain; }
.brand-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: 13.5px; }
.brand-card__media { padding: 18px !important; }
.brand-card .badge { font-size: 11.5px; padding: 2px 9px; }
.brand-card__link { font-size: 13.5px !important; padding-top: 12px !important; }
.brand-card--empty { min-height: 260px !important; }
.brand-card__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.brand-card__name { font-size: 26px; letter-spacing: .08em; margin: 4px 0 0; }
.brand-card__logo { height: 44px; margin: 8px 0 2px; display: flex; align-items: center; }
.brand-card__logo img, .brand-hero__logo img {
  max-height: 100%; max-width: 72%; width: auto; object-fit: contain; object-position: left center;
  mix-blend-mode: multiply; filter: brightness(1.08) contrast(1.06); /* ლოგოს ღია რუხ ფონს თეთრში ფანტავს */
}
.brand-hero .kicker { display: flex; width: fit-content; }
.brand-hero__logo {
  display: flex; width: fit-content; align-items: center; height: 84px; padding: 14px 22px; margin: 0 0 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-hero__logo img { height: 100%; width: auto; max-width: min(240px, 60vw); }
.brand-card__sector { color: var(--ink-2); margin: 0 0 6px; font-size: 14.5px; }
.brand-card .badge { align-self: flex-start; }
.brand-card__link { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14.5px; }
.brand-card--empty { border-style: dashed; border-color: var(--line-strong); background: transparent; align-items: center; justify-content: center; min-height: 320px; color: var(--muted); text-align: center; gap: 14px; }
.axis-mark { width: 64px; height: 64px; border-left: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); position: relative; font-family: var(--mono); font-size: 11px; }
.axis-mark span:first-child { position: absolute; right: -14px; bottom: -8px; }
.axis-mark span:last-child { position: absolute; left: -6px; top: -18px; }

/* ---------- Partner steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.steps span { font-family: var(--mono); font-size: 12px; color: var(--red); }
.steps h3 { font-size: 18px; margin-top: 10px; color: var(--on-dark); }
.steps p { font-size: 14.5px; margin: 0; }

/* ---------- Contact ---------- */
.contact-list { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 15.5px; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: transparent; background: var(--white); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__note { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-inner a { text-decoration: none; color: var(--ink-2); }
.logo--sm { font-size: 13px; }

/* ---------- Brand page ---------- */
.brand-hero { padding: 56px 0 80px; border-bottom: 1px solid var(--line); }
.brand-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.crumb { display: table; font-size: 14px; text-decoration: none; color: var(--muted); margin-bottom: 32px; }
.crumb:hover { color: var(--ink); }
.brand-hero__name { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: .06em; margin-bottom: 8px; }
.brand-hero__tag { font-size: 20px; color: var(--ink-2); max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 28px 14px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.brand-hero__about { color: var(--ink-2); max-width: 60ch; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.brand-hero__media { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; padding: 32px; }
.brand-hero__media img { max-height: 100%; object-fit: contain; }
.brand-hero__media .coord { position: absolute; }
.coord--tl { top: 12px; left: 14px; } .coord--br { bottom: 12px; right: 14px; }

.filters { display: grid; gap: 16px; margin-bottom: 32px; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line-strong); }
.tab { border: 0; background: none; padding: 12px 20px 14px; font-weight: 600; font-size: 15px; color: var(--muted); position: relative; display: inline-flex; gap: 8px; align-items: baseline; }
.tab span { font-family: var(--mono); font-size: 11.5px; font-weight: 400; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.subtab { border: 1px solid var(--line-strong); background: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 13.5px; }
.subtab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search input { width: 100%; max-width: 420px; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.search input:focus { outline: 2px solid var(--red); outline-offset: -1px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.product:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.product:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.product__media { aspect-ratio: 1/1; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.product__media img { max-height: 100%; object-fit: contain; transition: transform .3s; }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product__cat { font-family: var(--mono); font-size: 11.5px; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.product__model { font-family: var(--mono); font-size: 20px; font-weight: 500; }
.product__title { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.product__more { margin-top: auto; padding-top: 12px; font-size: 13.5px; font-weight: 600; }
.noimg-box { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--paper-2) 10px 20px); border-radius: 2px; }
.empty { color: var(--muted); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); color: var(--on-dark); }
.cta-band p { margin: 0; max-width: 56ch; }
.section--dark .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.3); }

/* ---------- Product dialog ---------- */
.product-dialog { color: var(--ink); border: 0; padding: 0; background: transparent; max-width: min(1040px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); }
.product-dialog::backdrop { background: rgba(14,15,18,.6); backdrop-filter: blur(3px); }
.dlg { position: relative; background: var(--white); border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 32px); overflow: auto; }
.dlg__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 50%; font-size: 22px; line-height: 1; z-index: 2; }
.dlg__close:hover { border-color: var(--ink); }
.dlg__media { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.dlg__main { aspect-ratio: 1/1; display: grid; place-items: center; }
.dlg__main img { max-height: 100%; object-fit: contain; }
.dlg__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.dlg__thumbs button { width: 64px; height: 64px; padding: 4px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.dlg__thumbs button[aria-pressed="true"] { border-color: var(--red); }
.dlg__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.dlg__info { padding: 36px 32px 32px; }
.dlg__info h3 { font-size: 24px; margin-top: 8px; padding-right: 40px; }
.dlg__model { font-family: var(--mono); color: var(--muted); margin-top: -4px; }
.dlg__info h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 24px 0 8px; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.docs { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.docs a { font-size: 14px; text-decoration: none; color: var(--ink-2); }
.docs a:hover { color: var(--red); }
.dlg__info .btn { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .brand-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .brand-hero__media { order: -1; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header-tools { margin-left: auto; }
  body.home .site-header:not(.scrolled) .nav a { color: var(--ink-2); }
  body.home .site-header:has(.nav.open) { background: var(--paper); color: var(--ink); }
  body.home .site-header:has(.nav.open) .burger span { background: var(--ink); }
  .hero__content { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__circle { width: 112px; height: 112px; font-size: 13px; align-self: flex-end; margin-top: -8px; }
  /* ტელეფონზე პროდუქტი ტექსტის ზემოთაა — სრული სიკაშკაშით, როგორც ლეპტოპზე */
  .hero__slide--blueprint, .hero__slide--blueprint.bp-steel { padding: 11vh 5vw 56vh 5vw; place-items: center; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .dlg { grid-template-columns: 1fr; }
  .dlg__media { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero__lead { font-size: 15px; }
  .header-tools { gap: 8px; }
  .search-field kbd { display: none; }
  .sr-list { grid-template-columns: 1fr; }
  .hero__coords { display: none; }
  .stats div { padding: 20px 10px 20px 0; }
  .cards4, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div { padding-right: 10px; } .stats div + div { padding-left: 12px; }
  .stats dt { font-size: 26px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts div { padding-right: 10px; } .facts div + div { padding-left: 12px; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 22px; }
  .brand-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product__media { padding: 12px; }
  .product__body { padding: 12px; }
  .product__model { font-size: 16px; }
  .product__title { font-size: 13px; }
  .hero-axis { display: none; }
  .dlg__info { padding: 28px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
