/* ====== FONTS: GERBERA ====== */
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ====== BASE ====== */
:root {
    --bg: #FFFFFF;
    --dark: #101B20;
    --g80: #40464D;
    --g60: #707479;
    --g40: #9CA0A3;
    --container: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "Gerbera", system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background: var(--bg);
}

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

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

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

/* ====== HEADER ====== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(16,27,32,.06);
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
}

.header__brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark);
    transition: opacity .2s;
}

.nav-link:hover { opacity: .6; }

.nav-link--active {
    opacity: 1;
    font-weight: 500;
}

.header__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(16,27,32,.15);
    transition: all .3s;
    overflow: hidden;
}

.header__social-link:hover {
    border-color: var(--dark);
    background: rgba(16,27,32,.05);
    transform: translateY(-2px);
}

.header__social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 12px;
    flex-shrink: 0;
}

.header__burger span {
    display: block;
    height: 1px;
    background: var(--dark);
    margin: 6px 0;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(16,27,32,.08);
}

.mobile-menu--open { display: block; }

.mobile-menu__inner {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mobile-menu__socials {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(16,27,32,.08);
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(16,27,32,.2);
    transition: all .3s;
}

.mobile-social-link:hover {
    border-color: var(--dark);
    background: rgba(16,27,32,.05);
}

.mobile-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ====== SHARED ELEMENTS ====== */
.crumbs {
    padding: 24px 0 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g60);
}

.crumbs span {
    margin: 0 8px;
}

.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(16,27,32,.55);
    margin-bottom: 24px;
}

.section-label--light {
    color: rgba(255,255,255,.5);
}

.section-heading {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.section-heading--center {
    text-align: center;
}

.section-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(16,27,32,.6);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* ====== REVIEWS TOP ====== */
.reviews-top {
    padding: 0 0 48px;
    text-align: center;
}

.reviews-title {
    margin: 48px 0 20px;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
}

.reviews-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(16,27,32,.6);
    text-align: center;
}

/* ====== 2GIS BANNER ====== */
.reviews-banner {
    padding: 0;
}

.reviews-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 56px;
    background: var(--dark);
    color: #fff;
}

.reviews-banner__text {
    display: flex;
    align-items: center;
    gap: 24px;
}

.reviews-banner__label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

.reviews-banner__divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.2);
}

.reviews-banner__sub {
    font-size: 13px;
    color: rgba(255,255,255,.5);
}

.reviews-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    transition: all .3s;
    flex-shrink: 0;
}

.reviews-banner__btn:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

.reviews-banner__btn svg {
    transition: transform .3s;
}

.reviews-banner__btn:hover svg {
    transform: translateX(3px);
}

/* ====== CLIENTS ====== */
.reviews-clients {
    padding: 80px 0;
    border-bottom: 1px solid rgba(16,27,32,.1);
}

.reviews-clients__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.reviews-clients__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-clients__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--g80);
}

.reviews-clients__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dark);
}

/* ====== LETTERS ====== */
.reviews-letters {
    padding: 100px 0;
}

/* Filters */
.reviews-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 48px 0 40px;
}

.filter-chip {
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid rgba(16,27,32,.15);
    border-radius: 999px;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    transition: all .2s;
}

.filter-chip:hover {
    border-color: var(--dark);
}

.filter-chip.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* Cards grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    border: 1px solid rgba(16,27,32,.1);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all .3s;
    position: relative;
}

.review-card:hover {
    border-color: var(--dark);
    box-shadow: 0 16px 48px rgba(16,27,32,.08);
    transform: translateY(-4px);
}

.review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-card__tag {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(16,27,32,.55);
    border: 1px solid rgba(16,27,32,.12);
    border-radius: 999px;
    padding: 4px 12px;
}

.review-card__num {
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    color: rgba(16,27,32,.06);
}

.review-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.review-card__text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--g60);
    flex: 1;
}

.review-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dark);
    padding-top: 12px;
    border-top: 1px solid rgba(16,27,32,.08);
    transition: opacity .2s;
}

.review-card__link:hover {
    opacity: .6;
}

.review-card__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(16,27,32,.15);
    flex-shrink: 0;
}

/* ====== CTA ====== */
.reviews-cta {
    padding: 100px 0;
    background: var(--dark);
    color: #fff;
}

.reviews-cta__inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.reviews-cta__title {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.reviews-cta__text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
    margin-bottom: 40px;
}

.reviews-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.btn-pill--light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    transition: all .3s;
}

.btn-pill--light:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

.reviews-cta__phone {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    transition: color .2s;
}

.reviews-cta__phone:hover {
    color: #fff;
}

.reviews-cta__2gis {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    transition: color .2s;
}

.reviews-cta__2gis:hover {
    color: rgba(255,255,255,.8);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 64px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer__inner {
    display: grid;
    gap: 48px;
}

.footer__brand {
    display: flex;
    align-items: center;
}

.footer__logo {
    height: 64px;
    width: auto;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer__title {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 20px;
}

.footer__col a,
.footer__col div {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
    opacity: .8;
}

.footer__col a:hover { opacity: 1; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    opacity: .5;
}

.footer__bottom a { opacity: 1; }
.footer__bottom a:hover { opacity: .7; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
    .reviews-title { font-size: 36px; }

    .reviews-clients__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 900px) {
    .header__nav { display: none; }
    .header__socials { display: none; }
    .header__burger { display: block; }

    .reviews-banner__inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 32px;
    }

    .reviews-banner__text {
        flex-direction: column;
        gap: 12px;
    }

    .reviews-banner__divider {
        width: 40px;
        height: 1px;
    }

    .section-heading { font-size: 26px; }

    .reviews-cta__title { font-size: 32px; }

    .reviews-cta__actions {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }

    .reviews-title {
        font-size: 28px;
        margin: 32px 0 16px;
    }

    .reviews-banner__inner {
        padding: 28px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-filters {
        justify-content: flex-start;
    }

    .reviews-cta__title { font-size: 26px; }

    .footer__cols {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}