/* ==========================================================================
   Мирчев Студио — Home page redesign (index-v1)
   Scoped to body.v1 and .v1-* classes; loaded only by index-v1.html.
   ========================================================================== */

/* ---------- Design tokens ---------- */
.v1 {
    --v1-ink: #16110D;
    --v1-ink-2: #211A15;
    --v1-ink-3: #2E251F;
    --v1-paper: #F8F3EC;
    --v1-sand: #EFE6DA;
    --v1-gold: #EAA636;          /* brand gold (unchanged) */
    --v1-gold-soft: #F3C877;
    --v1-gold-text: #8C5D14;     /* gold for text on light backgrounds (5.1:1) */
    --v1-text: #2A221C;
    --v1-muted: #5E544B;
    --v1-on-dark: #F4EDE4;
    --v1-on-dark-muted: #B9AEA3;
    --v1-line: rgba(42, 34, 28, .14);
    --v1-line-dark: rgba(244, 237, 228, .14);

    --v1-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --v1-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --v1-radius: 6px;
    --v1-radius-lg: 14px;
    --v1-shadow: 0 30px 60px -30px rgba(22, 17, 13, .45);
    --v1-shadow-sm: 0 12px 30px -16px rgba(22, 17, 13, .35);
    --v1-ease: cubic-bezier(.22, .61, .36, 1);
    --v1-header-h: 76px;
    --v1-gutter: clamp(16px, 4vw, 40px);
    --v1-section-y: clamp(72px, 10vw, 140px);
}

/* ---------- Scoped base ---------- */
.v1,
.v1 *,
.v1 *::before,
.v1 *::after {
    box-sizing: border-box;
}

html:has(body.v1) {
    scroll-behavior: smooth;
    scroll-padding-top: 92px; /* header height (76px) + breathing room; the token lives on body, not html */
}

.v1 {
    margin: 0;
    background: var(--v1-paper);
    color: var(--v1-text);
    font-family: var(--v1-sans);
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.v1.v1-lock {
    overflow: hidden;
}

:where(.v1) img,
:where(.v1) video {
    display: block;
    max-width: 100%;
    height: auto;
}

:where(.v1) figure {
    margin: 0;
}

:where(.v1) p {
    margin: 0 0 1.1em;
}

:where(.v1) a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

:where(.v1) ul,
:where(.v1) ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.v1) h1,
:where(.v1) h2,
:where(.v1) h3 {
    margin: 0;
    font-weight: 600;
}

.v1 :focus-visible {
    outline: 2px solid var(--v1-gold);
    outline-offset: 3px;
    border-radius: 3px;
}

.v1 ::selection {
    background: var(--v1-gold);
    color: var(--v1-ink);
}

.v1-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.v1-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.v1-icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: currentColor;
}

.v1-container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--v1-gutter);
}

/* Skip link */
.v1-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100001;
    padding: 10px 18px;
    background: var(--v1-gold);
    color: var(--v1-ink) !important;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .25s var(--v1-ease);
}

.v1-skip:focus {
    transform: none;
}

/* ---------- Typography helpers ---------- */
.v1-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px !important;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--v1-gold-text);
}

.v1-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.v1-eyebrow--light {
    color: var(--v1-gold);
}

.v1-h2 {
    font-family: var(--v1-serif);
    font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    margin-bottom: 28px !important;
    text-wrap: balance;
}

.v1-h2 em {
    font-style: italic;
    color: var(--v1-gold-text);
}

.v1-lead {
    font-size: 1.15rem;
    color: var(--v1-text);
}

.v1-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--v1-gold-text);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: gap .3s var(--v1-ease);
}

.v1-link:hover {
    gap: 16px;
}

/* ---------- Buttons ---------- */
.v1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--v1-sans);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s var(--v1-ease), color .3s var(--v1-ease), border-color .3s var(--v1-ease), transform .3s var(--v1-ease), box-shadow .3s var(--v1-ease);
}

.v1-btn:hover {
    transform: translateY(-2px);
}

.v1-btn:active {
    transform: translateY(0);
}

.v1-btn--gold {
    background: var(--v1-gold);
    color: var(--v1-ink);
    box-shadow: 0 10px 24px -12px rgba(234, 166, 54, .8);
}

.v1-btn--gold:hover {
    background: var(--v1-gold-soft);
    color: var(--v1-ink);
}

.v1-btn--ghost {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.v1-btn--ghost:hover {
    background: #fff;
    color: var(--v1-ink);
    border-color: #fff;
}

.v1-btn--dark {
    background: var(--v1-ink);
    color: var(--v1-on-dark);
}

.v1-btn--dark:hover {
    background: var(--v1-gold);
    color: var(--v1-ink);
}

.v1-btn--lg {
    min-height: 54px;
    padding: 14px 30px;
    font-size: 1rem;
}

.v1-btn--xl {
    min-height: 62px;
    padding: 16px 38px;
    font-size: 1.12rem;
}

.v1-btn--outline {
    background: transparent;
    color: var(--v1-text);
    border-color: rgba(42, 34, 28, .35);
}

.v1-btn--outline:hover {
    background: var(--v1-ink);
    border-color: var(--v1-ink);
    color: var(--v1-on-dark);
}

/* ---------- Preloader (#spinner, toggled with .show like the original) ---------- */
.v1-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: var(--v1-ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease-out, visibility 0s linear .6s;
}

.v1-loader.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    /* Failsafe: if JavaScript never runs, the loader still clears itself */
    animation: v1-loader-failsafe .6s ease-out 4s forwards;
}

@keyframes v1-loader-failsafe {
    to { opacity: 0; visibility: hidden; }
}

.v1-loader__mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid var(--v1-gold);
    border-radius: 50%;
    font-family: var(--v1-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--v1-gold);
    animation: v1-pulse 1.4s ease-in-out infinite;
}

@keyframes v1-pulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(234, 166, 54, .4); }
    50% { transform: scale(.94); opacity: .75; box-shadow: 0 0 0 18px rgba(234, 166, 54, 0); }
}

/* ---------- Header ---------- */
.v1-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    color: #fff;
    transition: background-color .4s var(--v1-ease), box-shadow .4s var(--v1-ease), backdrop-filter .4s;
}

.v1-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(22, 17, 13, .55), rgba(22, 17, 13, 0));
    transition: opacity .4s;
    pointer-events: none;
}

.v1-header.scrolled {
    background: rgba(22, 17, 13, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
}

.v1-header.scrolled::before {
    opacity: 0;
}

/* A backdrop-filter would trap the fixed mobile menu inside the header bar */
.v1-header.is-menu-open {
    background: var(--v1-ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.v1-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--v1-header-h);
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--v1-gutter);
}

.v1-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    flex: none;
    position: relative;
    z-index: 2;
}

.v1-brand__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--v1-gold);
    border-radius: 50%;
    font-family: var(--v1-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    color: var(--v1-gold);
}

.v1-brand__name {
    font-family: var(--v1-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.v1-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.v1-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.v1-nav__link {
    position: relative;
    display: block;
    padding: 10px 11px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s;
}

.v1-nav__link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 1px;
    background: var(--v1-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--v1-ease);
}

.v1-nav__link:hover,
.v1-nav__link.is-active {
    color: var(--v1-gold);
}

.v1-nav__link:hover::after,
.v1-nav__link.is-active::after {
    transform: scaleX(1);
}

.v1-nav__cta {
    min-height: 42px;
    padding: 9px 18px;
    font-size: .88rem;
}

.v1-burger {
    display: none;
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.v1-burger__bar {
    position: absolute;
    left: 14px;
    right: 14px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .35s var(--v1-ease), opacity .2s, top .35s var(--v1-ease);
}

.v1-burger__bar:nth-child(1) { top: 17px; }
.v1-burger__bar:nth-child(2) { top: 23px; }
.v1-burger__bar:nth-child(3) { top: 29px; }

.v1-burger[aria-expanded="true"] .v1-burger__bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.v1-burger[aria-expanded="true"] .v1-burger__bar:nth-child(2) { opacity: 0; }
.v1-burger[aria-expanded="true"] .v1-burger__bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1279.98px) {
    .v1-nav__cta { display: none; }
}

@media (max-width: 1119.98px) {
    .v1 { --v1-header-h: 68px; }

    .v1-burger { display: block; }

    .v1-brand__name { font-size: 1.4rem; }

    .v1-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 32px;
        padding: calc(var(--v1-header-h) + 16px) var(--v1-gutter) 40px;
        background: var(--v1-ink);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .35s var(--v1-ease), transform .35s var(--v1-ease), visibility 0s linear .35s;
    }

    .v1-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .35s var(--v1-ease), transform .35s var(--v1-ease), visibility 0s;
    }

    .v1-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: 520px;
        width: 100%;
        margin-inline: auto;
    }

    .v1-nav__list li {
        border-bottom: 1px solid var(--v1-line-dark);
    }

    .v1-nav__link {
        padding: 12px 0;
        font-family: var(--v1-serif);
        font-size: clamp(1.6rem, 6vw, 2.1rem);
        font-weight: 600;
        letter-spacing: 0;
        color: var(--v1-on-dark);
    }

    .v1-nav__link::after { display: none; }

    .v1-nav__cta {
        display: inline-flex;
        align-self: center;
        min-height: 54px;
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ---------- Hero ---------- */
.v1-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--v1-header-h) + 40px);
    background: var(--v1-ink);
    color: #fff;
    overflow: hidden;
}

.v1-hero__video,
.v1-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 40%;
}

.v1-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(22, 17, 13, .92) 0%, rgba(22, 17, 13, .55) 38%, rgba(22, 17, 13, .15) 70%, rgba(22, 17, 13, .35) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(22, 17, 13, .45), transparent 60%);
}

.v1-hero__content {
    padding-bottom: clamp(40px, 7vh, 80px);
}

.v1-hero__title {
    max-width: 15ch;
    margin-bottom: 24px;
    font-family: var(--v1-serif);
    font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.015em;
    color: #fff;
    text-wrap: balance;
}

.v1-hero__lead {
    max-width: 54ch;
    margin-bottom: 36px !important;
    font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
}

.v1-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.v1-hero__eyebrow,
.v1-hero__title,
.v1-hero__lead,
.v1-hero__actions {
    animation: v1-rise 1s var(--v1-ease) both;
}

.v1-hero__title { animation-delay: .12s; }
.v1-hero__lead { animation-delay: .28s; }
.v1-hero__actions { animation-delay: .42s; }

@keyframes v1-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

.v1-hero__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.v1-hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.v1-hero__scroll:hover {
    color: var(--v1-gold);
}

.v1-hero__scroll-line {
    position: relative;
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden;
}

.v1-hero__scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--v1-gold);
    animation: v1-scan 2.2s var(--v1-ease) infinite;
}

@keyframes v1-scan {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.v1-hero__toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(22, 17, 13, .3);
    color: #fff;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.v1-hero__toggle:hover {
    background: var(--v1-gold);
    border-color: var(--v1-gold);
    color: var(--v1-ink);
}

.v1-hero__toggle .v1-icon { width: 16px; height: 16px; }
.v1-hero__toggle .v1-icon--play { display: none; }
.v1-hero__toggle[aria-pressed="true"] .v1-icon--pause { display: none; }
.v1-hero__toggle[aria-pressed="true"] .v1-icon--play { display: block; }

/* ---------- Inner-page hero + breadcrumbs (about, service, …) ---------- */
.v1-hero--page {
    min-height: 72vh;
    min-height: 72svh;
}

@media (max-width: 575.98px) {
    .v1-hero--page {
        min-height: 62vh;
        min-height: 62svh;
    }
}

.v1-hero--page .v1-hero__title {
    max-width: 18ch;
    margin-bottom: 0;
}

.v1-hero--page .v1-hero__content {
    padding-bottom: clamp(36px, 6vh, 64px);
}

/* Breadcrumbs */
.v1-crumbs {
    margin-bottom: 18px;
}

.v1-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.v1-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--v1-gold);
}

.v1-crumbs li + li::before {
    content: "";
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}

.v1-crumbs a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.v1-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ---------- Split hero: dark, title + two photos (price, photo gallery) ---------- */
.v1-split-hero {
    position: relative;
    isolation: isolate;
    padding: calc(var(--v1-header-h) + clamp(40px, 7vw, 90px)) 0 clamp(56px, 8vw, 100px);
    background:
        radial-gradient(ellipse at 85% 20%, rgba(234, 166, 54, .14), transparent 55%),
        var(--v1-ink);
    color: #fff;
    overflow: hidden;
}

.v1-split-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .v1-split-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

.v1-split-hero__title {
    margin-bottom: 10px !important;
    font-size: clamp(3.6rem, 2rem + 7vw, 7.5rem);
}

.v1-split-hero__lead {
    margin-bottom: 34px !important;
    font-family: var(--v1-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    color: var(--v1-gold);
    animation: v1-rise 1s var(--v1-ease) .2s both;
}

.v1-icon--down {
    transform: rotate(90deg);
}

.v1-split-hero__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    animation: v1-rise 1.1s var(--v1-ease) .3s both;
}

.v1-split-hero__media figure {
    overflow: hidden;
    border-radius: var(--v1-radius-lg);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
    outline: 1px solid rgba(255, 255, 255, .08);
}

.v1-split-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .v1-split-hero .v1-hero__actions .v1-btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.v1-section {
    position: relative;
    padding-block: var(--v1-section-y);
}

.v1-section--dark {
    background: var(--v1-ink);
    color: var(--v1-on-dark-muted);
}

.v1-section--dark .v1-h2 {
    color: var(--v1-on-dark);
}

.v1-section--sand {
    background: var(--v1-sand);
}

.v1-section-head {
    max-width: 720px;
    margin: 0 auto clamp(44px, 6vw, 72px);
    text-align: center;
}

.v1-section-head .v1-eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.v1-section-head .v1-h2 {
    margin-bottom: 0 !important;
}

/* Two-column split */
.v1-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

@media (min-width: 992px) {
    .v1-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .v1-split--media-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .v1-split--wide-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

/* ---------- Intro ---------- */
.v1-intro .v1-split__text > p:not(.v1-eyebrow):not(.v1-lead) {
    color: var(--v1-muted);
}

.v1-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 8px 0 32px !important;
    padding: 24px 0 !important;
    border-block: 1px solid var(--v1-line);
}

.v1-services li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v1-services .v1-icon {
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(234, 166, 54, .18);
    color: var(--v1-gold-text);
}

.v1-services h3 {
    font-family: var(--v1-sans);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--v1-text);
}

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

/* Collage */
.v1-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto;
    align-items: start;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
}

.v1-collage::before {
    content: "";
    position: absolute;
    inset: 8% 12% 6% 10%;
    border: 1px solid rgba(234, 166, 54, .55);
    border-radius: var(--v1-radius-lg);
    z-index: 0;
}

.v1-collage__item {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: var(--v1-radius);
    box-shadow: var(--v1-shadow);
    background: var(--v1-sand);
}

.v1-collage__item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s var(--v1-ease);
}

.v1-collage__item:hover img {
    transform: scale(1.04);
}

.v1-collage__item--a { grid-column: 1 / 8; grid-row: 1; }
.v1-collage__item--b { grid-column: 9 / 13; grid-row: 1; margin-top: 18%; }
.v1-collage__item--c { grid-column: 2 / 6; grid-row: 2; margin-top: 8%; justify-self: stretch; }
.v1-collage__item--d { grid-column: 6 / 13; grid-row: 2; margin-top: -34%; }

.v1-collage__item--b,
.v1-collage__item--c {
    outline: 6px solid var(--v1-paper);
}

/* ---------- Team (dark) ---------- */
.v1-team__media {
    position: relative;
    border-radius: var(--v1-radius-lg);
    overflow: hidden;
    background: var(--v1-ink-3);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

.v1-team__video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.v1-team__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: inherit;
    pointer-events: none;
}

.v1-team__tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(22, 17, 13, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--v1-on-dark);
}

.v1-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5533D;
    box-shadow: 0 0 0 0 rgba(229, 83, 61, .6);
    animation: v1-rec 1.8s ease-out infinite;
}

@keyframes v1-rec {
    0% { box-shadow: 0 0 0 0 rgba(229, 83, 61, .6); }
    100% { box-shadow: 0 0 0 10px rgba(229, 83, 61, 0); }
}

.v1-pullquote {
    position: relative;
    margin: 30px 0 36px !important;
    padding-left: 26px;
    border-left: 2px solid var(--v1-gold);
    font-family: var(--v1-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--v1-gold);
}

/* ---------- Strength cards ---------- */
.v1-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

@media (min-width: 640px) {
    .v1-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .v1-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
    .v1-cards > :nth-child(2) { margin-top: 56px; }
}

@media (min-width: 640px) and (max-width: 991.98px) {
    .v1-cards > :nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
    .v1-cards > :nth-child(3) .v1-card__media img { height: 100%; }
}

.v1-card {
    display: flex;
    flex-direction: column;
    background: var(--v1-paper);
    border-radius: var(--v1-radius-lg);
    overflow: hidden;
    box-shadow: var(--v1-shadow-sm);
    transition: transform .5s var(--v1-ease), box-shadow .5s var(--v1-ease);
}

.v1-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--v1-shadow);
}

.v1-card__media {
    position: relative;
    overflow: hidden;
}

.v1-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3.6;
    object-fit: cover;
    transition: transform 1.2s var(--v1-ease);
}

.v1-card:hover .v1-card__media img {
    transform: scale(1.05);
}

.v1-card__body {
    padding: 28px 28px 30px;
}

.v1-card__kicker {
    margin: 0 0 8px !important;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--v1-gold-text);
}

.v1-card__title {
    margin-bottom: 14px !important;
    font-family: var(--v1-serif);
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--v1-text);
}

.v1-card__body p:last-child {
    margin: 0;
    color: var(--v1-muted);
    font-size: 1rem;
}

/* ---------- Tips ---------- */
.v1-tips__list {
    counter-reset: v1-tip;
    margin: 6px 0 36px !important;
}

.v1-tip {
    counter-increment: v1-tip;
    position: relative;
    padding: 22px 0 22px 64px;
    border-top: 1px solid var(--v1-line);
}

.v1-tip:last-child {
    border-bottom: 1px solid var(--v1-line);
}

.v1-tip::before {
    content: counter(v1-tip, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 18px;
    font-family: var(--v1-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--v1-gold-text);
}

.v1-tip__q {
    margin-bottom: 6px !important;
    font-family: var(--v1-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--v1-text);
}

.v1-tip p {
    margin: 0;
    color: var(--v1-muted);
}

.v1-tips__media {
    position: relative;
}

.v1-tips__media img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 32% 50%;
    border-radius: var(--v1-radius-lg);
    box-shadow: var(--v1-shadow);
}

.v1-tips__media::before {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    border: 1px solid rgba(234, 166, 54, .55);
    border-radius: var(--v1-radius-lg);
    z-index: -1;
}

@media (max-width: 991.98px) {
    .v1-tips__media { order: -1; }
    .v1-tips__media img { aspect-ratio: 16 / 10; }
    .v1-tips__media::before { display: none; }
}

/* ---------- CTA band ---------- */
.v1-cta {
    position: relative;
    isolation: isolate;
    padding-block: clamp(80px, 11vw, 150px);
    background: var(--v1-ink) url("img/lens-call.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.v1-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(234, 166, 54, .28), transparent 60%),
        linear-gradient(rgba(22, 17, 13, .72), rgba(22, 17, 13, .86));
}

.v1-cta__inner {
    max-width: 920px;
}

.v1-cta .v1-eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.v1-cta__title {
    margin-bottom: 40px !important;
    font-family: var(--v1-serif);
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
    line-height: 1.12;
    color: #fff;
    text-wrap: balance;
}

.v1-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* ---------- "Next step" link cards (contact, 404) ---------- */
.v1-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

@media (min-width: 768px) {
    .v1-next { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.v1-next li {
    display: flex;
}

.v1-next__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 28px 28px 64px;
    border-radius: var(--v1-radius-lg);
    background: var(--v1-paper);
    color: var(--v1-text);
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(42, 34, 28, .06);
    transition: transform .5s var(--v1-ease), box-shadow .5s var(--v1-ease), background-color .3s;
}

.v1-next__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v1-shadow-sm);
}

.v1-next__num {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--v1-gold-text);
}

.v1-next__title {
    font-family: var(--v1-serif);
    font-size: clamp(1.6rem, 1.4rem + .6vw, 1.9rem);
    font-weight: 600;
    line-height: 1.15;
}

.v1-next__text {
    font-size: .95rem;
    color: var(--v1-muted);
}

.v1-next__arrow {
    position: absolute;
    left: 28px;
    bottom: 24px;
    width: 22px;
    height: 22px;
    color: var(--v1-gold-text);
    transition: transform .35s var(--v1-ease);
}

.v1-next__card:hover .v1-next__arrow {
    transform: translateX(6px);
}

/* ---------- Footer ---------- */
.v1-footer {
    background: var(--v1-ink);
    color: var(--v1-on-dark-muted);
    font-size: .98rem;
}

.v1-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-block: clamp(64px, 8vw, 96px);
}

@media (min-width: 768px) {
    .v1-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

.v1-brand--footer {
    margin-bottom: 22px;
}

.v1-brand--footer .v1-brand__name {
    font-size: 1.9rem;
    color: var(--v1-on-dark);
}

.v1-footer__brand p {
    max-width: 42ch;
}

.v1-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-weight: 700;
    color: var(--v1-on-dark);
    text-decoration: none;
}

.v1-footer__phone .v1-icon {
    color: var(--v1-gold);
}

.v1-footer__phone:hover {
    color: var(--v1-gold);
}

.v1-footer__social {
    display: flex;
    gap: 10px;
}

.v1-social {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--v1-line-dark);
    border-radius: 50%;
    color: var(--v1-on-dark);
    transition: background-color .25s, color .25s, border-color .25s;
}

.v1-social:hover {
    background: var(--v1-gold);
    border-color: var(--v1-gold);
    color: var(--v1-ink);
}

.v1-footer__title {
    margin-bottom: 18px !important;
    font-family: var(--v1-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--v1-gold);
}

.v1-footer__col li + li {
    margin-top: 6px;
}

.v1-footer__col a {
    display: inline-block;
    padding: 4px 0;
    color: var(--v1-on-dark-muted);
    text-decoration: none;
    transition: color .25s, transform .25s var(--v1-ease);
}

.v1-footer__col a:hover {
    color: var(--v1-gold);
    transform: translateX(4px);
}

.v1-footer__bottom {
    border-top: 1px solid var(--v1-line-dark);
    font-size: .88rem;
}

.v1-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 22px;
}

.v1-footer__bottom p {
    margin: 0;
}

.v1-footer__bottom a {
    color: var(--v1-gold);
    font-weight: 600;
    text-decoration: none;
}

.v1-footer__bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .v1-footer__bottom-inner { flex-direction: column; text-align: center; }
    /* "Авторски права" gets its own line instead of a dangling separator */
    .v1-footer__sep { display: none; }
    .v1-footer__legal { display: block; width: max-content; margin: 6px auto 0; }
}

/* ---------- Back to top ---------- */
.v1-totop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--v1-gold);
    color: var(--v1-ink);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .35s var(--v1-ease), transform .35s var(--v1-ease), visibility 0s linear .35s, background-color .25s;
}

.v1-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s var(--v1-ease), transform .35s var(--v1-ease), visibility 0s, background-color .25s;
}

.v1-totop:hover {
    background: var(--v1-gold-soft);
}

.v1-totop .v1-icon {
    width: 20px;
    height: 20px;
}

/* ---------- Scroll reveal (enabled by JS only) ---------- */
.v1-js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--v1-ease), transform .9s var(--v1-ease);
}

.v1-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
    .v1 { font-size: 1rem; }

    .v1-hero__actions .v1-btn { flex: 1 1 100%; }

    .v1-card__body { padding: 24px 22px 26px; }

    .v1-tip { padding-left: 52px; }

    .v1-tip::before { font-size: 1.7rem; }

    .v1-btn--xl { width: 100%; }

    .v1-btn { white-space: normal; text-align: center; }

    .v1-totop { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html:has(body.v1) { scroll-behavior: auto; }

    .v1 *,
    .v1 *::before,
    .v1 *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .v1-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
