/* типографика, стили заголовков */

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/regular.woff2') format('woff2'), url('/assets/fonts/regular.woff') format('woff'), url('/assets/fonts/regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/medium.woff2') format('woff2'), url('/assets/fonts/medium.woff') format('woff'), url('/assets/fonts/medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/semibold.woff2') format('woff2'), url('/assets/fonts/semibold.woff') format('woff'), url('/assets/fonts/semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/bold.woff2') format('woff2'), url('/assets/fonts/bold.woff') format('woff'), url('/assets/fonts/bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2'), url('/assets/fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Medium.woff2') format('woff2'), url('/assets/fonts/Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Bold.woff2') format('woff2'), url('/assets/fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Шрифты, цвета, тени, размеры */

:root {
    /* Оттенки */
    --color-gray-100: #F8FAFC;
    --color-gray-200: #EAEAEA;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #0F172A;
    --color-gray-500: #1A1A1A;
    --color-gray-600: #1F2937;
    --color-lead: rgb(108, 117, 125);
    /* Основные цвета */
    --color-primary: #F57C00;
    --color-orange: #E65100;
    --color-danger: #CC3E0F;
    --color-secondary: #00479b;
    --color-info: #005ece;
    /* Радиусы */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    /* Анимация */
    --transition: .3s ease;
    /* Контейнер */
    --container-width: 1320px;
}


/* ==========================
          BODY
========================== */

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.nav-link {
    font-family: 'Manrope', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    color: var(--color-dark-800) !important;
}

.header-phone {
    font-family: 'Manrope', 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    color: var(--color-dark-800) !important;
    white-space: nowrap;
    font-size: 1.3rem;
}


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

.hero-title {
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
}

.services-title,
.portfolio-title,
.advantages-title,
.workflow-title,
.blog-title,
.contacts-title {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 5vw, 64px);
    line-height: calc(clamp(32px, 5vw, 64px) * 1.1);
    letter-spacing: 0;
    color: var(--color-gray-500);
}


/* Подзаголовки */

.text-secondary {
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 1.6;
    letter-spacing: 0;
    margin: 0 auto 1rem auto;
    max-width: 740px;
    align-items: center;
    /* вертикальное центрирование */
    text-align: center;
}

.service-card h3 {
    font-family: 'Manrope', Arial, sans-serif;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 22px;
}


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

.list-group-item h3 {
    color: var(--color-gray-100);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: normal;
    /* auto */
    letter-spacing: 0;
    margin: 0;
    font-size: clamp(1rem, 2vw, 2rem);
}

.list-group-item p {
    color: var(--color-gray-300);
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
    /* margin: 0; */
    font-size: clamp(0.5rem, 2vw, 1.175rem);
}


/* =========================
    ARTICLES
========================== */

.card-article {
    color: var(--color-gray-500);
}

.card-article time {
    font-family: 'Manrope', Arial, sans-serif;
    margin-bottom: 0;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
    opacity: .5;
}

.card-article h3 a {
    font-family: 'Manrope', Arial, sans-serif;
    margin-bottom: 0;
    font-weight: 600;
    font-size: clamp(20px, 2vw, 24px);
    color: var(--color-gray-500);
}

.btn-article {
    background-color: var(--color-gray-400);
    font-weight: 500;
    font-size: clamp(16px, 2vw, 20px);
    border-radius: 1rem;
    color: white;
}

.btn-article:hover {
    background-color: #F57C00;
    color: white;
}


/* =========================
        WORKFLOW
========================== */

.workflow-list .title {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    padding: 10px;
    background: var(--color-gray-400);
    border-radius: 3px 3px 0 0;
    margin: -20px -20px 10px;
}

.workflow-list .description {
    font-size: 20px;
    color: var(--color-gray-600);
}


/* =========================
        CONTACT
========================== */

.contact-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: normal;
    /* auto */
    letter-spacing: 0;
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.7rem);
}

.contact-info p {
    /* display: none; */
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2.5vw, 24px);
    line-height: 1.5;
    letter-spacing: 0;
    vertical-align: top;
}

.contact-info a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.5;
    letter-spacing: 0;
    text-decoration: none;
    color: black;
}

.content-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--color-gray-500);
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* 40px → 64px (при 6vw) */
    /* Адаптивная высота строки */
    line-height: clamp(3rem, 6.8vw, 5rem);
    /* ~48px → 70px */
}

.content-data {
    font-weight: 500;
    letter-spacing: 0;
    color: var(--color-lead);
    font-size: clamp(16px, 2.5vw, 20px);
}

.content-text {
    font-size: 20px;
}

.pagination .page-link {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.5;
    letter-spacing: 0;
    text-decoration: none;
    color: black;
}

.pagination .page-item.active .page-link {
    background-color: var(--color-orange)!important;
    border: none;
}