
.prices-section {
    background-color: #f9f9f9;
    font-family: "Golos Text", sans-serif;
}

.prices-section .container {
    max-width: 1200px;
    margin: 0 auto;
display: flex;
    flex-direction: column;
        align-items: start;
    padding-bottom: 42px;
}

.section-header {
        align-items: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    color: #ff5c00;
    font-family: Golos Text;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -3%;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: Golos Text;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: -3%;
    color: #282a31;
    margin: 0 0 20px 0;
}

.section-description {
    font-family: Golos Text;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -3%;
    color: #666;
    margin: 0 auto;
}

/* Таблица цен */
.prices-table {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 32px;
    width: 100%;
}

.table-header {
    display: flex;
    background: linear-gradient(90deg, #2b498b 0%, #3a63c7 100%);
    padding: 24px 32px;
    color: white;
    font-family: Golos Text;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -3%;
    justify-content: space-between;
}

.model-col {
width: 33%;
}

.price-col {
width: 33%;
text-align: center;
}

.time-col {
        width: 33%;
    text-align: right;
}

.time-value {
    font-weight: 600;
    font-style: Bold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #2b498b;
    text-align: right;
}

/* Строки с ценами */
.price-row {
    padding: 28px 32px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    position: relative;
        display: flex;
    justify-content: space-between;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background-color: #f8faff;
}

.price-row.has-badge::before {
    content: attr(data-badge);
    position: absolute;
    top: -8px;
    left: 32px;
    background: linear-gradient(90deg, #ff5c00 0%, #ff8c5a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: Golos Text;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -3%;
    z-index: 1;
}

.model-name {
    font-family: Golos Text;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -3%;
    color: #282a31;
    margin-bottom: 8px;
}

.price-badge {
    display: inline-block;
    background: rgba(11, 83, 238, 0.1);
    color: #0b53ee;
    padding: 4px 12px;
    border-radius: 12px;
    font-family: Golos Text;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -3%;
}

.price-value {
    font-family: "Golos Text", sans-serif;
    font-weight: 600;
    font-style: Bold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #2b498b;
    text-align: center;
}

/* Футер таблицы */
.prices-footer {
    background: rgba(43, 73, 139, 0.05);
    border-radius: 12px;
    padding: 24px 32px;
}

.footer-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: Golos Text;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -3%;
    color: #666;
}

.footer-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .prices-section {
        padding: 40px 0;
    }
    
    .time-value {
    font-weight: 600;
    font-style: Bold;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #2b498b;
    text-align: right;
}
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
        padding: 0 16px;
    }
    
    .table-header {
        padding: 20px 24px;
        font-size: 16px;
    }
    
    .price-row {
    }
    
    .price-col {
        text-align: left;
    }
    
    .price-value {
        text-align: left;
        font-size: 22px;
    }
    
    .price-row.has-badge::before {
        left: 24px;
        font-size: 10px;
        padding: 3px 10px;
    }
}

@media (max-width: 575px) {
    .prices-section .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-label {
        font-size: 12px;
    }
    
    .table-header {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .model-name {
        font-size: 18px;
    }
    
    .price-value {
        font-size: 20px;
    }
    
    .footer-note {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-note svg {
        align-self: flex-start;
    }
}

/* Анимация появления строк */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-row {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.price-row:nth-child(1) { animation-delay: 0.1s; }
.price-row:nth-child(2) { animation-delay: 0.2s; }
.price-row:nth-child(3) { animation-delay: 0.3s; }
.price-row:nth-child(4) { animation-delay: 0.4s; }
.price-row:nth-child(5) { animation-delay: 0.5s; }
.price-row:nth-child(6) { animation-delay: 0.6s; }
.price-row:nth-child(7) { animation-delay: 0.7s; }
.price-row:nth-child(8) { animation-delay: 0.8s; }
.price-row:nth-child(9) { animation-delay: 0.9s; }
.price-row:nth-child(10) { animation-delay: 1s; }

.hero__models {
    max-width: 785px;
}

.cover-service {
    padding: 80px 0;
}

  .hero .container {
      padding-top: 0;
  }
  
/*   .hero {
        padding-top: 12px;
} */
    /* Основной стиль карточки */
/* 1. Стили для сетки */
.repair-services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Настраиваем сетку: 4 колонки, одинаковой ширины */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* Расстояние между карточками */
    margin-top: 40px;
    padding: 0 15px; /* Небольшие отступы, если нужно */
}

/* 2. Основной стиль карточки (Квадратик) */
.service-card {
    /* Фон и скругление */
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    min-height: 180px; /* Чтобы все карточки были одинаковой высоты */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Эффект тени по умолчанию (как на скриншоте) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    border: 1px solid #eee; /* Легкая граница */
}

/* 3. Стили для содержимого */
.service-details {
        display: flex;
    flex-direction: row:
    align-items: center;
    /* Используйте flex или grid, если нужен номер и заголовок на одной строке */
}

.service-number {
    /* Стиль для цифры (1., 2. и т.д.) */
    font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 18px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: -3%;
color: #282A31;

    display: block;
    margin-bottom: 5px;
}

.service-title {
    font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 18px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: -3%;

    margin-bottom: 10px;
    /* Убираем стандартные отступы p */
    margin-top: 0; 
}

/* 4. Стили для блока цены */
.service-price-wrapper {
    display: flex;
    align-items: flex-end;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.service-price {
    font-family: Golos Text;
font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
    color: #1E2022;
    transition: color 0.3s ease; 
}

.service-currency {
    /* Стиль для 'BYN' */
    font-family: Golos Text;
font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    color: #282A31;

    margin-left: 5px;
        transition: color 0.3s ease; 
}

.service-time {
    /* Стиль для времени работы */
    font-size: 14px;
    color: #999;
    margin-top: 0;
}

/* 5. ЭФФЕКТ НАВЕДЕНИЯ (Hover) */

.service-card:hover {
    /* Легкое усиление тени при наведении */
    box-shadow: 0px 16.7px 11.8px 0px #1A2B3B1A;
transition: 0.3s;
}

.service-card:hover .service-currency {
    /* ГЛАВНЫЙ ЭФФЕКТ: Смена цвета цены на голубой */
    color: #0B53EE;/* Используйте ваш точный голубой цвет */
}

.service-card:hover .service-price {
    /* ГЛАВНЫЙ ЭФФЕКТ: Смена цвета цены на голубой */
    color: #0B53EE;/* Используйте ваш точный голубой цвет */
}

/* Основной контейнер для блока с информацией */
.repair-info-alert-wrapper {
    max-width: 1200px;
    margin: 0 auto;

}

.repair-info-alert {
    /* Серый фон блока */
    background-color: #f7f7f7; 
    border-radius: 8px; /* Скругление углов */
    padding: 16px 20px;
    display: flex;
    align-items: flex-start; /* Чтобы текст начинался с верхней линии иконки */
    gap: 10px; /* Расстояние между иконкой и текстом */
}

/* Стили для иконки */
.alert-icon {
    /* Добавьте стили, если иконка требует специального выравнивания */
    flex-shrink: 0; /* Чтобы иконка не сжималась */
    padding-top: 2px; /* Небольшая корректировка, чтобы иконка была по центру */
}

/* Общие стили для текста */
.alert-text {
    /* Стили для обычного текста */
    font-family: 'Golos Text', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.03em; /* -3% */
    color: #333; /* Пример темного текста */
    margin: 0; /* Убираем стандартные отступы параграфа */
}

/* Стили для красного акцентированного текста */
.alert-text-accent {
    font-family: 'Golos Text', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.03em; /* -3% */
    color: #cc0000; /* Красный цвет */
}

/* ==================================== */
/* 1. БАЗОВАЯ СТРУКТУРА МОДАЛЬНОГО ОКНА */
/* ==================================== */

.modal-overlay {
    display: none; /* Скрыто по умолчанию. JS меняет на 'flex' */
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Темный полупрозрачный фон */
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Позволяет прокручивать, если контент не помещается */
    padding: 20px 0; /* Небольшой отступ по вертикали для центрирования */
}

.modal-content {
    background-color: #fefefe;
    border-radius: 12px;
    width: 90%; 
max-width: 820px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin: auto; /* Центрирование */
}

.modal-header h2 {
    font-family: Golos Text;
font-weight: 600;
font-style: SemiBold;
font-size: 32px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: -3%;

    margin-bottom: 20px;
    color: rgba(40, 42, 49, 1);

}

/* Кнопка закрытия (крестик) */
.modal-close {
    color: #000;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

/* ==================================== */
/* 2. БЛОК ДЕТАЛЕЙ УСЛУГИ (ВЕРХНЯЯ ЧАСТЬ) */
/* ==================================== */

.service-details {
    display: flex;
}

.service-card {
    text-decoration: none;
}

.service-title {
    color: black;
}

/* Левая колонка (Карточка устройства) */
.service-details .service-card {
    flex: 0 0 38%;
    max-width: 38%;
    padding: 15px;
    background-color: #f8f9fa; /* Светлый фон для выделения */
    border-radius: 8px;
    margin-right: 20px;
}

.service-details .service-name {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.service-details .service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Правая колонка (Информация о ремонте) */
.repair-info {
    flex: 1;
}

.repair-info h3 {
   font-family: Golos Text;
font-weight: 600;
font-style: SemiBold;
font-size: 24px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: -3%;

    margin-top: 0;
    margin-bottom: 10px;
}

.repair-info p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.info-line{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-line span{
        font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: -3%;
color: rgba(40, 42, 49, 1);
opacity: 0.4;
}

.info-line .value {
    font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: -3%;
color: rgba(40, 42, 49, 1);
opacity: 1;
}

/* Цена */
.price-line {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #e9ecef;
}

.price-line .price-value {
font-family: Golos Text;
font-weight: 600;
font-style: SemiBold;
font-size: 32px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    color: rgba(11, 83, 238, 1);
    opacity: 1;
    
}

/* ==================================== */
/* 3. БЛОК ФОРМЫ */
/* ==================================== */

.form-title h3 {
    font-family: Golos Text;
font-weight: 600;
font-style: SemiBold;
font-size: 32px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: -3%;

    margin-bottom: 20px;
}

.form-callback {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-callback input[type="text"], 
.form-callback input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 40px;
    box-sizing: border-box; 
    font-size: 16px;
    background-color: rgba(26, 37, 69, 0.06);
    transition: border-color 0.2s;
}

.form-callback input[type="text"]:focus, 
.form-callback input[type="email"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
    background-color: #fff;
}

.privacy-text {
    font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 13px;
leading-trim: NONE;
line-height: 160%;
letter-spacing: 0%;
color: rgba(108, 118, 132, 1);
    margin-top: 15px;
    margin-bottom: 20px;
}

.privacy-text a {
    font-family: Golos Text;
font-weight: 500;
font-style: Medium;
font-size: 13px;
leading-trim: NONE;
line-height: 160%;
letter-spacing: 0%;
text-decoration: underline;
text-decoration-style: solid;
text-decoration-offset: 0%;
text-decoration-thickness: 0%;
color: rgba(58, 68, 82, 1);

}

.submit-button {
    width: 100%;
    padding: 15px;
    color: white;
   font-family: Golos Text;
font-weight: 500;
font-style: Medium;
font-size: 17px;
leading-trim: NONE;
line-height: 140%;
letter-spacing: -3%;

    border: none;
    border-radius: 60px;
    cursor: pointer;
    /* Градиент, как на изображении */
    background: linear-gradient(213.87deg, #2EA8B6 23.58%, #1E5EE8 63.37%);
    box-shadow: 0px 0px 6px 0px rgba(46, 168, 182, 0.4);

    transition: opacity 0.2s;
}

.submit-button:hover {
    opacity: 0.9;
}

/* ==================================== */
/* 4. БЛОК ПРИМЕЧАНИЯ */
/* ==================================== */

.note-block {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #ffda6a; /* Цвет рамки */
background-color: rgba(231, 233, 235, 1);

    border-radius: 8px;
    font-size: 12px;
    color: #856404; /* Цвет текста */
}
.note-icon {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    line-height: 1;
}

.note-block p {
    margin: 0;
    line-height: 1.4;
}

.note-block p strong {
    color: #000;
    font-weight: 700;
}

/* ==================================== */
/* 5. АДАПТИВНОСТЬ */
/* ==================================== */

@media (max-width: 600px) {
    .modal-content {
        padding: 20px;
        margin: 20px; /* Отступы от краев экрана */
    }
    
    .service-details {
        flex-direction: column; /* На маленьких экранах блоки идут друг под другом */
        border-bottom: none; /* Убираем разделитель */
        padding-bottom: 0;
    }
    
    .service-details .service-card {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .repair-info h3 {
        margin-top: 15px;
    }
    
    .price-line .price-value {
        font-size: 24px;
    }
        .adv-card {
        max-width: 100%;
    }
        .cover-service__content {
        width: unset;
        /* margin-right: 0; */
        max-width: 100%;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .repair-services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .service-card {
        min-height: auto;
         max-width: 100%;
    }
}

.adv-card {
    width: 390px;
    
}

.adv-card__img {
    overflow: hidden;
    max-width: 293px;
}

.adv-card__text {
    max-width: none;
}

.akcii__block {
        display: flex;
    justify-content: end;
    overflow: hidden;
}
.adv-card {
    padding-bottom: 0px;
}

.hero {
    min-height: auto;
}

.repair-services-grid {
    margin-bottom: 40px;
}

.rem-pop-block {
    background-color: none; /* Принудительно темный фон как на фото */
    padding: 32px 20px !important;
    color: #ffffff !important;
    font-family: sans-serif; /* Или твой основной шрифт */
}

.rem-pop-container {
    max-width: 1200px;
    margin: 0 auto !important;
}

.rem-pop-subtitle {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
    text-align: center;
    font-family: Golos Text;
font-weight: 500;
font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: -3%;
text-transform: uppercase;
color: #F86B2E;
}

.rem-pop-main-title {
    margin-bottom: 32px !important;
    text-align: center;
    color: #222 !important;
    margin-top: 4px;
    font-family: Golos Text;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 38px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
}

.rem-pop-grid {
    display: grid !important;
    /* Адаптивная сетка: 4 в ряд на десктопе, 1 на мобилках */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
}

.rem-pop-card {
    background: #2a3142 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.rem-pop-card:hover {
    transform: translateY(-5px);
}

.rem-pop-badge {
    background-color: #f36d38 !important;
    color: #fff !important;
    padding: 6px 12px !important;
    /* font-size: 13px !important; */
    /* font-weight: 600 !important; */
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-family: Golos Text;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: -3%;
}

.rem-pop-body {
padding: 25px 20px !important;
    display: flex !important;
    align-items: baseline;
    gap: 8px !important;
    vertical-align: middle;
}

.rem-pop-idx {
color: #FFFFFF;
font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 20px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: -3%;

}

.rem-pop-grid a {
    text-decoration: none;
}

.rem-pop-name {
font-family: Golos Text;
font-weight: 400;
font-style: Regular;
font-size: 20px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: -3%;

    color: #fff !important;
    font-weight: 500 !important;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .rem-pop-main-title { font-size: 24px !important; }
    .rem-pop-grid { grid-template-columns: 1fr !important; }
}

