/* /public/assets/css/main.css */

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

/* ============================================
   CSS ПЕРЕМЕННЫЕ — дефолт если JS не подгрузил
   ============================================ */

:root {
  /*  --color-accent:    #ff6b00;
    --color-bg:        #1c1c1e;
    --color-bg-light:  #f5f0eb;
    --color-text:      #f5f0eb;
    --color-text-dark: #111111;
    --font-heading:    'Bebas Neue', sans-serif;
    --font-body:       'Inter', sans-serif; */

    /* Системные */
    --container-width: 1280px;
    --container-pad:   clamp(16px, 4vw, 48px);
    --radius:          4px;
    --transition:      0.3s ease;
    --shadow:          0 4px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: clamp(48px, 8vw, 96px) 0;
}

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

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

.section--accent {
    background-color: var(--color-accent);
    color: #ffffff;
}

.section__header {
    margin-bottom: clamp(32px, 5vw, 64px);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section__subtitle {
    margin-top: 12px;
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.7;
}

.section__footer {
    margin-top: clamp(32px, 5vw, 56px);
    text-align: center;
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition);
    white-space: nowrap;
}

.btn--accent {
    background-color: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn--accent:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
}

.btn--outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-bg-light);
}

.btn--outline-light {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn--outline-light:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn--dark {
    background-color: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-bg);
}

.btn--dark:hover {
    background-color: transparent;
    color: var(--color-bg);
    border-color: var(--color-bg);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition:
        background-color var(--transition),
        backdrop-filter var(--transition),
        box-shadow var(--transition);
}

/* Прозрачная шапка поверх Hero */
.header--transparent {
    background-color: transparent;
}

/* При скролле */
.header--scrolled {
    background-color: rgba(28, 28, 30, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

/* Разделитель между лого и навигацией */
.header__divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header__nav-link {
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.8;
    transition: opacity var(--transition);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
    opacity: 1;
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
}

.header__cta {
    flex-shrink: 0;
}

/* Бургер */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 110;
}

.header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition:
        transform var(--transition),
        opacity var(--transition);
    transform-origin: center;
}

/* Бургер открыт */
.header__burger.open .header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.open .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger.open .header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-bg);
    z-index: 105;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--container-pad);
}

.mobile-menu.open {
    height: 100dvh;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 48px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--color-accent);
}

.mobile-menu__num {
    font-size: 14px;
    color: var(--color-accent);
    opacity: 0.8;
    min-width: 28px;
}

.mobile-menu__contacts {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mobile-menu__phone {
    font-size: 18px;
    color: var(--color-text);
    opacity: 0.7;
}

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

.hero--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100dvh;
    position: relative;
    padding-top: 72px; /* высота шапки */
}

.hero__left {
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    padding: clamp(48px, 6vw, 96px) var(--container-pad);
}

.hero__right {
    position: relative;
    overflow: hidden;
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Диагональный срез между колонками */
.hero__divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100%;
    background-color: var(--color-bg);
    clip-path: polygon(40% 0%, 100% 0%, 60% 100%, 0% 100%);
    z-index: 2;
    pointer-events: none;
}

.hero__content {
    max-width: 520px;
    position: relative;
    z-index: 3;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 80px);
    line-height: 1.0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.75;
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.6;
    color: var(--color-text);
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   TICKER (бегущая строка)
   ============================================ */

.ticker {
    overflow: hidden;
    background-color: var(--color-accent);
    padding: 12px 0;
    white-space: nowrap;
}

.ticker__track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.ticker__dot {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333%); }
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

/* ============================================
   SERVICES STRIPS
   ============================================ */

.services-strips {
    padding: 0;
}

.services-strips__list {
    display: flex;
    flex-direction: column;
}

.services-strips__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: flex var(--transition);
}

.services-strips__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(160px, 20vw, 240px);
    transition: min-height var(--transition);
}

.services-strips__item:hover .services-strips__inner {
    min-height: clamp(200px, 25vw, 300px);
}

.services-strips__meta {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
    padding: clamp(24px, 4vw, 48px) var(--container-pad);
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
}

.services-strips__number {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 96px);
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition);
}

.services-strips__item:hover .services-strips__number {
    color: var(--color-accent);
}

.services-strips__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 42px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 8px;
}

.services-strips__description {
    font-size: 14px;
    opacity: 0.6;
    max-width: 360px;
    margin-bottom: 16px;
    display: none;
}

.services-strips__item:hover .services-strips__description {
    display: block;
}

.services-strips__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
     opacity: 0;
    transition: opacity var(--transition);
}

.services-strips__item:hover .services-strips__link {
    opacity: 1;
}

.services-strips__arrow {
    transition: transform var(--transition);
}

.services-strips__link:hover .services-strips__arrow {
    transform: translateX(4px);
}

.services-strips__image-wrap {
    position: relative;
    overflow: hidden;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.services-strips__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    filter: brightness(0.7);
}

.services-strips__item:hover .services-strips__image {
    transform: scale(1.05);
    filter: brightness(1);
}

/* ============================================
   COUNTERS
   ============================================ */

.counters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    text-align: center;
}

.counters__item {
    padding: clamp(24px, 4vw, 48px) 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--transition);
}

.counters__item:hover {
    border-color: var(--color-accent);
}

.counters__value {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 80px);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.counters__label {
    font-size: clamp(12px, 1.5vw, 16px);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   GALLERY TAPE
   ============================================ */

.gallery-tape {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-tape::-webkit-scrollbar {
    display: none;
}

.gallery-tape.grabbing {
    cursor: grabbing;
}

.gallery-tape__track {
    display: flex;
    gap: 12px;
    padding: 0 var(--container-pad);
    width: max-content;
}

.gallery-tape__item {
    position: relative;
    flex-shrink: 0;
    width: clamp(240px, 30vw, 400px);
    overflow: hidden;
}

.gallery-tape__image {
    width: 100%;
    height: clamp(180px, 24vw, 300px);
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-tape__item:hover .gallery-tape__image {
    transform: scale(1.04);
}

.gallery-tape__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   HOW WE WORK
   ============================================ */

.how-we-work__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.how-we-work__step {
    flex: 1;
    text-align: center;
    padding: 0 clamp(16px, 2vw, 32px);
    position: relative;
}

.how-we-work__number {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 64px);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.how-we-work__title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 28px);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text);
    margin-bottom: 8px;
}

.how-we-work__text {
    font-size: 14px;
    opacity: 0.6;
    max-width: 200px;
    margin: 0 auto;
}

.how-we-work__line {
    width: clamp(32px, 5vw, 80px);
    height: 1px;
    background-color: var(--color-accent);
    opacity: 0.4;
    align-self: center;
    margin-bottom: 48px;
    flex-shrink: 0;
}

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

.articles-home__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 32px);
}

.article-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
    transition: box-shadow var(--transition);
    position: relative;
}

.article-card:hover {
    box-shadow: var(--shadow);
}

.article-card__image-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-card__image {
    transform: scale(1.04);
}

.article-card__body {
    padding: clamp(16px, 2vw, 24px);
    flex: 1;
}

.article-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-accent);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.article-card__title a:hover {
    color: var(--color-accent);
}

.article-card__date {
    font-size: 12px;
    opacity: 0.5;
    color: var(--color-text-dark);
}

.article-card__arrow {
    display: block;
    padding: 12px 24px;
    text-align: right;
    color: var(--color-accent);
    font-size: 20px;
    transition: transform var(--transition);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.article-card:hover .article-card__arrow {
    transform: translateX(4px);
}

/* ============================================
   FAQ
   ============================================ */

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(16px, 2vw, 24px) 0;
    font-size: clamp(15px, 2vw, 18px);
    font-family: var(--font-body);
    color: var(--color-text);
    text-align: left;
    transition: color var(--transition);
}

.faq__question:hover {
    color: var(--color-accent);
}

.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: border-color var(--transition);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background-color: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--transition);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq__question[aria-expanded="true"] .faq__icon {
    border-color: var(--color-accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding var(--transition);
}

.faq__answer.open {
    max-height: 400px;
    padding-bottom: clamp(16px, 2vw, 24px);
}

.faq__answer div {
    font-size: clamp(14px, 1.8vw, 16px);
    opacity: 0.7;
    line-height: 1.7;
}

/* ============================================
   CALLBACK FORM
   ============================================ */

.callback__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.callback__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 56px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 12px;
}

.callback__subtitle {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.8;
    color: #ffffff;
}

.callback__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field__label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    color: #ffffff;
}

.form-field__required {
    color: rgba(255, 255, 255, 0.6);
}

.form-field__input {
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition:
        border-color var(--transition),
        background-color var(--transition);
}

.form-field__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-field__input:focus {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.18);
}

.callback__privacy {
    font-size: 11px;
    opacity: 0.5;
    color: #ffffff;
    margin-top: 4px;
}

.callback__privacy a {
    text-decoration: underline;
}

/* ============================================
   BOTTOM PANEL
   ============================================ */

.bottom-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    display: flex;
    justify-content: center;
    gap: 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-panel__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.6;
    transition: opacity var(--transition), color var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-panel__item:last-child {
    border-right: none;
}

.bottom-panel__item:hover {
    opacity: 1;
}

.bottom-panel__item--phone:hover {
    color: #4cd964;
}

.bottom-panel__item--viber:hover {
    color: #7360f2;
}

.bottom-panel__item--telegram:hover {
    color: #2aabee;
}

.bottom-panel__item--whatsapp:hover {
    color: #25d366;
}

.bottom-panel__item svg {
    fill: currentColor;
    flex-shrink: 0;
}

/* На десктопе панель скрыта */
@media (min-width: 769px) {
    .bottom-panel {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 4vw, 40px);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    margin-bottom: clamp(32px, 5vw, 56px);
}

.footer__brand {}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__logo img {
    height: 36px;
    width: auto;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.footer__description {
    font-size: 14px;
    opacity: 0.5;
    max-width: 280px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer__social {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    opacity: 0.6;
    transition:
        opacity var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.footer__social:hover {
    opacity: 1;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer__social svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-link {
    font-size: 14px;
    color: var(--color-text);
    opacity: 0.6;
    transition: opacity var(--transition), color var(--transition);
}

.footer__nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__contact-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.4;
    color: var(--color-text);
}

.footer__contact-value {
    font-size: 14px;
    color: var(--color-text);
    opacity: 0.7;
    transition: opacity var(--transition);
}

.footer__contact-value:hover {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(16px, 3vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 12px;
    opacity: 0.3;
    color: var(--color-text);
}

.footer__policy {
    font-size: 12px;
    opacity: 0.3;
    color: var(--color-text);
    transition: opacity var(--transition);
}

.footer__policy:hover {
    opacity: 0.7;
}

/* ============================================
   ДИАГОНАЛЬНЫЕ ПЕРЕХОДЫ МЕЖДУ СЕКЦИЯМИ
   ============================================ */

.section--diagonal-bottom {
    position: relative;
    padding-bottom: clamp(80px, 10vw, 120px);
}

.section--diagonal-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(48px, 6vw, 80px);
    background-color: inherit;
    clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Планшет */
@media (max-width: 1024px) {
    .hero--split {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer__brand {
        grid-column: 1 / -1;
    }

    .how-we-work__steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }

    .how-we-work__line {
        display: none;
    }

    .how-we-work__step {
        flex: 0 0 calc(50% - 16px);
    }
}

/* Мобильный */
@media (max-width: 768px) {
    /* Шапка */
    .header__nav,
    .header__divider,
    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    /* Hero */
    .hero--split {
        grid-template-columns: 1fr;
        grid-template-rows: auto 50vw;
        min-height: auto;
    }

    .hero__left {
        padding-top: calc(72px + 32px);
        padding-bottom: 32px;
    }

    .hero__divider {
        display: none;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Services strips */
    .services-strips__inner {
        grid-template-columns: 1fr;
    }

    .services-strips__image-wrap {
        height: 200px;
        clip-path: none;
    }

    .services-strips__number {
        font-size: 32px;
    }

    .services-strips__description {
        display: block;
    }

    .services-strips__link {
        opacity: 1;
    }

    /* Counters */
    .counters__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* How we work */
    .how-we-work__step {
        flex: 0 0 100%;
    }

    /* Callback */
    .callback__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Отступ снизу из-за bottom-panel */
    main {
        padding-bottom: 64px;
    }
}

@media (max-width: 480px) {
    .counters__grid {
        grid-template-columns: 1fr;
    }

    .articles-home__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
    }
}

/* ============================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* ============================================
   ВЫДЕЛЕНИЕ ТЕКСТА
   ============================================ */

::selection {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* ============================================
   MOBILE MENU ДОПОЛНЕНИЯ
   ============================================ */

.mobile-menu__cta {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.mobile-menu__socials {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.mobile-menu__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    opacity: 0.6;
    transition:
        opacity var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.mobile-menu__social:hover {
    opacity: 1;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.mobile-menu__social svg {
    fill: currentColor;
}

/* aria-hidden для закрытого меню */
.mobile-menu[aria-hidden="true"] {
    visibility: hidden;
}

.mobile-menu.open {
    visibility: visible;
}

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

.page-hero {
    padding-top: calc(72px + clamp(48px, 8vw, 96px));
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 72px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: var(--color-text);
    margin-bottom: 20px;
}

.page-hero__description {
    font-size: clamp(14px, 2vw, 17px);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.page-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-hero__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.category-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 32px);
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card__image-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: block;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
    transform: scale(1.05);
}

.service-card__body {
    padding: clamp(16px, 2vw, 24px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.service-card__title a:hover {
    color: var(--color-accent);
}

.service-card__description {
    font-size: 14px;
    color: var(--color-text-dark);
    opacity: 0.6;
    line-height: 1.6;
    flex: 1;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: auto;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 12px;
}

/* ============================================
   PRICES
   ============================================ */

.prices__table {
    max-width: 860px;
    margin: 0 auto;
}

.prices__group {
    margin-bottom: clamp(24px, 4vw, 48px);
}

.prices__group:last-child {
    margin-bottom: 0;
}

.prices__group-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 26px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section--light .prices__group-title {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.prices__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color var(--transition);
}

.section--light .prices__row {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.prices__row:hover {
    background-color: rgba(255, 107, 0, 0.04);
}

.prices__row:last-child {
    border-bottom: none;
}

.prices__name {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--color-text);
    flex-shrink: 0;
}

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

.prices__dots {
    flex: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin-bottom: 4px;
    min-width: 24px;
}

.section--light .prices__dots {
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

.prices__value {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-accent);
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* ============================================
   GALLERY MASONRY
   ============================================ */

.gallery-masonry {
    columns: 3;
    column-gap: 12px;
    padding: 0 var(--container-pad);
    max-width: var(--container-width);
    margin: 0 auto;
}

.gallery-masonry__item {
    break-inside: avoid;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-masonry__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.9);
}

.gallery-masonry__item:hover .gallery-masonry__image {
    transform: scale(1.03);
    filter: brightness(1);
}

.gallery-masonry__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 16px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-masonry__item:hover .gallery-masonry__caption {
    opacity: 1;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    margin-top: 72px; /* высота шапки */
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumbs__link {
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.45;
    transition: opacity var(--transition);
}

.breadcrumbs__link:hover {
    opacity: 1;
}

.breadcrumbs__current {
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.8;
}

.breadcrumbs__sep {
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.25;
    margin: 0 2px;
}

/* ============================================
   RELATED SERVICES
   ============================================ */

.related-services .service-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.related-services .service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.related-services .service-card__title {
    color: var(--color-text);
}

.related-services .service-card__title a:hover {
    color: var(--color-accent);
}

/* ============================================
   RESPONSIVE ДОПОЛНЕНИЯ
   ============================================ */

@media (max-width: 1024px) {
    .gallery-masonry {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .page-hero__inner {
        grid-template-columns: 1fr;
    }

    .page-hero__image-wrap {
        clip-path: none;
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .page-hero {
        padding-top: calc(72px + clamp(32px, 6vw, 48px));
    }

    .page-hero__buttons {
        flex-direction: column;
    }

    .page-hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-masonry {
        columns: 2;
    }

    .prices__row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .prices__dots {
        display: none;
    }

    .prices__value {
        width: 100%;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        columns: 1;
    }

    .category-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.lightbox__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 64px 80px;
}

.lightbox__content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100dvh - 160px);
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.lightbox__caption {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition:
        color var(--transition),
        transform var(--transition);
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox__close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
}

.lightbox__close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
}

.lightbox__prev {
    left: 16px;
}

.lightbox__next {
    right: 16px;
}

.lightbox__prev:hover {
    color: #ffffff;
    transform: translateY(-50%) translateX(-4px);
}

.lightbox__next:hover {
    color: #ffffff;
    transform: translateY(-50%) translateX(4px);
}

@media (max-width: 768px) {
    .lightbox__inner {
        padding: 56px 16px 32px;
    }

    .lightbox__prev {
        left: 4px;
    }

    .lightbox__next {
        right: 4px;
    }
}

/* ============================================
   PAGE HEADER (простой заголовок страницы)
   ============================================ */

.page-header {
    padding-top: calc(72px + clamp(48px, 8vw, 80px));
    padding-bottom: clamp(32px, 5vw, 56px);
}

.page-header__inner {
    max-width: 720px;
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.0;
    color: var(--color-text);
    margin-bottom: 12px;
}

.page-header__subtitle {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.55;
    color: var(--color-text);
}

/* ============================================
   GALLERY FILTER
   ============================================ */

.gallery-filter {
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 72px;
    z-index: 50;
}

.gallery-filter__list {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0;
}

.gallery-filter__list::-webkit-scrollbar {
    display: none;
}

.gallery-filter__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.5;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition:
        opacity var(--transition),
        border-color var(--transition);
}

.gallery-filter__item:hover {
    opacity: 1;
}

.gallery-filter__item.active {
    opacity: 1;
    border-bottom-color: var(--color-accent);
}

.gallery-filter__count {
    font-size: 11px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.gallery-filter__item.active .gallery-filter__count {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-page {
    padding-top: clamp(32px, 5vw, 56px);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    padding: clamp(32px, 5vw, 56px) 0;
    background-color: var(--color-bg-light);
}

.pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--color-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.pagination__item:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination__item.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.pagination__dots {
    font-size: 14px;
    color: var(--color-text-dark);
    opacity: 0.4;
    padding: 0 4px;
}

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

.articles-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(16px, 3vw, 32px);
}

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

.article-hero {
    padding-top: calc(72px + clamp(48px, 8vw, 80px));
    padding-bottom: clamp(32px, 5vw, 48px);
}

.article-hero__inner {
    max-width: 860px;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-hero__date {
    font-size: 13px;
    opacity: 0.45;
    color: var(--color-text);
}

.article-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 64px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: var(--color-text);
}

/* ============================================
   ARTICLE COVER
   ============================================ */

.article-cover {
    background-color: var(--color-bg);
    padding-bottom: clamp(32px, 5vw, 56px);
}

.article-cover__image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

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

.article-body__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.article-body__content {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.8;
    color: var(--color-text-dark);
}

.article-body__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    margin: clamp(32px, 5vw, 48px) 0 16px;
}

.article-body__content h3 {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 26px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    margin: clamp(24px, 4vw, 36px) 0 12px;
}

.article-body__content p {
    margin-bottom: 20px;
}

.article-body__content img {
    width: 100%;
    height: auto;
    margin: clamp(24px, 4vw, 40px) 0;
}

.article-body__content ul,
.article-body__content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body__content ul {
    list-style: disc;
}

.article-body__content ol {
    list-style: decimal;
}

.article-body__content li {
    margin-bottom: 8px;
}

.article-body__content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--transition);
}

.article-body__content a:hover {
    opacity: 0.75;
}

.article-body__content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 24px;
    margin: clamp(24px, 4vw, 40px) 0;
    background-color: rgba(255, 107, 0, 0.04);
    font-style: italic;
    opacity: 0.85;
}

.article-body__content table {
    width: 100%;
    border-collapse: collapse;
    margin: clamp(24px, 4vw, 40px) 0;
    font-size: 14px;
}

.article-body__content th {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    font-size: 14px;
}

.article-body__content td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-dark);
}

.article-body__content tr:last-child td {
    border-bottom: none;
}

/* ============================================
   ARTICLE SIDEBAR
   ============================================ */

.article-body__sidebar {
    position: sticky;
    top: calc(72px + 24px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-sidebar-card {
    background-color: var(--color-bg);
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-sidebar-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text);
}

.article-sidebar-card__text {
    font-size: 14px;
    opacity: 0.6;
    color: var(--color-text);
    line-height: 1.6;
}

.article-sidebar-card--phone {
    border-left: 3px solid var(--color-accent);
}

.article-sidebar-card__label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.45;
    color: var(--color-text);
}

.article-sidebar-card__phone {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--color-text);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.article-sidebar-card__phone:hover {
    color: var(--color-accent);
}

/* ============================================
   PRICES PAGE
   ============================================ */

.prices-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.prices-nav__item {
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.prices-nav__item:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.prices-category {
    margin-bottom: clamp(40px, 6vw, 72px);
    padding-bottom: clamp(40px, 6vw, 72px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.prices-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.prices-category__header {
    display: flex;
    align-items: baseline;
    justify-colamp(48px, 8vw, 96px) 0;
    color: var(--color-text-dark);
}

/* ============================================
   RESPONSIVE ДОПОЛНЕНИЯ
   ============================================ */

@media (max-width: 1024px) {
    .article-body__layout {
        grid-template-columns: 1fr 260px;
    }

    .contacts-page__inner {
        grid-template-columns: 1fr;
    }

    .contacts-page__map {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-body__layout {
        grid-template-columns: 1fr;
    }

    .article-body__sidebar {
        position: static;
    }

    .prices-category__header {
        flex-direction: column;
        gap: 8px;
    }

    .articles-page__grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter__item {
        padding: 12px 16px;
        font-size: 12px;
    }
}