:root {
    --gray-50: #f8f9fa;
    --gray-100: #f5f5f7;
    --gray-200: #e5e5ea;
    --gray-400: #d2d2d7;
    --gray-600: #86868a;
    --gray-900: #1d1d1f;
    --blue-dark: #1a365d;
    --blue-400: #81cce0;
    --blue-500: #415c8f;
    --blue-600: #2e4b7a;
    --gold-400: #d4af37;
    --gold-500: #b8962e;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: #ffffff;
    min-height: 100vh;
}

/* ===== ШАПКА ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

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

.header-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue-600);
    letter-spacing: -0.02em;
}

.logo-slogan {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 400;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.header-nav a {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.header-nav a:hover {
    color: var(--blue-500);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.header-actions .call-btn,
.header-actions .email-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.header-actions .call-btn {
    background: var(--blue-500);
    color: white;
}

.header-actions .call-btn:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.header-actions .email-btn {
    background: transparent;
    color: var(--blue-500);
    border: 2px solid var(--blue-400);
}

.header-actions .email-btn:hover {
    background: var(--blue-500);
    color: white;
    border-color: var(--blue-500);
}

/* ===== ГЕРОЙ ===== */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== КНОПКИ ===== */
.btn, .action-btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn:not(.secondary), .action-btn.primary {
    background: var(--blue-500);
    color: white;
}

.btn:not(.secondary):hover, .action-btn.primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn.secondary, .action-btn.secondary {
    background: transparent;
    color: var(--blue-500);
    border: 2px solid var(--blue-400);
}

.btn.secondary:hover, .action-btn.secondary:hover {
    background: var(--blue-500);
    color: white;
    border-color: var(--blue-500);
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 2.5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

/* ===== УСЛУГИ (КАРТОЧКИ) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem 1.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-item i {
    color: var(--gold-400);
    margin-bottom: 1.2rem;
    font-size: 3rem;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--blue-dark);
}

.service-item p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    margin-top: auto;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--blue-400);
    color: var(--blue-500);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.service-btn:hover {
    background: var(--blue-500);
    color: white;
    border-color: var(--blue-500);
}

/* ===== ПРОЦЕСС ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--blue-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
}

/* ===== КОНТАКТЫ ===== */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--blue-dark);
}

.contact-item.mobile-title {
    display: none; /* скрыт на десктопе */
}

.action-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.action-btn.primary {
    background: var(--blue-500);
    color: white;
}

.action-btn.primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.action-btn.secondary {
    background: transparent;
    color: var(--blue-500);
    border: 2px solid var(--blue-400);
}

.action-btn.secondary:hover {
    background: var(--blue-500);
    color: white;
    border-color: var(--blue-500);
}

/* ===== ФОРМА ===== */
.feedback-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.feedback-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-400);
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(65, 92, 143, 0.1);
}

.file-upload {
    margin-bottom: 1.5rem;
}

.file-label {
    display: block;
    padding: 1.5rem;
    border: 2px dashed var(--gray-400);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-label:hover {
    border-color: var(--blue-500);
    background: rgba(65, 92, 143, 0.05);
}

.file-list {
    margin-bottom: 1.5rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-remove {
    color: var(--gray-600);
    cursor: pointer;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.file-remove:hover {
    background: var(--gray-400);
    color: var(--gray-900);
}

.feedback-form button {
    width: 100%;
    padding: 1rem;
    background: var(--blue-500);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-form button:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== СТРАНИЦЫ УСЛУГ ===== */
.service-detail {
    padding: 2.5rem 1rem;
    background: #fff;
}

.service-detail .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-main-title {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.service-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.service-intro h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-intro-text {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

.service-features-grid {
    margin-bottom: 3rem;
}

.feature-card {
    text-align: left;
}

.feature-card i {
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-cta-block {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.service-cta-block h3 {
    font-size: 2rem;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.service-cta-block p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== БЛОК ДОВЕРИЯ ===== */
.trust {
    background: var(--gray-100);
    border-radius: 20px;
    margin: 2.5rem auto;
    padding: 3rem 1rem;
}

.trust h2 {
    margin-bottom: 2rem;
}

.trust-quote {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--blue-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.4;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
}

.trust-feature i {
    font-size: 2.5rem;
    color: var(--gold-400);
    margin-bottom: 0.5rem;
}

.trust-feature span {
    font-size: 1.1rem;
    color: var(--gray-900);
}

/* ===== ПОДВАЛ (УМЕНЬШЕННЫЙ, СТРОЧНЫЙ) ===== */
footer {
    background: var(--gray-100);
    padding: 2rem 1rem; /* уменьшено с 3rem */
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* уменьшено с 2rem */
}

/* Ссылки и контакты – на ПК в одну строку */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

@media (min-width: 769px) {
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
}

.footer-links a {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap; /* предотвращаем перенос внутри ссылок */
}

.footer-links a:hover {
    color: var(--blue-600);
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.footer-contact i {
    color: var(--blue-500);
    width: 1.5rem;
    text-align: center;
}

.footer-contact a {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--blue-500);
}

/* Копирайт – минимальная высота */
.footer-copyright {
    color: var(--gray-600);
    font-size: 0.9rem;
    border-top: none; /* убираем лишнюю границу */
    padding-top: 0.5rem;
    width: 100%;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f44336;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}
.form-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.error-input {
    border: 2px solid #f44336 !important;
    background-color: #ffe6e6 !important;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 0.375rem 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 0.375rem;
    }

    .header-logo {
        margin: 0;
    }

    .header-nav {
        margin-left: auto;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    .header-nav ul li {
        margin-bottom: 0.25rem;
    }
    .header-nav ul li:last-child {
        margin-bottom: 0;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        flex-direction: row;
        gap: 0.5rem;
    }
    .header-actions .call-btn,
    .header-actions .email-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        width: auto;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quick-contacts {
        display: flex;
        flex-direction: column;
    }

    .quick-contacts .mobile-title {
        display: block;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .quick-contacts .mobile-title h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        color: var(--gray-900);
    }

    .quick-contacts .contact-item:nth-child(4) {
        order: 1;
    }
    .quick-contacts .contact-item:nth-child(1) {
        order: 2;
    }
    .quick-contacts .contact-item:nth-child(2) {
        order: 3;
    }
    .quick-contacts .contact-item:nth-child(3) {
        order: 4;
    }

    .contacts-header {
        display: none;
    }

    .feedback-form {
        width: 100%;
        box-sizing: border-box;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .service-main-title {
        font-size: 2rem;
    }

    .service-intro h2 {
        font-size: 1.6rem;
    }

    .service-cta-block {
        padding: 2rem;
    }

    .service-cta-block h3 {
        font-size: 1.6rem;
    }

    .footer-links {
        flex-direction: column; /* на мобильных снова вертикально */
    }

    /* Адаптив для блока доверия */
    .trust-quote {
        font-size: 1.3rem;
    }
    .trust-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 0.5rem;
    }
    .header-actions .call-btn,
    .header-actions .email-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .contact-item h3 {
        font-size: 1.4rem;
    }
}

/* ===== НОВЫЕ БЛОКИ ДЛЯ СТРАНИЦ УСЛУГ ===== */

/* Hero-блок услуги */
.hero-service {
    text-align: center;
    margin-bottom: 2rem;
}
.hero-service h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.hero-service h1 strong {
    color: var(--blue-600);
    display: block;
    font-size: 2rem;
}
.hero-service p {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin: 0.5rem 0;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}
.trust-badges span {
    background: var(--gray-100);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
}

/* Калькулятор */
.calculator {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}
.calculator h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.calc-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.calc-inputs input,
.calc-inputs select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-400);
    border-radius: 30px;
    font-size: 1rem;
    min-width: 200px;
}
#price-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-600);
    margin: 1.5rem 0 1rem;
}
.calculator button {
    background: var(--blue-500);
    color: white;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.calculator button:hover {
    background: var(--blue-600);
}

/* Блок доказательств */
.proofs {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}
.proofs h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}
.proofs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.proofs-grid div {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.proofs-grid img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}
.proofs-grid strong {
    display: block;
    margin-top: 0.5rem;
    color: var(--blue-dark);
}
.proofs-grid em {
    color: var(--gray-600);
}

/* Баннер срочности */
.urgency-banner {
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    color: white;
    padding: 1rem;
    border-radius: 50px;
    text-align: center;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.urgency-banner strong {
    font-size: 1.2rem;
}
.urgency-banner .btn.white {
    background: white;
    color: #333;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}
.urgency-banner .btn.white:hover {
    background: #f0f0f0;
}

/* Кнопка WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: background 0.2s;
}
.whatsapp-btn:hover {
    background: #128C7E;
}
.whatsapp-btn i {
    font-size: 1.3rem;
}

/* Мобильная оптимизация */
@media (max-width: 768px) {
    .hero-service h1 {
        font-size: 2rem;
    }
    .hero-service h1 strong {
        font-size: 1.5rem;
    }
    .btn, .action-btn {
        width: 100%;
        text-align: center;
    }
    .whatsapp-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        z-index: 100;
    }
    .whatsapp-btn span {
        display: none;
    }
    .whatsapp-btn i {
        font-size: 2rem;
        margin: 0;
    }
    .calculator .calc-inputs {
        flex-direction: column;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.95);
    backdrop-filter: blur(8px);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    border-top: 1px solid var(--gold-400);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #f0f0f0;
}
.cookie-banner a {
    color: var(--gold-400);
    text-decoration: underline;
}
.cookie-banner a:hover {
    color: var(--gold-500);
}
.cookie-btn {
    background: var(--blue-500);
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.cookie-btn:hover {
    background: var(--blue-600);
}
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* ===== КНОПКИ МЕССЕНДЖЕРОВ ===== */
.messengers {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.messengers a {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.messengers a:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Подпись при наведении */
.messengers a::after {
    content: attr(title);
    position: absolute;
    right: 100%;
    margin-right: 12px;
    background: rgba(33,33,33,0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.messengers a:hover::after {
    opacity: 1;
}

.messengers .max {
    background: #8B5CF6; /* фиолетовый – можно заменить на фирменный цвет MAX */
}

.messengers .tg {
    background: #0088cc;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .messengers {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .messengers a {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .messengers a::after {
        display: none;
    }
}