    /* === БАЗОВАЯ ЦВЕТОВАЯ СХЕМА === */
    .wedding-theme {
        --bg: #FAF8F5;              /* Тёплый кремовый фон */
        --bg-secondary: #FFFFFF;     /* Белый для карточек */
        --text: #2C2C2C;            /* Тёмно-серый текст */
        --text-muted: #6B6B6B;      /* Приглушённый текст */
        --accent: #D4A574;          /* Золотисто-бежевый акцент */
        --accent-light: #E6B89C;    /* Светлый персиковый */
        --accent-dark: #B8915F;     /* Тёмный золотой */
        --line: rgba(212, 165, 116, 0.2);
        --shadow: rgba(44, 44, 44, 0.08);
        --gradient: linear-gradient(135deg, #E6B89C 0%, #D4A574 100%);
    }

    /* === БАЗОВЫЕ RESET === */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    
    
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        background: var(--bg);
        color: var(--text);
        line-height: 1.6;
    }

    /*
     * Горизонтальный скролл только на Wedding: из‑за контента (гриды, кнопки с nowrap),
     * а не из‑за общего header.html. Режем переполнение и даём grid/flex ячейкам min-width:0.
     */
    html {
        overflow-x: hidden;
    }

    body.wedding-theme {
        overflow-x: hidden;
    }

    #main-content {
        overflow-x: hidden;
        max-width: 100%;
    }

    #main-content .container {
        min-width: 0;
    }

    .hero__grid,
    .hero__content,
    .hero__actions {
        min-width: 0;
    }

    .usp__wrapper,
    .usp__content,
    .usp__image {
        min-width: 0;
    }

    .skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background-color: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}
 


    /* === ПЕРЕОПРЕДЕЛЕНИЕ HEADER === */
    .wedding-theme .site-header {
        background: rgba(250, 248, 245, 0.95);
        border-bottom: 1px solid var(--line);
    }

    .wedding-theme .logo {
        color: var(--text);
    }

    .wedding-theme .nav a {
        color: var(--text-muted);
    }

    .wedding-theme .nav a:hover {
        background: rgba(212, 165, 116, 0.12);
        color: var(--text);
    }

    .wedding-theme .nav a[aria-current="page"] {
        color: var(--accent-dark);
        background: rgba(212, 165, 116, 0.2);
    }

    .wedding-theme .nav-toggle {
        border: 1px solid var(--line);
        background: rgba(212, 165, 116, 0.08);
        color: var(--text);
    }

    .wedding-theme .nav-toggle__icon,
    .wedding-theme .nav-toggle__icon::before,
    .wedding-theme .nav-toggle__icon::after {
        background: var(--text);
    }

    /* === MOBILE MENU === */
    @media (max-width: 700px) {
        .wedding-theme .nav {
            background: rgba(250, 248, 245, 0.98);
            border: 1px solid var(--line);
            box-shadow: 0 8px 32px var(--shadow);
        }

        .wedding-theme .nav a {
            background: rgba(212, 165, 116, 0.08);
            border: 1px solid var(--line);
            color: var(--text);
        }
    }


    
    /* ═══════════════════════════════════════════════════════════════
   Разделение между секциями
   ═══════════════════════════════════════════════════════════════ */
.section-divider--diagonal {
    height: 100px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.section-divider--diagonal svg {
    width: 100%;
    height: 100%;
}

 /* ═══════════════════════════════════════════════════════════════
   Разделение между секциями 2
   ═══════════════════════════════════════════════════════════════ */

.shadow-divider {
    height: 100px;
    background: white;
    position: relative;
}

.shadow-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0,0,0,0.1) 20%,
        rgba(0,0,0,0.1) 80%,
        transparent
    );
    box-shadow: 0 1px 20px rgba(0,0,0,0.05);
}


    /* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: Hero — Свадебная фотосъёмка
   ═══════════════════════════════════════════════════════════════ */

/* --- Hero: Контейнер секции --- */
.hero {
    padding: 100px 0 80px;
    position: relative;
}

/* --- Hero: Сетка (текст + изображение) --- */
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ═══ Hero: Контент (текстовый блок) ═══ */
.hero__content {
    max-width: 580px;
}

/* --- Hero: Заголовок H1 --- */
.hero__title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.2;
}

/* --- Hero: Описание --- */
.hero__description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ═══ Hero: Преимущества (features) ═══ */
.hero__features {
    display: flex;
    gap: 16px;
    margin: 0 0 40px;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

/* --- Hero: Карточка преимущества --- */
.hero__feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
    background: rgba(230, 184, 156, 0.1);
    border-radius: 12px;
    border: 1px solid var(--line);
    min-width: min(140px, 100%);
    flex: 1 1 auto;
    transition: background 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.hero__feature:hover {
    background: rgba(230, 184, 156, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* --- Hero: Лейбл преимущества --- */
.hero__feature-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Hero: Текст преимущества --- */
.hero__feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* ═══ Hero: Кнопки действий ═══ */
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Hero: Базовая кнопка --- */
.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease,
                border-color 0.3s ease;
}

/* --- Hero: Кнопка — фокус (клавиатурная навигация) --- */
.hero__btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* --- Hero: Кнопка — основная (Telegram) --- */
.hero__btn--primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px var(--shadow-accent, rgba(212, 165, 116, 0.3));
}

.hero__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-accent, rgba(212, 165, 116, 0.4));
}

/* --- Hero: Кнопка — вторичная (портфолио) --- */
.hero__btn--secondary {
    background: var(--bg-secondary);
    color: var(--accent-dark);
    border: 2px solid var(--accent);
}

.hero__btn--secondary:hover {
    background: rgba(230, 184, 156, 0.1);
    border-color: var(--accent-dark);
}

/* --- Hero: Иконка внутри кнопки --- */
.hero__btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ═══ Hero: Медиа (изображение) ═══ */
.hero__media {
    position: relative;
}

/* --- Hero: Обёртка изображения --- */
.hero__image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px var(--shadow-image, rgba(44, 44, 44, 0.12));
    aspect-ratio: 4 / 5;
    min-height: 500px;
    will-change: transform;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

@supports (aspect-ratio: 4 / 5) {
    .hero__image-wrapper {
        min-height: unset;
    }
}

.hero__image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px var(--shadow-image, rgba(44, 44, 44, 0.15));
}

/* --- Hero: Само изображение --- */
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ═══ Hero: Badge (плашка с датами) ═══ */
.hero__image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-badge, rgba(255, 255, 255, 0.95));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px var(--shadow-image, rgba(44, 44, 44, 0.15));
    will-change: transform, opacity;
    animation: heroBadgeSlideIn 0.6s ease 0.3s backwards;
}

/* --- Hero: Badge — анимация появления --- */
@keyframes heroBadgeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero: Badge — содержимое --- */
.hero__badge-content {
    flex: 1;
}

/* --- Hero: Badge — заголовок --- */
.hero__badge-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

/* --- Hero: Badge — подзаголовок --- */
.hero__badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}

/* ═══ Hero: Доступность — уменьшение движения ═══ */
@media (prefers-reduced-motion: reduce) {
    .hero__image-badge {
        animation: none;
    }

    .hero__feature:hover,
    .hero__image-wrapper:hover,
    .hero__btn--primary:hover {
        transform: none;
    }

    .hero__feature,
    .hero__image-wrapper,
    .hero__btn {
        transition: none;
    }
}

/* ═══ Hero: Адаптив — планшет (≤ 968px) ═══ */
@media (max-width: 968px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__media {
        order: -1;
    }

    .hero__content {
        max-width: 100%;
    }

    /* Две кнопки в ряд: nowrap давал ширину больше экрана на узких планшетах */
    .hero__btn {
        white-space: normal;
    }
}

/* ═══ Hero: Адаптив — мобильный (≤ 640px) ═══ */
@media (max-width: 640px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hero__features {
        gap: 12px;
    }

    .hero__feature {
        padding: 12px 16px;
        min-width: min(120px, 100%);
    }

    .hero__feature-label {
        font-size: 0.75rem;
    }

    .hero__feature-text {
        font-size: 0.9rem;
    }

    .hero__image-badge {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 12px 16px;
    }

    .hero__badge-title {
        font-size: 0.9rem;
    }

    .hero__badge-subtitle {
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: USP — Почему выбирают меня
   Блок преимуществ с фото и статистикой
   ═══════════════════════════════════════════════════════════════ */

/* --- USP: Контейнер секции --- */
.usp {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* --- USP: Сетка (фото + текст) --- */
.usp__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 80px);
    align-items: center;
}

/* ═══ USP: Изображение ═══ */
.usp__image {
    position: relative;
}

.usp__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-image, rgba(44, 44, 44, 0.15));
    display: block;
}

/* ═══ USP: Контент ═══ */

/* --- USP: Заголовок H2 --- */
.usp__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 32px;
    color: var(--text);
}

/* --- USP: Текстовый блок --- */
.usp__text {
    margin-bottom: 48px;
}

.usp__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* убираем лишний отступ у последнего абзаца перед stats */
.usp__text p:last-child {
    margin-bottom: 0;
}

.usp__text strong {
    color: var(--text);
    font-weight: 600;
}

/* ═══ USP: Статистика ═══ */
.usp__stats {
    display: flex;
    gap: 48px;
    margin: 0;
    padding: 0;
}

/* --- USP: Карточка статистики --- */
.usp__stat {
    text-align: center;
}

/* --- USP: Число статистики --- */
.usp__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--accent-dark);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* fallback: если background-clip: text не поддерживается */
@supports not (-webkit-background-clip: text) {
    .usp__stat-number {
        background: none;
        color: var(--accent-dark);
    }
}

/* --- USP: Подпись статистики --- */
.usp__stat-text {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* ═══ USP: Доступность — уменьшение движения ═══ */
@media (prefers-reduced-motion: reduce) {
    .usp__image img,
    .usp__stat-number {
        transition: none;
    }
}

/* ═══ USP: Адаптив — планшет (≤ 968px) ═══ */
@media (max-width: 968px) {
    .usp__wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .usp__image {
        order: -1;
    }

    .usp__stats {
        justify-content: space-around;
    }
}

/* ═══ USP: Адаптив — мобильный (≤ 640px) ═══ */
@media (max-width: 640px) {
    .usp {
        padding: 60px 0;
    }

    .usp__stats {
        gap: 24px;
    }

    .usp__stat-number {
        font-size: 2rem;
    }

    .usp__stat-text {
        font-size: 0.85rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: Портфолио — Галерея свадебных фотографий
   ═══════════════════════════════════════════════════════════════ */

/* --- Gallery: Контейнер секции --- */
.gallery {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* --- Gallery: Заголовок --- */
.gallery__header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.gallery__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Gallery: Сетка --- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --- Gallery: Карточка --- */
.gallery__card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* --- Gallery: Кнопка-обёртка (вместо div) --- */
.gallery__button {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.gallery__button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* --- Gallery: Изображение --- */
.gallery__button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* --- Gallery: Оверлей --- */
.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* --- Gallery: Иконка зума --- */
.gallery__zoom {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* --- Gallery: Hover-эффекты (только pointer-устройства) --- */
@media (hover: hover) and (pointer: fine) {
    .gallery__button:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px var(--shadow-image, rgba(44, 44, 44, 0.2));
    }

    .gallery__button:hover img {
        transform: scale(1.1);
    }

    .gallery__button:hover .gallery__overlay {
        opacity: 1;
    }

    .gallery__button:hover .gallery__zoom {
        transform: scale(1);
    }
}

/* focus-visible тоже показывает оверлей */
.gallery__button:focus-visible .gallery__overlay {
    opacity: 1;
}

.gallery__button:focus-visible .gallery__zoom {
    transform: scale(1);
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX — Модальный просмотр
   ═══════════════════════════════════════════════════════════════ */

/* --- Lightbox: Контейнер --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[hidden] {
    display: flex;       /* переопределяем hidden, анимируем через opacity */
    pointer-events: none;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- Lightbox: Контент --- */
.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* --- Lightbox: Счётчик --- */
.lightbox__counter {
    color: white;
    font-size: 0.9rem;
    margin-top: 16px;
    opacity: 0.7;
}

/* --- Lightbox: Кнопки управления --- */
.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.lightbox__close {
    top: 24px;
    right: 24px;
}

.lightbox__prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}


/* ═══ Gallery + Lightbox: Уменьшение движения ═══ */
@media (prefers-reduced-motion: reduce) {
    .gallery__button,
    .gallery__button img,
    .gallery__overlay,
    .gallery__zoom,
    .lightbox {
        transition: none;
    }
}

/* ═══ Gallery: Адаптив — планшет (≤ 968px) ═══ */
@media (max-width: 968px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ═══ Gallery: Адаптив — мобильный (≤ 640px) ═══ */
@media (max-width: 640px) {
    .gallery {
        padding: 60px 0;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }

    .lightbox__prev { left: 12px; }
    .lightbox__next { right: 12px; }
    .lightbox__close { top: 12px; right: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: Отзывы — Карусель
   ═══════════════════════════════════════════════════════════════ */

/* --- Testimonials: Контейнер секции --- */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* --- Testimonials: Заголовок --- */
.testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.testimonials__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Testimonials: Слайдер --- */
.testimonials__slider {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.testimonials__track {
    display: flex;
    transition: transform 0.6s ease;
}

/* --- Testimonials: Слайд --- */
.testimonial__slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-primary);
    padding: 60px;
    box-shadow: 0 20px 60px var(--shadow-card);
}

/* --- Testimonials: Контент отзыва --- */
.testimonial__content {
    position: relative;
}

.testimonial__quote-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    color: var(--accent);
    opacity: 0.2;
    pointer-events: none;
}

.testimonial__text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 40px;
    padding: 0;
    border: none;
    color: var(--text);
    position: relative;
    z-index: 1;
    font-style: normal;
}

/* --- Testimonials: Автор --- */
.testimonial__author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial__name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.testimonial__date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* --- Testimonials: Рейтинг --- */
.testimonial__rating {
    display: flex;
    gap: 2px;
}

.testimonial__star {
    color: #FFD700;
    font-size: 1.1rem;
}

/* --- Testimonials: Фото слайда --- */
.testimonial__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-image);
}

.testimonial__image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Hover-поворот только для pointer-устройств */
@media (hover: hover) and (pointer: fine) {
    .testimonial__slide.active .testimonial__image {
        transform: rotate(2deg);
        transition: transform 0.3s ease;
    }

    .testimonial__slide.active:hover .testimonial__image {
        transform: rotate(0deg);
    }
}

/* --- Testimonials: Навигация --- */
.testimonials__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.testimonials__prev,
.testimonials__next {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease,
                transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-card);
    color: var(--text);
}

.testimonials__prev:hover,
.testimonials__next:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.testimonials__prev:focus-visible,
.testimonials__next:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* --- Testimonials: Точки (dots) --- */
.testimonials__dots {
    display: flex;
    gap: 12px;
}

.testimonial__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease,
                opacity 0.3s ease;
}

.testimonial__dot.active {
    background: var(--accent);
    opacity: 1;
    transform: scale(1.2);
}

.testimonial__dot:hover {
    background: var(--accent);
    opacity: 0.7;
}

.testimonial__dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ═══ Testimonials: Уменьшение движения ═══ */
@media (prefers-reduced-motion: reduce) {
    .testimonials__track,
    .testimonial__image,
    .testimonials__prev,
    .testimonials__next,
    .testimonial__dot {
        transition: none;
    }
}

/* ═══ Testimonials: Адаптив — планшет ═══ */
@media (max-width: 968px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonial__slide {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }

    .testimonial__author {
        justify-content: center;
    }

    .testimonial__image {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }

    .testimonial__image img {
        height: 300px;
    }

    .testimonials__navigation {
        gap: 20px;
        margin-top: 40px;
    }
}

/* ═══ Testimonials: Адаптив — мобильный ═══ */
@media (max-width: 640px) {
    .testimonial__slide {
        padding: 30px 20px;
    }

    .testimonial__text {
        font-size: 1.1rem;
    }

    .testimonials__prev,
    .testimonials__next {
        width: 40px;
        height: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: Process — Этапы свадебной съёмки
   ═══════════════════════════════════════════════════════════════ */

.process {
    position: relative;
    padding: 100px 0;
    background: white;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.process__header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.process__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.process__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Таймлайн --- */
.process__timeline {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

/* --- Шаг --- */
.process__step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.process__step:last-child {
    margin-bottom: 0;
}

/* Зеркалирование через order */
.process__step--reverse .process__step-content {
    order: 2;
    text-align: right;
}

.process__step--reverse .process__step-image {
    order: 1;
}

/* --- Контент шага --- */
.process__step-content {
    padding: 0 20px;
}

.process__step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.process__step-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.process__step-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
}

.process__step-icon {
    flex-shrink: 0;
}

/* --- Изображение шага --- */
.process__step-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.process__step-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Hover только для устройств с мышью */
@media (hover: hover) and (pointer: fine) {
    .process__step-image {
        transition: transform 0.3s ease;
    }

    .process__step:hover .process__step-image {
        transform: translateY(-10px);
    }

    .process__step-image img {
        transition: transform 0.5s ease;
    }

    .process__step-image:hover img {
        transform: scale(1.05);
    }
}

/* Декоративный круг */
.process__step::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .process__step::before {
        transition: opacity 0.3s ease;
    }

    .process__step:hover::before {
        opacity: 1;
    }
}

/* ═══ Адаптив: планшет ═══ */
@media (max-width: 968px) {
    .process {
        padding: 80px 0;
    }

    .process__step {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .process__step--reverse .process__step-content {
        order: unset;
        text-align: left;
    }

    .process__step--reverse .process__step-image {
        order: unset;
    }

    .process__step-image img {
        height: 300px;
    }
}

/* ═══ Адаптив: мобильный ═══ */
@media (max-width: 640px) {
    .process__header {
        margin-bottom: 60px;
    }

    .process__step {
        margin-bottom: 60px;
    }

    .process__step-title {
        font-size: 1.3rem;
    }

    .process__step-desc {
        font-size: 1rem;
    }

    .process__step-image img {
        height: 250px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: Process
   ═══════════════════════════════════════════════════════════════ */

.process {
    position: relative;
    padding: 100px 0;
    background: white;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.process__header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.process__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.process__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.process__timeline {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.process__step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step--reverse .process__step-content {
    order: 2;
    text-align: right;
}

.process__step--reverse .process__step-image {
    order: 1;
}

.process__step-content {
    padding: 0 20px;
}

.process__step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.process__step-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.process__step-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
}

.process__step-icon {
    flex-shrink: 0;
}

.process__step-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.process__step-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Hover — только мышь */
@media (hover: hover) and (pointer: fine) {
    .process__step-image {
        transition: transform 0.3s ease;
    }

    .process__step:hover .process__step-image {
        transform: translateY(-10px);
    }

    .process__step-image img {
        transition: transform 0.5s ease;
    }

    .process__step-image:hover img {
        transform: scale(1.05);
    }
}

.process__step::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .process__step::before {
        transition: opacity 0.3s ease;
    }

    .process__step:hover::before {
        opacity: 1;
    }
}

@media (max-width: 968px) {
    .process {
        padding: 80px 0;
    }

    .process__step {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .process__step--reverse .process__step-content {
        order: unset;
        text-align: left;
    }

    .process__step--reverse .process__step-image {
        order: unset;
    }

    .process__step-image img {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .process__header {
        margin-bottom: 60px;
    }

    .process__step {
        margin-bottom: 60px;
    }

    .process__step-title {
        font-size: 1.3rem;
    }

    .process__step-desc {
        font-size: 1rem;
    }

    .process__step-image img {
        height: 250px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   СЕКЦИЯ: FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq {
    padding: 100px 0;
    background: linear-gradient(
        to bottom,
        #f0e6d8 0%,
        #f7f1ea 80px,
        #ffffff 280px
    );
    position: relative;
}

.faq > .container {
    position: relative;
    z-index: 1;
}

.faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.faq__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.faq__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.faq__content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Список вопросов --- */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: white;
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.faq__item.active {
    border-color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
    .faq__item {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .faq__item:hover {
        border-color: var(--accent);
        box-shadow: 0 4px 20px rgba(212, 165, 116, 0.1);
    }
}

.faq__question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    font-family: inherit;
}

@media (hover: hover) and (pointer: fine) {
    .faq__question {
        transition: color 0.3s ease;
    }

    .faq__question:hover {
        color: var(--accent);
    }
}

.faq__icon {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

/* --- Ответ: скрыт по умолчанию --- */
.faq__answer {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

.faq__answer-inner {
    padding: 0 28px 24px;
}

.faq__answer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --- Боковая панель --- */
.faq__sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq__cta-card {
    background: linear-gradient(135deg, var(--accent) 0%, #c8935a 100%);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.3);
}

.cta-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cta-card__icon svg {
    stroke: white;
}

.cta-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card__text {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-card__button {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--accent);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .cta-card__button {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .cta-card__button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

.faq__contact-info {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
}

.faq__contact-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
    .contact-item {
        transition: color 0.2s ease;
    }

    .contact-item:hover span {
        color: var(--accent);
    }
}

/* Декор */
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* --- Адаптив --- */
@media (max-width: 968px) {
    .faq {
        padding: 80px 0;
    }

    .faq__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq__sidebar {
        order: -1;
    }
}

@media (max-width: 640px) {
    .faq__header {
        margin-bottom: 40px;
    }

    .faq__question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq__answer-inner {
        padding: 0 20px 20px;
    }

    .faq__answer p {
        font-size: 0.95rem;
    }

    .faq__cta-card {
        padding: 30px 20px;
    }

    .cta-card__title {
        font-size: 1.3rem;
    }
}

    /* === Footer === */
    .footer {
        background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 50%, var(--bg) 100%);
        padding: 0 20px 20px;
        position: relative;
    }

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--line), transparent);
    }

    .footer::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at center top, rgba(212, 165, 116, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .footer-bottom {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 40px;
        border-top: 1px solid var(--line);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
    }

    /* === Лого === */
    .footer-logo {
        font-family: 'Times New Roman', Times, serif;
        font-size: 1.15rem;
        letter-spacing: 0.05em;
        text-transform: lowercase;
        font-weight: 400;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
        flex: 1;
    }

    .logo-memei {
        color: var(--text);
        font-weight: 500;
    }

    .logo-photo {
        color: var(--accent);
        opacity: 0.8;
        margin-left: 2px;
        transition: opacity 0.3s ease;
    }

    .footer-logo:hover .logo-photo {
        opacity: 1;
    }

    .footer-logo:hover {
        transform: translateY(-2px);
    }

    /* === Навигация === */
    .footer-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: flex-end;
    }

    .footer-nav-main {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .footer-nav-main a {
        font-size: 0.85rem;
        color: var(--text-muted) !important;
        text-decoration: none;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

    .footer-nav-main a:hover {
        color: var(--accent-dark);
    }

    /* Политика конфиденциальности */
    .footer-nav-legal {
        width: 100%;
        text-align: center;
    }

    .footer-nav-legal a {
        font-size: 0.78rem;
        color: var(--text-muted) !important;
        opacity: 0.7;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .footer-nav-legal a:hover {
        opacity: 1;
        color: var(--accent-dark);
    }

    /* Соцсети в футере */
    .footer-social {
        display: flex;
        justify-content: center;
        flex: 1;
    }

    .social-icons {
        display: flex;
        gap: 18px;
        align-items: center;
        justify-content: center;
    }

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(212, 165, 116, 0.12);
        border: 1px solid var(--line);
        transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    .social-icons a:hover {
        transform: scale(1.12);
        background: rgba(212, 165, 116, 0.2);
        border-color: var(--accent);
    }

    .social-icons img {
        width: 20px;
        height: 20px;
        filter: none;
    }

    /* === Адаптив === */
    @media (max-width: 768px) {
        .footer {
            padding: 0 20px 40px;
        }

        .footer-bottom {
            flex-direction: column;
            gap: 24px;
            text-align: center;
            margin-top: 0;
            align-items: center;
        }

        .footer-logo, 
        .footer-social, 
        .footer-nav {
            flex: none;
        }

        .footer-logo {
            font-size: 1.05rem;
            order: 1;
        }

        .footer-social {
            order: 2;
        }

        .footer-nav {
            order: 3;
            align-items: center;
        }

        .footer-nav-main {
            justify-content: center;
        }

        .social-icons {
            gap: 16px;
        }
    }

    @media (max-width: 480px) {
        .footer {
            padding: 0 15px 30px;
        }

        .footer-logo {
            font-size: 0.95rem;
            letter-spacing: 0.03em;
        }

        .footer-nav-main {
            gap: 16px;
        }

        .footer-nav-main a {
            font-size: 0.8rem;
        }

        .footer-nav-legal a {
            font-size: 0.73rem;
        }
    }
    
    /* === Powered by / Site credits === */
    .site-footer {
        background: var(--bg);
        padding: 16px 20px 16px;
        border-top: 1px solid var(--line);
    }

    .site-footer__content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-footer__credits {
        text-align: center;
        width: 100%;
    }

    .site-footer__credits p {
        margin: 0;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-muted);
        text-align: center;
    }

    .site-footer__credits span {
        color: var(--accent-dark);
        font-weight: 500;
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 14px 15px 24px;
        }

        .site-footer__credits p {
            font-size: 0.75rem;
            letter-spacing: 0.12em;
        }
    }
    