/*
 * მახინჯაურის საზღვაო სკოლა — საჯარო საიტი.
 * ტოკენები და ზომები: CLAUDE.md §3. მარკაპი და სტილი: design/*.dc.html.
 * Breakpoint-ები: ≥1200 დესკტოპი, 768–1199 ტაბლეტი, <768 მობილური.
 */

/* ---------- ტოკენები ---------- */
:root {
    --ink: #20214E;
    --logo: #3E4095;
    --accent: #F0662A;
    --accent-dark: #A8471D;
    --accent2: #A8471D;
    --deep: #13142F;
    --paper: #EFEDE4;
    --card: #F8F7F2;
    --card-hover: #FAF9F4;
    --muted: #4A5A70;
    --muted-2: #33415A;
    --line: rgba(11, 33, 64, .12);
    --line-strong: rgba(11, 33, 64, .18);
    --ink-soft: #2E2F5B;

    --font: "Noto Sans Georgian", "Noto Sans", Sylfaen, "DejaVu Sans", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

    --container: 1320px;
    --gutter: 60px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --masthead-h: 132px;
}

@media (max-width: 1199px) {
    :root { --gutter: 40px; --masthead-h: 124px; }
}

@media (max-width: 767px) {
    :root { --gutter: 20px; --masthead-h: 70px; }
}

/* ---------- საფუძველი ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--masthead-h) + 16px); }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
a:hover { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font-family: inherit; }

.mono { font-family: var(--mono); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s;
}
.skip-link:focus { transform: none; }

main:focus { outline: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ტექსტი სხვა ენაზე (ინგლისურ გვერდზე ქართული სათაური) — ხაზის სიმაღლე იგივე რჩება */
.blur { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---------- ღილაკები ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}

/* ნარინჯისფერ ღილაკზე ტექსტი --ink-ია (§3 კონტრასტი) */
.btn--accent { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--accent:hover,
.btn--ink:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); }
.btn--ink:hover { color: #fff; }
.btn--accent:hover { color: var(--ink); }

.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .38); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: #fff; color: #fff; }

.btn--line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

.ar { flex-shrink: 0; transition: transform .3s var(--ease), opacity .3s; }

/* ---------- ზედა ზოლი ---------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 60;
}

.topbar {
    background: var(--deep);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    line-height: 1.3;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 44px;
}

.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar__contacts li { min-width: 0; }

.topbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.topbar__item span { overflow: hidden; text-overflow: ellipsis; }

.topbar__end {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.topbar-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    transition: background .2s;
}
.topbar-search:focus-within { background: rgba(255, 255, 255, .16); }

.topbar-search input {
    width: 150px;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}
.topbar-search input::placeholder { color: rgba(255, 255, 255, .62); }
.topbar-search input::-webkit-search-cancel-button { filter: invert(1); }

.flink { text-decoration: none; transition: color .2s; }
.flink:hover { color: var(--accent); }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-switch a {
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current] { background: rgba(255, 255, 255, .15); color: #fff; font-weight: 600; }

/* ---------- ჰედერი ---------- */
.site-header {
    position: relative;
    background: rgba(239, 237, 228, .95);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 88px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand__logo { width: 74px; height: 67px; object-fit: contain; flex-shrink: 0; }

.brand__name { display: flex; flex-direction: column; gap: 3px; }

.brand__name span {
    font-size: 21px;
    font-weight: 800;
    font-stretch: 78%;
    line-height: 1;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
}
.nav-item:hover,
.nav-item[aria-expanded="true"] { background: rgba(11, 33, 64, .08); }
.nav-item[aria-current],
.nav-item.is-active { font-weight: 700; }

.chev { transition: transform .25s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

.main-nav .btn--ink { margin-left: 10px; min-height: 46px; font-size: 14.5px; }

.menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* mega-menu */
.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid rgba(11, 33, 64, .14);
    box-shadow: 0 40px 60px -40px rgba(11, 33, 64, .45);
    animation: drop .28s var(--ease);
}

.mega[hidden] { display: none; }

.mega__inner {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 56px;
    padding-top: 44px;
    padding-bottom: 52px;
}

.mega__intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 40px;
    border-right: 1px solid var(--line);
}

.mega__num { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.mega__title {
    font-size: 44px;
    font-weight: 800;
    font-stretch: 74%;
    line-height: 1.02;
}

.mega__cols { display: flex; gap: 56px; }

.mega__col {
    display: flex;
    flex-direction: column;
    width: 380px;
    max-width: 100%;
}

.mega__col ul,
.drawer__sub ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.drawer__sub ul { gap: 0; }

.col-head {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
}

.mega__col .col-head { padding: 0 10px 10px; }

.mlink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 10px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: background .2s, padding .2s;
}
.mlink .ar { opacity: .3; }
.mlink:hover { background: rgba(11, 33, 64, .06); padding-left: 16px; }
.mlink:hover .ar { opacity: 1; transform: translateX(4px); }
.mlink[aria-current] { font-weight: 700; }

/* მობილური მენიუ (drawer) */
.drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--masthead-h));
    max-height: calc(100dvh - var(--masthead-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px 22px;
    background: var(--card);
    border-bottom: 1px solid rgba(11, 33, 64, .14);
    box-shadow: 0 30px 50px -30px rgba(11, 33, 64, .55);
    animation: drop .28s var(--ease);
}
.drawer[hidden] { display: none; }

.drawer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }

.mrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.mrow:hover { background: rgba(11, 33, 64, .06); }
.mrow[aria-current] { color: var(--ink); background: rgba(11, 33, 64, .06); }

.drawer__sub { padding: 0 0 8px 12px; display: flex; flex-direction: column; }
.drawer__sub[hidden] { display: none; }

.drawer__head {
    display: block;
    padding: 12px 12px 4px;
    font-size: 11px;
}

.msub {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--muted-2);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}
.msub:hover { background: rgba(11, 33, 64, .06); }
.msub[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }

.drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    margin: 12px 8px 0;
    padding: 0 14px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid rgba(11, 33, 64, .16);
    color: var(--muted);
}
.drawer-search input {
    flex-grow: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
}

.drawer__langs { display: flex; gap: 8px; padding: 14px 8px 0; }
.drawer__langs a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(11, 33, 64, .2);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}
.drawer__langs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

@keyframes drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

/* ---------- ფუტერი ---------- */
.site-footer {
    background: var(--deep);
    color: rgba(255, 255, 255, .78);
    padding: 90px 0 0;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.site-footer__about { display: flex; flex-direction: column; gap: 22px; }

.site-footer .brand { gap: 14px; color: #fff; }
.site-footer .brand__logo { width: 84px; height: 76px; }

.site-footer__coords { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .6); }

.site-footer__contacts a { text-decoration: none; }

.fcol summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}
.fcol summary::-webkit-details-marker { display: none; }
.fcol summary .chev { display: none; }

.fcol ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.fcol a { display: block; font-size: 14px; line-height: 1.45; }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 64px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
}

.site-footer__links { display: flex; gap: 18px; }

/* ---------- ჩიპები ---------- */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.chip--accent { background: var(--accent); color: var(--ink); }

.tick { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: color .2s; }
.tick:hover { color: var(--accent); }
.tick:hover .ar { transform: translateX(5px); }

/* ---------- მთავარი გვერდი: hero ---------- */
.hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.sea-wrap--hero { height: 54%; }
.sea--bright {
    background-image:
        linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
}

.hero__horizon {
    position: absolute;
    left: 0;
    right: 0;
    top: 46%;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.hero__inner {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 70px;
}

.hero__text {
    position: relative;
    z-index: 2;
    width: 640px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 70px;
}

.hero__label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}
.hero__label .mono { letter-spacing: .06em; }
.hero__dash { width: 38px; height: 2px; background: var(--accent); flex-shrink: 0; }
.hero__place { letter-spacing: .14em; text-transform: uppercase; }

.hero__title {
    font-size: 104px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    letter-spacing: -.005em;
}
.hero__title span { display: block; }
.hero__accent { color: var(--accent); }

.hero__subtitle {
    max-width: 520px;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .84);
}

.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

.hero__latest {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(6, 16, 32, .5);
}

.hero__latest-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 70px;
    font-size: 15px;
}
.hero__latest time { font-size: 13px; color: rgba(255, 255, 255, .72); flex-shrink: 0; }
.hero__latest .tick { min-width: 0; color: #fff; font-weight: 500; }
.hero__latest .tick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__latest .tick:hover { color: var(--accent); }

/* ---------- შიდა გვერდის hero ზოლი ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.sea-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 75%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
    mask-image: linear-gradient(to top, #000 30%, transparent 100%);
    pointer-events: none;
}

/* „ზღვის ბადე": ჰორიზონტამდე დახრილი gradient-ის სიბრტყე, ნელა მოძრაობს */
.sea {
    position: absolute;
    left: -50%;
    bottom: 0;
    width: 200%;
    height: 220%;
    transform-origin: 50% 100%;
    transform: perspective(380px) rotateX(62deg);
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 72px 72px, 72px 72px;
    animation: sail 5s linear infinite;
}

@keyframes sail {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 72px, 0 0; }
}

.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 64px;
    padding-bottom: 96px;
}

.crumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .75);
}
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

.page-hero h1 {
    max-width: 1000px;
    font-size: 92px;
    font-weight: 800;
    font-stretch: 72%;
    line-height: 1;
    overflow-wrap: anywhere;
}

/* ---------- შიდა გვერდი: გვერდითი სვეტი + ტექსტი ---------- */
.page-body { padding: 80px 0 120px; }

.page-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "nav main" "quick main";
    column-gap: 72px;
    row-gap: 20px;
    align-items: start;
}
.page-layout--no-nav { grid-template-areas: "quick main" "quick main"; }

.page-layout__main { grid-area: main; min-width: 0; max-width: 880px; }
.side-nav { grid-area: nav; }
.quick-box { grid-area: quick; }

.side-nav {
    padding: 18px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid rgba(11, 33, 64, .1);
}

.side-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 12px 10px;
    list-style: none;
}
.side-nav summary::-webkit-details-marker { display: none; }
.side-nav summary .chev,
.side-nav summary .side-nav__label { display: none; }
.side-nav summary .side-nav__title { display: block; }

.side-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.side-nav__head { display: block; padding: 16px 12px 6px; letter-spacing: .1em; }

.slink {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    transition: background .2s;
}
.slink:hover { background: rgba(11, 33, 64, .06); }
.slink[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }

.quick-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border-radius: 20px;
    background: var(--ink);
    color: #fff;
}
.quick-box .col-head { color: rgba(255, 255, 255, .7); padding: 4px 8px 10px; }

.qlinkd {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background .2s;
}
.qlinkd:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.qlinkd__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--accent);
    color: var(--ink);
}

/* ---------- ტექსტი (rich text) ---------- */
.prose { display: flex; flex-direction: column; gap: 28px; font-size: 17px; line-height: 1.8; }
.prose > * { margin: 0; }
.prose .lead,
.lead { font-size: 22px; line-height: 1.6; font-weight: 500; text-wrap: pretty; }
.prose p { text-wrap: pretty; }
.prose h2 { font-size: 44px; font-weight: 800; font-stretch: 76%; line-height: 1.05; margin-top: 16px; }
.prose h3 { font-size: 28px; font-weight: 700; font-stretch: 82%; line-height: 1.2; margin-top: 8px; }
.prose ul,
.prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent-dark); }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover { color: var(--accent-dark); }
.prose blockquote {
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--accent);
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
}
.prose figure { display: flex; flex-direction: column; gap: 12px; }
.prose figure img { width: 100%; border-radius: 22px; }
.prose figcaption,
.caption { font-size: 14px; line-height: 1.5; color: var(--muted); }

.notice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 17px;
    line-height: 1.6;
}
.notice a { font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ---------- ფორმის ველები ---------- */
.fld {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(11, 33, 64, .22);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.fld:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(62, 64, 149, .16); }
textarea.fld { min-height: 170px; resize: vertical; line-height: 1.55; }

.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form .btn { min-height: 52px; flex-shrink: 0; }

/* ---------- 404 ---------- */
.error-code { font-size: 15px; letter-spacing: .1em; color: var(--accent); }
.error-page { display: flex; flex-direction: column; gap: 32px; }
.error-page > .lead { max-width: 880px; }
.error-page__links { display: flex; flex-direction: column; gap: 14px; }
.error-page__links ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

/* ---------- ადმინის „წინასწარი ნახვა" ---------- */
.preview-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--gutter);
    background: var(--accent);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.preview-bar--en { background: var(--ink); color: #fff; }
.preview-bar--en .preview-bar__close { border-color: #fff; color: #fff; }
.preview-bar p { display: flex; align-items: center; gap: 10px; }
.preview-bar svg { flex-shrink: 0; }
.preview-bar__close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

/* ---------- მოძრაობა ---------- */
/*
 * „მოძრაობის შემცირება" (Windows: Animation effects გამორთულია; macOS/iOS: Reduce motion) — §3:
 * თავისით, განუწყვეტლივ მოძრავი ანიმაციები ჩერდება (კომპასი, ზღვის ბადე, ტალღები, გემი, pulse).
 * hover-ის მოკლე გადასვლები და მაუსით დახრა რჩება — ისინი მომხმარებლის მოქმედებით იწყება (როგორც პროტოტიპში).
 */
@media (prefers-reduced-motion: reduce) {
    .sea,
    .spin,
    .spinrev,
    .sway,
    .float,
    .bob,
    .drift,
    .pulse,
    .compass__float { animation-play-state: paused; }
}

/* ---------- ტაბლეტი ---------- */
@media (max-width: 1199px) {
    .main-nav { display: none; }
    .menu-btn { display: flex; }
    .site-header__inner { height: 80px; }

    .topbar__address { display: none; }

    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__about { grid-column: 1 / -1; }

    .page-hero h1 { font-size: 68px; }
    .page-layout { grid-template-columns: 260px minmax(0, 1fr); column-gap: 48px; }

    .hero { min-height: 720px; }
    .hero__title { font-size: 84px; }
}

@media (max-width: 1023px) {
    .page-layout,
    .page-layout--no-nav {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas: "nav" "main" "quick";
        row-gap: 36px;
    }

    .side-nav { padding: 0; border-radius: 16px; border-color: var(--line); }
    .side-nav summary { min-height: 64px; padding: 0 18px; cursor: pointer; }
    .side-nav summary .chev { display: block; }
    .side-nav[open] summary .chev { transform: rotate(180deg); }
    .side-nav summary .side-nav__label { display: block; font-size: 11px; }
    .side-nav summary .side-nav__title { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink); }
    .side-nav summary > span { display: flex; flex-direction: column; gap: 3px; }
    .side-nav nav { padding: 0 10px 14px; }
    .side-nav__head { padding: 14px 12px 6px; font-size: 11px; }
}

/* ---------- მობილური ---------- */
@media (max-width: 767px) {
    body { font-size: 16px; }

    .topbar { display: none; }

    .site-header { background: rgba(239, 237, 228, .96); }
    .site-header__inner { height: 70px; gap: 12px; }
    .brand { gap: 10px; }
    .brand__logo { width: 52px; height: 47px; }
    .brand__name { gap: 2px; }
    .brand__name span { font-size: 17px; }

    .site-footer { padding: 48px 0 28px; }
    .site-footer__grid { display: flex; flex-direction: column; gap: 28px; }
    .site-footer__about { gap: 16px; }
    .site-footer .brand__logo { width: 72px; height: 65px; }
    .site-footer .brand__name span { font-size: 20px; }
    .site-footer__coords { display: none; }
    .site-footer__cols { border-top: 1px solid rgba(255, 255, 255, .12); }
    .fcol { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .fcol summary { min-height: 56px; padding: 0; font-size: 16px; cursor: pointer; }
    .fcol summary .chev { display: block; }
    .fcol[open] summary .chev { transform: rotate(180deg); }
    .fcol ul { gap: 4px; margin: 0; padding: 0 0 16px; }
    .fcol a { padding: 8px 0; font-size: 15px; line-height: 1.4; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; padding: 0; border: 0; }
    .site-footer__links { order: -1; }

    .sea { transform: perspective(300px) rotateX(62deg); background-size: 56px 56px, 56px 56px; }
    .sea-wrap { height: 80%; }
    .page-hero__inner { gap: 18px; padding-top: 32px; padding-bottom: 52px; }
    .crumbs ol { gap: 8px; font-size: 13px; }
    .crumbs li { gap: 8px; }
    /* გრძელი ქართული სიტყვა („სტუდენტებისთვის") ეკრანში უნდა ჩაეტიოს: --longest — ყველაზე გრძელი სიტყვის ასოები */
    .page-hero h1 { font-size: min(46px, calc((100vw - 40px) / (var(--longest, 8) * .62))); line-height: 1.02; }

    .page-body { padding: 24px 0 64px; }

    .hero { min-height: 0; }
    .sea-wrap--hero { height: 42%; }
    .hero__inner { padding-top: 44px; padding-bottom: 48px; }
    .hero__text { gap: 22px; padding-bottom: 0; }
    .hero__label { gap: 12px; font-size: 12px; }
    .hero__label .mono { letter-spacing: .04em; }
    .hero__dash { width: 28px; }
    .hero__place { letter-spacing: .12em; }
    .hero__title { font-size: min(62px, 15vw); }
    .hero__subtitle { font-size: 17px; }
    .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero__latest { position: relative; }
    .hero__latest-inner { flex-wrap: wrap; height: auto; gap: 8px 10px; padding-top: 16px; padding-bottom: 18px; }
    .hero__latest .chip { padding: 5px 11px; font-size: 11px; }
    .hero__latest time { font-size: 12px; }
    .hero__latest .tick { flex-basis: 100%; font-size: 16px; line-height: 1.4; }
    .hero__latest .tick span { white-space: normal; }

    .prose { gap: 22px; font-size: 16px; line-height: 1.75; }
    .prose .lead,
    .lead { font-size: 19px; }
    .prose h2 { font-size: 34px; }
    .prose h3 { font-size: 24px; }
    .prose figure { gap: 10px; }
    .prose figure img { border-radius: 18px; }
    .prose figcaption,
    .caption { font-size: 13px; }
}

/* =====================================================================
 * მთავარი გვერდი (M2)
 * ===================================================================== */

/* SVG-ების ფერები ტოკენებიდან */
.fill-accent { fill: var(--accent); }
.fill-accent2 { fill: var(--accent2); }
.fill-ink { fill: var(--ink); }
.fill-deep { fill: var(--deep); }
.stroke-accent { stroke: var(--accent); }

.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- ანიმაციები (§3) ---------- */
.spin { width: 100%; height: 100%; animation: spin 160s linear infinite; }
.spinrev { width: 100%; height: 100%; animation: spinrev 90s linear infinite; }
.sway { width: 100%; height: 100%; animation: sway 9s ease-in-out infinite; }
.float { width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.bob { width: 100%; height: 100%; transform-origin: 50% 80%; animation: bob 6s ease-in-out infinite; }
.drift { width: 200%; height: 100%; animation: drift 14s linear infinite; }
.drift--fast { animation-duration: 9s; }
.pulse { width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s ease-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinrev { to { transform: rotate(-360deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-9px) rotate(1.4deg); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { from { transform: scale(.35); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- სექციები ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section__inner { display: flex; flex-direction: column; gap: 56px; }
.section__head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: 64px; font-weight: 800; font-stretch: 74%; line-height: 1; }
.kicker { font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.section--dark .kicker,
.kicker--accent { color: var(--accent); }

.chip--outline { border: 1px solid rgba(255, 255, 255, .32); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; padding: 8px 15px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}
.round:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- hero: კომპასი ---------- */
.compass {
    position: relative;
    z-index: 1;
    width: 580px;
    height: 580px;
    flex-shrink: 0;
    margin-right: -30px;
    margin-bottom: 50px;
}
.compass__box { position: absolute; left: 0; top: 0; width: 580px; height: 580px; perspective: 1400px; transform-origin: 0 0; }
.compass__float { position: absolute; inset: 0; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.compass__tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--tx, 56deg)) rotateY(var(--ty, 0deg));
    transition: transform .45s ease-out;
}
.compass__shadow {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    transform: translateZ(-70px);
}
.compass__layer { position: absolute; inset: 0; transform: translateZ(var(--z)); }

/* ---------- ანონსები: 3D coverflow ---------- */
.banners { padding: 96px 0 90px; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.banners__inner { display: flex; flex-direction: column; gap: 52px; }
.banners__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.banners .section-head h2 { font-size: 60px; }
.banners__arrows { display: flex; gap: 10px; }

.cf-stage {
    position: relative;
    height: 350px;
    perspective: 1600px;
    transform-style: preserve-3d;
    touch-action: pan-y;
}

.cf-card {
    --x: 0px;
    --z: 0px;
    --ry: 0deg;
    --op: 1;
    --zi: 10;
    position: absolute;
    top: 0;
    left: 50%;
    width: 780px;
    height: 350px;
    margin-left: -390px;
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--ink-soft);
    color: #fff;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
    transform: translateX(var(--x)) translateZ(var(--z)) rotateY(var(--ry));
    opacity: var(--op);
    z-index: var(--zi);
    transition: transform .8s var(--ease), opacity .8s, filter .3s;
}
.cf-card:hover { filter: brightness(1.12); color: #fff; }
.cf-card[data-pos="1"] { --x: 450px; --z: -240px; --ry: -40deg; --op: .72; --zi: 7; }
.cf-card[data-pos="-1"] { --x: -450px; --z: -240px; --ry: 40deg; --op: .72; --zi: 7; }
.cf-card[data-pos="back"] { --z: -580px; --op: .22; --zi: 4; }

.cf-card__shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(8, 10, 30, .75), rgba(8, 10, 30, 0));
}
.cf-card__cap {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}
.cf-card__num { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 500; }

.cf-dots { display: flex; justify-content: center; }
.cf-dots button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.cf-dots button > span:first-child {
    display: block;
    width: 10px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .35);
    transition: width .4s, background .4s;
}
.cf-dots button[aria-current] > span:first-child { width: 32px; background: var(--accent); }

/* ---------- მთავარი მიმართულებები: bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 290px;
    gap: 20px;
}

.elita {
    position: relative;
    grid-column: 1 / span 2;
    grid-row: span 2;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    perspective: 1100px;
}
.elita:hover { color: #fff; }

.scene { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.elita:hover .scene { transform: rotateY(-9deg) rotateX(5deg); }
.elita:hover .ar { transform: translateX(5px); }

.scene__sun {
    position: absolute;
    right: 170px;
    bottom: 150px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateZ(-160px) scale(1.25);
}
.scene__waves { position: absolute; left: 0; right: 0; overflow: hidden; }
.scene__waves--back { bottom: 70px; height: 150px; transform: translateZ(-80px) scale(1.12); }
.scene__waves--front { bottom: -12px; height: 128px; transform: translateZ(70px) scale(.94); }
.scene__ship { position: absolute; right: 60px; bottom: 58px; width: 520px; height: 250px; }

.elita__photo { display: none; }

.elita__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
}
.elita__top { display: flex; flex-direction: column; gap: 8px; }
.elita__kicker { font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.elita__title { font-size: 108px; font-weight: 800; font-stretch: 72%; line-height: 1; }

/* 3D დახრა hover-ზე (მიმართულებები, უახლესი სიახლე) */
.card3d,
.dcard {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform .5s var(--ease), box-shadow .5s;
}
.card3d:hover,
.dcard:hover {
    transform: perspective(1000px) rotateX(6deg) rotateY(-8deg) translateY(-6px);
    box-shadow: 26px 34px 60px -30px rgba(11, 33, 64, .5);
}
.card3d:hover .ar,
.dcard:hover .ar { transform: translateX(5px); }

.dcard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}
.dcard__top { display: flex; align-items: flex-start; justify-content: space-between; transform-style: preserve-3d; }
.dcard__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--paper);
    transition: transform .5s var(--ease), background .3s, color .3s;
}
.dcard:hover .dcard__icon { transform: translateZ(46px); background: var(--accent); color: var(--ink); }
.dcard__num { font-size: 13px; color: var(--muted); }
.dcard__bottom { display: flex; flex-direction: column; gap: 14px; }
.dcard__title { font-size: 27px; font-weight: 700; font-stretch: 82%; line-height: 1.14; }
.dcard__more { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- სწრაფი წვდომა: ნახევარწრიული „თარო" ---------- */
.shelf { display: flex; gap: 18px; perspective: 1400px; transform-style: preserve-3d; }

.flag {
    flex: 1 1 0;
    min-width: 0;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    transform: rotateY(var(--r));
    transition: transform .6s var(--ease), background .35s, color .35s, border-color .35s;
}
.flag:hover,
.flag:focus-visible {
    transform: rotateY(0deg) translateZ(50px) translateY(-8px);
    background: var(--paper);
    color: var(--ink);
    border-color: transparent;
}
.flag:hover .ar { transform: translateX(5px); }

.flag__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--accent);
    color: var(--ink);
}
.flag__body { display: flex; flex-direction: column; gap: 12px; }
.flag__num { font-size: 12px; opacity: .72; }
.flag__title { font-size: 22px; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.flag__go { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }

/* ---------- ახალი ამბები ---------- */
.news-home {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.news-big {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-height: 620px;
    padding: 40px;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
}
.news-big:hover { color: #fff; }
.news-big__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.news-big__date { display: flex; align-items: flex-end; gap: 14px; }
.news-big__day { font-size: 76px; font-weight: 500; line-height: .85; color: var(--accent); }
.news-big__month { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.2; color: rgba(255, 255, 255, .8); }
.news-big__body { display: flex; flex-direction: column; gap: 18px; }
.news-big__title { font-size: 44px; font-weight: 800; font-stretch: 76%; line-height: 1.08; }
.news-big__text { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.news-big__more { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--accent); }

.news-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.news-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 28px;
    gap: 20px;
    align-items: start;
    padding: 28px 16px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink);
    text-decoration: none;
    transition: background .25s;
}
.news-row:hover { background: var(--card-hover); }
.news-row:hover .ar { transform: translateX(5px); }
.news-row__date { font-size: 13px; color: var(--muted); padding-top: 5px; }
.news-row__body { display: flex; flex-direction: column; gap: 8px; }
.news-row__title { font-size: 19px; font-weight: 700; line-height: 1.32; }
.news-row__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.news-row .ar { margin-top: 3px; }

.news-more--bottom { display: none; }

/* ---------- სასარგებლო ბმულები ---------- */
.plates {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.plate {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    height: 100%;
    min-height: 164px;
    padding: 22px;
    border-radius: 18px;
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    transition: background .3s, transform .3s;
}
.plate:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.plate__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.plate__id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plate__logo { width: 40px; height: 40px; flex-shrink: 0; padding: 4px; border-radius: 8px; background: #fff; object-fit: contain; }
.plate__name { font-size: 25px; font-weight: 500; line-height: 1; }
.plate__desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.plate:hover .plate__desc { color: var(--ink); }

/* ---------- კონტაქტის ბლოკი ---------- */
.contact-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    gap: 40px;
    align-items: stretch;
}
.contact-home__info { display: flex; flex-direction: column; gap: 32px; }
.contact-home .section-head h2 { font-size: 56px; line-height: 1.02; }

.info-rows { display: flex; flex-direction: column; gap: 12px; }
.info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid rgba(11, 33, 64, .1);
    color: var(--ink);
    text-decoration: none;
}
a.info-row { transition: transform .25s, box-shadow .25s; }
a.info-row:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .35); }
.info-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
}
.info-row__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.info-row__label { font-size: 13px; color: var(--muted); line-height: 1.3; }
.info-row__value { font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.info-row__value.mono { font-weight: 500; }

.fb-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.fb-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); }
.fb-card__text { display: flex; flex-direction: column; gap: 4px; }
.fb-card__label { font-size: 13px; color: rgba(255, 255, 255, .72); }
.fb-card__name { font-size: 16px; font-weight: 600; }
.fb-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}

/* დეკორატიული 3D რუკა */
.map3d {
    position: relative;
    min-height: 580px;
    border-radius: 24px;
    overflow: hidden;
    background: #E2DFD3;
    border: 1px solid var(--line);
    perspective: 1100px;
}
.map3d__plane {
    position: absolute;
    left: -30%;
    right: -30%;
    top: -20%;
    bottom: -40%;
    transform-origin: 50% 40%;
    transform: rotateX(55deg);
    transform-style: preserve-3d;
    background-image:
        linear-gradient(rgba(11, 33, 64, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 33, 64, .2) 1px, transparent 1px),
        linear-gradient(rgba(11, 33, 64, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 33, 64, .07) 1px, transparent 1px);
    background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
}
.map3d__spot { position: absolute; left: 55%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.map3d__pulse { position: absolute; left: -70px; top: -70px; width: 140px; height: 140px; }
.map3d__shadow { position: absolute; left: -24px; top: -10px; width: 48px; height: 20px; border-radius: 50%; background: rgba(11, 33, 64, .35); }
.map3d__pin { position: absolute; left: -32px; top: -96px; width: 64px; height: 96px; transform-origin: 50% 100%; transform: rotateX(-55deg); }

.map3d__card {
    position: absolute;
    left: 28px;
    top: 28px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px;
    border-radius: 18px;
    background: var(--card-hover);
    box-shadow: 0 24px 44px -26px rgba(11, 33, 64, .45);
}
.map3d__kicker { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.map3d__name { font-size: 19px; font-weight: 700; line-height: 1.25; }
.map3d__address { font-size: 15px; line-height: 1.5; color: var(--muted); }
.map3d__route { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.map3d__route:hover { color: var(--accent-dark); }

/* ---------- მთავარი: ტაბლეტი ---------- */
@media (max-width: 1199px) {
    .section { padding: 96px 0; }
    .section-head h2,
    .banners .section-head h2 { font-size: 52px; }

    .compass { width: 348px; height: 348px; margin: 0 -10px 40px 0; }
    .compass__box { transform: scale(.6); }

    .cf-card { width: 620px; height: 300px; margin-left: -310px; }
    .cf-stage { height: 300px; }
    .cf-card[data-pos="1"] { --x: 300px; --z: -220px; }
    .cf-card[data-pos="-1"] { --x: -300px; --z: -220px; }

    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
    .elita { grid-column: 1 / -1; grid-row: span 2; }
    .elita__title { font-size: 88px; }

    .shelf { flex-wrap: wrap; }
    .flag { flex: 1 1 calc(33.333% - 12px); height: 260px; transform: none; }

    .news-big { min-height: 520px; padding: 32px; }
    .news-big__title { font-size: 36px; }

    .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .contact-home { grid-template-columns: minmax(0, 1fr); }
    .map3d { min-height: 440px; }
}

@media (max-width: 999px) {
    .hero__inner { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 0; }
    .hero__text { padding-bottom: 0; }
    .compass { margin: 0 auto 24px; }
    .news-home { grid-template-columns: minmax(0, 1fr); }
    .news-big { min-height: 0; }
}

/* ---------- მთავარი: მობილური ---------- */
@media (max-width: 767px) {
    .section { padding: 64px 0; }
    .section__inner { gap: 28px; }
    .section-head { gap: 12px; }
    .section-head h2 { font-size: 44px; }
    .kicker { font-size: 12px; }

    .compass { width: 348px; height: 330px; margin: 6px auto 0; }
    .hero__inner { padding-bottom: 0; }

    .banners { padding: 56px 0 40px; }
    .banners__inner { gap: 26px; }
    .banners .section-head h2 { font-size: 42px; }
    .banners__arrows { gap: 8px; }
    .banners .round { width: 48px; height: 48px; }
    .cf-stage { height: 236px; perspective: 1000px; }
    .cf-card { left: 0; width: 100%; height: 236px; margin-left: 0; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
    .cf-card[data-pos="1"] { --x: 36px; --z: -150px; --ry: -18deg; --op: .5; }
    .cf-card[data-pos="-1"] { --x: -36px; --z: -150px; --ry: 18deg; --op: .5; }
    .cf-card[data-pos="back"] { --z: -300px; --op: 0; }
    .cf-card__shade { height: 55%; background: linear-gradient(to top, rgba(8, 10, 30, .78), rgba(8, 10, 30, 0)); }
    .cf-card__cap { left: 18px; right: 18px; bottom: 16px; gap: 10px; font-size: 16px; }
    .cf-card__num { padding: 4px 9px; font-size: 11px; }
    .cf-dots { margin-top: -12px; }
    .cf-dots button[aria-current] > span:first-child { width: 28px; }

    .bento { display: flex; flex-direction: column; gap: 10px; }
    .elita { height: 320px; border-radius: 22px; }
    .elita--has-photo .scene { display: none; }
    .elita--has-photo .elita__photo { display: block; }
    .elita--has-photo .elita__photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(8, 10, 30, .88) 5%, rgba(8, 10, 30, .05) 70%);
    }
    .scene__ship { right: -40px; bottom: 30px; transform: scale(.7); transform-origin: 100% 100%; }
    .scene__sun { right: 60px; bottom: 120px; width: 120px; height: 120px; }
    .elita__content { justify-content: flex-end; gap: 10px; padding: 22px; }
    .elita__kicker { font-size: 12px; color: rgba(255, 255, 255, .85); }
    .elita__title { font-size: 64px; }
    .elita .pill { min-height: 44px; padding: 0 18px; font-size: 14px; }

    .dcard,
    .dcard:hover { flex-direction: row; align-items: center; gap: 16px; padding: 14px 16px 14px 14px; border-radius: 18px; transform: none; box-shadow: none; }
    .dcard__top { flex-shrink: 0; }
    .dcard__icon { width: 50px; height: 50px; border-radius: 14px; }
    .dcard__icon svg { width: 24px; height: 24px; }
    .dcard:hover .dcard__icon { transform: none; }
    .dcard__num { display: none; }
    .dcard__bottom { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
    .dcard__title { font-size: 17px; font-weight: 700; font-stretch: 100%; line-height: 1.3; }
    .dcard__more { font-size: 0; gap: 0; }

    .shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; perspective: none; }
    .flag,
    .flag:hover { height: auto; min-height: 150px; gap: 16px; padding: 18px; border-radius: 18px; transform: none; }
    .flag__icon { width: 52px; height: 52px; border-radius: 15px; }
    .flag__icon svg { width: 26px; height: 26px; }
    .flag__body { gap: 6px; }
    .flag__num,
    .flag__go { display: none; }
    .flag__title { font-size: 17px; font-stretch: 100%; line-height: 1.3; }
    .shelf .flag:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; min-height: 84px; }

    .news-more--top { display: none; }
    .news-more--bottom { display: inline-flex; justify-content: center; margin-top: -4px; }
    .news-home { gap: 8px; }
    .news-big,
    .news-big:hover { gap: 18px; padding: 26px 22px; border-radius: 22px; transform: none; box-shadow: none; }
    .news-big__top { align-items: center; gap: 12px; }
    .news-big__date { gap: 10px; }
    .news-big__day { font-size: 54px; }
    .news-big__month { gap: 3px; font-size: 13px; }
    .chip--outline { padding: 6px 12px; font-size: 12px; }
    .news-big__title { font-size: 30px; }
    .news-big__text { font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-rows { border-top: 0; }
    .news-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 4px; }
    .news-row__date { padding-top: 0; font-size: 12px; }
    .news-row__title { font-size: 17px; line-height: 1.35; }
    .news-row__text,
    .news-row .ar { display: none; }

    .plates { gap: 10px; }
    .plate { gap: 18px; min-height: 140px; padding: 16px; border-radius: 16px; }
    .plate__name { font-size: 20px; }
    .plate__top svg { width: 16px; height: 16px; }
    .plate__desc { font-size: 12.5px; line-height: 1.4; }

    /* მობილურზე რიგი პროტოტიპივით: სათაური → კონტაქტები → რუკა → Facebook */
    .contact-home { display: flex; flex-direction: column; gap: 12px; }
    .contact-home__info { display: contents; }
    .contact-home .map3d { order: 2; }
    .contact-home .fb-card { order: 3; }
    .contact-home .section-head { margin-bottom: 16px; }
    .contact-home .section-head h2 { font-size: 44px; }
    .info-row { gap: 14px; padding: 16px; border-radius: 16px; }
    .info-row__icon { width: 44px; height: 44px; }
    .info-row__value { font-size: 16px; }
    .map3d { min-height: 320px; height: 320px; border-radius: 20px; perspective: 900px; }
    .map3d__plane { left: -40%; right: -40%; }
    .map3d__spot { left: 50%; top: 34%; }
    .map3d__card { left: 12px; right: 12px; top: auto; bottom: 12px; max-width: none; gap: 4px; padding: 14px 18px; border-radius: 14px; }
    .map3d__kicker,
    .map3d__name { display: none; }
    .map3d__address { font-size: 14px; }
}

/* =====================================================================
 * შიდა გვერდები: სიახლეები, სტატია, კონტაქტი, ძებნა (M2)
 * ===================================================================== */

.page-hero--long h1 { font-size: 64px; line-height: 1.04; }

.page-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.page-hero__date { display: flex; align-items: center; gap: 8px; }
.chip--plain { padding: 7px 14px; font-size: 13px; letter-spacing: 0; text-transform: none; }

.hero-pill {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 15px;
    line-height: 1.4;
}

/* ტექსტში დანომრილი სია — „შენობებში განთავსებულია" სტილით (Baza.dc.html) */
.prose ol {
    counter-reset: item;
    list-style: none;
    padding: 0;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}
.prose ol > li {
    counter-increment: item;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.4;
    break-inside: avoid;
}
.prose ol > li::before {
    content: counter(item, decimal-leading-zero);
    width: 24px;
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}
.prose ol:has(> li:nth-child(10)) { display: block; column-count: 2; column-gap: 36px; }

/* picture() ფოტოს .fill-ს აძლევს (ჩარჩოს ავსებს); მთავარ ფოტოს საკუთარი სიმაღლე აქვს */
.page-cover img,
.article-cover img { position: static; width: 100%; height: 440px; object-fit: cover; border-radius: 22px; }

/* ---------- გალერეა და დოკუმენტები ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}
.gallery__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__link { position: relative; display: block; height: 300px; overflow: hidden; border-radius: 22px; background: var(--card); }
.gallery__link img { transition: transform .6s var(--ease); }
.gallery__link:hover img { transform: scale(1.04); }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery--single .gallery__link { height: 440px; }

.files { display: flex; flex-direction: column; gap: 14px; margin-top: 44px; }
.files ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.file-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.file-row:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(11, 33, 64, .35); }
.file-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--ink);
    color: var(--paper);
}
.file-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-row__title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.file-row__meta { font-size: 12px; color: var(--muted); }
.file-row__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    transition: background .2s, color .2s, border-color .2s;
}
.file-row:hover .file-row__action { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- სიახლეების სია ---------- */
.news-list { display: flex; flex-direction: column; gap: 56px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform .4s var(--ease), box-shadow .4s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(11, 33, 64, .5); }
.news-card:hover .ar { transform: translateX(5px); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.news-card__media img { transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .35);
    background:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 36px 36px,
        var(--ink);
}
.news-card__placeholder svg { width: 56px; height: 56px; }
.news-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.news-card__date { font-size: 13px; color: var(--muted); }
.news-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.news-card__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.news-card__more { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }

.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pager__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager__num,
.pager__step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--line-strong);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.pager__num:hover,
.pager__step:hover { border-color: var(--ink); }
.pager__num[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__gap { padding: 0 4px; color: var(--muted); }

/* ---------- სიახლე ---------- */
.page-body--article { padding-top: 72px; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 72px;
    align-items: start;
}
.article-main { display: flex; flex-direction: column; gap: 36px; max-width: 820px; min-width: 0; }
.article-main .gallery,
.article-main .files { margin-top: 0; }
.article-cover { margin: 0; display: flex; flex-direction: column; gap: 12px; }

.share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.share-bar__label { font-size: 15px; font-weight: 600; }
.share-bar .btn { min-height: 44px; }

.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-nav__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background .25s;
}
.article-nav__card:hover { background: var(--card-hover); }
.article-nav__card:hover .ar { transform: translateX(5px); }
.article-nav__card--all { grid-column: 2; align-items: flex-end; justify-content: center; text-align: right; }
.article-nav__label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.article-nav__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }

.article-aside { display: flex; flex-direction: column; gap: 20px; }
.others-box {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid rgba(11, 33, 64, .1);
}
.others-box .col-head { padding-bottom: 8px; }
.others-box ul { margin: 0; padding: 0; list-style: none; }
.others-box__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background .25s;
}
.others-box__item:hover { background: var(--card-hover); }
.others-box__item time { font-size: 12px; color: var(--muted); }
.others-box__item span { font-size: 16px; font-weight: 600; line-height: 1.35; }
.others-box .btn { justify-content: center; margin-top: 18px; }

/* ---------- კონტაქტი ---------- */
.contact-page { display: flex; flex-direction: column; gap: 28px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid rgba(11, 33, 64, .1);
    color: var(--ink);
    text-decoration: none;
}
a.contact-card { transition: transform .25s, box-shadow .25s; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .35); }
.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--paper);
}
.contact-card__text { display: flex; flex-direction: column; gap: 6px; }
.contact-card__label { font-size: 13px; color: var(--muted); }
.contact-card__value { font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }

.contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: stretch;
}
.contact-form-box {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
    border-radius: 24px;
    background: var(--card-hover);
    border: 1px solid rgba(11, 33, 64, .1);
}
.contact-form-box .section-head { gap: 10px; }
.contact-form-box .section-head h2 { font-size: 48px; line-height: 1.02; scroll-margin-top: calc(var(--masthead-h) + 24px); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; line-height: 1.4; }
.req { color: var(--accent-dark); }
.form-field.is-invalid .fld { border-color: #B3261E; }
.form-field__error { font-size: 14px; line-height: 1.45; color: #B3261E; }
.form-alert {
    padding: 14px 18px;
    border-radius: 12px;
    background: #FBEAE7;
    border: 1px solid rgba(179, 38, 30, .3);
    color: #8C1D18;
    font-size: 15px;
    line-height: 1.5;
}
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.contact-form__note { font-size: 13px; color: var(--muted); }
.contact-form .btn--lg { min-height: 54px; font-weight: 700; }

/* honeypot — ეკრანზე და ეკრანის მკითხველისთვის დამალულია */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 36px;
    border-radius: 20px;
    background: #F1F0E8;
    border: 1px solid rgba(11, 33, 64, .1);
}
.form-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}
.form-success__title { font-size: 26px; font-weight: 800; font-stretch: 80%; line-height: 1.15; }

.contact-map { display: flex; flex-direction: column; gap: 16px; }
.contact-map .map3d { flex-grow: 1; min-height: 520px; }
.contact-map .map3d__spot { top: 62%; }
.map-embed { position: relative; flex-grow: 1; min-height: 520px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #E2DFD3; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- ძებნა ---------- */
.search-page { display: flex; flex-direction: column; gap: 32px; }
.search-page__count { font-size: 14px; color: var(--muted); }
.search-group { display: flex; flex-direction: column; gap: 14px; }
.search-pages { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.search-row { grid-template-columns: minmax(0, 1fr) 28px; }
.search-row__section { font-size: 13px; color: var(--muted); }
.search-page .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- შიდა გვერდები: ტაბლეტი ---------- */
@media (max-width: 1199px) {
    .page-hero--long h1 { font-size: 52px; }
    .news-grid,
    .search-page .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .article-main { max-width: none; }
    .article-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-main { grid-template-columns: minmax(0, 1fr); }
    .contact-map .map3d,
    .map-embed { min-height: 420px; }
}

/* ---------- შიდა გვერდები: მობილური ---------- */
@media (max-width: 767px) {
    .page-hero--long h1 { font-size: min(34px, calc((100vw - 40px) / (var(--longest, 8) * .62))); line-height: 1.08; }
    .page-hero__meta { gap: 12px; font-size: 14px; }
    .hero-pill { padding: 8px 14px; font-size: 14px; }

    .prose ol:has(> li:nth-child(10)) { column-count: 1; }
    .prose ol > li { padding: 13px 4px; }
    .page-cover img,
    .article-cover img { height: 230px; border-radius: 18px; }

    .gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
    .gallery__link,
    .gallery--single .gallery__link { height: 220px; border-radius: 18px; }
    .files { margin-top: 28px; }
    .file-row { gap: 12px; padding: 14px; }
    .file-row__icon { width: 40px; height: 40px; }
    .file-row__title { font-size: 15px; }

    .news-list { gap: 36px; }
    .news-grid,
    .search-page .news-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .news-card__body { padding: 18px 20px 20px; }
    .news-card__title { font-size: 18px; }
    .pager__step span { display: none; }
    .pager__num,
    .pager__step { min-width: 44px; height: 44px; padding: 0 10px; }

    .page-body--article { padding-top: 24px; }
    .article-main { gap: 28px; }
    .article-nav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .article-nav__card--all { grid-column: auto; align-items: flex-start; text-align: left; }
    .article-nav__card { padding: 18px; }
    .article-nav__title { font-size: 16px; }
    .article-aside { display: flex; }
    .others-box { padding: 18px; }
    .share-bar { padding: 16px 0; }

    .contact-page { gap: 20px; }
    .contact-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .contact-card { flex-direction: row; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; }
    .contact-card__icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
    .contact-card__value { font-size: 16px; }
    .contact-main { gap: 20px; }
    .contact-form-box { gap: 22px; padding: 24px 20px; border-radius: 20px; }
    .contact-form-box .section-head h2 { font-size: 36px; }
    .contact-form__row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .contact-form__foot { flex-direction: column-reverse; align-items: stretch; }
    .contact-form__foot .btn { justify-content: center; }
    .form-success { padding: 24px; }
    .form-success__title { font-size: 22px; }
    .contact-map .map3d,
    .map-embed { min-height: 320px; height: 320px; flex-grow: 0; }

    .search-form { flex-direction: column; }
}
