/* 
 * Основные стили для Faretti 
 * Используются переменные шрифтов из файла assets/fonts.css
 */

/* Общие стили */
:root {
    --primary-color: #00B2B0; /* Pantone 7466 C */
    --secondary-color: #4D342A; /* Pantone 4103 C */
    --dark-color: #2a2a2a;
    --light-color: #fff;
    --text-color: #333;
    --accent-color: #00B2B0; /* Pantone 7466 C */
    --bg-color: #f9f9f9;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Единообразные стили для h1 */
h1 {
    font-size: 2.5rem;
    margin: 0.67em 0;
    line-height: 1.2;
}

/* Особые стили для h1 в секции hero */
.hero h1 {
    font-size: 3.5rem;
    margin: 1em 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        margin: 0.5em 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        margin: 0.4em 0;
    }
}

p {
    margin-bottom: 15px;
}

.italic-text, em, blockquote {
    font-family: var(--font-accent);
    font-style: italic;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: #777;
    font-family: var(--font-primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Шапка (Header) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header-content {
    display: flex;
    align-items: center;
  /*  justify-content: space-between;*/
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

.logo-img {
    height: 50px;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 50px;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.header.scrolled .logo h1 {
    font-size: 1.8rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-nav li {
    margin: 0 5px;
    position: relative;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.main-nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.main-nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.main-nav a:hover:before {
    width: 80%;
    opacity: 1;
}

.nav-item.active a {
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

.nav-item.active a:before {
    width: 80%;
    opacity: 1;
}

/* Для прозрачной шапки логотип имеет тень */
.header:not(.scrolled) .logo h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* При прокрутке меняем цвет текста в меню */
.header.scrolled .main-nav a {
    color: var(--secondary-color);
    text-shadow: none;
}

.header.scrolled .main-nav a:hover,
.header.scrolled .nav-item.active a {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.header.scrolled .logo h1 {
    font-size: 1.8rem;
}

/* Анимации для пунктов меню */
.nav-item {
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(to right, #634835, #a67c52);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
}

.nav-item:hover:after,
.nav-item.active:after {
    transform: scaleX(1);
}

/* Адаптивное меню */
@media screen and (max-width: 992px) {
    .main-nav ul {
        gap: 0;
    }
    
    .main-nav a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        padding: 80px 30px 30px;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .main-nav li {
        width: 100%;
        margin: 5px 0;
        transform: translateX(30px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        transition-delay: 0s;
    }
    
    .main-nav.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Добавляем последовательную анимацию для элементов меню */
    .main-nav.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .main-nav.active li:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .main-nav.active li:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .main-nav.active li:nth-child(4) {
        transition-delay: 0.25s;
    }
    
    .main-nav.active li:nth-child(5) {
        transition-delay: 0.3s;
    }
    
    .main-nav.active li:nth-child(6) {
        transition-delay: 0.35s;
    }
    
    .main-nav.active li:nth-child(7) {
        transition-delay: 0.4s;
    }
    
    .main-nav.active li:nth-child(8) {
        transition-delay: 0.45s;
    }
    
    .main-nav a {
        padding: 12px 0;
        width: 100%;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--secondary-color);
        text-shadow: none;
        position: relative;
    }
    
    .main-nav a:before {
        display: block;
        bottom: -1px;
        left: 0;
        width: 0;
        transform: none;
        height: 2px;
    }
    
    .main-nav a:hover:before,
    .nav-item.active a:before {
        width: 40px;
        opacity: 1;
    }
    
    .nav-item:after {
        display: none;
    }
    
    .nav-item.active a {
        color: var(--primary-color);
    }

    /* Для мобильной версии меняем заливку кнопки меню при скролле */
    .header.scrolled .mobile-menu-btn span {
        background-color: var(--secondary-color);
    }
    
    /* Добавляем затемнение фона при открытии меню */
    body.menu-open:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Предотвращаем прокрутку при открытом меню */
    body.menu-open {
        overflow: hidden;
    }
}

@media screen and (max-width: 576px) {
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Анимация при прокрутке */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none;
}

/* Добавляем классы задержки для каскадной анимации */
.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.3s;
}
.delay-4 {
    transition-delay: 0.4s;
}

/* Border для секций */
.cake-line, .advantages, .about, .production, .where-to-buy, .contacts {
    position: relative;
}

.cake-line:before, .advantages:before, .about:before, .production:before, .where-to-buy:before, .contacts:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Стилизация кнопки подробнее */
.more-btn-container {
    text-align: center;
    margin: 40px auto 40px;
    display: flex;
    justify-content: center;
}

.link-more {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.link-more:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.link-more:hover {
    color: var(--primary-color);
}

.link-more:hover:after {
    background: var(--primary-color);
}

/* Старые стили для кнопок, можно оставить на случай, если они где-то еще используются */
.more-btn-container .btn-oval {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #634835, #a67c52);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.more-btn-container .btn-oval:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.more-btn-container .btn-oval:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Подсветка преимуществ */
.advantage-item {
    border-top: 3px solid var(--primary-color);
}

/* Улучшение внешнего вида футера */
.footer {
    background-color: var(--secondary-color);
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Стилизация блоков продуктов */
.cake-item {
    border-bottom: 3px solid var(--primary-color);
}

/* Стилизация заголовков */
.section-header h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Добавляем соединительную линию от заголовка к товарам */
.cake-line .section-header {
    position: relative;
    margin-bottom: 70px;
}

/* Удаляем старую реализацию соединительной линии */
.cake-line .section-header:after,
.cake-line .section-header:before,
.section-subheader:before,
.section-subheader:after {
    display: none;
}

/* Новое оформление с линиями для каждого продукта */
.product-grid {
    position: relative;
    padding-top: 40px;
}

.product-grid:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.5;
    display: none; /* Убираем горизонтальную линию */
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-card {
    position: relative;
}

.product-card:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 40px;
    background-color: var(--primary-color);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Убираем вертикальные линии */
}

.product-card:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: none; /* Убираем точки */
}

/* Стилизация для горизонтального списка продуктов */
.product-list {
    position: relative;
    padding-top: 30px;
}

.product-list:before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.product-item {
    position: relative;
}

.product-item:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 30px;
    background-color: var(--primary-color);
    top: -30px;
    left: 42px;
}

.product-item:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: -34px;
    left: 42px;
    transform: translateX(-50%);
    z-index: 2;
}

/* Адаптивность для соединительных линий */
@media (max-width: 768px) {
    .product-item:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-item:after {
        left: 50%;
    }
}

/* Заменяем на предыдущую реализацию соединительной линии */
.cake-line .section-header {
    position: relative;
    margin-bottom: 70px;
}

.cake-line .section-header:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 60px;
    background-color: var(--primary-color);
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}
/*
.cake-line .section-header:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    bottom: -70px;
    left: 47%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(0, 178, 176, 0.1);
    display: block;
}
*/
/* Соединяем подзаголовки с товарами */
.section-subheader {
    position: relative;
    margin: 30px 0 50px;
    text-align: center;
}

.section-subheader:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background-color: var(--primary-color);
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.section-subheader:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: block;
}

/* Стиль для подзаголовков (Пирожные) */
.section-subheader h3 {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* Удаляем стили для формы, которую мы убрали */
.contact-form {
    display: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .contact-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* Стили для сетки продуктов согласно макету */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-card {
    border: 1px solid #ddd;
    padding: 5px 5px 10px;
    text-align: center;
    background-color: #fff;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative;
    z-index: 1;
}

.product-image-frame {
    width: 100%;
    height: 160px;
    border: 1px dashed #ccc;
    margin-bottom: 8px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-image-frame:after {
   /* content: 'Изображение';*/
    color: #999;
    font-style: italic;
    font-size: 14px;
}

.product-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 0 5px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Адаптивность для сетки продуктов */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.always-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: none !important;
}

.product-card.always-visible {
    display: block !important;
}

.product-grid.always-visible {
    display: grid !important;
}

/* Центрирование для неполной сетки товаров в линейке PERFETTO */
#perfetto .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
}

/* Когда в линейке меньше 4 товаров, применяем специальное центрирование */
#perfetto .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 260px));
    justify-content: center;
}

/* Центрирование для неполной сетки товаров в линейке UNO */
#uno .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
}

/* Когда в линейке меньше 4 товаров, применяем специальное центрирование */
#uno .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 260px));
    justify-content: center;
}

/* Дополнительные стили для полной видимости карточек товаров */
.product-grid,
.product-card,
.product-image-frame,
.product-info {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.product-grid {
    display: grid !important;
}

/* Исправление для .product-grid в Firefox */
@-moz-document url-prefix() {
    .product-grid {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Исправление для .product-grid в Safari */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .product-grid {
            display: grid !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
    }
}

/* Отключаем все возможные анимации и эффекты для карточек товаров */
.product-grid, 
.product-card,
.product-grid *, 
.product-card * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* Защита от JavaScript, который может скрывать товары */
body::after {
    content: "";
    display: none;
}

body:has(.product-grid:not(:visible)) .product-grid,
body:has(.product-card:not(:visible)) .product-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Дополнительные стили для гарантированного отображения блока "История бренда" */
.about, 
.about-content, 
.about-text, 
.about-image, 
.timeline, 
.timeline-item {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.about-content {
    display: flex !important;
}

.about-text, 
.about-image, 
.timeline, 
.timeline-item {
    display: block !important;
}

/* Fix для элементов блока "История бренда" в Firefox */
@-moz-document url-prefix() {
    .about-content {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .about-text, 
    .about-image, 
    .timeline, 
    .timeline-item {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Fix для элементов блока "История бренда" в Safari */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .about-content {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .about-text, 
        .about-image, 
        .timeline, 
        .timeline-item {
            visibility: visible !important;
            opacity: 1 !important;
        }
    }
}

/* Отменяем все анимации для элементов блока "История бренда" */
.about *, 
.about-content *, 
.about-text *, 
.about-image *, 
.timeline *, 
.timeline-item * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* Преимущества - современный стиль */
.advantages {
    padding: 120px 0;
    background: linear-gradient(170deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.advantages:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 178, 176, 0.05) 0%, rgba(0, 178, 176, 0.02) 60%, transparent 70%);
    top: -100px;
    left: -150px;
    z-index: 0;
}

.advantages:after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 52, 42, 0.04) 0%, rgba(77, 52, 42, 0.01) 60%, transparent 70%);
    bottom: -150px;
    right: -100px;
    z-index: 0;
}

.advantages .section-subtitle {
    color: #666;
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.advantage-item {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advantage-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0);
}

.advantage-item:hover:before {
    opacity: 1;
}

.advantage-item h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-family: var(--font-heading);
}

.advantage-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 25px;
    flex-grow: 1;
    font-family: var(--font-primary);
}

.advantage-icon {
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.1) 0%, rgba(0, 178, 176, 0.15) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.4s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.15) 0%, rgba(0, 178, 176, 0.25) 100%);
    box-shadow: 0 10px 20px rgba(0, 178, 176, 0.1);
}

.advantage-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.advantage-more span {
    margin-right: 8px;
}

.advantage-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-more {
    opacity: 1;
}

.advantage-item:hover .advantage-more i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .advantages-items {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .advantages {
        padding: 80px 0;
    }
    
    .advantages-items {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    
    .advantage-item {
        padding: 30px 25px;
    }
}

/* О производстве - современный стиль */
.production {
    padding: 140px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 249, 249, 0.95) 100%);
}

/* Фоновые декоративные элементы */
.production-bg-element {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
}

.production-bg-1 {
    width: 400px;
    height: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(0, 178, 176, 0.1), rgba(0, 178, 176, 0.2));
    top: -100px;
    left: -100px;
    animation: floatBubble 20s ease-in-out infinite alternate;
}

.production-bg-2 {
    width: 300px;
    height: 300px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, rgba(77, 52, 42, 0.1), rgba(77, 52, 42, 0.15));
    bottom: 10%;
    right: -50px;
    animation: floatBubble 15s ease-in-out infinite alternate-reverse;
}

.production-bg-3 {
    width: 200px;
    height: 200px;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    background: linear-gradient(225deg, rgba(0, 178, 176, 0.08), rgba(77, 52, 42, 0.08));
    top: 40%;
    left: 10%;
    animation: floatBubble 18s ease-in-out infinite alternate;
}

@keyframes floatBubble {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(15px, -15px) rotate(5deg);
    }
    100% {
        transform: translate(-10px, 10px) rotate(-3deg);
    }
}

.production .section-header h2 {
    margin-bottom: 60px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 42px;
    letter-spacing: -0.5px;
    position: relative;
}

.production .section-header h2:after {
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 100px;
}

.production-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

/* Новая верстка производства */
.production-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.production-intro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 5px 0 0 5px;
}

.production-intro-content {
    flex: 2;
}

.production-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 178, 176, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 178, 176, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.2), rgba(0, 178, 176, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.stat-number span {
    font-size: 24px;
    position: absolute;
    top: 5px;
    right: -15px;
}

.stat-text {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.production-headline {
    margin-bottom: 25px;
}

.subtitle {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(0, 178, 176, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.production-headline h3 {
    font-size: 32px;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.production-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    letter-spacing: 0.2px;
    font-family: var(--font-primary);
}

.production-features-block {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.production-features-block:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 0 5px 5px 0;
}

.production-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px 40px;
}

.production-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.production-features li:hover {
    background-color: rgba(0, 178, 176, 0.05);
    transform: translateX(5px);
}

.production-features li i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 15px;
}

.production-features li span {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Стилизация карточек */
.production-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.production-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.production-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    font-weight: 700;
    color: rgba(0, 178, 176, 0.08);
    line-height: 1;
    font-family: var(--font-heading);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.1), rgba(0, 178, 176, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.production-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.2), rgba(0, 178, 176, 0.3));
}

.card-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.card-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 12px;
    font-family: var(--font-heading);
}

.card-content h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.production-card:hover .card-content h4:after {
    width: 60px;
}

.card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
    font-family: var(--font-primary);
}

/* Факты о производстве */
.production-facts {
    display: flex;
    cursor: pointer; /* Явно указываем, что элемент кликабельный */
    }
    
    /* Добавляем эффект при наведении для визуальной обратной связи */
    .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    
    /* Добавляем стили для активного состояния при клике */
    .product-card:active {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 20px;
}

.fact-item {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.fact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 178, 176, 0.1), rgba(0, 178, 176, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.fact-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.fact-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.fact-text {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
    font-family: var(--font-primary);
}

/* Кнопка "Подробнее" */
.production .more-btn-container {
    margin-top: 40px;
    text-align: center;
}

.production .btn-oval {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #634835, #a67c52);
    color: #fff;
    border: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.production .btn-oval:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.production .btn-oval:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Медиазапросы для адаптивности */
@media (max-width: 1100px) {
    .production-intro {
        flex-direction: column;
        padding: 30px;
    }
    
    .production-stats {
        flex-direction: row;
        width: 100%;
    }
    
    .stat-item {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .production-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .production {
        padding: 100px 0;
    }
    
    .production .section-header h2 {
        font-size: 36px;
    }
    
    .production-headline h3 {
        font-size: 28px;
    }
    
    .production-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .production-features {
        grid-template-columns: 1fr;
    }
    
    .production-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .production-facts {
        flex-direction: column;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .production-bg-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .production-intro {
        padding: 25px;
    }
    
    .production-features-block {
        padding: 25px;
    }
    
    .production-features li {
        padding: 10px;
    }
}

/* Где купить (Where to Buy) Section */
.where-to-buy {
    padding: 80px 0 100px;
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.where-to-buy:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.4) 0%, rgba(230, 245, 250, 0.4) 100%);
    z-index: 0;
}

.buy-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.buy-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-primary);
}

.store-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.store-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.store-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.store-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.store-item h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-left: 35px;
}

.store-item h3:before {
    content: '\f3c5'; /* Font Awesome map marker icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 25px;
}

.store-item ul {
    padding-left: 0;
    list-style: none;
}

.store-item ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    color: #555;
}

.store-item ul li:before {
    content: '\f138'; /* Font Awesome chevron circle right icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Удаляем стили для карты и кнопок действий */

/* Responsive styles for where-to-buy section */
@media (max-width: 768px) {
    .store-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Скрываем стили для блока социальных сетей, который мы удалили */
.contact-additional-info {
    display: none;
}

.contact-additional-info:before {
    display: none;
}

.contact-additional-info h3 {
    display: none;
}

/* Стили для анимированных частиц */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

.hero-particle-1 {
    top: 20%;
    left: 10%;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: particleFloat 15s ease-in-out 0.5s infinite alternate;
}

.hero-particle-2 {
    top: 70%;
    left: 15%;
    width: 15px;
    height: 15px;
    opacity: 0;
    animation: particleFloat 18s ease-in-out 1s infinite alternate-reverse;
}

.hero-particle-3 {
    top: 25%;
    right: 15%;
    width: 12px;
    height: 12px;
    opacity: 0;
    animation: particleFloat 20s ease-in-out 1.5s infinite alternate;
}

.hero-particle-4 {
    top: 65%;
    right: 10%;
    width: 8px;
    height: 8px;
    opacity: 0;
    animation: particleFloat 12s ease-in-out 2s infinite alternate-reverse;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(15px, 25px) scale(0.9);
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(30px, 50px) scale(1);
        opacity: 0;
    }
}

/* Базовые стили для Material Symbols */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    opacity: 0;
    will-change: opacity;
    font-display: block;
}

/* Показываем иконки только после полной загрузки шрифта */
.fonts-loaded .material-symbols-outlined {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Размеры иконок для разных секций */
.advantage-icon .material-symbols-outlined {
    font-size: 48px;
    color: var(--primary-color);
}

.contact-card-icon .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary-color);
}

.footer-social .material-symbols-outlined {
    font-size: 20px;
    color: #555555;
}

.footer-contact-item .material-symbols-outlined {
    font-size: 20px;
    color: #333333;
    margin-right: 8px;
}

.footer-back-to-top .material-symbols-outlined {
    font-size: 24px;
    color: #333333;
}

.stat-icon .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary-color);
}

.production-card .card-icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--primary-color);
}

.fact-item .fact-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary-color);
}

/* Контейнеры для иконок */
.advantage-icon,
.contact-card-icon,
.stat-icon,
.card-icon,
.fact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1em;
    min-width: 1em;
}

/* Анимации при наведении */
.advantage-item:hover .material-symbols-outlined,
.contact-card:hover .material-symbols-outlined,
.footer-social a:hover .material-symbols-outlined,
.production-card:hover .material-symbols-outlined,
.fact-item:hover .material-symbols-outlined,
.stat-item:hover .material-symbols-outlined {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero {
    position: relative;
   min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Добавляем видео в качестве фона */
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}




@media (max-width: 480px) {

 .hero {
   position: relative;
    max-height: 50hv !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    max-height: 555px;
    }

     .hero video {
    position: absolute;
    top: 0;
    left: 0;
   /* width: 50%;*/
    height: 100%;
    object-fit: cover;
    z-index: 0;
    object-position: left;
}
    }
    

/* Добавляем затемняющий слой */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: auto; 
}

.hero-content .logo-container {
    transform: scale(1.3);
    margin-bottom: -10px; /* Добавляем отступ снизу */
}

.hero-content h1 {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    margin: 40px 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    opacity: 0;
    animation: fadeInTitle 1.5s ease-out 0.5s forwards;
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Удаляем стили для удаленного подзаголовка */
.hero-content .hero-subheading {
    display: none;
}

.hero-content .btn-primary {
    background-color: rgba(255, 255, 255, 0.3); /* Это важно для Chrome */
    background: rgba(255, 255, 255, 0.3); /* Полупрозрачный белый фон */
    color: #fff;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.7); /* Белая рамка */
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.3); /* Усиленная тень */
    text-decoration: none;
    backdrop-filter: blur(5px); /* Размытие фона под кнопкой */
    -webkit-backdrop-filter: blur(5px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); /* Тень для текста */
}

.hero-content .btn-primary:hover {
    background-color: var(--primary-color);
    background: var(--primary-color); /* Непрозрачный фон при наведении */
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05); /* Добавляем легкое увеличение */
    box-shadow: 0 8px 25px rgba(0, 178, 176, 0.4);
}

.hero-content .btn-primary:active {
    background-color: #009b99;
    background: #009b99;
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(0, 178, 176, 0.25);
}

/* Удаляем или переопределяем стили для hero-content p, если они конфликтуют */
.hero-content p:not(.hero-subheading) {
    /* Удаляем стили, которые применялись к старому <p> */
    font-family: initial;
    font-size: initial;
    color: initial;
    margin: initial;
    text-shadow: none;
    font-weight: initial;
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    .hero-content h1 {
        margin: 15px 0;
    }
    .hero-content .hero-subheading {
        margin: 0 0 30px;
    }
    .hero-content .btn-primary {
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
     .hero {
        min-height: 70vh;
    }
    .hero-content .btn-primary {
        padding: 12px 35px;
        font-size: 14px;
    }
} 