/* ---------------------------------------------------------------------------
   „ინსტრუქცია“ და „კონტაქტი“ — საიტის ძირითადი პალიტრით (იგივე სისტემა, რაც register.css).

   ადრე გვერდი მუქი, ნახევრად გამჭვირვალე ბლოკი იყო თეთრი ტექსტით და
   `!important`-ებით, ღია კონტენტის ფონზე კი უცხოდ გამოიყურებოდა. ახლა:
     • ბანერი მუქია — როგორც ჰედერი და სლაიდერი;
     • სექციები თეთრი ბარათებია მუქი ტექსტით;
     • აქცენტი — ბრენდის წითელი → ვარდისფერი (`--xg-red` → `--xg-pink`).
--------------------------------------------------------------------------- */
.about-page {
    --ab-accent: var(--xg-pink, #ff3366);
    --ab-red: var(--xg-red, #e22101);
    --ab-gradient: linear-gradient(135deg, var(--ab-red) 0%, var(--ab-accent) 100%);
    --ab-text: var(--xg-text, #1a1a1a);
    --ab-muted: var(--xg-text-dimmed, #6b6b6b);
    --ab-border: var(--xg-border, rgba(0, 0, 0, .08));
    --ab-tint: #fff0f4;
}

/* --- breadcrumb ------------------------------------------------------------ */
.about-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    color: var(--ab-muted);
    font-size: 13px;
}
.about-crumbs a { color: var(--ab-muted); text-decoration: none; }
.about-crumbs a:hover { color: var(--ab-red); text-decoration: underline; }
.about-crumbs [aria-current] { color: var(--ab-text); font-weight: 600; }

/* --- ბანერი ---------------------------------------------------------------- */
.about-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 34px 32px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(255, 51, 102, .35) 0%, rgba(255, 51, 102, 0) 55%),
        radial-gradient(120% 140% at 100% 0%, rgba(226, 33, 1, .3) 0%, rgba(226, 33, 1, 0) 55%),
        linear-gradient(160deg, #1f1a1c 0%, var(--xg-dark, #0d0d0d) 100%);
    box-shadow: var(--xg-shadow-md, 0 18px 44px rgba(0, 0, 0, .2));
}
.about-hero::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 51, 102, .28) 0%, rgba(255, 51, 102, 0) 70%);
    pointer-events: none;
}
.about-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .3px;
}
.about-hero__lead { max-width: 680px; margin: 0; color: #d6d0dd; font-size: 15px; line-height: 1.7; }

.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.about-badge {
    flex: 1 1 190px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}
.about-badge__dot {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ab-gradient);
    color: #fff;
}
.about-badge b { display: block; margin-bottom: 2px; color: #fff; font-size: 14px; font-weight: 700; }
.about-badge span:last-child { color: #b9b3c2; font-size: 12.5px; line-height: 1.5; }

/* --- ადმინის შეტყობინება -------------------------------------------------- */
.about-notice {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 51, 102, .3);
    border-radius: 12px;
    background: var(--ab-tint);
    color: var(--xg-red-dark, #c3140c);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

/* --- სარჩევი ---------------------------------------------------------------- */
.about-toc {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--ab-border);
    border-radius: 16px;
    background: var(--xg-paper, #fff);
    box-shadow: var(--xg-shadow-xs);
}
.about-toc__title { margin: 0 0 10px; color: var(--ab-text); font-size: 15px; font-weight: 800; }
.about-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.about-toc li { margin: 0; }
.about-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 4px 8px;
    border-radius: 10px;
    color: #2b2731;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.about-toc a:hover { background: var(--ab-tint); color: var(--ab-text); }
.about-toc a span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #f1eff5;
    color: var(--xg-red-dark, #c3140c);
    font-size: 12px;
    font-weight: 800;
}

/* --- სექციები ---------------------------------------------------------------- */
.about-sections { display: grid; gap: 16px; }
.about-section {
    padding: 22px 24px;
    border: 1px solid var(--ab-border);
    border-radius: 16px;
    background: var(--xg-paper, #fff);
    box-shadow: var(--xg-shadow-xs);
    color: var(--ab-text);
    /* სარჩევიდან გადასვლისას სექცია წებოვანი ჰედერის ქვეშ არ უნდა მოხვდეს */
    scroll-margin-top: 80px;
}
.about-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ab-border);
}
.about-step {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--ab-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(255, 51, 102, .3);
}
.about-section h2 { margin: 0; color: var(--ab-text); font-size: 19px; font-weight: 800; line-height: 1.35; }
.about-section p { margin: 0 0 12px; color: #3a3640; font-size: 15.5px; line-height: 1.8; }
.about-section p:last-child { margin-bottom: 0; }
.about-section strong { color: var(--xg-red-dark, #c3140c); }

.about-list { margin: 4px 0 0; padding: 0; list-style: none; }
.about-list li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 22px;
    color: #3a3640;
    font-size: 15px;
    line-height: 1.7;
}
.about-list li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--ab-gradient);
}

/* --- კონტაქტი ---------------------------------------------------------------- */
.about-section--contact { border-color: rgba(255, 51, 102, .3); }
.about-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 51, 102, .2);
    border-radius: 14px;
    background: var(--ab-tint);
}
.about-contact__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ab-gradient);
    color: #fff;
}
.about-contact__body { flex: 1 1 260px; min-width: 0; }
.about-contact__body strong { display: block; margin-bottom: 4px; color: var(--ab-text); font-size: 15px; letter-spacing: .3px; }
.about-contact__body p { margin: 0; color: #5d5868; font-size: 14px; line-height: 1.6; }
.about-contact__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--ab-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 51, 102, .28);
    transition: transform .15s, box-shadow .15s;
}
.about-contact__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 51, 102, .34); color: #fff; }
.about-contact__handle {
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .18);
    font-size: 13px;
}

/* --- ადაპტაცია ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .about-hero { padding: 26px 20px; }
    .about-hero h1 { font-size: 24px; }
    .about-section { padding: 18px; }
}
@media (max-width: 600px) {
    .about-toc ol { grid-template-columns: 1fr; }
    .about-section h2 { font-size: 17.5px; }
    .about-section p { font-size: 15px; }
    .about-contact__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .about-contact__cta, .about-contact__cta:hover { transition: none; transform: none; }
}

/* --- ინსტრუქცია: კითხვა-პასუხი (<details> აკორდეონი) ---------------------- */
.info-faq { display: grid; gap: 8px; margin: 0; }
.info-faq details {
    border: 1px solid var(--about-border, rgba(0, 0, 0, .1));
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.info-faq summary {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 14px;
    list-style: none; cursor: pointer;
    color: #16121a; font-size: 15px; font-weight: 700; line-height: 1.4;
}
.info-faq summary::-webkit-details-marker { display: none; }
.info-faq summary::after {
    content: ""; flex: 0 0 auto; margin-left: auto;
    width: 8px; height: 8px;
    border-right: 2px solid #e22101; border-bottom: 2px solid #e22101;
    transform: rotate(45deg); transition: transform .2s;
}
.info-faq details[open] summary::after { transform: rotate(-135deg); }
.info-faq details[open] summary { color: #e22101; }
.info-faq__answer { margin: 0; padding: 0 14px 14px; color: #3d3842; font-size: 14.5px; line-height: 1.7; }

.info-cases { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.info-cases li {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 12px; border-radius: 10px; background: rgba(226, 33, 1, .06);
    color: #2a2530; font-size: 14.5px; line-height: 1.5;
}
.info-cases li::before { content: "✓"; color: #e22101; font-weight: 800; }
.info-help-link { display: inline-block; margin-top: 14px; color: #e22101; font-weight: 700; }
