/* ORIGIN Tech — შიდა გვერდები მთავარი გვერდის სტილში (იტვირთება portal.css-ის შემდეგ)
   ჰედერი: ლოგო + ნომრიანი მენიუ + ტელეფონი, ენა, თემა. თავი: დიდი სათაური და ფონზე დიდი ნომერი.
   შიგთავსი: ფილები თხელი ხაზებით, მიტანისას ფილა განყოფილების ფრად იღებება.
   ფუტერი — იგივე, რაც მთავარზე (portal.css → .sf). */

/* ======================= საერთო ======================= */
body.inner-page {
    background: var(--base-bg);
    color: var(--base-fg);
    font-family: var(--head-font);
    --line: rgba(var(--base-fg-rgb), 0.12);
    /* განყოფილების ფერი: სერვისი — ნარინჯისფერი, პროგრამირება — ღია (როგორც მთავარ გვერდზე) */
    --sec-bg: var(--accent);
    --sec-fg: var(--ink);
}
/* ძველი სტილების (style.css / service.css) ცვლადები — ახალ ფერებზე მიბმული, რომ ორივე თემაში სწორად ჩანდეს */
body.inner-page {
    --page-bg: var(--base-bg);
    --panel-bg: var(--base-bg);
    --white: var(--base-fg);
    --fg-rgb: var(--base-fg-rgb);
    --primary-accent: var(--accent);
    --card-line-neutral: var(--line);
}
/* style.css მთელ გვერდს სხვა ფონტს უწესებდა (!important) და თემის გადამრთველს ფიქსირებულად მალავდა */
html.inner body.inner-page { font-family: var(--head-font) !important; overflow: visible; }
.inner-page .pt-tools .mode-switch { position: relative; inset: auto; transform: none; opacity: 1; z-index: auto; }
body.inner-page[data-page="programming"] { --sec-bg: var(--third-bg); --sec-fg: var(--third-fg); }
body.inner-page[data-theme="light"] { --sec-bg: var(--l2); --sec-fg: var(--base-fg); }

/* ======================= ჰედერი ======================= */
.ip-header { flex-shrink: 0; }
.ip-nav { display: flex; gap: 26px; margin: 0 auto 0 clamp(24px, 4vw, 70px); font-size: 0.66rem; }
.ip-nav-i { color: inherit; text-decoration: none; opacity: 0.78; white-space: nowrap; transition: opacity 0.2s, color 0.2s; }
.ip-nav-i b { margin-right: 8px; font-family: var(--mono-font); font-weight: 700; font-size: 0.55rem; color: var(--accent); }
.ip-nav-i:hover, .ip-nav-i.is-on { opacity: 1; color: var(--accent); }
.ip-nav-i.is-soon { opacity: 0.38; cursor: default; }
.ip-nav-i.is-soon:hover { color: inherit; }
@media (max-width: 1600px) { .ip-nav { display: none; } }   /* ვიწროზე მენიუ ☰-შია (ლოგოს გვერდით) */

/* ======================= შიგთავსი სრულ სიგანეზე ======================= */
.ip-main { position: relative; flex: 1; width: 100%; }

/* ======================= თავი ======================= */
.ip-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 50px var(--pad-x) 46px;
    border-bottom: 1px solid var(--line);
}
.ip-hero .pt-bignum { top: 50%; bottom: auto; right: 3%; font-size: min(14vw, 260px); transform: translateY(-50%); color: var(--accent); opacity: 0.12; }
.ip-hero .pt-code { --rc: var(--accent); --rb: var(--base-bg); position: relative; }
.ip-crumb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.6rem; letter-spacing: 0.5px; }
.ip-crumb a { color: inherit; text-decoration: none; opacity: 0.7; }
.ip-crumb a:hover { opacity: 1; color: var(--accent); }
.ip-crumb i { font-style: normal; font-family: var(--mono-font); opacity: 0.45; }
.ip-title { position: relative; display: flex; flex-direction: column; margin: 0; font-weight: normal; font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1.2; }
.ip-title-alt { color: var(--accent); }
.ip-lead { position: relative; margin: 0; max-width: 60ch; font-family: var(--read-font); font-size: 0.85rem; line-height: 1.7; opacity: 0.65; text-transform: none; }

/* ======================= ფილები ======================= */
/* ხაზები თავად ფილებზეა (მარჯვნივ და ქვემოთ) — ბოლო რიგში ცარიელი ადგილი უბრალოდ ფონია */
.ip-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ip-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 190px;
    padding: 28px 26px 26px;
    overflow: hidden;
    background: var(--base-bg);
    color: inherit;
    text-decoration: none;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.ip-n { position: absolute; top: 22px; right: 24px; font-family: var(--mono-font); font-weight: 700; font-size: 0.62rem; color: var(--accent); }
.ip-ic svg { display: block; width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.ip-tx { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.ip-t { font-size: 0.92rem; line-height: 1.35; }
.ip-s { font-size: 0.62rem; line-height: 1.6; opacity: 0.6; }
.ip-tag { margin-left: 10px; padding: 3px 8px; border: 1px dashed currentColor; font-style: normal; font-size: 0.5rem; vertical-align: middle; white-space: nowrap; }
/* „> გახსნა █“ — მთავარი გვერდის ღილაკის მსგავსად */
.ip-go { display: inline-flex; align-items: center; font-size: 0.66rem; opacity: 0; transition: opacity 0.25s ease; }
.ip-go::before { content: '>'; margin-right: 8px; font-family: var(--mono-font); font-weight: 700; opacity: 0.6; }
.ip-go::after { content: ''; width: 0.55em; height: 1.1em; margin-left: 6px; background: currentColor; animation: ptBlink 1s steps(1) infinite; }

/* გამორჩეული ფილა — ორი ადგილი, განყოფილების ფერით */
.ip-tile.is-feat { grid-column: span 2; background: var(--sec-bg); color: var(--sec-fg); }
.ip-tile.is-feat .ip-n, .ip-tile.is-feat .ip-go { color: inherit; }
.ip-tile.is-feat .ip-go { opacity: 1; }
.ip-tile.is-feat .ip-t { font-size: 1.05rem; }

@media (hover: hover) {
    a.ip-tile:not(.is-feat):hover { background: var(--sec-bg); color: var(--sec-fg); }
    a.ip-tile:not(.is-feat):hover .ip-n { color: inherit; }
    a.ip-tile:hover .ip-go { opacity: 1; }
    a.ip-tile:hover .ip-ic svg { transform: translateY(-3px); }
}
a.ip-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

/* ღია თემა: ფილა ღია ნაცრისფრდება, ნომრები და „გახსნა“ ნარინჯისფერი */
body[data-theme="light"] .ip-tile.is-feat .ip-n,
body[data-theme="light"] .ip-tile.is-feat .ip-go,
body[data-theme="light"] .ip-tile.is-feat .ip-tag { color: var(--accent); }
@media (hover: hover) {
    body[data-theme="light"] a.ip-tile:not(.is-feat):hover .ip-n,
    body[data-theme="light"] a.ip-tile:hover .ip-go { color: var(--accent); }
}

/* ======================= სექციის სათაური (პროგრამირება) ======================= */
.ip-sec-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 22px;
    padding: 56px var(--pad-x) 26px;
    border-bottom: 1px solid var(--line);
}
.ip-sec-head .ip-ic { color: var(--accent); }
.ip-sec-num { display: block; margin-bottom: 8px; font-family: var(--mono-font); font-weight: 700; font-size: 0.6rem; color: var(--accent); }
.ip-sec-title { margin: 0; font-weight: normal; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.ip-sec-lead { margin: 8px 0 0; max-width: 70ch; font-family: var(--read-font); font-size: 0.78rem; line-height: 1.7; opacity: 0.62; text-transform: none; }

/* სერვისის ფილა (სახელი, აღწერა, ფასი) */
.ip-tiles.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-svc { min-height: 0; gap: 12px; cursor: default; }
.ip-svc .ip-t { font-size: 0.86rem; }
.ip-svc .ip-d { margin: 0; font-family: var(--read-font); font-size: 0.74rem; line-height: 1.65; opacity: 0.65; text-transform: none; }
.ip-svc .ip-price { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; align-items: baseline; font-size: 0.6rem; }
.ip-svc .ip-price span:first-child { opacity: 0.5; }
.ip-svc .ip-price span:last-child { color: var(--accent); font-family: var(--mono-font); font-weight: 700; }
.ip-svc .ip-n { position: static; }
.ip-tiles.is-dirs .ip-tile { min-height: 150px; }
.ip-tiles.is-dirs .ip-s { opacity: 0.6; }

/* ======================= „როგორ ვმუშაობთ“ + ზარის ბლოკი + FAQ — ყველა შიდა გვერდზე ======================= */
.ip-main .svc-steps, .ip-main .svc-cta, .ip-main .dev-faq { margin: 0; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.inner-page .svc-steps { padding-top: 60px; padding-bottom: 60px; border: 0; }
.inner-page .svc-steps-title, .inner-page .dev-sec-title { margin: 0 0 30px; font-weight: normal; font-size: 1.1rem; }
.inner-page .svc-steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.inner-page .svc-step { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); background: none; }
.inner-page .svc-step::before, .inner-page .svc-step::after { display: none; }
.inner-page .svc-step-n { font-family: var(--mono-font); font-weight: 700; font-size: 0.62rem; color: var(--accent); }
.inner-page .svc-step-t { font-size: 0.82rem; color: inherit; }
.inner-page .svc-step-d { margin: 0; font-family: var(--read-font); font-size: 0.74rem; line-height: 1.7; opacity: 0.6; color: inherit; }

/* ზარის ბლოკი — განყოფილების ფრად შეღებილი ზოლი სრულ სიგანეზე */
.inner-page .svc-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding-top: 44px; padding-bottom: 44px;
    border: 0; box-shadow: none;
    background: var(--sec-bg); color: var(--sec-fg);
}
.inner-page .svc-cta::before, .inner-page .svc-cta::after { display: none; }
.inner-page .svc-cta-title { margin: 0 0 8px; font-weight: normal; font-size: 1.2rem; color: inherit; }
.inner-page .svc-cta-p { margin: 0; font-family: var(--read-font); font-size: 0.8rem; line-height: 1.6; opacity: 0.75; color: inherit; }
.inner-page .svc-cta-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.inner-page .svc-cta-phone { font-family: var(--mono-font); font-weight: 700; font-size: 1.6rem; letter-spacing: 1px; color: inherit; text-decoration: none; text-shadow: none; }
.inner-page .svc-cta-addr, .inner-page .svc-cta-hours { font-size: 0.62rem; color: inherit; opacity: 0.75; text-decoration: none; }
.inner-page .svc-cta-phone:hover, .inner-page .svc-cta-addr:hover { opacity: 0.7; }
body[data-theme="light"].inner-page .svc-cta-phone { color: var(--accent); }

/* FAQ — რიგები თხელი ხაზებით */
.inner-page .dev-faq { padding-top: 60px; padding-bottom: 20px; }
.inner-page .dev-sec-code { margin-right: 12px; font-family: var(--mono-font); font-weight: 700; font-size: 0.6rem; color: var(--accent); }
.inner-page .dev-faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.inner-page .dev-faq-item { margin: 0; border: 0; border-bottom: 1px solid var(--line); background: none; }
.inner-page .dev-faq-item summary { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.inner-page .dev-faq-item summary::-webkit-details-marker { display: none; }
.inner-page .dev-faq-n { font-family: var(--mono-font); font-weight: 700; font-size: 0.6rem; color: var(--accent); }
.inner-page .dev-faq-q { font-size: 0.82rem; }
.inner-page .dev-faq-a { padding: 0 0 22px 70px; font-family: var(--read-font); font-size: 0.8rem; line-height: 1.75; opacity: 0.75; }
.inner-page .dev-faq-item summary:hover .dev-faq-q { color: var(--accent); }

/* ======================= კონტაქტი ======================= */
.ip-ct .ip-tile { min-height: 220px; cursor: default; }
.ip-ct .ip-ic { color: var(--accent); }
.ip-ct-label { font-size: 0.66rem; opacity: 0.6; }
.ip-ct-big { font-family: var(--mono-font); font-weight: 700; font-size: 1.05rem; letter-spacing: 1px; color: inherit; text-decoration: none; }
.ip-ct-big:hover { color: var(--accent); }
.ip-ct-mail { font-family: var(--mono-font); font-size: 0.74rem; letter-spacing: 0.5px; text-transform: uppercase; color: inherit; text-decoration: none; word-break: break-all; }
.ip-ct-mail:hover { color: var(--accent); }
.ip-ct-val { font-size: 0.82rem; line-height: 1.5; }
.ip-ct-link { align-self: flex-start; font-size: 0.64rem; color: var(--accent); text-decoration: none; }
.ip-ct-link::before { content: '> '; font-family: var(--mono-font); font-weight: 700; }
.ip-ct-link:hover { opacity: 0.75; }
.ip-ct-hours { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 0.66rem; }
.ip-ct-hours div { display: flex; justify-content: space-between; gap: 14px; }
.ip-ct-hours dt { opacity: 0.6; }
.ip-ct-hours dd { margin: 0; font-family: var(--mono-font); font-weight: 700; }
.ip-ct-phones { display: flex; flex-direction: column; gap: 6px; }

/* რუკა — სრულ სიგანეზე, ჩარჩოს და ეფექტების გარეშე */
.ip-map { position: relative; height: clamp(320px, 46vh, 480px); border-bottom: 1px solid var(--line); background: var(--l2, #101114); overflow: hidden; }
.ip-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }
body[data-theme="light"] .ip-map iframe { filter: grayscale(1); }
.ip-map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 0.74rem; }
.ip-map-fallback svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.ip-map-route { position: absolute; z-index: 2; right: var(--pad-x); bottom: 24px; padding: 12px 18px; background: var(--accent); color: var(--ink); font-size: 0.66rem; text-decoration: none; }
.ip-map-route::before { content: '> '; font-family: var(--mono-font); font-weight: 700; }
.ip-map-route:hover { opacity: 0.85; }

/* სოციალური ქსელების ფილები */
.ip-soc .ip-tile { min-height: 120px; flex-direction: row; align-items: center; }
.ip-soc .ip-tx { margin: 0; }
.ip-soc .ip-go { margin-left: auto; }

/* ======================= ძველი შიგთავსის გვერდები (მოწყობილობის გვერდი, ბლოგი) ახალ ჩარჩოში ======================= */
.inner-page .svc-main { padding-top: 34px; padding-bottom: 50px; }

/* ======================= პლანშეტი / ტელეფონი ======================= */
@media (max-width: 1100px) {
    .ip-tiles, .ip-tiles.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inner-page .svc-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ip-hero { padding: 34px 18px 30px; }
    .ip-hero .pt-bignum { top: 14px; right: 14px; font-size: 30vw; transform: none; opacity: 0.07; }
    .ip-tiles, .ip-tiles.is-3 { grid-template-columns: minmax(0, 1fr); }
    .ip-tile, .ip-tile.is-feat { grid-column: auto; min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding: 20px 18px; }
    .ip-tile .ip-tx { margin: 0; }
    .ip-tile .ip-n { top: 50%; right: 18px; transform: translateY(-50%); }
    .ip-go { display: none; }
    .ip-svc, .ip-ct .ip-tile { flex-direction: column; align-items: flex-start; }
    .ip-svc .ip-n, .ip-ct .ip-n { transform: none; top: 20px; }
    .ip-sec-head { padding: 40px 18px 20px; }
    .ip-main .svc-steps, .ip-main .svc-cta, .ip-main .dev-faq { padding-left: 18px; padding-right: 18px; }
    .inner-page .svc-steps-list { grid-template-columns: minmax(0, 1fr); }
    .inner-page .svc-cta-contact { align-items: flex-start; text-align: left; }
    .inner-page .dev-faq-item summary { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .inner-page .dev-faq-a { padding-left: 0; }
    .ip-map-route { right: 18px; }
}

/* ======================= დამატებები ======================= */
.ip-svc .ip-t { margin: 0; font-weight: normal; }
.ip-soc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-soc .ip-go { font-family: var(--mono-font); font-size: 0.9rem; }
.ip-soc .ip-go::before, .ip-soc .ip-go::after { display: none; }
@media (max-width: 600px) { .ip-soc { grid-template-columns: minmax(0, 1fr); } }
.ip-ct-hours div { flex-direction: column; gap: 3px; }
.ip-map-fallback .ip-ct-link { align-self: center; }
@media (max-width: 600px) {
    .ip-ct .ip-tile, .ip-tiles.is-dirs .ip-tile, .ip-soc .ip-tile { min-height: 0; }
    .ip-ct .ip-tile { gap: 12px; }
    .ip-map { height: 280px; }
}

/* ======================= სათაურის ქვეშ პატარა ხაზი („// კომპიუტერული მომსახურება“) ======================= */
.ip-title-sub { margin-top: 10px; font-size: 0.4em; letter-spacing: 1px; color: var(--accent); }
.ip-title-sub b { margin-right: 6px; font-family: var(--mono-font); font-weight: 700; opacity: 0.7; }

/* ======================= სერვისი: „ინფორმაციის აღდგენა“ — მუქი ზოლი, მარცხნივ ნარინჯისფერი ხაზი ======================= */
.sv-rec {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 34px var(--pad-x);
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    box-shadow: inset 4px 0 0 var(--accent);
    transition: background-color 0.3s ease;
}
.sv-rec-n { position: absolute; top: 18px; right: var(--pad-x); font-family: var(--mono-font); font-weight: 700; font-size: 0.62rem; color: var(--accent); }
.sv-rec-ic { color: var(--accent); }
.sv-rec-ic svg { display: block; width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.sv-rec-tx { display: flex; flex-direction: column; gap: 8px; }
.sv-rec-t { font-size: 1.25rem; }
.sv-rec-t .ip-tag { color: var(--accent); }
.sv-rec-s { font-size: 0.66rem; opacity: 0.7; }
.sv-rec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sv-rec-chips span { padding: 4px 9px; border: 1px solid var(--line); font-family: var(--mono-font); font-size: 0.58rem; font-weight: 700; text-transform: none; opacity: 0.85; }
.sv-rec .ip-go { opacity: 1; color: var(--accent); white-space: nowrap; }
@media (hover: hover) {
    .sv-rec:hover { background: rgba(var(--base-fg-rgb), 0.04); }
    .sv-rec:hover .sv-rec-ic svg { transform: translateY(-3px); }
}
.sv-rec:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

/* ======================= სერვისი: მოწყობილობები — დაბალი სია 3 სვეტად, მონიშვნა თავისით დარბის ======================= */
.sk-grid {
    --sk-step: 1800ms;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(var(--sk-rows, 4), auto);
    grid-auto-flow: column;
    border-bottom: 1px solid var(--line);
}
.sk-it {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 60px;
    padding: 0 24px;
    color: inherit;
    text-decoration: none;
    font-size: 0.74rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}
.sk-it:nth-child(-n + 4) { padding-left: var(--pad-x); }
.sk-it:nth-child(n + 9) { border-right: 0; }
.sk-it:nth-child(4n) { border-bottom: 0; }
.sk-n { width: 18px; flex: none; font-family: var(--mono-font); font-weight: 700; font-size: 0.55rem; color: var(--accent); }
.sk-ic svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sk-go { margin-left: auto; font-weight: normal; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.sk-bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); }
/* მონიშნული — მარცხენა ხაზი და მსუბუქი ფონი (ნარინჯისფრით არ ივსება) */
.sk-it.is-on { opacity: 1; background: rgba(var(--base-fg-rgb), 0.045); box-shadow: inset 3px 0 0 var(--accent); }
.sk-it.is-on .sk-ic { color: var(--accent); }
.sk-it.is-on .sk-go { opacity: 1; transform: none; }
.sk-it.is-on .sk-bar { animation: skFill var(--sk-step) linear forwards; }
.sk-grid.is-paused .sk-bar { animation-play-state: paused; }
@keyframes skFill { to { width: 100%; } }
.sk-it:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

@media (max-width: 1100px) {
    .sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--sk-rows2, 6), auto); }
    .sk-it:nth-child(n) { padding-left: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .sk-it:nth-child(-n + 6) { padding-left: var(--pad-x); }
    .sk-it:nth-child(n + 7) { border-right: 0; }
    .sk-it:nth-child(6n) { border-bottom: 0; }
}
@media (max-width: 600px) {
    .ip-title-sub { font-size: 0.5em; }
    .sv-rec { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 26px 18px; }
    .sv-rec-ic svg { width: 40px; height: 40px; }
    .sv-rec-t { font-size: 1rem; }
    .sv-rec .ip-go { grid-column: 1 / -1; }
    .sv-rec-n { right: 18px; }
    .sk-it:nth-child(n) { gap: 10px; height: 56px; padding: 0 10px 0 14px; font-size: 0.58rem; line-height: 1.3; }
    .sk-n, .sk-go { display: none; }
    .sk-ic svg { width: 18px; height: 18px; }
}

/* მენიუ + „დაგვიკავშირდით“ ვიწრო ეკრანზე ერთად არ ეტევა — წარწერა მაშინ იმალება, ნომერი რჩება */
@media (min-width: 1321px) and (max-width: 1420px) { .ip-header .pt-phone-label { display: none; } }

/* ======================= მოწყობილობის რიგი: მიტანისას — ხატულა ოდნავ მაღლა, სახელი მარჯვნივ ======================= */
.sk-ic svg, .sk-t { transition: transform 0.3s ease, color 0.3s ease; }
@media (hover: hover) {
    .sk-it:hover { opacity: 1; background: rgba(var(--base-fg-rgb), 0.07); }
    .sk-it:hover .sk-ic { color: var(--accent); }
    .sk-it:hover .sk-ic svg { transform: translateY(-2px) scale(1.08); }
    .sk-it:hover .sk-t { transform: translateX(6px); }
}

/* ======================= პროგრამირება: მიმართულებები (ცალკე გვერდებით) ======================= */
.pg-dirs .ip-tile { min-height: 210px; }
.pg-dirs .ip-t { font-size: 1.05rem; }
/* მიმართულების გვერდის ბოლოს — სხვა მიმართულებები, დაბალ რიგად */
.pg-others { display: flex; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-others-h { display: flex; align-items: center; padding: 0 30px 0 var(--pad-x); font-size: 0.6rem; opacity: 0.75; border-right: 1px solid var(--line); white-space: nowrap; }
.pg-others-h b { margin-right: 6px; font-family: var(--mono-font); color: var(--accent); }
.pg-other { flex: 1; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 24px; color: inherit; text-decoration: none; font-size: 0.74rem; border-right: 1px solid var(--line); transition: background-color 0.3s ease; }
.pg-other:last-child { border-right: 0; }
.pg-other-ic svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.pg-other-t { transition: transform 0.3s ease; }
.pg-other b { margin-left: auto; font-weight: normal; color: var(--accent); opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s ease; }
@media (hover: hover) {
    .pg-other:hover { background: rgba(var(--base-fg-rgb), 0.06); }
    .pg-other:hover .pg-other-ic { color: var(--accent); }
    .pg-other:hover .pg-other-ic svg { transform: translateY(-2px) scale(1.08); }
    .pg-other:hover .pg-other-t { transform: translateX(6px); }
    .pg-other:hover b { opacity: 1; transform: translateX(3px); }
}

/* ======================= კონტაქტი: დაბალი ფილები, ნომრები პატარა შრიფტით ======================= */
.ip-ct .ip-tile { min-height: 0; gap: 12px; padding: 24px 26px; }
.ip-ct .ip-ic svg { width: 28px; height: 28px; }
.ip-ct-big { font-size: 0.86rem; }
.ip-ct-phones { gap: 4px; }

@media (max-width: 600px) {
    .pg-dirs .ip-tile { min-height: 0; }
    .pg-others { flex-direction: column; }
    .pg-others-h { height: 46px; padding: 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
    .pg-other { flex: none; height: 56px; padding: 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
    .pg-other:last-child { border-bottom: 0; }
    .ip-ct .ip-tile { padding: 20px 18px; }
}
/* პლანშეტზე სამი მიმართულება ერთ რიგად (ცარიელი უჯრა რომ არ დარჩეს) */
@media (min-width: 601px) and (max-width: 1100px) { .ip-tiles.pg-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pg-dirs .ip-tile { padding: 24px 18px; } }

/* =====================================================================
   ბლოგი გადამრთველით (partials/blog_switch) — ბლოგის გვერდზე და მოწყობილობის გვერდზე.
   მოწყობილობების არჩევანი → სტატიები დაბალ რიგებად → „← 01 / 03 →“
   ===================================================================== */
/* ბლოგის სია — სრულ სიგანეზე (სერვისის გვერდივით), ცენტრში შეზღუდვის გარეშე */
body[data-page="blog"] .svc-main { max-width: none; padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px)); }
.bl-switch { margin-top: 56px; }
.bl-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bl-h { margin: 0; font-size: 0.85rem; font-weight: 600; }
.bl-h b { margin-right: 4px; font-family: var(--mono-font); color: var(--accent); }
.bl-count { font-family: var(--mono-font); font-weight: 700; font-size: 0.6rem; color: var(--accent); }
.bl-all { margin-left: auto; font-size: 0.68rem; color: inherit; text-decoration: none; opacity: 0.75; transition: opacity 0.25s ease; white-space: nowrap; }
.bl-all span { color: var(--accent); }
.bl-all:hover { opacity: 1; }

.bl-chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 4px; scrollbar-width: thin; }
.bl-chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px;
    font: inherit; font-size: 0.68rem; color: inherit;
    background: transparent; border: 1px solid var(--line); border-radius: 0;
    cursor: pointer; opacity: 0.75;
    transition: opacity 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.bl-chip small { font-family: var(--mono-font); font-size: 0.55rem; opacity: 0.6; }
.bl-chip-ic svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bl-chip.is-on { opacity: 1; border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.bl-chip.is-on .bl-chip-ic { color: var(--accent); }
.bl-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .bl-chip:hover { opacity: 1; background: rgba(var(--base-fg-rgb), 0.05); } }

/* სტატიები — ბარათები: ზემოთ სურათი/ილუსტრაცია, ქვემოთ სათაური და აღწერა */
.bl-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.bl-switch.is-single .bl-list { border-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bl-row {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    color: inherit; text-decoration: none;
    border: 1px solid var(--line);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.bl-row[hidden] { display: none; }
.bl-row.is-in { animation: blIn 0.35s ease both; }
@keyframes blIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bl-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.bl-img img, .bl-img .pa { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.bl-tx { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; min-width: 0; }
.bl-t { font-size: 0.78rem; font-weight: 600; line-height: 1.45; }
.bl-d { font-size: 0.64rem; line-height: 1.6; opacity: 0.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-go { margin-top: auto; padding-top: 4px; font-size: 0.6rem; opacity: 0.75; white-space: nowrap; }
.bl-go b { font-weight: normal; color: var(--accent); }
.bl-row.is-soon .bl-go { font-family: var(--mono-font); font-size: 0.55rem; opacity: 0.5; }
@media (hover: hover) {
    .bl-row:hover { border-color: var(--accent); }
    .bl-row:hover .bl-img img, .bl-row:hover .bl-img .pa { transform: scale(1.04); }
    a.bl-row:hover .bl-go { opacity: 1; }
}
a.bl-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ილუსტრაცია (post_art) — ფერები თემით */
.pa-bg { fill: rgba(var(--base-fg-rgb), 0.035); }
.pa-dot { fill: rgba(var(--base-fg-rgb), 0.16); }
.pa-ring { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.6; }
.pa-sun { fill: var(--accent); }
.pa-line { stroke: rgba(var(--base-fg-rgb), 0.25); stroke-width: 1; }
.pa-floor { fill: rgba(var(--base-fg-rgb), 0.04); }
.pa-blob { fill: var(--accent); opacity: 0.12; }
.pa-code { font-family: var(--mono-font); font-size: 8px; letter-spacing: 1px; fill: rgba(var(--base-fg-rgb), 0.4); }
.pa-link { fill: none; stroke: rgba(var(--base-fg-rgb), 0.35); stroke-width: 1; stroke-dasharray: 2 4; }
.pa-dev, .pa-shadow, .pa-ico { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pa-dev :is(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; }
.pa-shadow :is(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; }
.pa-ico :is(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; }
.pa-dev { stroke: var(--base-fg); stroke-width: 2; }
.pa-shadow { stroke: var(--accent); stroke-width: 2; opacity: 0.55; }
.pa-badge { fill: var(--accent); }
.pa-ico { stroke: #0a0a0a; stroke-width: 1.8; }
.pa-plus { stroke: var(--accent); stroke-width: 1.4; }

.bl-pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; }
.bl-pager[hidden] { display: none; }
.bl-pager button {
    width: 38px; height: 38px; font: inherit; font-size: 0.85rem; color: inherit;
    background: transparent; border: 1px solid var(--line); border-radius: 0; cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.bl-pager button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.bl-pager button:disabled { opacity: 0.3; cursor: default; }
.bl-pages { font-family: var(--mono-font); font-size: 0.62rem; opacity: 0.8; min-width: 64px; text-align: center; }
.bl-cur { color: var(--accent); }

@media (max-width: 1100px) { .bl-switch .bl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bl-switch.is-single .bl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bl-switch.is-single .bl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .bl-switch { margin-top: 40px; }
    .bl-head { flex-wrap: wrap; }
    /* ტელეფონზე — ჰორიზონტალური ბარათი: მარცხნივ პატარა სურათი */
    .bl-chips { flex-wrap: nowrap; }
    .bl-switch .bl-list, .bl-switch.is-single .bl-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .bl-row { flex-direction: row; }
    .bl-img { flex: none; width: 128px; aspect-ratio: 16 / 9; align-self: center; margin-left: 10px; border: 1px solid var(--line); }
    .bl-tx { padding: 10px 12px; gap: 5px; }
    .bl-t { font-size: 0.74rem; }
    .bl-pager { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .bl-row.is-in { animation: none; } }

/* მოწყობილობის / ბლოგის გვერდებზე (ვიწრო შიგთავსი) ზარის ნარინჯისფერი ზოლი — სრულ სიგანეზე,
   ტექსტი კი შიგთავსის სწორზე რჩება */
html { overflow-x: clip; }
.svc-main > .svc-cta {
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50% + max(16px, env(safe-area-inset-left, 0px)));
    padding-right: calc(50vw - 50% + max(16px, env(safe-area-inset-right, 0px)));
}
.inner-page .svc-main:has(> .svc-cta:last-child) { padding-bottom: 0; }
.blog-cover { display: block; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; object-fit: cover; margin: 26px 0 0; border: 1px solid var(--line); }

/* =====================================================================
   სტატიის შიდა გვერდი (pages/blog/show)
   ===================================================================== */
.ar-hero .ip-title { font-size: clamp(1.3rem, 2.2vw, 2.1rem); max-width: 30ch; }
.ar { padding: 0 var(--pad-x) 10px; max-width: calc(900px + 2 * var(--pad-x)); }
.ar-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; padding: 0 0 16px; font-family: var(--mono-font); font-size: 0.6rem; opacity: 0.85; }
.ar-meta time { color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.ar-dev { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-family: var(--head-font); opacity: 0.8; transition: opacity 0.25s ease; }
.ar-dev:hover { opacity: 1; }
.ar-dev-ic svg { display: block; width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ar-cover { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.ar-cover img, .ar-cover .pa { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ტექსტი — ადმინის რედაქტორიდან */
.ar-body { padding: 34px 0 10px; max-width: 72ch; font-family: var(--read-font); font-size: 0.92rem; line-height: 1.85; text-transform: none; }
.ar-body > :first-child { margin-top: 0; }
.ar-body p { margin: 0 0 1.1em; opacity: 0.88; }
.ar-body h2 { margin: 1.8em 0 0.6em; font-family: var(--head-font); font-weight: normal; font-size: 1.25rem; line-height: 1.35; }
.ar-body h3 { margin: 1.5em 0 0.5em; font-family: var(--head-font); font-weight: normal; font-size: 1rem; color: var(--accent); }
.ar-body h4 { margin: 1.3em 0 0.4em; font-size: 0.92rem; }
.ar-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ar-body ul, .ar-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.ar-body li { margin: 0 0 0.45em; opacity: 0.88; }
.ar-body ul li::marker { color: var(--accent); }
.ar-body ol li::marker { color: var(--accent); font-family: var(--mono-font); font-weight: 700; font-size: 0.85em; }
.ar-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: rgba(var(--base-fg-rgb), 0.04); }
.ar-body blockquote p:last-child { margin: 0; }
.ar-body img { display: block; max-width: 100%; height: auto; margin: 1.4em 0; border: 1px solid var(--line); }
.ar-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.ar-body code { font-family: var(--mono-font); font-size: 0.85em; padding: 1px 5px; background: rgba(var(--base-fg-rgb), 0.07); }
.ar-body pre { overflow-x: auto; padding: 14px 16px; background: rgba(var(--base-fg-rgb), 0.05); border: 1px solid var(--line); }
.ar-body pre code { padding: 0; background: none; }
.ar-body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 0.85em; display: block; overflow-x: auto; }
.ar-body th, .ar-body td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ar-body th { font-family: var(--head-font); font-weight: normal; color: var(--accent); }

.ar-soon { margin: 26px 0 0; max-width: 72ch; }   /* ჩარჩოს გარეშე */
.ar-soon-code { display: block; margin-bottom: 8px; font-size: 0.7rem; color: var(--accent); }
.ar-soon-code b { font-family: var(--mono-font); }
.ar-soon p { margin: 0; font-family: var(--read-font); font-size: 0.85rem; line-height: 1.7; opacity: 0.75; text-transform: none; }

/* ბმული მოწყობილობის სერვისზე */
.ar-svc { display: flex; align-items: center; gap: 16px; margin: 34px 0 0; padding: 16px 20px; max-width: 72ch; color: inherit; text-decoration: none; border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--accent); transition: background-color 0.25s ease; }
.ar-svc-ic svg { display: block; width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.ar-svc-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ar-svc-t { font-size: 0.8rem; }
.ar-svc-s { font-size: 0.62rem; opacity: 0.6; }
.ar-svc b { margin-left: auto; font-weight: normal; color: var(--accent); transition: transform 0.3s ease; }
@media (hover: hover) {
    .ar-svc:hover { background: rgba(var(--base-fg-rgb), 0.05); }
    .ar-svc:hover .ar-svc-ic svg { transform: translateY(-2px) scale(1.08); }
    .ar-svc:hover b { transform: translateX(4px); }
}
.ar-related { padding: 0 var(--pad-x); }
.ar + .svc-steps, .ar-related + .svc-steps { margin-top: 30px; }
@media (max-width: 900px) {
    .ar, .ar-related { padding-left: 18px; padding-right: 18px; }
    .ar-body { font-size: 0.88rem; }
}

/* ===== სტატია ორ სვეტად: მარცხნივ სურათი (სქროლისას ადგილზე რჩება), მარჯვნივ ტექსტი ===== */
.ar-split { max-width: none; }   /* სტატია — სრულ სიგანეზე, ტექსტი შეზღუდვის გარეშე */
.ar-split .ar-body, .ar-split .ar-soon, .ar-split .ar-svc { max-width: none; }
.ar-split .ar-meta { padding: 14px 0 0; }
.ar-split .ar-svc { margin-top: 18px; }
.ar-lead { margin: 0 0 22px; font-family: var(--read-font); font-size: 1rem; line-height: 1.8; text-transform: none; opacity: 0.9; }
.ar-split .ar-soon { margin-top: 0; }
@media (min-width: 901px) {
    .ar-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
    .ar-side { position: sticky; top: calc(var(--hdr-h, 96px) + 24px); }
    .ar-split .ar-body { padding-top: 0; }
}
@media (max-width: 900px) {
    .ar-split .ar-text { padding-top: 26px; }
}
