/* Alumaniya premium layer — load after style.css */


/* ===== Modern site header ===== */
body.main-page {
    padding-top: 0 !important;
}
body.main-page main {
    margin-top: 0 !important;
    padding-top: 0;
}

/* Legacy style.css targets all <header> as fixed site nav — reset section headers */
body.main-page main header {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0;
    display: block !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
    z-index: auto !important;
    transition: none !important;
}

:root {
    --header-h: 76px;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-premium-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-duration: 0.9s;
    --motion-duration-mid: 0.65s;
    --motion-duration-fast: 0.42s;
}

body.main-page header#header.site-header,
body.main-page header#header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: block !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
}

body.main-page header#header.header-mini {
    height: var(--header-h) !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

.site-header__inner {
    height: var(--header-h);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: minmax(148px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1rem);
    box-sizing: border-box;
}

.site-header__brand {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    position: relative;
    z-index: 3;
    padding-right: 0.35rem;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    width: auto !important;
    max-width: none;
}
body.main-page header#header .logo,
body.main-page header#header .site-header__logo {
    width: auto !important;
    max-width: none;
}
.site-header__logo img,
body.main-page header#header .site-header__logo img,
body.main-page header#header .logo img {
    height: 48px;
    width: auto;
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.site-header__tagline {
    display: none !important;
}

.site-header__nav {
    grid-column: 2;
    display: none;
    justify-content: center;
    align-items: center;
    gap: clamp(0.55rem, 1vw, 1.1rem);
    min-width: 0;
    overflow: hidden;
    margin: 0;
}
@media (min-width: 1200px) {
    .site-header__nav { display: flex; }
}
.site-header__nav a {
    position: relative;
    color: #1a1a1a;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.72;
    padding: 0.35rem 0;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.site-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--color-a, #A80000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.site-header__nav a:hover {
    opacity: 1;
    color: var(--color-a, #A80000);
}
.site-header__nav a:hover::after {
    transform: scaleX(1);
}

.site-header__actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.45rem, 0.9vw, 0.85rem);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    padding-left: 0.35rem;
}

.site-header__phone {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    line-height: 1.15;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .site-header__phone { display: flex; }
}
.site-header__phone-num {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.site-header__phone-note {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-top: 0.15rem;
    white-space: nowrap;
}
.site-header__phone:hover .site-header__phone-num {
    color: var(--color-a, #A80000);
}

.site-header__social {
    display: none;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.65rem;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0 0.15rem;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .site-header__social { display: flex; }
}
.site-header__social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    min-width: 2.25rem;
}
.site-header__social-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
}
.site-header__social-item a:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.04);
}
.site-header__social-ico {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
.site-header__social-label {
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #9a9a9a;
    text-transform: lowercase;
    white-space: nowrap;
    user-select: none;
}
.site-header__social-item:hover .site-header__social-label {
    color: var(--color-a, #A80000);
}

/* Header CTA removed — frees space for nav + socials */
.site-header__cta {
    display: none !important;
}

.site-header__burger {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent !important;
    background-image: none !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header__burger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #1a1a1a;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header__burger.open span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}
.site-header__burger.open span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}
.site-header__burger:hover {
    border-color: var(--color-a, #A80000);
}
@media (min-width: 1200px) {
    .site-header__burger { display: none; }
}
@media (max-width: 1199px) {
    .site-header__burger { display: inline-flex; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .site-header__nav { gap: 0.55rem; }
    .site-header__nav a { font-size: 0.64rem; letter-spacing: 0.05em; }
    .site-header__phone-note { display: none; }
    .site-header__phone-num { font-size: 0.88rem; }
    .site-header__social-label { display: none; }
    .site-header__social { padding: 0 0.4rem; gap: 0.35rem; }
}

/* Hide legacy header clutter if present */
body.main-page header#header .header-2row,
body.main-page header#header .header-contact,
body.main-page header#header .lozung {
    display: none !important;
}

/* Flush join: header overlays hero, no gap */
section#first.hero-diag {
    margin-top: 0 !important;
    height: 100vh;
    height: 100svh;
}


/* Mobile flyout */
body.main-page > .menu,
body .menu {
    display: block !important;
    position: fixed !important;
    inset: var(--header-h, 68px) 0 0 0;
    width: 100% !important;
    height: calc(100vh - var(--header-h, 68px)) !important;
    height: calc(100dvh - var(--header-h, 68px)) !important;
    z-index: 95 !important;
    background: #fff !important;
    overflow: auto;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
body.main-page > .menu.is-open,
body .menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
html.menu-open {
    overflow: hidden;
}
#naruzhnoe,
#proekt,
#production,
#pdopage,
#contacts,
#quiz,
#callme_main {
    scroll-margin-top: calc(var(--header-h, 68px) + 16px);
}
.site-header__nav a.is-active {
    opacity: 1;
    color: var(--color-a, #A80000);
}
.site-header__nav a.is-active::after {
    transform: scaleX(1);
}
body .menu .menu_inner {
    min-height: 100%;
    padding: 2.5rem 1.5rem 2rem;
}
body .menu .scroll_but {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 500;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    display: block;
    padding: 0.55rem 0;
}
body .menu hr {
    width: 100%;
    margin: 1.25rem 0;
    opacity: 1;
    border-color: #ddd;
}

/* ===== Diagonal hero ===== */
section#first.hero-diag {
    --hero-seam-top: 57%;
    --hero-seam-bottom: 43%;
    --hero-seam-half: 0.35%;
    position: relative;
    margin: 0 !important;
    height: 100vh;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    background: #0d0d0d;
    display: block;
}

.hero-diag__brand {
    position: absolute;
    top: calc(var(--header-h) + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.hero-diag__hint {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.hero-diag.is-out .hero-diag__hint,
.hero-diag.is-in .hero-diag__hint,
.hero-diag:has(.hero-panel:hover) .hero-diag__hint {
    opacity: 0;
}

.hero-diag__edge {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(
        calc(var(--hero-seam-top) - var(--hero-seam-half)) 0,
        calc(var(--hero-seam-top) + var(--hero-seam-half)) 0,
        calc(var(--hero-seam-bottom) + var(--hero-seam-half)) 100%,
        calc(var(--hero-seam-bottom) - var(--hero-seam-half)) 100%
    );
    opacity: 0.55;
    transition: opacity 0.35s ease;
}
.hero-diag.is-out .hero-diag__edge,
.hero-diag.is-in .hero-diag__edge,
.hero-diag:has(.hero-panel:hover) .hero-diag__edge {
    opacity: 0;
}

.hero-panel {
    position: absolute;
    inset: 0;
    color: #fff;
    text-decoration: none !important;
    overflow: hidden;
    cursor: pointer;
    transition:
        clip-path 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.4s ease;
    will-change: clip-path;
}
.hero-panel:hover,
.hero-panel:focus,
.hero-panel:focus-visible {
    color: #fff !important;
    outline: none;
}

.hero-panel--out {
    z-index: 1;
    clip-path: polygon(
        0 0,
        var(--hero-seam-top) 0,
        var(--hero-seam-bottom) 100%,
        0 100%
    );
}
.hero-panel--in {
    z-index: 2;
    clip-path: polygon(
        var(--hero-seam-top) 0,
        100% 0,
        100% 100%,
        var(--hero-seam-bottom) 100%
    );
}

/* JS classes */
.hero-diag.is-out .hero-panel--out,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out,
.hero-diag:has(.hero-panel--out:focus) .hero-panel--out {
    z-index: 5;
    clip-path: polygon(0 0, 90% 0, 80% 100%, 0 100%);
}
.hero-diag.is-out .hero-panel--in,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--in,
.hero-diag:has(.hero-panel--out:focus) .hero-panel--in {
    clip-path: polygon(90% 0, 100% 0, 100% 100%, 80% 100%);
    filter: brightness(0.4) saturate(0.65);
}

.hero-diag.is-in .hero-panel--in,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in,
.hero-diag:has(.hero-panel--in:focus) .hero-panel--in {
    z-index: 5;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 20% 100%);
}
.hero-diag.is-in .hero-panel--out,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--out,
.hero-diag:has(.hero-panel--in:focus) .hero-panel--out {
    clip-path: polygon(0 0, 10% 0, 20% 100%, 0 100%);
    filter: brightness(0.4) saturate(0.65);
}

.hero-panel__media,
.hero-panel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-panel__media img {
    transform: scale(1.08);
    transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.4s ease;
    filter: brightness(0.78);
}
.hero-diag.is-out .hero-panel--out .hero-panel__media img,
.hero-diag.is-in .hero-panel--in .hero-panel__media img,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__media img,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__media img {
    transform: scale(1);
    filter: brightness(1);
}

.hero-panel__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.72) 100%);
    transition: opacity 0.35s ease;
}

/* Accent glow on active edge */
.hero-panel__glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    box-shadow: inset 0 0 0 0 transparent;
}
.hero-diag.is-out .hero-panel--out .hero-panel__glow,
.hero-diag.is-in .hero-panel--in .hero-panel__glow,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__glow,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__glow {
    opacity: 1;
    box-shadow:
        inset 0 -120px 80px -40px rgba(168, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-panel__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1.5rem, 4vw, 3.25rem);
    display: flex;
    flex-direction: column;
    max-width: min(34rem, 90%);
    transition: transform 0.4s ease;
}
.hero-panel--out .hero-panel__content {
    align-items: flex-start;
    text-align: left;
}
.hero-panel--in .hero-panel__content {
    margin-left: auto;
    align-items: flex-end;
    text-align: right;
}

.hero-panel__label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.hero-diag.is-out .hero-panel--out .hero-panel__label,
.hero-diag.is-in .hero-panel--in .hero-panel__label,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__label,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__label {
    color: #fff;
    border-bottom-color: var(--color-a, #A80000);
}

.hero-panel__title {
    font-size: clamp(1.45rem, 3.1vw, 2.55rem);
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 0.75rem;
    color: #fff !important;
    text-transform: none;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-panel__teaser {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    max-width: 22rem;
}

.hero-panel__desc,
.hero-panel__cta {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        max-height 0.4s ease,
        margin 0.35s ease;
    margin: 0;
}

.hero-panel__desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    max-width: 24rem;
}

.hero-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 0.3rem;
}
.hero-panel__cta::after {
    content: "→";
    transition: transform 0.25s ease;
}
.hero-panel--out .hero-panel__cta::after {
    content: "↓";
}

.hero-diag.is-out .hero-panel--out .hero-panel__teaser,
.hero-diag.is-in .hero-panel--in .hero-panel__teaser,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__teaser,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__teaser {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
}

.hero-diag.is-out .hero-panel--out .hero-panel__desc,
.hero-diag.is-out .hero-panel--out .hero-panel__cta,
.hero-diag.is-in .hero-panel--in .hero-panel__desc,
.hero-diag.is-in .hero-panel--in .hero-panel__cta,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__desc,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__cta,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__desc,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__cta {
    opacity: 1;
    max-height: 12rem;
    transform: translateY(0);
}
.hero-diag.is-out .hero-panel--out .hero-panel__desc,
.hero-diag.is-in .hero-panel--in .hero-panel__desc,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--out .hero-panel__desc,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--in .hero-panel__desc {
    margin: 0.85rem 0 1.2rem;
}
.hero-diag.is-out .hero-panel--out .hero-panel__cta:hover::after,
.hero-diag.is-in .hero-panel--in .hero-panel__cta:hover::after {
    transform: translateX(4px);
}

.hero-diag.is-out .hero-panel--in .hero-panel__content,
.hero-diag.is-in .hero-panel--out .hero-panel__content,
.hero-diag:has(.hero-panel--out:hover) .hero-panel--in .hero-panel__content,
.hero-diag:has(.hero-panel--in:hover) .hero-panel--out .hero-panel__content {
    opacity: 0.45;
}

/* Rest of premium page (keep condensed) */
.section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    margin: 0 0 1rem;
    font-weight: 500;
}
.section-eyebrow--light {
    color: #ffb4b4;
}
.section-lead {
    max-width: 40rem;
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 1.05rem;
}
body.main-page section {
    margin: 0 0 clamp(5rem, 10vw, 9rem);
}
.landing-anchor {
    padding: 3rem 0 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 3rem !important;
}

/* Naruzhnoe landing intro */
.landing-intro {
    margin-bottom: clamp(3.5rem, 7vw, 6rem) !important;
}
.landing-intro__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 0;
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}
@media (max-width: 991px) {
    .landing-intro__card {
        grid-template-columns: 1fr;
    }
}
.landing-intro__content {
    padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.75rem, 4vw, 3rem);
    border-left: 3px solid var(--color-a, #A80000);
}
.landing-intro__title {
    font-size: clamp(1.65rem, 3.2vw, 2.55rem);
    font-weight: 500;
    line-height: 1.18;
    max-width: 18ch;
    margin: 0 0 1rem;
    text-transform: none;
    letter-spacing: -0.01em;
}
.landing-intro__lead {
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555;
    margin: 0 0 1.5rem;
}
.landing-intro__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.landing-intro__tags li {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.landing-intro__tags li:hover {
    border-color: rgba(168, 0, 0, 0.35);
    color: var(--color-a, #A80000);
}
.landing-intro__action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
    background: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Чёткое фото + затемнение (не засветление) */
.landing-intro__action::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            105deg,
            rgba(6, 6, 6, 0.92) 0%,
            rgba(8, 8, 8, 0.82) 34%,
            rgba(8, 8, 8, 0.62) 62%,
            rgba(8, 8, 8, 0.48) 100%
        ),
        url(/img/home/stock/hero-out.jpg) center / cover no-repeat;
}
/* Мутный слой слева → в более чёткое справа, тоже затемнённый */
.landing-intro__action::after {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.55) 0%,
            rgba(6, 6, 6, 0.25) 55%,
            rgba(6, 6, 6, 0.12) 100%
        ),
        url(/img/home/stock/hero-out.jpg) left center / cover no-repeat;
    filter: blur(18px) saturate(1.05) brightness(0.72);
    transform: scale(1.08);
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 32%, rgba(0,0,0,0.4) 58%, transparent 85%);
    mask-image: linear-gradient(90deg, #000 0%, #000 32%, rgba(0,0,0,0.4) 58%, transparent 85%);
}
.landing-intro__action-hint {
    position: relative;
    z-index: 3;
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.landing-intro__action-text {
    position: relative;
    z-index: 3;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    max-width: 22rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.landing-intro__cta {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 46px;
    padding: 0 1.5rem;
    background: var(--color-a, #A80000);
    border: 1px solid var(--color-a, #A80000);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.landing-intro__cta:hover {
    background: #8a0000;
    border-color: #8a0000;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(168, 0, 0, 0.35);
}
.landing-intro__scroll {
    position: relative;
    z-index: 3;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s ease;
}
.landing-intro__scroll:hover {
    color: #fff;
}
.landing-intro__scroll::after {
    content: " ↓";
    opacity: 0.7;
}
.landing-intro__scroll--muted {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    opacity: 0.75;
}

/* Naruzhnoe stats — dark metrics ribbon */
.naruzhnoe-stats {
    margin: clamp(-1.5rem, -2.5vw, -0.75rem) 0 clamp(3.5rem, 6vw, 5.5rem) !important;
}
.naruzhnoe-stats__bar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #141414;
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.naruzhnoe-stats__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(168, 0, 0, 0.22) 0%, transparent 58%);
    pointer-events: none;
}
@media (max-width: 767px) {
    .naruzhnoe-stats__bar { grid-template-columns: 1fr; }
}
.naruzhnoe-stats__item {
    position: relative;
    z-index: 1;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
    text-align: left;
}
.naruzhnoe-stats__item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 767px) {
    .naruzhnoe-stats__item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.naruzhnoe-stats__index {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: rgba(255, 180, 180, 0.75);
    margin-bottom: 0.85rem;
}
.naruzhnoe-stats__value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.35rem;
    margin: 0 0 0.5rem;
    line-height: 1;
}
.naruzhnoe-stats__num {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #fff;
}
.naruzhnoe-stats__dash {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0.05rem;
    align-self: center;
}
.naruzhnoe-stats__suffix {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    color: var(--color-a, #A80000);
    line-height: 1;
}
.naruzhnoe-stats__unit {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}
.naruzhnoe-stats__label {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
    max-width: 16rem;
}
.naruzhnoe-stats__item--range .naruzhnoe-stats__value {
    gap: 0.15rem 0.3rem;
}

/* Legacy landing-anchor (if used elsewhere) */
.landing-anchor--premium {
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    border-bottom: none;
    margin-bottom: clamp(3rem, 6vw, 5rem) !important;
}
.landing-anchor__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
}
@media (max-width: 767px) {
    .landing-anchor__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }
}
.landing-anchor__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 0.85rem;
    max-width: 18ch;
}
.landing-anchor__lead {
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}
.landing-anchor__aside {
    padding-bottom: 0.15rem;
}

/* Process section */
.section-proekt {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}
.section-proekt__card {
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}
.section-proekt__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 0;
    align-items: stretch;
}
@media (max-width: 991px) {
    .section-proekt__grid { grid-template-columns: 1fr; }
}
.section-proekt__nav {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 3.5vw, 2.75rem);
    border-right: 1px solid #eee;
}
@media (max-width: 991px) {
    .section-proekt__nav {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}
.section-proekt__title {
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
    font-weight: 500;
    line-height: 1.2;
    max-width: 15ch;
    margin: 0 0 0.85rem;
    text-transform: none;
}
.section-proekt__intro {
    color: #666;
    line-height: 1.6;
    max-width: 28rem;
    margin: 0 0 1.75rem;
    font-size: 0.96rem;
}
.proekt-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.proekt-tab {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ececec;
    border-radius: 2px;
    background: #fafafa;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.proekt-tab:hover {
    border-color: rgba(168, 0, 0, 0.25);
    background: #fff;
}
.proekt-tab.is-active {
    border-color: var(--color-a, #A80000);
    background: #fff;
    box-shadow: inset 3px 0 0 var(--color-a, #A80000);
    transform: translateX(2px);
}
.proekt-tab__index {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: #bbb;
    min-width: 1.25rem;
    padding-top: 0.2rem;
    font-weight: 500;
}
.proekt-tab.is-active .proekt-tab__index {
    color: var(--color-a, #A80000);
}
.proekt-tab__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.proekt-tab__name {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 500;
    color: #333;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.2;
    transition: color 0.25s ease;
}
.proekt-tab.is-active .proekt-tab__name {
    color: var(--color-a, #A80000);
}
.proekt-tab__hint {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #999;
    transition: color 0.25s ease;
}
.proekt-tab.is-active .proekt-tab__hint {
    color: #666;
}
.section-proekt__panels {
    position: relative;
    min-height: 20rem;
    padding: 0;
    background: #f5f5f5;
}
.proekt-panel {
    animation: proektFade 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.proekt-panel__media {
    position: relative;
    flex: 0 0 auto;
    height: clamp(160px, 22vw, 220px);
    overflow: hidden;
    background: #111;
}
.proekt-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
}
.proekt-panel__body {
    flex: 1;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3.5vw, 2.75rem) clamp(2rem, 3.5vw, 2.75rem);
}
.proekt-panel[hidden] {
    display: none !important;
}
@keyframes proektFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.proekt-panel__step {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    font-weight: 500;
}
.proekt-panel__title {
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: none;
    max-width: 22ch;
    line-height: 1.2;
}
.proekt-panel__text {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #444;
    max-width: 36rem;
    margin: 0 0 1.5rem;
}
.proekt-panel__points {
    list-style: none;
    margin: 0;
    padding: 1.15rem 0 0;
    border-top: 1px solid #e0e0e0;
    display: grid;
    gap: 0.6rem;
}
.proekt-panel__points li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: #555;
}
.proekt-panel__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-a, #A80000);
}
.proekt-panel__cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    height: 40px;
    padding: 0 1.15rem;
    border: 1px solid #1a1a1a;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.proekt-panel__cta:hover {
    background: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
    color: #fff !important;
}

/* Production slider */
.section-production {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}
.section-production__head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-production__head .section-lead {
    margin-bottom: 0;
}
.section-production__title {
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    margin: 0 0 0.75rem;
    text-transform: none;
    font-weight: 500;
    max-width: 16ch;
}
.section-production__card {
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}
.section-production__card .container {
    padding: 0;
}
.section-production__slider {
    position: relative;
    background: #fff;
}
.section-production__slider .slider_home,
.section-production__slider .slider_home .slick-list,
.section-production__slider .slider_home .slick-track,
.section-production__slider .slider_home .slick-slide,
.section-production__slider .slider_home .slick-slide > div {
    width: 100%;
}
.section-production__slider .promo-slide {
    background: #fff;
    width: 100%;
}
.section-production__slider .promo-slide .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    --bs-gutter-x: 0;
    margin: 0;
    width: 100%;
    min-height: clamp(320px, 42vw, 540px);
}
.section-production__slider .promo-slide .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0;
}
.section-production__slider .promo-slide__media {
    position: relative;
    min-height: clamp(320px, 42vw, 540px);
    background: #f3f3f3;
    overflow: hidden;
}
.section-production__slider .promo-slide__body {
    position: relative;
    z-index: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: clamp(320px, 42vw, 540px);
    min-width: 0;
}
.section-production__slider .promo-slide__body .padding-right-6vw {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}
.section-production__slider .slick-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: unset;
    object-fit: cover;
    display: block;
}
.section-production__slider .slider-item-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    height: auto !important;
    width: 100%;
    padding: 0 !important;
}
.section-production__slider .promo-slide__copy {
    flex: 1;
    min-width: 0;
}
.section-production__slider .promo-slide__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    font-weight: 500;
}
.section-production__slider .promo-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
    font-weight: 500;
}
.section-production__slider .promo-desc {
    font-size: 0.98rem;
    line-height: 1.62;
    color: #555;
    padding-bottom: 0;
    max-width: 30rem;
}
.section-production__slider .promo-slide__footer {
    flex-shrink: 0;
    padding-top: 1.5rem;
    margin-top: 1.25rem;
    border-top: 1px solid #e8e8e8;
}
.section-production__slider .promo-price {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 500;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
.section-production__slider .promo-price::before {
    content: "Ориентир";
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 400;
    margin-bottom: 0.35rem;
}
.section-production__slider .promo-slide__cta {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 1.15rem;
    border: 1px solid #1a1a1a;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.section-production__slider .promo-slide__cta:hover {
    background: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
    color: #fff !important;
}
.section-production__slider .slider-control {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.1rem clamp(1rem, 3.5vw, 2.75rem);
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
}
.section-production__slider .countsSlides {
    color: #1a1a1a;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}
.section-production__slider .sl-next,
.section-production__slider .sl-prev {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.section-production__slider .sl-next:hover,
.section-production__slider .sl-prev:hover {
    opacity: 1;
}
@media (max-width: 767px) {
    .section-production__slider .promo-slide .row {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .section-production__slider .promo-slide__media,
    .section-production__slider .promo-slide__body,
    .section-production__slider .slick-img {
        min-height: clamp(220px, 56vw, 320px);
    }
    .section-production__slider .promo-slide__body {
        min-height: 0;
    }
    .section-production__slider .promo-slide__body .padding-right-6vw {
        padding: 1.5rem 1.25rem 1.75rem;
    }
    .section-production__slider .slider-item-left {
        padding: 0 !important;
    }
}
@media (max-width: 991px) {
    .section-production__slider .promo-slide .row {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .section-production__slider .promo-slide__media,
    .section-production__slider .slick-img {
        min-height: clamp(240px, 38vw, 360px);
    }
    .section-production__slider .promo-slide__body {
        min-height: 0;
    }
}

.section-about { margin-top: clamp(3rem, 6vw, 5rem); }
.section-about .container { padding: 0; }
.section-about .row { margin: 0; }
.main-about--premium img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}
.about-company__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    max-width: 16ch;
}
.about-company__text {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 34rem;
    margin-bottom: 1rem;
}
.about-company__text--muted { color: #777; font-size: 0.98rem; }
.section-photo-break {
    margin: 0 0 clamp(5rem, 10vw, 9rem) !important;
    height: clamp(280px, 42vw, 560px);
    overflow: hidden;
}
.section-photo-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.advantages-premium__lead {
    max-width: 36rem;
    color: #666;
    margin-bottom: 2.5rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
}
.advantage-item {
    padding-top: 1.25rem;
    border-top: 1px solid #e5e5e5;
    transition: border-color 0.3s ease;
}
.advantage-item:hover { border-top-color: var(--color-a, #A80000); }
.advantage-item__num {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--color-a, #A80000);
    margin-bottom: 0.85rem;
}
.advantage-item__title {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 0.65rem;
    text-transform: none;
}
.advantage-item__text {
    margin: 0;
    color: #666;
    line-height: 1.55;
    font-size: 0.95rem;
}
.cta-inline { margin: 0 0 clamp(5rem, 10vw, 9rem) !important; }
.cta-inline { --cta-visual: url(/img/home/stock/about.jpg); }
.cta-inline--compact { --cta-visual: url(/img/home/stock/cta-proekt.jpg); }
.cta-inline--quiz { --cta-visual: url(/img/home/stock/photo-break.jpg); }
.cta-inline--projects { --cta-visual: url(/img/home/stock/case-1.jpg); }
.cta-inline__inner {
    position: relative;
    background: #111;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.55fr);
    gap: 0;
    overflow: hidden;
    min-height: clamp(240px, 28vw, 320px);
    isolation: isolate;
}
/* База: чёткое фото на весь блок */
.cta-inline__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--cta-visual) center / cover no-repeat;
}
/* Мутный слой поверх фото — растворяется вправо в чёткость */
.cta-inline__inner::after {
    content: "";
    position: absolute;
    inset: -48px;
    z-index: 1;
    pointer-events: none;
    background: var(--cta-visual) left center / cover no-repeat;
    filter: blur(32px) saturate(1.08);
    transform: scale(1.12);
    opacity: 1;
    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 36%,
        rgba(0, 0, 0, 0.75) 52%,
        rgba(0, 0, 0, 0.28) 70%,
        transparent 88%
    );
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 36%,
        rgba(0, 0, 0, 0.75) 52%,
        rgba(0, 0, 0, 0.28) 70%,
        transparent 88%
    );
}
.cta-inline__main {
    position: relative;
    z-index: 3;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2rem;
}
/* Тёмная плашка под текстом — мягкий край */
.cta-inline__main::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(100% + clamp(40px, 8vw, 100px));
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.94) 0%,
        rgba(8, 8, 8, 0.88) 55%,
        rgba(8, 8, 8, 0.4) 78%,
        rgba(8, 8, 8, 0.08) 92%,
        transparent 100%
    );
}
.cta-inline__main::after {
    content: none;
    display: none;
}
.cta-inline__visual {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 0;
}
/* Гасим legacy blur только в правой колонке из style.css */
.cta-inline__visual::before,
.cta-inline__visual::after {
    content: none !important;
    display: none !important;
}
.cta-inline__title { color: #fff; margin-bottom: 0.65rem; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-inline__lead { margin: 0; max-width: 32rem; color: rgba(255,255,255,.84); line-height: 1.55; }
.cta-inline__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.cta-inline .button-arrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    filter: none;
}
.cta-inline .button-arrow:hover { color: #fff; }

/* Submit / CTA — arrow in circle (как на текущем сайте) */
button.button-arrow,
.form .button-arrow,
.contact_form .button-arrow,
.standard-form .button-arrow {
    background: url(/template/content/img/icons/arrow_in_circle.svg) no-repeat left center;
    background-size: contain;
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.cta-inline__secondary {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.cta-inline__secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.cta-inline--compact .cta-inline__main { padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 3rem); }
.cta-inline--quiz .cta-inline__inner {
    background: #111;
}
@media (max-width: 767px) {
    .cta-inline__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .cta-inline__visual {
        order: -1;
        min-height: clamp(150px, 38vw, 210px);
    }
    .cta-inline__main::before {
        width: 100%;
        background: linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.2) 0%,
            rgba(8, 8, 8, 0.82) 32%,
            rgba(8, 8, 8, 0.94) 100%
        );
    }
    .cta-inline__inner::after {
        -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, #000 45%, #000 100%);
        mask-image: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, #000 45%, #000 100%);
    }
}
.section-cases .case-card {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid #ececec;
}
.case-card__media img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
}
.case-card .promo-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.case-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}
.case-card .button-arrow { margin: 0; }

/* Case showcase — premium portfolio */
.section-cases {
    margin-bottom: clamp(5rem, 10vw, 9rem) !important;
}
.section-cases__head {
    max-width: 40rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-cases__title {
    font-size: clamp(1.65rem, 3.2vw, 2.55rem);
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 1rem;
    text-transform: none;
    letter-spacing: -0.01em;
}
.section-cases__list {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
}
.case-showcase--collapsed {
    display: none;
}
.section-cases__more {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: clamp(2rem, 4vw, 3rem);
}
.section-cases .pagination,
.section-cases__nav {
    display: none !important;
}
.section-cases__more[hidden] {
    display: none !important;
}
.section-cases__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.75rem;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a !important;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.section-cases__more-btn:hover {
    background: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
    color: #fff !important;
}
.section-cases.is-expanded .section-cases__more {
    display: none !important;
}
.case-showcase__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: start;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid #e8e8e8;
    background: #fff;
}
.case-showcase:nth-child(even) .case-showcase__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.case-showcase:nth-child(even) .case-showcase__media { order: 2; }
.case-showcase:nth-child(even) .case-showcase__content { order: 1; }
@media (max-width: 991px) {
    .case-showcase__inner,
    .case-showcase:nth-child(even) .case-showcase__inner {
        grid-template-columns: 1fr;
    }
    .case-showcase:nth-child(even) .case-showcase__media,
    .case-showcase:nth-child(even) .case-showcase__content { order: unset; }
}
.case-showcase__media {
    position: relative;
}
.case-showcase__cover-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
    margin-bottom: 0.45rem;
    aspect-ratio: 4 / 3;
}
.case-showcase__cover,
.case-showcase__cover-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.1s var(--ease-premium), opacity 0.5s ease;
}
.case-showcase__cover-wrap:hover img {
    transform: scale(1.04);
}
.case-showcase__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}
.case-showcase__thumb {
    display: block;
    overflow: hidden;
    background: #eee;
    aspect-ratio: 4 / 3;
}
.case-showcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}
.case-showcase__thumb:hover img { opacity: 0.88; }
.case-showcase__grid.grid-portfolio {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.45rem;
}
.case-showcase__grid .item:first-child {
    grid-row: span 2;
    grid-column: 1;
}
.case-showcase__grid .item:first-child img {
    width: 100%;
    height: 100%;
    min-height: clamp(220px, 32vw, 420px);
    object-fit: cover;
}
.case-showcase__grid .item:not(:first-child) img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.case-showcase__tag {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    font-weight: 500;
}
.case-showcase__title {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.85rem;
    text-transform: none;
    max-width: 18ch;
}
.case-showcase__excerpt {
    margin: 0 0 0.85rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: #555;
    max-width: 34rem;
}
.case-showcase__excerpt p { margin: 0 0 0.5rem; }
.case-showcase__meta {
    margin: 0 0 1.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
}
.case-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}
.case-showcase__link {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.35);
    padding-bottom: 0.15rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.case-showcase__link:hover {
    color: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
}
.case-showcase__cta {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 1.25rem;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.case-showcase__cta:hover {
    background: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
}
.case-showcase__cta--light {
    background: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
}
.case-showcase__cta--light:hover {
    background: #8a0000;
    border-color: #8a0000;
}
/* Fancybox modal */
.case-modal {
    max-width: 1100px;
    margin: 0 auto;
}
.case-modal__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 767px) {
    .case-modal__grid { grid-template-columns: 1fr; }
}
.case-modal__video {
    margin-bottom: 1rem;
    border-radius: 2px;
    overflow: hidden;
    background: #000;
}
.case-modal__video iframe {
    width: 100%;
    max-height: 420px;
    aspect-ratio: 9 / 16;
    display: block;
    margin: 0 auto;
}
.case-modal__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.case-modal__gallery a {
    display: block;
    overflow: hidden;
    background: #111;
}
.case-modal__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.case-modal__text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #444;
}
.case-modal__text p { margin: 0 0 0.75rem; }
.case-modal__body .case-showcase__title { max-width: none; }

/* Suppliers */
.section-suppliers { margin-bottom: clamp(4rem, 8vw, 7rem) !important; }
.section-suppliers__card {
    border: 1px solid #e8e8e8;
    padding: clamp(2rem, 4vw, 3rem);
    background: #fafafa;
}
.section-suppliers__title { max-width: 14ch; margin-bottom: 0.75rem; text-transform: none; font-weight: 500; }
.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
@media (max-width: 991px) { .suppliers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .suppliers-grid { grid-template-columns: repeat(2, 1fr); } }
.suppliers-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #eee;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.suppliers-grid__item:hover {
    border-color: rgba(168, 0, 0, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.suppliers-grid__item img {
    max-width: 100%;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.suppliers-grid__item:hover img { filter: grayscale(0); opacity: 1; }

/* VK */
.section-vk { margin-bottom: clamp(4rem, 8vw, 7rem) !important; }
.section-vk__card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    overflow: hidden;
}
.section-vk__content {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
}
.section-vk__title {
    color: #fff;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 500;
    max-width: 14ch;
    margin-bottom: 0.85rem;
    text-transform: none;
}
.section-vk__lead { color: rgba(255,255,255,.82); max-width: 28rem; margin-bottom: 1.5rem; line-height: 1.6; }
.section-vk__cta {
    display: inline-flex;
    height: 42px;
    padding: 0 1.25rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.section-vk__cta:hover { background: var(--color-a, #A80000); border-color: var(--color-a, #A80000); }
.section-vk__media img { width: 100%; min-height: 280px; object-fit: cover; display: block; }

/* RAL */
.section-ral { margin-bottom: clamp(4rem, 8vw, 7rem) !important; }
.section-ral__title { font-size: clamp(1.45rem, 2.6vw, 2rem); max-width: 16ch; text-transform: none; font-weight: 500; margin-bottom: 1rem; }
.section-ral__text { color: #555; line-height: 1.65; max-width: 32rem; margin-bottom: 1.5rem; }

/* Feature spotlight — fire glazing & glass railings */
.feature-spotlight {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}
.feature-spotlight__card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: clamp(360px, 42vw, 520px);
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
}
.feature-spotlight--reverse .feature-spotlight__card {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.feature-spotlight--reverse .feature-spotlight__media { order: -1; }
@media (max-width: 991px) {
    .feature-spotlight__card,
    .feature-spotlight--reverse .feature-spotlight__card {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .feature-spotlight--reverse .feature-spotlight__media { order: -1; }
}

.feature-spotlight__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
    min-width: 0;
}
.feature-spotlight--fire .feature-spotlight__body {
    background: linear-gradient(165deg, #121212 0%, #1a1a1a 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.feature-spotlight--glass .feature-spotlight__body {
    background: #fafafa;
    border-left: 3px solid var(--color-a, #A80000);
}
@media (max-width: 991px) {
    .feature-spotlight--fire .feature-spotlight__body {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .feature-spotlight--glass .feature-spotlight__body {
        border-left: none;
        border-top: 3px solid var(--color-a, #A80000);
    }
}

.feature-spotlight__title {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 1rem;
    text-transform: none;
    letter-spacing: -0.01em;
    max-width: 16ch;
}
.feature-spotlight--fire .feature-spotlight__title { color: #fff; }
.feature-spotlight--glass .feature-spotlight__title { color: #111; }

.feature-spotlight__text {
    margin: 0 0 1.35rem;
    line-height: 1.65;
    max-width: 34rem;
    font-size: 1.02rem;
}
.feature-spotlight--fire .feature-spotlight__text { color: rgba(255, 255, 255, 0.82); }
.feature-spotlight--glass .feature-spotlight__text { color: #555; }

.feature-spotlight__specs {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}
@media (max-width: 767px) {
    .feature-spotlight__specs { grid-template-columns: 1fr; }
}
.feature-spotlight__specs li {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}
.feature-spotlight__specs--light li {
    border-color: #e5e5e5;
    background: #fff;
}
.feature-spotlight__specs strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    color: #fff;
}
.feature-spotlight__specs--light strong { color: #111; }
.feature-spotlight__specs span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.58);
}
.feature-spotlight__specs--light span { color: #888; }

.feature-spotlight__tags {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.feature-spotlight__tags li {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 180, 180, 0.35);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 220, 220, 0.9);
}
.feature-spotlight__tags--light li {
    border-color: #ddd;
    color: #666;
    background: #fff;
}

.feature-spotlight__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 44px;
    padding: 0 1.5rem;
    background: var(--color-a, #A80000);
    border: 1px solid var(--color-a, #A80000);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.feature-spotlight__cta:hover {
    background: #8a0000;
    border-color: #8a0000;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(168, 0, 0, 0.32);
}
.feature-spotlight__cta--outline {
    background: transparent;
    color: #1a1a1a !important;
    border-color: #1a1a1a;
    box-shadow: none;
}
.feature-spotlight__cta--outline:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff !important;
    box-shadow: none;
}

.feature-spotlight__media {
    position: relative;
    min-height: clamp(240px, 38vw, 520px);
    overflow: hidden;
    background: #0d0d0d;
}
.feature-spotlight__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.feature-spotlight__card:hover .feature-spotlight__media img {
    transform: scale(1.04);
}
.feature-spotlight__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.feature-spotlight--fire .feature-spotlight__scrim {
    background:
        linear-gradient(90deg, rgba(18, 18, 18, 0.55) 0%, transparent 38%),
        linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 0, 0, 0.22) 0%, transparent 55%);
}
.feature-spotlight--glass .feature-spotlight__scrim {
    background:
        linear-gradient(90deg, transparent 0%, rgba(250, 250, 250, 0.15) 100%),
        linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18) 100%);
}
.feature-spotlight__stamp {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    padding: 0.5rem 0.85rem;
    background: rgba(168, 0, 0, 0.92);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}
.feature-spotlight__stamp--glass {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Legacy aliases */
.section-split {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}
#callme_main.form,
.section-callme-main {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}

/* Founder / director card */
.founder-card {
    height: 100%;
}
.founder-card__frame {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: clamp(420px, 52vw, 560px);
    background: #f4f4f4;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}
.founder-card__media {
    position: relative;
    flex: 1 1 auto;
    min-height: clamp(220px, 34vw, 320px);
    overflow: hidden;
    background: #fff;
}
.founder-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    filter: grayscale(12%) contrast(1.02);
}
.founder-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
}
.founder-card__panel {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: clamp(1.25rem, 2.2vw, 1.65rem) clamp(1.35rem, 2.5vw, 1.85rem);
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.04);
}
.founder-card__mark {
    display: block;
    width: 2.25rem;
    height: 3px;
    background: var(--color-a, #A80000);
    margin-bottom: 1rem;
}
.founder-card__mark::after {
    content: "“";
    display: block;
    margin-top: 0.35rem;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--color-a, #A80000);
    font-family: Georgia, "Times New Roman", serif;
}
.founder-card__quote {
    margin: 0 0 0.75rem;
    padding: 0;
    border: 0;
    font-size: clamp(0.95rem, 1.35vw, 1.05rem);
    line-height: 1.65;
    color: #333;
    font-weight: 400;
}
.founder-card__note {
    margin: 0 0 1.15rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}
.founder-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}
.founder-card__name {
    font-style: normal;
    font-size: 1.05rem;
    font-weight: 500;
    color: #111;
}
.founder-card__role {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
}

/* Callme main form */
.callme-main__form {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    border: 1px solid #e8e8e8;
    background: #111;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.callme-main__form::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12, 12, 12, 0.96) 0%,
            rgba(14, 14, 14, 0.82) 42%,
            rgba(14, 14, 14, 0.28) 72%,
            transparent 100%
        ),
        url(/img/home/stock/ral.jpg) center / cover no-repeat;
}
.callme-main__form::after {
    content: "";
    position: absolute;
    inset: -32px;
    z-index: 1;
    pointer-events: none;
    background: url(/img/home/stock/ral.jpg) left center / cover no-repeat;
    filter: blur(22px) saturate(1.06);
    transform: scale(1.1);
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.35) 65%, transparent 90%);
    mask-image: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0.35) 65%, transparent 90%);
}
.callme-main__form > * {
    position: relative;
    z-index: 2;
}
.callme-main__form .input-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}
.callme-main__form .input-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.callme-main__form .button-arrow {
    color: rgba(255, 255, 255, 0.92);
    filter: none;
}
.callme-main__form .section-eyebrow {
    color: rgba(255, 255, 255, 0.55);
}
.callme-main__title {
    text-transform: none;
    font-weight: 500;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.15;
    margin-bottom: 0.65rem;
    color: #fff;
}
.callme-main__lead {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 28rem;
    margin-bottom: 1.35rem;
}
.callme-main__legal {
    margin: 1.25rem 0 0;
    font-size: 0.78rem;
    color: #999;
    line-height: 1.5;
}
.callme-main__legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Consent checkbox — all lead forms */
.form-policy {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1rem;
    max-width: 36rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #666;
    cursor: pointer;
}
.form-policy input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.12rem 0 0;
    flex-shrink: 0;
    accent-color: var(--color-a, #A80000);
    cursor: pointer;
}
.form-policy span {
    flex: 1;
    min-width: 0;
}
.form-policy a {
    color: var(--color-a, #A80000);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-policy.is-invalid,
.form-policy.is-invalid span {
    color: #c62828;
}
.form-policy__error {
    margin: -0.55rem 0 0.85rem;
    font-size: 0.78rem;
    color: #c62828;
    line-height: 1.4;
}
.form-policy--on-dark {
    color: rgba(255, 255, 255, 0.72);
}
.form-policy--on-dark a {
    color: #fff;
}
.contact_form .form-policy {
    margin-top: 0.25rem;
}
.callme-main__form .form-policy {
    margin: 0.35rem 0 1rem;
}
.section-callme-main .button-arrow {
    margin-top: 0.35rem;
}

/* Page lead form — end of article / case */
.section-page-lead {
    margin: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem) !important;
}
.page-lead {
    position: relative;
    overflow: hidden;
    background: #111;
    color: #fff;
    padding: clamp(2rem, 5vw, 3.25rem);
    isolation: isolate;
}
.page-lead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.97) 0%,
            rgba(10, 10, 10, 0.92) 36%,
            rgba(10, 10, 10, 0.55) 58%,
            rgba(10, 10, 10, 0.18) 78%,
            transparent 100%
        ),
        url(/img/home/stock/about.jpg) center / cover no-repeat;
}
.page-lead::after {
    content: "";
    position: absolute;
    inset: -32px;
    z-index: 1;
    pointer-events: none;
    background: url(/img/home/stock/about.jpg) left center / cover no-repeat;
    filter: blur(24px) brightness(0.72) saturate(1.04);
    transform: scale(1.1);
    opacity: 0.95;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 42%, rgba(0,0,0,0.45) 66%, transparent 92%);
    mask-image: linear-gradient(90deg, #000 0%, #000 42%, rgba(0,0,0,0.45) 66%, transparent 92%);
}
.page-lead__form,
.page-lead__success {
    position: relative;
    z-index: 2;
    max-width: 36rem;
}
.page-lead__title {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: none;
}
.page-lead__lead {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
    max-width: 32rem;
}
.page-lead__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
@media (max-width: 575px) {
    .page-lead__fields {
        grid-template-columns: 1fr;
    }
}
.page-lead .input-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}
.page-lead .input-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.page-lead .button-arrow {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.92);
    filter: none;
}
.page-lead__success h3 {
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 500;
    line-height: 1.25;
}
.page-lead__success p {
    color: rgba(255, 255, 255, 0.7);
}

/* Article page */
.page-article {
    padding-top: calc(var(--header-h, 76px) + clamp(1.25rem, 3vw, 2rem));
    padding-bottom: 2rem;
}
.article-hero {
    padding-top: 0;
    margin-bottom: 0 !important;
}
.article-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.article-hero__back:hover {
    color: var(--color-a, #A80000);
    border-color: rgba(168, 0, 0, 0.35);
    background: #faf7f7;
}
.article-hero__media {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    background: #111;
}
.article-hero__cover {
    width: 100%;
    max-height: min(62vh, 560px);
    object-fit: cover;
    display: block;
}
.article-hero__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: none;
    color: #1a1a1a;
}
.article-hero__lead {
    margin: 0 0 2rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #666;
    max-width: none;
}
.article-content.content-text {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    font-size: 1.02rem;
    line-height: 1.75;
    color: #333;
}
.article-content.content-text h2,
.article-content.content-text h3 {
    margin: 2rem 0 0.75rem;
    font-weight: 500;
    line-height: 1.25;
    text-transform: none;
    color: #1a1a1a;
}
.article-content.content-text p {
    margin: 0 0 1.1rem;
}
.article-content.content-text img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}
.article-cta {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}
.article-cta__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
}
.article-cta__lead {
    margin: 0 0 1.35rem;
    color: #666;
    line-height: 1.6;
    max-width: none;
}
.article-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}
.article-cta__primary {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 1.35rem;
    background: #1a1a1a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease;
}
.article-cta__primary:hover {
    background: var(--color-a, #A80000);
}
.article-cta__secondary {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.35);
    padding-bottom: 0.1rem;
}
.article-cta__secondary:hover {
    color: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
}
.article-cta__link {
    font-size: 0.82rem;
    color: #888;
    text-decoration: none;
}
.article-cta__link:hover {
    color: var(--color-a, #A80000);
}
.article-neighbors {
    margin: 0 0 clamp(3rem, 6vw, 5rem);
}
.article-neighbors__actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}
.article-hero__back--footer {
    margin-bottom: 0;
}
.article-neighbors__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ececec;
}
.article-neighbors__link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: min(100%, 20rem);
    text-decoration: none;
    color: #1a1a1a;
}
.article-neighbors__link span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
}
.article-neighbors__link strong {
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}
.article-neighbors__link:hover strong {
    color: var(--color-a, #A80000);
}
.article-neighbors__link--next {
    margin-left: auto;
    text-align: right;
}

/* Case page (preview / future template) */
.page-case {
    padding-bottom: 1rem;
}
.case-page {
    padding-top: calc(var(--header-h, 76px) + clamp(1.25rem, 3vw, 2rem));
}
.case-page__back {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
}
.case-page__back:hover {
    color: var(--color-a, #A80000);
}
.case-page__hero {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    background: #111;
}
.case-page__hero img {
    width: 100%;
    max-height: min(70vh, 640px);
    object-fit: cover;
    display: block;
}
.case-page__body .case-showcase__title {
    max-width: none;
    margin-bottom: 0.75rem;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}
.case-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 991px) {
    .case-page__grid {
        grid-template-columns: 1fr;
    }
    .case-showcase__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
.case-page__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.case-page__gallery a {
    display: block;
    overflow: hidden;
    background: #eee;
}
.case-page__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-premium);
}
.case-page__gallery a:hover img {
    transform: scale(1.03);
}
.preview-dev-banner {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 1rem;
}
@media (max-width: 991px) {
    .founder-card__frame {
        min-height: 0;
    }
    .founder-card__media {
        min-height: clamp(260px, 62vw, 360px);
    }
    .callme-main__form {
        margin-top: 0.25rem;
    }
}

/* Partner */
section#vozn.section-partner,
.section-partner {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
    background: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    display: block !important;
    position: relative !important;
    text-align: left !important;
}
.section-partner__panel {
    position: relative;
    overflow: hidden;
    background: #121212;
    min-height: clamp(320px, 36vw, 420px);
}
.section-partner__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.section-partner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}
.section-partner__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(8, 8, 8, 0.94) 0%, rgba(12, 12, 12, 0.82) 42%, rgba(18, 18, 18, 0.62) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
}
.section-partner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: end;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
}
.section-partner__title {
    color: #fff;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 1rem;
    text-transform: none;
    letter-spacing: -0.01em;
}
.section-partner__text {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
    max-width: 36rem;
    margin: 0;
    font-size: 1.02rem;
}
.section-partner__perks {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.section-partner__perks li {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}
.section-partner__perks strong {
    display: block;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.section-partner__perks span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.45;
}
.section-partner .button-arrow,
.section-partner__cta {
    margin: 0;
    color: rgba(255, 255, 255, 0.95) !important;
    filter: none;
}
.section-partner .button-arrow:hover,
.section-partner__cta:hover {
    color: #fff !important;
}
@media (max-width: 991px) {
    .section-partner__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .section-partner__aside {
        max-width: 28rem;
    }
}

/* Hardware / Ford quote slider */
.section-hardware {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
}
.section-hardware__head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-hardware__title {
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}
.section-hardware__author {
    display: block;
    margin-top: 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    font-weight: 400;
}
.section-hardware__lead {
    margin: 0;
    color: #666;
}
.hardware_slider {
    overflow: hidden;
    padding-bottom: 2.75rem;
}
.hardware-slide {
    width: min(78vw, 320px);
}
@media (min-width: 768px) {
    .hardware-slide { width: min(36vw, 420px); }
}
.hardware-slide__card {
    position: relative;
    aspect-ratio: 0.82;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}
.hardware-slide__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hardware-slide__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}
.hardware-slide__card:hover img {
    transform: scale(1.03);
}
.hardware-slide__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18%;
    z-index: 1;
    padding: 0 1.5rem;
    color: #fff;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}
.hardware_slider .swiper-pagination {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(217, 217, 217, 0.55);
}
.hardware_slider .swiper-pagination-progressbar-fill {
    background: var(--color-a, #A80000);
}

/* FAQ */
.section-faq { margin-bottom: clamp(4rem, 8vw, 7rem) !important; }
.section-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 991px) { .section-faq__grid { grid-template-columns: 1fr; } }
.section-faq__title { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 500; text-transform: none; margin-bottom: 0.75rem; }
.section-faq__list .faq-it {
    border-top: 1px solid #e8e8e8;
    padding: 0.85rem 0;
}
.section-faq__list .faq-it.open { border-top-color: var(--color-a, #A80000); }
.section-faq__list .question {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    padding-right: 1.5rem;
}
.section-faq__list .faq-it.open .question { color: var(--color-a, #A80000); }
.section-faq__list .answer { color: #666; line-height: 1.6; font-size: 0.95rem; padding-top: 0.65rem; }
.section-faq__mobile-cta { margin-top: 1.5rem; }

/* Articles */
.section-articles { margin-bottom: clamp(5rem, 10vw, 9rem) !important; }
.section-articles__head {
    max-width: 38rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-articles__title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.12;
    text-transform: none;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}
.section-articles__slider {
    overflow: hidden;
    padding-bottom: 0.5rem;
}
.section-articles__slider .swiper-slide {
    width: min(100%, 360px);
    height: auto;
}
@media (min-width: 768px) {
    .section-articles__slider .swiper-slide { width: min(42vw, 380px); }
}
.section-articles__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ececec;
}
.section-articles__slider .swiper-pagination {
    position: static;
    flex: 1;
    height: 2px;
    background: #e8e8e8;
    border-radius: 1px;
}
.section-articles__slider .swiper-pagination-progressbar-fill {
    background: var(--color-a, #A80000);
}
.section-articles__slider .swiper-arrow {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
}
.section-articles__slider .sw-button-prev,
.section-articles__slider .sw-button-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.section-articles__slider .sw-button-prev:hover,
.section-articles__slider .sw-button-next:hover {
    border-color: var(--color-a, #A80000);
    background: #fafafa;
}
.section-articles__slider .sw-button-prev img,
.section-articles__slider .sw-button-next img {
    width: 18px;
    height: auto;
    display: block;
}
.section-articles__foot {
    margin-top: 1.75rem;
    text-align: center;
}
.section-articles__all {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.35);
    padding-bottom: 0.2rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.section-articles__all:hover {
    color: var(--color-a, #A80000);
    border-color: var(--color-a, #A80000);
}

/* ===== Articles index (/stati/) ===== */
.page-articles-index {
    padding-top: calc(var(--header-h, 76px) + clamp(1.5rem, 3vw, 2.5rem));
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.articles-index__head {
    max-width: 42rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #888;
}
.page-breadcrumbs a {
    color: #666 !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.page-breadcrumbs a:hover {
    color: var(--color-a, #A80000) !important;
    border-bottom-color: rgba(168, 0, 0, 0.35);
}
.page-breadcrumbs__sep {
    color: #ccc;
    user-select: none;
}
.page-breadcrumbs__current {
    color: #1a1a1a;
}
.articles-index__back {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444 !important;
    text-decoration: none !important;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.articles-index__back:hover {
    color: var(--color-a, #A80000) !important;
    border-color: rgba(168, 0, 0, 0.35);
    background: #faf7f7;
}
.articles-index__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}
.articles-index__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.articles-index__grid .article-card {
    height: 100%;
}
@media (max-width: 991px) {
    .articles-index__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .articles-index__grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    height: 100%;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.article-card:hover {
    border-color: rgba(168, 0, 0, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.article-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}
.article-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}
.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.article-card:hover .article-card__media img {
    transform: scale(1.04);
}
.article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.55rem;
    padding: 1.2rem 1.25rem 1.35rem;
}
.article-card__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.35;
    color: #1a1a1a;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__lead {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__more {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    font-weight: 500;
}

/* Quiz wizard */
.section-quiz-wizard {
    margin-bottom: clamp(4rem, 8vw, 7rem) !important;
    scroll-margin-top: calc(var(--header-h, 68px) + 1rem);
}
.section-quiz-wizard__head {
    max-width: 40rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-quiz-wizard__title {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 500;
    line-height: 1.12;
    text-transform: none;
    margin: 0 0 0.85rem;
}
.section-quiz-wizard__lead { margin: 0; }

.quiz-wizard__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
    min-height: clamp(420px, 52vw, 560px);
}
@media (max-width: 991px) {
    .quiz-wizard__card { grid-template-columns: 1fr; min-height: 0; }
}

.quiz-wizard__media {
    position: relative;
    min-height: 240px;
    background: #111;
    overflow: hidden;
}
@media (min-width: 992px) {
    .quiz-wizard__media { min-height: 100%; }
}
.quiz-wizard__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.quiz-wizard__image.is-active { opacity: 1; }
.quiz-wizard__gift {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    padding: 0.45rem 0.75rem;
    background: rgba(168, 0, 0, 0.92);
    color: #fff;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.quiz-wizard__gift[hidden] { display: none !important; }

.quiz-wizard__panel {
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    min-width: 0;
}
.quiz-wizard__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.quiz-wizard__progress {
    flex: 1;
    height: 2px;
    background: #ececec;
    overflow: hidden;
}
.quiz-wizard__progress-fill {
    height: 100%;
    background: var(--color-a, #A80000);
    transition: width 0.35s ease;
}
.quiz-wizard__step-meta {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: #999;
    white-space: nowrap;
}

.quiz-wizard__steps { flex: 1; min-width: 0; }
.quiz-step { animation: quizFade 0.35s ease; min-width: 0; }
.quiz-step[hidden] { display: none !important; }
@keyframes quizFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.quiz-step__label {
    margin: 0 0 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-a, #A80000);
    font-weight: 500;
}
.quiz-step__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
}
.quiz-step__hint {
    margin: 0 0 1rem;
    color: #777;
    font-size: 0.92rem;
    line-height: 1.5;
}
.quiz-step__error {
    margin: 0.75rem 0 0;
    color: #c62828;
    font-size: 0.82rem;
}
.quiz-step__error[hidden] { display: none !important; }

.quiz-options {
    display: grid;
    gap: 0.65rem;
}
.quiz-options--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 575px) {
    .quiz-options--grid { grid-template-columns: 1fr; }
}
.quiz-option {
    position: relative;
    display: block;
    cursor: pointer;
}
.quiz-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.quiz-option span {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0.65rem 0.9rem;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 0.92rem;
    line-height: 1.3;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.quiz-option:hover span {
    border-color: #bbb;
    background: #fff;
}
.quiz-option input:checked + span,
.quiz-option input:focus-visible + span {
    border-color: var(--color-a, #A80000);
    background: rgba(168, 0, 0, 0.06);
    color: #1a1a1a;
    box-shadow: inset 0 0 0 1px var(--color-a, #A80000);
}

.quiz-field { margin-bottom: 1rem; min-width: 0; }
.quiz-field textarea,
.quiz-field input[type="text"],
.quiz-field input[type="tel"] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    padding: 0.55rem 0;
    font: inherit;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease;
}
.quiz-wizard input[type="checkbox"],
.quiz-wizard input[type="radio"] {
    width: auto;
    max-width: none;
    padding: 0;
    cursor: pointer;
}
.quiz-field textarea:focus,
.quiz-field input:focus {
    border-bottom-color: var(--color-a, #A80000);
}
.quiz-field textarea {
    resize: vertical;
    min-height: 6rem;
}
.quiz-fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem;
    margin-bottom: 0.35rem;
}
@media (min-width: 1200px) {
    .quiz-fields-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1rem;
    }
}
.quiz-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}
.quiz-file input { display: none; }
.quiz-file__btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 1rem;
    border: 1px solid #1a1a1a;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}
.quiz-file:hover .quiz-file__btn {
    background: #1a1a1a;
    color: #fff;
}
.quiz-file__name {
    font-size: 0.85rem;
    color: #777;
}

.quiz-policy {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0.75rem 0 0.5rem;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #666;
    cursor: pointer;
}
.quiz-policy input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0.15rem 0 0;
    flex-shrink: 0;
    accent-color: var(--color-a, #A80000);
}
.quiz-policy span {
    flex: 1;
    min-width: 0;
}
.quiz-policy a { color: var(--color-a, #A80000); }

.quiz-wizard__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #ececec;
}
.quiz-wizard__back,
.quiz-wizard__next {
    height: 42px;
    padding: 0 1.15rem;
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.quiz-wizard__back:hover,
.quiz-wizard__next:hover {
    background: #1a1a1a;
    color: #fff;
}
.quiz-wizard__back[hidden],
.quiz-wizard__next[hidden],
.quiz-wizard__submit[hidden] { display: none !important; }
.quiz-wizard__submit.button-arrow {
    margin: 0;
    margin-left: auto;
    height: auto;
    min-height: 42px;
    padding-left: 3.25rem;
    padding-right: 0;
    color: #1a1a1a !important;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    filter: none;
    background-size: 42px auto;
    background-position: left center;
    white-space: nowrap;
}
.quiz-wizard__submit.button-arrow:hover {
    color: var(--color-a, #A80000) !important;
}
@media (max-width: 575px) {
    .quiz-wizard__nav {
        flex-direction: column;
        align-items: stretch;
    }
    .quiz-wizard__back,
    .quiz-wizard__next,
    .quiz-wizard__submit.button-arrow {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    .quiz-wizard__panel {
        padding: 1.25rem 1rem 1.5rem;
    }
    .quiz-wizard__media {
        min-height: 200px;
    }
}

@media (max-width: 991.98px) {
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    section#first.hero-diag {
        height: auto;
        min-height: 0;
        display: grid;
        grid-template-rows: minmax(44vh, 380px) minmax(44vh, 380px);
    }
    .hero-diag__hint,
    .hero-diag__edge { display: none; }
    .hero-panel {
        position: relative;
        inset: auto;
        min-height: 0;
        clip-path: none !important;
        filter: none !important;
    }
    .hero-panel--out,
    .hero-panel--in { clip-path: none !important; }
    .hero-panel__content {
        max-width: none;
        margin: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .hero-panel__desc,
    .hero-panel__cta,
    .hero-panel__teaser {
        opacity: 1;
        max-height: none;
        transform: none;
    }
    .hero-panel__teaser { display: none; }
    .hero-panel__media img {
        transform: none;
        filter: brightness(0.85);
    }
}
@media (max-width: 767.98px) {
    :root { --header-h: 60px; }
    .hero-diag__brand {
        font-size: 0.62rem;
        letter-spacing: 0.22em;
        top: calc(var(--header-h) + 0.5rem);
    }
    .hero-panel__content {
        padding: clamp(1.25rem, 5vw, 1.75rem) !important;
    }
    .hero-panel__title {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem) !important;
        line-height: 1.12 !important;
    }
    .hero-panel__desc,
    .hero-panel__cta {
        margin-top: 0.75rem;
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .advantages-grid { grid-template-columns: 1fr; }
}

/* ===== Site footer ===== */
body.main-page footer#contacts.site-footer,
footer#contacts.site-footer {
    position: relative;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left !important;
}
.site-footer__main {
    background: linear-gradient(165deg, #121212 0%, #1a1a1a 48%, #141414 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
}
.site-footer__main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(168, 0, 0, 0.14) 0%, transparent 55%);
    pointer-events: none;
}
.site-footer__main .container {
    position: relative;
    z-index: 1;
}
.site-footer__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__top > * {
    min-width: 0;
}
@media (min-width: 1400px) {
    .site-footer__top {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(220px, 0.95fr) minmax(240px, 1fr);
        gap: clamp(2rem, 4vw, 3rem);
    }
}
@media (max-width: 767px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.site-footer__logo {
    display: inline-flex;
    margin-bottom: 1.25rem;
    line-height: 0;
}
.site-footer__logo img {
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.site-footer__tagline {
    margin: 0 0 1.5rem;
    max-width: 22rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}
.site-footer__cta {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 1.35rem;
    background: var(--color-a, #A80000);
    border: 1px solid var(--color-a, #A80000);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.2s ease;
}
.site-footer__cta:hover {
    background: #8a0000;
    border-color: #8a0000;
    transform: translateY(-1px);
}
.site-footer__label {
    margin: 0 0 1rem;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}
.site-footer__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.site-footer__links a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}
.site-footer__links a:hover {
    color: #fff;
}
.site-footer__phone {
    display: block;
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}
.site-footer__phone-num {
    white-space: nowrap;
}
.site-footer__phone:hover { color: rgba(255, 255, 255, 0.85) !important; }
.site-footer__note {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.62);
}
.site-footer__email {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    overflow-wrap: anywhere;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__email:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.site-footer__offices-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}
.site-footer__offices-list li a,
.site-footer__offices-list li {
    display: block;
    text-decoration: none;
    color: inherit;
}
.site-footer__offices-list li a:hover .site-footer__office-addr {
    color: #fff;
}
.site-footer__office-city {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0.25rem;
}
.site-footer__offices-list li:first-child .site-footer__office-city {
    color: #ffb4b4;
}
.site-footer__office-addr {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}
.site-footer__mid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}
.site-footer__social-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
.site-footer__social-link img {
    width: 28px;
    height: 28px;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-footer__social-link:hover {
    color: #fff;
}
.site-footer__social-link:hover img {
    opacity: 1;
    transform: translateY(-1px);
}
.site-footer__director {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding-bottom: 0.15rem;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__director:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal {
    margin: 0;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__legal-toggle {
    cursor: pointer;
    list-style: none;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    user-select: none;
    transition: color 0.2s ease;
}
.site-footer__legal-toggle::-webkit-details-marker { display: none; }
.site-footer__legal-toggle::after {
    content: " +";
    opacity: 0.6;
}
.site-footer__legal[open] .site-footer__legal-toggle::after {
    content: " −";
}
.site-footer__legal-toggle:hover { color: rgba(255, 255, 255, 0.7); }
.site-footer__legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2.5rem;
    padding-top: 1.25rem;
}
@media (max-width: 767px) {
    .site-footer__legal-grid { grid-template-columns: 1fr; }
}
.site-footer__legal-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    font-variant-numeric: tabular-nums;
    overflow-wrap: break-word;
}
.site-footer__legal-text strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding-top: 1.35rem;
}
@media (max-width: 767px) {
    .site-footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.site-footer__copy {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.52);
}
.site-footer__partner {
    display: inline-flex;
    justify-content: center;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}
.site-footer__partner:hover { opacity: 0.85; }
.site-footer__partner img {
    width: 5.5rem;
    height: auto;
    filter: brightness(0) invert(1);
}
.site-footer__privacy {
    justify-self: end;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition: color 0.2s ease;
}
@media (max-width: 767px) {
    .site-footer__mid {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
    footer.site-footer,
    footer#contacts.site-footer {
        text-align: left !important;
    }
    .site-footer__privacy { justify-self: center; }
}
.site-footer__privacy:hover { color: rgba(255, 255, 255, 0.85); }

/* Override legacy footer on main page */
body.main-page .footer_contacts { display: none; }
body.main-page footer.site-footer h2,
body.main-page footer#contacts h2 { display: none; }
body.main-page footer.site-footer a:hover,
body.main-page footer#contacts.site-footer a:hover {
    color: inherit;
}
body.main-page footer.site-footer .site-footer__phone:hover,
body.main-page footer.site-footer .site-footer__email:hover,
body.main-page footer.site-footer .site-footer__links a:hover,
body.main-page footer.site-footer .site-footer__director:hover,
body.main-page footer.site-footer .site-footer__privacy:hover {
    color: #fff !important;
}

/* Back to top */
#back-top {
    z-index: 90;
}
#back-top-a {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#back-top-a:hover {
    transform: translateY(-2px);
}
/* Back to top — bottom-right, away from contact widget */
body.main-page #back-top {
    left: auto !important;
    right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(max(1.25rem, env(safe-area-inset-bottom, 0px)) + 4.5rem) !important;
    z-index: 90;
}
body.main-page #back-top #back-top-a {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
body.main-page #back-top #back-top-a:hover {
    opacity: 1;
}
@media (max-width: 767px) {
    body.main-page #back-top {
        right: max(0.85rem, env(safe-area-inset-right, 0px)) !important;
        bottom: calc(max(1rem, env(safe-area-inset-bottom, 0px)) + 4.25rem) !important;
    }
    body.main-page #back-top span {
        width: 40px;
        height: 40px;
    }
}

/* ===== Contact widget (floating) ===== */
.contact-widget {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 10050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    pointer-events: none;
}
.contact-widget > * {
    pointer-events: auto;
}
.contact-widget__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(8, 8, 8, 0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.contact-widget.is-open .contact-widget__backdrop {
    opacity: 1;
    pointer-events: auto;
}
.contact-widget__panel {
    position: relative;
    z-index: 2;
    width: min(22.5rem, calc(100vw - 2rem));
    transform-origin: right bottom;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.28s ease,
        visibility 0.28s ease;
}
.contact-widget.is-open .contact-widget__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.contact-widget__panel-inner {
    background: linear-gradient(165deg, #161616 0%, #1f1f1f 52%, #171717 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    padding: 1.35rem 1.35rem 1.25rem;
    color: #fff;
}
/* Legacy style.css styles ALL <header> as site nav — neutralize inside widget */
.contact-widget header,
.contact-widget__head {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 0.15rem !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: auto !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}
.contact-widget__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffb4b4;
    font-weight: 500;
}
.contact-widget__title {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.01em;
    color: #fff;
}
.contact-widget__lead {
    margin: 0 0 1.15rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}
.contact-widget__phone {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
    color: #fff !important;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.2s ease;
}
.contact-widget__phone:hover {
    background: rgba(168, 0, 0, 0.18);
    border-color: rgba(168, 0, 0, 0.45);
    transform: translateY(-1px);
    color: #fff !important;
}
.contact-widget__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-a, #A80000);
    color: #fff;
    flex-shrink: 0;
}
.contact-widget__phone-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.contact-widget__phone-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}
.contact-widget__phone-num {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.contact-widget__channels {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.contact-widget__channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none !important;
    color: #fff !important;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.2s ease;
}
.contact-widget__channel:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateX(-2px);
    color: #fff !important;
}
.contact-widget__channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}
.contact-widget__channel-icon img {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    display: block;
}
.contact-widget__channel-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.contact-widget__channel-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}
.contact-widget__channel-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.3;
}
.contact-widget__footer {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-widget__footer-note {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
}
.contact-widget__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.contact-widget__cta:hover {
    background: #fff;
    border-color: #fff;
    color: #111 !important;
}
.contact-widget__fab {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.35rem;
    padding: 0 1.1rem 0 0.95rem;
    border: none;
    border-radius: 999px;
    background: var(--color-a, #A80000);
    color: #fff;
    box-shadow:
        0 12px 32px rgba(168, 0, 0, 0.38),
        0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.contact-widget__fab:hover {
    background: #8a0000;
    transform: translateY(-2px);
    box-shadow:
        0 16px 36px rgba(168, 0, 0, 0.42),
        0 4px 12px rgba(0, 0, 0, 0.2);
}
.contact-widget__fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(168, 0, 0, 0.45);
    opacity: 0;
    animation: contactWidgetPulse 2.8s ease-out infinite;
    pointer-events: none;
}
.contact-widget.is-open .contact-widget__fab-pulse {
    animation: none;
    opacity: 0;
}
@keyframes contactWidgetPulse {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1.12); opacity: 0; }
}
.contact-widget__fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
}
.contact-widget__fab-icon--close {
    display: none;
}
.contact-widget.is-open .contact-widget__fab-icon--chat {
    display: none;
}
.contact-widget.is-open .contact-widget__fab-icon--close {
    display: inline-flex;
}
.contact-widget__fab-label {
    padding-right: 0.1rem;
}
@media (max-width: 767px) {
    .contact-widget {
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
        left: max(0.75rem, env(safe-area-inset-left, 0px));
        align-items: stretch;
    }
    .contact-widget__panel {
        width: 100%;
        transform: translateY(18px);
    }
    .contact-widget.is-open .contact-widget__panel {
        transform: translateY(0);
    }
    .contact-widget__panel-inner {
        padding: 1.2rem 1.1rem 1.1rem;
    }
    .contact-widget__phone-num {
        font-size: 1.05rem;
    }
    .contact-widget__fab {
        align-self: flex-end;
        min-height: 3.15rem;
    }
    .contact-widget__fab-label {
        display: none;
    }
    .contact-widget.is-open .contact-widget__fab {
        min-width: 3.15rem;
        padding: 0;
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .contact-widget__panel,
    .contact-widget__backdrop,
    .contact-widget__fab,
    .contact-widget__fab-pulse {
        transition: none !important;
        animation: none !important;
    }
}
body.contact-widget-open {
    overflow: hidden;
}
@media (min-width: 768px) {
    body.contact-widget-open {
        overflow: auto;
    }
}

/* ===== Premium motion system ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: no-preference) {
    [data-aos^="fade"] {
        transition-timing-function: var(--ease-premium) !important;
    }
    [data-aos="fade-up"]:not(.aos-animate) {
        transform: translate3d(0, 24px, 0);
    }
    [data-aos="fade-down"]:not(.aos-animate) {
        transform: translate3d(0, -18px, 0);
    }
    [data-aos="fade-right"]:not(.aos-animate) {
        transform: translate3d(-18px, 0, 0);
    }
    [data-aos="fade-left"]:not(.aos-animate) {
        transform: translate3d(18px, 0, 0);
    }
    [data-aos="zoom-in"]:not(.aos-animate) {
        transform: scale(0.97);
    }
}

body.main-page:not(.is-motion-ready) header#header.site-header {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
}
body.main-page.is-motion-ready header#header.site-header {
    transition:
        opacity 0.75s var(--ease-premium),
        transform 0.75s var(--ease-premium),
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: no-preference) {
    body.main-page:not(.is-motion-ready) .hero-diag__brand,
    body.main-page:not(.is-motion-ready) .hero-diag__hint {
        opacity: 0;
    }
    body.main-page.is-motion-ready .hero-diag__brand {
        animation: premiumHeroBrand 1s var(--ease-premium) 0.12s both;
    }
    body.main-page.is-motion-ready .hero-diag__hint {
        animation: premiumHeroHint 0.9s var(--ease-premium) 0.45s both;
    }
}

@keyframes premiumHeroBrand {
    from {
        opacity: 0;
        transform: translate3d(-50%, -8px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes premiumHeroHint {
    from {
        opacity: 0;
        transform: translate3d(-50%, 8px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}

.section-eyebrow {
    position: relative;
    padding-left: 1rem;
}
.section-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.8;
    transition: width var(--motion-duration-mid) var(--ease-premium);
}
[data-aos].aos-animate .section-eyebrow::before,
.motion-reveal.is-visible .section-eyebrow::before,
.landing-intro .section-eyebrow::before,
.section-quiz-wizard__head .section-eyebrow::before {
    width: 0.55rem;
}

@media (prefers-reduced-motion: no-preference) {
    .naruzhnoe-stats__item {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
        transition:
            opacity 0.75s var(--ease-premium),
            transform 0.75s var(--ease-premium);
    }
    .naruzhnoe-stats[data-aos].aos-animate .naruzhnoe-stats__item {
        opacity: 1;
        transform: none;
    }
    .naruzhnoe-stats__item:nth-child(1) { transition-delay: 0.06s; }
    .naruzhnoe-stats__item:nth-child(2) { transition-delay: 0.16s; }
    .naruzhnoe-stats__item:nth-child(3) { transition-delay: 0.26s; }
}

.proekt-panel.is-active {
    animation: proektFade 0.6s var(--ease-premium) both;
}

.feature-spotlight__media img,
.proekt-panel__media img,
.promo-slide__media img,
.landing-intro__action::after,
.cta-inline__visual img {
    transition: transform 1.15s var(--ease-premium), opacity 0.45s ease;
}
.feature-spotlight__card:hover .feature-spotlight__media img,
.proekt-panel.is-active .proekt-panel__media img,
.promo-slide:hover .promo-slide__media img {
    transform: scale(1.03);
}

a.button-arrow,
button.button-arrow {
    transition:
        color var(--motion-duration-fast) ease,
        transform var(--motion-duration-fast) var(--ease-premium),
        filter var(--motion-duration-fast) ease;
}
a.button-arrow:hover,
button.button-arrow:hover {
    transform: translateX(3px);
}

.case-showcase__inner,
.landing-intro__card,
.founder-card__frame,
.callme-main__form,
.cta-inline__inner,
.section-proekt__card {
    transition:
        box-shadow 0.55s var(--ease-premium),
        border-color 0.55s var(--ease-premium),
        transform 0.55s var(--ease-premium);
}
.case-showcase:hover .case-showcase__inner,
.landing-intro__card:hover,
.founder-card:hover .founder-card__frame,
.callme-main__form:hover,
.cta-inline__inner:hover,
.section-proekt__card:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
}

.site-header__nav a,
.site-header__cta,
.site-footer__cta {
    transition:
        color var(--motion-duration-fast) ease,
        opacity var(--motion-duration-fast) ease,
        background var(--motion-duration-fast) var(--ease-premium),
        border-color var(--motion-duration-fast) ease,
        transform var(--motion-duration-fast) var(--ease-premium);
}

#back-top {
    transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}
#back-top:not([style*="display: none"]) {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    body.main-page:not(.is-motion-ready) header#header.site-header,
    body.main-page:not(.is-motion-ready) .hero-diag__brand,
    body.main-page:not(.is-motion-ready) .hero-diag__hint {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .naruzhnoe-stats__item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .case-showcase__cover-wrap:hover img,
    .feature-spotlight__card:hover .feature-spotlight__media img,
    a.button-arrow:hover,
    button.button-arrow:hover {
        transform: none;
    }
    .case-showcase:hover .case-showcase__inner,
    .landing-intro__card:hover,
    .founder-card:hover .founder-card__frame,
    .callme-main__form:hover,
    .cta-inline__inner:hover,
    .section-proekt__card:hover {
        box-shadow: none;
        transform: none;
    }
}

/* ===== Mobile & tablet responsive fixes ===== */
body.main-page {
    overflow-x: clip;
}
body.main-page main {
    overflow-x: clip;
}

@media (max-width: 991px) {
    .site-header__inner {
        gap: 0.75rem;
    }
    .site-header__tagline {
        font-size: 0.55rem;
    }
    .site-header__phone-note {
        display: none;
    }
    .section-hardware,
    .section-articles {
        overflow: hidden;
    }
    .quiz-options--grid {
        grid-template-columns: 1fr;
    }
    .proekt-tab.is-active {
        transform: none;
    }
}

@media (max-width: 767px) {
    :root {
        --header-h: 60px;
    }
    .site-header__inner {
        gap: 0.65rem;
    }
    .site-header__phone,
    .site-header__social {
        display: none !important;
    }
    .site-header__actions {
        gap: 0;
        justify-self: end;
    }
    .site-header__logo img,
    body.main-page header#header .site-header__logo img {
        height: 40px;
        width: auto;
        max-height: 40px;
        max-width: 180px;
        object-fit: contain;
    }

    .naruzhnoe-stats {
        margin-top: 0 !important;
    }
    .landing-intro__content {
        padding: clamp(1.5rem, 5vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
    }
    .landing-intro__title {
        max-width: none;
    }
    .landing-intro__action {
        padding: clamp(1.5rem, 5vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
        min-height: 220px;
    }
    .landing-intro__action-text {
        max-width: none;
    }

    .section-proekt__nav,
    .section-proekt__panels {
        padding-left: 0;
        padding-right: 0;
    }
    .section-proekt__nav {
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
    }
    .proekt-panel__body {
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }
    .proekt-panel__title {
        max-width: none;
    }

    .section-production__head,
    .section-cases__head,
    .section-articles__head,
    .section-quiz-wizard__head {
        margin-bottom: 1.75rem;
    }
    .section-production__title,
    .section-cases__title,
    .feature-spotlight__title,
    .section-quiz-wizard__title {
        max-width: none;
    }

    .case-showcase__inner {
        padding: 1rem;
    }
    .case-showcase__title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }
    .case-showcase__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .main-about--premium img {
        min-height: 260px;
    }
    .section-about .col-12.col-md-6.px-5 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .cta-inline__main {
        padding: clamp(1.5rem, 5vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
    }
    .cta-inline__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .feature-spotlight__body {
        padding: clamp(1.5rem, 5vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
    }
    .feature-spotlight__tags {
        gap: 0.4rem;
    }

    .founder-card__frame {
        min-height: 0;
    }
    .founder-card__media {
        min-height: 240px;
    }
    .callme-main__form {
        padding: clamp(1.35rem, 4vw, 1.75rem);
    }

    .site-footer__phone-num {
        font-size: 1.15rem;
        word-break: break-word;
    }
    .site-footer__director {
        width: 100%;
        text-align: left;
    }
    .site-footer__privacy {
        justify-self: start;
    }

    body.main-page section {
        margin-bottom: clamp(3.5rem, 12vw, 5rem);
    }

    .section-articles__slider .swiper-slide {
        width: min(86vw, 340px);
    }
    .hardware-slide {
        width: min(72vw, 300px);
    }
    .section-articles__controls {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .landing-intro__card {
        grid-template-columns: 1fr;
    }
    .case-showcase__inner {
        padding: 1.25rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
