/* region ═══ VARIABLES ═══ */
:root {
    --bg-main:          #070709;
    --bg-section:       #0D0D10;
    --bg-glass:         rgba(16, 16, 20, 0.7);
    --text-main:        #F5F5F0;
    --text-muted:       #888890;
    --accent:           #FACC15;
    --accent-dim:       rgba(250, 204, 21, 0.08);
    --accent-glow:      rgba(250, 204, 21, 0.35);
    --accent-glow-str:  rgba(250, 204, 21, 0.65);
    --border-subtle:    rgba(255, 255, 255, 0.06);
    --border-accent:    rgba(250, 204, 21, 0.22);

    --font-display: 'Bebas Neue', sans-serif;
    --font-tech:    'Orbitron', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --header-h: 80px;
}
/* endregion */

/* region ═══ RESET & BASE ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
blockquote { margin: 0; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
/* endregion */

/* region ═══ KEYFRAMES ═══ */
@keyframes loadBar { to { width: 100%; } }
@keyframes pulseGlowImg {
    0%, 100% { filter: invert(1) drop-shadow(0 0 10px rgba(250,204,21,0.4)); }
    50%       { filter: invert(1) drop-shadow(0 0 28px rgba(250,204,21,0.8)); }
}
@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 20px var(--accent-glow); }
    50%       { text-shadow: 0 0 40px var(--accent-glow-str), 0 0 80px var(--accent-glow); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scrollPulse {
    0%,100% { opacity: 0.35; transform: scaleY(1); }
    50%      { opacity: 1;    transform: scaleY(0.65); }
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* endregion */

/* region ═══ SCROLL REVEAL ═══ */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
    will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: translateY(0); will-change: auto; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
/* endregion */

/* region ═══ TYPOGRAPHY ═══ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-title--left { text-align: left; }
.section-title span {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
}
.eyebrow {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 28px;
}
.eyebrow::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 1px;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow { display: block; }
/* endregion */

/* region ═══ GLASS PANEL ═══ */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow:
        0 32px 64px -16px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
/* endregion */

/* region ═══ BUTTONS ═══ */
.btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-expo);
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.08);
    transform: translateX(-105%) skewX(-10deg);
    transition: transform 0.5s var(--ease-expo);
}
.btn:hover::before { transform: translateX(0) skewX(-10deg); }
.btn--primary { background: var(--accent); color: var(--bg-main); font-weight: 700; }
.btn--glow:hover {
    box-shadow: 0 0 36px var(--accent-glow), 0 0 72px rgba(250,204,21,0.12);
    transform: translateY(-3px);
}
.btn--outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.14);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn__icon { transition: transform 0.3s var(--ease-back); display: inline-block; }
.btn:hover .btn__icon { transform: translateX(5px); }
/* endregion */

/* region ═══ LOGO ═══ */
.logo-img {
    height: 65px;
    width: auto;
    display: block;
    filter: invert(1);
    transition: filter 0.35s var(--ease-expo), transform 0.35s var(--ease-expo);
    will-change: filter, transform;
}
.header__logo:hover .logo-img {
    filter: invert(1) sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05);
    transform: scale(1.04);
}
.logo-img--footer {
    height: 30px;
    filter: invert(1);
    opacity: 0.45;
    transition: filter 0.3s, opacity 0.3s;
}
.footer__logo-link:hover .logo-img--footer {
    filter: invert(1) sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05);
    opacity: 1;
}
/* endregion */

/* region ═══ CURSOR ═══ */
.cursor {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: left, top;
}
.cursor-follower {
    width: 34px; height: 34px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-smooth),
                height 0.3s var(--ease-smooth),
                border-color 0.3s;
    will-change: left, top;
}
.cursor-follower.is-hovering {
    width: 58px; height: 58px;
    border-color: var(--accent);
}
/* endregion */

/* region ═══ LOADER ═══ */
.loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-main);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.7s var(--ease-expo), visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__logo-img {
    height: 90px; width: auto;
    display: block; margin: 0 auto 28px;
    filter: invert(1);
    animation: pulseGlowImg 1.6s ease-in-out infinite;
    will-change: filter;
}
.loader__bar {
    width: 220px; height: 2px;
    background: rgba(255,255,255,0.07);
    border-radius: 99px; overflow: hidden;
    margin: 0 auto;
}
.loader__fill {
    height: 100%; width: 0%;
    background: var(--accent);
    animation: loadBar 1.9s var(--ease-expo) forwards;
    box-shadow: 0 0 14px var(--accent-glow);
}
/* endregion */

/* region ═══ HEADER ═══ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 32px 0; /* В начале даем много воздуха */
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Состояние при скролле (Liquid Glass) */
.header.scrolled {
    padding: 16px 0;
    background: rgba(3, 3, 5, 0.65); /* Глубокий темный тон с прозрачностью */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4),
                inset 0 -1px 0 rgba(255, 255, 255, 0.02); /* Внутренний блик стекла */
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип с мягким неоновым откликом */
.header__logo {
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                filter 0.4s ease;
}

.header__logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.15));
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 48px;
    margin: 0;
    padding: 0;
}

/* Ультрасовременные ссылки навигации */
.header__link {
    font-family: var(--font-tech, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5); /* Приглушенные в покое */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding: 8px 0;
}

/* Неоновая линия выезжает из центра */
.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.header__link:hover,
.header__link--active {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.header__link:hover::after,
.header__link--active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Кнопка в хедере */
.header__btn {
    padding: 14px 32px;
    font-family: var(--font-tech, sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Бургер-меню (кибер-стиль) */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger__line {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Эффект при наведении на бургер */
.burger:hover .burger__line:nth-child(2) {
    width: 70%; /* Средняя линия красиво укорачивается */
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 1024px) {
    .header__menu { display: none; } /* Прячем основное меню */
    .burger { display: flex; }
}

@media (max-width: 576px) {
    .header__btn { display: none; } /* На совсем мелких экранах прячем кнопку, оставляем только лого и бургер */
}
/* endregion */

/* region ═══ BURGER ═══ */
.burger {
    display: none;
    background: none; border: none;
    cursor: pointer;
    width: 32px; height: 22px;
    position: relative; z-index: 1001;
    padding: 0;
}
.burger__line {
    position: absolute; width: 100%; height: 1.5px;
    background: var(--text-main);
    transition: all 0.35s var(--ease-expo);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__line:nth-child(3) { bottom: 0; }
.burger.active .burger__line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.active .burger__line:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger.active .burger__line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
/* endregion */

/* region ═══ HERO (ULTRA PREMIUM) ═══ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: #030305;
    overflow: hidden;
    padding-top: var(--header-h, 80px);
}

/* --- ФОН И СВЕТ --- */
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.7;
    transform: scale(1.1);
    animation: cinematicZoom 25s linear forwards;
}

@keyframes cinematicZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, transparent 0%, #030305 100%),
                linear-gradient(to right, #030305 0%, transparent 40%, #030305 100%),
                linear-gradient(to top, #030305 0%, transparent 40%);
}

.hero__glow-orb {
    position: absolute;
    top: 40%;
    left: 15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 250, 204, 21), 0.12) 0%, transparent 60%);
    filter: blur(90px);
    z-index: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero__content {
    max-width: 900px;
}

/* --- ПРЕМИАЛЬНЫЙ PILL (Бейдж + Телефон) --- */
.hero__pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 6px 8px 6px 20px;
    margin-bottom: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero__pill-badge {
    font-family: var(--font-tech, sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero__pill-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 16px;
}

.hero__pill-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--accent-rgb, 250, 204, 21), 0.1);
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid rgba(var(--accent-rgb, 250, 204, 21), 0.3);
    color: #fff;
    font-family: var(--font-display, sans-serif);
    font-size: 1.15rem; /* Огромный и читабельный */
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.hero__pill-phone:hover {
    background: rgba(var(--accent-rgb, 250, 204, 21), 0.2);
    box-shadow: 0 0 24px rgba(var(--accent-rgb, 250, 204, 21), 0.3);
    color: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .hero__pill {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        border-radius: 24px;
        gap: 12px;
    }
    .hero__pill-divider { display: none; }
    .hero__pill-phone { width: 100%; justify-content: center; }
}

/* --- ЗАГОЛОВОК --- */
.hero__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.hero__title-line {
    font-family: var(--font-display, sans-serif);
    font-size: clamp(3rem, 7.5vw, 8rem);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.01em;
}

.hero__title-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
}

.hero__subtitle {
    font-family: var(--font-tech, sans-serif);
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.hero__subtitle .dot { color: var(--accent); margin: 0 8px; }
/* --- НОВЫЙ НИЖНИЙ РЯД (КНОПКИ + СТАТИСТИКА) --- */
.hero__bottom-row {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.btn-prime {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 20px 48px;
    background: var(--accent);
    color: #000;
    border-radius: 12px;
    font-family: var(--font-tech, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.btn-prime__glow {
    position: absolute;
    inset: 0;
    box-shadow: 0 0 32px var(--accent-glow);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.btn-prime:hover .btn-prime__glow { opacity: 1; }

.link-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: var(--font-tech, sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.link-explore svg {
    color: var(--accent);
    transition: transform 0.3s;
}

.link-explore:hover { color: var(--accent); }
.link-explore:hover svg { transform: translateX(4px); }

/* --- ВСТРОЕННЫЙ DOCK СТАТИСТИКИ --- */
.hero__dock-inline {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 36px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1); /* Внутренний блик стекла */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
}

.stat-item__val {
    font-family: var(--font-display, sans-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-item__val .accent { color: var(--accent); }

.stat-item__lbl {
    font-family: var(--font-tech, sans-serif);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* --- АДАПТИВ ДЛЯ НОВОГО БЛОКА --- */
@media (max-width: 1200px) {
    .hero__bottom-row { gap: 32px; }
    .hero__dock-inline { padding: 16px 24px; gap: 20px; }
}

@media (max-width: 992px) {
    .hero__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero__dock-inline {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero__bottom-row { align-items: center; }
    .hero__dock-inline {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding: 24px;
    }
    .stat-item { align-items: center; text-align: center; }
    .stat-divider { width: 100px; height: 1px; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent); }
}
/* --- АНИМАЦИИ ПОЯВЛЕНИЯ --- */
.reveal-text {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-fade {
    opacity: 0;
    animation: justFade 1s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }
.delay-5 { animation-delay: 0.9s; }

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes justFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* endregion */


/* region ═══ MARQUEE ═══ */
.marquee {
    background: var(--accent);
    color: var(--bg-main);
    padding: 13px 0;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    position: relative; z-index: 1;
}
.marquee__inner {
    display: inline-flex; align-items: center;
    animation: marqueeScroll 30s linear infinite;
}
.marquee__inner:hover { animation-play-state: paused; }
.marquee span { margin-right: 24px; }
.marquee .dot {
    display: inline-block; width: 5px; height: 5px;
    background: rgba(0,0,0,0.3); border-radius: 50%; margin-right: 24px;
    flex-shrink: 0;
}
/* endregion */

/* region ═══ PHILOSOPHY ═══ */
.philosophy {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}
.philosophy__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.philosophy__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.philosophy__text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    word-break: break-word;
}
.philosophy__btn { margin-top: 0.5rem; }
.philosophy__visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 20px 0;
}
.philosophy__card {
    padding: clamp(24px, 3vw, 32px);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    border-radius: 20px;
}
.philosophy__card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 16px 40px rgba(250, 204, 21, 0.08);
}
.philosophy__card-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--bg-main), var(--accent-dim));
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    box-shadow: inset 0 0 20px rgba(250, 204, 21, 0.05);
}
.philosophy__card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.philosophy__card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--text-main);
}
.philosophy__card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.philosophy .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}
/* endregion */

/* region ═══ TILT CARD ═══ */
.tilt-card {
    transition: transform 0.4s var(--ease-expo), border-color 0.3s, box-shadow 0.3s;
}
.tilt-card.is-tilting {
    will-change: transform;
    transition: border-color 0.3s, box-shadow 0.3s;
}
/* endregion */

/* region ═══════ SERVICES ═══════ */
.services {
    padding: 120px 0 180px; /* Увеличен нижний паддинг для шахматной сетки */
    background: var(--bg-main);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px; /* Увеличили воздух между карточками */
}

/* Эффект шахматной доски (смещение четных карточек вниз) */
@media (min-width: 769px) {
    .service-card:nth-child(even) {
        transform: translateY(60px);
    }
}

.service-card {
    position: relative;
    height: clamp(420px, 40vw, 520px);
    border-radius: 20px; /* Более современные скругления */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.5s var(--ease-expo), box-shadow 0.5s;
    background: var(--bg-section); /* Резервный фон */
}

.service-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 204, 21, 0.08);
}

.service-card__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 1.2s var(--ease-expo);
    z-index: 0;
    will-change: transform;
}

.service-card__overlay {
    position: absolute; inset: 0; z-index: 1;
    /* Улучшенный градиент: вверху прозрачнее, внизу плотнее */
    background: linear-gradient(to top,
        rgba(7,7,9, 0.95) 0%,
        rgba(7,7,9, 0.6) 40%,
        rgba(7,7,9, 0.1) 100%);
    transition: opacity 0.5s;
}

.service-card__glow {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at center 80%, rgba(250,204,21,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s var(--ease-expo);
}

/* Гигантские цифры на заднем плане (Watermark) */
.service-card__number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-family: var(--font-display);
    font-size: 10rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.06);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    transition: all 0.6s var(--ease-expo);
}

.service-card__content {
    position: relative; z-index: 2; width: 100%;
    transform: translateY(20px);
    transition: transform 0.6s var(--ease-expo);
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

/* Линия-акцент под заголовком */
.service-card__header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 0%; height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 0.6s var(--ease-expo);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

/* Кнопка со стрелкой */
.service-card__arrow-btn {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateX(-10px) rotate(-45deg); /* Слегка повернута по умолчанию */
    opacity: 0;
    transition: all 0.5s var(--ease-expo);
}

.service-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Стеклянные теги (Glassmorphism) */
.service-card__tags {
    display: flex; gap: 8px; flex-wrap: wrap;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.4s var(--ease-expo) 0.1s, transform 0.4s var(--ease-expo) 0.1s;
}

.service-card__tags span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    font-family: var(--font-tech);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    color: var(--text-main);
    text-transform: uppercase;
}

/* --- HOVER АНИМАЦИИ --- */
.service-card:hover .service-card__bg        { transform: scale(1.08); }
.service-card:hover .service-card__overlay   { opacity: 0.8; }
.service-card:hover .service-card__glow      { opacity: 1; }
.service-card:hover .service-card__content   { transform: translateY(0); }
.service-card:hover .service-card__header::after { width: 100%; } /* Линия дорисовывается */
.service-card:hover .service-card__tags      { opacity: 1; transform: translateY(0); }

/* Цифра становится ярче и немного уезжает */
.service-card:hover .service-card__number {
    -webkit-text-stroke-color: rgba(250,204,21,0.2);
    transform: translateY(-10px) scale(1.05);
}

/* Кнопка выкатывается, меняет цвет и стрелка становится прямо */
.service-card:hover .service-card__arrow-btn {
    opacity: 1;
    transform: translateX(0) rotate(0);
    background: var(--accent);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Адаптив: Отключаем смещение шахматной доски на мобилках */
@media (max-width: 768px) {
    .services { padding: 80px 0; }
    .services__grid { grid-template-columns: 1fr; gap: 24px; }
    .service-card { padding: 28px; height: 380px; }
    .service-card__number { font-size: 7rem; right: 0; top: -10px; }
    .service-card__content { transform: translateY(0); } /* На мобилках контент видим сразу */
    .service-card__tags { opacity: 1; transform: none; }
    .service-card__arrow-btn { opacity: 1; transform: none; }
}

/* endregion */

/* region ═══ PORTFOLIO ═══ */
.portfolio {
    padding: 120px 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}

/* Декоративное фоновое свечение для усиления эффекта стекла */
.portfolio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 255, 255, 255), 0.05) 0%, transparent 60%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Умный адаптив */
    gap: 40px;
}

/* Эффект Liquid Glass для карточки */
.portfolio-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: 16px; /* Внутренний отступ от стекла до фото */
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease, border-color 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px 0 rgba(var(--accent-rgb, 255, 255, 255), 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-card__compare {
    position: relative;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.portfolio-card__before,
.portfolio-card__after {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.portfolio-card__after {
    clip-path: inset(0 50% 0 0);
}

/* Стеклянные плашки До/После */
.portfolio-card__label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 20px;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.portfolio-card__label--after {
    left: auto;
    right: 20px;
    background: rgba(var(--accent-rgb, 255, 255, 255), 0.15);
    border-color: rgba(var(--accent-rgb, 255, 255, 255), 0.4);
    color: var(--accent);
}

/* Неоновый разделитель */
.portfolio-card__slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                0 0 30px var(--accent-glow);
    cursor: ew-resize;
    z-index: 10;
    will-change: left;
}

/* Ультрасовременный ползунок (ручка) */
.portfolio-card__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4),
                inset 0 0 12px rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Свечение за ручкой */
.portfolio-card__handle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--accent);
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.portfolio-card__compare:hover .portfolio-card__handle {
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-card__compare:hover .portfolio-card__handle::before {
    opacity: 0.8;
}

.portfolio-card__handle svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Обновленная подпись с акцентной линией */
.portfolio-card__caption {
    padding: 0 8px 8px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.portfolio-card__caption::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}
/* endregion */

/* --- БЛОК "БОЛЬШЕ ПРИМЕРОВ" (Справа от До/После) --- */
.portfolio-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.portfolio-more__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.1;
}

.portfolio-more__desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.portfolio-more__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Ультрасовременные кнопки-ссылки направлений */
.portfolio-more__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-more__link svg {
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-more__link:hover {
    background: rgba(var(--accent-rgb, 250, 204, 21), 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3),
                0 0 16px rgba(var(--accent-rgb, 250, 204, 21), 0.15);
}

.portfolio-more__link:hover svg {
    transform: translateX(6px);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

@media (max-width: 480px) {
    .portfolio-more { padding: 24px; }
    .portfolio-more__link { padding: 16px 20px; font-size: 0.75rem; }
}

/* region ═══ TESTIMONIALS ═══ */
.testimonials {
    padding: 120px 0; background: var(--bg-main);
    position: relative; overflow: hidden;
}
.testimonials__bg-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(250,204,21,0.035) 0%, transparent 70%);
    pointer-events: none;
}
.testimonials__track {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}
.testimonial-card__stars {
    color: var(--accent); font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 16px;
}
.testimonial-card__text {
    font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
    margin-bottom: 32px; font-style: italic; flex-grow: 1;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}
.testimonial-card__avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-accent);
    background: var(--bg-section);
}
.testimonial-card__details {
    display: flex; flex-direction: column; gap: 4px;
}
.testimonial-card__details strong {
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--text-main); letter-spacing: 0.04em; line-height: 1;
}
.testimonial-card__details span {
    font-family: var(--font-tech); font-size: 0.65rem;
    color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase;
}
/* endregion */

/* region ═══ BOOKING ═══ */
.booking {
    padding: 130px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
}

.booking__bg-glow {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 250, 204, 21), 0.08) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translateY(-50%) scale(1); opacity: 0.6; }
    100% { transform: translateY(-55%) scale(1.2); opacity: 1; }
}

/* Сетка: форме даем чуть больше места, левой колонке - защиту от разрыва */
.booking__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .booking__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- ФИКС ДЛИННОГО ЗАГОЛОВКА --- */
.booking__info .section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    word-break: normal;
    max-width: 100%;
}

/* Прицельно уменьшаем акцентное слово "профессионалам" */
.booking__info .section-title span {
    font-size: 0.8em;
    letter-spacing: -0.02em;
    display: inline-block;
}

@media (max-width: 768px) {
    .booking__info .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .booking__info .section-title span {
        font-size: 0.85em;
    }
}
/* ------------------------------- */

.booking__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
}

.booking__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking__contact-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    width: fit-content;
    transition: color 0.3s ease;
}

.booking__contact-link svg {
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.booking__contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking__contact-link:hover { color: var(--accent); }
.booking__contact-link:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}
.booking__contact-link:hover::after { width: 100%; }

/* Форма-терминал */
.booking__form {
    padding: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.floating-group {
    position: relative;
    margin-bottom: 32px;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px 12px 0 0;
    color: #fff;
    padding: 24px 16px 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.form-input:hover { background: rgba(0, 0, 0, 0.4); }

.form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 2;
}

.form-input:focus ~ .form-line { width: 100%; }

.floating-label {
    position: absolute;
    left: 16px;
    top: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.form-input:focus ~ .floating-label,
.form-input:not(:placeholder-shown) ~ .floating-label {
    transform: translateY(-12px) scale(0.75);
    color: var(--accent);
    letter-spacing: 0.1em;
    font-family: var(--font-tech);
    text-shadow: 0 0 8px rgba(var(--accent-rgb, 250, 204, 21), 0.4);
}

/* НОВЫЙ БЛОК: Кнопки выбора услуг с мега-свечением */
.service-selection {
    margin-bottom: 32px;
}

.service-selection__label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-family: var(--font-tech);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-selection__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-btn {
    position: relative;
    cursor: pointer;
    display: block;
}

.service-btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.service-btn__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-tech);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.service-btn:hover .service-btn__content {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Эффект при выборе (Checked) - Включаем неон! */
.service-btn input:checked ~ .service-btn__content {
    background: rgba(var(--accent-rgb, 250, 204, 21), 0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb, 250, 204, 21), 0.3),
                inset 0 0 12px rgba(var(--accent-rgb, 250, 204, 21), 0.2);
    text-shadow: 0 0 8px rgba(var(--accent-rgb, 250, 204, 21), 0.5);
}

.btn--submit {
    width: 100%;
    margin-top: 10px;
    padding: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* endregion */

/* region ═══ FOOTER ═══ */
.footer {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-section) 0%, #050507 100%);
    padding: 80px 0 0;
    overflow: hidden;
}

/* Декоративная стеклянно-неоновая линия сверху */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Акцентный неоновый центр на верхней линии */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* Фоновое свечение, идущее снизу */
.footer__bg-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(var(--accent-rgb, 250, 204, 21), 0.05) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 56px;
    position: relative;
    z-index: 1;
}

/* Умный адаптив для мобилок */
@media (max-width: 992px) {
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 992px) {
    .footer__brand { align-items: center; }
}

.footer__logo-link {
    display: inline-flex;
    transition: filter 0.3s ease;
}

.footer__logo-link:hover {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
}

.footer__tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-tech);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Светящаяся точка перед адресом */
.footer__tagline::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.footer__nav {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

@media (max-width: 992px) {
    .footer__contacts { align-items: center; }
}

/* Ультрасовременные ссылки с подчеркиванием из центра */
.footer__link {
    position: relative;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer__link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer__link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.footer__link:hover::after {
    width: 100%;
}

/* Нижняя панель копирайта */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px); /* Легкий эффект стекла в самом низу */
    position: relative;
    z-index: 1;
}

.footer__bottom p {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
/* endregion */

/* region ═══ MEDIA 1024px ═══ */
@media (max-width: 1024px) {
    .hero__container        { margin-left: 0; }
    .section-title--left    { text-align: center; }
    .booking__wrapper       { grid-template-columns: 1fr; gap: 48px; }

    .philosophy__grid       { grid-template-columns: 1fr; gap: 40px; }
    .philosophy__content    { align-items: center; text-align: center; }
    .philosophy__text       { text-align: center; margin: 0 auto 2rem; }
}
/* endregion */

/* region ═══ MEDIA 768px ═══ */
@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }

    .logo-img { height: 44px; }

    .header__btn { display: none; }
    .burger { display: block; padding: 10px; margin: -10px; }
    .header__nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(7,7,9,0.97);
        backdrop-filter: blur(24px);
        padding: 36px 24px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-110%); opacity: 0;
        transition: transform 0.5s var(--ease-expo), opacity 0.5s;
        pointer-events: none;
    }
    .header__nav.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .header__menu { display: flex !important; flex-direction: column; align-items: center; gap: 24px; }

    .hero__container { text-align: center; }
    .hero__actions   { justify-content: center; width: 100%; }
    .hero__badge     { margin: 0 auto 28px; }

    .services__grid      { grid-template-columns: repeat(2, 1fr); }
    .portfolio__grid     { grid-template-columns: 1fr; }
    .testimonials__track { grid-template-columns: 1fr; }

    .footer__container  { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .footer__contacts   { align-items: center; }
    .footer__logo-link  { margin: 0 auto 8px; }
}
/* endregion */

/* region ═══ MEDIA 600px ═══ */
@media (max-width: 600px) {
    .services__grid { grid-template-columns: 1fr; }
    .floating-group { padding-top: 12px; }
}
/* endregion */

/* region ═══ MEDIA 480px ═══ */
@media (max-width: 480px) {
    .hero__title-line   { font-size: clamp(2.2rem, 11vw, 3.5rem); word-break: break-word; }
    .hero__title-line:last-child { font-size: clamp(1.4rem, 8vw, 2.2rem); }
    .hero__actions            { flex-direction: column; width: 100%; gap: 20px; }
    .hero__actions .btn-prime { width: 100%; display: flex; justify-content: center; }
    .hero__stats        { flex-wrap: wrap; gap: 20px; padding-top: 24px; }
    .hero__stat-divider { display: none; }
    .hero__stat         { flex: 1 1 45%; word-break: break-word; }
    .hero__stat-label   { hyphens: auto; }

    .glass-panel,
    .booking__form      { padding: 24px 20px; }
    .service-card       { height: 380px; padding: 24px; }
    .portfolio-card__compare { height: 280px; }

    .philosophy__card       { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 24px; }
    .philosophy__card-icon  { width: 40px; height: 40px; border-radius: 8px; }
    .philosophy__visual     { gap: 14px; }

    .floating-group { padding-top: 12px; }
}
/* endregion */

/* region ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero__title-line { opacity: 1; transform: none; }
}
/* endregion */