.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* LANG SWITCH DROPDOWN */
.lang-switch {
    position: relative;
    font-size: 12px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 6px 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-arrow {
    font-size: 10px;
}

/* само меню */
.lang-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #111;
    border: 1px solid #333;
    padding: 4px;
    display: none;
    /* скрыто по умолчанию */
    z-index: 30;
}

/* показываем меню, когда есть класс .open */
.lang-switch.open .lang-menu {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    font-size: 11px;
}

.lang-option:hover {
    background: #222;
}

.lang-option.active {
    color: var(--accent);
}


/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide .hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    z-index: 1;
}

.slide .slide-text {
    position: absolute;
    bottom: 40px;
    right: 50px;
    background: rgba(0, 0, 0, 0.55);
    padding: 18px 26px;
    color: white;
    text-transform: uppercase;
    border: 1px solid #444;
    z-index: 3;
}

.slide-text h2 {
    font-size: 22px;
    letter-spacing: 0.22em;
    margin-bottom: 6px;
}

.slide-text p {
    font-size: 13px;
    letter-spacing: 0.10em;
    color: #cccccc;
}

/* СТРЕЛКИ */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid #333;
    color: white;
    padding: 4px 14px;
    cursor: pointer;
    z-index: 5;
}

.slider-arrow.left {
    left: 20px;
}

.slider-arrow.right {
    right: 20px;
}

.slider-arrow:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ТОЧКИ */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
}

.slider-dots div {
    width: 10px;
    height: 10px;
    background: #ffffff55;
    border: 1px solid #ffffffcc;
    cursor: pointer;
}

.slider-dots .active {
    background: var(--accent);
    border-color: var(--accent);
}

/* Оверлей снизу */
.portfolio-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: 13px;
    pointer-events: none;
    /* чтобы клик шёл на карточку → откроется галерея */
}

/* Контейнер для текста */
.portfolio-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Название серии */
.portfolio-title {
    font-size: 14px;
    font-weight: 300;
}

/* Мета */
.portfolio-meta {
    font-size: 12px;
    opacity: .85;
}

/* Чтобы overlay был над картинкой */
.portfolio-img-wrap {
    position: relative;
}

/* BEFORE / AFTER SLIDER */
.ba-container {
    width: 100%;
    max-width: 480px;
    flex: 0 0 480px;
    margin-left: 0;
}

.ba-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    /* сейчас фото квадратные; потом можно поменять */
    overflow: hidden;
    background: #000;
    border: 1px solid #222;
    box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after {
    /* показываем сначала только правую половину "после" */
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    top: 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border: 1px solid #444;
}

.ba-label-left {
    left: 14px;
}

.ba-label-right {
    right: 14px;
}

@media (max-width: 600px) {
    .ba-container {
        max-width: 100%;
    }

    .ba-label {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
}


/* PHOTOGRAPHER BLOCK */
.photographer-block {
    width: 100%;
    background: #000;
    padding: 80px 20px;
    border-bottom: 1px solid #222;
}

.photographer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.photographer-inner img {
    width: 340px;
    height: auto;
    object-fit: cover;
    border: 1px solid #333;
    /* премиальный акцент */
}

.photographer-text h2 {
    color: #fff;
    font-size: 28px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.photographer-text p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.06em;
}

.photographer-qr {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photographer-qr .qr-badge {
    position: static;
    width: 160px;
}


:root {
    --bg-main: #fbfbfb;
    --bg-light: #fdfdfd;
    --bg-dark: #050505;
    --text-main: #111111;
    --text-muted: #777777;
    --border: #d4d4d4;
    --accent: #c40000;
    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    --font-heading: var(--font-base);
}

/* ПУЛЬС·ГИРЛЯНДА: нежная подсветка изображений */
@keyframes pulseLight {
    0% {
        filter: brightness(1);
        box-shadow: 0 0 0 rgba(196, 0, 0, 0);
    }

    50% {
        filter: brightness(1.12);
        box-shadow: 0 0 28px rgba(196, 0, 0, 0.24);
    }

    100% {
        filter: brightness(1);
        box-shadow: 0 0 0 rgba(196, 0, 0, 0);
    }
}

.pulseable {
    position: relative;
    will-change: filter, box-shadow;
    --pulse-duration: 4s;
    --pulse-delay: 0s;
    /* animation will be applied inline with random durations/delays */
}

/* Наложение свечения поверх тёмных изображений (использует mix-blend-mode) */
.pulseable::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(circle at 50% 40%, rgba(255, 230, 210, 0.22), rgba(196, 0, 0, 0.08) 40%, transparent 60%);
    opacity: 0;
    animation: pulseAfter var(--pulse-duration, 4s) ease-in-out var(--pulse-delay, 0s) infinite both;
}

@keyframes pulseAfter {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* При ховере один контейнер остаётся заметным, остальные становятся полупрозрачными */
.dimmed {
    /* Затемняем через фильтр (не opacity) — мягче, но менее драматично */
    filter: brightness(0.78) contrast(0.97) saturate(0.96);
    transition: filter 360ms cubic-bezier(.2, .8, .2, 1), box-shadow 360ms cubic-bezier(.2, .8, .2, 1);
}

/* Когда контейнер не затемнён — плавный возврат */
.portfolio-img-wrap,
.ba-wrapper,
.lightbox-inner {
    transition: filter 360ms cubic-bezier(.2, .8, .2, 1), box-shadow 360ms cubic-bezier(.2, .8, .2, 1);
}

/* Hover / focus / touch: небольшое усиление яркости (+5%) для контейнера под указателем */
.portfolio-img-wrap:hover,
.ba-wrapper:hover,
.lightbox-inner:hover,
.portfolio-img-wrap.hover-bright,
.ba-wrapper.hover-bright,
.lightbox-inner.hover-bright,
.portfolio-img-wrap:focus-within,
.ba-wrapper:focus-within,
.lightbox-inner:focus-within {
    filter: brightness(1.01);
    transition: filter 900ms cubic-bezier(.2, .8, .2, 1);
}

/* АНИМАЦИЯ ДЛЯ ОБЁРТКИ: мягкая рамка + оутер-глоу */
@keyframes pulseWrap {
    0% {
        box-shadow: inset 0 0 0 rgba(196, 0, 0, 0), 0 0 0 rgba(196, 0, 0, 0);
    }

    50% {
        box-shadow: inset 0 0 0 2px rgba(196, 0, 0, 0.25), 0 0 18px rgba(196, 0, 0, 0.18);
    }

    100% {
        box-shadow: inset 0 0 0 rgba(196, 0, 0, 0), 0 0 0 rgba(196, 0, 0, 0);
    }
}

/* Отключаем прежнюю пульсацию — эффект теперь только через затемнение контейнеров */
.pulseable {
    animation: none !important;
}

.pulseable::after {
    animation: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    background: var(--bg-main);
    color: var(--text-main);

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.article-title,
.article-section h2,
.pricing-h,
.pricing-booking-h {
    font-family: var(--font-heading);
    font-weight: 300;
    color: #a8a8a8;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.qr-badge {
    width: 112px;
    z-index: 1200;
    pointer-events: none;
}

.hero-slider .qr-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
}

.qr-badge img {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.7);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 64px; /* reserve space for fixed header */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #050505;
    color: #ffffff;
}

header .nav-links a {
    color: #ffffff;
}

header .nav-links a:hover {
    color: var(--accent);
}


.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Логотип в шапке: иконка слева, текст справа */
.logo {
    display: flex;
    flex-direction: row;
    /* ВОТ ГЛАВНОЕ: в строку */
    align-items: center;
    gap: 16px;
}

/* обёртка для текста логотипа */
.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

/* Иконка-логотип (камера) */
.logo-icon svg {
    width: 32px;
    height: 32px;
}

/* Текстовые стили под твой вариант */
.logo-title {
    font-size: 14px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
}

.nav-links a,
.nav-dropdown-toggle {
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    white-space: nowrap;
}

.nav-links a::after,
.nav-dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 420ms ease;
}

.nav-links a:hover::after,
.nav-dropdown-toggle:hover::before {
    transform: scaleX(1);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--bg-dark);
    color: #ffffff;
    border: 1px solid var(--bg-dark);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    cursor: pointer;
}

.nav-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #2b2b2b;
}

/* BURGER */
.burger {
    display: none;
    width: 38px;
    height: 32px;
    padding: 6px 4px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
}

main {
    flex: 1;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 48px;
}

@media (max-width: 900px) {
    .section {
        padding: 64px 24px;
    }

    .page {
        padding-top: 56px;
    }

    .nav {
        padding: 12px 24px;
    }

    .burger {
        display: flex;
    }

    header .nav-links,
    header .lang-switch,
    header .nav-cta {
        display: none;
    }

    body.nav-open header .nav-links,
    body.nav-open header .lang-switch,
    body.nav-open header .nav-cta {
        display: flex;
    }

    header .nav-links {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: #050505;
        padding: 12px 20px 16px;
        gap: 14px;
        border-bottom: 1px solid #222;
        z-index: 2100;
    }

    header .lang-switch {
        position: absolute;
        top: 56px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        z-index: 2101;
    }

    header .nav-cta {
        position: absolute;
        top: 56px;
        left: 20px;
        right: 20px;
        margin-top: 110px;
        width: auto;
    }

    .intro-grid {
        padding: 0 24px;
        flex-direction: column;
        gap: 20px;
    }

    footer {
        padding: 14px 24px 18px;
    }
}

/* INTRO BLOCK */
.intro-block {
    max-width: none;
    margin: 0;
    padding: 80px 0;
    background: radial-gradient(circle at 18% 18%, rgba(196, 0, 0, 0.12), transparent 38%), #050505;
    color: #f2f2f2;
}

.intro-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.intro-aside {
    float: none;
    width: 36%;
    min-width: 300px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    order: 2;
    align-self: center;
}

.intro-media {
    width: 100%;
}

.intro-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
}

.intro-qr .qr-badge {
    position: static;
    width: 140px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    margin-top: 10px;
    color: #f2f2f2;
    text-align: center;
}

.intro-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    flex: 1;
    order: 1;
}

.intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.intro-badges .badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.intro-benefits {
    margin: 18px 0 8px;
    padding-left: 18px;
    color: #d8d8d8;
    line-height: 1.5;
}

.intro-benefits li {
    margin-bottom: 8px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 18px 0 6px;
}

.intro-stat {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
}

.intro-stat .stat-value {
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.intro-stat .stat-label {
    font-size: 12px;
    color: #b9b9b9;
    margin-top: 4px;
    line-height: 1.4;
}

.intro-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.ghost-link {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.ghost-link:hover {
    border-bottom-color: var(--accent);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(960px, calc(100% - 24px));
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    z-index: 4000;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent);
    border-bottom: 1px solid transparent;
}

.cookie-link:hover {
    border-bottom-color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: transparent;
    color: #111111;
    transition: all 0.2s ease;
}

.cookie-btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.cookie-btn.primary:hover {
    filter: brightness(1.05);
}

.cookie-btn.ghost:hover {
    border-color: #000000;
}

.privacy-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4500;
    padding: 16px;
}

.privacy-backdrop.open {
    display: flex;
}

.privacy-modal {
    position: relative;
    width: min(860px, 100%);
    max-height: 86vh;
    background: #ffffff;
    color: #111111;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    padding: 20px 20px 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.privacy-title {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.privacy-body {
    overflow: auto;
    padding-right: 6px;
    line-height: 1.6;
    font-size: 14px;
}

.privacy-body h4 {
    margin: 16px 0 6px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.privacy-body ul {
    padding-left: 18px;
    margin: 8px 0;
}

.privacy-body li {
    margin-bottom: 6px;
}

.privacy-updated {
    margin-top: 12px;
    font-size: 12px;
    color: #555;
}

.privacy-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #444;
}

.privacy-close:hover {
    color: var(--accent);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .privacy-modal {
        max-height: 90vh;
        padding: 18px 16px 16px;
    }
}

.intro-content p {
    margin-top: 10px;
    color: inherit;
}

.intro-content strong {
    color: #e0e0e0;
    font-weight: 700;
}

@media (max-width: 900px) {
    .intro-grid {
        padding: 0 16px;
        flex-direction: column;
        gap: 20px;
    }

    .intro-aside {
        float: none;
        width: 100%;
        min-width: 0;
        margin: 0 0 16px 0;
        order: 1;
    }

    .intro-content {
        order: 2;
    }

    .intro-media img {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 0.5fr);
    gap: 0;
    margin-top: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-content {
    padding: 40px 40px 32px;
    border-right: 1px solid var(--border);
}

@media (max-width: 900px) {
    .hero-content {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.hero-tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(30px, 3.5vw, 40px);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.35;
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
    padding: 11px 22px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    cursor: pointer;
    background: none;
}

.btn-primary {
    background: var(--bg-dark);
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-primary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: #000000;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.hero-meta span::before {
    content: "— ";
    color: #999999;
}

.hero-photo {
    background: var(--bg-dark);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-photo-inner {
    padding: 32px 32px 18px;
    border-bottom: 1px solid #222222;
}

.hero-photo-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-photo-caption {
    padding: 16px 32px 22px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.hero-photo-caption small {
    color: #bbbbbb;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
}

/* SECTION HEADERS */

/* SECTION HEADER — обновлённая версия */
.section-header {
    position: relative;
    text-align: center;
    /* заголовок по центру */
    margin-bottom: 80px;
    /* расстояние до контента */
}

/* Крупный премиальный заголовок */
.section-title {
    font-size: 48px;
    /* увеличиваем размер */
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 200;
    color: #3f3f3f;
    position: relative;
    display: inline-block;
    padding-bottom: 11px;
    /* расстояние между текстом и линией */
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    /* линия строго по центру */
    bottom: 0;
    width: 80px;
    /* длина линии — можно менять */
    height: 2px;
    /* толщина линии */
    background: var(--accent);
    /* твой красный */
    border-radius: 2px;
    /* чуть мягче края */
    transform-origin: center;
    transition: transform 700ms ease;
}

#portfolio .section-title {
    font-size: 48px;
}

.section-header.is-visible .section-title::after,
.section-header:hover .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* PORTФОЛИО */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1px;
    column-gap: 28px;
    row-gap: 24px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

#portfolio.section {
    max-width: 1320px;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.portfolio-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

.portfolio-item.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
}

.portfolio-item.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.portfolio-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 900ms ease, filter 900ms ease;
}

.portfolio-item:hover .portfolio-img-wrap img {
    transform: scale(1.005);
}

.portfolio-item.is-tall .portfolio-img-wrap {
    aspect-ratio: 2 / 3;
}

.portfolio-item.is-tall .portfolio-img-wrap img {
    height: 100%;
    object-fit: cover;
}



.portfolio-body {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--border);
}

.portfolio-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.portfolio-title {
    font-size: 13px;
}

.portfolio-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* COMPARISON */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 780px) {
    .comparison-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.comparison-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.comparison-img {
    height: 260px;
    overflow: hidden;
    background: #000;
}

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

.comparison-body {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.comparison-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
}

.comparison-label span {
    color: var(--accent);
}

/* ABOUT & PROCESS */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 22px 22px 18px;
}

.card h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.highlight {
    border-top: 1px solid #000000;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 12px;
}

.highlight span {
    color: var(--accent);
}

.process-list {
    list-style: none;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.process-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.process-step {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #444444;
}

.process-note {
    font-size: 12px;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: -2px;
}

input,
textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #000000;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-meta strong {
    color: var(--text-main);
}

.contact-list {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.contact-list li {
    padding: 4px 0;
}

.contact-accent {
    border-left: 2px solid var(--accent);
    padding-left: 10px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

footer {
    border-top: 1px solid #222;
    padding: 14px 48px 18px;
    margin-top: 20px;
    font-size: 11px;
    color: #cfcfcf;
    background: #050505;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-note {
    align-items: center;
    gap: 14px;
}

.footer-avatar-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    max-width: 360px;
}

.footer-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    flex: 0 0 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cfcfcf;
}

.footer-avatar-caption {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-text {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.footer-text strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-year {
    max-width: 1120px;
    margin: 10px auto 0;
    font-size: 10px;
    color: #8a8a8a;
    text-align: center;
}

.footer-links a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-left: 14px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* LIGHTBOX */



.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.is-entering .lightbox-inner {
    animation: lightboxPop 420ms ease-out both;
}

@keyframes lightboxPop {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ВАЖНО: это ниже .lightbox */
.lightbox.hidden {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
}

body.lightbox-open .page {
    opacity: 0;
}

body.lightbox-open .lightbox {
    opacity: 1;
}

.lightbox-inner {
    position: relative;
    background: transparent;
    border: none;
    width: 96vw;
    max-width: 1600px;
    max-height: 94vh;
    padding: 12px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.lightbox-image-wrap {
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

#lightbox-image {
    max-height: 86vh;
    max-width: 100%;
    object-fit: contain;
}

/* iMac / big screens */
@media (min-width: 1800px) {
    .lightbox-inner {
        width: 98vw;
        max-width: 2200px;
        max-height: 96vh;
        padding: 8px 64px;
    }

    .lightbox-image-wrap {
        max-height: 92vh;
    }

    #lightbox-image {
        max-height: 92vh;
    }
}


.lightbox-caption {
    font-size: 12px;
    color: #e5e5e5;
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.lightbox-caption span:first-child {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: #cccccc;
}

.lightbox-caption span:last-child {
    font-size: 11px;
    color: #888888;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #000000;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000000;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
}

.lightbox-arrow-left {
    left: 10px;
}

.lightbox-arrow-right {
    right: 10px;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
    color: var(--accent);
}

@media (max-width: 640px) {
    .hero-photo-inner {
        padding: 22px 18px 14px;
    }

    .hero-photo-caption {
        padding: 12px 18px 16px;
    }

    .lightbox-inner {
        padding: 16px 36px;
    }

    .lightbox-arrow {
        font-size: 24px;
    }
}

/* Описание, которое должно быть под блоком (как у портфолио) */
.section-subtitle.below {
    position: static;
    /* сбрасываем absolute */
    max-width: 500px;
    margin: 40px 0 0 auto;
    /* сверху отступ, справа прижали */
    text-align: right;
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

/* Описание, вынесенное вниз для блока До/После */
#comparison .section-subtitle.below {
    position: static;
    max-width: 640px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

.comparison-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
    margin-left: -24px; /* смещение влево, как сетка портфолио */
}

.section#comparison {
    padding-left: 24px;
    padding-right: 24px;
}

.comparison-aside {
    max-width: 420px;
    flex: 1 1 260px;
}

.comparison-callout {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000000;
    font-weight: 900;
}

.comparison-callout .callout-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: calloutWord 7s ease-in-out forwards;
    animation-play-state: paused;
}

.comparison-callout.animate .callout-word {
    animation-play-state: running;
}
@media (max-width: 820px) {
    .comparison-layout {
        flex-direction: column;
        gap: 16px;
    }

    .comparison-aside {
        text-align: center;
    }

    .comparison-callout {
        font-size: 32px;
        letter-spacing: 0.06em;
    }
}

@keyframes calloutWord {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-meta,
.contact-list li,
.contact-accent {
    font-size: 18px;
    line-height: 1.7;
}

/* Увеличиваем текст в форме */
.card form label {
    font-size: 16px;
    letter-spacing: 0.02em;
}

.card form input,
.card form textarea {
    font-size: 16px;
    padding: 12px 14px;
}

.card form input::placeholder,
.card form textarea::placeholder {
    font-size: 17px;
    color: #777;
}

/* Кнопка "Отправить запрос" крупнее и солиднее */
.btn-primary {
    font-size: 15px;
    padding: 11px 21px;
    letter-spacing: 0.05em;
}

/* Базовый стиль кнопок */
.nav-cta,
.btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 11px 25px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

/* Hover — красный фон, белый текст */
.nav-cta:hover,
.btn-primary:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Убираем горизонтальный вылет (симптом) */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1200px) {
    .nav {
        gap: 18px;
    }

    .nav-right {
        gap: 14px;
    }

    .nav-links {
        gap: 12px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 10px;
    }

    .logo-icon svg {
        width: 28px;
        height: 28px;
    }

    .logo-title {
        font-size: 13px;
        letter-spacing: 0.22em;
    }

    .qr-badge {
        width: 84px;
    }

    .hero-slider .qr-badge {
        left: 12px;
        bottom: 12px;
    }

    .logo-subtitle {
        font-size: 10px;
        letter-spacing: 0.16em;
    }
}

/* MOBILE NAV */
@media (max-width: 720px) {
    .nav {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 14px;
    }

    /* Лого не должно распирать строку */
    .logo {
        min-width: 0;
    }

    .logo-title {
        font-size: 12px;
        letter-spacing: 0.18em;
    }

    .logo-subtitle {
        display: none;
    }

    .qr-badge {
        display: none;
    }

    .intro-qr .qr-badge {
        display: block;
        margin: 0 auto;
    }

    /* на мобиле слишком длинно */

    /* Вторая строка: меню + кнопки */
    .nav-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
        letter-spacing: 0.12em;
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Чтобы подпись на слайдере не уезжала вправо */
    .slide-text {
        left: 14px;
        right: 14px;
        bottom: 18px;
    }
}

/* ABOUT / PHOTOGRAPHER BLOCK — mobile fix */
@media (max-width: 720px) {
    .photographer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 14px;
    }

    .photographer-inner img {
        width: 100%;
        max-width: 360px;
    }

    .photographer-text {
        width: 100%;
    }

    .photographer-text h2 {
        font-size: 22px;
        letter-spacing: 0.14em;
    }
}
/* ===== Article layout: alternating blocks ===== */
.article-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px 20px 40px;
  text-align: center;
}

.article-title {
  font-size: 48px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 300;
  color: #303030;
  line-height: 1.15;
  margin-bottom: 14px;
}

.article-redline {
  width: 80px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
  margin: 0 auto 20px;
}

.article-hero-photo {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.article-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.article-lead {
  max-width: 900px;
  margin: 24px auto 0;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
  color: rgba(255,255,255,.80);
}

.pricing-lead {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  text-align: right;
}

.pricing-disclaimer {
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 700px){
  .article-hero { padding-top: 70px; }
}

/* Sections */
.article-section {
  padding: 70px 20px;
}

.article-section .wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.article-section h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(22px, 2.4vw, 34px);
  margin-bottom: 18px;
}

.article-section p {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.85;
}

.article-section ul {
  margin-top: 16px;
  padding-left: 22px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.85;
}

.article-section li { margin: 10px 0; }

/* White block */
.article-section.light {
  background: #ffffff;
  color: #111;
}
.article-section.light p,
.article-section.light ul { color: rgba(17,17,17,.78); }
.article-section.light h2 { color: #111; }

/* Black block */
.article-section.dark {
  background: #050505;
  color: #f2f2f2;
}
.article-section.dark p,
.article-section.dark ul { color: rgba(242,242,242,.78); }
.article-section.dark h2 { color: #f2f2f2; }

/* Thematic dividers between blocks */
.article-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding: 72px 20px 20px;
  background:#fff;
}

.article-divider .line{
  height:1px;
  flex:1;
  max-width:420px;
  background: rgba(0,0,0,.18);  /* <-- вместо красного серый/чёрный */
}

.article-divider .icon{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  background:#fff;          /* <-- белый */
  color:#111;               /* <-- иконка чёрная */
}

.article-divider svg{
  width:22px;
  height:22px;
}


/* CTA block (can be light or dark – we style it a bit more) */
.article-cta {
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(196,0,0,.25);
  background: rgba(196,0,0,.06);
}

.article-cta p { margin-top: 10px; }

.article-cta .btn-primary {
  margin-top: 14px;
}
/* lead text on light section */
.lead-dark{
  color:#111 !important;
  max-width: 900px;
  margin: 0 auto;
}
.article-section.light .article-lead{
  color:#111 !important;
}
.article-hero .article-lead {
  color: #111;
}
.article-hero .hero-lead {
  margin: 28px auto 0;       /* в центре */
  max-width: 900px;
  padding-right: 18px;         /* место для линии справа */
  border-right: 2px solid var(--accent); /* КРАСНАЯ ЛИНИЯ СПРАВА */

  text-align: right;
  color: #111;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
}

.article-hero .hero-lead.pricing-lead {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 48px 0 0 auto;
  padding-right: 0;
  border-right: none;
  text-align: right;
  line-height: 1.6;
}
.nav-articles {
  position: relative;
}

/* NAV DROPDOWN*/
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-dropdown-toggle{
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  padding-bottom: 3px;
  cursor: pointer;
}

.nav-dropdown-toggle:hover{
  color: inherit;
}

.nav-dropdown-toggle::after{
  content: " ▾";
  opacity: 0.7;
}

.nav-dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  min-width: 260px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(18,18,18,0.96);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.nav-dropdown-menu a{
  position: relative;
  padding: 6px 8px 8px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover{
  color: inherit;
}

.nav-dropdown-menu a::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 420ms ease;
}

.nav-dropdown-menu a:hover::after{
  transform: scaleX(1);
}

/* show on hover + keyboard focus + click */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu{
  display: flex;
}

.to-top-btn{
  position: fixed;
  right: 56px;
  bottom: 56px;
  z-index: 3000;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(235,235,235,0.55);
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.7);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.to-top-btn::after{
  content: "⇧";
  font-size: 18px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  text-indent: 0;
}

.to-top-btn.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top-btn:hover{
  border-color: #111;
  box-shadow: 0 10px 22px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.8);
}

.to-top-btn.is-dark{
  border-color: rgba(255,255,255,0.3);
  background: rgba(40,40,40,0.55);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}

.to-top-btn.is-dark::after{
  color: rgba(255,255,255,0.85);
}

.to-top-btn.is-dark:hover{
  border-color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
/* PRICING PAGE */
.pricing-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.pricing-row{
  background: #e8e4d8; /* как на скрине, тёплый светлый */
  display: grid;
  grid-template-columns: 320px 1fr 140px;
  gap: 22px;
  padding: 0;
  align-items: start;
}

.pricing-media {
  height: 200px;
}

.pricing-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: 1px solid #c9c9c9;
}

.pricing-topline{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pricing-h{
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 300;
}

.pricing-price{
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-p{
  margin: 12px 0 12px;
  max-width: 68ch;
}

.pricing-bullets{
  margin: 0;
  padding-left: 18px;
}

.pricing-bullets li{
  margin: 6px 0;
}

.pricing-cta{
  display: flex;
  justify-content: flex-end;
}

.pricing-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  background: #9c3a2b; /* кирпичный как на скрине */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .5px;
}

.pricing-btn:hover{ filter: brightness(1.05); }

.pricing-sep{
  height: 2px;
  background: rgba(0,0,0,0.18);
}

@media (max-width: 980px){
  .pricing-row{
    grid-template-columns: 1fr;
  }
  .pricing-cta{
    justify-content: flex-start;
  }
  .pricing-media img{
    height: 240px;
  }
}

/* BOOKING BLOCK */
.pricing-booking{
  padding: 40px 0 70px;
}

.pricing-booking-h{
  margin: 0 0 10px;
  font-size: 28px;
  position: relative;
}

.pricing-booking-h::after{
  content: "";
  display: inline-block;
  width: 2px;
  height: 20px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--accent);
}

.pricing-booking-p{
  margin: 0 0 18px;
  opacity: .9;
  max-width: 75ch;
}

.pricing-form{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 18px;
}

.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pricing-field span{
  display: block;
  margin-bottom: 6px;
  opacity: .9;
}

.pricing-field input,
.pricing-field select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: 16px;
}

/* flatpickr tweaks for desktop calendar size */
.flatpickr-calendar {
  font-size: 15px;
  width: 320px;
}

.flatpickr-day {
  height: 38px;
  line-height: 38px;
}

.flatpickr-weekday {
  font-size: 12px;
}

.pricing-field .flatpickr-input {
  display: none;
}

.pricing-field .flatpickr-alt-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-size: 16px;
}

.pricing-options{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.pricing-check{
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.pricing-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.pricing-total-value{
  font-size: 22px;
  font-weight: 800;
}

.pricing-actions{
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.pricing-note{
  opacity: .8;
  max-width: 70ch;
}
/* ===== PRICING: alternating blocks like articles ===== */

.pricing-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 12px;
}

.pricing-note-box{
  max-width: 900px;
  padding: 16px 18px;
  margin: 12px 0 6px;
  border: 1px solid rgba(255,255,255,0.16);
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}

.pricing-feature-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}

.pricing-feature{
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  min-width: 200px;
}

.pf-title{
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.pf-caption{
  font-size: 12px;
  color: #cfcfcf;
  letter-spacing: 0.02em;
}

.pricing-badge-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 56px 0 120px;
  width: 100%;
}

.pricing-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: #0e0e0e;
  color: #f2f2f2;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: normal;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  width: 100%;
  max-width: 100%;
  justify-self: start;
  position: relative;
  overflow: hidden;
}

.pricing-badge::before{
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.25));
}

.pricing-note-inline{
  margin: 6px 0 0;
  font-size: 13px;
  color: #cccccc;
}

.footer-summary{
  margin-bottom: 10px;
  line-height: 1.6;
  color: #e0e0e0;
  max-width: 960px;
}

.footer-summary strong{
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-summary{
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 8px;
  color: #eaeaea;
  line-height: 1.6;
}

.pricing-summary h2{
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.pricing-summary p{
  margin: 8px 0;
}

.pricing-summary ul{
  margin: 8px 0 12px 18px;
}

.pricing-summary li{
  margin: 4px 0;
}

.pricing-summary-note{
  font-weight: 600;
  color: #ffffff;
}

.pricing-badge.icon-transparency::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M3 6h18M3 18h18'/%3E%3C/svg%3E");
}

.pricing-badge.icon-people::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M17 11c1.66 0 3-1.57 3-3.5S18.66 4 17 4m-8 9c-3 0-6 1.5-6 4v1h12v-1c0-2.5-3-4-6-4zm11 5v-1.2c0-1.4-1.4-2.6-3.2-3'/%3E%3C/svg%3E");
}

.pricing-badge.icon-location::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-11a6 6 0 1112 0c0 5.7-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.pricing-badge.icon-info::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}

.pricing-badge.icon-custom::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3 7h7l-5.5 4.2L18.5 22 12 17.8 5.5 22l2-8.8L2 9h7z'/%3E%3C/svg%3E");
}

/* gradient steps per badge */
.badge-g1{ background: linear-gradient(135deg, #c40000, #8a0000); }
.badge-g2{ background: linear-gradient(135deg, #8a0000, #5c0000); }
.badge-g3{ background: linear-gradient(135deg, #5c0000, #350000); }
.badge-g4{ background: linear-gradient(135deg, #350000, #150000); }

.pricing-lead-row{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 12px 0 56px;
}

.pricing-badge-column{
  display: grid;
  gap: 8px;
  align-items: start;
}

.pricing-card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 56px 0 56px;
}

.pricing-lead-media{
  margin-bottom: 18px;
}

.pricing-lead-media img{
  display: block;
  width: 360px;
  height: auto;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.pricing-card{
  position: relative;
  padding: 22px 20px 24px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.28);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #111;
}

.pricing-card-dark{
  background: #0f0f0f;
  border-color: rgba(255,255,255,0.18);
  color: #f4f4f4;
}

.pricing-card-dark .pricing-bullets{
  color: #f2f2f2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.pricing-card-dark .pricing-bullets li{
  color: #f2f2f2 !important;
}

.pricing-card .pricing-bullets{
  color: #444;
}

.pricing-card .pricing-price{
  color: #111;
}

.pricing-card-dark .pricing-price{
  color: #ffffff;
}

.pricing-card-dark .pricing-btn.ghost{
  border-color: #ffffff;
  color: #ffffff;
}

.pricing-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.26);
}

.pricing-icon{
  width: 100%;
  display: block;
  margin: 0 0 8px;
}

.pricing-icon img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.pricing-topline{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pricing-h{
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 300;
}

.pricing-price{
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  opacity: .95;
  text-align: center;
  width: 100%;
}

.pricing-p{
  margin: 4px 0 4px;
  max-width: 68ch;
}

.pricing-bullets{
  margin: 0 0 6px;
  padding-left: 16px;
  color: #cfcfcf;
}

.pricing-bullets li{
  margin: 4px 0;
}

.pricing-bottom{
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pricing-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  background: #9c3a2b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .5px;
  border-radius: 10px;
  border: 1px solid #9c3a2b;
  transition: filter 180ms ease, transform 180ms ease;
}

.pricing-btn:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.pricing-btn.ghost{
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-btn.ghost:hover{
  background: var(--accent);
  color: #fff;
}

@media (max-width: 980px){
  .pricing-card-grid{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }
}

/* ===== BOOKING block rework: readable in dark ===== */

.pricing-booking{
  padding: 46px 0 80px;
}

.pricing-booking .wrap{
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}

.pricing-booking-h{
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 300;
}

.pricing-booking-p{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.55;
  max-width: 80ch;
  color: #111;
}

/* form container */
.pricing-form{
  border: 1px solid rgba(255,255,255,0.18);
  padding: 18px;
}

/* make form readable on dark */
.pricing-dark .pricing-form{
  background: #0f0f0f;
}

.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pricing-field span{
  display: block;
  margin-bottom: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .85;
}

/* inputs: light background on dark */
.pricing-field input,
.pricing-field select{
  width: 100%;
  height: 44px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.92);
  color: #111;
  outline: none;
}

/* focus */
.pricing-field input:focus,
.pricing-field select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,0,0,0.18);
}

/* options */
.pricing-options{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.pricing-check{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  opacity: .95;
}

.pricing-check input{
  width: 18px;
  height: 18px;
}

/* total */
.pricing-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 16px;
}

.pricing-total-label{
  font-size: 16px;
  opacity: .9;
}

.pricing-total-value{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

/* actions */
.pricing-actions{
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.pricing-note{
  opacity: .85;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.5;
}

/* In booking block: button should be opposite (dark block -> white default) */
.pricing-dark .pricing-actions .nav-cta{
  background: #fff !important;
  color: #111 !important;
}

.pricing-dark .pricing-actions .nav-cta:hover{
  background: var(--accent) !important;
  color: #fff !important;
}
