/* --- ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ --- */
:root {
    --accent-yellow: #FFD233;
    --bg-dark: #1A1A1A;
    --bg-card-dark: #212121;
    --text-main: #111111;
    --text-gray: #7A7A7A;
    --text-light: #FFFFFF;
    --border-color: #E5E5E5;
    --container-padding: 40px;
    --radius-large: 24px;
    --radius-medium: 12px;
}

/* --- СБРОС СТИЛЕЙ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1 0 auto; }

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- ОБЩИЕ КОМПОНЕНТЫ --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-black {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 18px 32px;
    gap: 12px;
}
.btn-black:hover { background-color: #000; }

.btn-yellow {
    background-color: var(--accent-yellow);
    color: var(--text-main);
    padding: 18px 40px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    gap: 10px;
}
.btn-yellow:hover { background-color: #E5BD2E; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}
.section-header h2 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.link-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.link-all:hover { color: var(--text-main); }
.link-all i { font-size: 12px; }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #000000;
    color: #FFFFFF;
    padding: 20px 0 0 0;
    width: 100%;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 30px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}
.logo i { font-size: 22px; color: #fff; }
.address {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    font-weight: 400;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 500;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-item i { color: var(--accent-yellow); font-size: 14px; }
.socials {
    display: flex;
    gap: 12px;
    margin-left: 10px;
}
.socials a {
    color: #fff;
    font-size: 18px;
    opacity: 0.8;
}
.socials a:hover { opacity: 1; color: var(--accent-yellow); }
.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}
.main-nav {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.main-nav a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav a i { font-size: 10px; color: #888; }
.main-nav a:hover { color: var(--accent-yellow); }

/* HERO */
.hero {
    position: relative;
    height: 75vh;
    min-height: 650px;
    background-color: #111;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 20%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 70px;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    max-width: 900px;
    margin-bottom: 40px;
    letter-spacing: -1px;
}
.hero-title span {
    background-color: var(--accent-yellow);
    color: #000;
    padding: 4px 16px;
    display: inline-block;
    margin-bottom: 8px;
}
.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 24px;
    max-width: 1000px;
    gap: 30px;
}
.hero-subtitle p {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* PORTFOLIO */
.portfolio-section { padding: 120px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.portfolio-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 70px;
    max-width: 550px;
    letter-spacing: -0.5px;
}
.portfolio-label {
    font-size: 13px;
    font-weight: 700;
    color: #A0A0A0;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}
.portfolio-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 480px;
}
.project-card {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: #fff;
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}
.project-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.project-tag {
    background-color: var(--accent-yellow);
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    letter-spacing: 0.5px;
}
.project-date {
    font-size: 12px;
    margin-top: 16px;
    display: block;
    opacity: 0.7;
    font-weight: 500;
}
.project-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 12px;
    max-width: 90%;
}
.project-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-top: 24px;
}
.project-link i { color: var(--accent-yellow); font-size: 14px; }

/* SERVICES */
.services-section { padding: 100px 0 120px; }
.services-title {
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}
.service-card {
    background-color: var(--bg-card-dark);
    border-radius: var(--radius-large);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    background-color: #2A2A2A;
}
.service-icon {
    font-size: 44px;
    color: var(--accent-yellow);
    margin-bottom: 30px;
}
.service-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.service-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}
.service-link:hover { opacity: 1; }
.service-link i { color: var(--accent-yellow); font-size: 12px; }
.services-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* PROJECTS SLIDER */
.projects-slider-section { padding: 40px 0 120px; }
.slider-wrapper { position: relative; }
.projects-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.projects-track::-webkit-scrollbar { display: none; }
.project-slide {
    min-width: 320px;
    width: 320px;
    height: 460px;
    border-radius: var(--radius-large);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background-size: cover;
    background-position: center;
}
.project-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.slide-tag {
    background-color: #fff;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    letter-spacing: 0.5px;
}
.slide-tag.yellow { background-color: var(--accent-yellow); }
.slide-bottom { margin-top: auto; }
.slide-date {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}
.slide-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}
.slide-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 18px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}
.slide-link i { color: var(--accent-yellow); }
.slider-arrow {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    border: none;
    font-size: 20px;
    color: #000;
    transition: all 0.2s;
}
.slider-arrow:hover { background-color: #f0f0f0; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D1D1D1;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active { background-color: var(--accent-yellow); }

/* ARTICLES */
.articles-section { padding: 0 0 100px; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.article-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    background: #fff;
}
.article-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.article-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.article-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-gray);
    background: #F5F5F5;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 16px;
}
.article-content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    flex-grow: 1;
}
.article-meta {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* NEWS */
.news-section { padding: 0 0 100px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.news-card {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #fff;
}
.news-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.news-img {
    width: 200px;
    min-width: 200px;
    background-size: cover;
    background-position: center;
}
.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

/* CLIENTS (ИСПРАВЛЕНО) */
.clients-section { padding: 0 0 100px; }

.clients-slider-wrapper {
    position: relative;
    overflow: hidden; /* ИСПРАВЛЕНО: обрезает карусель по ширине контейнера */
    margin-bottom: 30px;
}

.clients-track {
    display: flex;
    gap: 20px;
    /* overflow: hidden УДАЛЕН ОТСЮДА, чтобы трек мог двигаться */
    padding-bottom: 10px;
    will-change: transform;
}

.client-logo {
    flex: 0 0 calc((100% - 80px) / 5);   /* 5 логотипов + 4 gap по 20px */
    height: 120px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.client-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #000;
    transition: background 0.2s;
}
.client-arrow:hover { background: #f0f0f0; }

.clients-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* REVIEWS */
.reviews-section { padding: 0 0 100px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: #F7F7F7;
    border-radius: var(--radius-large);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0A0A0;
    font-size: 20px;
}
.review-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-yellow);
    font-size: 16px;
}
.review-quote-icon {
    font-size: 28px;
    color: #D1D1D1;
    margin-bottom: 20px;
}
.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 24px;
}
.review-read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 30px;
    display: inline-block;
}
.review-read-more:hover { color: var(--text-main); }
.review-author {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.review-author strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.review-author span {
    font-size: 12px;
    color: var(--text-gray);
}

/* FOUNDER */
.founder-section { padding: 0 0 100px; }
.founder-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.founder-quote {
    position: relative;
    padding-left: 40px;
}
.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
    color: #E5E5E5;
}
.founder-quote p {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-main);
}
.founder-info {
    display: flex;
    gap: 30px;
    align-items: center;
}
.founder-photo {
    width: 300px;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-large);
    flex-shrink: 0;
}
.founder-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}
.founder-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 24px;
}
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s;
}
.btn-telegram:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* FOOTER */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 40px;
    flex-shrink: 0;
    margin-top: auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    font-size: 13px;
    color: #A0A0A0;
    line-height: 1.5;
}
.footer-col ul li a:hover { color: var(--accent-yellow); }
.footer-col p {
    font-size: 13px;
    color: #A0A0A0;
    line-height: 1.6;
}
.footer-col .logo {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.footer-col .logo i { color: #fff; font-size: 24px; }
.footer-sub-logo {
    font-size: 11px;
    color: #fff;
    border: 1px solid #fff;
    padding: 4px 8px;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-email {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    word-break: break-word;
}
.footer-email:hover { color: var(--accent-yellow); }
.footer-phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}
.footer-phone:hover { color: var(--accent-yellow); }
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    transition: background 0.3s;
}
.social-btn:hover { background: rgba(255,255,255,0.2); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 12px;
    color: #666;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-links a:hover { color: #fff; }

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 52px; }
    .portfolio-grid { gap: 40px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .founder-grid { grid-template-columns: 1fr; }
    .founder-photo { width: 250px; height: 300px; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 44px; }
    .contact-info { display: none; }
    .header-top { justify-content: center; }
    .news-grid { grid-template-columns: 1fr; }
    .client-logo { flex: 0 0 calc((100% - 40px) / 3); }  /* 3 логотипа */
    .founder-info { flex-direction: column; text-align: center; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 32px; }
    .founder-title { font-size: 32px; }
    .services-title { font-size: 32px; }
}

@media (max-width: 768px) {
    :root { --container-padding: 20px; }
    .header-bottom { flex-direction: column; gap: 20px; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { flex-direction: column; align-items: flex-start; gap: 20px; }
    .slider-arrow { display: none; }
    .portfolio-text h2 { font-size: 32px; }
    .services-title { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .news-card { flex-direction: column; }
    .news-img { width: 100%; height: 200px; }
    .client-logo { flex: 0 0 calc((100% - 20px) / 2); }  /* 2 логотипа */
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .footer-links { flex-direction: column; gap: 10px; }
    .client-arrow { display: none; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .founder-quote { padding-left: 0; }
    .quote-icon { position: static; margin-bottom: 15px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { min-height: auto; padding: 30px; }
}