/* custom-hero.css */
.custom-hero-section {
    background-color: #24AAE1;
    padding: 35px 0 35px 0;
    display: flex;
    align-items: center;
}

/* Левая колонка */
.text-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.text-content {
    max-width: 700px;
    padding: 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 4vw, 32px);
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2.5vw, 24px);
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    opacity: 0.9;
}

.hero-subtitle span {
    color: #ffffff;             
    background: #FF6F64;             
    padding: 2px 5px;        
    border-radius: 4px;  
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Правая колонка */
.image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Адаптивность для мобильных */
@media (max-width: 767.98px) {
    .custom-hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    .text-column {
        text-align: center;
        padding-bottom: 30px;
    }
    .text-content {
        max-width: 100%;
        padding: 0 15px;
    }
    .image-column {
        padding: 0 15px;
    }
} 	

/* Дополнительно: анимация появления (опционально) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-hero-section .text-content,
.custom-hero-section .hero-image {
    animation: fadeInUp 0.8s ease-out both;
}

.custom-hero-section .hero-image {
    animation-delay: 0.2s;
}

/*Секция с 3 мя фотографиями */
.partners-section {
    background-color: #24AAE1;
    color: #FFF;
    padding: 80px 0;
}

.partners-title {
    font-family: Inter;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.partner-logo {
    max-width: 200px;
    height: auto;
    /*filter: brightness(0) invert(1);*/
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 992px) {
    .partners-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    .partners-grid {
        gap: 3rem;
    }
    .partner-logo {
        max-width: 135px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    .partners-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    .partners-grid {
        gap: 2.5rem;
        flex-direction: column;
    }
    .partner-logo {
        max-width: 115px;
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 50px 0;
    }
    .partners-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .partners-grid {
        gap: 2rem;
    }
    .partner-logo {
        max-width: 115px;
    }
}

.italic-text {
    font-style: italic;
}

.listlink ul li a {
    color: gray;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 0;
    line-height: 24px;
    position: relative;
    border-radius: 6px;
    display: contents;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding-left: 40px;
}

.three-images-section {
    background-color: #24AAE1;
    padding-top: 28px;
    padding-bottom: 28px;
}

.image-card {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blue_banner {
    background-color: #24AAE1;
    padding: clamp(24px, 5vw, 48px) 0;
}

/* Контейнер – защитные отступы по бокам для мобильных */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Блок с текстом */
.blue_banner__content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Заголовок */
.blue_banner__content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Абзацы */
.blue_banner__content p {
    font-family: 'Inter', sans-serif;
    font-weight: 0;
    font-size: clamp(16px, 2.5vw, 22px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 8px;
}

.blue_banner__content p:last-of-type {
    margin-bottom: 0;
}

/* ===== Секция акции (замена consultanttop) ===== */
.promo-section {
    background: #24AAE1;
    padding: 50px 0;
}

.promo-card {
    background: #F3F2ED;
    border-radius: 30px;
    box-shadow: 0 4px 20px 0 rgba(36, 155, 203, 0.55);
    padding: 45px 60px;
    color: #3A3737;
    font-family: 'Inter', sans-serif;
}

.promo-title {
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.promo-essence {
    background: /*rgba(36, 170, 225, 0.06)*/#24aae11a;
    padding: 16px 22px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.promo-essence h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #176FA0;
}

.promo-essence p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.promo-essence strong {
    color: #0F4F73;
}

/* Вариант с галочкой */
.promo-conditions--check {
    background: /*rgba(36, 170, 225, 0.04)*/#24aae11a;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 30px;
}

.promo-conditions--check h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #176FA0;
}

.promo-conditions--check ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-conditions--check li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
}

.promo-conditions--check strong {
    color: #0F4F73;
}

.promo-conditions--check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0F4F73;
    font-weight: 700;
}

/* Вариант с нумерацией */
.promo-conditions--num {
    background: /*rgba(36, 170, 225, 0.04)*/#24aae11a;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 30px;
}
.promo-conditions--num h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #176FA0;
}
.promo-conditions--num ul {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: promo-num; /* Инициализация счетчика */
}
.promo-conditions--num li {
    padding: 6px 0 6px 30px; /* Увеличен отступ для номера */
    position: relative;
    font-size: 15px;
    line-height: 1.5;
    counter-increment: promo-num; /* Увеличение счетчика */
}
.promo-conditions--num strong {
    color: #0F4F73;
}
.promo-conditions--num li::before {
    content: counter(promo-num) ". "; /* Вывод цифры с точкой */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0F4F73;
    font-weight: 700;
}

.promo-audience {
    background: /*rgba(36, 170, 225, 0.06)*/#24aae11a;
    padding: 14px 20px;
    border-left: 4px solid #24AAE1;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 16px;
}

.promo-audience strong {
    color: #176FA0;
}

.promo-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item {
    background: rgba(36, 170, 225, 0.06);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: background 0.2s;
}

.benefit-item:hover {
    background: rgba(36, 170, 225, 0.13);
}

.benefit-label {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
}

.promo-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.promo-button {
    background: #24AAE1;
    border: none;
    border-radius: 50px;
    padding: 14px 48px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(36, 170, 225, 0.4);
    transition: background 0.25s, transform 0.1s;
}

.promo-button:hover {
    background: #1EA1D6;
    transform: scale(1.02);
}

.promo-button:active {
    transform: scale(0.97);
}

.promo-disclaimer {
    margin-top: 24px;
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
    border-top: 1px solid rgba(58, 55, 55, 0.08);
    padding-top: 18px;
    line-height: 1.4;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
    .promo-card {
        padding: 32px 35px;
    }
    .promo-title {
        font-size: 30px;
    }
    .promo-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .promo-card {
        padding: 24px 22px;
        border-radius: 24px;
    }
    .promo-title {
        font-size: 26px;
    }
    .promo-essence p {
        font-size: 16px;
    }
    .promo-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .promo-button {
        padding: 12px 32px;
        font-size: 17px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .promo-section {
        padding: 30px 0;
    }
    .promo-card {
        padding: 18px 14px;
        border-radius: 18px;
    }
    .promo-title {
        font-size: 20px;
    }
    .promo-essence {
        padding: 12px 16px;
    }
    .promo-essence p {
        font-size: 15px;
    }
    .promo-conditions {
        padding: 14px 16px;
    }
    .promo-conditions li {
        font-size: 14px;
    }
    .promo-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .benefit-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 12px 14px;
    }
    .promo-button {
        font-size: 16px;
        max-width: 100%;
    }
    .promo-disclaimer {
        font-size: 11px;
    }
}