/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f2f2f2;
}

.third-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Главный баннер */
.third-hero {
    background: linear-gradient(135deg, #2f2f2f 0%, #333 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.third-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://static.tildacdn.com/tild6261-3863-4762-b539-353938666533/5uojr1etxon3x875nmnf.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    animation: third-hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes third-hero-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.third-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 47, 47, 0.85) 0%, rgba(51, 51, 51, 0.75) 100%);
    z-index: 1;
}

.third-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

.third-hero-content .third-hero-title {
    animation: third-fade-in-up 1s ease-out 0.3s forwards;
}

.third-hero-content .third-hero-subtitle {
    animation: third-fade-in-up 1s ease-out 0.6s forwards;
    opacity: 0;
}

.third-hero-content .third-hero-buttons {
    animation: third-fade-in-up 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes third-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.third-hero-title {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #fff;
}

.third-hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f2f2f2;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.third-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.third-btn {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.third-btn-primary {
    background-color: #cf6004;
    color: #fff;
    text-decoration: none !important;
}

.third-btn-primary:hover {
    background-color: #b55504;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 96, 4, 0.4);
}

.third-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    text-decoration: none !important;
}

.third-btn-secondary:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-2px);
}

/* Преимущества */
.third-advantages {
    padding: 80px 0;
    background-color: #fff;
}

.third-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    font-weight: bold;
}

.third-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.third-advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #f2f2f2;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.third-advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.third-advantage-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.third-advantage-text {
    color: #333;
    font-size: 16px;
}

/* Каталог продукции */
.third-products {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.third-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.third-product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.third-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.third-product-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.third-product-image::before {
    display: none;
}

.third-product-image::after {
    display: none;
}

/* Стеновые панели */
.third-product-image-wall {
    background: #f2f2f2;
}

.third-product-image-wall::after {
    display: none;
}

/* Кровельные панели */
.third-product-image-roof {
    background: #f2f2f2;
}

.third-product-image-roof::after {
    display: none;
}

/* Холодильные панели */
.third-product-image-cool {
    background: #f2f2f2;
}

.third-product-image-cool::after {
    display: none;
}

/* Фасадные панели */
.third-product-image-facade {
    background: #f2f2f2;
}

.third-product-image-facade::after {
    display: none;
}

/* Панели для ворот */
.third-product-image-gate {
    background: linear-gradient(135deg, #333 0%, #2f2f2f 100%);
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 60px,
            rgba(207, 96, 4, 0.3) 60px,
            rgba(207, 96, 4, 0.3) 61px);
}

.third-product-image-gate::after {
    background: linear-gradient(to right, #cf6004 0%, #b55504 100%);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    width: 70%;
    height: 50%;
}

/* Модульные панели */
.third-product-image-module {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 25px,
            rgba(255, 255, 255, 0.1) 25px,
            rgba(255, 255, 255, 0.1) 26px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 40px,
            rgba(207, 96, 4, 0.2) 40px,
            rgba(207, 96, 4, 0.2) 41px);
}

.third-product-image-module::after {
    background: linear-gradient(135deg, #fff 0%, #f2f2f2 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    border: 2px solid rgba(207, 96, 4, 0.3);
}

.third-product-placeholder {
    color: #f2f2f2;
    font-size: 18px;
    text-align: center;
}

.third-product-info {
    padding: 18px;
}

.third-product-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.third-product-description {
    color: #333;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.third-product-price {
    font-size: 22px;
    color: #cf6004;
    font-weight: bold;
    margin-bottom: 15px;
}

.third-product-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

/* Отзывы */
.third-reviews {
    padding: 80px 0;
    background-color: #fff;
}

.third-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.third-review-card {
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.third-review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    align-items: center;
}

.third-review-stars img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.third-review-text {
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.third-review-author {
    color: #2f2f2f;
    font-weight: bold;
}

/* Контакты */
.third-contact {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.third-contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.third-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.third-contact-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.third-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #cf6004;
}

.third-contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 12px;
    overflow: visible;
    background: #fff;
}

.third-contact-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.third-contact-icon-phone {
    background: #fff;
    border: 3px solid #cf6004;
}

.third-contact-icon-whatsapp {
    background: #fff;
    border: 3px solid #25D366;
}

.third-contact-icon-email {
    background: #fff;
    border: 3px solid #2f2f2f;
}

.third-contact-card:hover .third-contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(207, 96, 4, 0.4);
}

.third-contact-card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.third-contact-link {
    display: block;
    font-size: 18px;
    color: #cf6004;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    word-break: break-word;
}

.third-contact-link:hover {
    color: #b55504;
    transform: scale(1.05);
}

.third-contact-card-note {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.third-contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.third-contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.third-contact-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.third-contact-description {
    color: #333;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
}

.third-contact-item {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.8;
}

.third-contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #2f2f2f;
}

.third-contact-item a {
    color: #cf6004;
    text-decoration: none;
    transition: color 0.3s ease;
}

.third-contact-item a:hover {
    color: #333;
    text-decoration: underline;
}

.third-contact-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
    color: #333;
    line-height: 1.8;
    font-size: 15px;
}

/* О компании */
.third-about {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.third-about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.third-about-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Технические характеристики */
.third-tech {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.third-tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 40px;
}

.third-tech-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.third-tech-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.third-tech-text {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.third-tech-text a {
    color: #cf6004;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.third-tech-text a:hover {
    color: #b55504;
    text-decoration: underline;
}

/* Области применения */
.third-application {
    padding: 80px 0;
    background-color: #fff;
}

.third-application-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 40px;
}

.third-application-item {
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.third-application-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.third-application-text {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.third-application-text a {
    color: #cf6004;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.third-application-text a:hover {
    color: #b55504;
    text-decoration: underline;
}

/* Гарантии */
.third-guarantee {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.third-guarantee-content {
    max-width: 1200px;
    margin: 0 auto;
}

.third-guarantee-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Монтаж */
.third-installation {
    padding: 80px 0;
    background-color: #fff;
}

.third-installation-content {
    max-width: 1200px;
    margin: 0 auto;
}

.third-installation-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.third-products-intro {
    text-align: center;
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анимация появления элементов при скролле */
.third-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s ease !important;
}

.third-fade-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.6s ease !important;
}

.third-fade-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.6s ease !important;
}