/* gruzinskiy.uz — design layer on top of core/theme (turquoise palette, UZ components, mobile). */

/* ---------- hero ---------- */
.hero {
    background:
        radial-gradient(55% 65% at 80% 38%, rgba(25, 181, 200, .32) 0%, rgba(8, 20, 26, 0) 70%),
        radial-gradient(35% 45% at 8% 100%, rgba(255, 201, 74, .10) 0%, rgba(8, 20, 26, 0) 70%),
        var(--ink) !important;
}

.hero__appIcon {
    border-radius: 16px;
    border-color: rgba(25, 181, 200, .45);
}

.hero__title {
    background: linear-gradient(92deg, #fff 55%, #8fe3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__facts dd {
    color: #8fe3ee;
}

/* ---------- article ---------- */
.article {
    border-radius: 20px !important;
}

.article__body h2 {
    position: relative;
    padding-bottom: .5em;
}

.article__body h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.toc {
    border-radius: 18px;
}

.toc__list li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    min-width: 28px;
    color: var(--gold);
    font-weight: 800;
}

/* ---------- CTA ---------- */
.cta {
    border-radius: 999px;
    padding: 0 30px;
}

.cta-row {
    margin: 1rem 0 2.25rem;
}

/* ---------- gallery with three screens ----------
   centred only where all three fit: justify-content:center inside an
   overflow-x scroller pushes the first item past the left edge on phones */
@media (min-width: 720px) {
    .gallery--3 {
        justify-content: center;
    }

    .gallery--3 figure {
        width: min(calc((100% - 28px) / 3), 220px);
    }
}

/* ---------- tables: stacked cards on phones ---------- */
@media (max-width: 600px) {
    .article__body .table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .article__body .table-wrap table.stack {
        min-width: 0;
    }

    .article__body table.stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .article__body table.stack,
    .article__body table.stack tbody,
    .article__body table.stack tr,
    .article__body table.stack td {
        display: block;
        width: 100%;
    }

    .article__body table.stack tr {
        margin: 0 0 10px;
        border: 1px solid var(--line);
        border-left: 3px solid var(--brand);
        border-radius: 12px;
        background: rgba(255, 255, 255, .03) !important;
        overflow: hidden;
    }

    .article__body table.stack td {
        display: grid;
        grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
        gap: 10px;
        padding: .6rem .85rem !important;
        overflow-wrap: anywhere;
    }

    .article__body table.stack td:last-child {
        border-bottom: 0 !important;
    }

    .article__body table.stack td::before {
        content: attr(data-label);
        color: #8fe3ee;
        font-size: .8rem;
        font-weight: 700;
    }

    .article__body table.stack td:first-child {
        background: rgba(25, 181, 200, .1);
        color: #fff;
        font-weight: 700;
    }

    .article__body table.stack td a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* ---------- FAQ: question headings ---------- */
.faq__h {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit;
}

.faq__h::after {
    display: none !important;
}

.faq__item.is-open {
    border-color: rgba(25, 181, 200, .45) !important;
    box-shadow: inset 3px 0 0 var(--brand);
}

.faq .faq__item.is-open .faq__body {
    display: block !important;
}

/* ---------- footer ---------- */
.footer__rg b {
    border-color: #e0574f;
    color: #ff8a80;
}

.footer__contacts a {
    color: #8fe3ee;
}

/* ---------- comfortable tap targets ---------- */
/* PC link: same dashed look, but a 44px-high tap area */
.hero__pc {
    min-height: 44px;
    padding: 0;
    border-bottom: 0;
}

.hero__pc span {
    border-bottom: 1px dashed rgba(143, 227, 238, .5);
    padding-bottom: 2px;
}

/* phones, tablets and any touch screen */
@media (max-width: 991.98px), (pointer: coarse) {
    .toc__list li {
        margin-bottom: 0;
    }

    .toc__list li a {
        padding: 9px 0;
        line-height: 1.35;
    }
}
