.about-services {
    margin-bottom: 120px;
}

.about-services-header {
    margin-bottom: 40px;
}

.about-services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px 20px;
}

.about-service-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    min-height: 450px;
    justify-self: center;
    padding: 20px 20px 28px;
    background-color: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-service-link {
    display: block;
    height: 100%;
    color: inherit;
}

.about-service-image {
    position: relative;
    width: 100%;
    min-height: 200px;
    border-radius: 12px;
    overflow: visible;
}

.about-service-photo {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.about-service-icon {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 50%;
    border: 8px solid #fff;
    background-color: var(--secondary-card-text-color);
    z-index: 2;
    padding: 6px;
}

.about-service-icon-orange {
    background-color: #ff8a00;
    color: #ffffff;
}

.about-service-icon-dark {
    background-color: #111827;
    color: #ffffff;
}

.about-service-title {
    margin: 40px 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f2937;
}

.about-service-text {
    font-size: 15px;
    line-height: 1.4;
    color: #494949;
}

.about-service-button {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-service-card:hover .about-service-button {
    background-color: #ff8a00;
    color: #ffffff;
}

/* ==== БЛОК ГЕОГРАФИЯ ==== */
/* .about-geography {
    width: 100%;
} */

.about-geography {
    width: 100%;
    padding-top: 40px;
    background-color: #f6f6f6;
}

.about-geography-text {
    font-size: 16px;
    margin-top: -20px;
    margin-bottom: 40px;
    color: #555;
}

/* Карта на всю ширину */
.about-geography-map {
    width: 100%;
    overflow: hidden;
}

.about-geography-map .ua-map-img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Текст */
.about-text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-text-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}


.about-media-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-media-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* Общие стили секции */
.about-text-section {
    margin-bottom: 80px;
}

/* Заголовки */
.about-text-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.about-text-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.about-text-block {
    margin-bottom: 24px;
}

/* Параграфы */
.about-text-paragraph {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* Список с цифрами в кружочках */
.about-text-list {
    list-style: none;
    counter-reset: advantages;
    padding-left: 0;
    margin-top: 15px;
}

.about-text-list-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}

/* Стили цифр в кружочке */
.about-text-list-item::before {
    counter-increment: advantages;
    content: counter(advantages);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #1e47a3;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 500;
    font-size: 14px;
}
