.hero {
background-image: url(/assets/img/iphone-bg-yslyga.png) !important; 
    
}

.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;
    padding: 20px 0; /* Внешние отступы */
}

.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;
}