:root {
    --color-primary: #00939C;
    --color-secondary: #0A1931; /* Темно-синий */
    --color-accent: #EB4061; 
    --color-background-light: #FFFFFF;
    --color-background-gray: #F4F4F4;
    --color-text: #212529; /* Темный текст */
    --color-text-light: #F4F4F4;
    --slide-bg-color: var(--color-background-light); 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    background-color: var(--color-background-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 800;
    color: var(--color-secondary);
}

/* --- HERO SECTION (Слайдер) --- */
.hero {
    /* ВЫСОТА HERO SECTION: 600px */
    min-height: 600px; 
    padding: 80px 0;
    text-align: center;
    position: relative;
    transition: background-image 0.5s ease;
    overflow: hidden; 
    
    /* СТИЛИ ФОНОВОГО ИЗОБРАЖЕНИЯ ПРИМЕНЯЮТСЯ К ВЕСЬ HERO БЛОКУ */
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
}

/* Адаптивность для HERO */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
}

/* ДОБАВЛЕНИЕ ПОЛУПРОЗРАЧНОГО ОВЕРЛЕЯ ДЛЯ ЧИТАЕМОСТИ ТЕКСТА */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
    pointer-events: none;
}

/* FLEX КОНТЕЙНЕР ДЛЯ ВЫРАВНИВАНИЯ ЭЛЕМЕНТОВ (СЛАЙДЫ + НАВИГАЦИЯ) */
.hero .container {
    height: calc(600px - 160px); 
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    position: relative;
    z-index: 2; 
}

/* Блок-заглушка для резервирования места под слайды */
.slide-placeholder {
    flex-grow: 1; 
    position: relative; 
    width: 100%;
}

.hero-slide {
    /* Абсолютное позиционирование относительно .slide-placeholder */
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%; 
    
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: clamp(28px, 5vw, 48px);
    color: var(--color-text-light); 
    
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    
    z-index: 10;
}

.hero-slide.active {
    opacity: 1;
    z-index: 15; 
}

.slide-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    font-weight: 600;
    position: relative; 
    z-index: 20; 
}

.stat-pill {
    padding: 10px 20px;
    border-radius: 10px; 
    color: var(--color-primary);
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    user-select: none;
}

.stat-pill.active {
    color: var(--color-secondary);
    background-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 147, 156, 0.6); 
}

/* --- СЕКЦИИ --- */
.section {
    padding: 60px 0;
}

.section-header {
    font-size: 2em;
    margin-bottom: 40px;
    text-align: left; 
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- БЛОК "ЧТО У НАС СЕЙЧАС НОВОГО" (Офферы) --- */
.new-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ИЗМЕНЕНИЕ ЦВЕТА БЛОКА ОФФЕРОВ */
.new-subsection:nth-child(2) { 
    padding: 0px;
    background-color: #F4F4F4; /* Светло-фиолетовый (Lavender) */
    border-radius: 10px;
}

.new-subsection h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.new-item {
    text-align: center;
}

.image-link-wrapper {
    display: block;
    height: 250px; 
    margin-bottom: 10px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    text-align: center; 
    border: 1px solid var(--color-background-gray); 
}

.image-link-wrapper img {
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    display: block;
    margin: 0 auto; 
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-link-wrapper:hover img {
    transform: scale(1.05); 
}

.image-link-wrapper:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}        
.image-caption {
    font-size: 0.9em;
    color: var(--color-text);
}

/* --- БЛОК ПРЕИМУЩЕСТВ (без изменений) --- */
.benefits-card {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-primary);
    transition: box-shadow 0.3s ease, transform 0.3s ease; 
}

.benefits-card:hover {
    box-shadow: 0 8px 25px rgba(0, 204, 68, 0.2);
    transform: translateY(-5px); 
    cursor: default; 
}

.benefits-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.benefits-card::before {
    content: '★'; 
    display: block;
    font-size: 2em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* --- БЛОК КУЛЬТУРЫ ПАРТНЕРСТВА (Без изменений) --- */
.partnership-item {
    text-align: center;
}

.partnership-item .icon-circle {
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: var(--color-primary);
}

/* --- CTA SECTION (Без изменений) --- */
.cta-section {
    padding: 60px 0;
    text-align: center;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--color-secondary);
}

.cta-button {
    background-color: var(--color-accent);
    color: var(--color-background-light);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.8em;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.cta-button:hover {
    background-color: #E05C00;
}

/* --- ПОДВАЛ (REFRESH) --- */
footer {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding: 40px 0;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-block,
.footer-contact,
.footer-social {
    min-width: 250px;
}

.footer-logo {
    font-size: 2em;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.footer-contact p,
.footer-contact a {
    color: var(--color-text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-social h4 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.social-links {
    display: flex;
    gap: 15px; /* Интервал между иконками */
}

/* СТИЛИ ДЛЯ КАСТОМНЫХ ИКОНОК СОЦСЕТЕЙ */
.social-links img {
    width: 30px; /* Размер иконки */
    height: 30px;
    transition: opacity 0.3s;
}

.social-links a:hover img {
    opacity: 0.7; /* Эффект при наведении */
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .section-header {
        text-align: center;
    }
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    .footer-logo-block,
    .footer-contact,
    .footer-social {
        min-width: 100%;
    }
    .footer-contact a {
        text-align: center;
    }
    .social-links {
        justify-content: center; /* Центрируем иконки */
    }
}

/* --- Стили для подсказок (Tooltip) --- */
.new-item {
    position: relative;
    cursor: pointer;
    text-align: center;
}

.tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    width: 300px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-secondary) transparent transparent transparent;
}

/* Показ при наведении для ПК */
@media (hover: hover) {
    .new-item:hover .tooltip {
        visibility: visible;
        opacity: 1;
    }
}

/* Класс для активации по тапу на мобильных */
.new-item.active-tooltip .tooltip {
    visibility: visible;
    opacity: 1;
}

/* @media (max-width: 480px) {
    .tooltip { width: 160px; }
} */

/* --- Остальные стили из вашего style.css --- */
/* (Скопируйте сюда содержимое вашего старого style.css) */

.partnership-item .icon-circle {
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Обрезает изображение по границе круга */
    border: 3px solid var(--color-primary); /* Опционально: рамка, чтобы выделить круг */
}

.partnership-item .icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполняет круг целиком */
    display: block;
}