/* Hero Вариант 3 - CSS с цветами #009688 */
.hero-v3 {
    position: relative;
    height: auto;

    max-height: none;
    background: 
        radial-gradient(circle at 70% 50%, rgba(0, 150, 136, 0.25) 0%, transparent 60%),
        url('https://vedeniesaitov.ru/img/slide1.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 60px 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 70, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-v3-content {
    max-width: 900px;
    width: 100%;
    z-index: 2;
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.hero-v3-title {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    background: linear-gradient(90deg, #ffffff, #80cbc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 150, 136, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-v3-description {
    font-size: 1.25rem;
    margin-bottom: 2.8rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #e0f2f1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-v3-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-v3-btn {
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    box-sizing: border-box;
}

.hero-v3-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.hero-v3-btn:hover::before {
    left: 100%;
}

.hero-v3-btn-primary {
    background: #009688;
    background: -webkit-gradient(linear, left top, right top, from(#009688), to(#00bcab));
    background: linear-gradient(to right, #009688 0%, #00bcab 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 150, 136, 0.4);
}

.hero-v3-btn-primary:hover {
    background: #00897b;
    background: -webkit-gradient(linear, left top, right top, from(#00897b), to(#00a896));
    background: linear-gradient(to right, #00897b 0%, #00a896 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 150, 136, 0.5);
    color: #f6f6f6;
}

.hero-v3-btn-secondary {
    background-color: rgba(0, 150, 136, 0.15);
    color: #e0f2f1;
    border: 2px solid #009688;
    backdrop-filter: blur(10px);
}

.hero-v3-btn-secondary:hover {
    background-color: rgba(0, 150, 136, 0.3);
    border-color: #00bcab;
    transform: translateY(-5px);
    color: #f6f6f6;
}

.hero-v3-arrow {
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.hero-v3-btn:hover .hero-v3-arrow {
    transform: translateX(8px);
}

.hero-v3-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.hero-v3-stat-item {
    text-align: center;
    padding: 15px 20px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 150, 136, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-v3-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 150, 136, 0.2);
    border-color: rgba(0, 150, 136, 0.4);
}

.hero-v3-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #009688, #00bcab);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-v3-stat-label {
    font-size: 0.85rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #80cbc4;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

/* Адаптивность для Варианта 3 - Планшеты */
@media (max-width: 992px) {
    .hero-v3 {
        padding: 50px 15px;
    }
    
    .hero-v3-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-v3-description {
        font-size: 1.15rem;
        padding: 0 10px;
    }
    
    .hero-v3-btn {
        padding: 15px 25px;
        font-size: 0.95rem;
        min-width: 180px;
    }
    
    .hero-v3-stats {
        gap: 25px;
        margin-top: 50px;
    }
    
    .hero-v3-stat-item {
        min-width: 110px;
        padding: 12px 15px;
    }
    
    .hero-v3-stat-number {
        font-size: 2rem;
    }
}

/* Адаптивность для Варианта 3 - Мобильные */
@media (max-width: 768px) {
    .hero-v3 {
        padding: 40px 15px;
        min-height: auto;
        height: auto;
    }
    
    .hero-v3-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .hero-v3-description {
        font-size: 1.05rem;
        margin-bottom: 2.2rem;
        padding: 0 5px;
    }
    
    .hero-v3-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 100%;
    }
    
    .hero-v3-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .hero-v3-stats {
        gap: 15px;
        margin-top: 40px;
        padding: 15px 10px;
    }
    
    .hero-v3-stat-item {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
        padding: 12px 10px;
        box-sizing: border-box;
    }
    
    .hero-v3-stat-number {
        font-size: 1.8rem;
    }
    
    .hero-v3-stat-label {
        font-size: 0.8rem;
    }
}

/* Адаптивность для Варианта 3 - Маленькие мобильные (iPhone SE и подобные) */
@media (max-width: 375px) {
    .hero-v3 {
        padding: 30px 12px;
    }
    
    .hero-v3-title {
        font-size: 1.9rem;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .hero-v3-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.8rem;
        padding: 0;
    }
    
    .hero-v3-buttons {
        gap: 12px;
    }
    
    .hero-v3-btn {
        padding: 13px 18px;
        font-size: 0.9rem;
        min-width: 0;
        max-width: 100%;
    }
    
    .hero-v3-btn span {
        flex-grow: 1;
        text-align: center;
    }
    
    .hero-v3-arrow {
        width: 16px;
        height: 16px;
    }
    
    .hero-v3-stats {
        gap: 10px;
        margin-top: 35px;
        padding: 10px 5px;
    }
    
    .hero-v3-stat-item {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        padding: 10px 8px;
    }
    
    .hero-v3-stat-number {
        font-size: 1.6rem;
        min-height: 2rem;
    }
    
    .hero-v3-stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* Адаптивность для Варианта 3 - Очень маленькие экраны (менее 320px) */
@media (max-width: 320px) {
    .hero-v3 {
        padding: 25px 10px;
    }
    
    .hero-v3-title {
        font-size: 1.7rem;
    }
    
    .hero-v3-description {
        font-size: 0.9rem;
    }
    
    .hero-v3-btn {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .hero-v3-stats {
        gap: 8px;
    }
    
    .hero-v3-stat-item {
        min-width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
        padding: 8px 6px;
    }
    
    .hero-v3-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-v3-stat-label {
        font-size: 0.7rem;
    }
}

/* Десктоп - фикс для статистики */
@media (min-width: 1200px) {
    .hero-v3-stat-item {
        padding: 20px 25px;
        min-width: 140px;
    }
    
    .hero-v3-stat-number {
        font-size: 2.5rem;
        min-height: 3rem;
    }
    
    .hero-v3-stat-label {
        font-size: 0.9rem;
    }
}

/* Фикс для старых браузеров */
@supports not (backdrop-filter: blur(10px)) {
    .hero-v3-btn-secondary {
        background-color: rgba(0, 150, 136, 0.25);
    }
    
    .hero-v3-stat-item {
        background: rgba(0, 150, 136, 0.1);
    }
}














/* Основной класс с эффектом как в hero-блоке */
.teal-gradient-overlay {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

/* Слой с радиальным градиентом и оверлеем */
.teal-gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 70% 50%, 
            rgba(0, 150, 136, 0.25) 0%, 
            transparent 60%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.85) 0%, 
            rgba(0, 0, 0, 0.75) 100%
        );
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Дополнительный слой для лучшего смешивания */
.teal-gradient-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Стили для изображения внутри */
.teal-gradient-overlay img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
    filter: brightness(1.1) contrast(1.05);
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Эффект при наведении */
.teal-gradient-overlay:hover img {
    transform: scale(1.03);
    filter: brightness(1.15) contrast(1.1);
}

.teal-gradient-overlay:hover::before {
    background: 
        radial-gradient(
            circle at 70% 50%, 
            rgba(0, 150, 136, 0.35) 0%, 
            transparent 60%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.8) 0%, 
            rgba(0, 0, 0, 0.7) 100%
        );
    transition: background 0.5s ease;
}

/* Модификаторы интенсивности */
.teal-gradient-overlay--light::before {
    background: 
        radial-gradient(
            circle at 70% 50%, 
            rgba(0, 150, 136, 0.15) 0%, 
            transparent 70%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.6) 0%, 
            rgba(0, 0, 0, 0.5) 100%
        );
}

.teal-gradient-overlay--light::after {
    background: rgba(0, 0, 0, 0.15);
}

.teal-gradient-overlay--strong::before {
    background: 
        radial-gradient(
            circle at 70% 50%, 
            rgba(0, 150, 136, 0.4) 0%, 
            transparent 50%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.9) 0%, 
            rgba(0, 0, 0, 0.85) 100%
        );
    mix-blend-mode: hard-light;
}

.teal-gradient-overlay--strong::after {
    background: rgba(0, 0, 0, 0.5);
    mix-blend-mode: color-burn;
}

/* Модификаторы направления градиента */
.teal-gradient-overlay--center::before {
    background: 
        radial-gradient(
            circle at center, 
            rgba(0, 150, 136, 0.25) 0%, 
            transparent 70%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.85) 0%, 
            rgba(0, 0, 0, 0.75) 100%
        );
}

.teal-gradient-overlay--top::before {
    background: 
        radial-gradient(
            circle at 50% 30%, 
            rgba(0, 150, 136, 0.25) 0%, 
            transparent 70%
        ),
        linear-gradient(
            to bottom, 
            rgba(0, 77, 70, 0.85) 0%, 
            rgba(0, 0, 0, 0.75) 100%
        );
}

/* Версия для фоновых изображений */
.teal-gradient-overlay-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    box-sizing: border-box;
}

.teal-gradient-overlay-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 70% 50%, 
            rgba(0, 150, 136, 0.25) 0%, 
            transparent 60%
        ),
        linear-gradient(
            135deg, 
            rgba(0, 77, 70, 0.85) 0%, 
            rgba(0, 0, 0, 0.75) 100%
        );
    z-index: 1;
}

.teal-gradient-overlay-bg > * {
    position: relative;
    z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .teal-gradient-overlay::before {
        background: 
            radial-gradient(
                circle at center, 
                rgba(0, 150, 136, 0.25) 0%, 
                transparent 70%
            ),
            linear-gradient(
                135deg, 
                rgba(0, 77, 70, 0.8) 0%, 
                rgba(0, 0, 0, 0.7) 100%
            );
    }
    
    .teal-gradient-overlay-bg::before {
        background: 
            radial-gradient(
                circle at center, 
                rgba(0, 150, 136, 0.25) 0%, 
                transparent 70%
            ),
            linear-gradient(
                135deg, 
                rgba(0, 77, 70, 0.8) 0%, 
                rgba(0, 0, 0, 0.7) 100%
            );
    }
}

/* Упрощенная версия для inline-изображений */
.teal-gradient-img {
    position: relative;
    display: inline-block;
}

.teal-gradient-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 50%, rgba(0, 150, 136, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(0, 77, 70, 0.85), rgba(0, 0, 0, 0.75));
    z-index: 1;
    mix-blend-mode: overlay;
}

.teal-gradient-img img {
    display: block;
    position: relative;
    z-index: 0;
}























/* Эффект выделения в цветах сайта (#009688) с затемнением и увеличением */
.site-teal-highlight {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

/* Основное затемнение и цветовой фильтр */
.site-teal-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Цветовой фильтр в стиле сайта */
        linear-gradient(
            rgba(0, 150, 136, 0.5) 0%,
            rgba(0, 188, 171, 0.5) 100%
        ),
        /* Затемнение изображения */
        linear-gradient(
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.7) 100%
        );
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Дополнительный слой для текстуры/свечения */
.site-teal-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 50% 50%,
            rgba(0, 150, 136, 0.3) 0%,
            rgba(0, 150, 136, 0.1) 50%,
            transparent 70%
        );
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Изображение - изначально затемненное */
.site-teal-highlight img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1); /* Изначально темное */
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Эффект при наведении */
.site-teal-highlight:hover::before {
    background: 
        linear-gradient(
            rgba(0, 150, 136, 0.4) 0%, /* Меньше цвета */
            rgba(0, 188, 171, 0.2) 100%
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.4) 0%, /* Меньше затемнения */
            rgba(0, 0, 0, 0.4) 100%
        );
    mix-blend-mode: soft-light;
}

.site-teal-highlight:hover::after {
    opacity: 0.9;
    background: 
        radial-gradient(
            circle at 50% 50%,
            rgba(0, 150, 136, 0.4) 0%,
            rgba(0, 150, 136, 0.2) 50%,
            transparent 70%
        );
}

.site-teal-highlight:hover img {
    filter: brightness(0.9) contrast(1.05); /* Становится светлее */
    transform: scale(1.05); /* Небольшое увеличение */
}

/* Контейнер для текста/контента поверх изображения */
.site-teal-highlight-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    color: white;
    text-align: center;
    width: 90%;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.site-teal-highlight:hover .site-teal-highlight-content {
    opacity: 1;
}

/* Модификаторы интенсивности */
.site-teal-highlight--light::before {
    background: 
        linear-gradient(
            rgba(0, 150, 136, 0.4) 0%,
            rgba(0, 188, 171, 0.2) 100%
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.5) 100%
        );
}

.site-teal-highlight--light img {
    filter: brightness(0.7) contrast(1.05);
}

.site-teal-highlight--dark::before {
    background: 
        linear-gradient(
            rgba(0, 150, 136, 0.7) 0%,
            rgba(0, 188, 171, 0.5) 100%
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.8) 100%
        );
}

.site-teal-highlight--dark img {
    filter: brightness(0.4) contrast(1.15);
}

/* Для более сильного увеличения при наведении */
.site-teal-highlight--zoom-strong:hover img {
    transform: scale(1.08);
}

/* Для круглых изображений */
.site-teal-highlight--circle {
    border-radius: 50%;
    overflow: hidden;
}

.site-teal-highlight--circle img {
    border-radius: 50%;
}












img.color-overlay {
  position: relative;
  filter: blur(1px);
}

img.color-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 150, 136, 0.8);
  z-index: 1;
  pointer-events: none;
}


























/* Вариант 1A: Класс для прямого применения к img */
.img-teal-overlay {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.img-teal-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 50%, rgba(0, 150, 136, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0, 77, 70, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Вариант 1B: Обертка для img (лучший контроль) */
.img-teal-overlay-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

.img-teal-overlay-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.img-teal-overlay-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 50%, rgba(0, 150, 136, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0, 77, 70, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* Эффект при наведении */
.img-teal-overlay-wrapper:hover img {
  transform: scale(1.05);
}

.img-teal-overlay-wrapper:hover::before {
  opacity: 0.75;
}