/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-soft: #d4af37;
    --gold-light: #f5d76e;
    --bg-dark: #04060b;
    --bg-card: #0e141f;
    --border-soft: rgba(255,255,255,0.04);
    --text-primary: #f0f4fa;
    --text-secondary: #8a94a6;
    --text-muted: #4d5a6e;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
}

html {
    background: var(--bg-dark);
}

body {
    font-family: var(--font);
    position: relative;
    isolation: isolate;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ===== КАСТОМНЫЙ СКРОЛЛ ===== */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

body::before {
    content: '';
    position: fixed;
    z-index: -1;
    inset: -18vh -14vw;
    pointer-events: none;
    background:
        radial-gradient(ellipse 40% 30% at 24% 24%, rgba(26, 35, 50, 0.44) 0%, rgba(15, 21, 31, 0.18) 44%, transparent 74%),
        radial-gradient(ellipse 32% 24% at 76% 68%, rgba(120, 96, 35, 0.10) 0%, transparent 72%);
    transform: translate3d(-1.5%, -1%, 0) scale(1.02);
    animation: ambientGlow 12s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); opacity: .72; }
    to { transform: translate3d(1.5%, 1%, 0) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-soft);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-soft) var(--bg-dark);
}

/* ===== ОБЩИЕ КЛАССЫ ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* ===== HEADER ===== */
header {
    padding: 16px 0;
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo .accent {
    color: var(--gold-soft);
}
.nav-desktop {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}
.nav-desktop a {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--gold-soft);
}
.btn-outline {
    padding: 8px 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s;
}
.btn-outline:hover {
    background: var(--gold-soft);
    color: var(--bg-dark);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 20px 0 10px;
    border-top: 1px solid var(--border-soft);
    margin-top: 12px;
}
.nav-mobile a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    padding: 6px 0;
}
.nav-mobile a:hover,
.nav-mobile a.active {
    color: var(--gold-soft);
}
.nav-mobile .btn-outline-mobile {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: 0.25s;
}
.nav-mobile .btn-outline-mobile:hover {
    background: var(--gold-soft);
    color: var(--bg-dark);
}

/* ===== FOOTER ===== */
.footer-wrapper {
    border-top: 1px solid var(--border-soft);
    padding: 30px 0 20px;
    background: var(--bg-dark);
}
.footer-wrapper .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 24px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--gold-soft);
}
.btn-contract {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.25s;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-contract:hover {
    background: var(--gold-soft);
    color: var(--bg-dark);
    border-color: var(--gold-soft);
    transform: translateY(-1px);
}
.footer-links .sep {
    color: var(--text-muted);
    opacity: 0.3;
    font-size: 14px;
}

/* ===== ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ ===== */
.page-content {
    padding: 60px 0;
}
.page-content h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.page-content h1 span {
    color: var(--gold-soft);
}
.page-content .lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 40px;
}

/* ===== НОВЫЙ ХЕРО-БЛОК ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: radial-gradient(ellipse at 30% 50%, #1a2332, #04060b 80%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: min(62vw, 920px);
    height: min(62vw, 920px);
    left: -14vw;
    top: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 185, 58, .12) 0%, rgba(103, 150, 203, .055) 34%, transparent 70%);
    filter: blur(8px);
    transform: translateY(-50%);
    animation: heroSpotlight 9s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 600px;
}
.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(48px, 5.5vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.hero h1 .accent {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 20px;
    color: #c8d0dc;
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}
.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 60px;
    transition: 0.25s;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* ===== КАРТИНКА С МАСКОЙ ===== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
}
.hero-image--animated::before {
    content: "";
    position: absolute;
    inset: 7% 8% 5%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(238, 198, 68, .16), rgba(95, 140, 193, .055) 46%, transparent 72%);
    filter: blur(20px);
    animation: heroHalo 6s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.08));
    display: block;
    background: transparent;
    /* Маска: видимость 50% сверху, плавный переход к прозрачности снизу */
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    position: relative;
    z-index: 1;
    transform-origin: 50% 85%;
    animation: heroPerformerEntrance 1.1s cubic-bezier(.2, .8, .25, 1) both, heroPerformerSway 7s 1.1s ease-in-out infinite;
    will-change: transform, filter;
}
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f3d36d;
    box-shadow: 0 0 12px rgba(243, 211, 109, .95);
    opacity: 0;
    animation: heroParticle 7s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { left: 16%; top: 23%; animation-delay: .2s; }
.hero-particles span:nth-child(2) { left: 75%; top: 19%; width: 3px; height: 3px; animation-delay: 1.5s; }
.hero-particles span:nth-child(3) { left: 86%; top: 52%; width: 5px; height: 5px; animation-delay: 2.7s; }
.hero-particles span:nth-child(4) { left: 22%; top: 66%; width: 3px; height: 3px; animation-delay: 3.6s; }
.hero-particles span:nth-child(5) { left: 57%; top: 36%; width: 2px; height: 2px; animation-delay: 4.8s; }
.hero-particles span:nth-child(6) { left: 40%; top: 10%; width: 3px; height: 3px; animation-delay: 5.6s; }
.hero-particles span:nth-child(7) { left: 68%; top: 78%; width: 2px; height: 2px; animation-delay: 6.3s; }
@keyframes heroPerformerEntrance {
    from { opacity: 0; transform: translate3d(-18px, 28px, 0) scale(.985); filter: drop-shadow(0 8px 12px rgba(212, 175, 55, 0)); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: drop-shadow(0 22px 42px rgba(212, 175, 55, .15)); }
}
@keyframes heroPerformerSway {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(5px, -5px, 0) rotate(.35deg); }
}
@keyframes heroSpotlight { from { opacity: .62; transform: translate(-2%, -50%) scale(.96); } to { opacity: 1; transform: translate(3%, -50%) scale(1.05); } }
@keyframes heroHalo { from { opacity: .45; transform: scale(.94); } to { opacity: 1; transform: scale(1.05); } }
@keyframes heroParticle { 0%, 100% { opacity: 0; transform: translate3d(0, 10px, 0) scale(.5); } 35% { opacity: .7; } 65% { opacity: .18; } 80% { transform: translate3d(9px, -22px, 0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .hero::before, .hero-image--animated::before, .hero-image img, .hero-particles span { animation: none !important; }
}

/* ===== СТАТИСТИКА ===== */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 38px;
    padding-bottom: 62px;
    border-top: 1px solid var(--border-soft);
}
.hero-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 20px;
    background: linear-gradient(135deg, rgba(22, 31, 45, .82), rgba(12, 17, 25, .72));
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.hero-benefit:hover { transform: translateY(-3px); border-color: rgba(222, 181, 47, .32); background: linear-gradient(135deg, rgba(29, 39, 54, .95), rgba(12, 17, 25, .82)); }
.hero-benefit__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(222, 181, 47, .11);
    color: var(--gold-soft);
}
.hero-benefit__icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-benefit h2 { margin: 1px 0 7px; font-size: 16px; line-height: 1.3; color: var(--text-primary); }
.hero-benefit p { margin: 0; font-size: 14px; line-height: 1.52; color: var(--text-secondary); }
.stats {
    padding: 40px 0 60px;
    border-top: 1px solid var(--border-soft);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item .number {
    font-size: 44px;
    font-weight: 700;
    color: var(--gold-soft);
    letter-spacing: -1px;
    line-height: 1.1;
}
.stat-item .label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== КАК ПРОХОДИТ ПОДГОТОВКА ===== */
.event-process {
    display: grid;
    grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: start;
    padding-top: 12px;
    padding-bottom: 78px;
}
.section-kicker { display: inline-block; margin-bottom: 13px; color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.event-process h2 { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.12; letter-spacing: -1px; }
.event-process__intro p { max-width: 400px; margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.58; }
.event-process__steps { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-soft); }
.event-process__step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--border-soft); }
.event-process__number { padding-top: 1px; color: var(--gold-soft); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.event-process__step h3 { margin: 0 0 7px; color: var(--text-primary); font-size: 18px; }
.event-process__step p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.52; }
.event-process__cta { grid-column: 2; width: fit-content; margin-top: -25px; color: var(--gold-soft); font-size: 15px; font-weight: 700; text-decoration: none; }
.event-process__cta span { display: inline-block; margin-left: 7px; font-size: 20px; transition: transform .2s ease; }
.event-process__cta:hover span { transform: translateX(5px); }

/* ===== КЕЙСЫ ===== */
.cases {
    padding: 60px 0;
}
.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.cases-header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.cases-header .sub {
    color: var(--text-secondary);
    font-size: 16px;
}
.cases-all-link { color: var(--gold-soft); text-decoration: none; font-weight: 700; white-space: nowrap; }
.cases-all-link span { display: inline-block; margin-left: 6px; font-size: 20px; transition: transform .2s ease; }
.cases-all-link:hover span { transform: translateX(5px); }
.portfolio-preview { display: grid; grid-template-columns: 1.42fr 1fr 1fr; gap: 16px; }
.portfolio-preview__card { position: relative; min-height: 340px; overflow: hidden; border-radius: 20px; border: 1px solid var(--border-soft); background: var(--bg-card); }
.portfolio-preview__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .35s ease; }
.portfolio-preview__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(4, 6, 11, .84) 100%); pointer-events: none; }
.portfolio-preview__card span { position: absolute; z-index: 1; left: 22px; bottom: 19px; color: #fff; font-size: 18px; font-weight: 700; }
.portfolio-preview__card:hover img { transform: scale(1.045); filter: brightness(1.08); }
.portfolio-preview__card--large { min-height: 410px; }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.case-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px 20px 20px;
    border: 1px solid var(--border-soft);
    transition: 0.25s;
}
.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.15);
}
.case-card .number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.08);
    line-height: 1;
    margin-bottom: 8px;
}
.case-card .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}
.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.case-card .type {
    font-size: 14px;
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
}
.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
}
.case-card .tag {
    display: inline-block;
    margin-top: 12px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 40px;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--gold-soft);
}

/* ===== ОТЗЫВЫ ===== */
.testimonials {
    padding: 60px 0;
    border-top: 1px solid var(--border-soft);
}
.testimonials h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid var(--border-soft);
}
.testimonial-card .stars {
    color: var(--gold-soft);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.testimonial-card blockquote {
    font-size: 16px;
    color: #c8d0dc;
    margin-bottom: 12px;
    font-style: italic;
}
.testimonial-card .author {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.testimonial-card .role {
    font-size: 13px;
    color: var(--text-secondary);
}

.testimonial-real-section { padding-top: 18px; }
.reviews-section-heading { margin-bottom: 26px; }
.reviews-section-heading h2 { margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.12; letter-spacing: -1px; }
.reviews-section-heading p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.testimonial-real { display: grid; grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr); gap: 28px; max-width: 900px; padding: 12px; align-items: stretch; }
.testimonial-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 16px; }
.testimonial-content { display: flex; flex-direction: column; justify-content: center; padding: 12px 12px 12px 0; }
.testimonial-real blockquote { margin: 0 0 18px; font-size: 19px; line-height: 1.55; }
.review-source { display: inline-flex; width: fit-content; margin-top: 16px; color: var(--gold-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.review-source:hover { text-decoration: underline; }
.more-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.testimonial-compact { display: flex; flex-direction: column; min-height: 270px; }
.testimonial-compact blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.55; }
.testimonial-compact .review-source { margin-top: auto; padding-top: 16px; }
.all-reviews-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px auto 0;
    padding: 13px 20px;
    border: 1px solid rgba(222, 181, 47, .42);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.all-reviews-link:hover {
    background: var(--gold-soft);
    color: #0a0d12;
    transform: translateY(-2px);
}
.all-reviews-link span { font-size: 19px; line-height: .8; }
@media (max-width: 640px) {
    .testimonial-real { grid-template-columns: 1fr; gap: 16px; padding: 10px; }
    .testimonial-photo { min-height: 220px; max-height: 310px; }
    .testimonial-content { padding: 4px 8px 12px; }
    .testimonial-real blockquote { font-size: 17px; }
    .more-reviews-grid { grid-template-columns: 1fr; gap: 14px; }
    .all-reviews-link { width: 100%; margin-top: 20px; }
}

/* ===== КОНТАКТЫ (БЛОК НА ГЛАВНОЙ) ===== */
.contact-block {
    padding: 60px 0 80px;
    border-top: 1px solid var(--border-soft);
    text-align: center;
}
.contact-block h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.contact-block p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ===== СТРАНИЦА "ОБО МНЕ" ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.about-text p {
    margin-bottom: 20px;
    color: #c8d0dc;
    font-size: 16px;
    line-height: 1.6;
}
.about-text .highlight {
    color: var(--gold-soft);
    font-style: italic;
}
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
    margin-top: 30px;
}
.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 6px;
}
.skill-item .icon {
    font-size: 20px;
}
.about-photo {
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== СТРАНИЦА "УСЛУГИ" ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}
.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid var(--border-soft);
    transition: 0.25s;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.2);
}
.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-soft);
    margin-bottom: 8px;
}
.service-card .price {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 12px 0;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}
.service-card ul {
    list-style: none;
    margin-top: 16px;
}
.service-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-soft);
    color: #c8d0dc;
    font-size: 14px;
}
.service-card ul li:last-child {
    border-bottom: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: 0.25s;
}
.tech-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}
.tech-item .icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}
.tech-item span {
    font-size: 14px;
    color: #c8d0dc;
}

.process-block {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 30px;
    margin-top: 24px;
}
.process-block h3 {
    font-size: 24px;
    color: var(--gold-soft);
    margin-bottom: 12px;
}
.process-block p {
    color: #c8d0dc;
    font-size: 16px;
    line-height: 1.6;
}
.process-block .highlight {
    color: var(--gold-soft);
    font-weight: 600;
}

.note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 30px 0;
}

/* ===== СТРАНИЦА "КАЛЕНДАРЬ" ===== */
#calendar {
    max-width: 800px;
    margin: 30px auto;
    background: linear-gradient(145deg, rgba(20, 29, 43, 0.96), rgba(10, 15, 24, 0.96));
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(138, 148, 166, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.calendar-legend {
    max-width: 800px;
    margin: 22px auto -8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--text-secondary);
    font-size: 13px;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }
.calendar-legend .free-mark { background: #d4deec; box-shadow: 0 0 0 3px rgba(212, 222, 236, 0.10); }
.calendar-legend .prebooked-mark { background: #d7b56d; box-shadow: 0 0 0 3px rgba(215, 181, 109, 0.12); }
.calendar-legend .busy-mark { background: #d97a7a; box-shadow: 0 0 0 3px rgba(217, 122, 122, 0.12); }
.calendar-legend .today-mark { background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12); }
.calendar-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    margin-bottom: 26px;
}
.calendar-header button {
    background: var(--gold-soft);
    border: none;
    color: var(--bg-dark);
    min-width: 48px;
    min-height: 42px;
    padding: 6px 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}
.calendar-header button:hover {
    background: var(--gold-light);
}
.calendar-header span {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 500;
    color: #7889a1;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .2px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.calendar-days div {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(138, 148, 166, 0.10);
    border-radius: 14px;
    font-size: 15px;
    transition: 0.2s;
    color: #d7e0ed;
}
.calendar-days div.free {
    background: rgba(167, 186, 213, 0.075);
    color: #d7e0ed;
}
.calendar-days div.busy {
    background: rgba(128, 45, 52, 0.25);
    border-color: rgba(215, 122, 122, 0.20);
    color: #ffaaaa;
}
.calendar-days div.other-month {
    background: transparent;
    color: #2a2a2a;
}
.calendar-days div.today {
    border: 2px solid var(--gold-soft);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}
.calendar-days div.prebooked {
    background: rgba(173, 132, 56, 0.18);
    border-color: rgba(215, 181, 109, 0.28);
    color: #ead6a6;
}
.calendar-days div:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.48);
    background: rgba(212, 175, 55, 0.10);
}

/* ===== СТРАНИЦА "КОНТАКТЫ" ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.contact-info p {
    color: #c8d0dc;
    margin: 12px 0;
    font-size: 16px;
}
.contact-info a {
    color: var(--gold-soft);
}
.contact-info .social-links a {
    display: inline-block;
    margin-right: 20px;
    color: var(--text-secondary);
    transition: 0.3s;
}
.contact-info .social-links a:hover {
    color: var(--gold-soft);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    transition: 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-soft);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}
.contact-form button {
    width: 100%;
    padding: 16px;
    background: var(--gold-soft);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.3s;
}
.contact-form button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calculator-wrapper {
    padding: 60px 0;
}
.calculator {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border-soft);
}
.calc-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-soft);
}
.calc-header h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.calc-header h1 span {
    color: var(--gold-soft);
}
.calc-header .subtitle {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}
.step {
    display: none;
    animation: fadeIn 0.3s ease;
}
.step.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.step-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.step-comment {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}
.buttons {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}
.two-column {
    grid-template-columns: 1fr 1fr;
}
.btn {
    padding: 14px 20px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}
.btn.selected {
    border-color: var(--gold-soft);
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}
.btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.btn.disabled:hover {
    transform: none;
}
.btn-tooltip {
    position: relative;
}
.btn-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-align: center;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 10px 14px;
    position: absolute;
    z-index: 100;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.btn-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-card);
}
.btn-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.controls-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 380px;
}
.controls-group .controls-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: var(--bg-dark);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}
.controls-group .controls-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-soft);
}
.controls-group .controls-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.controls-group .controls-input {
    width: 80px;
    padding: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    -moz-appearance: textfield;
}
.controls-group .controls-input::-webkit-outer-spin-button,
.controls-group .controls-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.controls-group .controls-display {
    width: 80px;
    padding: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}
.error-message {
    color: #e57373;
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
    display: none;
}
.error-message.show {
    display: block;
}
.nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}
.nav-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    flex: 1;
    text-align: center;
}
.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}
.nav-btn.back {
    flex: 1;
}
.nav-btn.next,
.nav-btn.calculate {
    flex: 2;
    background: var(--gold-soft);
    color: var(--bg-dark);
    border-color: var(--gold-soft);
    font-weight: 600;
}
.nav-btn.next:hover,
.nav-btn.calculate:hover {
    background: var(--gold-light);
}
.nav-btn.next.disabled,
.nav-btn.calculate.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.result-box {
    background: var(--bg-dark);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    font-family: 'Inter', monospace;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    min-height: 200px;
    color: var(--text-primary);
    overflow-x: auto;
}
.result-nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.result-nav-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    flex: 1;
    text-align: center;
}
.result-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}
.result-nav-btn.copy {
    background: var(--gold-soft);
    color: var(--bg-dark);
    border-color: var(--gold-soft);
    font-weight: 600;
}
.result-nav-btn.copy:hover {
    background: var(--gold-light);
}
.result-nav-btn.copy.copied {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}
.result-nav-btn.reset {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-soft);
}
.btn.transfer-btn {
    padding: 12px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}
.btn.transfer-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}
.btn.transfer-btn.selected {
    border-color: var(--gold-soft);
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}
.transfer-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-window {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    max-width: 720px;
    max-height: 80vh;
    width: 100%;
    padding: 32px 28px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 0.3s ease;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.modal-window::-webkit-scrollbar {
    display: none;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.modal-window .modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    padding: 0 6px;
}
.modal-window .modal-close:hover {
    color: var(--gold-soft);
    transform: rotate(90deg);
}
.modal-window h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-soft);
    margin-bottom: 16px;
    padding-right: 40px;
}
.modal-window .modal-body {
    color: #c8d0dc;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.modal-window .modal-body p {
    margin-bottom: 12px;
}
.modal-window .modal-body strong {
    color: var(--text-primary);
}
.modal-window .modal-body ul {
    padding-left: 20px;
    margin: 10px 0;
}

/* ===== КНОПКА "ЗАБРОНИРОВАТЬ" ===== */
.floating-btn {
    position: fixed;
    bottom: 120px;
    left: 0;
    transform: translateX(-120%);
    height: 56px;
    background: var(--gold-soft);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 999;
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.8s ease,
        padding 0.8s ease;
    /* Убираем синее выделение на смартфонах */
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}
.floating-btn:focus {
    outline: none;
}
.floating-btn .icon {
    font-size: 18px;
    margin-right: 8px;
}
.floating-btn .text {
    white-space: nowrap;
}
.floating-btn.visible {
    left: 50%;
    transform: translateX(-50%);
}
.floating-btn.peek {
    left: auto;
    right: 0;
    transform: translateX(calc(100% - 20px));
    border-radius: 40px 0 0 40px;
    padding: 0 12px 0 8px;
}
.floating-btn.peek .text {
    display: none;
}
.floating-btn.peek .icon {
    font-size: 22px;
    margin-right: 0;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .hero-benefits { grid-template-columns: 1fr; gap: 12px; padding-top: 28px; padding-bottom: 44px; }
    .event-process { grid-template-columns: 1fr; gap: 28px; padding-bottom: 54px; }
    .event-process__cta { grid-column: auto; margin-top: -16px; }
    .nav-desktop {
        display: none;
    }
    .header .btn-outline {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-mobile.open {
        display: flex;
    }
    .hero {
        min-height: auto;
        padding: 40px 0 30px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    
    /* Планшетная версия картинки "по пояс" */
    .hero-image {
        height: 460px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
        margin-bottom: -30px;
    }
    .hero-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top center;
        max-height: none;
        max-width: 100%;
        mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 85%);
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 85%);
    }
    .hero-content {
        margin-top: -50px; 
        position: relative;
        z-index: 2;
        background: transparent;
    }
    
    .cases-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cases-grid {
        grid-template-columns: 1fr 1fr;
    }
    .portfolio-preview { grid-template-columns: repeat(2, 1fr); }
    .portfolio-preview__card--large { grid-column: span 2; min-height: 390px; }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        gap: 12px 16px;
    }
    .footer-links .sep {
        display: none;
    }
    .footer-links a {
        font-size: 12px;
    }
    .btn-contract {
        padding: 4px 16px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .page-content h1 {
        font-size: 32px;
    }
    .page-content .lead {
        font-size: 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-item .number {
        font-size: 32px;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-preview { grid-template-columns: 1fr; gap: 12px; }
    .portfolio-preview__card, .portfolio-preview__card--large { grid-column: auto; min-height: 260px; }
    .portfolio-preview__card span { left: 17px; bottom: 15px; }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    #calendar {
        padding: 16px;
    }
    .calendar-days {
        gap: 4px;
    }
    .calendar-days div {
        font-size: 12px;
    }
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }
    .contact-block h2 {
        font-size: 28px;
    }
    .contact-block p {
        font-size: 16px;
    }
    .calculator {
        padding: 20px;
    }
    .calc-header h1 {
        font-size: 24px;
    }
    .step-title {
        font-size: 18px;
    }
    .two-column {
        grid-template-columns: 1fr;
    }
    .controls-group {
        max-width: 300px;
    }
    .modal-window {
        padding: 24px 16px;
        max-height: 90vh;
    }
    .modal-window h2 {
        font-size: 20px;
    }
    .modal-window .modal-body {
        font-size: 14px;
    }
    .floating-btn {
        bottom: 110px;
        height: 48px;
        padding: 0 18px;
    }
    .floating-btn.peek {
        height: 48px;
        padding: 0 12px 0 8px;
    }
    .footer-wrapper {
        padding-bottom: 130px;
    }
    
    /* Мобильная версия картинки "по пояс" */
    .hero-image {
        height: 360px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
        margin-bottom: -20px;
    }
    .hero-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top center;
        max-height: none;
        mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 85%);
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 85%);
    }
    .hero-content {
        margin-top: -40px;
        position: relative;
        z-index: 2;
        background: transparent;
    }
}

/* ===== ОТКЛЮЧАЕМ МАСКУ НА ДЕСКТОПЕ (ВО ВЕСЬ РОСТ) ===== */
@media (min-width: 821px) {
    .hero-image img {
        mask-image: none !important;
        -webkit-mask-image: none !important;
        max-height: 85vh;
        object-fit: contain;
    }
    .hero-image {
        height: auto;
        overflow: visible;
        margin-bottom: 0;
    }
}

@media (min-width: 801px) {
    .floating-btn {
        height: auto;
        padding: 14px 28px;
    }
    .floating-btn.visible {
        left: 50%;
        transform: translateX(-50%);
    }
    .floating-btn.peek {
        height: auto;
        padding: 14px 8px 14px 16px;
    }
    .floating-btn.peek .icon {
        font-size: 22px;
    }
}

/* ===== ДЕСКТОП: КНОПКА ВСЕГДА СТАТИЧНА ===== */
@media (min-width: 1024px) {
    .floating-btn {
        /* Отключаем всю анимацию трансформации */
        transform: none !important;
        left: auto !important;
        right: 32px !important;
        bottom: 40px !important;
        border-radius: 60px !important;
        padding: 16px 32px !important;
        height: auto !important;
        width: auto !important;
        transition: none !important;
        /* Убираем все состояния, которые мог добавить JS */
    }
    .floating-btn .text {
        display: inline !important;
    }
    .floating-btn .icon {
        margin-right: 12px !important;
        font-size: 20px !important;
    }
    .floating-btn.peek,
    .floating-btn.visible {
        /* Сбрасываем все левые/правые трансформации от JS */
        transform: none !important;
        left: auto !important;
        right: 32px !important;
        border-radius: 60px !important;
        padding: 16px 32px !important;
        height: auto !important;
    }
    .floating-btn.peek .text {
        display: inline !important;
    }
    .floating-btn.peek .icon {
        margin-right: 12px !important;
        font-size: 20px !important;
    }
}
.footer-links a.btn-contract:hover {
    color: var(--bg-dark);
}
