/* Премиальный минималистичный стиль для дизайн-студии CreativePerson (Фирменный цвет STUDIO) */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #d4d4d8;
    background-color: #0b0b0b;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #a3b838;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #09090b;
    margin: 0 0 24px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #18181b;
    margin: 40px 0 16px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: #27272a;
    margin: 24px 0 12px;
}

/* Основной архитектурный каркас */
.fon {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Левая панель студии */
.header {
    width: 360px;
    flex-shrink: 0;
    background: #111111;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header-top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.header-logo {
    width: 100%;
    text-align: center;
}


/* Крупный фирменный знак + увеличенный логотип Design Studio + белый текст */
.brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.brand-mascot {
    width: 300px;
    max-width: 100%;
    height: auto;
    filter: none !important;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Контейнер, который аккуратно «подрезает» нижнюю надпись с картинки logo-text.png */
.brand-wordmark-crop {
    width: 250px;
    max-width: 100%;
    height: 73px; /* Подрезает нижний мелкий текст на картинке, оставляя CreativePerson + Design Studio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 6px;
}

.brand-wordmark {
    width: 250px !important;
    max-width: none !important;
    height: auto !important;
    filter: none !important;
}

/* Чёткий белый текст снизу */
.header-subtitle {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.4;
}


/* Секретная скидка % в правом верхнем углу */
.header-lang {
    position: absolute;
    top: 0;
    right: 0;
}

.lang-ru {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(163, 184, 56, 0.45);
    color: #a3b838;
    font-weight: 600;
    font-size: 13px;
}

.lang-ru:hover {
    background: #a3b838;
    color: #0b0b0b;
}

/* Контакты */
.header__phones {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__phone1, .header__phone2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.header__phone1 small {
    font-weight: 400;
    color: #71717a;
}

.header__mail {
    font-size: 14px;
    color: #a1a1aa;
    margin-top: 6px;
}

.header__phone1:hover,
.header__phone2:hover,
.header__mail:hover {
    color: #a3b838;
}

/* Тарифы в стиле прайса дизайн-студии */
.header-price__title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717a;
    margin-bottom: 20px;
}

.price-row {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-row .title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 10px;
}

.price-row ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #a1a1aa;
}

.price-row ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
}

.price-row ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #a3b838;
}

.price-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.price-row__price {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.order-btn {
    background: #a3b838;
    color: #0b0b0b;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.order-btn:hover {
    background: #b8ce45;
}

.header-copyright {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #52525b;
}

/* Белая галерейная область справа */
.body {
    flex: 1;
    min-width: 0;
    padding: 36px 48px;
    background-color: #ffffff;
    color: #18181b;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Верхняя навигация на десктопе (горизонтальная) */
.top-nav {
    border-bottom: 1px solid #e4e4e7;
    padding-bottom: 16px;
    margin-bottom: 8px;
}

.top-nav__mobile-bar {
    display: none;
}

.top-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: center;
}

.top-nav .nav-list li {
    margin: 0;
    padding: 0;
}

.top-nav .nav-list li a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: #52525b;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.top-nav .nav-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #a3b838;
    transition: width 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.top-nav .nav-list li a:hover,
.top-nav .nav-list li.is-active a {
    color: #09090b;
    font-weight: 600;
}

.top-nav .nav-list li a:hover::after,
.top-nav .nav-list li.is-active a::after {
    width: 100%;
}

.top-nav .nav-list li.nav-highlight {
    margin-left: auto;
}

.top-nav .nav-list li.nav-highlight a {
    background: #111111;
    color: #a3b838;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.top-nav .nav-list li.nav-highlight a::after {
    display: none;
}

.top-nav .nav-list li.nav-highlight a:hover {
    background: #a3b838;
    color: #0b0b0b;
    transform: translateY(-1px);
}

/* Контент на белом фоне */
.midright {
    flex: 1;
    min-width: 0;
}

.content-wrap,
.content-wrap table,
.content-wrap div,
.content-wrap p {
    max-width: 100%;
    box-sizing: border-box;
}

.content-wrap p {
    color: #3f3f46;
    margin-bottom: 18px;
}

.content-wrap strong,
.content-wrap b {
    color: #09090b;
    font-weight: 600;
}

.content-wrap a {
    color: #18181b;
    border-bottom: 1px solid #a3b838;
}

.content-wrap a:hover {
    color: #6b7d14;
    border-bottom-color: #6b7d14;
}

/* Простой слайдер в ширину правой колонки без линий и градиентов */
.clean-slider {
    position: relative;
    width: 100%;
    margin: 0 0 36px;
}

.clean-slider__stage {
    position: relative;
    width: 100%;
}

.clean-slider__slide {
    display: none;
    width: 100%;
    animation: fadeSlide 0.45s ease;
}

.clean-slider__slide.is-active {
    display: block;
}

.clean-slider__slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
}

@keyframes fadeSlide {
    from { opacity: 0.35; }
    to { opacity: 1; }
}

.clean-slider__caption {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #52525b;
    min-height: 24px;
}

.clean-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    background: rgba(17, 17, 17, 0.75);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.clean-slider:hover .clean-slider__arrow {
    opacity: 1;
}

.clean-slider__arrow:hover {
    background: #a3b838;
    color: #0b0b0b;
}

.clean-slider__arrow--prev { left: 14px; }
.clean-slider__arrow--next { right: 14px; }

/* Блок 5 этапов работы */
.work-steps {
    margin: 0 0 40px;
    padding: 28px;
    background: #111111;
    border-radius: 12px;
    color: #ffffff;
}

.work-steps__header {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a3b838;
    margin-bottom: 18px;
}

.work-steps__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.step-card {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px 14px;
}

.step-card__num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0b0b0b;
    background: #a3b838;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.step-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.step-card__desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: #a1a1aa;
}

/* Двухколоночный блок О студии + Полезная информация */
.home-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid #e4e4e7;
}

.home-links__title {
    font-size: 16px;
    font-weight: 700;
    color: #09090b;
    margin-bottom: 14px;
}

.home-links__list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.home-links__list li a {
    font-size: 13.5px;
    color: #3f3f46;
    border-bottom: none;
}

.home-links__list li a:hover {
    color: #7c8f1d;
}

.home-tags {
    font-size: 12.5px;
font-weight: 600;
color: #71717a;
margin-top: 14px;
}
.home-article {
padding-bottom: 36px;
margin-bottom: 36px;
border-bottom: 1px solid #e4e4e7;
}
/* Мозаика новостей */
.news-header {
display: flex;
justify-content: space-between;
align-items: baseline;
margin-bottom: 24px;
}
.news-header h2 {
margin: 0;
}
.news-all-link {
font-size: 14px;
font-weight: 600;
color: #7c8f1d;
border-bottom: none !important;
}
.news-all-link:hover {
color: #09090b;
}
.news-mosaic {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.news-tile {
display: flex;
flex-direction: column;
background: #fafafa;
border: 1px solid #e4e4e7;
border-radius: 12px;
overflow: hidden;
text-decoration: none;
border-bottom: 1px solid #e4e4e7 !important;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-tile:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
border-color: #a3b838 !important;
}
.news-tile__img-wrap {
width: 100%;
aspect-ratio: 16 / 10;
background: #141414;
overflow: hidden;
position: relative;
}
.news-tile__img-wrap.is-placeholder {
background: #141414 url('/img/logo.png') no-repeat center center;
background-size: 64px auto;
}
.news-tile__cover {
width: 100%;
height: 100% !important;
object-fit: cover;
display: block;
margin: 0 !important;
border-radius: 0 !important;
transition: transform 0.35s ease;
}
.news-tile:hover .news-tile__cover {
transform: scale(1.04);
}
.news-tile__info {
padding: 16px 18px 20px;
display: flex;
flex-direction: column;
gap: 6px;
}
.news-tile__date {
font-size: 12px;
font-weight: 600;
color: #7c8f1d;
}
.news-tile__title {
margin: 0;
font-size: 15.5px;
font-weight: 600;
line-height: 1.4;
color: #18181b;
transition: color 0.2s ease;
}
.news-tile:hover .news-tile__title {
color: #7c8f1d;
}
.counters {
margin-top: 48px;
padding-top: 20px;
border-top: 1px solid #e4e4e7;
opacity: 0.7;
}
@media (max-width: 1150px) {
.work-steps__grid {
grid-template-columns: repeat(2, 1fr);
}
.home-intro {
grid-template-columns: 1fr;
gap: 28px;
}
.news-mosaic {
grid-template-columns: repeat(2, 1fr);
}
}
/* Мобильная версия: Меню под почтой на тёмном фоне */
@media (max-width: 900px) {
html, body {
height: auto !important;
overflow-x: hidden;
background-color: #ffffff !important;
}
.fon {
display: flex !important;
flex-direction: column !important;
height: auto !important;
min-height: 100vh;
}
.header,
.fon > .body {
display: contents !important;
}
/* 1. Логотип */
.header-top {
order: 1;
width: 100%;
background: #111111;
padding: 28px 20px 16px;
}
/* 2. Контакты и почта */
.header__phones {
order: 2;
width: 100%;
background: #111111;
padding: 0 20px 20px;
border-bottom: none;
}
/* 3. Меню на тёмном фоне прямо под почтой */
.top-nav {
order: 3;
width: 100%;
background: #111111;
padding: 0 20px 24px;
margin: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
display: block;
}
.top-nav__mobile-bar {
display: flex;
width: 100%;
}
.top-nav__mobile-label {
display: none;
}
.top-nav__burger {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
background: #1a1a1a;
color: #ffffff;
border: 1px solid #2e2e2e;
border-radius: 10px;
padding: 12px 18px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.burger-icon {
display: flex;
flex-direction: column;
gap: 3px;
width: 15px;
}
.burger-icon i {
display: block;
width: 100%;
height: 2px;
background: #a3b838;
border-radius: 2px;
transition: transform 0.2s ease, opacity 0.2s ease;
}
.top-nav.is-open .burger-icon i:nth-child(1) {
transform: translateY(5px) rotate(45deg);
}
.top-nav.is-open .burger-icon i:nth-child(2) {
opacity: 0;
}
.top-nav.is-open .burger-icon i:nth-child(3) {
transform: translateY(-5px) rotate(-45deg);
}
.top-nav .nav-list {
display: none !important;
width: 100%;
grid-template-columns: repeat(2, 1fr);
gap: 4px 12px;
background: #18181b;
border: 1px solid #27272a;
margin-top: 10px;
padding: 12px 14px;
border-radius: 10px;
}
.top-nav.is-open .nav-list {
display: grid !important;
}
.top-nav .nav-list li {
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-nav .nav-list li a {
display: block;
text-align: center;
padding: 9px 4px;
font-size: 13.5px;
color: #e4e4e7;
}
.top-nav .nav-list li a:hover,
.top-nav .nav-list li.is-active a {
color: #a3b838;
}
.top-nav .nav-list li a::after {
display: none;
}
.top-nav .nav-list li.nav-highlight {
grid-column: span 2;
border-bottom: none;
margin-top: 6px;
margin-left: 0;
}
.top-nav .nav-list li.nav-highlight a {
display: block;
text-align: center;
background: #a3b838;
color: #0b0b0b;
padding: 9px;
border-radius: 6px;
font-size: 13px;
}
/* 4. Тарифы */
.header-price {
order: 4;
width: 100%;
background: #111111;
padding: 24px 20px 28px;
}
/* 5. Белая область контента */
.midright {
order: 5;
width: 100% !important;
background-color: #ffffff !important;
color: #18181b !important;
padding: 24px 16px !important;
display: block !important;
}
.content-wrap {
width: 100% !important;
display: block !important;
}
/* 6. Копирайт внизу */
.header-copyright {
order: 6;
width: 100%;
background: #111111;
padding: 18px 20px;
margin-top: 0;
text-align: center;
}
.clean-slider__arrow {
opacity: 0.85 !important;
width: 34px;
height: 34px;
font-size: 16px;
}
}
@media (max-width: 560px) {
.work-steps__grid,
.news-mosaic {
grid-template-columns: 1fr;
}
}

/* Единый фон с перьями сверху по центру для десктопов */
@media (min-width: 1200px) {
    html, body {
        /* Временный тёмный фон (заменим на точный цвет пипеткой после загрузки bg.jpg) */
        background-color: #0b0b0b; 
        background-image: url('/img/bg.jpg');
        background-repeat: no-repeat;
        background-position: top center;
    }

    .fon {
        max-width: 1180px;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.75);
    }
}

/* Скрываем старые блоки перьев, так как теперь картинка в фоне body */
.decor-feathers {
    display: none !important;
}

/* Оформление внутренних статических страниц */
.static-page {
    max-width: 100%;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #71717a;
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: #71717a;
    border-bottom: none;
}

.breadcrumbs a:hover {
    color: #7c8f1d;
}

.breadcrumbs__sep {
    color: #d4d4d8;
}

.breadcrumbs__current {
    color: #18181b;
    font-weight: 500;
}

.page-header {
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e4e4e7;
}

.page-header h1 {
    margin: 0;
}

.page-body {
    color: #3f3f46;
    font-size: 15px;
    line-height: 1.75;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* Оформление даты и кнопки возврата в новостях */
.post-date {
    font-size: 13px;
    font-weight: 600;
    color: #7c8f1d;
    margin-bottom: 8px;
}

.post-footer {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e4e4e7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f4f4f5;
    color: #18181b !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.back-link:hover {
    background: #111111;
    color: #a3b838 !important;
}