* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
    font-family: 'Inter', sans-serif;
    /* Глубокий бронзовый оттенок, близкий к цвету ваших границ и теней */
    background-color: #3d352a;
    /* Мягкое золотистое свечение сверху для объема */
    background: radial-gradient(circle at top, #4d4335 0%, #211f1d 100%);
    background-attachment: fixed;
    color: #ededee;
    line-height: 1.5;
    padding-bottom: 90px;
}

/* При таком светлом фоне нужно немного усилить тени карточек, чтобы они "отрывались" */
.service-card, .index-header, .footer-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.container { max-width: 500px; margin: 0 auto; padding: 0 20px; }
.main-title-font { font-family: 'Cinzel', serif; font-size: 2.6rem; font-weight: 700; text-align: center; background: linear-gradient(135deg, #f5b042, #fff3cc 50%, #d49324); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 15px rgba(245, 176, 66, 0.3)); }
.brand-sub { font-size: 0.65rem; color: #475569; letter-spacing: 4px; font-weight: 800; margin-top: 8px; text-align: center; text-transform: uppercase; }
.section-tag { font-size: 0.8rem; color: #f5b042; font-weight: 900; margin: 40px 0 20px; letter-spacing: 2px; text-align: center; }
.services-grid { display: grid; gap: 20px; }
.service-card { position: relative; background: linear-gradient(145deg, #11141b, #0a0c10); border-radius: 30px; padding: 28px; border: 1px solid rgba(245, 176, 66, 0.1); box-shadow: 0 15px 35px rgba(0,0,0,0.4); transition: 0.4s; cursor: pointer; }
.service-card:active { transform: scale(0.95); }
.icon-wrapper { position: relative; min-width: 65px; height: 65px; background: #050608; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #f5b042; font-size: 1.8rem; border: 1px solid rgba(245, 176, 66, 0.3); }
.icon-glow { position: absolute; width: 100%; height: 100%; background: #f5b042; filter: blur(15px); opacity: 0.2; z-index: -1; animation: glow-soft 3s infinite alternate; }
@keyframes glow-soft { from { opacity: 0.1; transform: scale(0.9); } to { opacity: 0.3; transform: scale(1.1); } }
.s-name { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.price-container-multi { display: flex; justify-content: space-between; background: rgba(255, 255, 255, 0.03); padding: 12px; border-radius: 18px; border: 1px solid rgba(245, 176, 66, 0.1); margin-bottom: 15px; }
.price-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.price-item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.05); }
.p-label {
    font-size: 0.6rem;
    color: #cbd5e1; /* Еще более светлый и чистый оттенок */
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.8px; /* Немного раздвинем буквы для лучшей читаемости */
}
.p-value { font-size: 0.9rem; color: #f5b042; font-weight: 900; }
.price-container-single { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, rgba(245,176,66,0.12), transparent); padding: 14px 20px; border-radius: 18px; border: 1px solid rgba(245, 176, 66, 0.2); margin-bottom: 15px; }
.s-desc {
    color: #f1f5f9; /* Почти белый цвет для максимальной читаемости */
    font-size: 0.9rem;
    margin-top: 20px;
    border-left: 2px solid rgba(245, 176, 66, 0.4); /* Сделали полоску слева чуть ярче */
    padding-left: 15px;
    line-height: 1.5;
}

.nav-btn span {
    color: #ffffff !important; /* Добавляем !important, чтобы точно перекрыть другие стили */
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-link { margin-top: 25px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); padding: 12px 20px; border-radius: 15px; color: #f5b042; font-size: 0.8rem; font-weight: 900; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.96); backdrop-filter: blur(15px); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { background: #0a0c10; width: 90%; max-width: 380px; padding: 40px 30px; border-radius: 40px; border: 1px solid rgba(245, 176, 66, 0.3); }
.modal-input { width: 100%; padding: 18px; margin-bottom: 15px; background: #050608; border: 1px solid #1e293b; color: white; border-radius: 20px; }
.cta-button { background: #f5b042; color: #000; font-weight: 900; border: none; padding: 18px; border-radius: 20px; width: 100%; cursor: pointer; text-transform: uppercase; }
.mobile-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(5, 6, 8, 0.98); backdrop-filter: blur(20px); display: flex; justify-content: space-around; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); z-index: 1000; }
.nav-item { color: #475569; text-decoration: none; font-size: 0.75rem; font-weight: 800; text-align: center; }
.nav-item.active { color: #f5b042; }
.nav-item i { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.type-btn { flex: 1; padding: 10px; background: #050608; border: 1px solid #1e293b; color: #475569; border-radius: 12px; font-size: 0.7rem; font-weight: 800; cursor: pointer; text-transform: uppercase; }
.type-btn.active { border-color: #f5b042; color: #f5b042; background: rgba(245, 176, 66, 0.1); }

/* Стили футера */
.footer-card {
    /* Тот же градиент, что в хедере и карточках */
    background: linear-gradient(145deg, #11141b, #0a0c10);
    border-radius: 30px;
    padding: 28px; /* Немного увеличил внутренний отступ для солидности */
    /* Золотистая граница как у всех блоков */
    border: 1px solid rgba(245, 176, 66, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    filter: grayscale(0.8) contrast(1.2) invert(0.9); /* Делает карту темной под стиль сайта */
}

.info-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    /* Делаем подложку пунктов чуть светлее фона футера */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item i {
    color: #f5b042;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.info-label {
    font-size: 0.6rem;
    color: #475569;
    text-transform: uppercase;
    font-weight: 800;
}

.info-val {
    font-size: 0.9rem;
    color: #ededee;
    font-weight: 600;
}

.footer-brand {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: #050608; /* Глубокий черный внутри */
    border: 1px solid rgba(245, 176, 66, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5b042;
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icon:active {
    background: #f5b042;
    color: #000;
}

/* Сетка времени выполнения */
.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.time-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 176, 66, 0.1);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-name {
    font-size: 0.7rem;
    color: #475569;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 5px;
}

.time-val {
    font-size: 1rem;
    color: #f5b042;
    font-weight: 900;
}

/* Премиальный липкий хедер */
.index-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Тот же градиент, что и у карточек товаров */
    background: linear-gradient(145deg, #11141b, #0a0c10);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    /* Делаем нижнюю границу чуть ярче, чтобы отделять от фона body */
    border-bottom: 1px solid rgba(245, 176, 66, 0.2);
    /* Добавляем тень для объема */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-group {
    display: flex;
    flex-direction: column;
}

/* Корректировка размеров логотипа */
.logo-text {
    font-size: 1.6rem !important; /* Уменьшаем, чтобы не занимал пол-экрана */
    text-align: left !important;
    margin: 0 !important;
    line-height: 1;
}

.index-header .brand-sub {
    text-align: left !important;
    margin-top: 4px !important;
    font-size: 0.55rem !important;
    letter-spacing: 2px !important;
}

/* Кнопка телефона в хедере */
.phone-action {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(245, 176, 66, 0.1), rgba(245, 176, 66, 0.05));
    border: 1px solid rgba(245, 176, 66, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5b042;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.phone-action:active {
    transform: scale(0.9);
    background: #f5b042;
    color: #000;
}




/* Обнуляем отступы у h1, чтобы не было дырок */
.seo-optimized {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2; /* Настрой под свой шрифт, чтобы бренд не прилипал к сабу */
}

.brand-main {
    display: inline-block; /* Держим бренд в строке */
    vertical-align: middle;
}

.seo-hidden {
    position: absolute; /* Убираем из потока, чтобы не занимал ни пикселя */
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.seo-optimized {
    margin: 0 !important;
    padding: 0 !important;
}

.seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}




































.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Глубокий фон с легким размытием, чтобы не сливаться с body */
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 25px; /* Увеличили нижний отступ, чтобы иконки были чуть выше физического края экрана */
    border-top: 1px solid rgba(245, 176, 66, 0.15);
    z-index: 1000;
    transition: transform 0.4s ease; /* Плавное сворачивание */
}

/* Класс, который будет добавляться скриптом при скролле */
.mobile-nav.nav-hidden {
    transform: translateY(100%);
}

.nav-item {
    color: #575f6b;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}

.nav-item.active {
    color: #f5b042;
}

.nav-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}