/* =========================================================
   [НАЗВАНИЕ СТУДИИ] — скелет сайта
   Стили. Минимализм: чёрный / белый / серый.
   Адаптив: десктоп + планшет + мобильная версия.
   ========================================================= */

/* ---------- ПЕРЕМЕННЫЕ / ТОКЕНЫ ---------- */
:root {
    --color-bg: #ffffff;
    --color-bg-dark: #111111;
    --color-text: #1a1a1a;
    --color-text-muted: #7a7a7a;
    --color-text-light: #f4f2ee;
    --color-line: #e6e3dd;
    --color-line-dark: #2c2c2c;
    --color-accent: #b8a684;      /* тёплый бежевый акцент — можно поменять */

    --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

    --container: 1360px;
    --gutter: 40px;
    --section-pad: 140px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- СБРОС ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- КОНТЕЙНЕР / СЕКЦИИ ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }

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

.section__head { margin-bottom: 70px; }

.section__label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

/* ---------- ЗАГЛУШКИ КАРТИНОК ---------- */
/* Серый блок с подписью «Картинка N». Позже заменим на <img>. */
.img-placeholder {
    position: relative;
    background: repeating-linear-gradient(
        45deg, #ececec, #ececec 20px, #e4e4e4 20px, #e4e4e4 40px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.img-label {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #8a8a8a;
    background: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    border: 1px solid #d5d5d5;
    text-align: center;
}
/* Реальное фото, заполняющее любой блок-заглушку */
.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- КНОПКИ ---------- */
.btn {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 18px 42px;
    border: 1px solid currentColor;
    transition: background-color .4s var(--ease), color .4s var(--ease);
}
.btn--light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: #fff; color: #111; }
.btn--dark { color: #111; border-color: #111; }
.btn--dark:hover { background: #111; color: #fff; }

/* =========================================================
   ШАПКА / HEADER
   ========================================================= */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    color: #fff;
    transition: background-color .4s var(--ease), padding .4s var(--ease), color .4s var(--ease);
}
/* Состояние при скролле — светлый фон */
.header.is-scrolled {
    background: rgba(255,255,255,.96);
    color: var(--color-text);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(6px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.logo__tagline {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: .7;
}

.nav__list { display: flex; gap: 34px; }
.nav__link {
    font-size: 14px;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 4px;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width .35s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.header__meta { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.header__phone { letter-spacing: 0.03em; }
.header__social { position: relative; opacity: .85; transition: opacity .3s var(--ease); }
.header__social:hover { opacity: 1; }

/* Гамбургер */
.burger { display: none; width: 30px; height: 20px; position: relative; }
.burger span {
    position: absolute; left: 0;
    width: 100%; height: 1.5px;
    background: currentColor;
    transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }
.burger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 120px var(--gutter) 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    z-index: 90;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 26px; }
.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
}
.mobile-menu__meta { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mobile-menu__socials { display: flex; gap: 22px; margin-top: 16px; font-size: 13px; opacity: .8; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* затемнение поверх фото ради читаемости текста */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
    z-index: -1;
}
.hero__content { padding-bottom: 90px; max-width: 1050px; }
.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 44px;
}
.hero__scroll {
    position: absolute;
    right: var(--gutter); bottom: 90px;
    display: flex; align-items: center; gap: 14px;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    opacity: .85;
}
.hero__scroll-line { width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll-line::after {
    content: ''; position: absolute; left: 0; top: 0; width: 40%; height: 100%;
    background: rgba(255,255,255,.9);
    animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* =========================================================
   ФИЛОСОФИЯ / О СТУДИИ
   ========================================================= */
.philosophy__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}
.philosophy__media { aspect-ratio: 4 / 5; }
.philosophy__quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.9rem);
    line-height: 1.25;
    margin-bottom: 30px;
}
.philosophy__lead {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 24px;
    max-width: 480px;
}
.philosophy__desc { max-width: 480px; color: #666; }
.philosophy__desc p + p { margin-top: 18px; }

/* =========================================================
   ПОРТФОЛИО
   ========================================================= */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 50px;
}
.project { display: block; }
.project__media {
    aspect-ratio: 3 / 2;
    margin-bottom: 22px;
}
.project__media > .img-label { z-index: 2; }
.project__media::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    transition: background-color .5s var(--ease);
    z-index: 1;
}
.project:hover .project__media::after { background: rgba(0,0,0,.12); }
.project__info {
    border-top: 1px solid var(--color-line);
    padding-top: 16px;
}
.project__info-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}
.project__name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    transition: color .3s var(--ease);
}
.project:hover .project__name { color: var(--color-accent); }
.project__area { font-size: 14px; color: var(--color-text-muted); white-space: nowrap; }
.project__desc { margin-top: 10px; font-size: 15px; color: #777; max-width: 90%; }
.portfolio__more { margin-top: 80px; text-align: center; }

/* =========================================================
   УСЛУГИ
   ========================================================= */
.services__list { border-top: 1px solid var(--color-line-dark); }
.services__item {
    display: grid;
    grid-template-columns: 90px 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 40px 10px;
    border-bottom: 1px solid var(--color-line-dark);
    transition: padding-left .4s var(--ease), background-color .4s var(--ease);
}
.services__item:hover { padding-left: 30px; background: rgba(255,255,255,.02); }
.services__num { font-size: 13px; color: var(--color-accent); letter-spacing: .1em; }
.services__name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.3rem);
    font-weight: 400;
}
.services__desc { color: #9a9a9a; font-size: 15px; }

/* =========================================================
   ПРЕИМУЩЕСТВА
   ========================================================= */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 50px;
}
.advantage { border-top: 1px solid var(--color-line); padding-top: 26px; }
.advantage__num {
    display: block;
    font-family: var(--font-display);
    font-size: 34px; color: var(--color-accent);
    margin-bottom: 20px;
}
.advantage__title { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin-bottom: 14px; }
.advantage__text { color: #666; font-size: 15px; }

/* =========================================================
   ДОСТИЖЕНИЯ / ЦИФРЫ
   ========================================================= */
.credentials { text-align: center; }
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 820px;
    margin: 0 auto 70px;
}
.stats__item { padding: 0 20px; }
.stats__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.stats__caption {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 300px;
    margin: 0 auto;
}
.credentials__statement {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 60px;
    border-top: 1px solid var(--color-line);
}

/* =========================================================
   ЗАЯВКА / ФОРМА
   ========================================================= */
.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}
.cta__desc { color: #9a9a9a; margin-top: 24px; max-width: 420px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-line-dark);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    padding: 16px 0;
    transition: border-color .3s var(--ease);
}
.form__input::placeholder { color: #7a7a7a; }
.form__input:focus { outline: none; border-color: var(--color-accent); }
.form__textarea { resize: vertical; min-height: 90px; }
.form__consent { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #8a8a8a; }
.form__consent input { width: 16px; height: 16px; accent-color: var(--color-accent); }
.form .btn { margin-top: 10px; align-self: flex-start; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer { background: #0c0c0c; color: #cfcfcf; padding: 90px 0 40px; }
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-line-dark);
}
.footer__brand { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__col a { color: #9a9a9a; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__heading {
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: #666; margin-bottom: 8px;
}
.footer__address { color: #9a9a9a; }
.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; font-size: 12px; color: #777;
}

/* =========================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ (reveal) — включается через JS
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   АДАПТИВ / ПЛАНШЕТ
   ========================================================= */
@media (max-width: 1024px) {
    :root { --section-pad: 100px; --gutter: 28px; }

    /* прячем часть контактов и десктоп-меню, показываем гамбургер */
    .nav, .header__meta { display: none; }
    .burger { display: block; }

    .philosophy__inner,
    .cta__inner { grid-template-columns: 1fr; gap: 50px; }
    .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .credentials__logos { grid-template-columns: repeat(3, 1fr); }
    .services__item { grid-template-columns: 60px 1fr; }
    .services__desc { grid-column: 2; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
}

/* =========================================================
   АДАПТИВ / МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */
@media (max-width: 640px) {
    :root { --section-pad: 72px; --gutter: 20px; }

    .header { padding: 18px 0; }
    .logo__name { font-size: 18px; }
    .logo__tagline { font-size: 9px; }

    .hero { min-height: 560px; }
    .hero__content { padding-bottom: 70px; }
    .hero__scroll { display: none; }

    .section__head { margin-bottom: 44px; }

    .portfolio__grid { grid-template-columns: 1fr; gap: 44px; }
    .project__name { font-size: 22px; }

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

    .services__item { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
    .services__num { grid-row: 1; }

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

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

    .footer__inner { grid-template-columns: 1fr; gap: 34px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

    .mobile-menu__link { font-size: 26px; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   ШАПКА НА ВНУТРЕННИХ СТРАНИЦАХ (всегда светлая)
   ========================================================= */
.header--solid {
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(6px);
    padding: 16px 0;
}

/* =========================================================
   КНОПКА TELEGRAM
   ========================================================= */
.btn--tg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2AABEE;
    color: #fff;
    border-color: #2AABEE;
}
.btn--tg:hover { background: #1c96d6; border-color: #1c96d6; color: #fff; }
.btn--tg svg { flex-shrink: 0; }

.cta__direct {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.cta__or { font-size: 13px; color: #8a8a8a; }

/* Контакты: центрированный блок с кнопками прямой связи */
.cta__center { max-width: 900px; margin: 0 auto; text-align: center; }
.cta__center .cta__desc { max-width: 580px; margin: 24px auto 0; }
.contacts-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
}
.contacts-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
}

/* Сноска о запрещённой в РФ организации */
.fn { font-size: .6em; vertical-align: super; opacity: .85; margin-left: 1px; }
.footer__note {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin-top: 20px;
}

/* Статус отправки формы */
.form__status { font-size: 14px; margin-top: 2px; min-height: 1.2em; }
.form__status.is-ok { color: #86c7a5; }
.form__status.is-error { color: #e29393; }
.form__consent a { color: #cfcfcf; text-decoration: underline; }
.form__consent a:hover { color: #fff; }

/* =========================================================
   СТРАНИЦА ПРОЕКТА
   ========================================================= */
.back-link {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    transition: color .3s var(--ease);
}
.back-link:hover { color: var(--color-text); }

.project-hero { padding-top: 130px; }
.project-hero__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.project-hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
}
.project-hero__area { font-size: 16px; color: var(--color-text-muted); white-space: nowrap; }
.project-hero__subtitle { margin-top: 20px; max-width: 720px; font-size: 18px; color: #666; }
.project-hero__cover {
    margin-top: 50px;
    height: clamp(320px, 58vw, 760px);
    overflow: hidden;
}

.project-about__inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
}
.project-about__text { max-width: 760px; font-size: 17px; color: #555; }
.project-about__text p + p { margin-top: 18px; }
.project-about__block + .project-about__block { margin-top: 32px; }
.project-about__subtitle {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 14px;
}

.project-gallery { padding-top: 0; }
.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.project-gallery__grid .gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-item { aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.gallery-item img { transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

/* =========================================================
   ЛАЙТБОКС (фото на весь экран)
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(14, 14, 14, 0.95);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    user-select: none;
}
.lightbox__btn {
    position: absolute;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
    transition: opacity .25s var(--ease);
    z-index: 2;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 22px; right: 28px; font-size: 40px; }
.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 52px;
    width: 64px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__counter {
    position: absolute;
    left: 0; right: 0;
    bottom: 22px;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    letter-spacing: .1em;
}
@media (max-width: 640px) {
    .lightbox__img { max-width: 96vw; max-height: 82vh; }
    .lightbox__close { top: 14px; right: 16px; font-size: 34px; }
    .lightbox__nav { font-size: 40px; width: 48px; height: 70px; }
    .lightbox__prev { left: 4px; }
    .lightbox__next { right: 4px; }
}

.project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--color-line);
}
.project-nav__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 46px 40px;
    transition: background-color .3s var(--ease);
}
.project-nav__link--next {
    text-align: right;
    align-items: flex-end;
    border-left: 1px solid var(--color-line);
}
.project-nav__link:hover { background: #faf9f7; }
.project-nav__dir { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.project-nav__name { font-family: var(--font-display); font-size: 24px; }

.project-notfound { padding: 180px 0 120px; text-align: center; }

/* =========================================================
   СТРАНИЦА «ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ»
   ========================================================= */
.legal { padding-top: 150px; }
.legal__inner { max-width: 820px; }
.legal__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 18px 0 10px;
}
.legal__note { color: var(--color-text-muted); margin-bottom: 40px; }
.legal h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    margin: 36px 0 12px;
}
.legal p { color: #555; margin-bottom: 14px; }
.legal ul { list-style: disc; margin: 0 0 14px 22px; color: #555; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--color-text); text-decoration: underline; }
.legal__disclaimer {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--color-line);
    font-size: 14px;
    color: var(--color-text-muted);
}

/* =========================================================
   АДАПТИВ ВНУТРЕННИХ СТРАНИЦ
   ========================================================= */
@media (max-width: 1024px) {
    .project-about__inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
    .project-hero { padding-top: 110px; }
    .project-hero__cover { height: 46vh; margin-top: 34px; }
    .project-gallery__grid { grid-template-columns: 1fr; }
    .project-gallery__grid .gallery-item:first-child { aspect-ratio: 3 / 2; }
    .project-nav { grid-template-columns: 1fr; }
    .project-nav__link { padding: 32px 20px; }
    .project-nav__link--next {
        border-left: none;
        border-top: 1px solid var(--color-line);
        text-align: left;
        align-items: flex-start;
    }
    .legal { padding-top: 120px; }
}
