:root {
    --hero-height: 750px;
    --col-width: 150px;
    --rotate-angle: -5deg;
    --hero-radius: 20px;
    --header-height: 72px;
    --color-primary: #ea5d62;
    --card-radius: 18px;
    --slide-gap: 28px;
    --shadow: 0 0 10px 5px rgb(221 221 221 / 20%);
    --muted: #6c757d;
}

/* Глобальные настройки */
html {
    scroll-padding-top: 80px; /* высота вашей фиксированной шапки + небольшой отступ */
    overflow-x: clip;
    overscroll-behavior-x: none; /* нет проскальзывания по X */
    overscroll-behavior-y: none; /* гасим «желе» по Y на границах */
}

body {
    margin: 0;
    background: #fff;
    font-family: Montserrat!important;
    overflow-x: clip;
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
}

h5{
    font-weight: 700!important;
}

section{padding-right: calc(var(--bs-gutter-x) * .5)!important; padding-left: calc(var(--bs-gutter-x) * .5)!important;}

/* Кнопки */
.btn-primary {
    border-radius: 12px!important;
    padding: 0.7rem 1.25rem;
    font-weight: 500;
    background-color: var(--color-primary)!important;
    color: #fff!important;
    border: none!important;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    display: inline-block;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    text-decoration: none;
}
.btn-primary:hover{
    color: white!important;
    background: #d94e54!important;
    border: none!important;
}
.btn-primary.loading {
    position: relative;
    color: transparent !important;
}
.btn-primary.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Контурная кнопка */
.btn-outline{
    border-radius: 12px!important;
    padding: 0.7rem 1.25rem;
    font-weight: 500;
    background: none!important;
    color: var(--color-primary)!important;
    border: 2px solid var(--color-primary)!important;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    display: inline-block;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    text-decoration: none;
}
.btn-outline:hover {
    background: #EA5D62!important;
    color: #ffffff!important;
}

/* Форма и контролы */
.form-control{
    border-radius: 12px!important;
    font-size: 14px!important;
    height: 46.38px!important;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    transition: border-color 0.2s;
    color: #646464;
}
.form-control:focus {
    border-color: #f7bbbe!important;
    box-shadow: 0 0 0 .25rem rgb(247 187 190 / 30%)!important;
}
.form-select{
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.2s;
}
.btn-check:focus+.btn-primary, .btn-primary:focus{
    border-color: #f7bbbe!important;
    box-shadow: 0 0 0 .25rem rgb(247 187 190 / 30%)!important;
}

.form-check-input:checked {
    background-color: #ea5d62!important;
    border-color: #ea5d62!important;
}

.privacy-check{
    color: #6c757d !important;
    font-size: 11px;
    margin-top: 6px;
}

/* Общие анимации */
@keyframes spin { to { transform: rotate(360deg); } }

/* 🟢 ---------- СТИЛИ ДЛЯ ШАПКИ ---------- */
/* Навбар: базовые стили */
.navbar {
    transition: background-color .25s ease, box-shadow .25s ease;
    z-index: 1100;
    background: transparent;
    padding: 0.75rem 1rem;
    padding-bottom: 16px!important;
}
.navbar .container { padding-right: 0!important; }
.navbar.scrolled {
    background: #fff !important;
    border-radius: 20px;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #202225;
    padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover {
    color: var(--color-primary); /* цвет при наведении */
}
/* Обертка хедера */
.site-header {
    background: #fff;
    margin: 12px auto 0 auto;
    width: 100%;
    max-width: 1300px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 1100;
    margin-top: 0;
    border-radius: 0 0 20px 20px;
    padding-top: 6px;
    padding-right: 0!important;
    padding-left: 0!important;
}
.navbar-brand { font-weight: 600; }
/* Убираем фокусную тень у тогглера */
.navbar-toggler:focus { box-shadow: none!important; }
/* Бургер: три полоски, плавная анимация */
.custom-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 12;
}
.custom-burger span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px 0;
    background: #000;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
/* Состояние крестика */
.navbar-toggler:not(.collapsed) .custom-burger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background: #ea5d62;
}
.navbar-toggler:not(.collapsed) .custom-burger span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) .custom-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: #ea5d62;
}
/* Скрыть стандартную иконку Bootstrap */
.navbar-toggler-icon { display: none !important; }
/* Кнопка меню */
.menu-btn {
    background: #ea5d62;
    color: #fff;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: 1.15rem;
    border: none;
    box-shadow: 0 2px 8px #ea5d6230;
    transition: background .2s;
}
.menu-btn:hover { background: #e53f44; }
/* 🔴 ---------- СТИЛИ ДЛЯ ШАПКИ ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ПЕРВОГО ЭКРАНА ---------- */
.hero {
    height: 750px;
    background: #f9f9f9;
    border-radius: var(--hero-radius);
    margin-top: 45px;
    overflow: hidden;
    padding: 34px;
    position: relative;
}
.hero .row { height: 100%; }
.hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(23px, 5vw, 41px);
    line-height: 1.5;
    color: #2B2F33;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
/* Плашка с наклоном */
.hero-title .hl {
    position: relative;
    font-weight: 800;
    color: #EA5D62;
    z-index: 1;
}
.hero-title .hl::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(234, 93, 98, 0.18);
    border-radius: 20px;
    transform: rotate(-1.1deg);
    z-index: -1;
    padding: 4px;
    top: -8px;
    bottom: -6px;
    left: -17px;
    right: -17px;
}
.hero-sub .hl {
    position: relative;
    font-weight: 800;
    color: #EA5D62;
    z-index: 1;
    margin: 0 10px;
}
.hero-sub .hl::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(234, 93, 98, 0.18);
    border-radius: 9px;
    transform: rotate(-6deg);
    z-index: -1;
    padding: 6px;
    top: -8px;
    bottom: -6px;
    left: -11px;
    right: -11px;
}
.hero-sub {
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-size: clamp(16px, 2.1vw, 20px);
    color: #51565A;
    max-width: 540px;
    line-height: 1.4;
}
.hero-button{
    display: flex;
    gap: 25px;
    margin-top: 40px;
}
.hero-button .btn-primary{border: 2px solid var(--color-primary) !important;}
.hero-button .btn-primary:hover{border: 2px solid #d94e54 !important;}
/* ---------- PHOTOS ---------- */
.photos-wrap { position: relative; height: 100%; width: 100%; }
.photos {
    position: absolute;
    top: -110px;
    right: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    height: calc(100% + 180px);
    pointer-events: none;
}
.photo-column {
    width: var(--col-width);
    overflow: hidden;
    transform: rotate(var(--rotate-angle));
    transform-origin: top center;
    display: flex;
}
.photo-inner { display: flex; flex-direction: column; gap: 16px; }
.photo-inner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: var(--shadow);
    pointer-events: auto;
}
/* 🔴 ---------- СТИЛИ ДЛЯ ПЕРВОГО ЭКРАНА ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ОБО МНЕ ---------- */
.about .img-fluid{max-width: 85%!important;}
.highlight {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 43px;
    font-family: "Dela Gothic One";
    margin-bottom: 30px;
}
.feature-text { font-size: 1.1rem; color: #343d4a; }
.feature-text strong{ font-weight: 800; font-size: 27px; }
.logos img { max-height: 40px; object-fit: contain; margin: 10px; }
.section-title{ font-weight:700; font-size:1.6rem; margin-bottom: 40px; }

/* СЛАЙДЕР */
.testimonial-slider { position: relative; overflow: visible; width: 100%; max-width: 380px; margin: 0 auto; }
.testimonial-viewport { overflow: hidden; border-radius: 16px; }
.testimonial-track { display: flex; transition: transform 0.6s ease; }

/* КАРТОЧКА */
.testimonial {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: #f9f9f9;
    border-radius: 16px;
    box-sizing: border-box;
}
.testimonial img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-top: 4px; }
.testimonial-content { flex: 1; }
.testimonial-header h5 { margin: 0; font-weight: 700; font-size: 1rem; color: #222; }
.testimonial-header .company { display: block; font-size: 0.85rem; color: #777; margin-top: 2px; }

/* Отзыв с обрезкой */
.testimonial-text {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: #555;
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
}
.testimonial-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1.5em;
    width: 50%;
    background: linear-gradient(to right, transparent, #f9f9f9);
}

/* Кнопка "Читать полностью" */
.read-more {
    background: none;
    border: none;
    color: var(--color-primary, #e54b4b);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    text-align: left;
}

/* Пагинация */
.testimonial-dots { display: flex; justify-content: center; margin-top: 12px; gap: 8px; }
.testimonial-dots .dot { width: 10px; height: 10px; border-radius: 50%; background-color: #ccc; cursor: pointer; transition: background-color 0.3s; }
.testimonial-dots .dot.active { background-color: var(--color-primary, #e54b4b); }

/* Модалка */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal.open {
    opacity: 1;
    transform: scale(1);
}

/* Базовый контейнер модалки */
#reviewModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1035;
    opacity: 0;
    transition: opacity 0.2s ease;
}
#reviewModal.open {
    display: flex;
    opacity: 1;
}
#reviewModal.open .modal-content {
    transform: scale(1);
    opacity: 1;
    border-radius: var(--card-radius);
}

/* Кнопка закрытия */
.modal-content .close {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}
.modal-content .close:hover { color: var(--color-primary); }

/* Отключаем выделение текста при свайпе */
.no-select { user-select: none !important; -webkit-user-select: none !important; -moz-user-select: none !important; }

/* Модальные состояния */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1030;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-modal.open { opacity: 1; }
.custom-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    width: 100%;
    max-width: 550px;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}
.custom-modal-content .feedback-form{ padding: 30px 30px!important; }
.custom-modal.open .custom-modal-content { transform: translateY(0); }
.custom-modal-content textarea { min-height: 90px !important; padding: 12px 16px !important; line-height: 1.5; resize: vertical; display: flex; align-items: center; }
.custom-modal-content textarea::placeholder { color: #999; line-height: 1.5; vertical-align: middle; }
.custom-modal-content input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ea5d62;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: 0!important;
    border-radius: 4px;
    padding: 8px 8px!important;
}
input[type="radio" i]{ accent-color: #ea5d62; }

.close-bonus { position: absolute; right: 10px; top: 0px; border: none; background: none; font-size: 2rem; cursor: pointer; color: var(--color-primary); }

.modal-decor { position: absolute; top: 10px; right: 80px; width: 100px; opacity: 0.4; }

.btn { background: var(--color-primary); color: #fff; border: none; padding: 0.75rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn:hover { opacity: 0.9; }

.custom-modal-content .modal-row { display: flex; gap: 1rem; flex-wrap: nowrap; }
.custom-modal-content .modal-col { flex: 1; min-width: 0; }

.contact-methods label { margin-right: 1rem; }

/* submit loader */
.submit-btn.loading { position: relative; color: transparent !important; }
.submit-btn.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* success note */
.success-note {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
    font-size: 15px;
    font-weight: 500;
}
.success-note.show { opacity: 1; transform: translateY(0); }
.success-note-icon { background: rgba(255, 255, 255, 0.25); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }

/* Ошибки */
.error { border-color: #ea5d62; }
.error-message { font-size: 0.85rem; color: #ea5d62; margin-top: 4px; }

/* Анимация fade-in (универсальная) */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(20px); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* Быстрая анимация для карточек */
@keyframes fadeUp { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;} }
.service-card{ animation: fadeUp .45s ease both; }

@keyframes scroll-down { 0%{ transform: translateY(-50%);} 100%{ transform: translateY(0%);} }
@keyframes scroll-up { 0%{ transform: translateY(0%);} 100%{ transform: translateY(-50%);} }
.scroll-down { animation: scroll-down 12s linear infinite; }
.scroll-up   { animation: scroll-up   12s linear infinite; }

/* 🔴 ---------- СТИЛИ ДЛЯ ОБО МНЕ ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ПОРТФОЛИО  ---------- */

/* Переменные для карточек уже в :root */

/* Заголовок */
.portfolio-section .section-title {
    margin-bottom: 18px;
    font-weight: 700;
}

/* TABS */
.portfolio-tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 14px 0 24px;
    flex-flow: row wrap;
}
.portfolio-tabs .tab {
    background: #f3f3f3;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: background .18s ease, transform .18s ease, color .18s ease, box-shadow .18s ease;
    user-select: none;
    border: none;
    position: relative;
}
.portfolio-tabs .tab:hover { transform: translateY(-2px); }
.portfolio-tabs .tab.active { background: var(--color-primary); color: #fff; box-shadow: 0 8px 22px rgba(234,93,98,0.16); }

/* Контейнер портфолио */
.portfolio-grid { position: relative; min-height: 180px; }
#portfolio-cards-container { position: relative; }

/* Карточки */
.portfolio-item { display: block; }
.portfolio-item.hidden { display: none !important; }
.portfolio-item.visible { display: block !important; animation: fadeInCard 0.4s cubic-bezier(.25,.85,.43,1.09) both; }

@keyframes fadeInCard { from{ opacity:0; transform:translateY(15px);} to{ opacity:1; transform:translateY(0);} }

/* --- Карточки общие --- */
.service-card,
.desc-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    background: #f7f7f7;
    transition: transform .28s, box-shadow .28s;
    height: 100%;
    display: flex;
    align-items: stretch;
    min-width: 0;
}
.service-card.ratio-3-2 { aspect-ratio: 3 / 2 !important; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14,30,37,0.12); z-index: 3; }
.service-card:active { transform: translateY(-3px) scale(0.98); }

/* --- Aspect Ratios --- */
.ratio-3-2 { aspect-ratio: 3/2!important; }
.ratio-2-1 { aspect-ratio: 2/1; }
.ratio-1-1 { aspect-ratio: 1/1; }

/* --- Изображения --- */
.service-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    transition: opacity .32s ease, transform .4s ease, filter .4s ease;
}
.service-media[data-loaded="true"] { opacity: 1; }
.service-card:hover .service-media { transform: scale(1.03); }

/* --- Overlay и CTA --- */
.service-overlay {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    pointer-events: none;
}
.service-cta {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: 1.3em;
    transition: transform .2s;
}
.service-card:hover .service-cta { transform: translateX(6px); }

/* --- DESC CARD --- */
.desc-card {
    padding: 25px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #111;
    min-width: 0;
}
.desc-card .desc-wave { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 48%; z-index: 1; pointer-events: none; }
.desc-card .desc-inner { position: relative; z-index: 2; }
.desc-card h3 { margin: 0 0 15px; font-size: 23px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.desc-card p { margin: 0; color: var(--muted); line-height: 1.4; }
.desc-card.small { padding:14px; }
.desc-card.small h3 { font-size:1rem; }

/* --- Цветовые варианты --- */
.card-variant--blue    { background: url("../../assets/img/desc_card1.jpg") }
.card-variant--yellow  { background: #fff6e0; }
.card-variant--orange  { background: #fff1e6; }
.card-variant--red     { background: #ffecec; }

/* --- Ссылки --- */
.portfolio-section a { color: #3d3d3d; text-decoration: none; }
.portfolio-section a:hover { color: #3d3d3d; }

/* --- Форма --- */
.white-card {
    background: #fff;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 17px rgba(14,30,37,0.08);
}

/* 🔴 ---------- СТИЛИ ДЛЯ ПОРТФОЛИО  ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ПРАЙСА  ---------- */
.shooting-packages{
    background: #f9f9f9;
    padding: 60px;
    border-radius: 60px;
}
.package-card {
    border-radius: 20px;
    background: white;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
    height: 100%;
    box-sizing: border-box;
}
.package-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.package-card.visible { opacity: 1; transform: translateY(0); transition: transform 0.6s cubic-bezier(.2,.9,.2,1), opacity 0.6s ease; }

.package-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; text-align: left; color: #343d4a; }
.package-time { font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; text-align: left; }
.package-tag { display: inline-block; background: #e6f7ea; color: #333; font-size: 0.9rem; padding: 4px 12px; border-radius: 12px; margin-bottom: 20px; }
.package-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.feature { display: flex; flex-direction: column; align-items: center; font-size: 13px; background: #f9f9f9; padding: 10px; border-radius: 20px; justify-content: center; height: 125px; }
.feature img { width: 28px; height: 28px; margin-bottom: 8px; transition: transform 0.3s ease; }
.feature p { margin-bottom: 0; }
.package-price { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }

/* DESKTOP GRID */
.packages-grid > [class*="col-"] { display: flex; }
.packages-grid > [class*="col-"] > .package-card { flex-grow: 1; }

/* SLIDER (mobile) */
.packages-slider { display: none; margin-top: 18px; position: relative; overflow: visible; }
.packages-viewport { overflow: hidden; padding: 0; }
.packages-wrapper {
    display: flex;
    gap: 16px;
    align-items: stretch;
    transition: transform 420ms cubic-bezier(.2,.9,.2,1);
    will-change: transform;
    padding-left: 0;
    padding-right: 0;
}
.packages-wrapper .package-card {
    flex: 0 0 70%;
    min-width: 80%;
    box-sizing: border-box;
    min-height: 0;
    align-self: stretch;
    height: auto;
}
.slider-dots { text-align: center; margin-top: 12px; }
.slider-dots span { display: inline-block; width: 10px; height: 10px; background: #ccc; border-radius: 50%; margin: 0 6px; cursor: pointer; }
.slider-dots span.active { background: #EA5D62; }

.discount-banner { background: white; transition: all 0.3s ease-in-out; border-radius: 20px; margin-top: 30px; }
.discount-banner .hl{ position: relative; font-weight: 800; color: #EA5D62; z-index: 1; margin: 0 10px; }
.discount-banner .hl::before { content: ""; position: absolute; inset: 0; background: rgba(234, 93, 98, 0.18); border-radius: 9px; transform: rotate(-2deg); z-index: -1; padding: 6px; top: -4px; bottom: -4px; left: -9px; right: -9px; }

/* ========== ТУМБЛЕР ========== */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    background-color: #ccc;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.toggle-switch input:checked + .toggle-slider { transform: translateX(22px); }

/* Упрощённые состояния: цвет переключателя при checked */
.toggle-switch input:checked ~ .toggle-switch,
.toggle-switch input:checked + .toggle-slider,
.toggle-switch:has(input:checked) { background-color: #EA5D62; }
.toggle-switch input:checked + .toggle-slider::before { background-color: #EA5D62; }

/* Подсказка */
.toggle-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Caveat', cursive;
    color: #9e9e9e;
    animation: hint-wiggle 1.8s infinite ease-in-out;
    margin-right: 10px;
}
@keyframes hint-wiggle { 0%,100%{transform:translateY(0);}50%{transform:translateY(-2px);} }

/* кастом модал, формы и кнопки повторно используются дальше */

/* 🔴 ---------- СТИЛИ ДЛЯ ПРАЙСА  ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ЭТАПЫ РАБОТЫ ---------- */
.workflow-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.workflow-title {
    font-family: "Dela Gothic One", sans-serif;
    font-size: 42px;
    color: #EA5D62;
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: 0.5px;
}
.workflow-line { position: absolute; top: 240px; left: 0; width: 100%; height: 200px; pointer-events: none; z-index: 0; }
.workflow-path { width: 100%; height: 100%; opacity: 0.4; }
.workflow-cards { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

/* Карточки */
.workflow-card {
    flex: 1 1 240px;
    max-width: 270px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}
.workflow-card.visible {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg));
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Цифра */
.number {
    font-family: "Dela Gothic One", sans-serif;
    font-size: 60px;
    color: #EA5D62;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
    width: 80px;
    overflow: hidden;
}
.number::before {
    content: attr(data-num);
    position: relative;
    display: inline-block;
    transform: translateX(-28px);
    letter-spacing: -2px;
}
.workflow-card h3 { font-weight: 700; font-size: 20px; margin-bottom: 10px; color: #222; }
.workflow-card p { color: #555; line-height: 1.5; font-size: 15px; }
.workflow-card:hover { transform: translateY(-12px) scale(1.03) rotate(0deg); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); }

/* Повороты */
.step1 { --tilt: -2deg; }
.step2 { --tilt: 1.5deg; }
.step3 { --tilt: -1deg; }
.step4 { --tilt: 2deg; }

/* 🔴 ---------- СТИЛИ ДЛЯ ЭТАПЫ РАБОТЫ ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ FAQ  ---------- */
.faq-section.visible { opacity: 1; transform: translateY(0); }
.faq-container { display: flex; gap: 60px; max-width: 1200px; margin: 0 auto; align-items: flex-start; }
.faq-left { flex: 1; }
.faq-right { flex: 1.2; display: flex; flex-direction: column; gap: 15px; }
.faq-title { font-size: 42px; font-weight: 800; margin-bottom: 40px; color: #111; }
.faq-contact { background: linear-gradient(135deg, rgba(234, 93, 98, 0.08), rgba(234, 93, 98, 0.02)); border-radius: 16px; padding: 30px; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.faq-contact h3 { font-size: 22px; margin-bottom: 10px; color: #111; }
.faq-contact p { font-size: 16px; color: #555; margin-bottom: 20px; }
.faq-btn { display: inline-block; padding: 12px 28px; background: #ea5d62; color: #fff; font-weight: 600; border-radius: 30px; text-decoration: none; transition: background 0.3s ease; }
.faq-btn:hover { background: #d24f53; }
.faq-item { border-radius: 12px; background: #f8f9fc; overflow: hidden; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #111;
    transition: background 0.3s ease;
}
.faq-question:hover { background: rgba(234,93,98,0.05); }
.faq-question::after {
    content: "+";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    border: 2px solid #ea5d62;
    color: #ea5d62;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); background: #ea5d62; color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; font-size: 16px; color: #444; line-height: 1.6; padding: 0 20px; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 20px 18px; max-height: 400px; margin-top: 10px; margin-bottom: 15px; }

/* 🔴 ---------- Стили для FAQ  ---------- */


/* 🟢 ---------- Стили для Обратной связи  ---------- */
.contact-section { padding: 80px 20px; display: flex; justify-content: center; }
.contact-container {
    display: flex;
    max-width: 1200px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.contact-container.visible { opacity: 1; transform: translateY(0); }
.contact-info { flex: 1; padding: 60px 40px; }
.subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #ababab;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}
.title { font-size: 30px; line-height: 1.3; margin-bottom: 20px; }
.title span { color: #ea5d62; }
.desc { font-family: "Montserrat", sans-serif; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }
.contact-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; padding-left: 0!important; }
.contact-socials li { list-style: none; margin: 0; font-family: "Montserrat", sans-serif; display: flex; align-items: center; }
.contact-socials > li > i{ text-decoration: none; color: #a7a9b8; -webkit-transition: all 0.3s; transition: all 0.3s; font-size: 23px; }
.contact-socials > li > a{ text-decoration: none; color: #646464; margin-left: 10px; font-weight: 500; }

.feedback-form {
    flex: 1;
    background: #f8f9fc;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 20px;
}
.feedback-form input, .feedback-form select, .feedback-form textarea {
    font-family: "Montserrat", sans-serif;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #d0d4da;
    font-size: 15px;
    outline: none;
    transition: border 0.2s ease;
    color: #646464;
}
.feedback-form input:focus, .feedback-form select:focus, .feedback-form textarea:focus {
    border-color: #f7bbbe !important;
    box-shadow: 0 0 0 .25rem rgb(247 187 190 / 30%) !important;
}
.submit-btn {
    font-family: "Montserrat", sans-serif;
    background: #ea5d62;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.btn-loader {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}
.submit-btn.loading span { opacity: 0; }
.submit-btn.loading .btn-loader { opacity: 1; }
/* 🔴 ---------- Стили для Обратной связи  ---------- */


/* 🟢 ---------- СТИЛИ ДЛЯ ПОДВАЛА  ---------- */
.site-footer {
    background: #111;
    color: #ddd;
    font-size: 15px;
    line-height: 1.6;
}
footer .grecaptcha-badge { display: inline-block; margin-left: 8px; opacity: 0.9; }
.footer-brand { font-weight: 700; font-size: 26px; color: #fff; }
.footer-brand span { color: #EA5D62; }
.footer-title { text-transform: uppercase; font-size: 14px; letter-spacing: 1px; color: #aaa; margin-bottom: 10px; }
.footer-links a, .footer-contacts a { color: #ddd; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover, .footer-contacts a:hover { color: #EA5D62; }
.footer-links li, .footer-contacts li { margin-bottom: 6px; }
.footer-social { display: flex; gap: 12px; }
.footer-social .social-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none!important;
}
.footer-social .social-link:hover { background: #EA5D62; color: #fff; transform: translateY(-2px); }
.btn-footer { background: #EA5D62; color: #fff; padding: 10px 20px; border-radius: 30px; text-decoration: none; transition: background 0.3s; }
.btn-footer:hover { background: #c64b50; }
.footer-divider { border-color: rgba(255, 255, 255, 0.1); }
/* 🔴 ---------- Стили для Подвала  ---------- */


/* =========================
   Единый блок media-запросов
   (перенесены все правила из исходного файла,
    дубли удалены, порядок секций сохранён)
   ========================= */

/* 📱 Телефоны (узкие) — max-width: 480px */
@media (max-width: 480px) {
    /* --- ШАПКА / Навбар --- */
    /* (специальных правил в исходнике не было; место для мелких правок) */

    /* --- ПЕРВЫЙ ЭКРАН (hero) --- */
    .hero-title{font-size: 22px;}

    /* --- PHOTOS --- */
    /* нет отдельных правил в исходнике */

    /* --- ПОРТФОЛИО / карточки --- */
    .discount-banner h4{font-size: 18px!important;}

    /* --- МОДАЛКИ / ФОРМЫ --- */
    .custom-modal-content{font-size: 13px;}
    .custom-modal-content .feedback-form {gap: 0px;padding: 15px 20px !important;}
    .custom-modal input, .custom-modal select, .custom-modal textarea{height: 35px !important;}
    .feedback-form input, .feedback-form select, .feedback-form textarea{padding: 0px 15px;}
    .custom-modal-content textarea{min-height: 70px !important;}
    .feedback-form{gap: 11px;}

}

/* 📱 Телефоны (обычные) — max-width: 576px */
@media (max-width: 576px) {
    /* ===== ШАПКА / Навбар (мобильные) ===== */
    .collapse.navbar-collapse {
        /* плавное появление — для mobile collapse (будет дополнен в 992) */
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity 0.5s, transform 0.5s;
    }

    /* ===== ПОРТФОЛО / Табсы и карточки (мелкие телефоны) ===== */
    .portfolio-tabs .tab { font-size: 15px; }
    .desc-card h3 { font-size: .97rem; }
    .discount-banner h4{font-size: 17px!important;}

    /* ===== Уменьшенные карточки/тексты ===== */
    .white-card h5{font-size: 18px!important;}
    .white-card p{font-size: 15px;line-height: 1.3;}
}

/* 📱 Телефоны большие (Plus / Pro Max / Pixel XL) — max-width: 768px */
@media (max-width: 768px) {
    /* ---------------- ШАПКА / Навбар ---------------- */
    .site-header{padding-top: 0}
    .navbar{padding-bottom: 10px !important;}
    .collapse.navbar-collapse {
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity 0.5s, transform 0.5s;
    }
    .collapse.navbar-collapse.show {
        opacity: 1;
        transform: none;
    }
    .navbar-nav { text-align: left; }
    .navbar-collapse {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 8px 24px #00000010;
        position: absolute;
        width: calc(100vw - 32px);
        left: 16px;
        top: 72px;
        z-index: 10;
        padding: 24px 16px;
    }

    /* ---------------- ПЕРВЫЙ ЭКРАН (hero) ---------------- */
    section{padding: 0 12px!important;}

    .hero {
        max-height: 100vh;
        height: auto;
        padding: 22px;
        margin-top: 50px!important;
    }
    .hero-title{font-size: 23px!important;}
    .hero-left{padding-top: 30px;}
    .hero-sub{margin-bottom: 0!important;}
    .hero-button{flex-flow: column; gap: 15px;}
    .hero-button .btn-primary{border: 2px solid var(--color-primary) !important;}
    .hero-button .btn-primary:hover{border: 2px solid #d94e54 !important;}

    /* ---------------- PHOTOS ---------------- */
    .photos {
        position: static;
        margin-top: 18px;
        gap: 12px;
        height: auto;
        justify-content: center;
        pointer-events: auto;
    }
    .photo-column {
        width: calc(50% - 8px);
        transform: none;
    }
    .photo-inner img { height: 160px; }

    /* ---------------- ПОРТФОЛИО ---------------- */
    .portfolio-tabs { gap: 8px; }
    .desc-card { padding: 16px; }
    .service-card, .desc-card { min-height: 148px; }
    .white-card > .row > .col-12{padding: 0!important;}

    /* ---------------- ПРАЙС (packages) — mobile slider ---------------- */
    .packages-slider { display: block; margin-top: 18px; position: relative; overflow: visible; }
    .packages-viewport { overflow: hidden; padding: 0; }
    .packages-wrapper { display: flex; gap: 16px; align-items: stretch; transition: transform 420ms cubic-bezier(.2,.9,.2,1); will-change: transform; padding-left: 0; padding-right: 0; }
    .packages-wrapper .package-card { flex: 0 0 70%; min-width: 80%; box-sizing: border-box; min-height: 0; align-self: stretch; height: auto; }
    .desktop-grid { display: none !important; } /* скрываем desktop grid */
    .package-card:hover{box-shadow: none!important;}
    .discount-banner{flex-flow: column;align-items: flex-start !important;gap: 10px;}
    .discount-banner h4{font-size: 18px;}
    .feature{height: 100px;font-size: 11px;}
    .feature img{width: 20px;height: 20px;}
    .package-features{gap: 10px;margin-bottom: 15px;}
    .package-time{margin-bottom: 5px;font-size: 18px;}
    .package-tag{font-size: 12px;}
    .package-title{font-size: 20px;}
    .package-price{font-size: 25px;margin-bottom: 10px;}

    /* ---------------- WORKFLOW ---------------- */
    .workflow-section{padding: 80px 12px!important;}
    .workflow-title{margin-bottom: 30px;}
    .workflow-cards{justify-content: center!important;}

    /* ---------------- FAQ ---------------- */
    .faq-contact h3{font-size: 20px;}
    .faq-contact p{font-size: 14px;}

    /* ---------------- CONTACT / ФОРМА ---------------- */
    .contact-section{margin-top: 50px;}
    .contact-socials{display: flex!important;flex-flow: column!important;}
    .contact-container{flex-flow: column;}
    .contact-info{padding-bottom: 10px}
    .feedback-form{padding: 40px 30px;}
    .feedback-form{gap: 11px;}
    .custom-modal-content textarea{min-height: 70px !important;}

    /* ---------------- Уведомления / success-note ---------------- */
    .success-note {
        left: 12px;
        right: 12px;
        top: 16px;
        border-radius: 10px;
        justify-content: center;
        z-index: 2000;
    }

    /* --- Мелкие правки для компактности --- */
    .section-title{font-size: 22px!important;}
    .shooting-packages{border-radius: 30px;padding: 40px 12px !important;}

    /* --- Модалка --- */
    .custom-modal-content {height: 670px!important;padding: 1rem;}
    .contact-methods{display: flex;flex-flow: wrap;}
    #bookingForm label{display: flex;flex-flow: row;align-items: center;font-size: 13px}
    .feedback-form input, .feedback-form select, .feedback-form textarea{margin-right: 5px;}
}

/* 📱/💻 Малые планшеты, маленькие ноутбуки — max-width: 960px */
@media (max-width: 960px) {
    /* ---------------- FAQ (адаптация) ---------------- */
    .faq-container {
        flex-direction: column;
    }
    .faq-title {
        font-size: 34px;
    }

    /* (другие крупные блоки остаются в 768/992) */
}

/* 💻 Планшеты / ноутбуки — max-width: 992px */
@media (max-width: 992px) {
    /* ===== Навигация / мобильное поведение до lg =====
       Соответствует исходному @media (max-width: 991.98px) */
    .collapse.navbar-collapse {
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity 0.5s, transform 0.5s;
    }
    .collapse.navbar-collapse.show {
        opacity: 1;
        transform: none;
    }
    .navbar-nav { text-align: left; }
    .navbar-collapse {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 8px 24px #00000010;
        position: absolute;
        width: calc(100vw - 32px);
        left: 16px;
        top: 72px;
        z-index: 10;
        padding: 24px 16px;
    }

    /* ===== На lg+ меню развернуто без .show — (будет включено в min-width:992) ===== */
}

/* для экранов >= 992px — поведение navbar-expand-lg */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        opacity: 1;
        transform: none;
    }
}

/* 💻 Ноутбуки 13–14" — max-width: 1200px */
@media (max-width: 1200px) {
    /* Перенесённое из @media (max-width: 1040px) */
    .desc-card { font-size: 0.97em; }
    /* можно расширить сюда мелкие правки для средних экранов */
}

/* 🖥 Десктопы 15–20" — max-width: 1440px */
@media (max-width: 1440px) {
    .photo-column{width: 120px!important;}
    .hero-title{font-size:35px}

    .custom-modal-content{height: 700px;}
    .custom-modal-content textarea{min-height: 60px !important;}
    .custom-modal-content .feedback-form{gap: 8px;padding: 15px 30px !important;}
    #bookingForm label{font-size: 14px}
    .feedback-form input, .feedback-form select, .feedback-form textarea{font-size: 13px}
}

/* 🖥 Ультра-широкие дисплеи (если нужно) — min-width: 1600px */
@media (min-width: 1600px) {
    /* Свободное пространство для ультра-широких экранов (нет явных правил в исходном файле) */
}

/* --------- ПРАВИЛО ДЛЯ ДЕСKTOP/ТАБЛЕТОВ (min-width: 769px) -----------
   (исходно было .navbar-expand-lg / скрыть мобильный слайдер на больших экранах) */
@media (min-width: 769px) {
    .mobile-slider { display: none; }
    .desktop-grid { display: block; }
}
