/* ==========================================================================
   1. СБРОС СТИЛЕЙ И ПЕРЕМЕННЫЕ (Глобальные настройки)
   ========================================================================== */
:root {
    --bg-dark: #0f1115;       /* Глубокий графитовый матовый фон */
    --bg-card: #161920;       /* Цвет карточек и блоков */
    --text-main: #ffffff;     /* Основной белый текст */
    --text-muted: #94a3b8;    /* Серый текст для описаний */
    --neon-cyan: #00f0ff;     /* Твой фирменный светящийся синий */
    --neon-glow: rgba(0, 240, 255, 0.35); /* Тень для эффекта свечения */
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Плавный скролл по якорным ссылкам */
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. ШАПКА САЙТА (HEADER)
   ========================================================================== */
.header {
    width: 100%;
    backdrop-filter: blur(12px); /* Эффект размытия стекла (iOS/Windows 11) */
    background: rgba(15, 17, 21, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header__container {
    height: 100px; /* Высота шапки подогнана под крупный логотип */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Настройки логотипа компании */
.logo {
    display: flex;
    align-items: center;
}

.logo__link {
    display: block;
    height: 75px; /* Увеличенная высота логотипа для идеальной читаемости подписи */
}

.logo__img {
    height: 100%;
    width: auto;  
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--neon-glow)); /* Неоновое свечение вокруг логотипа */
    transition: transform 0.3s ease;
}

.logo__link:hover .logo__img {
    transform: scale(1.02); /* Легкое увеличение при наведении */
}

/* Навигационное меню */
.nav {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-glow);
}

/* Соцсети в углу */
.header__socials {
    display: flex;
    gap: 15px;
}

.social-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link.vk {
    background: rgba(0, 119, 255, 0.1);
    color: #0077ff;
    border: 1px solid rgba(0, 119, 255, 0.2);
}

.social-link.vk:hover {
    background: #0077ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.4);
}

.social-link.tg {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.2);
}

.social-link.tg:hover {
    background: #0088cc;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.4);
}

/* ==========================================================================
   3. ГЛАВНЫЙ ЭКРАН (HERO SECTION)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px; /* Отступ увеличен, чтобы большая шапка не перекрывала текст */
    background: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.05), transparent 50%);
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-glow {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-glow);
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* КНОПКИ С АНИМАЦИЕЙ */
.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.btn--primary {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--neon-cyan);
}

.btn--secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--secondary:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-glow);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

/* ПРАВАЯ ЧАСТЬ — НЕОНОВАЯ КИБЕРСФЕРА В ВОЗДУХЕ */
.hero__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.cyber-circle {
    width: 450px;
    height: 450px;
    background: url('img/remzona-core.png') no-repeat center center;
    background-size: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.2));
    animation: floating 4s ease-in-out infinite; 
}

/* Эффект легкого футуристичного пульсирующего свечения за картинкой */
.cyber-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

/* ==========================================================================
   4. КЛЮЧЕВЫЕ АНИМАЦИИ (CSS Анимации плавности)
   ========================================================================== */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   5. АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================================== */
@media (max-width: 992px) {
    .header__container {
        height: 80px; /* На мобилках делаем чуть компактнее */
    }
    .logo__link {
        height: 55px; /* И логотип на мобилке чуть уменьшаем, чтобы аккуратно влезал */
    }
    .nav {
        display: none; /* Прячем текстовое меню на смартфонах */
    }
    .hero {
        padding-top: 110px;
    }
    .hero__container {
        flex-direction: column; /* Элементы встают друг под друга на мобилках */
        text-align: center;
        gap: 30px;
    }
    .hero__actions {
        flex-direction: column; /* Кнопки на телефоне становятся одна под другой */
        width: 100%;
        gap: 12px;
    }
    .btn {
        width: 100%; /* Кнопки растягиваются на всю ширину экрана смартфона для удобства тапа */
    }
    .cyber-circle {
        width: 280px;
        height: 280px; /* Уменьшаем размер сферы на мобилках */
    }
}

/* ==========================================================================
   6. БЛОК УСЛУГ (SERVICES SECTION)
   ========================================================================== */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
}

.services__meta {
    text-align: center;
    margin-bottom: 60px;
}

.services__subtitle {
    color: var(--neon-cyan);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 8px var(--neon-glow);
}

.services__title {
    font-size: 40px;
    font-weight: 700;
}

/* Сетка карточек на CSS Grid */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Карточки сами подстраивают ширину */
    gap: 30px;
}

/* Стандартная карточка услуги */
.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Иконка-эмодзи в круге */
.service-card__icon {
    font-size: 32px;
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Выталкивает ссылку вниз, чтобы все ссылки были на одном уровне */
}

.service-card__link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

/* ЭФФЕКТЫ ПРИ НАВЕДЕНИИ НА КАРТОЧКУ */
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1), inset 0 0 15px rgba(0, 240, 255, 0.02);
}

.service-card:hover .service-card__icon {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-glow);
}

.service-card:hover .service-card__title {
    color: var(--neon-cyan);
}

.service-card:hover .service-card__link {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-glow);
    padding-left: 5px; /* Стрелочка интерактивно сдвигается вправо */
}

/* Особый стиль для премиальной карточки BGA-пайки */
.service-card--premium {
    border: 1px solid rgba(0, 240, 255, 0.15);
    background: linear-gradient(145deg, #161920 0%, #111318 100%);
}

.service-card--premium::after {
    content: 'VIP';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    font-weight: 800;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    letter-spacing: 1px;
}

/* ==========================================================================
   7. АДАПТИВНОСТЬ ДЛЯ БЛОКА УСЛУГ
   ========================================================================== */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    .services__title {
        font-size: 30px;
    }
    .services__grid {
        grid-template-columns: 1fr; /* На мобилках карточки выстраиваются строго в одну колонку */
        gap: 20px;
    }
}

/* ==========================================================================
   8. БЛОК КВИЗ-КАЛЬКУЛЯТОРА (QUIZ SECTION)
   ========================================================================== */
.quiz-section {
    padding: 80px 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.03), transparent 50%);
}

.quiz-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.quiz-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Прогресс-бар */
.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
}

.quiz-progress {
    width: 33.33%; /* Начальный шаг */
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.4s ease;
}

/* Настройка шагов (показывать только активный) */
.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.quiz-step--active {
    display: block;
}

.quiz-step__question {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* Сетка вариантов ответа */
.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Скрываем стандартный радио-кружок */
.quiz-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

/* Кастомная кнопка выбора */
.quiz-opt__box {
    display: block;
    background: rgba(255,255,255, 0.02);
    border: 1px solid rgba(255,255,255, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-opt__box:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.02);
}

/* Стиль для выбранного варианта */
.quiz-opt input[type="radio"]:checked + .quiz-opt__box {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.08);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15), inset 0 0 10px rgba(0, 240, 255, 0.05);
}

/* Поля ввода на 3 шаге */
.quiz-inputs {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.quiz-field {
    flex: 1;
    background: #0b0d10;
    border: 1px solid rgba(255,255,255, 0.08);
    padding: 18px 25px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.quiz-field:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-glow);
}

/* Баннер результата */
.quiz-result-banner {
    background: rgba(0, 240, 255, 0.03);
    border: 1px dashed rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 35px auto;
}

.quiz-result-banner h4 {
    font-size: 20px;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.quiz-bonus-text {
    margin-top: 10px;
    font-size: 14px;
    color: #34d399; /* Приятный зеленый цвет для бонуса */
}

/* Контейнер кнопок навигации */
.quiz-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для квиза */
@media (max-width: 768px) {
    .quiz-container {
        padding: 30px 20px;
    }
    .quiz-header h2 {
        font-size: 24px;
    }
    .quiz-inputs {
        flex-direction: column;
        gap: 12px;
    }
    .quiz-nav-buttons {
        flex-direction: column-reverse;
    }
    .quiz-nav-buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   9. БЛОК О НАС (ABOUT SECTION)
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: #0b0d10; /* Слегка меняем оттенок для разделения визуальных блоков */
}

.about-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about__content {
    max-width: 650px;
}

.about__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
}

.about__text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Список фишек */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item__icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Правый блок со статистикой */
.about__stats-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,240,255,0.05);
}

.stat-card__number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 12px var(--neon-glow);
    margin-bottom: 5px;
}

.stat-card__label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   10. КОНТАКТЫ И ФУТЕР (FOOTER)
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer__logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--neon-glow));
}

.footer__description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__grid h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer__grid h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.footer__contact-item {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer__contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: var(--neon-cyan);
}

.footer__social-p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer__social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__social-buttons .social-link {
    text-align: center;
    width: 100%;
}

/* Подвал подвала */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 25px 0;
    background: #0b0d10;
}

.footer__bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}

/* ==========================================================================
   11. АДАПТИВНОСТЬ ДЛЯ НОВЫХ БЛОКОВ
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        flex-direction: column;
        gap: 40px;
    }
    .about__content {
        max-width: 100%;
        text-align: center;
    }
    .feature-item {
        text-align: left;
    }
    .about__stats-box {
        max-width: 100%;
        width: 100%;
        flex-direction: row; /* На планшетах плашки встанут в ряд */
    }
    .stat-card {
        flex: 1;
    }
    .footer__grid {
        grid-template-columns: 1fr; /* Все колонки футера встают друг под друга */
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .about__stats-box {
        flex-direction: column; /* На смартфонах плашки статистики снова в столбик */
    }
}

/* ==========================================================================
   12. СЕО-БЛОК ТЕГОВ (ИНТЕРАКТИВНЫЙ СПОЙЛЕР)
   ========================================================================== */
.seo-tags-section {
    padding: 20px 0;
    background: #0f1115;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.seo-spoiler {
    width: 100%;
}

/* Стили заголовка спойлера */
.seo-spoiler__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none; /* Убираем стандартную стрелочку браузера */
    user-select: none;
}

.seo-spoiler__summary::-webkit-details-marker {
    display: none; /* Убираем стрелочку в Safari */
}

.seo-spoiler__arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.3);
}

/* Анимация стрелочки при раскрытии */
.seo-spoiler[open] .seo-spoiler__arrow {
    transform: rotate(180deg);
    color: var(--neon-cyan);
}

.seo-tags__container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    animation: fadeIn 0.4s ease forwards;
}

.seo-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.seo-tag:hover {
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.02);
}

/* ==========================================================================
   АДАПТИВНАЯ ВЕРСТКА ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (ЭКРАНЫ МЕНЕЕ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* Сбрасываем жесткие отступы у всего экрана */
    body {
        padding: 15px 10px;
        font-size: 14px;
    }

    /* Шапка сайта: выстраиваем логотип и кнопки аккуратно */
    header, .header-container {
        display: flex;
        flex-direction: column; /* Элементы встанут друг под друга, если не влезают */
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .social-link {
        padding: 8px 16px; /* Чуть уменьшаем кнопки соцсетей, чтобы не жались */
        font-size: 13px;
        flex: 1; /* Кнопки будут одинаковой ширины */
        text-align: center;
    }

    /* ГЛАВНЫЙ ЗАГОЛОВОК (Тот самый, который у тебя обрезался) */
    h1, .main-title {
        font-size: 28px !important; /* Уменьшаем размер букв для телефона */
        line-height: 1.3 !important; /* Делаем нормальный межстрочный интервал */
        margin-top: 20px;
        margin-bottom: 15px;
        padding: 0 5px;
        word-wrap: break-word; /* Разрешаем переносы длинных слов */
    }

    /* Подзаголовок */
    p.subtitle, .main-descr {
        font-size: 15px !important;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* КНОПКИ ДЕЙСТВИЯ (Рассчитать, Телефон) */
    .btn, button, .phone-link, a[href^="tel:"] {
        width: 100% !important; /* Кнопки растянутся на всю ширину экрана телефона */
        max-width: 100%;
        box-sizing: border-box;
        padding: 14px 20px !important; /* Делаем их удобными для нажатия пальцем */
        font-size: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Интерактивная 3D-сфера или картинка под кнопками */
    .hero-image, .sphere-container, img {
        max-width: 90% !important; /* Картинка не вылезет за пределы экрана */
        height: auto !important;
        margin: 20px auto 0 auto;
    }

    /* САМ КВИЗ-КАЛЬКУЛЯТОР НА МОБИЛЬНОМ */
    .quiz-container, .quiz-box {
        padding: 20px 15px !important;
        border-radius: 12px;
        margin: 20px auto;
        width: 100% !important;
    }

    /* Варианты неисправностей (делаем в одну колонку, чтобы удобно тапать) */
    .quiz-options, .options-grid {
        display: grid;
        grid-template-columns: 1fr !important; /* Строго одна колонка */
        gap: 10px;
    }

    .option-item, .quiz-radio-label {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
}