/* =========================================
   BASE
========================================= */

:root {
    --font-main: 'Manrope', sans-serif;

    --color-primary: #1477ed;
    --color-primary-dark: #0d62c9;

    --color-dark: #111c2d;
    --color-text: #172033;
    --color-text-light: #667085;

    --color-white: #ffffff;
    --color-light: #f5f9fd;
    --color-border: #e2eaf3;

    --container-width: 1240px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --transition: 0.25s ease;
}


/* =========================================
   RESET
========================================= */

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
     max-width: 100%;
    overflow-x: hidden;

    color: var(--color-text);
    background: var(--color-white);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

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

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: 100%;
    max-width: var(--container-width);

    margin-left: auto;
    margin-right: auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--color-dark);
    font-weight: 800;
}

h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
}

p {
    color: var(--color-text-light);
}


/* =========================================
   SECTION
========================================= */

.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-label {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: var(--color-primary);
}

.section-head {
    margin-bottom: 45px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    border: 0;
    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 700;

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

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

.btn-primary {
    color: #ffffff;
    background: var(--color-primary);

    box-shadow: 0 8px 24px rgba(20, 119, 237, 0.18);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 12px 28px rgba(20, 119, 237, 0.25);
}

.btn-outline {
    color: var(--color-primary);
    background: transparent;

    border: 1px solid #b9d2ed;
}

.btn-outline:hover {
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    background: #f5f9ff;
}

.btn-white {
    color: var(--color-primary);
    background: #ffffff;
}

.btn-large {
    min-height: 54px;
    padding: 0 26px;
}


/* =========================================
   FORM ELEMENTS
========================================= */

input,
textarea,
select {
    width: 100%;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    outline: none;

    background: #ffffff;
    color: var(--color-text);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(20, 119, 237, 0.08);
}

textarea {
    min-height: 130px;
    resize: vertical;
}


/* =========================================
   UTILITIES
========================================= */

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

.text-primary {
    color: var(--color-primary);
}

.bg-light {
    background: var(--color-light);
}

.hidden {
    display: none !important;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1280px) {

    .container {
        max-width: 1180px;
    }

}


@media (max-width: 768px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

}


@media (max-width: 480px) {

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    .btn {
        width: 100%;
    }

}
/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 234, 243, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 86px;
    gap: 35px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 92px;
    padding-bottom: 5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.header-nav__link {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--transition);
}

.header-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width var(--transition);
}

.header-nav__link:hover {
    color: var(--color-primary);
}

.header-nav__link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}


/* =========================================================
   HEADER PHONES
   ========================================================= */

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-phone-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-phone-item > i {
    flex: 0 0 13px;
    width: 13px;
    color: var(--color-primary);
    font-size: 11px;
}

.header-phone-item > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-phone {
    color: var(--color-dark);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
    transition: color var(--transition);
}

.header-phone:hover {
    color: var(--color-primary);
}

.header-phone-item span {
    color: #8492a2;
    font-size: 9px;
    line-height: 1.3;
    white-space: nowrap;
}

/* Планшет */

@media (max-width: 1180px) {
    .header-phone-item > div {
        gap: 4px;
    }

    .header-phone {
        font-size: 10px;
    }

    .header-phone-item span {
        font-size: 8px;
    }

    .header-phone-item {
        gap: 6px;
    }
}

/* Мобильная версия */

@media (max-width: 1024px) {
    .header-phones {
        gap: 2px;
    }

    .header-phone-item {
        gap: 6px;
    }

    .header-phone-item > i {
        font-size: 9px;
    }

    .header-phone {
        font-size: 10px;
    }

    .header-phone-item span {
        font-size: 8px;
    }
}

@media (max-width: 600px) {
    .header-phone-item > div {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }

    .header-phone {
        font-size: 9px;
        line-height: 1.25;
    }

    .header-phone-item span {
        display: none;
    }

    .header-phone-item > i {
        font-size: 8px;
    }
}


.header-button {
    min-height: 46px;
    padding-left: 18px;
    padding-right: 18px;
    white-space: nowrap;
}

.header-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-dark);
    font-size: 18px;
}


/* Планшет */
@media (max-width: 1180px) {

    .header-inner {
        gap: 20px;
    }

    .header-nav {
        gap: 18px;
    }

    .header-nav__link {
        font-size: 13px;
    }

    .header-right {
        gap: 12px;
    }

    .header-phone {
        font-size: 12px;
    }

    .header-button {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* Мобильная версия */
@media (max-width: 1024px) {

    .header-inner {
        min-height: 70px;
        gap: 10px;
    }

    /* Навигацию прячем */
    .header-nav {
        display: none;
    }

    /* Телефоны оставляем видимыми */
    .header-right {
        display: flex;
        align-items: center;
        margin-left: auto;
        gap: 10px;
        min-width: 0;
    }

    .header-phones {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1px;
    }

    .header-phone {
        font-size: 11px;
        line-height: 1.25;
    }

    /* Кнопку расчёта на мобильном убираем */
    .header-button {
        display: none;
    }

    /* Бургер */
    .header-burger {
        display: flex;
        flex: 0 0 44px;
        margin-left: 0;
    }
}


/* Небольшие смартфоны */
@media (max-width: 600px) {

    .header-inner {
        min-height: 64px;
        gap: 7px;
    }

    .header-logo img {
        max-width: 105px;
        max-height: 40px;
    }

    .header-right {
        gap: 7px;
    }

    .header-phone {
        font-size: 9px;
        line-height: 1.2;
    }

    .header-burger {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 16px;
    }
}


/* Совсем узкие экраны */
@media (max-width: 380px) {

    .header-logo img {
        max-width: 90px;
    }

    .header-phone {
        font-size: 8px;
    }

    .header-right {
        gap: 5px;
    }

    .header-burger {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    overflow: hidden;

    width: 100%;
    min-height: 560px;

    display: flex;
    align-items: center;

    background-color: #f5f9fd;

    background-image: url("/upload/Каталог и фирменная полиграфия АГИС.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* =========================================
   HERO CONTAINER
========================================= */

.hero-container {
    position: relative;

    width: 100%;
    min-height: 560px;

    display: flex;
    align-items: center;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
    position: relative;
    z-index: 2;

    width: 55%;
    max-width: 720px;

    padding-top: 35px;
    padding-bottom: 35px;
}


.eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--color-primary);

    font-size: 11px;
    line-height: 1.3;

    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}


.hero h1 {
    max-width: 680px;

    margin: 0;

    color: #101b2d;

    font-size: 60px;
    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -2px;
}


.hero h1 span {
    display: block;

    color: var(--color-primary);
}


.hero-text {
    max-width: 590px;

    margin: 18px 0 0;

    color: #53657a;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================
   HERO ACTIONS
========================================= */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 22px;
}


.hero-actions .btn {
    min-height: 48px;

    padding: 0 22px;

    font-size: 12px;
}


/* =========================================
   HERO BENEFITS
========================================= */

.hero-benefits {
    display: flex;
    align-items: center;

    gap: 32px;

    margin-top: 30px;
}


.hero-benefit {
    display: flex;
    align-items: center;

    gap: 8px;
}


.hero-benefit i {
    flex: 0 0 auto;

    color: var(--color-primary);

    font-size: 23px;
}


.hero-benefit span {
    color: #526175;

    font-size: 9px;
    line-height: 1.3;

    font-weight: 700;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .hero {
        min-height: 600px;
    }

    .hero-container {
        min-height: 600px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero h1 {
        max-width: 720px;

        font-size: 58px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-actions .btn {
        min-height: 52px;

        padding-left: 24px;
        padding-right: 24px;

        font-size: 13px;
    }

    .hero-benefits {
        gap: 38px;
    }

    .hero-benefit i {
        font-size: 25px;
    }

    .hero-benefit span {
        font-size: 10px;
    }

}


/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1399px) and (min-width: 1101px) {

    .hero {
        min-height: 560px;
    }

    .hero-container {
        min-height: 560px;
    }

}


/* =========================================
   TABLET / SMALL LAPTOP
========================================= */

@media (max-width: 1100px) and (min-width: 801px) {

    .hero {
        min-height: 500px;

        background-position: center center;
    }

    .hero-container {
        min-height: 500px;
    }

    .hero-content {
        width: 57%;

        max-width: 650px;

        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero h1 {
        max-width: 620px;

        font-size: 46px;

        letter-spacing: -1.6px;
    }

    .hero-text {
        max-width: 540px;

        font-size: 13px;
    }

    .hero-benefits {
        gap: 20px;
    }

    .hero-benefit i {
        font-size: 21px;
    }

    .hero-benefit span {
        font-size: 8px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .hero {
        min-height: auto;

        display: block;

        background-image:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #f5f9fd 100%
            );
    }

    .hero-container {
        min-height: auto;

        display: block;

        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content {
        width: 100%;
        max-width: 700px;

        padding-top: 0;
        padding-bottom: 0;
    }

    .hero h1 {
        max-width: 700px;

        font-size: 42px;

        line-height: 1.05;

        letter-spacing: -1.5px;
    }

    .hero-text {
        max-width: 650px;

        font-size: 14px;
    }

    .hero-benefits {
        flex-wrap: wrap;

        gap: 18px 28px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 560px) {

    .hero-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .eyebrow {
        margin-bottom: 10px;

        font-size: 9px;
    }

    .hero h1 {
        max-width: 100%;

        font-size: 35px;

        line-height: 1.06;

        letter-spacing: -1.2px;
    }

    .hero-text {
        margin-top: 15px;

        font-size: 14px;

        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;

        width: 100%;

        gap: 10px;

        margin-top: 22px;
    }

    .hero-actions .btn {
        width: 100%;

        min-height: 52px;
    }

    .hero-benefits {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 16px 12px;

        margin-top: 28px;
    }

    .hero-benefit {
        gap: 7px;
    }

    .hero-benefit i {
        font-size: 19px;
    }

    .hero-benefit span {
        font-size: 8px;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero-container {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .hero h1 {
        font-size: 32px;

        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 13px;
    }

}


/* =========================================
   SERVICES
========================================= */

.services {
    background: #ffffff;
}


/* =========================================
   SERVICES HEADER
========================================= */

.services-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}


.services-head h2 {
    margin-top: 5px;

    font-size: clamp(32px, 3vw, 42px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.services-all {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        gap var(--transition),
        color var(--transition);
}


.services-all:hover {
    gap: 12px;

    color: var(--color-primary-dark);
}


.services-all i {
    font-size: 11px;
}


/* =========================================
   SERVICES GRID
========================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =========================================
   SERVICE CARD
========================================= */

.service-card {
    display: block;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4ebf3;

    border-radius: 16px;

    box-shadow: 0 6px 25px rgba(17, 28, 45, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.service-card:hover {
    transform: translateY(-5px);

    border-color: #d4e3f3;

    box-shadow: 0 15px 35px rgba(17, 28, 45, 0.10);
}


/* =========================================
   SERVICE IMAGE
========================================= */

.service-image {
    position: relative;

    width: 100%;

    height: 185px;

    overflow: hidden;

    background: #edf4fa;
}


.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}


.service-card:hover .service-image img {
    transform: scale(1.04);
}


/* =========================================
   SERVICE CONTENT
========================================= */

.service-content {
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px 18px;
}


.service-content h3 {
    margin: 0 0 6px;

    color: var(--color-dark);

    font-size: 16px;

    line-height: 1.2;

    font-weight: 800;
}


.service-content p {
    max-width: 245px;

    margin: 0;

    color: var(--color-text-light);

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================
   ARROW
========================================= */

.service-arrow {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #b9d7f6;

    border-radius: 50%;

    color: var(--color-primary);

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}


.service-card:hover .service-arrow {
    color: #ffffff;

    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: translateX(3px);
}


.service-arrow i {
    font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

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

        gap: 18px;
    }

    .service-image {
        height: 180px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .services-head {
        align-items: flex-start;

        margin-bottom: 25px;
    }

    .services-head h2 {
        font-size: 30px;
    }

    .services-all {
        margin-top: 8px;

        font-size: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        min-height: 100px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h3 {
        font-size: 15px;
    }

    .service-content p {
        font-size: 10px;
    }

}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio {
    background: #f5f9fd;
    overflow: hidden;
}


/* =========================================
   HEADER
========================================= */

.portfolio-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.portfolio-head h2 {
    margin-top: 5px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.portfolio-head-right {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 3px;
}


/* Все работы */

.portfolio-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--color-primary);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        gap var(--transition),
        color var(--transition);
}

.portfolio-all:hover {
    gap: 12px;
    color: var(--color-primary-dark);
}

.portfolio-all i {
    font-size: 11px;
}


/* =========================================
   NAVIGATION
========================================= */

.portfolio-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-button {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #cbdbea;
    border-radius: 50%;

    background: #fff;
    color: var(--color-dark);

    font-size: 12px;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.portfolio-button:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.portfolio-button:disabled {
    opacity: 0.45;
    cursor: default;

    color: #7d8b9a;
    background: #fff;
    border-color: #cbdbea;

    transform: none;
}

.portfolio-button:disabled:hover {
    color: #7d8b9a;
    background: #fff;
    border-color: #cbdbea;

    transform: none;
}


/* =========================================
   SLIDER
========================================= */

.portfolio-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.portfolio-track {
    display: flex;
    align-items: stretch;

    gap: 22px;

    width: max-content;

    transition: transform 0.45s ease;

    will-change: transform;
}


/* =========================================
   PORTFOLIO CARD
========================================= */

.portfolio-card {
    display: block;

    flex: 0 0 calc((1240px - 66px) / 4);
    width: calc((1240px - 66px) / 4);

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e0e8f1;
    border-radius: 18px;

    box-shadow: 0 6px 25px rgba(17, 28, 45, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);

    border-color: #d4e3f3;

    box-shadow:
        0 16px 35px rgba(17, 28, 45, 0.10);
}


/* =========================================
   IMAGE
========================================= */

.portfolio-image {
    position: relative;

    width: 100%;
    height: 285px;

    overflow: hidden;

    background: #eaf2f9;
}

.portfolio-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.04);
}


/* =========================================
   IMAGE ARROW
========================================= */

.portfolio-arrow {
    position: absolute;

    right: 16px;
    bottom: 16px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    color: var(--color-primary);

    font-size: 12px;

    box-shadow:
        0 5px 20px rgba(17, 28, 45, 0.15);

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.portfolio-card:hover .portfolio-arrow {
    color: #fff;
    background: var(--color-primary);

    transform: translate(2px, -2px);
}


/* =========================================
   CONTENT
========================================= */

.portfolio-content {
    min-height: 125px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding: 20px;
}

.portfolio-category {
    display: block;

    margin-bottom: 8px;

    color: var(--color-primary);

    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.portfolio-content h3 {
    margin: 0;

    color: var(--color-dark);

    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.portfolio-year {
    flex: 0 0 auto;

    color: #aab7c5;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================
   LARGE LAPTOP
========================================= */

@media (max-width: 1280px) {

    .portfolio-card {
        flex-basis: calc((100vw - 48px - 66px) / 4);
        width: calc((100vw - 48px - 66px) / 4);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .portfolio-head {
        margin-bottom: 30px;
    }

    .portfolio-card {
        flex-basis: calc((100vw - 48px - 22px) / 2);
        width: calc((100vw - 48px - 22px) / 2);
    }

    .portfolio-image {
        height: 260px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .portfolio-head {
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .portfolio-head h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .portfolio-head-right {
        gap: 15px;
    }

    .portfolio-all {
        font-size: 12px;
    }

    /* Стрелки на мобильном не нужны */
    .portfolio-navigation {
        display: none;
    }

    /* Горизонтальный свайп */
    .portfolio-slider {
        overflow-x: auto;
        overflow-y: hidden;

        margin-right: -18px;
        padding-right: 18px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .portfolio-slider::-webkit-scrollbar {
        display: none;
    }

    .portfolio-track {
        display: flex;

        gap: 16px;

        width: max-content;

        transform: none !important;

        transition: none;
    }

    .portfolio-card {
        flex: 0 0 78vw;

        width: 78vw;

        max-width: 360px;
    }

    .portfolio-image {
        height: 230px;
    }

    .portfolio-content {
        min-height: 115px;

        padding: 17px;
    }

    .portfolio-content h3 {
        font-size: 15px;
    }

    .portfolio-category {
        font-size: 10px;
    }

    .portfolio-year {
        font-size: 11px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .portfolio-card {
        flex-basis: 84vw;
        width: 84vw;
    }

    .portfolio-image {
        height: 215px;
    }

    .portfolio-content {
        padding: 15px;
    }

    .portfolio-content h3 {
        font-size: 14px;
    }
}

/* =========================================
   ADVANTAGES
========================================= */

.advantages {
    background: #fff;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
}


/* =========================================
   INTRO
========================================= */

.advantages-intro {
    max-width: 500px;
}

.advantages-intro h2 {
    margin-top: 5px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.advantages-intro-text {
    max-width: 460px;
    margin-top: 24px;

    color: var(--color-text-light);

    font-size: 16px;
    line-height: 1.65;
}

.advantages-intro .btn {
    margin-top: 30px;
}


/* =========================================
   ADVANTAGES LIST
========================================= */

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


/* =========================================
   CARD
========================================= */

.advantage-card {
    position: relative;

    min-height: 245px;

    padding: 28px;

    background: #f5f9fd;

    border: 1px solid #e1eaf3;
    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);

    background: #fff;

    border-color: #cfe0f1;

    box-shadow:
        0 15px 35px rgba(17, 28, 45, 0.08);
}


/* =========================================
   NUMBER
========================================= */

.advantage-number {
    position: absolute;

    top: 22px;
    right: 24px;

    color: #b7c6d6;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================
   ICON
========================================= */

.advantage-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 13px;

    background: #fff;

    color: var(--color-primary);

    font-size: 19px;

    box-shadow:
        0 5px 18px rgba(17, 28, 45, 0.06);

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================
   CONTENT
========================================= */

.advantage-content h3 {
    margin-bottom: 9px;

    color: var(--color-dark);

    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.advantage-content p {
    max-width: 300px;

    color: var(--color-text-light);

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .advantages-intro {
        max-width: 700px;
    }

    .advantages-intro-text {
        max-width: 650px;
    }

    .advantages-list {
        width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .advantages-grid {
        gap: 35px;
    }

    .advantages-intro h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .advantages-intro-text {
        margin-top: 18px;
        font-size: 14px;
    }

    .advantages-intro .btn {
        margin-top: 24px;
    }

    .advantages-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .advantage-card {
        min-height: auto;
        padding: 22px;
    }

    .advantage-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 22px;
    }

    .advantage-content h3 {
        font-size: 17px;
    }

    .advantage-content p {
        font-size: 12px;
    }
}

/* =========================================
   PROCESS
========================================= */

.process {
    background: #f5f9fd;
    overflow: hidden;
}


/* =========================================
   HEADER
========================================= */

.process-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.process-head h2 {
    margin-top: 5px;

    font-size: clamp(34px, 3.5vw, 46px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.process-intro {
    max-width: 390px;
    margin-bottom: 3px;

    color: var(--color-text-light);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   PROCESS LIST
========================================= */

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}


/* =========================================
   PROCESS ITEM
========================================= */

.process-item {
    position: relative;
    min-width: 0;
    padding-right: 35px;
}

.process-item:last-child {
    padding-right: 0;
}


/* =========================================
   TOP
========================================= */

.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 58px;
}


/* Номер */

.process-number {
    color: var(--color-primary);

    font-size: 13px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 0.5px;
}


/* Иконка */

.process-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff;
    color: var(--color-primary);

    font-size: 19px;

    box-shadow:
        0 5px 20px rgba(17, 28, 45, 0.06);

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.process-item:hover .process-icon {
    color: #fff;
    background: var(--color-primary);
    transform: translateY(-3px);
}


/* =========================================
   LINE
========================================= */

.process-line {
    position: relative;

    width: 100%;
    height: 1px;

    margin-top: 24px;
    margin-bottom: 28px;

    background: #d5e1ed;
}

.process-line::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -1px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--color-primary);

    transform: translateY(-50%);
}

.process-item:last-child .process-line {
    background: linear-gradient(
        to right,
        #d5e1ed 0%,
        #d5e1ed 70%,
        transparent 70%,
        transparent 100%
    );
}


/* =========================================
   CONTENT
========================================= */

.process-content {
    max-width: 270px;
}

.process-content h3 {
    margin-bottom: 10px;

    color: var(--color-dark);

    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.process-content p {
    color: var(--color-text-light);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .process-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 40px;
    }

    .process-intro {
        max-width: 600px;
        margin-bottom: 0;
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 25px;
    }

    .process-item {
        padding-right: 20px;
    }

    .process-item:nth-child(2) {
        padding-right: 0;
    }

    .process-item:nth-child(3),
    .process-item:nth-child(4) {
        padding-top: 10px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .process-head {
        margin-bottom: 35px;
    }

    .process-head h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .process-intro {
        font-size: 13px;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-item,
    .process-item:nth-child(2),
    .process-item:nth-child(3),
    .process-item:nth-child(4) {
        padding: 0 0 35px 0;
    }

    .process-item:last-child {
        padding-bottom: 0;
    }

    .process-top {
        min-height: 52px;
    }

    .process-icon {
        width: 48px;
        height: 48px;

        border-radius: 13px;

        font-size: 17px;
    }

    .process-line {
        margin-top: 20px;
        margin-bottom: 22px;
    }

    .process-content {
        max-width: 100%;
    }

    .process-content h3 {
        font-size: 18px;
    }

    .process-content p {
        font-size: 13px;
    }
}

/* =========================================================
   CALLBACK / CALCULATE
   ========================================================= */

.callback {
    background: #fff;
    padding-top: 70px;
    padding-bottom: 70px;
}

.callback-box {
    position: relative;
    min-height: 330px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    align-items: center;
    gap: 55px;
    overflow: hidden;
    padding: 55px 45px;
    border-radius: 18px;
    background:
        url("/assets/images/callback/callback-bg.jpg")
        center center / cover no-repeat;
}

/* Синий слой поверх фотографии */
.callback-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(7, 55, 98, 0.96) 0%,
            rgba(9, 70, 119, 0.91) 43%,
            rgba(10, 91, 145, 0.76) 68%,
            rgba(10, 94, 150, 0.60) 100%
        );
}

/* Контент слева */

.callback-content {
    position: relative;
    z-index: 2;
    max-width: 610px;
    color: #fff;
}

.callback-label {
    display: block;
    margin-bottom: 13px;
    color: #69c7ff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.callback-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.7px;
    font-weight: 800;
}

.callback-text {
    max-width: 500px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.55;
}

/* Форма */

.callback-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.callback-form {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 45px rgba(0, 22, 45, 0.22);
}

/* Поля */

.callback-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.callback-field {
    position: relative;
    min-width: 0;
}

.callback-field-full {
    margin-top: 9px;
}

.callback-field input,
.callback-field select {
    width: 100%;
    height: 47px;
    padding: 0 13px 0 39px;
    border: 1px solid #e3e8ed;
    border-radius: 8px;
    outline: none;
    background: #f8f9fa;
    color: #27313d;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 500;
    transition:
        border-color var(--transition),
        background-color var(--transition),
        box-shadow var(--transition);
}

.callback-field input::placeholder {
    color: #8b96a3;
}

.callback-field input:focus,
.callback-field select:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20, 119, 237, 0.08);
}

.callback-input-icon {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 50%;
    width: 14px;
    transform: translateY(-50%);
    color: #687582;
    font-size: 12px;
    pointer-events: none;
}

.callback-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.callback-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #788592;
    font-size: 9px;
    pointer-events: none;
}

/* Файл */

.callback-file-field {
    display: flex;
    align-items: center;
    height: 47px;
    padding: 0 13px 0 39px;
    border: 1px solid #e3e8ed;
    border-radius: 8px;
    background: #f8f9fa;
}

.callback-file-field .callback-input-icon {
    left: 14px;
}

.callback-file-field label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    cursor: pointer;
}

.callback-file-field label span {
    overflow: hidden;
    color: #4f5d69;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.callback-file-field label small {
    margin-top: 2px;
    color: #9aa5af;
    font-size: 8px;
    line-height: 1.2;
}

.callback-file-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Honeypot */

.callback-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Кнопка */

.callback-submit {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(20, 119, 237, 0.22);
    transition:
        background-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.callback-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 119, 237, 0.28);
}

.callback-submit > i:first-child {
    font-size: 9px;
}

.callback-submit > i:last-child {
    margin-left: 2px;
    font-size: 9px;
}

/* Политика */

.callback-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    color: #a2abb4;
    font-size: 8px;
    line-height: 1.3;
    text-align: center;
}

.callback-policy i {
    font-size: 8px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .callback {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .callback-box {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 35px;
        padding: 45px 35px;
    }

    .callback-content h2 {
        font-size: 38px;
    }

    .callback-text {
        max-width: 440px;
        font-size: 11px;
    }

    .callback-form {
        padding: 15px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .callback-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 38px 25px;
        background-position: center;
    }

    .callback-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 55, 98, 0.96) 0%,
                rgba(8, 68, 114, 0.90) 48%,
                rgba(9, 82, 132, 0.88) 100%
            );
    }

    .callback-content {
        max-width: 600px;
    }

    .callback-content h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .callback-text {
        max-width: 500px;
        margin-top: 16px;
        font-size: 11px;
    }

    .callback-form-wrapper {
        max-width: 600px;
    }
}

@media (max-width: 560px) {

    .callback {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .callback-box {
        min-height: auto;
        gap: 25px;
        padding: 30px 16px 16px;
        border-radius: 15px;
    }

    .callback-label {
        margin-bottom: 10px;
        font-size: 8px;
    }

    .callback-content h2 {
        font-size: 29px;
        line-height: 1.08;
    }

    .callback-text {
        font-size: 10px;
        line-height: 1.5;
    }

    .callback-form {
        padding: 13px;
        border-radius: 12px;
    }

    .callback-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .callback-field-full {
        margin-top: 8px;
    }

    .callback-field input,
    .callback-field select {
        height: 45px;
        font-size: 11px;
    }

    .callback-file-field {
        height: 45px;
    }

    .callback-submit {
        height: 45px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {

    .callback-box {
        padding-left: 13px;
        padding-right: 13px;
    }

    .callback-content h2 {
        font-size: 26px;
    }

    .callback-form {
        padding: 11px;
    }
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 310px 270px;
    align-items: center;
    gap: 35px;
}

/* Текст */

.about-content {
    max-width: 560px;
}

.about-content h2 {
    margin-top: 5px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.about-content p {
    margin-top: 14px;
    color: var(--color-text-light);
    font-size: 12px;
    line-height: 1.55;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    margin-top: 20px;
    padding: 0 17px;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    color: var(--color-primary);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.about-button i {
    font-size: 9px;
}

.about-button:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Фотография */

.about-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 12px;
    background: #edf3f8;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Контакты */

.about-contact {
    align-self: center;
}

.about-address {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.about-contact-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #eaf5ff;
    color: var(--color-primary);
    font-size: 11px;
}

.about-address strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-dark);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
}

.about-address p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 10px;
    line-height: 1.5;
}

.about-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 15px;
    border: 1px solid #b9d7f6;
    border-radius: 8px;
    color: var(--color-primary);
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.about-route i {
    font-size: 9px;
}

.about-route:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .about-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 30px;
    }

    .about-content {
        max-width: none;
    }

    .about-contact {
        grid-column: 2;
        grid-row: 1;
    }

    .about-image {
        grid-column: 2;
        grid-row: 2;
        height: 220px;
    }

    .about-content {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .about-content {
        max-width: none;
    }

    .about-content h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .about-content p {
        font-size: 11px;
        line-height: 1.55;
    }

    .about-image {
        order: 2;
        height: 230px;
    }

    .about-contact {
        order: 3;
    }

    .about-button {
        margin-top: 17px;
    }

    .about-route {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 400px) {

    .about-image {
        height: 200px;
    }

    .about-content h2 {
        font-size: 28px;
    }
}


/* =========================================================
   NEWS SECTION
   ========================================================= */

.news-section {
    background: #fff;
}

.news-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.news-section-head h2 {
    margin-top: 5px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.news-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: gap var(--transition), color var(--transition);
}

.news-all:hover {
    gap: 12px;
    color: var(--color-primary-dark);
}

.news-all i {
    font-size: 11px;
}

/* Сетка */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 22px;
}

/* Карточка */

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3eaf2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(17, 28, 45, 0.045);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #d1e2f3;
    box-shadow: 0 14px 32px rgba(17, 28, 45, 0.09);
}

/* Изображение */

.news-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: 225px;
    overflow: hidden;
    background: #edf4fa;
}

.news-card-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card-image > img {
    transform: scale(1.045);
}

/* Дата */

.news-card-date {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    width: 55px;
    min-height: 57px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .13);
}

.news-card-day {
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

.news-card-month {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
}

/* Наведение */

.news-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 38, 69, .48);
    opacity: 0;
    transition: opacity .3s ease;
}

.news-card:hover .news-card-overlay {
    opacity: 1;
}

.news-card-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 8px;
    background: #fff;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    transform: translateY(8px);
    transition: transform .3s ease;
}

.news-card:hover .news-card-more {
    transform: translateY(0);
}

/* Текст */

.news-card-content {
    min-height: 150px;
    padding: 19px 20px 20px;
}

.news-card-content h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.news-card-content h3 a {
    color: var(--color-dark);
    transition: color var(--transition);
}

.news-card-content h3 a:hover {
    color: var(--color-primary);
}

.news-card-content p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: var(--color-text-light);
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Планшет */

@media (max-width: 1000px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .news-card-image {
        height: 220px;
    }
}

/* Телефон */

@media (max-width: 650px) {
    .news-section-head {
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .news-section-head h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .news-all {
        margin-top: 8px;
        font-size: 11px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .news-card-image {
        height: 220px;
    }

    .news-card-content {
        min-height: auto;
        padding: 17px;
    }

    .news-card-content h3 {
        font-size: 16px;
    }

    .news-card-content p {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .news-card-image {
        height: 190px;
    }

    .news-card-content h3 {
        font-size: 15px;
    }
}

/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 55px 0 0;
    background: #0b1b2d;
    color: #fff;
}

/* Основная часть */

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.7fr 1.35fr 0.8fr;
    gap: 45px;
    padding-bottom: 45px;
}

/* Бренд */

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 65px;
    filter: brightness(0) invert(1);
}

.footer-description {
    margin-top: 17px;
    color: #aab8c8;
    font-size: 11px;
    line-height: 1.65;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.footer-socials a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Заголовки колонок */

.footer-title {
    margin-bottom: 21px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

/* Навигация */

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav a {
    margin-bottom: 12px;
    color: #bdc9d6;
    font-size: 12px;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: #55aaff;
}

/* Контакты */

.footer-contact-group {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item > i {
    width: 15px;
    margin-top: 3px;
    color: #59aaff;
    font-size: 12px;
}

.footer-contact-item div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.footer-contact-item a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: #59aaff;
}

.footer-contact-item span {
    color: #8fa1b4;
    font-size: 10px;
}

.footer-email,
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 17px;
    color: #bdc9d6;
    font-size: 11px;
    line-height: 1.5;
}

.footer-email i,
.footer-address i {
    width: 15px;
    margin-top: 2px;
    color: #59aaff;
    font-size: 12px;
}

.footer-email:hover {
    color: #59aaff;
}

/* Кнопка и график */

.footer-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    justify-content: center;
    font-size: 12px;
}

.footer-button i {
    font-size: 10px;
}

.footer-worktime {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
    color: #aab8c8;
    font-size: 11px;
    line-height: 1.5;
}

/* Нижняя строка */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-copyright,
.footer-legal,
.footer-developer {
    color: #8798aa;
    font-size: 10px;
    line-height: 1.5;
}

.footer-legal a {
    color: #aab8c8;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: #fff;
}

.footer-developer a {
    color: #fff;
    font-weight: 700;
    transition: color var(--transition);
}

.footer-developer a:hover {
    color: #59aaff;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 35px;
    }

    .footer-brand {
        max-width: 350px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        padding: 17px 0;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        padding-bottom: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-logo img {
        max-width: 145px;
    }

    .footer-description {
        max-width: 320px;
    }

    .footer-title {
        margin-bottom: 15px;
        font-size: 12px;
    }

    .footer-nav a {
        margin-bottom: 11px;
        font-size: 11px;
    }

    .footer-contact-group {
        gap: 13px;
    }

    .footer-contact-item {
        gap: 8px;
    }

    .footer-contact-item div {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .footer-contact-item a {
        font-size: 11px;
    }

    .footer-contact-item span {
        font-size: 9px;
    }

    .footer-email,
    .footer-address {
        gap: 8px;
        font-size: 10px;
    }

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

    .footer-button {
        max-width: 260px;
    }

    .footer-worktime {
        margin-top: 14px;
        font-size: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        padding: 18px 0;
    }

    .footer-copyright,
    .footer-legal,
    .footer-developer {
        font-size: 10px;
    }
}

@media (max-width: 380px) {

    .footer-main {
        column-gap: 14px;
    }

    .footer-contact-item a {
        font-size: 10px;
    }

    .footer-nav a {
        font-size: 10px;
    }
}


