/* Свадебная флористика — страница /svadebnaya-floristika/ */

.svadba-page {
    margin-top: 1rem;
}

.svadba-hero__intro {
    max-width: 760px;
}

/* Кнопки CTA (телефон / заказать звонок) */
.svadba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.0625rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.svadba-btn:hover {
    filter: brightness(0.97);
}

.svadba-btn--outline {
    background: #fff;
    color: #cd4fbd;
    border-color: #cd4fbd;
}

.svadba-btn--outline:hover {
    background: #cd4fbd;
    color: #fff;
}

/* Блок услуг */
.svadba-services__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #cd4fbd;
    margin: 0;
}

/* Категория услуг (h2 + сетка пунктов) */
.svadba-cat:last-child {
    margin-bottom: 0 !important;
}

/* Карточки услуг */
.svadba-card {
    background: #fff;
    border: 1px solid #f0e6f0;
    box-shadow: 0 6px 24px rgba(205, 79, 189, 0.06);
}

/* Карточка отдельного пункта во всю ширину: текст слева, фото справа.
   На мобильном — фото сверху, текст снизу (колонки стекаются).
   Изображения зафиксированы квадратными 1:1. */
.svadba-pointcard__img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Контролы карусели — читаемые поверх светлых фото */
.svadba-pointcard__carousel .carousel-control-prev,
.svadba-pointcard__carousel .carousel-control-next {
    width: 12%;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.svadba-pointcard:hover .carousel-control-prev,
.svadba-pointcard:hover .carousel-control-next,
.svadba-pointcard__carousel:focus-within .carousel-control-prev,
.svadba-pointcard__carousel:focus-within .carousel-control-next {
    opacity: 0.9;
}

.svadba-pointcard__carousel .carousel-control-prev-icon,
.svadba-pointcard__carousel .carousel-control-next-icon {
    background-color: rgba(205, 79, 189, 0.65);
    border-radius: 50%;
    padding: 0.85rem;
    background-size: 50% 50%;
}

.svadba-pointcard__carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background-color: #fff;
    opacity: 0.6;
}

.svadba-pointcard__carousel .carousel-indicators .active {
    background-color: #cd4fbd;
    opacity: 1;
}

.svadba-card__img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.svadba-card__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.svadba-card__list li {
    position: relative;
    padding-left: 1.4rem;
    line-height: 1.45;
}

.svadba-card__list li::before {
    content: "❀";
    position: absolute;
    left: 0;
    top: 0;
    color: #cd4fbd;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Галерея */
.svadba-gallery__img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Лайтбокс — увеличение фото по клику */
.svadba-zoom {
    cursor: zoom-in;
}

.svadba-lightbox .modal-content {
    box-shadow: none;
}

.svadba-lightbox__img {
    width: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.svadba-lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    z-index: 5;
    opacity: 0.9;
}

.svadba-lightbox .carousel-control-prev,
.svadba-lightbox .carousel-control-next {
    width: 10%;
}

@media (max-width: 575.98px) {
    .svadba-lightbox__close {
        top: 0.25rem;
        right: 0.25rem;
    }
}

/* Этапы работы */
.svadba-step {
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #fbf5fb;
}

.svadba-step__num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: #cd4fbd;
}

/* CTA-блок */
.svadba-cta {
    background: linear-gradient(135deg, #fbeffa 0%, #f5f0fb 100%);
    border: 1px solid #f0e6f0;
}

@media (max-width: 575.98px) {
    .svadba-btn {
        width: 100%;
    }
}

/* На тач-устройствах ховера нет — показываем контролы карусели всегда */
@media (hover: none) {
    .svadba-pointcard__carousel .carousel-control-prev,
    .svadba-pointcard__carousel .carousel-control-next {
        opacity: 0.9;
    }
}

/* ==========================================================================
   SEO-лендинг «оформление свадьбы цветами»
   ========================================================================== */

/* HERO */
.svadba-hero {
    background: linear-gradient(135deg, #fbeffa 0%, #f5f0fb 100%);
    border: 1px solid #f0e6f0;
}
.svadba-hero--image {
    position: relative;
    border: 0;
    background: #2a1830;
}
.svadba-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--svadba-hero-img);
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}
.svadba-hero__inner {
    position: relative;
    z-index: 1;
}
.svadba-hero--image .svadba-hero__inner,
.svadba-hero--image .color-text,
.svadba-hero--image .svadba-hero__offer {
    color: #fff !important;
}
.svadba-hero__offer {
    max-width: 760px;
}
.svadba-hero__trust {
    font-weight: 600;
    color: #cd4fbd;
    margin: 0;
}
.svadba-hero--image .svadba-hero__trust {
    color: #ffd9f4;
}

/* БОКОВОЕ ЯКОРНОЕ МЕНЮ (ToC) — как в статьях блога */
.svadba-toc {
    top: 110px;
    padding-left: 20px;
    border-left: 2px solid #e0e0e0;
}
.svadba-toc__title {
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}
.svadba-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.svadba-toc li {
    margin-bottom: 12px;
}
.svadba-toc a {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}
.svadba-toc a:hover,
.svadba-toc a.active {
    color: #cd4fbd;
}

/* Якоря с учётом высоты шапки */
.svadba-section,
#packages, #portfolio, #reviews, #faq {
    scroll-margin-top: 110px;
}

/* ЧТО ВХОДИТ */
.svadba-whatincluded__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.svadba-whatincluded__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid #f0e6f0;
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    color: var(--bs-body-color, #212529);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.svadba-whatincluded__card:hover {
    box-shadow: 0 6px 24px rgba(205, 79, 189, 0.12);
    transform: translateY(-2px);
}
.svadba-whatincluded__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.svadba-whatincluded__icon--flower {
    font-size: 2rem;
    line-height: 48px;
    color: #cd4fbd;
}
.svadba-whatincluded__name {
    font-weight: 600;
}

/* СЕКЦИИ */
.svadba-section__price {
    display: inline-block;
    background: #fbeffa;
    color: #cd4fbd;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-weight: 700;
}
.svadba-section__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.svadba-section__img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}
.svadba-section__notes {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.svadba-section__notes li {
    position: relative;
    padding-left: 1.4rem;
}
.svadba-section__notes li::before {
    content: "❀";
    position: absolute;
    left: 0;
    top: 0;
    color: #cd4fbd;
    font-size: 0.9em;
}
.svadba-section__more {
    color: #cd4fbd;
    text-decoration: none;
    font-weight: 600;
}
.svadba-section__more:hover { text-decoration: underline; }

/* ТАБЛИЦЫ ЦЕН */
.svadba-pricetable {
    width: 100%;
    border-collapse: collapse;
}
.svadba-pricetable td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #f0e6f0;
}
.svadba-pricetable__price {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    color: #cd4fbd;
}
.svadba-pricetable--list {
    max-width: 640px;
}

/* ПАКЕТЫ */
.svadba-package {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0e6f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(205, 79, 189, 0.06);
}
.svadba-package--featured {
    border-color: #cd4fbd;
    box-shadow: 0 10px 32px rgba(205, 79, 189, 0.18);
}
.svadba-package__title {
    font-size: 1.25rem;
    font-weight: 700;
}
.svadba-package__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cd4fbd;
    margin: 0.25rem 0 0.75rem;
}
.svadba-package__features {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
}
.svadba-package__features li {
    position: relative;
    padding-left: 1.4rem;
}
.svadba-package__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #cd4fbd;
    font-weight: 700;
}

/* ПОРТФОЛИО */
.svadba-portfolio__img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.svadba-portfolio__caption {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.35rem;
}

/* ОТЗЫВЫ */
.svadba-review {
    background: #fff;
    border: 1px solid #f0e6f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 6px 24px rgba(205, 79, 189, 0.06);
}
.svadba-review__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.svadba-review__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.svadba-review__name { font-weight: 700; }
.svadba-review__stars { color: #f5b301; letter-spacing: 1px; }

/* ПОЧЕМУ МЫ */
.svadba-guarantee {
    background: #fbf5fb;
    border-radius: 0.75rem;
    padding: 1.25rem;
}

/* ФИНАЛ */
.svadba-final {
    background: linear-gradient(135deg, #fbeffa 0%, #f5f0fb 100%);
    border: 1px solid #f0e6f0;
}
.svadba-final__contacts li { margin-bottom: 0.35rem; }
.svadba-final__map iframe,
.svadba-final__map img {
    width: 100%;
    border: 0;
    border-radius: 0.75rem;
}

/* МОБИЛЬНАЯ ПАНЕЛЬ ЗВОНКА */
.svadba-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #f0e6f0;
}
@media (max-width: 991.98px) {
    /* чтобы контент не прятался под панелью */
    .svadba-page { padding-bottom: 4.5rem; }
}
