/* =====================================================
   MAKAROV — ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   ===================================================== */

/* ---------- ПОДКЛЮЧЕНИЕ ШРИФТОВ ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500&display=swap');


/* =====================================================
   1. ПЕРЕМЕННЫЕ ЦВЕТОВ И БАЗОВЫЕ СБРОСЫ
   ===================================================== */
:root {
    --bg: #141414;
    --bg-dark: #0a0a0a;
    --accent: #C9A876;
    --text: #F2EFEA;
    --text-muted: #9E9A94;
    --line: rgba(242, 239, 234, 0.15);
    --glass: rgba(20, 20, 20, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 0%, #1e1e1e 0%, #141414 60%, #0a0a0a 100%);
    background-color: var(--bg);
    color: var(--text) !important;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

    body.no-scroll {
        overflow: hidden;
    }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--text) !important;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}


/* =====================================================
   2. ШАПКА САЙТА (HEADER + NAV)
   ===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: 0.4s;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text) !important;
    z-index: 1001;
}

    .logo span {
        color: var(--accent);
    }

.nav-menu {
    display: flex;
    gap: 48px;
}

    .nav-menu a {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--text-muted) !important;
    }

        .nav-menu a:hover {
            color: var(--accent) !important;
        }

.btn {
    padding: 16px 36px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent) !important;
    cursor: pointer;
    transition: 0.4s;
}

    .btn:hover {
        background: var(--accent);
        color: var(--bg) !important;
    }

.btn--solid {
    background: var(--accent);
    color: var(--bg) !important;
}

    .btn--solid:hover {
        background: transparent;
        color: var(--accent) !important;
    }

.btn-header {
    padding: 12px 24px;
    font-size: 11px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
}


/* =====================================================
   3. ГЛАВНЫЙ ЭКРАН (HERO)
   ===================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('/img/hero.jpg') center/cover no-repeat;
    background-color: #111;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(20,20,20,0.95) 0%, rgba(20,20,20,0.6) 50%, rgba(20,20,20,0.2) 100%);
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(56px, 8vw, 120px);
    margin-bottom: 32px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted) !important;
    margin-bottom: 48px;
    max-width: 500px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
}


/* =====================================================
   4. ОБЩИЕ СЕКЦИИ
   ===================================================== */
.section {
    padding: 160px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent) !important;
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

.section-title {
    font-size: 56px;
}


/* =====================================================
   5. ПОРТФОЛИО (АСИММЕТРИЧНАЯ СЕТКА)
   ===================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    display: block;
    background: #1C1C1C;
}

    .project-card:nth-child(1) {
        grid-row: span 2;
        height: 100%;
        min-height: 600px;
    }

    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(5),
    .project-card:nth-child(6) {
        height: 300px;
    }

    .project-card:nth-child(4) {
        grid-row: span 2;
        height: 100%;
        min-height: 600px;
    }

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s ease, opacity 1.2s ease;
        opacity: 0.8;
    }

    .project-card:hover img {
        transform: scale(1.05);
        opacity: 1;
    }

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(20,20,20,0.9), transparent);
    border-left: 2px solid transparent;
    transition: 0.4s;
}

.project-card:hover .project-info {
    border-left-color: var(--accent);
}

.project-info h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.project-info span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent) !important;
}


/* =====================================================
   6. ФОРМА «СВЯЗАТЬСЯ»
   ===================================================== */
#contacts {
    background: #0f0f0f;
    border-top: 1px solid var(--line);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 40px;
}

    .form-group label {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: var(--text-muted);
        margin-bottom: 12px;
    }

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    color: var(--text);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.4s;
}

    .form-control:focus {
        border-bottom-color: var(--accent);
    }

.btn-submit {
    width: 100%;
    padding: 24px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
}

    .btn-submit:hover {
        background: var(--text);
    }


/* =====================================================
   7. ПОДВАЛ (FOOTER)
   ===================================================== */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--line);
    padding: 100px 0 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    flex: 1 1 300px;
    max-width: 400px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text) !important;
    display: inline-block;
    margin-bottom: 24px;
}

    .footer-logo span {
        color: var(--accent);
    }

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted) !important;
}

.footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    flex: 2 1 600px;
    justify-content: space-between;
}

.footer-column {
    min-width: 150px;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent) !important;
    margin-bottom: 28px;
    font-weight: 500;
}

.footer-list li {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted) !important;
}

.footer-list a {
    color: var(--text-muted) !important;
}

    .footer-list a:hover {
        color: var(--text) !important;
    }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted) !important;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

    .footer-legal a {
        color: var(--text-muted) !important;
    }

        .footer-legal a:hover {
            color: var(--accent) !important;
        }


/* =====================================================
   8. БЛОК «О КОМПАНИИ»
   ===================================================== */
.about-dynamic {
    border-top: 1px solid var(--line);
    padding: 140px 0 120px;
}

.about-dynamic-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.about-story h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.05;
    margin: 20px 0 24px 0;
    font-weight: 300;
    color: var(--text);
}

.about-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
}

/* Цифры */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: left;
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    line-height: 0.9;
    color: var(--accent);
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.stat-desc {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    font-weight: 500;
}

/* Карточки принципов */
.principles-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    padding: 28px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .principle-card:hover {
        transform: translateY(-3px);
        border-color: var(--accent);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .principle-card .bar {
        width: 32px;
        height: 2px;
        background: var(--accent);
        margin-bottom: 18px;
    }

.principle-1 .bar {
    box-shadow: 0 0 8px var(--accent);
}

.principle-2 .bar {
    opacity: 0.8;
}

.principle-3 .bar {
    width: 48px;
}

.principle-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.principle-card p {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}


/* =====================================================
   9. «ЧИСТАЯ ИСТОРИЯ MAKAROV»
   ===================================================== */
.makarov-pure-story {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-top: 20px;
}

.story-block {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: start;
    gap: 20px;
}

.story-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 0.95;
    color: var(--accent);
    letter-spacing: -1px;
    white-space: nowrap;
}

.story-text {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.story-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 8px;
    opacity: 0.85;
}

.story-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 360px;
    margin: 0;
}


/* =====================================================
   10. ПРЕМИАЛЬНЫЙ ТЕКСТ «О КОМПАНИИ»
   ===================================================== */
.about-story-premium {
    max-width: 600px;
    margin-bottom: 40px;
}

.premium-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    font-weight: 400;
    color: var(--text);
}

    .premium-title em {
        font-style: italic;
        color: var(--accent);
        font-weight: 300;
    }

.premium-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted) !important;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-align: justify;
    hyphens: auto;
}

@media (max-width: 768px) {
    .about-story-premium {
        max-width: 100%;
        margin-bottom: 36px;
    }

    .premium-title {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin-bottom: 20px;
    }

    .premium-text {
        font-size: 16px;
        line-height: 1.8;
        text-align: left;
        hyphens: none;
    }
}


/* =====================================================
   11. АДАПТИВ: ПЛАНШЕТЫ (≤992px)
   ===================================================== */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
    }

        .menu-toggle span {
            display: block;
            width: 30px;
            height: 1px;
            background: var(--text);
            transition: 0.4s;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }

        .nav-wrapper.active {
            right: 0;
        }

        .nav-wrapper .nav-menu {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
        }

            .nav-wrapper .nav-menu a {
                font-size: 18px;
            }

    .btn-header {
        padding: 10px 18px;
        font-size: 10px;
        z-index: 1001;
    }

    .hero {
        min-height: 600px;
    }

        .hero h1 {
            font-size: 56px;
        }

        .hero p {
            font-size: 16px;
        }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6) {
        height: 350px;
        grid-row: auto;
        min-height: auto;
    }

    .footer-top,
    .footer-links-grid {
        gap: 40px;
    }
}


/* =====================================================
   12. АДАПТИВ: ТЕЛЕФОНЫ (≤768px)
   ===================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 140px 0 80px;
    }

        .hero h1 {
            font-size: 42px;
        }

        .hero p {
            font-size: 15px;
            margin-bottom: 32px;
        }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

        .hero-actions .btn {
            width: 100%;
            text-align: center;
        }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-dynamic {
        padding: 90px 0 80px;
    }

    .about-dynamic-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .about-story h2 {
        text-align: center;
        font-size: 40px;
        margin: 16px 0 20px 0;
    }

    .about-desc {
        max-width: 100%;
        text-align: center;
        font-size: 17px;
        line-height: 1.7;
    }

    .stats-row {
        grid-template-columns: 1fr;
        border-top: 1px solid var(--line);
        padding-top: 24px;
        margin-top: 8px;
        margin-bottom: 0;
        gap: 24px;
    }

    .stat-item {
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line);
    }

        .stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .stat-num {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .stat-desc {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .principles-stack {
        align-items: stretch;
        gap: 16px;
    }

    .principle-card {
        text-align: center;
        padding: 24px 20px;
    }

        .principle-card .bar {
            margin: 0 auto 16px auto;
        }

        .principle-card h3 {
            font-size: 22px;
        }

        .principle-card p {
            font-size: 15px;
        }

    .makarov-pure-story {
        gap: 40px;
    }

    .story-block {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .story-num {
        justify-self: center;
    }

    .story-text {
        margin-top: 15px;
    }

    .story-desc {
        max-width: 100%;
    }

    .about-story-premium {
        max-width: 100%;
        margin-bottom: 36px;
    }

    .premium-title {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin-bottom: 20px;
    }

    .premium-text {
        font-size: 16px;
        line-height: 1.8;
        text-align: left;
        hyphens: none;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .form-group {
        margin-bottom: 28px;
    }

    .form-control {
        font-size: 16px !important;
        width: 100%;
        padding: 12px 0;
    }

    .btn-submit {
        width: 100%;
        padding: 18px;
        font-size: 11px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        font-size: 28px;
    }

    .footer-desc {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-top: 30px;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .site-header {
        padding: 16px 0;
    }

    img, iframe, video, table, pre {
        max-width: 100%;
        height: auto;
    }

    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}


/* =====================================================
   13. АДАПТИВ: ОЧЕНЬ УЗКИЕ ЭКРАНЫ (≤380px)
   ===================================================== */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-title {
        font-size: 28px !important;
    }

    .about-story h2 {
        font-size: 32px;
    }

    .stat-num {
        font-size: 42px;
    }

    .premium-title {
        font-size: 26px;
    }

    .premium-text {
        font-size: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .btn-header {
        padding: 6px 10px;
        font-size: 8px;
    }
}
/* =====================================================
   ШАПКА: БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ===================================================== */

/* Скрываем бургер и мобильную кнопку на ПК */
.menu-toggle {
    display: none;
}

.mobile-only {
    display: none;
}

/* ПК-версия: кнопка «Связаться» видна */
.desktop-only {
    display: inline-block;
}

/* --- Планшеты и телефоны (≤992px) --- */
@media (max-width: 992px) {
    /* Скрываем ПК-кнопку и обычное меню */
    .desktop-only {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    /* Показываем бургер */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1002;
        position: relative;
    }

        .menu-toggle span {
            display: block;
            width: 28px;
            height: 1.5px;
            background: var(--text);
            transition: transform 0.4s ease, opacity 0.3s ease;
            transform-origin: center;
        }

        /* Анимация в крестик */
        .menu-toggle.active span:nth-child(1) {
            transform: translateY(7.5px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-7.5px) rotate(-45deg);
        }

    /* Выезжающее меню */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.18, 1);
        z-index: 1001;
        padding: 40px 20px;
    }

        .nav-wrapper.active {
            right: 0;
        }

        .nav-wrapper .nav-menu {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 36px;
            width: 100%;
        }

            .nav-wrapper .nav-menu a {
                font-size: 20px;
                letter-spacing: 0.15em;
                color: var(--text) !important;
            }

                .nav-wrapper .nav-menu a:hover {
                    color: var(--accent) !important;
                }

    /* Кнопка «Связаться» внутри мобильного меню */
    .mobile-only {
        display: block;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

        .mobile-only .btn {
            width: 100%;
            display: inline-block;
            font-size: 13px;
            padding: 18px 24px;
        }
}

/* --- Телефоны (≤768px) --- */
@media (max-width: 768px) {
    .menu-toggle span {
        width: 26px;
    }

    .nav-wrapper .nav-menu a {
        font-size: 18px;
    }

    .mobile-only .btn {
        font-size: 12px;
        padding: 16px 20px;
    }
}
/* =====================================================
   СТРАНИЦА «О КОМПАНИИ» — АДАПТИВНАЯ ВЕРСТКА
   ===================================================== */

/* Заголовок страницы */
.about-hero {
    padding-top: 180px;
    padding-bottom: 80px;
}

.about-hero-content {
    max-width: 900px;
}

.about-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 300;
    color: var(--text);
    margin: 0;
}

    .about-hero-title em {
        color: var(--accent);
        font-style: italic;
    }

.about-hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 24px;
    max-width: 600px;
    font-weight: 300;
}

/* Основной блок: текст + фото */
.about-main {
    padding-top: 0;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-main-title {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text);
}

.about-main-p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

    .about-main-p:last-of-type {
        margin-bottom: 40px;
    }

/* Цифры в стиле списка */
.about-stats-list {
    border-top: 1px solid var(--line);
}

.about-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.about-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.about-stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: var(--accent);
    line-height: 1;
}

/* Фото */
.about-main-image {
    position: relative;
}

.about-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    z-index: 1;
}

.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    background-color: #1C1C1C;
}

/* Блок принципов */
.about-principles {
    background: #0a0a0a;
    border-top: 1px solid var(--line);
}

.about-principles-header {
    margin-bottom: 60px;
}

.about-principles-title {
    font-size: 40px;
    color: var(--text);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.principle-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text);
}

.principle-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}

.principle-bar {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 24px;
}

/* ========== АДАПТИВ ДЛЯ СТРАНИЦЫ «О КОМПАНИИ» ========== */

/* Планшеты */
@media (max-width: 992px) {
    .about-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-main-image {
        order: -1; /* фото сверху на планшете */
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .about-img {
        height: 400px;
    }

    .about-principles-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Телефоны */
@media (max-width: 768px) {
    .about-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .about-hero-title {
        font-size: 36px !important;
        line-height: 1.15 !important;
    }

    .about-hero-desc {
        font-size: 15px;
        margin-top: 16px;
    }

    .about-main-grid {
        gap: 40px;
    }

    /* Фото на телефоне — компактнее, рамка аккуратнее */
    .about-main-image {
        order: -1;
        max-width: 100%;
    }

    .about-img {
        height: 280px;
    }

    .about-image-frame {
        top: -10px;
        left: -10px;
        border-width: 1px;
    }

    .about-main-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .about-main-p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

        .about-main-p:last-of-type {
            margin-bottom: 28px;
        }

    /* Цифры — компактнее */
    .about-stat-row {
        padding: 18px 0;
    }

    .about-stat-label {
        font-size: 10px;
        letter-spacing: 0.15em;
        max-width: 60%;
    }

    .about-stat-value {
        font-size: 32px;
    }

    /* Принципы */
    .about-principles-header {
        margin-bottom: 40px;
    }

    .about-principles-title {
        font-size: 28px !important;
    }

    .principle-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .principle-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    .principle-bar {
        width: 32px;
        margin-bottom: 18px;
    }
}

/* Очень узкие экраны */
@media (max-width: 380px) {
    .about-hero-title {
        font-size: 30px !important;
    }

    .about-img {
        height: 220px;
    }

    .about-stat-value {
        font-size: 28px;
    }
}
/* =====================================================
   СТРАНИЦА «СВЯЗАТЬСЯ» — ЦЕНТРИРОВАННЫЙ ЗАГОЛОВОК
   ===================================================== */

/* Заголовок страницы */
.contacts-hero {
    padding-top: 180px;
    padding-bottom: 80px;
}

.contacts-hero-content {
    max-width: 800px;
    margin: 0 auto; /* центрируем блок по горизонтали */
    text-align: center; /* текст по центру */
}

.contacts-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 300;
    color: var(--text);
    margin: 0;
}

    .contacts-hero-title em {
        color: var(--accent);
        font-style: italic;
    }

.contacts-hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin: 24px auto 0 auto; /* центрируем сам параграф */
    max-width: 600px;
    font-weight: 300;
}

/* Секция формы */
.contacts-form-section {
    padding-top: 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto; /* форма по центру */
}

.form-success {
    color: var(--accent);
    font-size: 18px;
    padding: 40px 0;
    text-align: center;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 992px) {
    .contacts-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .contacts-hero-title {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .contacts-hero-desc {
        font-size: 15px;
        margin-top: 16px;
    }
}

@media (max-width: 380px) {
    .contacts-hero-title {
        font-size: 32px !important;
    }
}