/* ====== 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;
    --accent: #101B20;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* ====== HEADER (unified) ====== */
.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;
}

/* Social icons */
.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;
    transition: all .3s;
}

/* 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;
}

/* ====== PAGE ====== */
.page {
    padding-bottom: 0;
    overflow-x: hidden;
}

/* Breadcrumbs */
.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 labels */
.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--g60);
    text-align: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--g60);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 64px;
    line-height: 1.7;
}

/* ====== HERO SECTION ====== */
.uslugi-hero {
    padding: 64px 0 100px;
}

.uslugi-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.uslugi-hero__label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--g60);
    margin-bottom: 24px;
}

.uslugi-hero__title {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 32px;
}

.uslugi-hero__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--g60);
    margin-bottom: 40px;
    max-width: 480px;
}

.uslugi-hero__right img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Button pill */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border: 1px solid var(--dark);
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark);
    cursor: pointer;
    transition: all .3s;
}

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

/* ====== EXPERTISE SECTION ====== */
.expertise {
    padding: 100px 0;
    background: #fafafa;
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(16,27,32,.1);
    margin-top: 64px;
}

.expertise__item {
    background: #fafafa;
    padding: 48px;
    position: relative;
    transition: background .3s;
}

.expertise__item:hover {
    background: #fff;
}

.expertise__num {
    display: block;
    font-size: 64px;
    font-weight: 300;
    color: rgba(16,27,32,.08);
    margin-bottom: 24px;
    line-height: 1;
}

.expertise__name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.4;
}

.expertise__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--g60);
}

/* ====== RESOURCES SECTION ====== */
.resources {
    padding: 100px 0;
    background: #fff;
}

.resources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.resource-card {
    padding: 40px 32px;
    border: 1px solid rgba(16,27,32,.1);
    transition: all .3s;
}

.resource-card:hover {
    border-color: var(--dark);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(16,27,32,.1);
}

.resource-card__icon {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(16,27,32,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--dark);
    transition: all .3s;
}

.resource-card:hover .resource-card__icon {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.resource-card__title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.4;
}

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

/* ====== SERVICES LIST ====== */
.services-list {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.services-list__items {
    max-width: 900px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(16,27,32,.1);
    position: relative;
    transition: all .3s;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row:hover {
    padding-left: 24px;
    background: linear-gradient(90deg, rgba(16,27,32,.03) 0%, transparent 100%);
}

.service-row__arrow {
    position: absolute;
    left: 0;
    top: 36px;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .3s;
}

.service-row:hover .service-row__arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-row__num {
    font-size: 12px;
    font-weight: 500;
    color: var(--g40);
    min-width: 32px;
    padding-top: 4px;
}

.service-row__content {
    flex: 1;
}

.service-row__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: color .3s;
}

.service-row:hover .service-row__title {
    color: var(--dark);
}

.service-row__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--g60);
}

/* ====== ADVANTAGES ====== */
.advantages {
    padding: 100px 0;
    background: #fff;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.advantage-card {
    padding: 40px 32px;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    transition: all .3s;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--dark);
    transition: height .3s;
}

.advantage-card:hover {
    background: #fff;
    box-shadow: 0 20px 60px rgba(16,27,32,.1);
}

.advantage-card:hover::before {
    height: 100%;
}

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

.advantage-card__title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

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

/* ====== STATS SECTION ====== */
.stats-section {
    padding: 80px 0;
    background: var(--dark);
    color: #fff;
}

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

.stat-item__num {
    display: block;
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-item__label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .6;
}

/* ====== CTA SECTION ====== */
.cta {
    padding: 120px 0;
    background: #fafafa;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: 'POMO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 300px;
    font-weight: 500;
    letter-spacing: .1em;
    color: rgba(16,27,32,.03);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    z-index: 1;
}

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

.cta__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--g60);
    max-width: 600px;
    margin: 0 auto 48px;
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 56px;
    border: 1px solid var(--dark);
    border-radius: 999px;
    background: var(--dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
}

.cta__btn:hover {
    background: transparent;
    color: var(--dark);
}

/* ====== FOOTER (unified) ====== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 64px 0 0;
}

.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__col {
    display: flex;
    flex-direction: column;
}

.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) {
    .uslugi-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .uslugi-hero__right {
        order: -1;
    }

    .uslugi-hero__right img {
        height: 400px;
    }

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

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

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

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

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

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

    .section-title {
        font-size: 32px;
    }
}

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

    .uslugi-hero__title {
        font-size: 32px;
    }

    .uslugi-hero__right img {
        height: 300px;
    }

    .expertise__item {
        padding: 32px 24px;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-item__num {
        font-size: 48px;
    }

    .cta__title {
        font-size: 32px;
    }

    .cta::before {
        font-size: 120px;
    }

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

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