/* ========================================
   СТИЛИ СТРАНИЦЫ 3D-ПОТОЛКИ
   ======================================== */

/* Хлебные крошки поверх hero */
.breadcrumbs-on-hero {
    padding: calc(var(--header-height) + 12px) 0 0 !important;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border-bottom: none !important;
}
.breadcrumbs-on-hero .breadcrumbs a,
.breadcrumbs-on-hero .breadcrumbs span {
    color: rgba(255,255,255,0.7) !important;
}
.breadcrumbs-on-hero .breadcrumbs a:hover {
    color: var(--accent) !important;
}
.breadcrumbs-on-hero .breadcrumbs li::after {
    color: rgba(255,255,255,0.4) !important;
}

/* ========================================
   HERO
   ======================================== */

.hero-3d-solutions {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://arfa-zavod.ru/wp-content/uploads/2026/03/cassette-ceilings.png') center top / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #f9fafb;
    padding: 0 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-3d-solutions .hero-content {
    width: 100%;
    padding-top: calc(64px + 70px);
    padding-bottom: 40px;
    animation: fadeUp3d 1s ease-out;
}

@keyframes fadeUp3d {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-3d-solutions h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-3d-solutions h1 span {
    color: #ffc400;
    display: inline-block;
}

.hero-3d-solutions .min-order-badge {
    display: inline-flex;
    background: #ffc400;
    color: #000;
    padding: 12px 32px;
    border-radius: 40px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 1rem;
}

.hero-3d-solutions .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 800px;
    opacity: 0.95;
}

.hero-3d-solutions .hero-subtitle strong {
    color: #ffc400;
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 140px;
}

.hero-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffc400;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 4px;
}

.hero-3d-solutions .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-3d-solutions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background-color: #ffc400;
    color: #1e1e2f;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 196, 0, 0.2);
}

.hero-3d-solutions .btn-primary:hover {
    background-color: #e6b300;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 196, 0, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #ffc400;
    transform: translateY(-2px);
}

.hero-3d-solutions .partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-3d-solutions .partners span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-3d-solutions .tender-highlight {
    color: #a5b8d0;
}

.hero-3d-solutions .partner-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-3d-solutions .partner-logo {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.hero-3d-solutions .partner-logo:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-3d-solutions .partner-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero-3d-solutions .cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-3d-solutions .cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffc400;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-3d-solutions .cert-badge i {
    font-size: 1rem;
    color: #ffc400;
}

/* ========================================
   WHY CHOOSE (преимущества)
   ======================================== */

.why-choose-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.choose-item {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.choose-item i {
    font-size: 2.5rem;
    color: #ffc400;
    margin-bottom: 16px;
}

.choose-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.choose-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* ========================================
   SYSTEMS (WOODCUB, Hook-On, LAMILAR)
   ======================================== */

.systems-section {
    padding: 80px 0;
    background: #ffffff;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.system-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: 0.3s;
}

.system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #ffc400;
}

.system-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.system-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.system-card:hover .system-card-image img {
    transform: scale(1.08);
}

.system-card-body {
    padding: 24px;
}

.system-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 4px;
}

.system-subtitle {
    font-size: 0.9rem;
    color: #ffc400;
    font-weight: 600;
    margin-bottom: 16px;
}

.system-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.system-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.system-features li:last-child {
    border-bottom: none;
}

.system-application {
    font-size: 0.85rem;
    color: #5a6e8a;
    font-style: italic;
}

/* ========================================
   ACOUSTICS
   ======================================== */

.acoustics-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.acoustics-content {
    margin-top: 40px;
}

.acoustics-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
    max-width: 800px;
}

.acoustics-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    max-width: 600px;
}

.acoustics-table th {
    background: #1e1e2f;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9rem;
}

.acoustics-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #475569;
}

.acoustics-table tr:nth-child(even) td {
    background: #f9fafb;
}

.acoustics-action {
    margin-top: 16px;
}

/* ========================================
   BIM
   ======================================== */

.bim-section {
    padding: 80px 0;
    background: #ffffff;
}

.bim-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.bim-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.bim-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.bim-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.bim-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffc400;
    margin-right: 10px;
}

.bim-preview img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    background: #1e1e2f;
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
}

.comparison-table th:first-child {
    border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #475569;
}

.comparison-table tr:nth-child(even) td {
    background: #f9fafb;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1a1a1a;
}

.comparison-cta {
    margin-top: 40px;
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.comparison-cta p {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ========================================
   FAQ
   ======================================== */

.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    transition: 0.2s;
}

.faq-question:hover {
    background: #f0f1f3;
}

.faq-question i {
    transition: transform 0.3s;
    color: #ffc400;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.faq-answer a {
    color: #ffc400;
    font-weight: 600;
}

/* ========================================
   SECTION TITLE (общий)
   ======================================== */

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #1a1a1a;
}

/* ========================================
   ADAPTIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-3d-solutions {
        min-height: auto;
    }
    .hero-stats {
        gap: 16px;
    }
    .hero-stat {
        min-width: 100px;
        padding: 12px 16px;
    }
    .hero-3d-solutions .hero-features {
        grid-template-columns: 1fr;
    }
    .hero-3d-solutions .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-3d-solutions .partners {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .bim-content {
        grid-template-columns: 1fr;
    }
    .bim-preview {
        order: -1;
    }
    .systems-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-3d-solutions .partner-logo img {
        height: 28px;
    }
    .hero-stat {
        min-width: 80px;
        padding: 10px 12px;
    }
    .hero-stat-value {
        font-size: 1.1rem;
    }
}