:root {
    --color-ink: #0b1730;
    --color-muted: #647086;
    --color-primary: #ffca28;
    --color-primary-dark: #e5aa00;
    --color-blue: #1459d9;
    --color-blue-dark: #07152d;
    --color-blue-mid: #0b2a59;
    --color-white: #fff;
    --color-surface: #f5f7fb;
    --color-border: #e5e9f0;
    --shadow-sm: 0 10px 30px rgba(13, 31, 60, .07);
    --shadow-lg: 0 30px 80px rgba(2, 20, 50, .16);
    --radius: 20px;
    --container: 1180px;
    --space-section: clamp(2.5rem, 5vw, 5rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(var(--container), calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.logo span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.3rem);
    margin-left: auto;
}

.main-nav a {
    color: rgba(255,255,255,.78);
    font-size: .9rem;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: #fff;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: .85rem 1.35rem;
    border-radius: 10px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--small {
    min-height: 44px;
    padding-inline: 1.15rem;
    color: var(--color-ink);
    background: var(--color-primary);
    font-size: .88rem;
}

.button--primary {
    color: #07152d;
    background: var(--color-primary);
    box-shadow: 0 14px 35px rgba(255, 202, 40, .22);
}

.button--primary:hover {
    background: #ffd34a;
    box-shadow: 0 18px 42px rgba(255, 202, 40, .3);
}

.hero {
    min-height: 780px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 44%, rgba(28, 100, 214, .32), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(8, 73, 170, .25), transparent 35%),
        linear-gradient(120deg, #06132a 0%, #092653 58%, #06172f 100%);
}

.hero__inner {
    min-height: 780px;
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: 8rem 4rem;
}

.hero__content {
    flex: 0 1 53%;
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 .9rem;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}

h1 span {
    color: var(--color-primary);
}

.hero__lead {
    max-width: 650px;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.75);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero__features {
    max-width: 670px;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    margin: 0 0 2.2rem;
    padding: 0;
    list-style: none;
}

.hero__features li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    color: rgba(255,255,255,.86);
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border: 1px solid rgba(255,202,40,.35);
    border-radius: 50%;
    background: rgba(255,202,40,.08);
    font-weight: 800;
}

.hero__visual {
    position: relative;
    flex: 1 1 47%;
    min-height: 470px;
}

.glow {
    position: absolute;
    width: 360px;
    height: 360px;
    left: 20%;
    top: 18%;
    border-radius: 50%;
    background: rgba(32, 115, 244, .25);
    filter: blur(70px);
}

.analytics {
    position: absolute;
    right: 2%;
    top: 7%;
    width: 150px;
    height: 95px;
    opacity: .7;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.analytics span {
    position: absolute;
    bottom: 0;
    width: 16px;
    border-radius: 3px 3px 0 0;
    background: rgba(54, 132, 239, .28);
}

.analytics span:nth-child(1) { left: 8px; height: 30%; }
.analytics span:nth-child(2) { left: 37px; height: 52%; }
.analytics span:nth-child(3) { left: 66px; height: 42%; }
.analytics span:nth-child(4) { left: 95px; height: 76%; }
.analytics span:nth-child(5) { left: 124px; height: 92%; }

.analytics i {
    position: absolute;
    inset: 15px 0 auto 0;
    height: 55px;
    border-top: 2px solid var(--color-primary);
    transform: skewY(-22deg);
}

.device {
    position: absolute;
    border: 7px solid #101c31;
    background: #0a1020;
    box-shadow: 0 35px 70px rgba(0,0,0,.45);
}

.device__screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    color: #0b1730;
}

.device--laptop {
    width: min(570px, 100%);
    height: 350px;
    left: 0;
    top: 95px;
    border-radius: 12px;
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

.device--laptop::after {
    content: "";
    position: absolute;
    left: -7%;
    bottom: -42px;
    width: 114%;
    height: 40px;
    border-radius: 3px 3px 15px 15px;
    background: linear-gradient(#52617a, #172237);
}

.device--phone {
    width: 150px;
    height: 295px;
    right: -5px;
    bottom: 48px;
    z-index: 2;
    border-width: 6px;
    border-radius: 24px;
    transform: rotate(5deg);
}

.mock-nav {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 18px;
    font-size: 8px;
    border-bottom: 1px solid #e9edf3;
}

.mock-nav b {
    font-size: 11px;
}

.mock-hero {
    height: 205px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(120deg, #f4f8ff, #fff);
}

.mock-hero small,
.device--phone small {
    color: #2464ce;
    font-size: 7px;
    font-weight: 800;
}

.mock-hero h3 {
    margin: 5px 0 12px;
    font-size: 24px;
    line-height: 1.05;
}

.mock-hero em,
.device--phone em {
    color: #2464ce;
    font-style: normal;
}

.mock-hero button,
.device--phone button {
    padding: 7px 11px;
    border-radius: 4px;
    color: #0b1730;
    background: var(--color-primary);
    font-size: 8px;
    font-weight: 800;
}

.mock-photo {
    flex: 1;
    height: 140px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 62% 35%, #b9cbe9 0 11%, transparent 12%),
        linear-gradient(145deg, #dce8f8, #8aa7d0);
}

.mock-cards {
    display: flex;
    gap: 8px;
    padding: 12px 25px;
}

.mock-cards i {
    height: 32px;
    flex: 1;
    border-radius: 4px;
    background: #f1f4f8;
}

.device--phone .device__screen {
    padding: 25px 13px 13px;
}

.phone-top {
    width: 38px;
    height: 4px;
    margin: -17px auto 22px;
    border-radius: 5px;
    background: #18243a;
}

.device--phone h4 {
    margin: 5px 0 10px;
    font-size: 16px;
    line-height: 1.08;
}

.phone-photo {
    height: 105px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: linear-gradient(145deg, #dfeafa, #8ca9d2);
}

.device--phone button {
    width: 100%;
    padding-block: 9px;
}

.phone-lines {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

.phone-lines i {
    height: 4px;
    flex: 1;
    border-radius: 3px;
    background: #e7ebf2;
}

.section {
    padding-block: var(--space-section);
}

.section--soft {
    background: var(--color-surface);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading h2,
.advantages h2,
.contact h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-heading > p:last-child,
.contact__copy > p:last-child {
    color: var(--color-muted);
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card {
    flex: 1 1 240px;
    min-height: 150px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    color: var(--color-blue);
    border-radius: 14px;
    background: #edf4ff;
    font-size: .8rem;
    font-weight: 850;
}

.card h3,
.process-item h3,
.advantages__list h3 {
    margin-bottom: .55rem;
    font-size: 1.2rem;
    letter-spacing: -.025em;
}

.card p,
.process-item p,
.advantages__list p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: .95rem;
}

.process-list {
    display: flex;
    gap: 0;
}

.process-item {
    position: relative;
    flex: 1;
    padding: 0 2rem;
    border-left: 1px solid var(--color-border);
}

.process-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.process-number {
    display: block;
    margin-bottom: 2.2rem;
    color: var(--color-blue);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.section--dark {
    color: #fff;
    background: var(--color-blue-dark);
}

.advantages {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.advantages__intro {
    flex: 1 1 43%;
}

.advantages h2 {
    margin-bottom: 1rem;
}

.advantages__intro > p:not(.eyebrow) {
    max-width: 500px;
    color: rgba(255,255,255,.65);
}

.ecosystem {
    position: relative;
    width: min(340px, 100%);
    aspect-ratio: 1;
    margin-top: 2rem;
    border: 1px dashed rgba(255,255,255,.16);
    border-radius: 50%;
}

.ecosystem::before {
    content: "";
    position: absolute;
    inset: 25%;
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 50%;
}

.ecosystem__center {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 116px;
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,202,40,.5);
    border-radius: 50%;
    background: #0b2346;
    font-size: 1rem;
    font-weight: 800;
    z-index: 2;
}

.ecosystem__center span {
    color: var(--color-primary);
}

.node {
    position: absolute;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: #102c55;
    color: rgba(255,255,255,.8);
    font-size: .55rem;
    font-style: normal;
    font-weight: 800;
    z-index: 1;
}

.node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.node--2 { top: 50%; right: 0; transform: translateY(-50%); }
.node--3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node--4 { top: 50%; left: 0; transform: translateY(-50%); }

.advantages__list {
    flex: 1 1 57%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advantages__list article {
    display: flex;
    gap: 1.25rem;
}

.advantages__list article > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border: 1px solid rgba(255,202,40,.25);
    border-radius: 50%;
    background: rgba(255,202,40,.07);
    font-size: 1.3rem;
}

.advantages__list h3 {
    margin-top: .2rem;
}

.advantages__list p {
    color: rgba(255,255,255,.63);
}

.section--contact {
    background: #f5f7fb;
}

.contact {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact__copy {
    flex: 1 1 42%;
}

.contact__copy h2 {
    max-width: 510px;
}

.contact__copy > p:last-child {
    max-width: 520px;
}

.contact-form {
    flex: 1 1 58%;
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.contact-form label {
    flex: 1 1 calc(50% - .45rem);
}

.contact-form label.field--full,
.contact-form .field--full {
    flex-basis: 100%;
}

.contact-form label span {
    display: block;
    margin-bottom: .4rem;
    font-size: .8rem;
    font-weight: 700;
}

.contact-form label small {
    color: var(--color-muted);
    font-weight: 400;
}

.contact-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    outline: 0;
    color: var(--color-ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(20,89,217,.09);
}

.form-note {
    flex-basis: 100%;
    margin: 0;
    color: var(--color-muted);
    font-size: .75rem;
    text-align: center;
}

.site-footer {
    padding-top: 3.5rem;
    color: rgba(255,255,255,.72);
    background: #061329;
}

.footer__inner {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 3rem;
}

.site-footer .logo {
    color: #fff;
}

.site-footer p {
    margin: 1rem 0 0;
    color: rgba(255,255,255,.45);
    font-size: .85rem;
}

.footer__inner nav {
    display: flex;
    gap: 1.7rem;
    margin-left: auto;
}

.footer__inner nav a {
    font-size: .85rem;
}

.footer__socials {
    display: flex;
    gap: .55rem;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    font-weight: 800;
}

.footer__bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.35);
    font-size: .75rem;
}

@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .hero__inner {
        gap: 2rem;
    }

    .hero__visual {
        min-height: 410px;
    }

    .device--laptop {
        height: 290px;
    }

    .device--phone {
        width: 125px;
        height: 250px;
    }

    .mock-hero {
        height: 160px;
    }

    .mock-hero h3 {
        font-size: 19px;
    }
}

@media (max-width: 800px) {
    .container {
        width: min(var(--container), calc(100% - 2rem));
    }

    .site-header {
        position: absolute;
    }

    .header__inner {
        min-height: 68px;
    }

    .header__inner > .button {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero__inner {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding-block: 9rem 5rem;
    }

    .hero__content {
        flex-basis: auto;
    }

    h1 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .hero__visual {
        width: min(620px, 100%);
        min-height: 390px;
        margin-inline: auto;
    }

    .advantages,
    .contact {
        flex-direction: column;
        align-items: stretch;
    }

    .advantages__intro {
        flex-basis: auto;
    }

    .process-list {
        flex-wrap: wrap;
        gap: 2rem 0;
    }

    .process-item {
        flex: 1 1 50%;
    }

    .process-item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .contact {
        padding: 2rem 1.3rem;
    }
}

@media (max-width: 560px) {
    .button--small {
        min-height: 40px;
        padding-inline: .8rem;
        font-size: .78rem;
    }

    .hero__inner {
        padding-top: 8.2rem;
    }

    .hero__visual {
        min-height: 310px;
        transform: scale(.88);
        transform-origin: top center;
        margin-bottom: -30px;
    }

    .device--laptop {
        width: 100%;
        height: 220px;
        top: 55px;
    }

    .device--phone {
        width: 100px;
        height: 200px;
        right: -3px;
        bottom: 30px;
    }

    .mock-hero {
        height: 130px;
        padding: 15px;
    }

    .mock-hero h3 {
        font-size: 15px;
    }

    .mock-photo {
        height: 95px;
    }

    .mock-nav {
        height: 26px;
    }

    .mock-cards {
        padding: 8px 15px;
    }

    .device--phone .device__screen {
        padding: 18px 9px 9px;
    }

    .device--phone h4 {
        font-size: 11px;
    }

    .phone-photo {
        height: 68px;
    }

    .section {
        padding-block: 4.5rem;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .card {
        min-height: auto;
        padding: 1.5rem;
    }

    .card__icon {
        margin-bottom: 1.2rem;
    }

    .process-item {
        flex-basis: 100%;
        padding: 0 0 0 1.2rem !important;
        border-left: 1px solid var(--color-border) !important;
    }

    .process-number {
        margin-bottom: 1rem;
    }

    .ecosystem {
        width: 280px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__inner nav {
        flex-wrap: wrap;
        margin-left: 0;
    }

    .footer__bottom {
        gap: 1rem;
    }
}

/* Нова сітка для рішень */
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Модифікатор для картки, щоб вона мала кнопку внизу */
.card--solution {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 310px; /* Фіксована висота, щоб усі картки в ряду були рівними */
}

/* Модифікатор для іконки-емодзі, щоб вона не стискалася базовим .card__icon */
.card__icon--emoji {
    font-size: 1.6rem; /* Нормальний розмір для емодзі */
    background: transparent; /* Прибираємо фірмовий фоновий квадрат */
    width: auto;
    height: auto;
    justify-content: flex-start; /* Вирівнюємо по лівому краю */
    margin-bottom: 1.5rem;
}

/* Стиль посилання-стрілки */
.card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto; /* Притискає посилання до самого низу картки */
    color: var(--color-blue);
    font-weight: 750;
    font-size: 0.95rem;
    transition: color .2s ease, transform .2s ease;
}

.card__link:hover {
    color: var(--color-blue-mid);
    transform: translateX(4px);
}

/* Кнопка про нас для секції .advantages__intro */
.advantages__intro-action {
    margin-top: 2.2rem;
}

/* Адаптивність для мобільних (відповідно до ваших брекпоінтів) */
@media (max-width: 800px) {
    .solutions-grid {
        gap: 1rem 0; /* На мобільних картки стають одна під одною */
    }
}

/* Єдиний контейнер для всіх сіток сайту (аудиторії, процеси, тарифи) */
.cards-flex-row, .pricing-grid, .process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;             
    justify-content: center; /* Красиво центрує непарні блоки знизу */
    width: 100%;
    margin-top: 2rem;
}

/* Спільні правила для всіх карток на сайті (заборона розтягування на всю ширину) */
.cards-flex-row .card, 
.process-list .process-item, 
.pricing-grid .card--pricing {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Задаємо індивідуальну комфортну ширину під контент кожного блоку */
.cards-flex-row .card { flex: 0 1 250px; }            /* 4 картки в ряд (вужчі) */
.process-list .process-item { flex: 0 1 310px; }      /* 3 картки в ряд */
.pricing-grid .card--pricing { flex: 0 1 340px; }     /* 3 картки тарифів (найширші) */

/* Мінімальна адаптивність під мобільні, щоб скинути десктопні відступи процесів */
@media (max-width: 800px) {
    .process-list .process-item {
        border-left: 1px solid var(--color-border) !important;
        padding: 1.5rem !important;
    }
}


/* --- Оформлення та внутрішня стилізація карток тарифів --- */

.card--featured {
    border: 2px solid var(--color-primary) !important;
    box-shadow: var(--shadow-lg) !important;
    position: relative !important;
    overflow: hidden !important; 
}

.card__badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--color-primary);
    color: var(--color-blue-dark);
    font-size: 0.7rem;
    font-weight: 850;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card__price-box {
    margin-block: 1.5rem;
    line-height: 1;
}

.card__price {
    font-size: 2.5rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.card__price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
}

.card__period {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.4rem;
}

.card__checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card__checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-ink);
}

.card__checklist-icon {
    color: var(--color-blue);
    font-weight: 800;
}

.card--featured .card__checklist-icon {
    color: var(--color-primary-dark);
}

.card--pricing .button {
    width: 100%;
    margin-top: auto;
}

/* Блок Частих питань (FAQ) */
.faq-list {
    max-width: 820px; /* Оптимальна ширина для зручного читання тексту */
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 14px; /* Узгоджено з вашими радіусами карток */
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-blue);
    box-shadow: 0 10px 25px rgba(20, 89, 217, 0.05);
}

/* Клікабельна панель питання */
.faq-item summary {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 750; /* Ваш фірмовий напівжирний шрифт */
    letter-spacing: -.02em;
    cursor: pointer;
    list-style: none; /* Прибираємо стандартну системну стрілку */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    user-select: none;
}

/* Прибираємо стандартну стрілку для браузерів Safari */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Створення власної кастомної стрілки на CSS */
.faq-item summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-muted);
    border-bottom: 2px solid var(--color-muted);
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.faq-item:hover summary::after {
    border-color: var(--color-blue);
}

/* Поведінка стрілки при розкритті блоку */
.faq-item[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--color-blue);
}

/* Блок відповіді */
.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    border-top: 1px solid transparent;
}

/* Плавна поява лінії розподілу при відкритті */
.faq-item[open] .faq-answer {
    border-top-color: var(--color-border);
    padding-top: 1.2rem;
}

/* Адаптивність для мобільних екранів */
@media (max-width: 560px) {
    .faq-item summary {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 1.5rem 1.2rem 1.5rem;
        font-size: 0.92rem;
    }
}

/* Нова секція швидкого зв'язку */
.contact-messenger {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-messenger__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

/* Кнопка месенджера на базі вашого класу .button */
.button--messenger {
    min-width: 200px;
    color: var(--color-white) !important;
    box-shadow: var(--shadow-sm);
}

.button--telegram {
    background: #26a5e4;
}
.button--telegram:hover {
    background: #2296d2;
}

.button--viber {
    background: #7d3daf;
}
.button--viber:hover {
    background: #6c3399;
}
