/* =================================
   ВДОХНОВЕНИЕ — HEADER
================================= */

body {
    padding-left: 0 !important;
    background: #ffffff !important;
}

.navbar-left-sidebar {
    display: none !important;
}

.inspiration-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-sizing: border-box;
}

.inspiration-header * {
    box-sizing: border-box;
}

.inspiration-header-inner {
    width: 100%;
    min-height: 105px;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.inspiration-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.inspiration-logo img {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 75px;
    object-fit: contain;
}

.inspiration-navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.inspiration-menu-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.inspiration-menu-list li {
    list-style: none;
    margin: 0;
}

.inspiration-menu-list a {
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .3s ease;
}

.inspiration-menu-list a:hover {
    color: #d58d86;
}

.inspiration-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    background: #f59b90;
    color: #ffffff !important;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .3s ease;
    white-space: nowrap;
}

.inspiration-contact:hover {
    background: #d7837a;
}

/* HIDE OLD ELEMENTS */

#sidenav-header,
.footer-holder {
    display: none !important;
}

/* MOBILE */

.inspiration-menu-toggle {
    display: none;
}

@media (max-width: 991px) {

    .inspiration-header-inner {
        min-height: 80px;
        padding: 12px 22px;
    }

    .inspiration-logo img {
        max-width: 185px;
        max-height: 60px;
    }

    .inspiration-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .inspiration-menu-toggle span {
        display: block;
        width: 25px;
        height: 1px;
        background: #333333;
    }

    .inspiration-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 25px;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .inspiration-header.menu-open .inspiration-navigation {
        display: flex;
    }

    .inspiration-menu-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
}

/* =================================
   FULL WIDTH HERO
================================= */

#header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#header .header-bg {
    width: 100% !important;
    background-position: center center;
    background-size: cover;
}

#header .header-typography {
    width: 100%;
    min-height: 650px;
}

@media (max-width: 768px) {
    #header .header-typography {
        min-height: 450px;
    }
}


/* УБИРАЕМ ЛИШНИЕ ОТСТУПЫ И ПОЛОСЫ */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

#header {
    margin-top: 0 !important;
    border: none !important;
}

#header .header-bg {
    background-position: center center;
    background-size: cover;
}

/* Убираем декоративные разделители */
.separator-line-horrizontal-full {
    display: none !important;
}

/* =====================================
   ВДОХНОВЕНИЕ — WEDDING PHOTO ALBUM
===================================== */

.inspiration-hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    height: calc(100vh - 105px);
    max-height: 950px;
    padding: 35px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.inspiration-hero-photo {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f5f1ee;
}

.inspiration-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    animation: album-photo-appear 1.4s ease both;
}

.inspiration-hero-overlay {
    position: absolute;
    inset: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8%;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.43),
        rgba(0,0,0,.08) 65%,
        transparent
    );
}

.inspiration-hero-content {
    max-width: 560px;
    color: #fff;
    animation: album-text-appear 1.2s .3s ease both;
}

.inspiration-hero-label {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.inspiration-hero-content h1 {
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 25px;
}

.inspiration-hero-content p {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    max-width: 430px;
    margin-bottom: 35px;
}

.inspiration-hero-button {
    display: inline-block;
    padding: 16px 28px;
    border: 1px solid #fff;
    color: #fff !important;
    font-size: 10px;
    letter-spacing: 2px;
    text-decoration: none !important;
    transition: .3s ease;
}

.inspiration-hero-button:hover {
    background: #fff;
    color: #333 !important;
}

.inspiration-hero-number {
    position: absolute;
    right: 55px;
    bottom: 52px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 3px;
}

@keyframes album-photo-appear {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes album-text-appear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .inspiration-hero {
        height: 75vh;
        min-height: 520px;
        padding: 12px;
    }

    .inspiration-hero-overlay {
        inset: 12px;
        padding: 25px;
        background: linear-gradient(
            0deg,
            rgba(0,0,0,.55),
            transparent 100%
        );
        align-items: flex-end;
    }

    .inspiration-hero-content h1 {
        font-size: 36px;
    }

    .inspiration-hero-content p {
        font-size: 13px;
    }

    .inspiration-hero-number {
        display: none;
    }
}

/* FINAL LAYOUT FIX */

body {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sidebar-wrapper.inspiration-main-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: 0 !important;
    box-sizing: border-box !important;
}

.inspiration-header,
.inspiration-hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
}

.navbar-left-sidebar {
    display: none !important;
}
/* УБИРАЕМ РЕЗЕРВ СТАРОЙ БОКОВОЙ ПАНЕЛИ */

.sidebar-wrapper {
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Основной контент на всю ширину */

.sidebar-wrapper > * {
    max-width: 100%;
}

/* Убираем старую боковую панель */

.navbar-left-sidebar,
#sidenav-header {
    display: none !important;
}
/* УБИРАЕМ ПОДПИСЬ */
.inspiration-hero-number {
    display: none !important;
}

/* ДЕЛАЕМ КНОПКУ НЕПРОЗРАЧНОЙ */
.inspiration-hero-button {
    background: #e9958c !important;
    border: 1px solid #e9958c !important;
    color: #ffffff !important;
    padding: 17px 32px !important;
    transition: all .3s ease !important;
}

.inspiration-hero-button:hover {
    background: #d7837a !important;
    border-color: #d7837a !important;
    color: #ffffff !important;
}

/* =========================================
   ВДОХНОВЕНИЕ — ALBUM INTRO / NEW STORY
   Совместимо с home.header.html из переписки
========================================= */


/* =========================================
   ВДОХНОВЕНИЕ — WEDDING ALBUM
   CLEAN VERSION
========================================= */

/* Заставка */
.album-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 22px 2vw;
    box-sizing: border-box;
    background: radial-gradient(
        ellipse at center,
        #fffdfa 0%,
        #f7f2eb 75%,
        #ede5dc 100%
    );
    opacity: 1;
    visibility: visible;
    animation: none;
}

/* Заголовки */
.album-intro-title {
    margin: 0 0 8px;
    font: 400 clamp(26px, 3vw, 42px)/1.2 Georgia, serif;
    letter-spacing: .18em;
    color: #44352e;
    text-align: center;
}

.album-intro-subtitle {
    margin: 0 0 clamp(24px, 4vh, 45px);
    color: #9d8578;
    font-size: 10px;
    letter-spacing: .35em;
    text-align: center;
}

.album-intro-bottom {
    margin: clamp(22px, 4vh, 42px) 0 0;
    font-size: 9px;
    letter-spacing: .3em;
    color: #9d8578;
    text-align: center;
}

/* Сцена */
.album-book-scene {
    position: relative;
    width: min(92vw, 1500px);
    height: min(60vh, 730px);
    min-height: 290px;
    perspective: 2300px;
    perspective-origin: 50% 50%;
}

.album-book {
    position: relative;
    width: 100%;
    height: 100%;
    transform-origin: 75% 50%;
    transform-style: preserve-3d;
    filter: drop-shadow(0 22px 28px rgba(65,45,32,.2));
}

/* Страницы */
.album-page {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: #fffaf3;
}

.album-page-left {
    left: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    border-right: 1px solid #e0d4c8;
    animation: album-left-appear .6s .85s ease forwards;
}

.album-page-right {
    left: 50%;
    z-index: 2;
    background: #fffdfa;
}

.album-photo {
    position: absolute;
    inset: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Пустая правая страница */
.album-blank-paper {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        #eee5d9 0%,
        #fcf9f4 8%,
        #fffdfa 50%,
        #f9f3eb 100%
    );
}

/* Перелистываемая страница */
.album-turn-page {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    z-index: 4;
    transform-origin: left center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.album-turn-front,
.album-turn-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #fffaf3;
    backface-visibility: hidden;
}

.album-turn-front {
    transform: rotateY(0deg);
}

.album-turn-back {
    transform: rotateY(180deg);
}

/* Обложка — только правая половина */
.album-cover {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: linear-gradient(
        115deg,
        #d8c7b9,
        #efe5db 22%,
        #e5d6c8 85%,
        #d4c0b0
    );
    border: 1px solid #d1bdae;
    transform-origin: left center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.album-cover::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 12px;
    background: #cbb7a8;
    box-shadow: 3px 0 9px rgba(60,40,30,.12);
}

.album-cover::after {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(120,92,72,.2);
    pointer-events: none;
}

.album-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 15px;
    font: 400 clamp(23px,3.4vw,48px) Georgia,serif;
    color: #725e51;
    text-align: center;
}

.album-cover-content small {
    font: 400 9px Arial,sans-serif;
    letter-spacing: .35em;
}

/* =========================================
   АНИМАЦИЯ
========================================= */

/* 1. Быстрое открытие обложки */
.album-cover {
    animation: album-cover-open .65s .2s
        cubic-bezier(.5,0,.2,1) forwards;
}

/* 2. Появление левой фотографии */
@keyframes album-left-appear {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

/* 3. Перелистывание правой страницы */
.album-turn-page {
    animation: album-page-turn 1.3s 2.5s
        cubic-bezier(.65,0,.25,1) forwards;
}

/* 4. Приближение */
.album-book {
    animation: album-zoom 1.5s 4.05s
        cubic-bezier(.66,0,.2,1) forwards;
}

/* Надписи исчезают перед приближением */
.album-intro-title,
.album-intro-subtitle,
.album-intro-bottom {
    animation: album-label-hide .4s 4.1s ease forwards;
}

@keyframes album-cover-open {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(-178deg);
    }
}

@keyframes album-page-turn {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(-180deg);
    }
}

@keyframes album-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(4.5);
    }
}

@keyframes album-label-hide {
    to {
        opacity: 0;
    }
}

/* Быстрое исчезновение светлой заставки */
@keyframes album-intro-hide {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.album-intro.album-ready {
    animation: album-intro-hide .25s 5.65s ease forwards;
}

/* Главный баннер */
.inspiration-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 680px;
    height: calc(100vh - 105px);
    max-height: 950px;
}

.inspiration-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.inspiration-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.inspiration-hero-overlay {
    position: absolute;
    inset: 35px;
    z-index: 2;
}

.inspiration-hero-content {
    position: relative;
    z-index: 3;
}

/* Мобильная версия */
@media (max-width: 900px) {
    .album-book-scene {
        width: 94vw;
        height: 55vh;
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .album-intro {
        padding: 20px 10px;
    }

    .album-intro-title {
        font-size: 23px;
        letter-spacing: .13em;
    }

    .album-intro-subtitle {
        font-size: 8px;
        letter-spacing: .22em;
    }

    .album-book-scene {
        width: 96vw;
        height: 57vw;
        min-height: 190px;
    }

    .album-photo {
        inset: 7px;
    }

    .album-cover-content {
        font-size: 20px;
    }

    .album-cover-content small {
        font-size: 7px;
        letter-spacing: .2em;
    }

    .album-intro-bottom {
        font-size: 7px;
        letter-spacing: .16em;
    }

    .inspiration-hero-overlay {
        inset: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .album-intro {
        display: none !important;
    }
}

/* =========================================
   FINAL TIMING — COVER / PAGE / TRANSITION
========================================= */

/* Обложка открывается быстрее */
.album-cover {
    animation: album-cover-open .45s .2s
        cubic-bezier(.5,0,.2,1) forwards !important;
}

/* Левая страница появляется сразу после открытия */
.album-page-left {
    animation: album-left-appear .5s .65s ease forwards !important;
}

/* Перелистывание оставляем плавным */
.album-turn-page {
    animation: album-page-turn 1.3s 2.5s
        cubic-bezier(.65,0,.25,1) forwards !important;
}

/* Приближение начинается после перелистывания */
.album-book {
    animation: album-zoom 1.3s 3.95s
        cubic-bezier(.66,0,.2,1) forwards !important;
}

/* Надписи исчезают во время приближения */
.album-intro-title,
.album-intro-subtitle,
.album-intro-bottom {
    animation: album-label-hide .3s 4.1s ease forwards !important;
}

/* Убираем белую пелену практически сразу после приближения */
.album-intro.album-ready {
    animation: album-intro-hide .2s 5.25s ease forwards !important;
}

/* =========================================
   ALBUM — SYNCHRONIZED ANIMATION
========================================= */

/* До загрузки фотографий анимации не запускаются */
.album-cover,
.album-page-left,
.album-turn-page,
.album-book,
.album-intro-title,
.album-intro-subtitle,
.album-intro-bottom {
    animation: none !important;
}

/* Обложка */
.album-intro.album-ready .album-cover {
    animation: album-cover-open .45s .2s
        cubic-bezier(.5,0,.2,1) forwards !important;
}

/* Левая фотография */
.album-intro.album-ready .album-page-left {
    animation: album-left-appear .5s .65s ease forwards !important;
}

/* Перелистывание */
.album-intro.album-ready .album-turn-page {
    animation: album-page-turn 1.3s 2.5s
        cubic-bezier(.65,0,.25,1) forwards !important;
}

/* Приближение */
.album-intro.album-ready .album-book {
    animation: album-zoom 1.3s 3.95s
        cubic-bezier(.66,0,.2,1) forwards !important;
}

/* Исчезновение надписей */
.album-intro.album-ready .album-intro-title,
.album-intro.album-ready .album-intro-subtitle,
.album-intro.album-ready .album-intro-bottom {
    animation: album-label-hide .3s 4.2s ease forwards !important;
}

/* Белый слой исчезает в конце приближения */
.album-intro.album-ready:not(.album-finished) {
    animation: album-intro-hide .2s 5.15s ease forwards !important;
}

/* После завершения полностью убираем заставку */
.album-intro.album-finished {
    display: none !important;
}

/* Ключевые кадры */
@keyframes album-cover-open {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-178deg); }
}

@keyframes album-left-appear {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes album-page-turn {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-180deg); }
}

@keyframes album-zoom {
    from { transform: scale(1); }
    to { transform: scale(4.5); }
}

@keyframes album-label-hide {
    to { opacity: 0; }
}

@keyframes album-intro-hide {
    from { opacity: 1; }
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* =========================================
   SMOOTH TRANSITION — ALBUM TO WEBSITE
========================================= */

/* Главная страница сначала прозрачная */
.inspiration-hero {
    opacity: 0;
    transition: opacity .8s ease;
}

/* После завершения альбома проявляем баннер */
.album-intro.album-finished ~ .inspiration-hero {
    opacity: 1;
}

/* Сам альбом плавно растворяется */
.album-intro.album-ready:not(.album-finished) {
    animation: album-intro-hide .8s ease 5.15s forwards !important;
}

/* Не удаляем заставку до завершения перехода */
.album-intro.album-finished {
    display: none !important;
}

/* =========================================
   WEDDING EDITORIAL BENTO
========================================= */

.inspiration-whywe {
    position: relative;
    padding: 110px 0 90px;
    background: #F8F3EB;
    overflow: hidden;
    color: #49382F;
}

.inspiration-whywe .container {
    max-width: 1320px;
}

/* Заголовок */
.whywe-heading {
    max-width: 700px;
    margin-bottom: 48px;
}

.whywe-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #A18A7B;
    font-size: 10px;
    letter-spacing: .3em;
}

.whywe-heading h2 {
    margin: 0 0 18px;
    color: #49382F;
    font-family: Georgia, serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.13;
}

.whywe-heading p {
    max-width: 490px;
    margin: 0;
    color: #857367;
    font-size: 15px;
    line-height: 1.8;
}

/* Bento-сетка */
.whywe-bento {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, minmax(235px, auto));
    gap: 20px;
}

/* Карточки */
.whywe-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    box-sizing: border-box;
    transition: transform .4s ease, box-shadow .4s ease;
}

.whywe-card:first-child {
    grid-row: span 2;
}

.whywe-card-blue {
    background: #B7C8D8;
    color: #354B5C;
}

.whywe-card-peach {
    background: #FECDBE;
    color: #70473F;
}

.whywe-card-olive {
    background: #C7C294;
    color: #4D513B;
}

/* Внутренняя рамка — эффект страницы альбома */
.whywe-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 235px;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.whywe-card-inner::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid currentColor;
    opacity: .18;
    pointer-events: none;
}

/* Верх карточки */
.whywe-card-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.whywe-number {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    opacity: .8;
}

.whywe-card-mark {
    font-size: 25px;
    opacity: .6;
}

/* Текст */
.whywe-card-content {
    position: relative;
    max-width: 580px;
    margin: 35px 0 25px;
}

.whywe-card-content h3 {
    margin: 0 0 16px;
    color: inherit;
    font-family: Georgia, serif;
    font-size: clamp(23px, 2.4vw, 34px);
    font-weight: 400;
    line-height: 1.2;
}

.whywe-card-content p {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.8;
    opacity: .88;
}

.whywe-card-caption {
    position: relative;
    display: block;
    padding-top: 15px;
    border-top: 1px solid currentColor;
    font-size: 9px;
    letter-spacing: .22em;
    opacity: .7;
}

/* Наведение */
@media (hover: hover) {
    .whywe-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(75, 57, 43, .12);
    }
}

/* Нижняя подпись */
.whywe-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid #E3D9CE;
    color: #A18A7B;
    font-size: 9px;
    letter-spacing: .2em;
}

/* Планшеты */
@media (max-width: 991px) {
    .inspiration-whywe {
        padding: 80px 0 65px;
    }

    .whywe-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .whywe-card:first-child {
        grid-row: auto;
    }

    .whywe-card-inner {
        min-height: 290px;
    }
}

/* Телефоны */
@media (max-width: 575px) {
    .inspiration-whywe {
        padding: 65px 0 50px;
    }

    .whywe-heading {
        margin-bottom: 30px;
    }

    .whywe-heading h2 {
        font-size: 34px;
    }

    .whywe-bento {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .whywe-card-inner {
        min-height: 230px;
        padding: 25px;
    }

    .whywe-card-content {
        margin: 30px 0 22px;
    }

    .whywe-card-content h3 {
        font-size: 27px;
    }

    .whywe-card-content p {
        font-size: 14px;
    }

    .whywe-footer {
        flex-direction: column;
        gap: 8px;
        line-height: 1.6;
    }
}

/* WHYWE — CARD READABILITY AND PHOTO */

.whywe-card-inner {
    font-family: inherit;
}

.whywe-card-content h3 {
    font-family: inherit !important;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.whywe-card-content p {
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    opacity: 1;
}

.whywe-card-blue {
    background: #B7C8D8;
    color: #263E50;
}

.whywe-card-blue .whywe-card-inner {
    min-height: 0;
}

.whywe-card-blue .whywe-card-content {
    margin: 20px 0;
}

.whywe-card-image {
    position: relative;
    margin-top: 20px;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 3px;
}

.whywe-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

@media (hover: hover) {
    .whywe-card-blue:hover .whywe-card-image img {
        transform: scale(1.04);
    }
}

@media (max-width: 575px) {
    .whywe-card-image {
        height: 210px;
    }
}

/* =========================================
   WHYWE — CONTRAST & RUSSIAN TYPOGRAPHY
========================================= */

/* Общая типографика блока */
.inspiration-whywe {
    color: #382B25;
    font-family: inherit;
}

/* Заголовок секции — современный шрифт без засечек */
.whywe-heading h2 {
    font-family: inherit !important;
    font-weight: 600;
    color: #382B25;
}

/* Подзаголовок */
.whywe-eyebrow {
    color: #795C4D;
    background: transparent;
    font-weight: 700;
}

/* Голубая карточка */
.whywe-card-blue {
    background: #B7C8D8;
    color: #243D50;
}

/* Персиковая карточка */
.whywe-card-peach {
    background: #FECDBE;
    color: #663D35;
}

/* Оливковая карточка */
.whywe-card-olive {
    background: #C7C294;
    color: #41442F;
}

/* Заголовки карточек */
.whywe-card-content h3 {
    color: inherit !important;
    font-family: inherit !important;
    font-weight: 600;
}

/* Основной текст */
.whywe-card-content p {
    color: inherit !important;
    font-weight: 500;
    opacity: 1 !important;
}

/* Номера и декоративные элементы */
.whywe-number,
.whywe-card-mark {
    color: inherit;
    opacity: .85;
}

/* Нижние подписи */
.whywe-card-caption {
    color: inherit;
    opacity: .85;
    font-weight: 600;
}

/* Подпись под карточками */
.whywe-footer {
    color: #70584B;
}

/* =========================================
   SERVICES — SCATTERED PAPER CARDS
========================================= */

.inspiration-services {
    position: relative;
    padding: 110px 0 130px;
    background: #E9DED2;
    overflow: hidden;
    color: #49382F;
}

.inspiration-services .container {
    max-width: 1320px;
}

/* Заголовок */
.services-heading {
    position: relative;
    z-index: 10;
    margin-bottom: 65px;
}

.services-heading > span {
    display: block;
    margin-bottom: 15px;
    color: #8B6658;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25em;
}

.services-heading h2 {
    margin: 0;
    color: #49382F;
    font-family: inherit;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
}

/* Пространство для карточек */
.services-scatter {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0;
    padding: 20px 0 60px;
}

/* Общий вид карточки */
.service-paper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 285px;
    padding: 32px 30px 38px;
    background: #FFFEFC;
    color: #49382F !important;
    text-decoration: none !important;
    border: 1px solid rgba(120, 91, 73, .12);
    border-radius: 3px;
    box-shadow:
        2px 5px 12px rgba(67, 49, 37, .10),
        8px 15px 28px rgba(67, 49, 37, .08);
    box-sizing: border-box;
    transition:
        transform .35s ease,
        box-shadow .35s ease;
    z-index: 1;
}

/* Номера */
.service-paper-number {
    position: absolute;
    top: 17px;
    right: 20px;
    color: #A18A7B;
    font-family: Georgia, serif;
    font-size: 18px;
}

/* Иконки */
.service-paper-icon {
    display: block;
    width: 54px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 23px;
}

/* Заголовки */
.service-paper h3 {
    margin: 0 0 13px;
    color: #713F40;
    font-family: inherit !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

/* Описание */
.service-paper p {
    margin: 0;
    color: #51443E !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

/* Стрелка */
.service-paper-arrow {
    position: absolute;
    right: 22px;
    bottom: 16px;
    color: #9A625A;
    font-size: 21px;
    opacity: .7;
}

/* Размещение карточек */
.service-paper-1 {
    grid-column: 1 / 5;
    grid-row: 1;
    transform: rotate(-3deg) translate(10px, 15px);
    z-index: 2;
}

.service-paper-2 {
    grid-column: 5 / 9;
    grid-row: 1;
    transform: rotate(2.5deg) translate(-15px, -12px);
    z-index: 3;
}

.service-paper-3 {
    grid-column: 9 / 13;
    grid-row: 1;
    transform: rotate(-2deg) translate(-25px, 18px);
    z-index: 2;
}

.service-paper-4 {
    grid-column: 2 / 6;
    grid-row: 2;
    transform: rotate(2deg) translate(0, -20px);
    z-index: 4;
}

.service-paper-5 {
    grid-column: 6 / 10;
    grid-row: 2;
    transform: rotate(-2.5deg) translate(-15px, 5px);
    z-index: 3;
}

.service-paper-6 {
    grid-column: 9 / 13;
    grid-row: 2;
    transform: rotate(3deg) translate(-15px, -18px);
    z-index: 5;
}

/* Наведение — карточка поднимается поверх остальных */
@media (hover: hover) {
    .service-paper:hover {
        transform: rotate(0deg) translateY(-12px) scale(1.035);
        box-shadow:
            3px 12px 25px rgba(67, 49, 37, .15),
            10px 25px 45px rgba(67, 49, 37, .12);
        z-index: 20;
        color: #49382F !important;
    }
}

/* Планшеты */
@media (max-width: 991px) {
    .inspiration-services {
        padding: 80px 0;
    }

    .services-scatter {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        padding: 10px 5px;
    }

    .service-paper {
        grid-column: auto;
        grid-row: auto;
        min-height: 270px;
    }

    .service-paper-1 { transform: rotate(-2deg); }
    .service-paper-2 { transform: rotate(2deg); }
    .service-paper-3 { transform: rotate(-1.5deg); }
    .service-paper-4 { transform: rotate(1.5deg); }
    .service-paper-5 { transform: rotate(-2deg); }
    .service-paper-6 { transform: rotate(2deg); }
}


/* Телефоны */
@media (max-width: 575px) {
    .inspiration-services {
        padding: 65px 0;
    }

    .services-heading {
        margin-bottom: 35px;
    }

    .services-scatter {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 5px 8px;
    }

    .service-paper {
        width: 100%;
        min-height: 230px;
        padding: 27px;
        margin: 0;
    }

    .service-paper-1 { transform: rotate(-1.5deg); }
    .service-paper-2 { transform: rotate(1.5deg); }
    .service-paper-3 { transform: rotate(-1deg); }
    .service-paper-4 { transform: rotate(1.5deg); }
    .service-paper-5 { transform: rotate(-1.5deg); }
    .service-paper-6 { transform: rotate(1deg); }
}

/* Единый цвет и скругление карточек услуг */

.inspiration-services {
    background: #F7F2EA !important;
}

.services-scatter .service-paper {
    background: #FFFEFC !important;
    border: 1px solid #E9DFD5 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow:
        0 5px 12px rgba(70, 49, 37, .07),
        0 14px 30px rgba(70, 49, 37, .09);
}

/* Одинаковый цвет текста */
.services-scatter .service-paper h3 {
    color: #713F40 !important;
}

.services-scatter .service-paper p {
    color: #51443E !important;
}

/* Скругление и мягкая тень при наведении */
@media (hover: hover) {
    .services-scatter .service-paper:hover {
        border-radius: 12px !important;
        box-shadow:
            0 12px 25px rgba(70, 49, 37, .12),
            0 25px 45px rgba(70, 49, 37, .10);
    }
}

/* =========================================
   PORTFOLIO — СВАДЕБНЫЙ ФОТОКОЛЛАЖ
========================================= */

/* =========================================
   ВДОХНОВЕНИЕ — EDITORIAL PHOTO COLLAGE
========================================= */

.portfolio-section {
    position: relative;
    width: 100%;
    padding: 90px 0 110px;
    background: #F7F2EA;
    overflow: hidden;
    box-sizing: border-box;
}

/* Заголовок */

.portfolio-heading {
    max-width: 1450px;
    margin: 0 auto 55px;
    padding: 0 35px;
    text-align: center;
}

.portfolio-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #936D60 !important;
    font-size: 10px;
    letter-spacing: .25em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.portfolio-title {
    display: block;
    color: #49382F !important;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    text-decoration: none !important;
}

/* Пространство коллажа */

.portfolio-collage-wrap {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 35px;
    box-sizing: border-box;
}

.portfolio-collage {
    position: relative;
    width: 100%;
    height: 900px;
}

/* Общие стили фотографий */

.portfolio-piece {
    position: absolute;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(66, 46, 36, .14);
    box-sizing: border-box;
    transition: transform .4s ease, box-shadow .4s ease;
}

.portfolio-piece-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-decoration: none !important;
}

.portfolio-piece .portfolio-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

/* Подписи */

.portfolio-piece-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 16px 15px;
    color: #fff;
    background: linear-gradient(
        transparent,
        rgba(40, 29, 25, .72)
    );
    opacity: 0;
    transition: opacity .3s ease;
}

.portfolio-piece-caption span {
    font-size: 15px;
    font-weight: 600;
}

.portfolio-piece-caption p {
    margin: 5px 0 0;
    font-size: 12px;
}

/* =========================================
   РАСПОЛОЖЕНИЕ ФОТОГРАФИЙ
   Центральная область оставлена свободной
========================================= */


/* =========================================
   ПЛОТНЫЙ ФОТОКОЛЛАЖ
========================================= */

/* 01 — вертикальная фотография слева сверху */
.portfolio-piece-1 {
    left: 0;
    top: 0;
    width: 24%;
    height: 350px;
    transform: rotate(-2deg);
    z-index: 2;
}

/* 02 — горизонтальная фотография сверху */
.portfolio-piece-2 {
    left: 24%;
    top: -8px;
    width: 29%;
    height: 235px;
    transform: rotate(1.5deg);
    z-index: 1;
}

/* 03 — вертикальная фотография справа сверху */
.portfolio-piece-3 {
    right: 0;
    top: 0;
    width: 24%;
    height: 350px;
    transform: rotate(2deg);
    z-index: 2;
}

/* 04 — вертикальная фотография слева */
.portfolio-piece-4 {
    left: 1%;
    top: 335px;
    width: 23%;
    height: 350px;
    transform: rotate(1.5deg);
    z-index: 3;
}

/* 05 — вертикальная фотография справа */
.portfolio-piece-5 {
    right: 1%;
    top: 335px;
    width: 23%;
    height: 350px;
    transform: rotate(-2deg);
    z-index: 3;
}

/* 06 — горизонтальная фотография снизу слева */
.portfolio-piece-6 {
    left: 0;
    bottom: 0;
    width: 25%;
    height: 180px;
    transform: rotate(-1deg);
    z-index: 4;
}

/* 07 — вертикальная фотография снизу */
.portfolio-piece-7 {
    left: 25%;
    bottom: 0;
    width: 19%;
    height: 260px;
    transform: rotate(2deg);
    z-index: 2;
}

/* 08 — горизонтальная фотография снизу справа */
.portfolio-piece-8 {
    right: 0;
    bottom: 0;
    width: 25%;
    height: 180px;
    transform: rotate(1.5deg);
    z-index: 4;
}

/* 09 — вертикальная фотография справа снизу */
.portfolio-piece-9 {
    right: 25%;
    bottom: 0;
    width: 19%;
    height: 250px;
    transform: rotate(-1.5deg);
    z-index: 2;
}


/* =========================================
   ЦЕНТРАЛЬНАЯ КАРТОЧКА
   ФОТОГРАФИЙ ПОД НЕЙ НЕТ
========================================= */

.portfolio-center-note {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    width: 43%;
    min-height: 340px;
    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    background: #FFFEFC;
    border: 1px solid #E9DFD5;
    box-shadow: 0 15px 40px rgba(66, 46, 36, .13);
    text-align: center;
}

.portfolio-center-note > span {
    display: block;
    margin-bottom: 25px;
    color: #986E61;
    font-size: 10px;
    letter-spacing: .28em;
}

.portfolio-center-note h3 {
    margin: 0 0 18px;
    color: #49382F;
    font-family: inherit !important;
    font-size: clamp(25px, 2.8vw, 40px);
    font-weight: 500;
    line-height: 1.2;
}

.portfolio-center-note p {
    margin: 0 0 28px;
    color: #806D62;
    font-size: 14px;
    line-height: 1.7;
}

.portfolio-center-note a {
    display: inline-block;
    color: #49382F !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none !important;
}

/* Наведение */

@media (hover: hover) {
    .portfolio-piece:hover {
        transform: rotate(0deg) scale(1.035);
        box-shadow: 0 18px 40px rgba(66, 46, 36, .22);
        z-index: 15;
    }

    .portfolio-piece:hover .portfolio-img {
        transform: scale(1.05);
    }

    .portfolio-piece:hover .portfolio-piece-caption {
        opacity: 1;
    }

    .portfolio-center-note a:hover {
        color: #A15E59 !important;
    }
}

/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (max-width: 991px) {

    .portfolio-collage {
        height: 780px;
    }

    .portfolio-piece-1,
    .portfolio-piece-3 {
        height: 270px;
    }

    .portfolio-piece-2 {
        height: 180px;
    }

    .portfolio-piece-4,
    .portfolio-piece-5 {
        top: 330px;
        height: 270px;
    }

    .portfolio-piece-6,
    .portfolio-piece-8 {
        height: 140px;
    }

    .portfolio-piece-7 {
        height: 210px;
    }

    .portfolio-piece-9 {
        height: 195px;
    }

    .portfolio-center-note {
        width: 44%;
        min-height: 280px;
        padding: 30px 25px;
    }

    .portfolio-center-note h3 {
        font-size: 27px;
    }
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================= */

@media (max-width: 600px) {

    .portfolio-section {
        padding: 55px 0 65px;
    }

    .portfolio-heading {
        padding: 0 20px;
        margin-bottom: 35px;
    }

    .portfolio-collage-wrap {
        padding: 0 15px;
    }

    .portfolio-collage {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .portfolio-piece {
        position: relative;
        inset: auto;
        width: 100%;
        height: 210px;
        margin: 0;
        transform: none;
        padding: 6px;
    }

    .portfolio-piece-2,
    .portfolio-piece-6,
    .portfolio-piece-8 {
        height: 140px;
    }

    .portfolio-piece-1,
    .portfolio-piece-3,
    .portfolio-piece-4,
    .portfolio-piece-5,
    .portfolio-piece-7,
    .portfolio-piece-9 {
        height: 230px;
    }

    .portfolio-center-note {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        grid-column: 1 / -1;
        width: 100%;
        min-height: 270px;
        padding: 35px 22px;
        order: 10;
    }

    .portfolio-center-note h3 {
        font-size: 29px;
    }

    .portfolio-piece-caption {
        opacity: 1;
    }
}

/* =========================================
   WHYWE — ЗВЕЗДА
   Равномерные тонкие лучи, без текстового символа и emoji
========================================= */

.whywe-card-top .whywe-card-mark {
    display: none !important;
}

/* Звезда состоит из четырёх линий одинаковой толщины */
.whywe-card-top::after {
    content: "";
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-left: auto;
    background-color: currentColor;
    opacity: .78;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='white' stroke-width='5' stroke-linecap='butt'%3E%3Cpath d='M50 4V96 M4 50H96 M17.5 17.5L82.5 82.5 M82.5 17.5L17.5 82.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='white' stroke-width='5' stroke-linecap='butt'%3E%3Cpath d='M50 4V96 M4 50H96 M17.5 17.5L82.5 82.5 M82.5 17.5L17.5 82.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 575px) {
    .whywe-card-top::after {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }
}
/* =========================================
   SERVICE CARDS — СТРЕЛКА В ПРАВОМ НИЖНЕМ УГЛУ
   Единая SVG-графика для всех устройств
========================================= */

.service-paper-arrow {
    position: absolute !important;
    right: 22px !important;
    bottom: 20px !important;

    display: block !important;
    width: 22px !important;
    height: 22px !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;

    background-color: #A8756D !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M8 5H19V16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M8 5H19V16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-paper-arrow::before,
.service-paper-arrow::after {
    display: none !important;
    content: none !important;
}

/* =========================================
   УСЛУГИ — СТОПКА БУМАЖНЫХ КАРТОЧЕК
   ТОЛЬКО МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */

@media screen and (max-width: 767px) {

    .inspiration-services .services-scatter {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow: visible !important;
        padding: 12px 5px 35px !important;
    }

    .inspiration-services .service-paper {
        position: sticky !important;
        display: block !important;
        overflow: visible !important;
        border-radius: 18px !important;

        /* Карточки слегка заходят друг на друга */
        margin: 0 0 18px !important;

        box-shadow:
            0 8px 20px rgba(75, 54, 45, 0.10),
            0 2px 5px rgba(75, 54, 45, 0.05) !important;

        isolation: isolate;
        transform: none !important;
    }

    /* Каждая следующая карточка фиксируется
       немного ниже предыдущей */
    
/* Все карточки фиксируются на одном уровне */
.inspiration-services .service-paper-1 {
    top: 100px !important;
    z-index: 1;
    rotate: -0.5deg;
}

.inspiration-services .service-paper-2 {
    top: 100px !important;
    z-index: 2;
    rotate: 0.6deg;
}

.inspiration-services .service-paper-3 {
    top: 100px !important;
    z-index: 3;
    rotate: -0.4deg;
}

.inspiration-services .service-paper-4 {
    top: 100px !important;
    z-index: 4;
    rotate: 0.5deg;
}

.inspiration-services .service-paper-5 {
    top: 100px !important;
    z-index: 5;
    rotate: -0.6deg;
}

.inspiration-services .service-paper-6 {
    top: 100px !important;
    z-index: 6;
    rotate: 0.4deg;
}

    /* Скотч */
    .inspiration-services .service-paper::before {
        content: "";
        position: absolute;
        z-index: 5;
        top: -10px;
        left: 50%;
        width: 68px;
        height: 23px;
        transform: translateX(-50%) rotate(-4deg);
        border-left: 1px solid rgba(255,255,255,0.35);
        border-right: 1px solid rgba(255,255,255,0.35);
        box-shadow: 0 2px 5px rgba(70,50,40,0.08);
        pointer-events: none;
    }

    .inspiration-services .service-paper-1::before {
        background: #97ADC5;
    }

    .inspiration-services .service-paper-2::before {
        background: #FECDBE;
        transform: translateX(-50%) rotate(3deg);
    }

    .inspiration-services .service-paper-3::before {
        background: #A9A474;
        transform: translateX(-50%) rotate(-3deg);
    }

    .inspiration-services .service-paper-4::before {
        background: #F5B9B0;
        transform: translateX(-50%) rotate(2deg);
    }

    .inspiration-services .service-paper-5::before {
        background: #B7C8D8;
        transform: translateX(-50%) rotate(-2deg);
    }

    .inspiration-services .service-paper-6::before {
        background: #FFBA85;
        transform: translateX(-50%) rotate(3deg);
    }
}

/* Исправление стопки карточек на телефоне */
@media screen and (max-width: 767px) {

    .inspiration-services {
        overflow: visible !important;
    }

    .inspiration-services .container {
        overflow: visible !important;
    }

    .inspiration-services .services-scatter {
        overflow: visible !important;
    }
}

/* =========================================
   МОБИЛЬНАЯ ГЛАВНАЯ — БЕЗ ЗАСТАВКИ АЛЬБОМА
   ========================================= */

@media screen and (max-width: 767px) {

    /* Полностью отключаем заставку альбома */
    .album-intro {
        display: none !important;
    }

    /* Главная фотография */
    .inspiration-hero {
        height: 69vh !important;
        min-height: 430px !important;
        max-height: 600px !important;
        padding: 10px !important;
        opacity: 1 !important;
        overflow: hidden !important;
    }

    .inspiration-hero-photo {
        position: absolute !important;
        inset: 10px !important;
        width: auto !important;
        height: auto !important;
    }

    .inspiration-hero-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        animation: none !important;
    }

    /* Текст и кнопка поверх фотографии */
    .inspiration-hero-overlay {
        position: absolute !important;
        inset: 10px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding: 22px 18px !important;
        background: linear-gradient(
            0deg,
            rgba(0,0,0,.58) 0%,
            rgba(0,0,0,.15) 65%,
            transparent 100%
        ) !important;
    }

    .inspiration-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        animation: none !important;
    }

    .inspiration-hero-label {
        font-size: 9px !important;
        letter-spacing: 2px !important;
        margin-bottom: 14px !important;
    }

    .inspiration-hero-content h1 {
        font-size: 32px !important;
        line-height: 1.15 !important;
        margin-bottom: 14px !important;
    }

    .inspiration-hero-content p {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .inspiration-hero-button {
        display: inline-block !important;
        padding: 14px 23px !important;
        font-size: 10px !important;
    }
}

/* Мобильная главная — усиление текста и высоты фото */
@media screen and (max-width: 767px) {

    /* Фотография немного компактнее */
    .inspiration-hero {
        height: 69vh !important;
        min-height: 400px !important;
        max-height: 600px !important;
    }

    /* Надпись «Свадебное агентство» */
    .inspiration-hero-label {
        font-weight: 800 !important;
        color: #FFFFFF !important;
        text-shadow: 0 1px 4px rgba(0,0,0,.35);
    }

    /* Текст кнопки */
    .inspiration-hero-button {
        font-weight: 800 !important;
        color: #FFFFFF !important;
        text-shadow: 0 1px 3px rgba(0,0,0,.25);
    }
}

/* =========================================
   ПОРТФОЛИО — ГОРИЗОНТАЛЬНАЯ КАРУСЕЛЬ
   ДЛЯ КОМПЬЮТЕРА И ТЕЛЕФОНА
   ========================================= */

.inspiration-portfolio {
    overflow: hidden !important;
    padding: 65px 0 55px !important;
    background: #F7F2E9;
}

.inspiration-portfolio .portfolio-heading {
    text-align: center;
    margin-bottom: 38px;
}

.inspiration-portfolio .portfolio-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px max(5vw, 20px) 30px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.inspiration-portfolio .portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.inspiration-portfolio .portfolio-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: max-content;
}

.inspiration-portfolio .portfolio-slide {
    position: relative;
    flex: 0 0 390px;
    width: 390px;
    height: 540px;
    overflow: hidden;
    border-radius: 22px;
    scroll-snap-align: center;
    background: #B7C8D8;
    box-shadow: 0 12px 32px rgba(65, 49, 42, .12);
}

.inspiration-portfolio .portfolio-slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none !important;
}

.inspiration-portfolio .portfolio-slide-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

.inspiration-portfolio .portfolio-slide:hover .portfolio-slide-image {
    transform: scale(1.04);
}

.inspiration-portfolio .portfolio-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 17, 16, .05) 30%,
        rgba(20, 17, 16, .25) 55%,
        rgba(20, 17, 16, .78) 100%
    );
}


.inspiration-portfolio .portfolio-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
}

.inspiration-portfolio .portfolio-slide-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: Georgia, serif;
    font-size: 20px;
    color: #FFF0D6;
}


/* Текст карточек — ниже и компактнее */

.inspiration-portfolio .portfolio-slide-caption {
    margin-top: auto !important;
    margin-bottom: 10px !important;
    transform: translateY(35px);
}

.inspiration-portfolio .portfolio-slide-caption h3 {
    margin: 0 0 7px !important;
    line-height: 1.15 !important;
    font-size: 29px !important;
}

.inspiration-portfolio .portfolio-slide-caption p {
    margin: 0 !important;
    line-height: 1.3 !important;
    font-size: 16px !important;
}

.inspiration-portfolio .portfolio-slide-button {
    margin-top: 0 !important;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

@media screen and (max-width: 767px) {

    .inspiration-portfolio {
        padding: 45px 0 35px !important;
    }

    .inspiration-portfolio .portfolio-heading {
        margin-bottom: 20px;
    }

    .inspiration-portfolio .portfolio-carousel {
        padding: 10px 7vw 25px;
    }

    .inspiration-portfolio .portfolio-track {
        gap: 14px;
    }

    .inspiration-portfolio .portfolio-slide {
        flex-basis: 82vw;
        width: 82vw;
        height: 490px;
        border-radius: 20px;
    }

    .inspiration-portfolio .portfolio-slide-content {
        padding: 20px;
    }

    .inspiration-portfolio .portfolio-slide-caption h3 {
        font-size: 25px;
    }

    .inspiration-portfolio .portfolio-slide-caption p {
        font-size: 15px;
    }

    .inspiration-portfolio .portfolio-slide-button {
        padding: 13px 16px;
        font-size: 13px;
    }

    .inspiration-portfolio .portfolio-controls {
        padding: 0 7vw;
        flex-wrap: wrap;
    }

    .inspiration-portfolio .portfolio-counter {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

/* Стрелки портфолио — фирменный стиль */

.inspiration-portfolio .portfolio-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inspiration-portfolio .portfolio-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #A8756D;
    border-radius: 50%;
    background: transparent;
    color: #8B3F46;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.inspiration-portfolio .portfolio-arrow:hover {
    background: #8B3F46;
    border-color: #8B3F46;
    color: #FFF0D6;
    transform: translateY(-2px);
}

.inspiration-portfolio .portfolio-arrow:active {
    transform: scale(.94);
}

.inspiration-portfolio .portfolio-arrow:focus {
    outline: none;
}

@media screen and (max-width: 767px) {
    .inspiration-portfolio .portfolio-arrow {
        width: 44px;
        height: 44px;
    }
}



/* =====================================================
   ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ ПОРТФОЛИО
   Текст карточек, кнопки и расстояния
   ===================================================== */

/* Не сдвигаем подпись transform — это вызывало наложение строк */
.inspiration-portfolio .portfolio-slide-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 25px !important;
}

.inspiration-portfolio .portfolio-slide-caption {
    position: static !important;
    display: block !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    transform: none !important;
}

.inspiration-portfolio .portfolio-slide-caption h3 {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    font-size: 29px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

.inspiration-portfolio .portfolio-slide-caption p {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}

.inspiration-portfolio .portfolio-slide-button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Номер карточки остаётся в правом верхнем углу */
.inspiration-portfolio .portfolio-slide-number {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
}

/* Панель управления — одна горизонтальная линия на компьютере */
.inspiration-portfolio .portfolio-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 25px !important;
}

.inspiration-portfolio .portfolio-navigation {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.inspiration-portfolio .portfolio-all-link {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* Компактнее расстояния вокруг портфолио */
.inspiration-portfolio {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}

.inspiration-portfolio .portfolio-heading {
    margin-bottom: 28px !important;
}

/* Мобильная версия */
@media screen and (max-width: 767px) {
    .inspiration-portfolio {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .inspiration-portfolio .portfolio-slide-content {
        padding: 20px !important;
    }

    .inspiration-portfolio .portfolio-slide-caption {
        margin-bottom: 13px !important;
    }

    .inspiration-portfolio .portfolio-slide-caption h3 {
        font-size: 25px !important;
        line-height: 1.15 !important;
    }

    .inspiration-portfolio .portfolio-slide-caption p {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .inspiration-portfolio .portfolio-controls {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 14px !important;
        padding: 0 7vw !important;
    }

    .inspiration-portfolio .portfolio-navigation {
        order: 3 !important;
        width: 100% !important;
    }

    .inspiration-portfolio .portfolio-all-link {
        white-space: normal !important;
    }
}

/* На всякий случай убираем стандартное оформление кнопок браузера */
.inspiration-portfolio .portfolio-arrow {
    -webkit-appearance: none !important;
    appearance: none !important;
    font-family: Georgia, serif !important;
    box-shadow: none !important;
}
/* Убираем лишнее пространство после блока услуг */
#services.inspiration-services {
    padding-bottom: 30px !important;
    margin-bottom: 0 !important;
}
/* Расстояние между заголовком и карточками портфолио */
#portfolio.portfolio-section .portfolio-heading {
    margin-bottom: 35px !important;
}
/* Уменьшаем расстояние между блоками */
#whywe.inspiration-whywe {
    padding-bottom: 35px !important;
    margin-bottom: 0 !important;
}

#services.inspiration-services {
    padding-top: 45px !important;
    margin-top: 0 !important;
}