:root {
    --clr-bg: #faf6f0;
    --clr-dark: #1c1b1a;
    --clr-accent: #8a6d4d;
    --clr-accent-dark: #6e563b;
    --clr-gold: #c9a55e;
    --clr-text: #2c2a27;
    --clr-muted: #8b8579;
    --clr-light: #ffffff;
    --clr-line: #e7dfd4;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 20px 50px rgba(60, 45, 30, .10);
    --shadow-sm: 0 8px 24px rgba(60, 45, 30, .08);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --container: 1180px;
    --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--clr-accent);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.18;
    color: var(--clr-dark);
    margin-bottom: 16px;
}

.section-text {
    font-size: 17px;
    color: var(--clr-muted);
    margin-bottom: 12px;
}

.section-dark { background: var(--clr-dark); }
.section-dark .section-title { color: #fff; }
.section-dark .section-text { color: #b6b0a6; }
.section-dark .section-eyebrow { color: var(--clr-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    font-family: var(--font-body);
}

.btn-sm { padding: 11px 20px; font-size: 14px; }

.btn-primary {
    background: var(--clr-accent);
    color: #fff;
}
.btn-primary:hover { background: var(--clr-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .6);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-outline {
    background: transparent;
    color: var(--clr-dark);
    border: 1.5px solid var(--clr-line);
}
.btn-outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

.btn-light {
    background: #fff;
    color: var(--clr-accent-dark);
}
.btn-light:hover { background: var(--clr-gold); color: #fff; transform: translateY(-2px); }

.btn-icon { font-size: 16px; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 246, 240, .85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
    border-bottom: 1px solid var(--clr-line);
    box-shadow: 0 6px 24px rgba(60, 45, 30, .06);
}
.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 46px; height: 46px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--clr-dark); }
.logo-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--clr-muted); font-weight: 600; }

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-text);
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(138, 109, 77, .1); color: var(--clr-accent-dark); }
.main-nav a.active { background: var(--clr-dark); color: #fff; }

.header-phone { white-space: nowrap; }

.header-social { display: flex; align-items: center; gap: 8px; }
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--clr-dark);
    border: 1.5px solid var(--clr-line);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--clr-accent); border-color: var(--clr-accent); transform: translateY(-2px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--clr-dark); border-radius: 2px; transition: .3s ease; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: var(--header-h);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(20, 18, 16, .78) 0%, rgba(20, 18, 16, .55) 50%, rgba(20, 18, 16, .25) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--clr-gold);
    margin-bottom: 24px;
    padding: 8px 18px;
    border: 1px solid rgba(201, 165, 94, .4);
    border-radius: 50px;
    background: rgba(30, 28, 26, .35);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.4vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: #e9e4dc;
    max-width: 560px;
    margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--clr-gold); }
.stat-label { font-size: 14px; color: #cfc9c0; }

.scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
    animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-media { position: relative; }
.about-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}
.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--clr-dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
}
.badge-num { font-family: var(--font-display); font-size: 42px; color: var(--clr-gold); font-weight: 700; }
.badge-text { font-size: 14px; line-height: 1.4; color: #cfc9c0; }

.about-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
    position: relative;
    padding-left: 30px;
    font-size: 15.5px;
    color: var(--clr-text);
}
.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-gold);
    opacity: .35;
}
.about-list li::after {
    content: "\2713";
    position: absolute;
    left: 3px;
    top: 2px;
    font-size: 11px;
    color: var(--clr-accent-dark);
}

/* Services */
.services { background: #ddc4a8; }
.services .section-eyebrow { color: var(--clr-accent-dark); }
.services .section-title { color: #3a2c1a; }
.services .section-text { color: #6e5a44; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #efe2d0;
    border: 1px solid rgba(138, 109, 77, .25);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(90, 66, 40, .12);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-accent);
    box-shadow: 0 22px 44px rgba(90, 66, 40, .2);
}
.service-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .5s ease;
}
.service-card:hover .service-img { transform: scale(1.06); }
.service-body { padding: 24px 24px 30px; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: #3a2c1a;
    margin-bottom: 12px;
}
.service-card p { font-size: 14.5px; color: #6e5a44; }

/* Assortment */
.assortment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.assort-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: block;
}
.assort-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.assort-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 18, 16, .75) 0%, transparent 55%);
}
.assort-card:hover img { transform: scale(1.08); }
.assort-label {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.work {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .04em;
    background: rgba(20, 18, 16, .45);
    opacity: 0;
    transition: opacity .35s ease;
    padding: 16px;
    text-align: center;
}
.work:hover img { transform: scale(1.08); }
.work:hover figcaption { opacity: 1; }

/* CTA */
.cta { padding: 60px 0; }
.cta-card {
    background: linear-gradient(120deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    border-radius: 26px;
    padding: 56px 52px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}
.cta-card::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.cta-inner { position: relative; z-index: 2; max-width: 620px; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; margin-bottom: 14px; }
.cta-inner p { font-size: 17px; margin-bottom: 26px; color: rgba(255, 255, 255, .92); }

/* Contacts */
.contacts-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    color: #fff;
}
.contacts-social-label {
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b6b0a6;
    margin-right: 6px;
}
.contacts-social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.contacts-social-link svg { width: 30px; height: 30px; }
.contacts-social-link:hover { color: var(--clr-gold); border-color: var(--clr-gold); transform: translateY(-3px); }

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.contact-card {
    background: #252423;
    border: 1px solid #33312f;
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: border-color .3s ease, transform .3s ease;
}
.contact-card:hover { border-color: var(--clr-gold); transform: translateY(-4px); }
.contact-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--clr-gold); margin-bottom: 10px; }
.contact-addr { font-size: 15px; color: #b6b0a6; margin-bottom: 6px; }
.contact-map {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-gold);
    margin-bottom: 16px;
    letter-spacing: .02em;
    transition: color .2s ease, transform .2s ease;
}
.contact-map:hover { color: #fff; transform: translateX(3px); }
.contact-phone {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    transition: color .2s ease;
}
.contact-phone:hover { color: var(--clr-gold); }

/* Footer */
.site-footer {
    background: #141312;
    color: #9a948b;
    padding: 40px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { width: 42px; height: 42px; object-fit: contain; }
.footer-name { font-family: var(--font-display); font-size: 20px; color: #fff; }
.footer-sub { font-size: 13px; color: #807b73; }
.footer-contact { font-size: 14px; line-height: 1.8; }
.footer-copy { font-size: 13px; }

/* To top */
.to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--clr-accent);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .3s ease;
    box-shadow: var(--shadow-sm);
    z-index: 80;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--clr-accent-dark); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(16, 14, 12, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: scale(.92);
    transition: transform .35s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .25); transform: rotate(90deg); }

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.reviews-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reviews-widget {
    flex: 1;
    min-height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.reviews-widget-crop {
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
    position: relative;
}
.reviews-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    /* Поднимаем iframe вверх, чтобы скрыть верхнюю шапку виджета
       со строкой "4,6 · 49 отзывов · 69 оценок" */
    position: relative;
    top: -118px;
    height: calc(100% + 118px);
}
.reviews-link { align-self: flex-start; }
.btn-arrow { font-size: 17px; transition: transform .25s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.reviews-right {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.reviews-img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    transition: transform .5s ease;
}
.reviews-right:hover .reviews-img { transform: scale(1.04); }
.reviews-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(20, 18, 16, .82);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 16px 20px;
    color: #fff;
}
.reviews-badge-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
}
.reviews-badge-box { display: flex; flex-direction: column; }
.reviews-badge-stars { color: var(--clr-gold); font-size: 16px; letter-spacing: 2px; }
.reviews-badge-sub { font-size: 12.5px; color: #cfc9c0; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .assortment-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-widget, .reviews-img { min-height: 420px; }
}

@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        width: min(320px, 100%);
        background: var(--clr-bg);
        border-left: 1px solid var(--clr-line);
        padding: 24px;
        box-shadow: -12px 0 40px rgba(0,0,0,.1);
        transform: translateX(100%);
        transition: transform .35s ease;
        height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; gap: 6px; }
    .main-nav a { display: block; padding: 14px 18px; font-size: 16px; }
    .mmenu-block { display: flex; }
    .mmenu-phone {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 18px;
        color: var(--clr-accent-dark);
        padding: 6px 0;
    }
    .mmenu-social { display: flex; gap: 10px; }
    .mmenu-social .social-link { color: var(--clr-dark); }
    .mmenu-addresses {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13.5px;
        color: var(--clr-muted);
        line-height: 1.5;
    }
    .mmenu-addresses p { margin: 0; }
    .nav-toggle { display: flex; }
    .header-phone { display: none; }
    .header-social { display: none; }
    .hero-stats { gap: 24px; }
}

.mmenu-block {display: none; }
	
@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .assortment-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; }
    .reviews-widget, .reviews-img { min-height: 380px; }
    .reviews-badge { left: 16px; bottom: 16px; padding: 12px 16px; }
    .reviews-badge-num { font-size: 30px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .cta-card { padding: 38px 28px; }
    .about-badge { right: 12px; bottom: -18px; padding: 16px 20px; }
    .badge-num { font-size: 32px; }
    .logo-name { font-size: 17px; }
    .footer-inner { flex-direction: column; text-align: center; }
}


/* ===== ОБЩИЕ СТИЛИ ДЛЯ ЛИПКИХ КНОПОК ===== */
.sticky-button {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
    border: 2px solid white;
}

/* Расположение кнопок - вертикально друг под другом на всех устройствах */
.teleg-btn {
    bottom: 170px; /* Верхняя кнопка */
    right: 30px;
    background: #fcb23f;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    animation: pulse-telegram 2s infinite;
}

.max-btn {
    bottom: 100px; /* Нижняя кнопка */
    right: 30px;
    background: #8b4efe; /* Фиолетовый цвет */
    box-shadow: 0 4px 15px rgba(139, 78, 254, 0.4);
    animation: pulse-max 2s infinite;
}

/* Стили для иконок - фиксированные размеры */
.sticky-button svg {
    display: block;
}

.teleg-btn svg {
    width: 32px;
    height: 32px;	
    color: #fff;
}

.max-btn svg {
    width: 38px;
    height: 38px;
}

/* Эффекты при наведении */
.teleg-btn:hover {
    background: #ffa924;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
    animation: none; /* Отключаем пульсацию при наведении */
}

.max-btn:hover {
    background: #6b2ed4; /* Темнее фиолетовый для ховера */
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 78, 254, 0.6);
    animation: none; /* Отключаем пульсацию при наведении */
}

/* Анимация пульсации для каждой кнопки */
@keyframes pulse-telegram {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

@keyframes pulse-max {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 78, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(139, 78, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 78, 254, 0);
    }
}

/* Тултип (всплывающая подсказка) - общие стили */
.sticky-button .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 0;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.sticky-button .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.sticky-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Адаптация для мобильных - вертикальное расположение с правильными размерами иконок */
@media (max-width: 768px) {
	.hero-eyebrow {    
    width: 220px;
}
/* Mobile menu footer block */
.mmenu-block {
    display: block;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--clr-line);
    flex-direction: column;
    gap: 16px;
}
.mmenu-block .mmenu-social {margin-left: 5px;}
.mmenu-block .mmenu-social .social-link {
    padding: 8px 9px;
}
    .sticky-button {
        width: 50px;
        height: 50px;
        right: 15px;
    }
    
    .teleg-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .max-btn svg {
        width: 32px;
        height: 32px;
    }
    
    .teleg-btn {
        bottom: 150px; /* Верхняя кнопка на мобильном */
        animation: pulse-telegram 2s infinite; /* Пульсация на мобильном */
    }
    
    .max-btn {
        bottom: 90px; /* Нижняя кнопка на мобильном */
        animation: pulse-max 2s infinite; /* Пульсация на мобильном */
    }
    
    .sticky-button .tooltip-text {
        width: 120px;
        font-size: 12px;
        padding: 6px 10px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .sticky-button {
        width: 45px;
        height: 45px;
        right: 10px;
    }
    
    .teleg-btn svg {
        width: 25px;
        height: 25px;
    }
    
    .max-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .teleg-btn {
        bottom: 140px; /* Верхняя кнопка на маленьком мобильном */
        animation: pulse-telegram 2s infinite; /* Пульсация на маленьком мобильном */
    }
    
    .max-btn {
        bottom: 80px; /* Нижняя кнопка на маленьком мобильном */
        animation: pulse-max 2s infinite; /* Пульсация на маленьком мобильном */
    }
}

/* Для больших экранов - тоже вертикально с пульсацией */
@media (min-width: 1200px) {
    .teleg-btn {
        bottom: 170px;
        right: 30px;
        animation: pulse-telegram 2s infinite; /* Пульсация на больших экранах */
    }
    
    .max-btn {
        bottom: 100px;
        right: 30px;
        animation: pulse-max 2s infinite; /* Пульсация на больших экранах */
    }
}