/* Липкая шапка для десктопа */
#masthead,
.ast-primary-header-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

/* Убираем лишнюю тень/эффекты на мобильных */
.ast-primary-header-bar {
    background: #fff !important;
}

/* Смещаем контент вниз, чтобы шапка не перекрывала содержимое */
.site-content {
    margin-top: 80px !important;
}

/* Для админ-панели WordPress */
body.admin-bar #masthead,
body.admin-bar .ast-primary-header-bar {
    top: 32px !important;
}

body.admin-bar .site-content {
    margin-top: 81px !important;
}

/* Для мобильных устройств — отключаем липкость */
@media (max-width: 768px) {
    #masthead,
    .ast-primary-header-bar {
        position: static !important;
        top: auto !important;
        box-shadow: none !important;
    }

    .site-content {
        margin-top: 0 !important;
    }
}

/* Пагинация */
.pagination {
	margin-top: 60px;
}

.pagination a,
.pagination span {
	padding: 8px 12px;
	margin: 0 4px;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	text-decoration: none;
	color: #495057;
}

.pagination a:hover {
	background: #007cba;
	color: white;
}

.pagination .current {
	background: #007cba;
	color: white;
	border-color: #007cba;
}


/* Основной контейнер слайдера (Swiper) */
.slide-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Обёртка для слайдов (Swiper Wrapper) */
.swiper-wrapper {
    width: 100%;
    height: 100%;
}

/* Слайд */
.slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Фоновое изображение */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Контент слайда */
.slide-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.slide-content h3 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px #ffffff;
}

.slide-excerpt {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s;
}

.slide-button:hover {
    background: #005177;
}

/* Навигация Swiper */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Контейнер партнёров */
.partners-slider {
    background: #000;
    padding: 30px 0;
    overflow: hidden;
}

/* Контейнер для картинок */
.partners-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Элемент с картинкой */
.partner-item {
    flex: 0 0 auto;
    width: calc(25% - 20px);
    text-align: center;
}

/* Картинка */
.partner-item img {
    max-width: 75px;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(0%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .partner-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .partner-item {
        width: 100%;
    }
}

/* Секция О компании */
.about-section-wrapper {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Контейнер (ограничивает ширину контента) */
.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Flexbox-контейнер для колонок (строка) */
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-column {
  flex: 1;
  min-width: 300px;
}

/* Изображение */
.about-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Скрываем элементы по умолчанию */
.animate-fadeInUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Показываем при добавлении класса .visible */
.animate-fadeInUp.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Задержка для плавного появления */
.about-image-column {
  transition-delay: 0.2s;
}
.about-text-column {
  transition-delay: 0.4s;
}


/* Стиль для текстовой колонки (отступ слева) */
.about-text-column {
  padding-left: 30px;
}

/* Feature-блоки (2 колонки внутри текстовой) */
.feature-row {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.feature-column {
  flex: 1;
}

.tag-line {
  color: #046BD2;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

 /* Секция преимущества */
        .advantages-section {
            position: relative;
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* Фоновое изображение */
        .advantages-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 60%;
            background: url('https://limaceramica.ru/wp-content/uploads/2026/03/preimushhestva.webp') center/cover no-repeat;
            z-index: 1;
        }

        /* Контейнер для контента */
        .advantages-content {
            position: relative;
            width: 100%;
            min-height: 100vh;
            padding: 100px 40px 80px;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* Контейнер с ограничением ширины */
        .content-container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        /* Заголовок секции */
        .advantages-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 30px;
            color: white;
            text-align: left;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }

	.advantages-section .section-title h2 {
	    text-align: center;
	}

        /* Линия под заголовком */
        .title-line {
            width: 60px;
            height: 4px;
            background: #007bff;
            margin-bottom: 50px;
        }

        /* Контейнер для карточек */
        .advantages-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: space-between;
            margin-top: auto;
        }

        /* Карточка преимущества */
        .advantage-card {
            flex: 0 0 calc(33.333% - 30px);
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

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

        /* Иконка карточки */
        .card-icon {
            font-size: 2rem;
            color: #007bff;
            margin-bottom: 20px;
        }

        /* Заголовок карточки */
        .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }

        /* Текст карточки */
        .card-text {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        /* Кнопка "Узнать больше" */
        .card-link {
            display: inline-flex;
            align-items: center;
            color: #007bff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .card-link:hover {
            color: #0056b3;
        }

        .card-link i {
            margin-left: 8px;
            font-size: 0.9rem;
        }

        /* Анимация */
        .wow {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease-out;
        }

        .wow.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .advantages-bg {
                height: 50%;
            }

            .advantages-content {
                padding: 80px 20px 60px;
            }

            .advantage-card {
                flex: 0 0 calc(50% - 30px);
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }

            .advantage-card {
                flex: 0 0 100%;
            }
        }
@media (max-width: 768px) {
  .about-row {
    flex-direction: row;
  }
  .about-column {
    min-width: 200px;
  }
}


        /* Секция каталога */
        .catalog-section {
            background-color: #f8f9fa;
            padding: 80px 0;
        }

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

        /* Заголовок секции */
        .catalog-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: #212529;
            text-align: center;
        }

        .catalog-section .title-line {
            width: 60px;
            height: 4px;
            background: #007bff;
            margin: 0 auto 50px;
        }

        /* Сетка товаров */
        .catalog-section .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .catalog-section .product-item {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .catalog-section .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .catalog-section .image-wrapper {
            display: flex;
            height: 250px;
            background: #f8f9fa;
            text-align: center;
        }

        .catalog-section .product-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            margin: 0 auto;
            transition: transform 0.4s ease;
        }

        .catalog-section .product-item:hover .product-image {
            transform: scale(1.05);
        }

        .catalog-section .no-image {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-style: italic;
        }

        .catalog-section .product-title {
            padding: 15px 20px 20px;
            font-size: 1.1rem;
            font-weight: 600;
            color: #212529;
            text-align: center;
        }

        .catalog-section .product-title a {
            color: inherit;
            text-decoration: none;
            display: block;
        }

        .catalog-section .product-title a:hover {
            color: #007bff;
        }

        /* Кнопка "Узнать больше" */
        .catalog-section .catalog-btn {
            display: block;
            width: 200px;
            margin: 50px auto 0;
            padding: 15px 25px;
            background: #007bff;
            color: white;
            text-align: center;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .catalog-section .catalog-btn:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .catalog-section .products-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 25px;
            }

            .catalog-section .section-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .catalog-section .products-grid {
                grid-template-columns: 1fr;
            }

            .catalog-section {
                padding: 60px 0;
            }
        }

/* Контейнер карусели */
.section-heading.center-heading {
    text-align: center;
    margin-bottom: 60px;
    opacity: 1 !important; /* Убираем анимацию всего заголовка */
    transform: none !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.line-on-center {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 20px auto;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    animation: lineReveal 0.8s forwards;
    animation-delay: 2.5s;
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.corporate-area{overflow:hidden;padding:0 0 60px}
.corporate-carousel{cursor:grab}
.corporate-carousel .swiper-slide{position:relative;overflow:hidden}
.corporate-area{ display:flex }
.corporate-carousel{ width:100%;height: 320px; } 

/* Картинка */
.corporate-carousel .slide-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .4s ease}

/* Подпись (скрыта) */
.slide-caption{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);color:#fff;padding:20px 30px;transform:translateY(100%);transition:transform .4s ease}
.slide-caption h3{font-size:1.4rem;margin:0;color:#fff}

/* Эффект наведения */
.corporate-carousel .swiper-slide:hover .slide-image img{transform:scale(1.08);filter:brightness(.7)}
.corporate-carousel .swiper-slide:hover .slide-caption{transform:translateY(0)}

/* Навигация */
.corporate-carousel .swiper-button-next,
.corporate-carousel .swiper-button-prev{color:#fff;background:rgba(0,0,0,.4);width:44px;height:44px;border-radius:50%}
.corporate-carousel .swiper-button-next:after,
.corporate-carousel .swiper-button-prev:after{font-size:20px}

.corporate-carousel .swiper-pagination{display:none}

@media (max-width:768px){
  .corporate-carousel .swiper-slide{width:100%!important}
}




/* Общие стили футера */
.page-footer {
	background: #1a1a1a;
	color: #fff;
	padding-top: 40px;
	padding-bottom: 20px;
}

.page-footer .container {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-cols {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.footer-col {
	padding: 0 15px;
	margin-bottom: 30px;
}

.footer-col-title {
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: 18px;
	font-weight: 600;
}

.footer-text-about-us {
	color: #ccc;
	line-height: 1.6;
	margin-bottom: 20px;
}

.social-icons .sc-list {
	display: flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.social-icons .sc-link {
	color: #fff;
	font-size: 1.3rem;
	transition: color 0.3s;
}

.social-icons .sc-link:hover {
	color: #00a8ff;
}

.contact-info-card {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	color: #ccc;
}

.contact-info-card i {
	color: #00a8ff;
	margin-right: 10px;
	width: 20px;
	text-align: center;
}

.contact-info-card a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-info-card a:hover {
	color: #00a8ff;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu-item {
	margin-bottom: 10px;
}

.footer-menu-link {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-menu-link:hover {
	color: #00a8ff;
}

.credits {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #333;
	color: #888;
	font-size: 0.9rem;
	text-align: center;
}

.copyrights {
	text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
	.footer-cols {
		flex-direction: column;
	}
	.footer-col {
		padding: 0 20px;
	}
	.footer-col-title {
		font-size: 1.3rem;
	}
	.social-icons .sc-list {
		justify-content: center;
	}
}
