/*
Theme Name:   Tarexo
Template:     blankslate
Version:      7.4.6
Description:  Роскошный hero + размытый туман + палитра-сетка + галерея + lightbox.
Author:       Tarexo
Text Domain:  tarexo
*/

/* =========================================================
   Подключение кастомного шрифта Eurostile
   ========================================================= */
@font-face {
    font-family: 'Eurostile Extended';
    src: url('fonts/eurostileextended_roman_dtc.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* =========================================================
   Design tokens
   ========================================================= */
:root {
    --gold:         #8D744B;
    --gold-hover:   #6f5b3b;
    --gold-light:   #C4A87A;

    --navy:         #0A1124;
    --navy-2:       #0C1328;
    --navy-3:       #050810;
    --dark:         #222B42;
    --dark-2:       #2b2d42;
    --light:        #EDEDEE;

    --white:        #ffffff;
    --text-muted:   rgba(255,255,255,.72);

    --radius:       12px;
    --radius-sm:    8px;
    --container:    1400px;
    --header-h:     88px;
    --ease:         cubic-bezier(.4,0,.2,1);

    --font-heading: 'Montserrat', Arial, sans-serif;
    --font-body:    'Nunito', Arial, sans-serif;
    --font-note:    'Montserrat', Arial, sans-serif;
    --font-hero:    'Eurostile Extended', Arial, sans-serif;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font-body); font-weight: 300;
    font-size: 16px; line-height: 1.65; color: #1a1a1a; background: #fff;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }

#top { scroll-margin-top: 0; }

h1, h2, h3, h4, h5, h6, .hero__title, .section__title, .site-header__nav a, .btn, .product-card__label {
    font-family: var(--font-heading); font-weight: 500; letter-spacing: -.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; width: 100%; }

.mobile-br { display: none; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 990;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .4s var(--ease), backdrop-filter .4s var(--ease),
                -webkit-backdrop-filter .4s var(--ease), border-color .4s var(--ease),
                box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(6, 10, 24, 0.88);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.95);
}
.site-header .container.site-header__inner,
.site-header .site-header__inner {
    max-width: 100%; margin: 0; padding: 0 56px;
    height: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 40px;
}
.site-header__logo img,
.site-header__logo .custom-logo { height: 35px; width: auto; display: block; }
.site-header__logo-svg {
    display: block;
    height: 35px;
    width: auto;
    color: #ffffff;
}

/* Скрываем меню до загрузки шрифтов */
.site-header__nav ul { 
    list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; 
    opacity: 0;
    transition: opacity 0.35s ease;
}
.fonts-loaded .site-header__nav ul {
    opacity: 1;
}

.site-header__nav a {
    display: block; padding: 10px 22px; color: #fff;
    font-family: var(--font-body); font-weight: 300; font-size: 16px;
    letter-spacing: .05em; transition: color .25s var(--ease);
}
.site-header__nav a:hover,
.site-header__nav .current-menu-item a { color: var(--gold-light); }

.site-header__burger {
    display: none; background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; padding: 10px;
    flex-direction: column; justify-content: space-between;
    -webkit-tap-highlight-color: transparent;
}
.site-header__burger span {
    display: block; height: 2px; background: #fff; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.site-header__burger.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 1200px) {
    .site-header .container.site-header__inner,
    .site-header .site-header__inner { padding: 0 40px; }
}
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .site-header .container.site-header__inner,
    .site-header .site-header__inner { padding: 0 24px; gap: 16px; }
    .site-header__burger { display: flex; flex-shrink: 0; }
    .site-header__logo { min-width: 0; flex-shrink: 1; }
    .site-header__nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: rgba(5, 8, 16, 0.98);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        max-height: 0; overflow: hidden;
        transition: max-height .35s var(--ease);
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .site-header__nav.is-open { max-height: 70vh; overflow-y: auto; }
    .site-header__nav ul { flex-direction: column; padding: 12px 20px 24px; gap: 4px; }
    .site-header__nav a { padding: 16px 18px; font-size: 16px; color: #fff; }
}
@media (max-width: 480px) {
    .site-header .container.site-header__inner,
    .site-header .site-header__inner { padding: 0 18px; gap: 12px; }
    .site-header__logo img,
    .site-header__logo .custom-logo { height: 32px; max-width: 60vw; }
    .site-header__logo-svg { height: 30px; max-width: 60vw; }
}
@media (max-width: 380px) {
    .site-header .container.site-header__inner,
    .site-header .site-header__inner { padding: 0 14px; gap: 10px; }
    .site-header__logo img,
    .site-header__logo .custom-logo { height: 28px; max-width: 55vw; }
    .site-header__logo-svg { height: 26px; max-width: 55vw; }
}

/* =========================================================
   HERO-INTRO
   ========================================================= */
.hero-intro {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 40px) 56px 80px;
    color: #fff; overflow: hidden; text-align: center;
    background: #04060F;
    contain: paint;
    isolation: isolate;
}
.hero-intro__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(20, 34, 72, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(14, 22, 48, 0.9) 0%, transparent 55%),
        linear-gradient(180deg, #070C1E 0%, #04060F 50%, #02040A 100%);
}
.hero-intro__aura {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 44% 40% at 50% 48%,
            rgba(110, 145, 220, 0.22) 0%,
            rgba(80, 110, 190, 0.09) 42%,
            transparent 72%),
        radial-gradient(ellipse 85% 70% at 50% 55%,
            rgba(30, 50, 110, 0.35) 0%, transparent 70%);
}

/* Туман */
.hero-intro__shimmer {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    filter: blur(70px);
    -webkit-filter: blur(70px);
}

.hero-intro__shimmer--1 {
    top: -5%; left: -10%;
    width: 65%; height: 65%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(130, 170, 245, 0.55) 0%,
        rgba(110, 150, 235, 0.32) 25%,
        rgba(85, 125, 215, 0.15) 50%,
        rgba(60, 100, 200, 0.04) 72%,
        transparent 90%
    );
    animation: mist1 52s cubic-bezier(.45,.05,.55,.95) infinite;
}

.hero-intro__shimmer--2 {
    top: 25%; right: -12%;
    width: 68%; height: 68%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(190, 160, 110, 0.42) 0%,
        rgba(165, 135, 85, 0.24) 28%,
        rgba(140, 110, 65, 0.10) 54%,
        rgba(110, 85, 50, 0.03) 76%,
        transparent 92%
    );
    animation: mist2 68s cubic-bezier(.45,.05,.55,.95) infinite;
    animation-delay: -14s;
}

.hero-intro__shimmer--3 {
    bottom: -8%; left: 5%;
    width: 62%; height: 62%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(115, 150, 235, 0.48) 0%,
        rgba(95, 130, 220, 0.26) 26%,
        rgba(70, 105, 200, 0.10) 52%,
        rgba(45, 80, 175, 0.02) 74%,
        transparent 90%
    );
    animation: mist3 58s cubic-bezier(.45,.05,.55,.95) infinite;
    animation-delay: -26s;
}

.hero-intro__shimmer--4 {
    top: 10%; right: 15%;
    width: 48%; height: 48%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(170, 200, 255, 0.40) 0%,
        rgba(140, 175, 240, 0.22) 28%,
        rgba(110, 145, 220, 0.08) 55%,
        rgba(80, 115, 200, 0.02) 76%,
        transparent 92%
    );
    animation: mist4 46s cubic-bezier(.45,.05,.55,.95) infinite;
    animation-delay: -10s;
}

@keyframes mist1 {
    0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.85; }
    6%   { transform: translate3d(34%, -18%, 0)   scale(1.09) rotate(2deg);    opacity: 0.96; }
    13%  { transform: translate3d(92%, 12%, 0)    scale(0.95) rotate(-1.5deg); opacity: 0.68; }
    21%  { transform: translate3d(118%, 58%, 0)   scale(1.14) rotate(3deg);    opacity: 0.93; }
    28%  { transform: translate3d(72%, 94%, 0)    scale(1.04) rotate(-2.5deg); opacity: 0.76; }
    36%  { transform: translate3d(136%, 118%, 0)  scale(1.16) rotate(1.5deg);  opacity: 0.90; }
    44%  { transform: translate3d(48%, 128%, 0)   scale(0.98) rotate(-3deg);   opacity: 0.66; }
    52%  { transform: translate3d(-28%, 96%, 0)   scale(1.12) rotate(2deg);    opacity: 0.88; }
    59%  { transform: translate3d(-88%, 128%, 0)  scale(1.06) rotate(-1deg);   opacity: 0.72; }
    67%  { transform: translate3d(-78%, 44%, 0)   scale(1.11) rotate(2.5deg);  opacity: 0.90; }
    74%  { transform: translate3d(-94%, -6%, 0)   scale(0.99) rotate(-2deg);   opacity: 0.74; }
    82%  { transform: translate3d(-52%, -42%, 0)  scale(1.07) rotate(1deg);    opacity: 0.86; }
    89%  { transform: translate3d(-18%, -22%, 0)  scale(1.02) rotate(-1.5deg); opacity: 0.78; }
    95%  { transform: translate3d(12%, -8%, 0)    scale(1.01) rotate(0.5deg);  opacity: 0.86; }
    100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.85; }
}

@keyframes mist2 {
    0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.75; }
    5%   { transform: translate3d(-28%, -22%, 0)  scale(1.10) rotate(2deg);    opacity: 0.92; }
    12%  { transform: translate3d(-48%, 42%, 0)   scale(0.96) rotate(-2.5deg); opacity: 0.60; }
    20%  { transform: translate3d(-122%, 26%, 0)  scale(1.16) rotate(3deg);    opacity: 0.90; }
    27%  { transform: translate3d(-84%, -34%, 0)  scale(1.02) rotate(-1deg);   opacity: 0.70; }
    35%  { transform: translate3d(-134%, -22%, 0) scale(1.12) rotate(2deg);    opacity: 0.86; }
    43%  { transform: translate3d(-78%, -76%, 0)  scale(1.00) rotate(-3deg);   opacity: 0.66; }
    51%  { transform: translate3d(-24%, -96%, 0)  scale(1.14) rotate(1.5deg);  opacity: 0.88; }
    58%  { transform: translate3d(38%, -72%, 0)   scale(1.08) rotate(-2deg);   opacity: 0.78; }
    66%  { transform: translate3d(78%, -98%, 0)   scale(0.97) rotate(2.5deg);  opacity: 0.66; }
    74%  { transform: translate3d(88%, -34%, 0)   scale(1.10) rotate(-1.5deg); opacity: 0.86; }
    81%  { transform: translate3d(58%, 4%, 0)     scale(1.03) rotate(2deg);    opacity: 0.74; }
    89%  { transform: translate3d(24%, 26%, 0)    scale(0.99) rotate(-1deg);   opacity: 0.82; }
    96%  { transform: translate3d(-8%, 12%, 0)    scale(1.01) rotate(0.5deg);  opacity: 0.76; }
    100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.75; }
}

@keyframes mist3 {
    0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.80; }
    7%   { transform: translate3d(52%, 24%, 0)    scale(1.08) rotate(-2deg);   opacity: 0.94; }
    14%  { transform: translate3d(32%, -62%, 0)   scale(0.95) rotate(2.5deg);  opacity: 0.62; }
    22%  { transform: translate3d(-38%, -94%, 0)  scale(1.14) rotate(-3deg);   opacity: 0.90; }
    29%  { transform: translate3d(-96%, -112%, 0) scale(1.05) rotate(1.5deg);  opacity: 0.72; }
    37%  { transform: translate3d(-58%, -52%, 0)  scale(1.12) rotate(-2deg);   opacity: 0.86; }
    45%  { transform: translate3d(-128%, -38%, 0) scale(1.00) rotate(2.5deg);  opacity: 0.68; }
    53%  { transform: translate3d(-102%, 22%, 0)  scale(1.10) rotate(-1.5deg); opacity: 0.88; }
    61%  { transform: translate3d(-58%, 74%, 0)   scale(0.98) rotate(2deg);    opacity: 0.66; }
    68%  { transform: translate3d(-16%, 96%, 0)   scale(1.10) rotate(-2.5deg); opacity: 0.86; }
    76%  { transform: translate3d(42%, 68%, 0)    scale(1.03) rotate(1deg);    opacity: 0.78; }
    84%  { transform: translate3d(72%, 28%, 0)    scale(1.08) rotate(-1.5deg); opacity: 0.88; }
    92%  { transform: translate3d(36%, 14%, 0)    scale(1.01) rotate(0.5deg);  opacity: 0.80; }
    100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.80; }
}

@keyframes mist4 {
    0%   { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.70; }
    8%   { transform: translate3d(-58%, 32%, 0)   scale(1.15) rotate(-4deg);   opacity: 0.92; }
    16%  { transform: translate3d(-18%, 88%, 0)   scale(0.95) rotate(2.5deg);  opacity: 0.55; }
    24%  { transform: translate3d(42%, 62%, 0)    scale(1.12) rotate(-3deg);   opacity: 0.86; }
    32%  { transform: translate3d(96%, 102%, 0)   scale(1.00) rotate(3.5deg);  opacity: 0.62; }
    40%  { transform: translate3d(58%, 46%, 0)    scale(1.14) rotate(-1.5deg); opacity: 0.88; }
    48%  { transform: translate3d(104%, -6%, 0)   scale(0.97) rotate(2.5deg);  opacity: 0.62; }
    56%  { transform: translate3d(78%, -68%, 0)   scale(1.10) rotate(-3deg);   opacity: 0.86; }
    64%  { transform: translate3d(28%, -92%, 0)   scale(1.02) rotate(3.5deg);  opacity: 0.68; }
    72%  { transform: translate3d(-22%, -78%, 0)  scale(1.08) rotate(-2deg);   opacity: 0.88; }
    80%  { transform: translate3d(-58%, -38%, 0)  scale(0.98) rotate(1.5deg);  opacity: 0.72; }
    88%  { transform: translate3d(-38%, -6%, 0)   scale(1.04) rotate(-1deg);   opacity: 0.84; }
    95%  { transform: translate3d(-14%, 16%, 0)   scale(1.01) rotate(0.5deg);  opacity: 0.72; }
    100% { transform: translate3d(0, 0, 0)        scale(1)    rotate(0deg);    opacity: 0.70; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-intro__shimmer { animation: none; opacity: 0.7; }
}

.hero-intro__warm {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        radial-gradient(ellipse 30% 60% at 88% 85%, rgba(150, 120, 70, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 25% 50% at 10% 20%, rgba(150, 120, 70, 0.06) 0%, transparent 60%);
    mix-blend-mode: screen;
}
.hero-intro__grain {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    opacity: 0.35; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 260px 260px;
}
.hero-intro__vignette {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background:
        linear-gradient(to bottom,
            #04060F 0%, rgba(4, 6, 15, 0.75) 12%,
            transparent 28%, transparent 72%,
            rgba(4, 6, 15, 0.78) 88%, #02040A 100%),
        radial-gradient(ellipse 110% 100% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-intro::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            transparent 0%,
            rgba(4, 6, 15, 0.10) 16%,
            rgba(4, 6, 15, 0.20) 30%,
            rgba(4, 6, 15, 0.10) 46%,
            rgba(4, 6, 15, 0.22) 64%,
            rgba(4, 6, 15, 0.14) 80%,
            transparent 100%),
        linear-gradient(90deg,
            rgba(4, 6, 15, 0.18) 0%,
            transparent 20%, transparent 80%,
            rgba(4, 6, 15, 0.18) 100%);
    mix-blend-mode: multiply;
}

.hero-intro__inner {
    position: relative; z-index: 5;
    max-width: 1300px; width: 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center;
}
.hero-intro__title {
    font-family: var(--font-hero);
    font-weight: 400;
    font-size: clamp(34.2px, 5.4vw, 93.6px);
    line-height: 1.05; letter-spacing: -.04em;
    color: #fff; margin: 0 0 40px; white-space: nowrap;
    text-shadow: 0 2px 50px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    
    /* Скрываем заголовок до загрузки шрифта */
    opacity: 0;
    transition: opacity 0.35s ease;
}
.fonts-loaded .hero-intro__title {
    opacity: 1;
}

.hero-intro__subtitle {
    font-family: var(--font-body); font-weight: 400;
    font-size: clamp(15px, 1.55vw, 21px);
    line-height: 1.65; color: rgba(255, 255, 255, 0.88);
    max-width: 820px; margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
    
    /* Скрываем подзаголовок до загрузки шрифта */
    opacity: 0;
    transition: opacity 0.35s ease;
}
.fonts-loaded .hero-intro__subtitle {
    opacity: 1;
}

/* =========================================================
   HERO-VIDEO
   ========================================================= */
.hero-video {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 40px) 32px 60px;
    color: #fff; overflow: hidden; background: var(--navy-2);
}
.hero-video::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 260px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #02040A 0%,
        rgba(2, 4, 10, 0.82) 22%,
        rgba(2, 4, 10, 0.52) 48%,
        rgba(2, 4, 10, 0.17) 75%,
        transparent 100%
    );
}
.hero-video__media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    z-index: 0; pointer-events: none;
}
.hero-video__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(10, 17, 36, 0.55) 0%,
        rgba(10, 17, 36, 0.45) 50%,
        rgba(5, 8, 16, 0.85) 100%);
}
.hero-video__inner {
    position: relative; z-index: 5;
    width: 100%; max-width: 1700px;
    text-align: center; margin: 0 auto;
}
.hero-video__title {
    font-family: var(--font-heading); font-weight: 500;
    font-size: clamp(24px, 3vw, 52px);
    line-height: 1.15; letter-spacing: -.02em;
    margin: 0 0 24px; white-space: nowrap;
    text-shadow: 0 2px 30px rgba(0,0,0,.85), 0 1px 4px rgba(0,0,0,.7);
}
.hero-video__subtitle {
    font-family: var(--font-body); font-weight: 300;
    font-size: clamp(14px, 1.4vw, 20px);
    color: rgba(255,255,255,.9);
    max-width: 820px; margin: 0 auto 40px;
    text-shadow: 0 1px 10px rgba(0,0,0,.7);
}
.hero-video__actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

@media (max-width: 1680px) { .hero-video__title { font-size: clamp(23px, 2.8vw, 46px); } }
@media (max-width: 1440px) { .hero-video__title { font-size: clamp(22px, 2.5vw, 38px); } }
@media (max-width: 1280px) { .hero-video__title { font-size: clamp(20px, 2.3vw, 32px); } }
@media (max-width: 1100px) { .hero-video__title { font-size: clamp(20px, 2.2vw, 28px); } }
@media (max-width: 980px)  { .hero-video__title { font-size: clamp(20px, 2.2vw, 26px); } }

/* =========================================================
   Buttons
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 32px; min-width: 240px; font-size: 16px; border-radius: var(--radius-sm); border: 0; cursor: pointer; transition: background .25s var(--ease), transform .2s var(--ease); text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--dark { background: var(--dark-2); color: var(--white); }
.section--dark-deep { background: var(--navy-2); color: var(--white); }
.section--gold { background: var(--gold); color: var(--white); }
.section--light { background: var(--light); color: #1a1a1a; }

.section__head { max-width: 720px; margin: 0 0 60px; }
.section__title { font-size: clamp(26px, 3vw, 42px); font-weight: 500; line-height: 1.2; margin: 0 0 16px; letter-spacing: -.01em; }
.section__lead { font-family: var(--font-note); font-weight: 300; font-size: 17px; color: var(--text-muted); margin: 0; }

.section--light .section__title { color: #1a1a1a; }
.section--light .section__lead  { color: rgba(26, 26, 26, 0.72); }
.section--light .eyebrow { color: var(--gold); }

.section--gold .eyebrow        { color: rgba(255, 255, 255, 0.72); }
.section--gold .section__lead  { color: rgba(255, 255, 255, 0.85); }

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.feature--reverse .feature__media { order: -1; }
.feature__body { display: flex; flex-direction: column; justify-content: center; }
.feature__body p { color: var(--text-muted); margin: 0 0 16px; font-size: 16px; }
.feature__body p strong { color: #fff; font-weight: 600; }
.feature__media { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.eyebrow { display: block; margin-bottom: 12px; color: var(--gold); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

@media (max-width: 800px) {
    .feature { grid-template-columns: 1fr; gap: 28px; }
    .feature--reverse .feature__media { order: 0; }
    .feature__media { aspect-ratio: 16/10; }
}

/* =========================================================
   PALETTE
   ========================================================= */
.palette-section { padding: clamp(60px, 8vw, 110px) 0; }

.palette__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 72px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.palette__head-left { max-width: 560px; }
.palette__lead { max-width: 480px; margin: 0 0 0 auto; align-self: end; }

.palette__grid {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.palette__item {
    position: relative;
    display: flex; flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    padding: 28px 32px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .4s var(--ease);
    overflow: hidden;
    cursor: default;
}
.palette__item::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.07) 100%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.palette__item:hover::after { opacity: 1; }

.palette__num {
    position: relative; z-index: 1;
    font-family: var(--font-note); font-weight: 500;
    font-size: 13px; letter-spacing: .28em;
    color: rgba(255, 255, 255, 0.55);
    transition: color .3s var(--ease);
}
.palette__item:hover .palette__num { color: rgba(255, 255, 255, 0.95); }
.palette__text {
    position: relative; z-index: 1;
    font-family: var(--font-heading); font-weight: 500;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.3;
    color: #fff; margin-top: auto;
    padding-top: 40px;
    max-width: 220px;
    letter-spacing: -.005em;
}

@media (max-width: 900px) {
    .palette__head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .palette__lead { margin: 0; max-width: 100%; }
    .palette__grid { grid-template-columns: repeat(2, 1fr); }
    .palette__item { min-height: 170px; padding: 22px; }
    .palette__text { padding-top: 24px; font-size: 17px; }
}
@media (max-width: 560px) {
    .palette__grid { grid-template-columns: 1fr; }
    .palette__item { min-height: auto; padding: 18px 20px; }
    .palette__text { padding-top: 12px; max-width: 100%; }
    .palette__item::after { background: none; }
    .palette__item:hover { background: rgba(255, 255, 255, 0.04); }
}

/* =========================================================
   Products
   ========================================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10,17,36,.3); }
.product-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-card__media { aspect-ratio: 1/1; background-size: cover; background-position: center; background-color: #f1f2f7; }
.product-card__label {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    color: var(--dark);
    border-top: 1px solid #f1f2f7;
    text-align: center;
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .product-card__label { padding: 14px 12px; font-size: 14px; }
}
@media (max-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-card__label { padding: 12px 10px; font-size: 13px; letter-spacing: 0; }
}
@media (max-width: 375px) {
    .products-grid { gap: 10px; }
    .product-card__label { padding: 10px 8px; font-size: 12px; }
}

/* =========================================================
   Contacts
   ========================================================= */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.contacts__info { display: flex; flex-direction: column; justify-content: center; }
.contacts__info p { margin: 0 0 20px; font-size: 18px; font-weight: 300; }
.contacts__info strong { display: block; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.contacts__info a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,.4); }
.contacts__map-link {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--font-note);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 0;
}
.contacts__map-link:hover { color: var(--gold-light); }
.form { display: grid; gap: 16px; }
.form__field { width: 100%; padding: 16px 18px; font-weight: 300; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); color: #fff; transition: border-color .25s var(--ease), background .25s var(--ease); }
.form__field::placeholder { color: rgba(255,255,255,.45); }
.form__field:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
textarea.form__field { min-height: 130px; resize: vertical; }

.form__response { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; text-align: left; }
.form__response--success { display: block; background: rgba(141, 116, 75, 0.25); border: 1px solid var(--gold); color: #fff; }
.form__response--error   { display: block; background: rgba(220, 60, 60, 0.15); border: 1px solid rgba(220, 60, 60, 0.6); color: #ffb3b3; }
.form .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (max-width: 800px) {
    .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
    .contacts__info p { font-size: 16px; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section { position: relative; overflow: hidden; padding-bottom: 70px; }
.gallery-section::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 168, 122, 0.35), transparent);
}

.gallery-section .gallery__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 72px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.gallery-section .gallery__head-left { max-width: 560px; }
.gallery-section .gallery__head .eyebrow { color: var(--gold-light); }
.gallery-section .gallery__head .section__title { color: #fff; }
.gallery-section .gallery__lead {
    max-width: 480px;
    margin: 0 0 0 auto;
    align-self: end;
}

.gallery-wrap { position: relative; padding: 0 48px; }

.gallery {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: minmax(520px, 44vw);
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 168, 122, 0.4) transparent;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

@media (hover: hover) and (pointer: fine) {
    .gallery { scroll-snap-type: none; }
}

.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-track { background: rgba(255,255,255,.04); border-radius: 3px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(196, 168, 122, 0.4); border-radius: 3px; }
.gallery::-webkit-scrollbar-thumb:hover { background: rgba(196, 168, 122, 0.7); }

.gallery__item {
    position: relative; display: block;
    aspect-ratio: 3/2;
    border-radius: 14px; overflow: hidden;
    scroll-snap-align: start;
    background: #0a0f1e;
    box-shadow:
        0 30px 70px -40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}
.gallery__item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 40px 90px -40px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(196, 168, 122, 0.35);
}
.gallery__media {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.03);
    transition: transform 1s var(--ease), filter .5s var(--ease);
    filter: saturate(.92) contrast(1.02) brightness(.95);
}
.gallery__item:hover .gallery__media {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.05) brightness(1);
}
.gallery__grain {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.18; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 260px 260px;
    z-index: 2;
}
.gallery__item::after {
    content: '';
    position: absolute; inset: auto 0 0 0;
    height: 40%; pointer-events: none;
    background: linear-gradient(to top, rgba(5, 8, 16, 0.7), transparent);
    z-index: 1;
}
.gallery__num {
    position: absolute;
    left: 20px; bottom: 18px;
    z-index: 3;
    font-family: var(--font-note); font-weight: 500;
    font-size: 12px; letter-spacing: .22em;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
}
.gallery-hint {
    margin-top: 12px;
    display: flex; justify-content: flex-end;
    padding-right: 48px;
}
.gallery-hint span {
    font-family: var(--font-note); font-weight: 400;
    font-size: 12px; letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
    .gallery { grid-auto-columns: minmax(440px, 60vw); gap: 24px; }
}
@media (max-width: 768px) {
    .gallery-section { padding-bottom: 50px; }
    .gallery-wrap { padding: 0 24px; }
    .gallery { grid-auto-columns: minmax(300px, 82vw); gap: 16px; padding-bottom: 24px; }
    .gallery__item { border-radius: 12px; }
    .gallery__num { left: 14px; bottom: 12px; font-size: 11px; }
    .gallery-hint { padding-right: 24px; }
    .gallery-hint span { font-size: 11px; letter-spacing: .24em; }
}
@media (max-width: 480px) {
    .gallery { grid-auto-columns: 86vw; gap: 12px; }
}
@media (max-width: 375px) {
    .gallery { grid-auto-columns: 88vw; }
    .gallery-hint { display: none; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.lightbox__backdrop {
    position: absolute; inset: 0;
    background: rgba(2, 4, 10, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lightbox__stage {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 80px 120px;
    pointer-events: auto;
    touch-action: pan-y;
}

.lightbox__img {
    display: block;
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
    user-select: none;
    -webkit-user-drag: none;
    background: #0F1838;
    pointer-events: none;
    will-change: opacity, transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity .2s var(--ease);
}
.lightbox__img.is-loading { opacity: 0.2; }

.lightbox__img.is-entering-right {
    animation: lbEnterFromRight .45s cubic-bezier(.22, 1, .36, 1);
}
.lightbox__img.is-entering-left {
    animation: lbEnterFromLeft .45s cubic-bezier(.22, 1, .36, 1);
}
.lightbox__img.is-entering-center {
    animation: lbEnterCenter .35s cubic-bezier(.4, 0, .2, 1);
}

@keyframes lbEnterFromRight {
    from { opacity: 0; transform: translate3d(50px, 0, 0) scale(0.985); }
    to   { opacity: 1; transform: translate3d(0, 0, 0)   scale(1); }
}
@keyframes lbEnterFromLeft {
    from { opacity: 0; transform: translate3d(-50px, 0, 0) scale(0.985); }
    to   { opacity: 1; transform: translate3d(0, 0, 0)    scale(1); }
}
@keyframes lbEnterCenter {
    from { opacity: 0; transform: translate3d(0, 0, 0) scale(0.97); }
    to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.lightbox__title {
    position: absolute;
    top: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
    white-space: nowrap;
}
.lightbox--product.is-open .lightbox__title { opacity: 1; }

.lightbox__close {
    position: absolute; top: 24px; right: 24px; z-index: 4;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%; color: #fff; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.lightbox__close svg { width: 18px; height: 18px; display: block; }
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(196, 168, 122, 0.55);
    transform: rotate(90deg);
}
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 4;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%; color: #fff; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.lightbox__nav svg { width: 22px; height: 22px; display: block; }
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(196, 168, 122, 0.55);
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__counter {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%); z-index: 4;
    font-family: var(--font-note); font-weight: 400;
    font-size: 12px; letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Product lightbox — квадрат, картинка заполняет целиком (object-fit: cover) */
.lightbox--product .lightbox__stage { padding: 110px 120px 120px; }
.lightbox--product .lightbox__img {
    max-width: min(66vmin, 640px);
    max-height: min(66vmin, 640px);
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: #0F1838;
    box-shadow:
        0 40px 100px -30px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}
.lightbox--product .lightbox__counter { bottom: 40px; }

@media (max-width: 768px) {
    .lightbox__stage { padding: 76px 16px 88px; }
    .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
    .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__nav svg { width: 18px; height: 18px; }
    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
    .lightbox__counter { bottom: 22px; font-size: 11px; letter-spacing: .22em; }

    .lightbox--product .lightbox__stage { padding: 80px 16px 90px; }
    .lightbox--product .lightbox__img {
        max-width: min(82vmin, 520px);
        max-height: min(82vmin, 520px);
    }
    .lightbox--product .lightbox__counter { bottom: 22px; }
}
@media (max-width: 480px) {
    .lightbox__nav { width: 38px; height: 38px; }
    .lightbox__nav svg { width: 15px; height: 15px; }
    .lightbox__title { font-size: 11px; letter-spacing: .22em; top: 22px; }

    .lightbox--product .lightbox__stage { padding: 70px 14px 82px; }
    .lightbox--product .lightbox__img {
        max-width: 88vmin;
        max-height: 88vmin;
    }
}

/* =========================================================
   Drag-to-scroll
   ========================================================= */
.gallery { cursor: grab; }

.gallery__item,
.gallery__item * {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.gallery.is-dragging,
.gallery.is-dragging * {
    cursor: grabbing !important;
    user-select: none;
    -webkit-user-select: none;
}
.gallery__item { cursor: zoom-in; }
.gallery.is-dragging .gallery__item { cursor: grabbing; }

.lightbox__stage { cursor: grab; }
.lightbox__stage.is-dragging,
.lightbox__stage.is-dragging * {
    cursor: grabbing !important;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: none) and (pointer: coarse) {
    .gallery,
    .lightbox__stage { cursor: default; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-3); color: #fff; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.05); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--font-note); font-weight: 400; font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.site-footer a { color: rgba(255,255,255,.85); border-bottom: 1px dashed rgba(255,255,255,.3); }
@media (max-width: 600px) { .site-footer__inner { justify-content: center; text-align: center; } }

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* =========================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================================= */
@media (max-width: 1200px) {
    .hero-intro__title { letter-spacing: -.03em; }
}

@media (max-width: 900px) {
    .hero-intro__title { white-space: normal; }
    .mobile-br { display: inline; }

    .gallery-section .gallery__head {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
        margin-bottom: 36px;
    }
    .gallery-section .gallery__lead { margin: 0; max-width: 100%; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; }

    .container { padding: 0 20px; }

    .hero-intro {
        padding: calc(var(--header-h) + 32px) 24px 60px;
        min-height: 90vh;
    }
    .hero-intro__bg {
        background:
            radial-gradient(ellipse 140% 55% at 50% 100%, rgba(20, 34, 72, 0.65) 0%, transparent 70%),
            radial-gradient(ellipse 160% 70% at 50% 0%, rgba(14, 22, 48, 0.95) 0%, transparent 65%),
            linear-gradient(180deg, #070C1E 0%, #04060F 50%, #02040A 100%);
    }
    .hero-intro__aura {
        background:
            radial-gradient(ellipse 110% 45% at 50% 48%,
                rgba(110, 145, 220, 0.38) 0%,
                rgba(80, 110, 190, 0.18) 42%,
                transparent 78%),
            radial-gradient(ellipse 170% 85% at 50% 55%,
                rgba(30, 50, 110, 0.58) 0%,
                transparent 75%);
    }

    .hero-intro__shimmer {
        filter: blur(28px);
        -webkit-filter: blur(28px);
        mix-blend-mode: screen;
    }
    .hero-intro__shimmer--1 {
        width: 85%; height: 85%;
        top: -10%; left: -22%;
        animation-duration: 36s;
        opacity: 0.95;
    }
    .hero-intro__shimmer--2 {
        width: 90%; height: 90%;
        top: 18%; right: -28%;
        animation-duration: 46s;
        opacity: 0.88;
    }
    .hero-intro__shimmer--3 {
        width: 85%; height: 85%;
        bottom: -14%; left: -22%;
        animation-duration: 40s;
        opacity: 0.92;
    }
    .hero-intro__shimmer--4 {
        width: 75%; height: 75%;
        top: -2%; right: -14%;
        animation-duration: 34s;
        opacity: 0.85;
    }

    .hero-intro__warm {
        background:
            radial-gradient(ellipse 75% 45% at 85% 88%, rgba(150, 120, 70, 0.16) 0%, transparent 70%),
            radial-gradient(ellipse 65% 40% at 15% 18%, rgba(150, 120, 70, 0.12) 0%, transparent 65%);
    }

    .hero-intro__title {
        font-size: clamp(36px, 9.9vw, 54px);
        margin-bottom: 24px;
        line-height: 1.05;
        letter-spacing: -.035em;
    }
    .hero-intro__subtitle { font-size: 15px; line-height: 1.6; }
    .hero-intro__grain { opacity: 0.25; }

    .hero-video {
        padding: calc(var(--header-h) + 32px) 20px 60px;
        min-height: 82vh;
    }
    .hero-video::before { height: 180px; }
    .hero-video__title {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 16px;
        line-height: 1.2;
        white-space: normal;
    }
    .hero-video__subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        max-width: 100%;
    }
    .hero-video__actions { gap: 12px; }

    .btn {
        min-width: 200px;
        padding: 16px 26px;
        font-size: 15px;
        width: 100%;
        max-width: 340px;
    }

    .section { padding: 60px 0; }
    .section__head { margin-bottom: 40px; }
    .section__title { font-size: clamp(22px, 6vw, 32px); }
    .section__lead { font-size: 15px; }

    .feature__body { align-items: flex-start; text-align: left; }
    .feature__body p { text-align: left; }

    .contacts__info p { font-size: 15px; }
    .form__field { padding: 14px 16px; font-size: 15px; }
    textarea.form__field { min-height: 110px; }
}

@media (max-width: 480px) {
    :root { --header-h: 64px; }

    .container { padding: 0 16px; }

    .hero-intro {
        padding: calc(var(--header-h) + 24px) 18px 48px;
        min-height: 88vh;
    }
    .hero-intro__bg {
        background:
            radial-gradient(ellipse 160% 55% at 50% 100%, rgba(20, 34, 72, 0.7) 0%, transparent 72%),
            radial-gradient(ellipse 180% 70% at 50% 0%, rgba(14, 22, 48, 0.98) 0%, transparent 68%),
            linear-gradient(180deg, #070C1E 0%, #04060F 50%, #02040A 100%);
    }
    .hero-intro__aura {
        background:
            radial-gradient(ellipse 130% 50% at 50% 48%,
                rgba(110, 145, 220, 0.42) 0%,
                rgba(80, 110, 190, 0.20) 42%,
                transparent 80%),
            radial-gradient(ellipse 200% 90% at 50% 55%,
                rgba(30, 50, 110, 0.62) 0%,
                transparent 78%);
    }

    .hero-intro__shimmer {
        filter: blur(22px);
        -webkit-filter: blur(22px);
        mix-blend-mode: screen;
    }
    .hero-intro__shimmer--1 {
        width: 95%; height: 95%;
        top: -14%; left: -28%;
        animation-duration: 32s;
        opacity: 0.98;
    }
    .hero-intro__shimmer--2 {
        width: 100%; height: 100%;
        top: 14%; right: -32%;
        animation-duration: 40s;
        opacity: 0.90;
    }
    .hero-intro__shimmer--3 {
        width: 95%; height: 95%;
        bottom: -18%; left: -28%;
        animation-duration: 38s;
        opacity: 0.95;
    }
    .hero-intro__shimmer--4 {
        width: 82%; height: 82%;
        top: -4%; right: -18%;
        animation-duration: 30s;
        opacity: 0.88;
    }

    .hero-intro__warm {
        background:
            radial-gradient(ellipse 90% 50% at 90% 90%, rgba(150, 120, 70, 0.18) 0%, transparent 72%),
            radial-gradient(ellipse 80% 45% at 10% 15%, rgba(150, 120, 70, 0.14) 0%, transparent 68%);
    }

    .hero-intro__title {
        font-size: clamp(32.4px, 10.8vw, 45px);
        margin-bottom: 20px;
        line-height: 1.05;
        letter-spacing: -.035em;
    }
    .hero-intro__subtitle { font-size: 14px; }

    .hero-video {
        padding: calc(var(--header-h) + 24px) 18px 48px;
        min-height: 78vh;
    }
    .hero-video__title { font-size: clamp(20px, 5.6vw, 26px); }
    .hero-video__subtitle { font-size: 13px; margin-bottom: 22px; }
    .hero-video__actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 15px 20px;
        font-size: 14px;
    }

    .section { padding: 48px 0; }
    .section__head { margin-bottom: 32px; }
    .section__title { font-size: clamp(20px, 5.5vw, 26px); }
    .section__lead { font-size: 14px; }

    .palette-section { padding: 48px 0; }
    .palette__head { margin-bottom: 28px; }
    .palette__item { padding: 16px 18px; }
    .palette__num { font-size: 11px; letter-spacing: .22em; }
    .palette__text { font-size: 16px; padding-top: 10px; }

    .contacts__info p { font-size: 14px; margin-bottom: 14px; }
    .contacts__info strong { font-size: 11px; }
    .form__field { padding: 13px 14px; font-size: 14px; }
    textarea.form__field { min-height: 100px; }
}

@media (max-width: 375px) {
    :root { --header-h: 60px; }

    .container { padding: 0 14px; }

    .hero-intro__title { font-size: 30.6px; margin-bottom: 16px; line-height: 1.05; }
    .hero-intro__subtitle { font-size: 13px; }

    .hero-video__title { font-size: 19px; }
    .hero-video__subtitle { font-size: 12.5px; }

    .section__title { font-size: 20px; }
    .section__lead { font-size: 13px; }

    .palette__item { padding: 14px 16px; }
    .palette__text { font-size: 15px; }

    .btn { padding: 14px 18px; font-size: 13.5px; }
}

@media (max-width: 320px) {
    .container { padding: 0 12px; }
    .hero-intro__title { font-size: 27px; line-height: 1.05; }
    .hero-video__title { font-size: 18px; }
    .section__title { font-size: 19px; }
    .palette__text { font-size: 14.5px; }
}

/* =========================================================
   Планшеты в горизонтальной ориентации
   ========================================================= */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-intro, .hero-video { min-height: auto; padding-top: calc(var(--header-h) + 20px); padding-bottom: 40px; }
    .hero-intro__title { font-size: clamp(21.6px, 3.6vw, 32.4px); }
    .hero-video__title { font-size: clamp(18px, 2.6vw, 24px); }
    .hero-video__subtitle { margin-bottom: 20px; }
}