/* ============================================
           HERO SECTION (светлая, с персиковым акцентом)
           ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-cream) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 560px;
    margin: 0 auto;
}

/* Фото рядом с заголовком "Наша история" — увеличены (было в 2 раза
   меньше), коллаж теперь на всю ширину контейнера, а не в узкой
   колонке, поэтому фотографиям есть где развернуться без наложений
   друг на друга за пределы допустимого. */
.hero-collage {
    position: relative;
    height: 920px;
}

.collage-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, z-index 0s;
}

.collage-image:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 100;
}

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

.collage-1 {
    width: 420px;
    height: 540px;
    top: 0;
    left: 8%;
    transform: rotate(-6deg);
    z-index: 1;
}

.collage-2 {
    width: 380px;
    height: 500px;
    top: 30px;
    left: 35%;
    transform: rotate(4deg);
    z-index: 2;
}

.collage-3 {
    width: 340px;
    height: 460px;
    top: 80px;
    right: 15%;
    transform: rotate(-2deg);
    z-index: 3;
}

.collage-4 {
    width: 360px;
    height: 480px;
    bottom: 40px;
    left: 5%;
    transform: rotate(6deg);
    z-index: 4;
}

.collage-5 {
    width: 400px;
    height: 520px;
    bottom: 20px;
    left: 32%;
    transform: rotate(-4deg);
    z-index: 5;
}

.collage-6 {
    width: 330px;
    height: 440px;
    bottom: 60px;
    right: 10%;
    transform: rotate(3deg);
    z-index: 6;
}



/* ============================================
           СЕКЦИИ (чередование белый/персиковый)
           ============================================ */
.section-white {
    background-color: var(--color-white);
    padding: 80px 0;
}

.section-peach {
    background-color: var(--color-cream);
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

/* Карточка услуги (Instagram-стиль) */
.service-card {
    background-color: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 260px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card-body {
    padding: 1.8rem;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.service-card-text {
    color: var(--color-gray);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Видео-секция */
.video-section {
    background-color: var(--color-white);
    padding: 80px 0;
}

.video-carousel {
    position: relative;
}

.video-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: #EFE3D8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--color-accent);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    fill: var(--color-dark);
}

.video-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.video-thumbnail {
    width: 110px;
    height: 65px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.video-thumbnail:hover,
.video-thumbnail.active {
    opacity: 1;
    border-color: var(--color-accent);
}

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

.video-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.video-nav-btn.prev {
    left: -20px;
}

.video-nav-btn.next {
    right: -20px;
}

/* Бегущая лента */
.photo-ribbon-section {
    background-color: var(--color-cream);
    padding: 60px 0;
    overflow: hidden;
}

.ribbon-container {
    display: flex;
    animation: scroll-ribbon 30s linear infinite;
    width: max-content;
}

.ribbon-container:hover {
    animation-play-state: paused;
}

@keyframes scroll-ribbon {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ribbon-image {
    width: 280px;
    height: 180px;
    margin: 0 12px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ribbon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ribbon-image:hover img {
    transform: scale(1.08);
}

/* Карточки мест */
.place-card {
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px -12px rgba(0, 0, 0, 0.12);
}

.place-card-image {
    height: 180px;
    overflow: hidden;
}

.place-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.place-card:hover .place-card-image img {
    transform: scale(1.05);
}

.place-card-body {
    padding: 1.3rem;
}

.place-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.place-card-location {
    font-size: 0.75rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.place-card-text {
    font-size: 0.85rem;
    color: #5A5450;
    line-height: 1.4;
}

/* Цитаты */
.quote-card {
    padding: 1.8rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s;
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.quote-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.quote-card-1 {
    background-color: #fef7e0;
}

.quote-card-2 {
    background-color: #e8f0fe;
}

.quote-card-3 {
    background-color: #fde7f0;
}

.quote-card-4 {
    background-color: #e0f5ea;
}

.quote-card-5 {
    background-color: #ede7f6;
}

.quote-card-6 {
    background-color: #fff0e0;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.08);
    margin-bottom: 0.8rem;
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.quote-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* Команда */
.team-card {
    text-align: center;
    transition: all 0.3s;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px -12px rgba(0, 0, 0, 0.1);
}

.team-card-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 3px solid var(--color-accent);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-card-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.team-card-desc {
    font-size: 0.8rem;
    color: var(--color-gray);
}

/* Процесс работы */
.process-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 36px;
    height: 36px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}

.process-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
}

.process-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-text {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* Карта и контакты */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent);
}

.contact-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: none;
}

.love-math-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.love-card {
    background: white;
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    width: 220px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.love-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(189, 91, 52, 0.2);
}

.love-card-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--color-accent, #BD5B34);
}

.love-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.love-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark, #2B2420);
    margin-bottom: 8px;
}

.love-card-desc {
    font-size: 0.9rem;
    color: var(--color-gray, #6B6058);
}

.love-math-symbol {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent, #BD5B34);
    width: 60px;
    text-align: center;
}


@media (max-width: 768px) {
    .love-math-container {
        gap: 15px;
    }

    .love-card {
        width: 180px;
        padding: 15px;
    }

    .love-card-image {
        width: 110px;
        height: 110px;
    }

    .love-card-name {
        font-size: 1.2rem;
    }

    .love-math-symbol {
        font-size: 2rem;
        width: 40px;
    }
}

/* ============================================
   БЕГУЩАЯ ЛЕНТА С ДАТАМИ
   ============================================ */
.dates-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.dates-scroll-container:active {
    cursor: grabbing;
}

.dates-scroll-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 30px;
    width: max-content;
    animation: scrollDates 40s linear infinite;
}

.dates-scroll-container:hover .dates-scroll-wrapper {
    animation-play-state: paused;
}

@keyframes scrollDates {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.date-scroll-card {
    width: 220px;
    min-width: 220px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.date-scroll-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(189, 91, 52, 0.25);
}

.date-scroll-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.date-scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.date-scroll-card:hover .date-scroll-image img {
    transform: scale(1.08);
}

.date-scroll-badge {
    display: inline-block;
    background-color: var(--color-cream, #FAF6F1);
    color: var(--color-accent, #BD5B34);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    margin: 12px 0 0 12px;
}

.date-scroll-body {
    padding: 12px 15px 18px;
}

.date-scroll-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark, #2B2420);
    margin-bottom: 6px;
}

.date-scroll-desc {
    font-size: 0.8rem;
    color: var(--color-gray, #6B6058);
    line-height: 1.4;
}

/* Скрываем скроллбар (опционально) */
.dates-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.dates-scroll-container::-webkit-scrollbar-track {
    background: var(--color-cream, #FAF6F1);
    border-radius: 10px;
}

.dates-scroll-container::-webkit-scrollbar-thumb {
    background: var(--color-accent, #BD5B34);
    border-radius: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .date-scroll-card {
        width: 180px;
        min-width: 180px;
    }

    .date-scroll-image {
        height: 130px;
    }

    .date-scroll-title {
        font-size: 0.9rem;
    }

    .date-scroll-desc {
        font-size: 0.7rem;
    }
}

/* ============================================
   КАРТОЧКИ С ИСТОРИЕЙ (вертикальное фото, как с телефона)
   ============================================ */
.story-card {
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(189, 91, 52, 0.35);
}

/* ВЕРТИКАЛЬНОЕ ФОТО (как с телефона) */
.story-card-image {
    height: auto;
    aspect-ratio: 3 / 4;
    /* Классическое вертикальное соотношение 3:4 */
    overflow: hidden;
    background-color: #F7F4F0;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Обрезает края, но заполняет весь блок */
}

.story-card:hover .story-card-image img {
    transform: scale(1.05);
}

.story-card-body {
    padding: 1.8rem;
    text-align: center;
}

.story-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.story-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark, #2B2420);
    margin-bottom: 12px;
}

.story-card-text {
    font-size: 0.95rem;
    color: var(--color-gray, #6B6058);
    line-height: 1.5;
}

/* ============================================
   ГОРИЗОНТАЛЬНЫЙ ТАЙМЛАЙН (исправленный)
   ============================================ */
.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    position: relative;
    overflow-x: visible;
}

/* Линия */
.timeline-line {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 200px);
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-soft, #F3DCC9), var(--color-accent, #BD5B34), var(--color-accent-soft, #F3DCC9));
    border-radius: 3px;
}

/* Контейнер с точками */
.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-wrap: nowrap;
    gap: 20px;
}

/* Каждый элемент */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
}

/* Точка */
.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--color-accent, #BD5B34);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(189, 91, 52, 0.2);
    margin-bottom: 25px;
}

.timeline-dot:hover {
    transform: scale(1.4);
    background-color: #9A431B;
    box-shadow: 0 0 0 5px rgba(189, 91, 52, 0.3);
}

/* Дата под точкой */
.timeline-date {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gray, #6B6058);
    white-space: nowrap;
    background: white;
    padding: 2px 8px;
    border-radius: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Карточка (появляется ПРИ НАВЕДЕНИИ на точку) */
.timeline-card {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 220px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 100;
    pointer-events: none;
}

/* Показываем карточку при наведении на точку */
.timeline-dot:hover+.timeline-card,
.timeline-item:hover .timeline-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Стрелочка карточки */
.timeline-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.timeline-card-image {
    height: 140px;
    overflow: hidden;
}

.timeline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-card-content {
    padding: 12px;
}

.timeline-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark, #2B2420);
    margin-bottom: 4px;
}

.timeline-card-text {
    font-size: 0.75rem;
    color: var(--color-gray, #6B6058);
    line-height: 1.4;
}

/* ============================================
   КАРУСЕЛЬ ДЛЯ МЕСТ (Bootstrap) — вертикальное фото как с телефона
   ============================================ */
.carousel {
    padding: 20px 0 60px;
}

.carousel-inner {
    padding: 10px;
}

.carousel-place-card {
    max-width: 360px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.carousel-place-card:hover {
    transform: translateY(-6px);
}

/* ВЕРТИКАЛЬНОЕ ФОТО (как с телефона) */
.carousel-place-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #F7F4F0;
}

.carousel-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-item:hover .carousel-place-image img {
    transform: scale(1.03);
}

.carousel-place-body {
    padding: 20px 18px 24px;
    text-align: center;
}

.carousel-place-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-dark, #2B2420);
}

.carousel-place-location {
    font-size: 0.8rem;
    color: var(--color-gray, #6B6058);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.carousel-place-text {
    font-size: 0.9rem;
    color: #5A5450;
    line-height: 1.45;
}

/* Кастомные стрелки Bootstrap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--color-accent, #BD5B34);
    border-radius: 50%;
    padding: 24px;
    background-size: 55%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 8%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Индикаторы (точки) */
.carousel-indicators {
    bottom: -15px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-gray, #6B6058);
    margin: 0 7px;
    opacity: 0.6;
}

.carousel-indicators button.active {
    background-color: var(--color-accent, #BD5B34);
    width: 32px;
    border-radius: 12px;
    opacity: 1;
}

/* Адаптив */
@media (max-width: 768px) {
    .carousel-place-card {
        max-width: 300px;
    }

    .carousel-place-body {
        padding: 16px 14px 20px;
    }

    .carousel-place-title {
        font-size: 1.2rem;
    }

    .carousel-place-text {
        font-size: 0.85rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 18px;
        background-size: 50%;
    }
}

/* ============================================
   ВИДЕО-КАРУСЕЛЬ (Bootstrap) — вертикальное видео как с телефона
   ============================================ */
.video-carousel-card {
    max-width: 360px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.video-carousel-card:hover {
    transform: translateY(-6px);
}

/* ВЕРТИКАЛЬНОЕ ВИДЕО (как с телефона, 9:16 или 4:5) */
.video-carousel-video {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background-color: #201A16;
}

.video-carousel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-carousel-body {
    padding: 18px 16px 22px;
    text-align: center;
}

.video-carousel-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-dark, #2B2420);
}

.video-carousel-desc {
    font-size: 0.85rem;
    color: var(--color-gray, #6B6058);
    line-height: 1.4;
}

/* Кастомные стрелки для видео-карусели (если нужно переопределить) */
#videoCarousel .carousel-control-prev-icon,
#videoCarousel .carousel-control-next-icon {
    background-color: var(--color-accent, #BD5B34);
    border-radius: 50%;
    padding: 24px;
    background-size: 55%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#videoCarousel .carousel-control-prev,
#videoCarousel .carousel-control-next {
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 10%;
}

#videoCarousel .carousel-control-prev:hover,
#videoCarousel .carousel-control-next:hover {
    opacity: 1;
}

/* Индикаторы для видео-карусели */
#videoCarousel .carousel-indicators {
    bottom: -15px;
}

#videoCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-gray, #6B6058);
    margin: 0 7px;
    opacity: 0.6;
}

#videoCarousel .carousel-indicators button.active {
    background-color: var(--color-accent, #BD5B34);
    width: 32px;
    border-radius: 12px;
    opacity: 1;
}

/* Адаптив */
@media (max-width: 768px) {
    .video-carousel-card {
        max-width: 300px;
    }

    .video-carousel-body {
        padding: 14px 14px 18px;
    }

    .video-carousel-title {
        font-size: 1.1rem;
    }

    .video-carousel-desc {
        font-size: 0.8rem;
    }

    #videoCarousel .carousel-control-prev-icon,
    #videoCarousel .carousel-control-next-icon {
        padding: 18px;
        background-size: 50%;
    }

    #videoCarousel .carousel-control-prev,
    #videoCarousel .carousel-control-next {
        width: 12%;
    }
}


/* Адаптив */
@media (max-width: 900px) {
    .timeline-wrapper {
        overflow-x: auto;
        padding-bottom: 30px;
    }

    .timeline-items {
        min-width: 700px;
    }

    .timeline-line {
        width: calc(100% - 100px);
    }
}

@media (max-width: 600px) {
    .timeline-items {
        min-width: 600px;
        gap: 15px;
    }

    .timeline-card {
        width: 190px;
    }

    .timeline-card-image {
        height: 120px;
    }

    .timeline-date {
        font-size: 0.6rem;
        top: 24px;
    }
}



/* Адаптив */
@media (max-width: 768px) {
    .story-card-body {
        padding: 1.3rem;
    }

    .story-card-title {
        font-size: 1.2rem;
    }

    .story-card-text {
        font-size: 0.85rem;
    }
}



/* ============================================
   ОБЩИЙ АДАПТИВ (собрать всё вместе)
   ============================================ */
@media (max-width: 576px) {
    .carousel-place-card {
        max-width: 280px;
    }

    .carousel-place-title {
        font-size: 1.1rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 14px;
    }

    .story-card-image {
        aspect-ratio: 4 / 5;
    }

    .video-carousel-card {
        max-width: 260px;
    }

    .video-carousel-title {
        font-size: 1rem;
    }

    #videoCarousel .carousel-control-prev-icon,
    #videoCarousel .carousel-control-next-icon {
        padding: 14px;
    }

    #videoCarousel .carousel-control-prev,
    #videoCarousel .carousel-control-next {
        width: 15%;
    }
}


@media (max-width: 650px) {
    .love-math-container {
        flex-direction: column;
    }

    .love-math-symbol {
        transform: rotate(90deg);
    }
}




/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-collage {
        height: 380px;
    }

    .collage-1 {
        width: 140px;
        height: 180px;
    }

    .collage-2 {
        width: 130px;
        height: 170px;
    }

    .collage-3 {
        width: 120px;
        height: 160px;
    }

    .collage-4 {
        width: 125px;
        height: 165px;
    }

    .collage-5 {
        width: 135px;
        height: 175px;
    }

    .collage-6 {
        width: 115px;
        height: 155px;
    }
}
