/* style.css — Gruzim.kz */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    body, button, input, .hero-header, .card, .section, .floating-header,
    .mobile-nav, .lang-btn, .header-phone, .client-name, .faq-question,
    .cta-button, .glass-service-btn {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                     "Helvetica Neue", Arial, sans-serif !important;
    }

    .floating-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .glass-service-btn {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }

    .calculator-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }

    [data-aos] {
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }
}

.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 10px 5%;
    transition: all 0.3s ease;
}

.floating-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}


.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: 2px solid #2563eb;
    border-radius: 8px;
    cursor: pointer;
    padding: 4px 5px;
    z-index: 1100;
    transition: all 0.2s ease;
}

.burger-menu span {
    width: 100%;
    height: 2.5px;
    background-color: #2563eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.burger-menu:hover,
.burger-menu.active {
    background: #2563eb;
}

.burger-menu:hover span,
.burger-menu.active span {
    background-color: white;
}

.burger-menu.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1025px) {
    .burger-menu {
        display: flex;
        margin-right: 10px;
        border-width: 3px;
        width: 36px;
        height: 26px;
    }
}

.floating-logo {
    height: 45px;
    width: auto;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 4px 8px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid transparent;
}

.floating-logo:hover {
    opacity: 0.9;
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}


.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 5%;
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 15px 0;
    border: 1px solid #e2e8f0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-nav a {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.mobile-nav a:hover {
    background: #eef2ff;
    color: #2563eb;
}

.mobile-nav-close {
    display: flex;
    justify-content: flex-end;
    padding: 5px 15px 0;
}

.mobile-nav-close button {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 0 5px;
}

.mobile-nav-close button:hover { color: #2563eb; }

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.header-phone {
    color: #2563eb;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-phone i { font-size: 1rem; }
.header-phone:hover { color: #1e40af; }

@media (max-width: 768px) {
    .header-phone { display: none !important; }
}


/* Hero                                                                 */

.hero-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('fon.jpg') no-repeat center center / cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-header h1 { font-size: 3em; margin-bottom: 20px; }

.cta-button {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #0f172a;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2563eb;
    border-radius: 4px;
}

.calculator-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    margin-top: 40px;
}

.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calculator-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    color: white;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    border: 3px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#map { width: 100%; height: 100%; }

.calculator-form {
    background: white;
    border-radius: 20px;
    padding: 30px;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    height: 450px;
    justify-content: space-between;
}

.form-group { margin-bottom: 20px; flex-shrink: 0; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2563eb;
}

.tariff-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.tariff-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
    font-weight: 600;
}

.tariff-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tariff-option.selected {
    border-color: #2563eb;
    background: #eef2ff;
}

.tariff-option .price { color: #2563eb; font-size: 1em; margin-top: 3px; }

.hours-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.hours-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    background: white;
    color: #2563eb;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hours-btn:hover { background: #2563eb; color: white; }
.hours-btn:active { transform: scale(0.95); }

#hoursInput {
    width: 80px;
    text-align: center;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 600;
}

#hoursInput:focus { outline: none; border-color: #2563eb; }

.hours-value {
    font-size: 1.8em;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    margin: 5px 0;
}

.total-price {
    font-size: 2em;
    font-weight: 800;
    color: #2563eb;
    text-align: center;
    padding: 12px;
    background: #eef2ff;
    border-radius: 15px;
    margin: 10px 0;
    flex-shrink: 0;
    word-break: break-word;
    line-height: 1.2;
}

.calculator-note {
    font-size: 0.85em;
    color: #64748b;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease;
    text-align: left;
}

.card:hover {
    border-color: #2563eb;
}

.card.card--premium {
    border: 2px solid #2563eb;
}

.card-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-wrap i {
    font-size: 18px;
    color: #2563eb;
}

.card.card--premium .card-icon-wrap {
    background: #2563eb;
}

.card.card--premium .card-icon-wrap i {
    color: #fff;
}

.card-badge {
    font-size: 11px;
    font-weight: 600;
    background: #2563eb;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
    letter-spacing: 0.3px;
}

.card h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.card p {
    font-size: 0.9em;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.card .price {
    font-size: 0.88em;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    margin: 0;
}

.card .card-btn {
    font-size: 0.82em;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 14px;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.card .card-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

@media (max-width: 900px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .card { padding: 20px; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number { font-size: 2.5em; font-weight: 800; color: #2563eb; }
.stat-label { color: #64748b; margin-top: 8px; }


/* Tooltip                                                              */

.tooltip-icon {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
}

.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
}

.breadcrumbs { max-width: 1200px; margin: 0 auto; padding: 10px 20px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.breadcrumbs li { font-size: 0.9rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: #94a3b8; }
.breadcrumbs a { color: #2563eb; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #64748b; }

.clients-section {
    background-color: #f5f7fb;
    border-top: 1px solid #dde3f3;
    border-bottom: 1px solid #dde3f3;
}

.clients-subtitle {
    font-size: 0.98em;
    color: #546e7a;
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.clients-slider { display: flex; align-items: stretch; gap: 16px; }

.clients-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #c5cae9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    transition: all 0.2s ease;
}

.clients-arrow i { font-size: 1.1em; color: #1a237e; }
.clients-arrow:hover {
    background: #e8f0ff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.clients-viewport { overflow: hidden; flex: 1; }
.clients-track { display: flex; width: 100%; transition: transform 0.4s ease; }

.client-card {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    padding: 18px 18px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.client-logo img { max-height: 40px; max-width: 150px; object-fit: contain; }
.client-name { font-family: 'Inter', sans-serif; font-weight: 600; color: #1a237e; font-size: 1.1em; }
.client-type { font-size: 0.9em; color: #78909c; }
.client-details { font-size: 0.95em; color: #455a64; }
.client-meta { margin-top: auto; font-size: 0.85em; color: #9e9e9e; }

.videos-section {
    background-color: #f5f7fb;
    border-top: 1px solid #dde3f3;
    border-bottom: 1px solid #dde3f3;
}

.videos-subtitle {
    font-size: 0.98em;
    color: #546e7a;
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.videos-slider {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.videos-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #c5cae9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    transition: all 0.2s ease;
}

.videos-arrow i { font-size: 1.1em; color: #1a237e; }
.videos-arrow:hover {
    background: #e8f0ff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.videos-viewport { overflow: hidden; flex: 1; }
.videos-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.video-slide {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.video-slide-iframe {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.video-slide-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-slide-label {
    font-weight: 600;
    color: #1a237e;
    font-size: 1em;
    text-align: center;
}

.video-slide-meta {
    font-size: 0.85em;
    color: #78909c;
    text-align: center;
}

.videos-cta {
    text-align: center;
    margin-top: 30px;
}

.videos-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(255,0,0,0.25);
}

.videos-cta a:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255,0,0,0.3);
}

@media (max-width: 480px) {
    .videos-arrow { width: 34px; height: 34px; }
    .video-slide-iframe { max-width: 280px; }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.step-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.feature-item .icon { font-size: 2.5em; color: #2563eb; margin-bottom: 15px; }

.legal-entities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.legal-entity-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.legal-entity-item .icon { font-size: 2.5em; color: #2563eb; margin-bottom: 15px; }


/* FAQ                                                                  */

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    background: #f8fafc;
}

.faq-question::after { content: "+"; position: absolute; right: 20px; font-size: 1.5em; color: #2563eb; }
.faq-item.open .faq-question::after { content: "–"; }

.faq-answer { display: none; padding: 18px 20px; border-top: 1px solid #e2e8f0; }
.faq-item.open .faq-answer { display: block; }

.seo-article {
    text-align: justify;
    hyphens: auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.seo-article h2 { text-align: center; margin-bottom: 30px; }
.seo-article h3 { color: #0f172a; margin: 25px 0 15px; font-size: 1.5em; }
.seo-article p { color: #334155; margin-bottom: 15px; }
.seo-article ul { max-width: 900px; margin: 20px auto; padding-left: 20px; }
.seo-article li { margin-bottom: 8px; }

.contact-form-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 60px 20px;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-form-container h2 { margin-bottom: 20px; color: #0f172a; }
.contact-form-container p { margin-bottom: 30px; color: #64748b; }

.callback-form { display: flex; flex-direction: column; gap: 15px; }

.callback-form input {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.callback-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.callback-form button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.callback-form button:hover { background: #1e40af; transform: translateY(-2px); }
.callback-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success { color: #22c55e; margin-top: 15px; display: none; }

footer { background: #0f172a; color: #cbd5e1; padding: 40px 5%; }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo { height: 40px; margin-bottom: 15px; }
.footer-col h4 { color: white; margin-bottom: 15px; }
.footer-col a { color: #94a3b8; text-decoration: none; }
.footer-col a:hover { color: white; }

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-buttons.is-visible { opacity: 1; pointer-events: all; }

.fab-menu { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }

.fab-menu-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.4em;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.fab-menu-item.show {
    animation: fabPopIn 0.3s forwards ease-out;
    pointer-events: all;
}

@keyframes fabPopIn {
    0%   { transform: scale(0); opacity: 0; }
    80%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.fab-menu-item.call     { background: #2563eb; }
.fab-menu-item.whatsapp { background: #25D366; }
.fab-menu-item.telegram { background: #0088cc; }

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f97316;
    color: white;
    border: none;
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    transition: all 0.2s ease;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1000;
}

.fab-main:hover { transform: scale(1.1); animation: none; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.top-facts { background: white; border-bottom: 1px solid #e2e8f0; padding: 15px 20px; }

.top-facts-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.top-facts-inner span { display: inline-flex; align-items: center; gap: 8px; }
.top-facts-inner i { color: #2563eb; }

.hero-glass-buttons {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
}

.glass-service-btn {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 18px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.glass-service-btn i { font-size: 18px; color: #f97316; }
.glass-service-btn:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-3px); }

.brand-blue     { color: #2563eb; font-weight: 800; }
.brand-separator{ color: #ffffff; font-weight: 600; }
.brand-orange   { color: #f97316; font-weight: 700; }

#card-turnkey,
#card-trash,
#card-furniture { scroll-margin-top: 120px; }

@media (max-width: 1024px) {
    .burger-menu { display: flex; }
    .calculator-grid { grid-template-columns: 1fr; }
    .map-container { height: 400px; }
    .calculator-form { height: auto; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .floating-header { padding: 8px 4%; }
    .floating-logo { height: 38px; }
    .lang-btn { padding: 4px 10px; font-size: 0.8rem; }
    .hero-header h1 { font-size: 1.9em; }
    .section h2 { font-size: 1.8em; margin-bottom: 30px; }
    .section { padding: 50px 16px; }
    .map-container { display: none; }
    .calculator-form { min-height: auto; }
    .calculator-form .hours-control { justify-content: center; }
    .calculator-form label #hoursDisplay { display: block; margin-top: 6px; }
    #card-turnkey, #card-trash, #card-furniture { scroll-margin-top: 100px; }
    .cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .card { padding: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .legal-entities-grid { grid-template-columns: 1fr; }
    .seo-article { padding: 24px 18px; }
    .contact-form-container { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .floating-logo { height: 32px; padding: 2px 5px; }

    .mobile-nav { left: 4%; width: 92%; }
    .clients-arrow { width: 34px; height: 34px; }
    .tariff-selector { font-size: 0.8em; }
    .glass-service-btn { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 992px) {
    .hero-glass-buttons {
        grid-template-columns: 1fr 1fr;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    .glass-service-btn { max-width: none; }
}
