/* ===========================================================================
 *  Оформлення демо-сайту агентства нерухомості
 * ---------------------------------------------------------------------------
 *  Кольори й форми свідомо збігаються зі стилями розділу /base/
 *  (plusestSite/public/assets/site.css), щоб сторінки сайту та база
 *  нерухомості виглядали як одне ціле.
 * =========================================================================== */

@keyframes gradient {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Пульсація індикатора «зараз відкрито» у підвалі. */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 214, 143, .55);
    }

    70% {
        box-shadow: 0 0 0 .5rem rgba(106, 214, 143, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(106, 214, 143, 0);
    }
}

:root {
    --accent: #2f43a9;
    --accent-dark: #25358a;
    --accent-light: #4f63d0;
    --accent-soft: #eef0fb;
    --accent-line: #dde1fc;

    --navy: #131c3f;
    --navy-light: #1e2a5a;

    --text: #232733;
    --muted: #7a8090;
    --line: #e7e9f0;
    --soft: #f4f5f8;

    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 2px 14px rgba(35, 39, 51, .07);
    --shadow-lg: 0 18px 44px rgba(35, 39, 51, .14);

    --fast: .18s;
    --slow: .35s;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -ms-text-size-adjust: 100%;
    min-height: 100%;
    min-width: 100%;
    font-size: 1rem;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #fcfcfc;
    overflow-y: scroll;
    overflow-x: hidden;
    line-height: 1.5;
    font-weight: 300;
    min-height: 100%;
    min-width: 100%;
    font-size: 1rem;
    color: #696969;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0 0 .75rem 0;
    line-height: 1.25;
    font-weight: 600;
    color: var(--text);
}

h1 {
    font-size: clamp(1.7rem, 4.4vw, 2.6rem);
    letter-spacing: .01em;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 .9rem 0;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===========================================================================
 *  Шапка
 * =========================================================================== */

header {
    background: url(../images/header.jpg);
    background-size: cover;
    padding-top: 1rem;
}

header > div {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

header > div .logo > img {
    width: 14rem;
}

header > div > .contacts {
    white-space: nowrap;
    color: #ffffff;
}

header > div > .contacts > div {
    display: flex;
    gap: 1rem;
}

header > div > .contacts > a {
    text-decoration-thickness: from-font !important;
    text-decoration-style: dotted !important;
    text-decoration-skip-ink: all;
    text-underline-offset: .2em;
    text-decoration: underline;
    color: #ffffff;
}

header > div > .contacts > a:hover {
    text-decoration: none;
}

header > div > .social {
    display: flex;
    gap: .4rem;
}

header > div > .social a {
    transition: background var(--fast) ease, transform var(--fast) ease;
    border-radius: 50%;
    line-height: 0;
    padding: .5rem;
}

header > div > .social a:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

header > div > .social img {
    width: 1.2rem;
}

header > nav {
    margin: 1rem 0 2rem 0;
    background: #f5f5f5;
    text-align: center;
    padding: 2rem 0;
}

header > nav a {
    transition: background .3s ease;
    text-transform: uppercase;
    border: 1px solid #cfd4e5;
    text-decoration: none;
    padding: .5rem 1.5rem;
    display: inline-block;
    border-radius: .5rem;
    background: #eceeff;
    font-size: .9rem;
    margin: 0 .2rem;
    color: #000000;
}

header > nav a:hover {
    background: #dde1fc;
}

header > nav a.active {
    border-color: #4f63d0;
    background: #4f63d0;
    color: #ffffff;
}


/* ===========================================================================
 *  Вступний блок
 * =========================================================================== */

.intro {
    text-transform: uppercase;
    text-align: center;
}

/* Заголовок із «живим» градієнтом. Якщо браузер не вміє обрізати фон по
   тексту — залишиться звичайний колір із правила для h1 вище. */
@supports (-webkit-background-clip: text) or (background-clip: text) {

    .intro > h1 {
        background: linear-gradient(100deg, var(--navy), var(--accent-light), var(--accent), var(--navy));
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-size: 220% auto;
        background-clip: text;
        animation: gradient 12s ease infinite;
        color: transparent;
    }

}

.intro > h2 {
    letter-spacing: .08em;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--muted);
}

.intro > h2::after {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    margin: 1rem auto 0 auto;
    border-radius: 3px;
    display: block;
    content: '';
    height: 3px;
    width: 3.5rem;
}

.intro > div {
    text-transform: none;
    font-style: italic;
    font-size: 1.5rem;
    margin: 2rem auto;
    color: #81a7e1;
    width: 80%;
}


/* ===========================================================================
 *  Категорії
 * ---------------------------------------------------------------------------
 *  Коло з іконкою; при наведенні (або при фокусі з клавіатури) іконка
 *  спливає вгору та зникає, а на її місці з’являються посилання до бази.
 * =========================================================================== */

.categories {
    justify-content: center;
    margin: 3rem 0 4rem 0;
    gap: 2.5rem 2rem;
    flex-wrap: wrap;
    display: flex;
}

.categories > .category {
    text-align: center;
    width: 12rem;
}

.categories .category-visual {
    transition: transform var(--slow) ease, box-shadow var(--slow) ease, border-color var(--slow) ease;
    border: 1px solid var(--line);
    margin: 0 auto .9rem auto;
    box-shadow: var(--shadow);
    background: #ffffff;
    place-items: center;
    border-radius: 50%;
    position: relative;
    height: 12rem;
    width: 12rem;
    display: grid;
}

/* Градієнтна заливка кола. Окремий шар потрібен, щоб її можна було плавно
   показати, не перемальовуючи фон самого кола. Світла пляма зверху ліворуч
   додає колу об’єму. */
.categories .category-visual::before {
    background: radial-gradient(85% 85% at 28% 18%, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0) 62%),
                linear-gradient(135deg, #6275e6, var(--accent) 52%, var(--navy-light));
    transition: opacity var(--slow) ease;
    border-radius: 50%;
    position: absolute;
    content: '';
    opacity: 0;
    inset: -1px;
}

.categories .category:hover .category-visual,
.categories .category:focus-within .category-visual {
    box-shadow: 0 18px 36px rgba(47, 67, 169, .32);
    transform: translateY(-.4rem);
    border-color: transparent;
}

.categories .category:hover .category-visual::before,
.categories .category:focus-within .category-visual::before {
    opacity: 1;
}

.categories .category-visual > i,
.categories .category-visual > .category-links {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
}

.categories .category-visual > i {
    transition: opacity var(--fast) ease, transform var(--slow) cubic-bezier(.2, .8, .3, 1);
    color: var(--accent);
    font-size: 3.4rem;
    line-height: 1;
}

.categories .category:hover .category-visual > i,
.categories .category:focus-within .category-visual > i {
    transform: translateY(-1.2rem) scale(.7);
    opacity: 0;
}

/* Посилання лишаються у потоці документа (без display: none), тому їх можна
   дістати клавішею Tab — і тоді :focus-within відкриє коло. */
.categories .category-links {
    transition: opacity var(--fast) ease;
    flex-direction: column;
    pointer-events: none;
    display: flex;
    gap: .5rem;
    opacity: 0;
}

.categories .category:hover .category-links,
.categories .category:focus-within .category-links {
    pointer-events: auto;
    opacity: 1;
}

.categories .category-links > a {
    transition: transform var(--slow) cubic-bezier(.2, .8, .3, 1), background var(--fast) ease, color var(--fast) ease, border-color var(--fast) ease;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .14);
    transform: translateY(.9rem);
    border-radius: 2rem;
    text-decoration: none;
    padding: .35rem 0;
    font-size: .9rem;
    color: #ffffff;
    width: 7.2rem;
    display: block;
}

/* Затримка задається лише для transform (перша властивість у списку вище),
   інакше підсвітка самого посилання при наведенні теж «запізнювалася» б. */
.categories .category:hover .category-links > a:nth-child(1),
.categories .category:focus-within .category-links > a:nth-child(1) {
    transition-delay: .05s, 0s, 0s, 0s;
}

.categories .category:hover .category-links > a:nth-child(2),
.categories .category:focus-within .category-links > a:nth-child(2) {
    transition-delay: .12s, 0s, 0s, 0s;
}

.categories .category:hover .category-links > a,
.categories .category:focus-within .category-links > a {
    transform: translateY(0);
}

.categories .category-links > a:hover,
.categories .category-links > a:focus-visible {
    color: var(--accent);
    background: #ffffff;
    border-color: #ffffff;
    outline: none;
}

.categories .category > h3 {
    transition: color var(--fast) ease;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1rem;
    margin: 0;
}

.categories .category:hover > h3,
.categories .category:focus-within > h3 {
    color: var(--accent);
}


/* ===========================================================================
 *  Заголовок секції
 * =========================================================================== */

.section-head {
    margin: 3.5rem 0 2rem 0;
    text-align: center;
}

.section-head > h2 {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.7rem;
    margin: 0;
}

.section-head > h2::after {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    margin: .85rem auto 1rem auto;
    border-radius: 3px;
    display: block;
    content: '';
    height: 3px;
    width: 3.5rem;
}

.section-head > p {
    max-width: 46rem;
    margin: 0 auto;
}


/* ===========================================================================
 *  Цифри агентства
 * =========================================================================== */

.stats {
    background: linear-gradient(115deg, var(--navy), var(--accent), var(--accent-light), var(--navy));
    grid-template-columns: repeat(4, 1fr);
    animation: gradient 14s ease infinite;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-size: 220% 220%;
    padding: 1.6rem 1rem;
    margin: 3.5rem 0 0 0;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    display: grid;
}

/* Косі смуги — той самий візерунок, що й на картинці шапки. */
.stats::after {
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 9px);
    pointer-events: none;
    position: absolute;
    content: '';
    inset: 0;
}

.stats > div {
    padding: .7rem 1rem;
    text-align: center;
    position: relative;
}

.stats > div + div::before {
    background: rgba(255, 255, 255, .22);
    position: absolute;
    bottom: 15%;
    content: '';
    width: 1px;
    top: 15%;
    left: 0;
}

.stats i {
    font-size: 1.5rem;
    line-height: 1;
    opacity: .75;
}

.stats strong {
    font-family: 'Electrolize', sans-serif;
    margin: .35rem 0 .1rem 0;
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.1;
    display: block;
}

.stats span {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .8rem;
    opacity: .85;
}


/* ===========================================================================
 *  Переваги
 * =========================================================================== */

.features {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    display: grid;
}

.features > div {
    transition: transform var(--slow) ease, box-shadow var(--slow) ease, border-color var(--slow) ease;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.8rem 1.4rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.features > div::before {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    transition: transform var(--slow) ease;
    transform-origin: left center;
    transform: scaleX(0);
    position: absolute;
    content: '';
    height: 3px;
    right: 0;
    left: 0;
    top: 0;
}

.features > div:hover {
    border-color: var(--accent-line);
    transform: translateY(-.35rem);
    box-shadow: var(--shadow-lg);
}

.features > div:hover::before {
    transform: scaleX(1);
}

.features i {
    transition: background var(--slow) ease, color var(--slow) ease, transform var(--slow) ease;
    background: var(--accent-soft);
    border-radius: var(--radius);
    margin-bottom: 1.1rem;
    color: var(--accent);
    place-items: center;
    font-size: 1.6rem;
    height: 3.2rem;
    width: 3.2rem;
    display: grid;
}

.features > div:hover i {
    transform: rotate(-6deg) scale(1.06);
    background: var(--accent);
    color: #ffffff;
}

.features h3 {
    margin-bottom: .4rem;
}

.features p {
    font-size: .95rem;
    margin: 0;
}


/* ===========================================================================
 *  Як це працює
 * =========================================================================== */

.steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    display: grid;
}

.steps > div {
    text-align: center;
    position: relative;
}

/* Пунктир до наступного кроку: тягнеться через відступ сітки, а кружечок
   із номером перекриває його своїм білим фоном. */
.steps > div:not(:last-child)::before {
    border-top: 2px dashed var(--line);
    width: calc(100% + 1.5rem);
    position: absolute;
    content: '';
    top: 1.7rem;
    left: 50%;
}

.steps .step-num {
    transition: background var(--slow) ease, color var(--slow) ease, border-color var(--slow) ease, transform var(--slow) ease;
    font-family: 'Electrolize', sans-serif;
    border: 2px solid var(--accent-line);
    margin: 0 auto 1rem auto;
    color: var(--accent);
    place-items: center;
    background: #ffffff;
    border-radius: 50%;
    font-size: 1.25rem;
    position: relative;
    height: 3.4rem;
    width: 3.4rem;
    display: grid;
    z-index: 1;
}

.steps > div:hover .step-num {
    box-shadow: 0 10px 22px rgba(47, 67, 169, .25);
    border-color: var(--accent);
    background: var(--accent);
    transform: scale(1.08);
    color: #ffffff;
}

.steps h3 {
    margin-bottom: .3rem;
}

.steps p {
    font-size: .92rem;
    max-width: 15rem;
    margin: 0 auto;
}


/* ===========================================================================
 *  Заклик перейти до бази
 * =========================================================================== */

.cta {
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-lg);
    background: var(--accent-soft);
    margin: 3.5rem 0 0 0;
    padding: 2.6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Дві великі плями для об’єму. */
.cta::before,
.cta::after {
    background: rgba(79, 99, 208, .09);
    pointer-events: none;
    border-radius: 50%;
    position: absolute;
    content: '';
}

.cta::before {
    height: 16rem;
    width: 16rem;
    left: -5rem;
    top: -7rem;
}

.cta::after {
    bottom: -8rem;
    height: 20rem;
    right: -4rem;
    width: 20rem;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta > h2 {
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 1.6rem;
}

.cta > p {
    margin: 0 auto 1.6rem auto;
    max-width: 42rem;
}

.btn {
    transition: background var(--fast) ease, transform var(--fast) ease, box-shadow var(--fast) ease;
    box-shadow: 0 8px 20px rgba(47, 67, 169, .28);
    background: var(--accent);
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    padding: .8rem 1.8rem;
    border-radius: 2rem;
    font-weight: 400;
    color: #ffffff;
    gap: .6rem;
}

.btn:hover,
.btn:focus-visible {
    box-shadow: 0 12px 26px rgba(47, 67, 169, .34);
    background: var(--accent-dark);
    transform: translateY(-2px);
    outline: none;
}

.btn > i {
    transition: transform var(--fast) ease;
    font-size: .9rem;
}

.btn:hover > i,
.btn:focus-visible > i {
    transform: translateX(.3rem);
}


/* ===========================================================================
 *  Попередження про демо-дані
 * =========================================================================== */

.message {
    border-radius: var(--radius);
    border: 1px dashed #f2c6cf;
    justify-content: center;
    padding: 1rem 1.4rem;
    margin: 2.5rem 0 0 0;
    background: #fdf3f5;
    align-items: center;
    font-size: .95rem;
    text-align: center;
    color: #ef4d72;
    display: flex;
    gap: .8rem;
}

.message > i {
    font-size: 1.4rem;
    flex: 0 0 auto;
    line-height: 1;
}


/* ===========================================================================
 *  Підвал
 * ---------------------------------------------------------------------------
 *  Темно-синій, у тон картинці шапки: сторінка отримує однакову «рамку»
 *  зверху та знизу.
 * =========================================================================== */

footer {
    background: linear-gradient(120deg, #0e1633, var(--navy) 45%, #1b2a63);
    padding: 3rem 0 0 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    color: #c3c7d2;
}

footer::before {
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 10px);
    pointer-events: none;
    position: absolute;
    content: '';
    inset: 0;
}

footer::after {
    background: linear-gradient(90deg, var(--accent-light), #81a7e1, var(--accent), var(--accent-light));
    animation: gradient 10s ease infinite;
    background-size: 220% auto;
    position: absolute;
    content: '';
    height: 3px;
    right: 0;
    left: 0;
    top: 0;
}

footer > .container {
    position: relative;
    z-index: 1;
}

footer a {
    transition: color var(--fast) ease;
    text-decoration: none;
    color: #ffffff;
}

footer a:hover {
    color: #81a7e1;
}

footer h3 {
    text-transform: uppercase;
    align-items: center;
    margin: 0 0 1rem 0;
    letter-spacing: .08em;
    font-size: .85rem;
    color: #ffffff;
    display: flex;
    gap: .5rem;
}

footer h3 > i {
    color: #81a7e1;
    font-size: 1.1rem;
    line-height: 1;
}

.footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    padding-bottom: 2.5rem;
    gap: 2rem;
    display: grid;
}

.footer-brand > img {
    margin-bottom: 1rem;
    width: 12rem;
}

.footer-brand > p {
    max-width: 22rem;
    font-size: .9rem;
    opacity: .8;
}

.footer-social {
    display: flex;
    gap: .5rem;
}

.footer-social > a {
    transition: background var(--fast) ease, border-color var(--fast) ease, transform var(--fast) ease;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    place-items: center;
    border-radius: 50%;
    height: 2.4rem;
    width: 2.4rem;
    display: grid;
}

.footer-social > a:hover {
    border-color: var(--accent-light);
    background: var(--accent-light);
    transform: translateY(-3px);
}

.footer-social img {
    width: 1.05rem;
}

.footer-phones {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
    gap: .3rem;
}

.footer-phones > a {
    font-size: 1.05rem;
}

.footer-address {
    font-size: .95rem;
    opacity: .85;
}

/* --- Графік роботи ------------------------------------------------------- */

.footer-hours {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}

.footer-hours .hours-row {
    border-bottom: 1px dashed rgba(255, 255, 255, .14);
    justify-content: space-between;
    padding: .45rem .1rem;
    align-items: center;
    font-size: .9rem;
    display: flex;
    gap: 1rem;
}

.footer-hours .hours-row > b {
    font-family: 'Electrolize', sans-serif;
    white-space: nowrap;
    font-weight: 400;
    color: #ffffff;
}

.footer-hours .hours-row.is-today > b {
    color: #9ff0bd;
}

.footer-hours .hours-row.is-off > b {
    font-family: inherit;
    opacity: .6;
}

.footer-hours .hours-status {
    justify-content: center;
    border-radius: 2rem;
    align-items: center;
    margin-top: .9rem;
    padding: .35rem 0;
    font-size: .85rem;
    display: flex;
    gap: .5rem;
}

.footer-hours .hours-status > span {
    border-radius: 50%;
    height: .5rem;
    width: .5rem;
}

.footer-hours .hours-status.is-open {
    background: rgba(106, 214, 143, .12);
    color: #9ff0bd;
}

.footer-hours .hours-status.is-open > span {
    animation: pulse 2.4s ease-out infinite;
    background: #6ad68f;
}

.footer-hours .hours-status.is-closed {
    background: rgba(255, 255, 255, .06);
    color: #c3c7d2;
}

.footer-hours .hours-status.is-closed > span {
    background: #8e94a6;
}

/* --- Нижній рядок -------------------------------------------------------- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    justify-content: space-between;
    padding: 1.2rem 0 1.4rem 0;
    align-items: center;
    font-size: .85rem;
    flex-wrap: wrap;
    display: flex;
    opacity: .75;
    gap: .5rem;
}


/* ===========================================================================
 *  Адаптив
 * =========================================================================== */

@media (max-width: 980px) {

    .features,
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1.25rem;
    }

    /* У два стовпці пунктир між кроками вже тільки заплутував би. */
    .steps > div:not(:last-child)::before {
        display: none;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}

@media (max-width: 720px) {

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

    .stats > div + div::before {
        display: none;
    }

    .stats > div:nth-child(even)::before {
        display: block;
    }

    .stats > div:nth-child(n + 3)::after {
        background: rgba(255, 255, 255, .22);
        position: absolute;
        content: '';
        right: 10%;
        height: 1px;
        left: 10%;
        top: 0;
    }

    .cta > h2 {
        font-size: 1.35rem;
    }

}

@media (max-width: 520px) {

    header > div {
        flex-direction: column;
        gap: 1rem;
    }

    header > nav a {
        text-align: center;
        padding: .5rem 0;
        margin: .5rem 0;
        display: block;
    }

    .intro > div {
        width: 100%;
    }

    .categories {
        gap: 2rem 1.5rem;
    }

    .features,
    .steps,
    .stats {
        grid-template-columns: 1fr;
    }

    .stats > div:nth-child(even)::before {
        display: none;
    }

    .stats > div:nth-child(n + 2)::after {
        background: rgba(255, 255, 255, .22);
        position: absolute;
        content: '';
        right: 20%;
        height: 1px;
        left: 20%;
        top: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .message {
        text-align: left;
    }

}

/* На сенсорних екранах наведення немає — показуємо посилання відразу,
   інакше до бази нерухомості з категорії не перейти. */
@media (hover: none) {

    .categories .category-visual::before {
        opacity: 1;
    }

    .categories .category-visual > i {
        display: none;
    }

    .categories .category-links {
        pointer-events: auto;
        opacity: 1;
    }

    .categories .category-links > a {
        transform: translateY(0);
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

}
