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

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

.asasd ul {
    list-style: none;
}

/* === UTILITIES === */
.asasd .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* === SLIDER === */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    user-select: none;
}

.slider__track {
    display: flex;
    will-change: transform;
    cursor: grab;
}

.slider__track:active {
    cursor: grabbing;
}

.slider__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.slider__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider__arrow--prev {
    left: 12px;
}

.slider__arrow--next {
    right: 12px;
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 4px;
}

.slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.2s;
}

.slider__dot--active {
    background: #A82828;
    transform: scale(1.2);
}

.slider__dot:hover {
    background: #999;
}

.slider__dot--active:hover {
    background: #A82828;
}

/* Слайдер в блоке "О компании" */
.about__photos .slider {
    border-radius: 12px;
}

.about__photos .slider__slide {
    height: auto;
}

/* Слайдер в CTA-блоке */
.slider--cta {
    border-radius: 16px;
    overflow: hidden;
}

.slider--cta .slider__track {
    border-radius: 16px;
}

.slider--cta .slider__slide {
    overflow: hidden;
}

.slider--cta .slider__arrow {
    top: 45%;
}

.slider--cta .slider__arrow--prev {
    left: 12px;
}

.slider--cta .slider__arrow--next {
    right: 12px;
}

.slider--cta .slider__dots {
    padding: 20px 0 0;
}

/* === BUTTON === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn--red {
    background: #A82828;
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 40, 40, 0.3);
}

.btn--red:hover {
    background: #961C1C;
    box-shadow: 0 6px 20px rgba(168, 40, 40, 0.4);
    transform: translateY(-2px);
}

.btn--red:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(168, 40, 40, 0.3);
}

/* ========================================
   БЛОК 1: О компании
   ======================================== */
.about {
    padding: 64px 0 72px;
    background: #fff;
}

.about__inner {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.about__content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.about__title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 24px;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about__text {
    font-size: 15px;
    color: #4A4A4A;
    margin-bottom: 16px;
    line-height: 1.75;
}

.about__text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.about__text:last-of-type {
    margin-bottom: 0;
}

.about__accent {
    width: 48px;
    height: 4px;
    background: #A82828;
    border-radius: 2px;
    margin-top: 28px;
}

.about__photos {
    flex: 0 0 480px;
    max-width: 480px;
}

.about__photo--big {
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

.about__photo--big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__photo--big:hover img {
    transform: scale(1.04);
}


/* ========================================
   БЛОК 2: Слово директора
   ======================================== */
.director {
    padding: 72px 0;
    background: #fff;
}

.director__inner {
    display: flex;
    align-items: stretch;
    gap: 48px;
}

.director__photo-wrap {
    flex: 0 0 320px;
    max-width: 320px;
    text-align: center;
}

.director__photo {
    border-radius: 12px;
    overflow: hidden;
    height: 360px;
}

.director__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director__name {
    margin-top: 16px;
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.5;
    font-weight: 500;
}

.director__quote {
    flex: 1;
    background: #F9F3F3;
    border-radius: 12px;
    padding: 40px 44px;
    position: relative;
    display: flex;
    align-items: center;
}

.director__quote-icon {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.director__quote-icon--open {
    align-self: flex-end;
    margin-right: 16px;
}

.director__quote-icon--close {
    align-self: flex-start;
    margin-left: 16px;
}

.director__text {
    font-size: 17px;
    color: #4A4A4A;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ========================================
   БЛОК 3: Наши ценности
   ======================================== */
.values {
    padding: 72px 0;
    background: #fff;
}

.values .section-title {
    text-align: left;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.values__card {
    background: #F9F3F3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.values__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.values__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.values__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.values__card:hover .values__img img {
    transform: scale(1.06);
}

.values__body {
    padding: 20px 22px 24px;
    background: #F9F3F3;
}

.values__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.values__card-text {
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.65;
}

/* ========================================
   БЛОК 4: История компании (таймлайн)
   ======================================== */
.history {
    padding: 72px 0;
    background: #fff;
}

.history__wrap {
    background: #F9F3F3;
    border-radius: 20px;
    padding: 48px 40px 40px;
}

.history__wrap .section-title {
    text-align: left;
    margin-bottom: 40px;
}

/* Таймлайн: 3 ряда — верх, середина (линия), низ */
.timeline {
    position: relative;
}

/* Ряды описаний (верхний и нижний) */
.timeline__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.timeline__row--top {
    align-items: end;
    padding-bottom: 12px;
}

.timeline__row--bottom {
    align-items: start;
    padding-top: 12px;
}

.timeline__cell {
    text-align: center;
    padding: 0 6px;
    position: relative;
}

.timeline__cell--empty {
    visibility: hidden;
}

/* Коннекторы скрыты — на макете их нет */
.timeline__connector {
    display: none;
}

.timeline__text {
    font-size: 12px;
    color: #4A4A4A;
    line-height: 1.5;
    max-width: 150px;
    margin: 0 auto;
}

/* Средний ряд: горизонтальная линия + точки + годы */
.timeline__middle {
    position: relative;
    padding: 40px 0;
}

.timeline__line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #C62828 0%, #D44A4A 35%, #E07070 65%, #ECA0A0 100%);
    transform: translateY(-50%);
    border-radius: 3px;
}

.timeline__points {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    z-index: 1;
}

.timeline__point {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 16px;
}

.timeline__dot {
    width: 16px;
    height: 16px;
    background: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #F9F3F3;
    box-shadow: 0 0 0 2px #1a1a1a;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline__point:hover .timeline__dot {
    transform: scale(1.3);
}

.timeline__year {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1;
    position: absolute;
}

/* Нечётные точки (1,3,5) — год снизу */
.timeline__point:nth-child(odd) .timeline__year {
    top: calc(100% + 8px);
}

/* Чётные точки (2,4,6) — год сверху */
.timeline__point:nth-child(even) .timeline__year {
    bottom: calc(100% + 8px);
}

.timeline__point::after {
    display: none;
}

/* ========================================
   БЛОК 5: Так и хочется сказать
   ======================================== */
.cta {
    padding: 72px 0;
    background: #fff;
}

.cta .section-title {
    margin-bottom: 32px;
    text-align: left;
}

.cta__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #F9F3F3;
    border-radius: 16px;
    overflow: hidden;
}

.cta__photo {
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
}

.cta__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta__content {
    flex: 1;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta__title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta__text {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* ========================================
   БЛОК 6: Производим сами
   ======================================== */
.produce {
    padding: 72px 0;
    background: #fff;
}

.produce__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.produce .section-title {
    text-align: left;
}

.produce__card {
    background: linear-gradient(180deg, #FF4E4E 0%, #840F0F 100%);
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.produce__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(168, 40, 40, 0.3);
}

.produce__body {
    padding: 24px 24px 16px;
}

.produce__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.produce__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.produce__img {
    flex: 1;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.produce__img img {
    width: 70%;
    max-height: 200px;
    object-fit: contain;
    object-position: right bottom;
    border-radius: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.produce__card:hover .produce__img img {
    transform: scale(1.05);
}

.produce__link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: background 0.3s;
}
.produce__link svg {
    transform: rotate(-45deg);
}
.produce__link:hover {
    background: #e0e0e0;
}
/* ========================================
   БЛОК 7: Каталог
   ======================================== */
.catalog {
    padding: 72px 0;
    
}

.catalog .section-title {
    font-size: 28px;
    text-align: left;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.catalog__item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.catalog__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.catalog__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.catalog__item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ========================================
   БЛОК 8: Мы в интернете
   ======================================== */
.socials {
    padding: 72px 0;
    background: #fff;
}

.socials__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.socials__content {
    flex: 1;
    min-width: 0;
}

.socials__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.socials__text {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.75;
    margin-bottom: 28px;
}

.socials__list {
    display: flex;
    gap: 16px;
}

.socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    color: #fff;
}

.socials__link svg {
    width: 24px;
    height: 24px;
}

.socials__link--tg {
    background: #2AABEE;
}

.socials__link--vk {
    background: #4C75A3;
}

.socials__link--dzen {
    background: #000;
}

.socials__link--max {
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.socials__link--max svg {
    width: 100%;
    height: 100%;
}

.socials__link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.socials__phones {
    flex: 0 0 65%;
    max-width: 65%;
    background: none;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.socials__phones img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* ========================================
   АДАПТИВ
   ======================================== */

/* Планшет */
@media (max-width: 1024px) {
    .about__inner {
        gap: 32px;
    }

    .about__photos {
        flex: 0 0 400px;
        max-width: 400px;
    }

    .director__inner {
        gap: 32px;
    }

    .director__photo-wrap {
        flex: 0 0 260px;
        max-width: 260px;
    }

    .produce__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .socials__phones {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    /* О компании */
    .about {
        padding: 48px 0 56px;
    }

    .about__inner {
        flex-direction: column;
        gap: 28px;
    }

    .about__photos {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: -1;
    }

    .about__title {
        font-size: 30px;
    }

    .about__photos .slider__slide {
        height: auto;
    }

    .slider--cta .slider__arrow--prev {
        left: 8px;
    }

    .slider--cta .slider__arrow--next {
        right: 8px;
    }

    /* Директор */
    .director {
        padding: 56px 0;
    }

    .director__inner {
        flex-direction: column;
        gap: 24px;
    }

    .director__photo-wrap {
        flex: none;
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .director__photo {
        flex: 0 0 160px;
        height: auto;
    }

    .director__name {
        margin-top: 0;
        align-self: center;
    }

    .director__quote {
        padding: 28px 24px;
    }

    .director__quote-mark {
        font-size: 60px;
        left: 20px;
    }

    .director__text {
        font-size: 15px;
    }

    /* Ценности */
    .values {
        padding: 56px 0;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .values__card {
        display: flex;
        flex-direction: row;
    }

    .values__img {
        flex: 0 0 140px;
        aspect-ratio: auto;
        height: auto;
    }

    .values__body {
        padding: 16px 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* История */
    .history {
        padding: 56px 0;
    }

    .history__wrap {
        padding: 32px 24px;
    }

    /* Таймлайн — вертикальный на мобильном */
    .timeline__row {
        display: none;
    }

    .timeline__middle {
        padding: 0;
    }

    .timeline__line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 5px;
        height: 100%;
        transform: none;
        background: linear-gradient(180deg, #C62828 0%, #D44A4A 35%, #E07070 65%, #ECA0A0 100%);
    }

    .timeline__points {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding-left: 40px;
    }

    .timeline__point {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        position: relative;
        height: auto;
    }

    .timeline__dot {
        position: absolute;
        left: -39px;
        top: 2px;
    }

    .timeline__year {
        font-size: 20px;
        position: static;
    }

    /* Сброс абсолютного позиционирования годов */
    .timeline__point:nth-child(odd) .timeline__year,
    .timeline__point:nth-child(even) .timeline__year {
        position: static;
        top: auto;
        bottom: auto;
    }

    /* Показываем описания внутри точек на мобильном */
    .timeline__point::after {
        display: block;
    }

    .timeline {
        position: relative;
    }

    .timeline__point:nth-child(1)::after { content: "Начало работы. Первый склад и небольшая команда из 3 человек."; }
    .timeline__point:nth-child(2)::after { content: "Расширение ассортимента до 500+ позиций. Запуск доставки по всей России."; }
    .timeline__point:nth-child(3)::after { content: "Масштабирование. Открытие собственного производства гофротары."; }
    .timeline__point:nth-child(4)::after { content: "Запуск интернет-магазина и автоматизация складских процессов."; }
    .timeline__point:nth-child(5)::after { content: "Более 3000 товаров в каталоге. Команда из 30+ специалистов."; }
    .timeline__point:nth-child(6)::after { content: "Запуск направления аутсорсинга складских услуг и фулфилмента."; }

    .timeline__point::after {
        font-size: 13px;
        color: #4A4A4A;
        line-height: 1.5;
        margin-left: 12px;
        padding-top: 2px;
    }

    /* CTA */
    .cta {
        padding: 56px 0;
    }

    .cta__inner {
        flex-direction: column;
    }

    .cta__photo {
        flex: none;
        max-width: 100%;
        height: 240px;
    }

    .cta__content {
        padding: 28px 24px;
    }

    .cta__title {
        font-size: 22px;
    }

    /* Производим сами */
    .produce {
        padding: 56px 0;
    }

    .produce__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Каталог */
    .catalog {
        padding: 56px 0;
    }

    .catalog .section-title {
        font-size: 22px;
    }

    .catalog__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Соцсети */
    .socials {
        padding: 56px 0;
    }

    .socials__inner {
        flex-direction: column;
        gap: 28px;
    }

    .socials__phones {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}

/* Мобильный */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .about__title {
        font-size: 26px;
    }

    .about__photos .slider__slide {
        height: auto;
    }

    .slider__arrow {
        width: 34px;
        height: 34px;
    }

    .slider--cta .slider__arrow--prev {
        left: 6px;
    }

    .slider--cta .slider__arrow--next {
        right: 6px;
    }

    .director__photo-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .director__photo {
        flex: none;
        height: auto;
    }

    .director__quote {
        padding: 24px 20px;
    }

    .values__card {
        flex-direction: column;
    }

    .values__img {
        flex: none;
        aspect-ratio: 16 / 10;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta__title {
        font-size: 20px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
    }

    .socials__list {
        gap: 12px;
    }

    .socials__link {
        width: 48px;
        height: 48px;
    }

    .socials__link svg {
        width: 22px;
        height: 22px;
    }
}
