body {
    background: url("/images/whatwedo/background.jpg") center/cover no-repeat fixed;
    position: relative;
    /* убираем z-index, чтобы фон был базовым слоем */
    color: var(--body-text);
}

/* ============================================================
   МАТОВОЕ СТЕКЛО — усиленное, ровное + рыжая дымка
   ============================================================ */
.agat-glass {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    pointer-events: none;
    z-index: 1; /* стекло над фоном */
}

/* Явная рыжая дымка поверх стекла */
.agat-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(196, 90, 26, 0.70); /* заметная рыжая вуаль */
    pointer-events: none;
    z-index: 2; /* над стеклом, под контентом */
}
.agat-btn-gradient {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0d4678 0%, #0f5a9c 50%, #0d4678 100%);
    border-radius: 6px;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

/* Перелив + рыже‑медный glow */
.agat-btn-gradient::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 120, 40, 0.45), transparent 60%);
    transform: scale(0);
    transition: transform .45s ease;
}

.agat-btn-gradient:hover::before {
    transform: scale(1);
}

.agat-btn-gradient:hover {
    background: linear-gradient(135deg, #0f5a9c 0%, #0d4678 100%);
    transform: translateY(-2px);
}
.agat-btn-orange-wide {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;

    width: 100%;
    max-width: 260px;

    padding: 14px 30px;
    font-weight: 500;
    font-size: 18px;

    color: #fff;
    text-decoration: none;

    border: 2px solid #ffffff;

    /* Прямоугольная форма с лёгким радиусом */
    border-radius: 12px;

    background: linear-gradient(135deg, #b84a12 0%, #d85c1a 50%, #b84a12 100%);

    /* Базовый glow */
    box-shadow: 0 0 12px rgba(216, 92, 26, 0.45);

    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Текст поверх всего */
.agat-btn-orange-wide span {
    position: relative;
    z-index: 5;
    color: #fff !important;
}

/* Перелив */
.agat-btn-orange-wide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;

    background: linear-gradient(135deg,
        rgba(255, 160, 80, 0.25) 0%,
        rgba(255, 120, 40, 0.35) 50%,
        rgba(255, 160, 80, 0.25) 100%
    );

    transition: all .6s ease;
    z-index: 2;
}

/* Glow при наведении */
.agat-btn-orange-wide:hover::before {
    left: 0;
}

.agat-btn-orange-wide:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 18px rgba(216, 92, 26, 0.55),
        0 0 28px rgba(216, 92, 26, 0.35),
        0 0 40px rgba(216, 92, 26, 0.25);
}

/* Sticky Call Button */
.sticky-call-btn {
    position: fixed;
    right: 28px;
    bottom: 750px;

    width: 64px;
    height: 64px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.25);

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 9999;

    transition: all .35s ease;

    /* Лёгкий фирменный glow */
    box-shadow: 0 0 12px rgba(196, 90, 26, 0.35);
}

/* Иконка телефона */
.sticky-call-btn i {
    font-size: 28px;
    color: #C45A1A;
    transition: .35s;
}

/* Hover — мощный AGAT‑UI glow */
.sticky-call-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 18px rgba(196, 90, 26, 0.55),
        0 0 28px rgba(196, 90, 26, 0.35),
        0 0 40px rgba(196, 90, 26, 0.25);
}

.sticky-call-btn:hover i {
    color: #fff;
}

/* Sticky Button */
.independent-call-btn {
    position: fixed;
    right: 28px;
    bottom: 360px;

    width: 64px;
    height: 64px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.25);

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 9999;

    transition: all .35s ease;

    box-shadow: 0 0 12px rgba(196, 90, 26, 0.35);
}

.independent-call-btn i {
    font-size: 28px;
    color: #C45A1A;
    transition: .35s;
}

.independent-call-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 18px rgba(196, 90, 26, 0.55),
        0 0 28px rgba(196, 90, 26, 0.35),
        0 0 40px rgba(196, 90, 26, 0.25);
}

.independent-call-btn:hover i {
    color: #fff;
}

/* Modal Overlay */
.independent-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 99999;

    justify-content: center;
    align-items: center;
}

/* Modal Window */
.independent-modal-window {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    width: 380px;
    max-width: 90%;
    position: relative;
}

.independent-modal-title {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

/* Close Button */
.independent-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* Submit Button */
.independent-submit-btn {
    width: 100%;
    padding: 12px 0;
    background: #C45A1A;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.independent-submit-btn:hover {
    background: #a94d17;
}

/* Messages */
#independentCallMsg {
    margin-top: 12px;
    font-size: 14px;
}
/* Контейнер */
.sticky-contact-module {
    position: fixed;
    right: 28px;
    bottom: 28px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    z-index: 9999;
}

/* Общий стиль кнопок — квадратные + стеклянный эффект */
.scm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;            /* чуть больше */
    height: 52px;

    border-radius: 10px;    /* квадратные углы */
    border: 3px solid transparent; /* пожирнее */

    background: rgba(255, 255, 255, 0.18); /* стеклянная прозрачность */
    backdrop-filter: blur(8px);            /* стеклянный эффект */
    -webkit-backdrop-filter: blur(8px);

    box-shadow: inset 0 0 8px rgba(255,255,255,0.25); /* внутренний soft‑glow */

    transition: .35s;
}

/* Иконки — чуть жирнее */
.scm-btn i {
    font-size: 28px;
    font-weight: 600;
    transition: .35s;
}

/* WhatsApp — зелёный */
.scm-whatsapp i { color: #25D366; }
.scm-whatsapp { border-color: #25D366; }

/* Telegram — голубой */
.scm-telegram i { color: #0088cc; }
.scm-telegram { border-color: #0088cc; }

/* Viber — фиолетовый */
.scm-viber i { color: #7360F2; }
.scm-viber { border-color: #7360F2; }

/* Заявка — фирменный рыже‑медный */
.scm-request i { color: #C45A1A; }
.scm-request { border-color: #C45A1A; }

/* Hover glow — фон остаётся стеклянным */
.scm-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 18px rgba(196, 90, 26, 0.55),
        0 0 28px rgba(196, 90, 26, 0.35),
        0 0 40px rgba(196, 90, 26, 0.25),
        inset 0 0 10px rgba(255,255,255,0.35); /* усиливаем внутренний свет */

    background: rgba(255, 255, 255, 0.28); /* чуть ярче стекло */
    border-color: #C45A1A;
}

/* Иконка становится белой при hover */
.scm-btn:hover i {
    color: #fff;
}





/* Адаптив */
@media (max-width: 600px) {
    .sticky-contact-module {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .scm-btn {
        width: 52px;
        height: 52px;
    }

    .scm-btn i {
        font-size: 22px;
    }
}
.independent-call-label {
    font-size: 14px;
    color: #C45A1A;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
}
.scm-btn-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C45A1A;
    font-size: 15px;
    font-weight: 600;
}

.agat-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.agat-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agat-gallery-img {
    width: 100%;
    height: 200px;
    border-radius: var(--agat-radius-sm);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 10px 26px rgba(13,70,120,0.18);
    transition: transform .45s ease, box-shadow .45s ease;
}

.agat-gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 32px rgba(13,70,120,0.28);
}

.agat-gallery-caption {
    font-size: 1.35rem;
    color: var(--agat-text-muted);
    line-height: 1.45;
}

.messengers .msg-ico svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

