@font-face {
    font-family: 'Unbounded';
    src: url('../font/Unbounded-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../font/Unbounded-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #431c72;
    background: #f8f5fc;
}

/* ——— Header ——— */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(135deg, #3a1878 0%, #431c72 45%, #5b2f96 100%);
    box-shadow: 0 4px 24px rgba(26, 8, 48, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.header-left {
    justify-self: start;
}

.header-right {
    justify-self: end;
}

.logo {
    justify-self: center;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.header-phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.header-phone-link {
    color: #fff;
    font-size: clamp(0.75rem, 1.4vw, 0.9rem);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.header-phone-link:hover {
    opacity: 0.88;
}

.header-phone-note {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
    margin-top: 2px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-social a:hover {
    opacity: 1;
    transform: scale(1.08);
}

.header-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* ——— Page shell ——— */
.vizitka-page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 100vh;
    padding-top: 64px;
}

/* ——— Split layout ——— */
.vizitka-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    flex: 1;
    min-height: 0;
    position: relative;
}

.vizitka-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 15;
    width: 72px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vizitka-divider-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.06) 38%,
        rgba(167, 139, 250, 0.1) 50%,
        rgba(243, 236, 250, 0.28) 62%,
        transparent 100%
    );
}

.vizitka-divider-line {
    position: absolute;
    top: 6%;
    bottom: 6%;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(167, 139, 250, 0.55) 10%,
        #8b5cf6 28%,
        #431c72 50%,
        #8b5cf6 72%,
        rgba(167, 139, 250, 0.55) 90%,
        transparent 100%
    );
}

.vizitka-right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    position: relative;
    isolation: isolate;
    background: linear-gradient(160deg, #fff 0%, #f3ecfa 100%);
}

.vizitka-right::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18 1 L35 18 L18 35 L1 18 Z' fill='none' stroke='%23431c72' stroke-opacity='0.07' stroke-width='0.6'/%3E%3C/svg%3E");
    background-size: 36px 36px;
    background-position: center;
}

.vizitka-intro {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: clamp(32px, 5.5vh, 56px) clamp(20px, 3.5vw, 40px) clamp(6px, 1vh, 10px);
}

.vizitka-info {
    grid-column: auto;
    grid-row: auto;
}

/* ——— Left: Gallery ——— */
.vizitka-gallery {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-stage {
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.gallery-slides {
    position: absolute;
    inset: 0;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
    will-change: opacity, transform;
}

.gallery-slide--active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.gallery-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        rgba(0, 0, 0, 0.1),
        radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.18) 100%);
}

/* ——— Liquid glass ——— */
.liquid-glass {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #431c72;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.68) 48%,
        rgba(248, 245, 252, 0.74) 100%
    );
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 10px 36px rgba(67, 28, 114, 0.14),
        0 2px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2),
        inset 1px 0 0 rgba(255, 255, 255, 0.28);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    --glass-text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.85);
}

.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        rgba(255, 255, 255, 0.28),
        radial-gradient(ellipse 90% 60% at 12% -10%, rgba(255, 255, 255, 0.65) 0%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 42%);
    pointer-events: none;
}

.liquid-glass > svg,
.liquid-glass > span,
.liquid-glass > h2,
.liquid-glass > div,
.liquid-glass > img {
    position: relative;
    z-index: 2;
}

.liquid-glass > svg {
    filter:
        drop-shadow(0 0 3px rgba(255, 255, 255, 1))
        drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
}

.liquid-glass > span,
.liquid-glass > h2 {
    text-shadow: var(--glass-text-shadow);
}

button.liquid-glass:hover {
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow:
        0 12px 40px rgba(67, 28, 114, 0.22),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(255, 255, 255, 0.14),
        inset 1px 0 0 rgba(255, 255, 255, 0.22);
}

.gallery-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(14px, 2.5vh, 22px) clamp(16px, 2.5vw, 24px);
}

.gallery-label {
    font-size: clamp(0.58rem, 1.1vw, 0.68rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.gallery-counter {
    font-size: clamp(0.75rem, 1.4vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 999px;
}

.gallery-counter-sep {
    opacity: 0.45;
    margin: 0 3px;
    font-weight: 400;
}

.gallery-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.12);
}

.gallery-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #fff);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
    transition: width 0.1s linear;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 clamp(10px, 1.5vw, 16px);
    pointer-events: none;
}

.gallery-nav-btn {
    pointer-events: auto;
    width: clamp(38px, 5vw, 46px);
    height: clamp(38px, 5vw, 46px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.gallery-stage:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn:hover {
    transform: scale(1.08);
}

.gallery-nav-btn svg {
    width: 20px;
    height: 20px;
}

.gallery-zoom {
    position: absolute;
    top: clamp(52px, 8vh, 64px);
    right: clamp(14px, 2vw, 20px);
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom:hover {
    transform: scale(1.06);
}

.gallery-zoom svg {
    width: 18px;
    height: 18px;
}

.gallery-caption {
    position: absolute;
    bottom: clamp(12px, 2vh, 20px);
    left: clamp(12px, 2vw, 20px);
    right: clamp(12px, 2vw, 20px);
    z-index: 4;
}

.gallery-caption-inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 18px);
    padding: clamp(12px, 2vh, 16px) clamp(14px, 2.5vw, 20px);
    border-radius: clamp(14px, 2vw, 18px);
}

.gallery-caption-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.08) 44%,
        rgba(255, 255, 255, 0.38) 50%,
        rgba(255, 255, 255, 0.08) 56%,
        transparent 62%
    );
    background-size: 220% 100%;
    background-position: 130% 0;
    animation: gallery-caption-shimmer 5s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.gallery-caption-num,
.gallery-caption-inner h2,
.gallery-price-block {
    position: relative;
    z-index: 2;
}

@keyframes gallery-caption-shimmer {
    0%, 72% {
        background-position: 130% 0;
    }
    100% {
        background-position: -30% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-caption-inner::after {
        animation: none;
        opacity: 0.35;
    }
}

.gallery-caption-num {
    flex-shrink: 0;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: rgba(67, 28, 114, 0.42);
    line-height: 1;
    text-shadow: var(--glass-text-shadow);
}

.gallery-caption-inner h2 {
    flex: 1;
    min-width: 0;
    font-size: clamp(0.82rem, 1.6vw, 1rem);
    font-weight: 700;
    color: #431c72;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: var(--glass-text-shadow);
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    max-height: calc(1.3em * 2);
    word-break: break-word;
}

.gallery-price-block {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.gallery-price-label {
    font-size: clamp(0.58rem, 1vw, 0.68rem);
    color: rgba(67, 28, 114, 0.72);
    font-weight: 400;
    text-shadow: var(--glass-text-shadow);
}

.gallery-price {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: #431c72;
    line-height: 1;
    text-shadow: var(--glass-text-shadow);
}

.gallery-price-currency {
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: rgba(67, 28, 114, 0.82);
    font-weight: 400;
    text-shadow: var(--glass-text-shadow);
}

/* Filmstrip */
.gallery-filmstrip-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px clamp(8px, 1.2vw, 12px) 12px;
    background: linear-gradient(to top, #2d1654, #431c72);
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.filmstrip-nav {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filmstrip-nav:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: rgba(167, 139, 250, 0.6);
    transform: scale(1.06);
}

.filmstrip-nav svg {
    width: 16px;
    height: 16px;
}

.gallery-filmstrip {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 4px 10px;
    background: none;
}

.gallery-filmstrip::-webkit-scrollbar {
    display: none;
}

.gallery-filmstrip-item {
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    width: clamp(52px, 7vw, 68px);
    transition: transform 0.25s ease;
    position: relative;
}

.gallery-filmstrip-item:hover {
    transform: translateY(-3px);
}

.gallery-filmstrip-num {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.gallery-filmstrip-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-filmstrip-item.active .gallery-filmstrip-img {
    border-color: #a78bfa;
    box-shadow: 0 0 0 1px #a78bfa, 0 8px 24px rgba(139, 92, 246, 0.45);
}

.gallery-filmstrip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-filmstrip-item:hover .gallery-filmstrip-img img,
.gallery-filmstrip-item.active .gallery-filmstrip-img img {
    transform: scale(1.08);
}

.gallery-filmstrip-price {
    font-size: 0.48rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-filmstrip-item.active .gallery-filmstrip-price {
    color: #c4b5fd;
    font-weight: 700;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(12, 4, 20, 0.94);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-close svg {
    width: 22px;
    height: 22px;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }

.gallery-lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.gallery-lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    text-align: center;
}

.gallery-lightbox-caption-title {
    font-weight: 600;
}

.gallery-lightbox-caption-price {
    font-weight: 700;
    color: #fff;
}

/* ——— Right: Info ——— */
.vizitka-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-height: 0;
    padding: clamp(8px, 1.2vh, 14px) clamp(20px, 3.5vw, 40px) clamp(16px, 3vh, 32px);
    overflow-y: auto;
    background: transparent;
}

.vizitka-info::before {
    display: none;
}

.vizitka-info > * {
    position: relative;
    z-index: 1;
}

.vizitka-info-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding-top: 0;
    padding-bottom: clamp(6px, 1vh, 12px);
}

.vizitka-info-body > * {
    position: relative;
    z-index: 1;
}

.vizitka-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(67, 28, 114, 0.08);
    border: 1px solid rgba(67, 28, 114, 0.15);
    color: #431c72;
    font-size: clamp(0.55rem, 1vw, 0.65rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: clamp(8px, 1.2vh, 12px);
}

.vizitka-title {
    font-size: clamp(1.35rem, 3.4vw, 2.35rem);
    font-weight: 700;
    color: #431c72;
    line-height: 1.12;
    margin-bottom: clamp(6px, 1vh, 10px);
}

.vizitka-subtitle {
    position: relative;
    z-index: 2;
    font-size: clamp(0.7rem, 1.25vw, 0.85rem);
    color: #666;
    font-weight: 400;
    margin-bottom: clamp(14px, 2vh, 20px);
    max-width: 480px;
}

.vizitka-installment-wrap {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-bottom: clamp(12px, 1.8vh, 18px);
    max-width: 480px;
}

.vizitka-info .installment-badge {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(120deg, #5ee87a 0%, #21A038 42%, #178a2e 100%);
    border: 1.5px solid rgba(180, 255, 200, 0.75);
    box-shadow:
        0 8px 24px rgba(33, 160, 56, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(8, 60, 20, 0.25);
}

.vizitka-info .installment-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 30%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.06) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    animation: installmentShine 6s ease-in-out infinite;
}

@keyframes installmentShine {
    0% {
        left: -100%;
    }
    58% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vizitka-info .installment-badge::before {
        animation: none;
        left: 0;
        width: 100%;
        background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.1) 50%, transparent 62%);
    }
}

.vizitka-info .installment-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    pointer-events: none;
}

.vizitka-info .installment-badge-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    padding: 10px 6px;
    background: rgba(0, 0, 0, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    font-size: clamp(0.78rem, 1.45vw, 0.92rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.vizitka-info .installment-badge-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 8px 12px 8px 10px;
    text-align: left;
}

.vizitka-info .installment-badge-title {
    font-weight: 700;
    font-size: clamp(0.68rem, 1.15vw, 0.82rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    line-height: 1.15;
}

.vizitka-info .installment-badge-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.vizitka-info .installment-badge-sub,
.vizitka-info .installment-badge-bank {
    font-weight: 600;
    font-size: clamp(0.54rem, 0.95vw, 0.64rem);
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.25;
}

.vizitka-info .installment-badge-bank {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.vizitka-info .installment-badge-dot {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    line-height: 1;
}

.vizitka-perks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(6px, 1vh, 8px);
    margin-bottom: clamp(12px, 2vh, 18px);
    max-width: 480px;
}

.vizitka-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 245, 252, 0.88) 100%
    );
    border: 1px solid rgba(67, 28, 114, 0.1);
    box-shadow:
        0 2px 10px rgba(67, 28, 114, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.vizitka-perk:hover {
    border-color: rgba(139, 92, 246, 0.28);
    transform: translateY(-1px);
    box-shadow:
        0 6px 18px rgba(67, 28, 114, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.vizitka-perk-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(145deg, #5b2f96 0%, #431c72 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vizitka-perk-icon svg {
    width: 15px;
    height: 15px;
}

.vizitka-perk-text {
    font-size: clamp(0.58rem, 1vw, 0.7rem);
    color: #3d3d48;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.vizitka-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: clamp(10px, 1.6vh, 16px);
    max-width: 380px;
}

.vizitka-order-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vizitka-order-wrap.is-open {
    overflow: visible;
}

.vizitka-order-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    pointer-events: none;
    transition:
        max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.3s ease,
        margin-top 0.35s ease;
}

.vizitka-order-wrap.is-open .vizitka-order-menu {
    max-height: 68px;
    opacity: 1;
    margin-top: 12px;
    padding: 6px 0;
    overflow: visible;
    pointer-events: auto;
}

.vizitka-order-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #431c72 0%, #6b3fa8 100%);
    color: #fff;
    text-decoration: none;
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vizitka-order-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-100%);
    animation: orderIconShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orderIconShine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

.vizitka-order-wrap.is-open .vizitka-order-icon {
    transform: scale(1);
    opacity: 1;
}

.vizitka-order-wrap.is-open .vizitka-order-icon:nth-child(1) {
    transition-delay: 0.04s;
}

.vizitka-order-wrap.is-open .vizitka-order-icon:nth-child(2) {
    transition-delay: 0.08s;
}

.vizitka-order-wrap.is-open .vizitka-order-icon:nth-child(3) {
    transition-delay: 0.12s;
}

.vizitka-order-wrap.is-open .vizitka-order-icon:hover {
    transform: scale(1.06);
}

.vizitka-order-icon svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.vizitka-order-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.vizitka-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: clamp(10px, 1.5vh, 13px) 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #431c72 0%, #6b3fa8 100%);
    color: #fff;
    font-family: inherit;
    font-size: clamp(0.72rem, 1.25vw, 0.84rem);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(67, 28, 114, 0.3);
}

.vizitka-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(67, 28, 114, 0.4);
}

.vizitka-order-wrap.is-open .vizitka-cta {
    transform: none;
}

.vizitka-order-wrap.is-open .vizitka-cta:hover {
    transform: scale(1.02);
}

.vizitka-cta-label {
    line-height: 1.2;
}

.vizitka-cta-close {
    display: none;
    width: 22px;
    height: 22px;
}

.vizitka-order-wrap.is-open .vizitka-cta-label {
    display: none;
}

.vizitka-order-wrap.is-open .vizitka-cta-close {
    display: block;
}

.vizitka-cta-secondary {
    text-align: center;
    font-size: clamp(0.6rem, 1vw, 0.7rem);
    color: #431c72;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.vizitka-cta-secondary:hover {
    opacity: 1;
    text-decoration: underline;
}

.vizitka-policy {
    flex-shrink: 0;
    align-self: flex-end;
    width: 100%;
    padding-top: clamp(8px, 1.2vh, 12px);
    text-align: right;
}

.vizitka-policy-link {
    color: rgba(67, 28, 114, 0.45);
    font-size: clamp(0.42rem, 0.75vw, 0.5rem);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.vizitka-policy-link:hover {
    color: #431c72;
    text-decoration: underline;
}

/* ——— Footer ——— */
.site-footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, #3a1878 0%, #431c72 45%, #5b2f96 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(26px, 3.5vh, 34px) clamp(16px, 3vw, 32px) 14px;
}

.site-footer-shell {
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin-bottom: 8px;
}

.site-footer-item {
    font-size: clamp(0.6rem, 1.05vw, 0.72rem);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}

.site-footer-item a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.site-footer-item a:hover {
    opacity: 0.85;
}

.site-footer-schedule {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    white-space: normal;
}

.site-footer-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
    user-select: none;
}

.site-footer-note {
    display: inline-block;
    font-size: clamp(0.5rem, 0.9vw, 0.58rem);
    font-weight: 700;
    line-height: 1.2;
    color: #431c72;
    background: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.site-footer-requisites {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    margin-bottom: 6px;
    font-size: clamp(0.54rem, 0.95vw, 0.64rem);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.site-footer-requisites a,
.site-footer-requisites a[href^="tel"],
.site-footer-num,
.site-footer-num-part {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    pointer-events: none;
    cursor: default;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
}

.site-footer-num-part + .site-footer-num-part::before {
    content: '\200c';
}

.footer-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0 0;
    text-align: center;
}

.footer-credit__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
}

.footer-credit__link {
    display: inline-flex;
    line-height: 0;
}

.footer-credit__link img {
    display: block;
    height: 26px;
    width: auto;
}

.site-footer-copyright {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: clamp(0.54rem, 0.95vw, 0.64rem);
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.35;
}

/* ——— Policy page ——— */
body.policy-body {
    overflow: auto;
    background: #f8f5fc;
    min-height: 100%;
}

.policy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px clamp(16px, 3vw, 32px);
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    background: linear-gradient(135deg, #3a1878 0%, #431c72 45%, #5b2f96 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-header-logo img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.policy-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.policy-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.policy-page {
    padding: calc(72px + env(safe-area-inset-top, 0px) + clamp(24px, 4vh, 40px)) clamp(16px, 3vw, 24px) clamp(40px, 6vh, 64px);
}

.policy-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    color: #431c72;
    margin-bottom: clamp(20px, 3vh, 36px);
    text-align: center;
    line-height: 1.2;
}

.policy-content {
    background: #fff;
    padding: clamp(20px, 4vw, 40px);
    border-radius: 20px;
    box-shadow: 0 5px 24px rgba(67, 28, 114, 0.1);
}

.policy-content h2 {
    color: #431c72;
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin-top: 28px;
    margin-bottom: 12px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p,
.policy-content li {
    color: #333;
    line-height: 1.75;
    margin-bottom: 14px;
    font-size: clamp(0.78rem, 1.4vw, 0.92rem);
    font-weight: 400;
}

.policy-content ul {
    margin-left: 22px;
    margin-bottom: 18px;
}

.policy-content a {
    color: #431c72;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #6b4c9a;
}

.policy-content strong {
    color: #431c72;
    font-weight: 700;
}

.policy-content-note {
    margin-top: 36px;
    text-align: center;
    color: #888;
    font-size: clamp(0.72rem, 1.2vw, 0.85rem);
}

/* ——— Laptop / desktop: сдержанные размеры правой колонки ——— */
@media (min-width: 901px) and (max-width: 1599px) {
    .vizitka-intro {
        padding: clamp(28px, 4.5vh, 48px) clamp(20px, 3vw, 36px) clamp(6px, 1vh, 12px);
    }

    .vizitka-info {
        padding: clamp(8px, 1.2vh, 16px) clamp(20px, 3vw, 36px) clamp(16px, 2.5vh, 32px);
    }

    .vizitka-badge {
        font-size: clamp(0.52rem, 0.72vw, 0.62rem);
    }

    .vizitka-title {
        font-size: clamp(1.25rem, 2.2vw, 1.95rem);
    }

    .vizitka-subtitle {
        font-size: clamp(0.68rem, 0.95vw, 0.82rem);
        max-width: 520px;
    }

    .vizitka-installment-wrap {
        max-width: 420px;
    }

    .vizitka-info .installment-badge {
        max-width: 320px;
    }

    .vizitka-info .installment-badge-mark {
        width: 46px;
        font-size: 0.82rem;
    }

    .vizitka-info .installment-badge-title {
        font-size: 0.72rem;
    }

    .vizitka-info .installment-badge-sub,
    .vizitka-info .installment-badge-bank {
        font-size: 0.58rem;
    }

    .vizitka-perks {
        max-width: 520px;
        gap: 8px;
    }

    .vizitka-perk {
        min-height: 44px;
        padding: 8px 12px;
    }

    .vizitka-perk-icon {
        width: 32px;
        height: 32px;
    }

    .vizitka-perk-icon svg {
        width: 16px;
        height: 16px;
    }

    .vizitka-perk-text {
        font-size: clamp(0.58rem, 0.82vw, 0.74rem);
    }

    .vizitka-actions {
        max-width: 420px;
    }

    .vizitka-cta {
        padding: 12px 20px;
        font-size: 0.78rem;
    }

    .vizitka-cta-secondary {
        font-size: 0.65rem;
    }

    .vizitka-order-icon {
        width: 44px;
        height: 44px;
    }

    .vizitka-order-icon svg,
    .vizitka-order-icon img {
        width: 20px;
        height: 20px;
    }

    .vizitka-policy-link {
        font-size: 0.48rem;
    }
}

/* ——— Большие мониторы: чуть крупнее, но без переразмера ——— */
@media (min-width: 1600px) {
    .vizitka-intro {
        padding: clamp(36px, 5vh, 64px) clamp(24px, 3vw, 48px) clamp(8px, 1vh, 14px);
    }

    .vizitka-info {
        padding: clamp(10px, 1.5vh, 20px) clamp(24px, 3vw, 48px) clamp(20px, 3vh, 40px);
    }

    .vizitka-badge {
        font-size: clamp(0.58rem, 0.55vw, 0.72rem);
    }

    .vizitka-title {
        font-size: clamp(1.6rem, 1.8vw, 2.35rem);
    }

    .vizitka-subtitle {
        font-size: clamp(0.75rem, 0.75vw, 0.95rem);
        max-width: min(36vw, 620px);
    }

    .vizitka-installment-wrap {
        max-width: min(32vw, 520px);
    }

    .vizitka-info .installment-badge {
        max-width: min(24vw, 400px);
    }

    .vizitka-info .installment-badge-mark {
        width: clamp(48px, 2.8vw, 58px);
        font-size: clamp(0.82rem, 0.75vw, 1rem);
    }

    .vizitka-info .installment-badge-title {
        font-size: clamp(0.74rem, 0.62vw, 0.92rem);
    }

    .vizitka-info .installment-badge-sub,
    .vizitka-info .installment-badge-bank {
        font-size: clamp(0.58rem, 0.5vw, 0.72rem);
    }

    .vizitka-perks {
        max-width: min(36vw, 620px);
        gap: clamp(8px, 0.8vh, 12px);
    }

    .vizitka-perk {
        min-height: clamp(48px, 4vh, 58px);
        padding: clamp(9px, 0.9vh, 12px) clamp(11px, 1vw, 14px);
    }

    .vizitka-perk-icon {
        width: clamp(34px, 2vw, 40px);
        height: clamp(34px, 2vw, 40px);
    }

    .vizitka-perk-icon svg {
        width: clamp(16px, 1vw, 20px);
        height: clamp(16px, 1vw, 20px);
    }

    .vizitka-perk-text {
        font-size: clamp(0.62rem, 0.55vw, 0.82rem);
    }

    .vizitka-actions {
        max-width: min(28vw, 480px);
    }

    .vizitka-cta {
        padding: clamp(12px, 1.4vh, 16px) clamp(18px, 1.4vw, 24px);
        font-size: clamp(0.78rem, 0.62vw, 0.92rem);
    }

    .vizitka-cta-secondary {
        font-size: clamp(0.62rem, 0.5vw, 0.78rem);
    }

    .vizitka-order-icon {
        width: clamp(44px, 2.4vw, 50px);
        height: clamp(44px, 2.4vw, 50px);
    }

    .vizitka-order-icon svg,
    .vizitka-order-icon img {
        width: clamp(20px, 1.1vw, 22px);
        height: clamp(20px, 1.1vw, 22px);
    }

    .vizitka-policy-link {
        font-size: clamp(0.48rem, 0.38vw, 0.58rem);
    }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
    html, body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .vizitka-page {
        height: auto;
        min-height: 100dvh;
        padding-top: 56px;
    }

    .vizitka-split {
        display: flex;
        flex-direction: column;
        flex: none;
        overflow: visible;
        min-height: auto;
    }

    .vizitka-right {
        display: contents;
    }

    .vizitka-intro {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 16px 10px;
        background: linear-gradient(160deg, #fff 0%, #f3ecfa 100%);
    }

    .vizitka-gallery {
        order: 2;
        flex: none;
        width: 100%;
        height: min(52dvh, 440px);
        min-height: 0;
    }

    .vizitka-divider {
        order: 3;
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        height: 28px;
        margin: -14px 0;
        z-index: 20;
    }

    .vizitka-info {
        order: 4;
        min-height: auto;
        overflow: visible;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 12px 16px 20px;
        background: linear-gradient(160deg, #fff 0%, #f3ecfa 100%);
    }

    .vizitka-divider-glow {
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(139, 92, 246, 0.08) 40%,
            rgba(243, 236, 250, 0.35) 60%,
            transparent 100%
        );
    }

    .vizitka-divider-line {
        top: 50%;
        bottom: auto;
        left: 10%;
        right: 10%;
        width: auto;
        height: 2px;
        transform: translateY(-50%);
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(167, 139, 250, 0.55) 10%,
            #8b5cf6 28%,
            #431c72 50%,
            #8b5cf6 72%,
            rgba(167, 139, 250, 0.55) 90%,
            transparent 100%
        );
    }

    .vizitka-info-body {
        flex: none;
        align-items: center;
        width: 100%;
        padding-top: 4px;
        padding-bottom: 0;
    }

    .vizitka-badge {
        align-self: center;
        font-size: 0.52rem;
        line-height: 1.45;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .vizitka-intro .vizitka-title {
        font-size: clamp(1.45rem, 7.2vw, 2.05rem);
        margin-bottom: 8px;
        text-align: center;
        line-height: 1.1;
    }

    .vizitka-title {
        font-size: clamp(1.45rem, 7.2vw, 2.05rem);
        margin-bottom: 8px;
        text-align: center;
    }

    .vizitka-intro .vizitka-subtitle {
        font-size: 0.72rem;
        margin-bottom: 0;
        max-width: 100%;
        text-align: center;
    }

    .vizitka-installment-wrap,
    .vizitka-info .installment-badge,
    .vizitka-perks,
    .vizitka-actions {
        max-width: 100%;
    }

    .vizitka-installment-wrap {
        align-self: center;
        width: auto;
        max-width: min(280px, 82vw);
    }

    .vizitka-info .installment-badge {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .vizitka-perks,
    .vizitka-actions {
        width: 100%;
    }

    .vizitka-info .installment-badge-inner {
        padding: 8px 10px;
        align-items: center;
        text-align: center;
    }

    .vizitka-info .installment-badge-meta {
        justify-content: center;
    }

    .vizitka-perks {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 14px;
        justify-items: stretch;
    }

    .vizitka-perk {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        min-height: auto;
        padding: 10px 12px;
        text-align: center;
    }

    .vizitka-perk-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        margin: 0;
    }

    .vizitka-perk-icon svg {
        width: 16px;
        height: 16px;
    }

    .vizitka-perk-text {
        flex: none;
        width: 100%;
        font-size: 0.62rem;
        text-align: center;
        line-height: 1.35;
    }

    .vizitka-actions {
        margin-bottom: 10px;
        align-items: center;
    }

    .vizitka-cta-secondary {
        font-size: 0.62rem;
        line-height: 1.4;
        text-align: center;
    }

    .vizitka-policy {
        padding-top: 10px;
        align-self: center;
        text-align: center;
    }

    .vizitka-policy-link {
        font-size: 0.46rem;
        line-height: 1.45;
    }

    .vizitka-cta {
        font-size: 0.78rem;
        padding: 12px 16px;
    }

    .vizitka-order-menu {
        gap: 12px;
        justify-content: center;
    }

    .vizitka-order-wrap.is-open .vizitka-order-menu {
        max-height: 52px;
        margin-top: 10px;
    }

    .vizitka-order-icon {
        width: 38px;
        height: 38px;
    }

    .vizitka-order-icon svg,
    .vizitka-order-icon img {
        width: 17px;
        height: 17px;
    }

    .header {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 14px;
        gap: 10px;
    }

    .header-phone-note {
        display: none;
    }

    .header-phone-link {
        font-size: 0.72rem;
    }

    .logo img {
        height: 34px;
    }

    .header-social {
        gap: 10px;
    }

    .header-social img {
        width: 20px;
        height: 20px;
    }

    .gallery-top {
        padding: 10px 12px;
    }

    .gallery-label {
        font-size: 0.52rem;
        letter-spacing: 0.08em;
        padding: 5px 10px;
    }

    .gallery-counter {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .gallery-zoom {
        top: 48px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

    .gallery-nav-btn {
        opacity: 1;
        width: 36px;
        height: 36px;
    }

    .gallery-caption {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .gallery-caption-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .gallery-caption-inner h2 {
        white-space: normal;
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .gallery-caption-num {
        font-size: 1.15rem;
    }

    .gallery-price {
        font-size: 0.95rem;
    }

    .gallery-filmstrip-wrap {
        padding: 8px 8px 10px;
    }

    .filmstrip-nav {
        width: 28px;
        height: 28px;
    }

    .gallery-filmstrip-item {
        width: 56px;
    }

    .site-footer {
        padding: 22px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .site-footer-sep {
        display: none;
    }

    .site-footer-bar,
    .site-footer-requisites {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .site-footer-item,
    .site-footer-requisites span {
        white-space: normal;
    }

    .site-footer-requisites a,
    .site-footer-requisites a[href^="tel"],
    .site-footer-num,
    .site-footer-num-part {
        color: rgba(255, 255, 255, 0.55) !important;
        text-decoration: none !important;
        pointer-events: none !important;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
    }

    .site-footer-schedule {
        flex-direction: column;
        gap: 5px;
    }

    .cookie-banner {
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
        width: calc(100% - 24px);
        padding: 18px 16px;
    }

    .cookie-banner-text {
        font-size: 13px;
    }

    .cookie-checkbox-label {
        font-size: 12px;
    }

    .cookie-banner-actions {
        gap: 14px;
    }

    .cookie-accept-btn {
        padding: 10px 24px;
        font-size: 13px;
    }

    .gallery-lightbox {
        padding: 12px;
    }

    .gallery-lightbox-close {
        top: 12px;
        right: 12px;
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-lightbox-caption {
        white-space: normal;
        max-width: calc(100vw - 48px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        line-height: 1.3;
        border-radius: 14px;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
    }

    .gallery-lightbox-caption-title {
        font-size: 0.82rem;
        font-weight: 600;
    }

    .gallery-lightbox-caption-price {
        font-size: 0.88rem;
        font-weight: 700;
        color: #fff;
    }

    .policy-header {
        padding: 12px 14px;
        padding-top: max(12px, env(safe-area-inset-top, 0px));
    }

    .policy-header-logo img {
        height: 30px;
    }

    .policy-page {
        padding: calc(58px + env(safe-area-inset-top, 0px) + 20px) 14px 32px;
    }

    .policy-content {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .policy-content ul {
        margin-left: 18px;
    }
}

@media (max-width: 480px) {
    .vizitka-page {
        padding-top: 52px;
    }

    .vizitka-gallery {
        height: min(48dvh, 360px);
    }

    .vizitka-intro {
        padding: 12px 14px 8px;
    }

    .vizitka-intro .vizitka-subtitle {
        font-size: 0.68rem;
    }

    .header-container {
        padding: 0 12px;
        gap: 8px;
    }

    .logo img {
        height: 30px;
    }

    .header-phone-link {
        font-size: 0.66rem;
    }

    .header-social img {
        width: 18px;
        height: 18px;
    }

    .vizitka-info {
        padding: 14px 14px 18px;
    }

    .vizitka-badge {
        font-size: 0.48rem;
        padding: 4px 8px;
    }

    .vizitka-intro .vizitka-title,
    .vizitka-title {
        font-size: 1.38rem;
    }

    .vizitka-installment-wrap {
        max-width: min(260px, 78vw);
    }

    .vizitka-subtitle {
        font-size: 0.68rem;
    }

    .vizitka-info .installment-badge-mark {
        width: 42px;
        padding: 8px 5px;
        font-size: 0.72rem;
    }

    .vizitka-info .installment-badge-title {
        font-size: 0.64rem;
    }

    .vizitka-info .installment-badge-sub,
    .vizitka-info .installment-badge-bank {
        font-size: 0.52rem;
    }

    .gallery-filmstrip-item {
        width: 50px;
    }

    .gallery-caption-inner h2 {
        font-size: 0.72rem;
    }

    .gallery-caption-num {
        font-size: 1rem;
    }

    .vizitka-order-icon {
        width: 36px;
        height: 36px;
    }

    .site-footer {
        padding-top: 20px;
    }

    .site-footer-item {
        font-size: 0.58rem;
    }

    .site-footer-requisites,
    .site-footer-copyright {
        font-size: 0.52rem;
    }

    .header-container {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .header-phone-link {
        font-size: 0.62rem;
    }

    .vizitka-policy {
        text-align: center;
    }

    .vizitka-policy-link {
        font-size: 0.44rem;
    }

    .policy-title {
        font-size: 1.1rem;
    }

    .policy-content h2 {
        font-size: 0.95rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.74rem;
    }
}

/* ——— Cookie Banner ——— */
.cookie-banner {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    width: calc(100% - 40px);
    max-width: 800px;
    padding: 25px 35px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(248, 245, 252, 0.96) 100%
    );
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 40px rgba(67, 28, 114, 0.28),
        0 4px 16px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition:
        transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.5s ease,
        visibility 0.5s ease;
    overflow: hidden;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: cookieShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cookieShine {
    0%, 100% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.cookie-banner-text {
    font-weight: 400;
    font-size: 14px;
    color: #431c72;
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 13px;
    color: #431c72;
}

.cookie-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #431c72;
}

.cookie-accept-btn {
    padding: 12px 30px;
    background: rgba(67, 28, 114, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-accept-btn:hover:not(:disabled) {
    background: rgba(67, 28, 114, 1);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(67, 28, 114, 0.3);
}

.cookie-accept-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.glass-link {
    color: #431c72;
    text-decoration: underline;
    font-weight: 600;
}

.glass-link:hover {
    color: #6b3fa8;
}
