/* ========================================
   SOLUTIONS PAGES - COMMON STYLES
   Shared styles for all solution pages (construction, waste, etc.)
   ======================================== */

/* === SHARED UI ELEMENTS === */
.interface-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === LAYOUT 1: CENTERED HERO === */
.layout-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
    min-height: 80vh;
    animation: fadeUp 0.8s ease-out;
}

.layout-centered .hero-content {
    max-width: 1200px;
}

.layout-centered .btn-group {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 500px;
    margin: auto;
}

.layout-centered h1 {
    font-family: var(--font-head);
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    color: var(--color-text-sub);
}

.layout-centered h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background: linear-gradient(135deg, #6EAA5E, #3F4F5E);
    background: var(--color-primary);
    /* background: #3F4F5E; */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.layout-centered p {
    font-size: 1.4rem;
    color: var(--color-text-sub);
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

/* === SECTION: COMPLIANCE === */
.section-compliance {
    position: relative;
    z-index: 20;
    background: #FFF;
    padding: 100px 60px;
    display: flex;
    justify-content: center;
}

.compliance-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.compliance-text h2 {
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--color-text-main);
    margin-bottom: 40px;
    line-height: 1.2;

    a {
        text-decoration: none;
    }
}

@media (max-width: 768px) {
   .compliance-text h2{
    font-size: 1.8rem;
   }

}

.compliance-text h2 span {
    color: var(--color-primary);
}

.subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.compliance-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-sub);
    margin-bottom: 32px;
}

.compliance-doc-title {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 18px;
}

.compliance-sub-header {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 32px;
    margin-bottom: 20px;
}

.compliance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compliance-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 16px;
    color: var(--color-text-main);
}

.list-icon {
    min-width: 24px;
    height: 24px;
    background: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 12px;
    margin-top: 2px;
}

.compliance-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
    background: var(--color-bg-grey);
}

.compliance-image img {
    width: 100%;
    display: block;
    height: 650px;
    object-fit: cover;
}

@media (max-width: 1024px) {
.compliance-image img {
    height: auto;
    object-fit: auto;
}
}

.compliance-item-title {
    display: block;
    margin-bottom: 4px;
}

.compliance-item-desc {
    display: block;
    color: var(--color-text-sub);
}

/* SERVICES SECTION (2x2 Grid Variant) */
.section-services {
    padding: 100px 20px;
    width: 100%;
    max-width: 100%;
}

.cta-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Center Content */
.section-services h2,
.services-grid,
.section-services>div {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.section-services h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-services h2 span {
    color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-image {
    width: 100%;
    height: 220px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, var(--color-bg-grey) 0%, transparent 70%);
    border-radius: 16px;
}

.service-image img {
    min-height: 220px;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-image img {
    transform: scale(1.08) translateY(-5px);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

@media (max-width: 768x) {
   
    .service-title {
        font-size: 18px;
    }
}

.service-description {
    font-size: 16px;
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* PRODUCTS SECTION */
.section-products {
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.section-products h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text-main);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform 0.3s;
    min-height: 450px;
}



.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.product-visual {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at center, var(--color-bg-grey) 0%, var(--color-bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    align-self: stretch;
    min-height: 450px;
}

.product-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    padding: 32px;
    box-sizing: border-box;
}

.product-info {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.product-subtitle {
    font-size: 15px;
    color: var(--color-text-sub);
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 45px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-text-main);
    line-height: 1.5;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px 20px;
    padding-top: 24px;
    border-top: 1px solid var(--color-bg-light);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-bg-grey);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 16px 12px 12px;
    gap: 4px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.spec-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.spec-item svg {
    flex-shrink: 0;
    margin-bottom: 6px !important;
}

.spec-item span {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-main);
    line-height: 1.2;
}

.spec-item small {
    font-size: 10px;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* PLATFORM SECTION */
.section-platform {
    padding: 80px 20px;
    background: var(--color-bg-light);
}

.platform-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.platform-text h2 {
    font-size: 40px;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.platform-text h2 span {
    color: var(--color-primary);
}

.platform-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-sub);
    margin-bottom: 40px;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.platform-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    min-width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.platform-feature h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 6px 0;
}

.platform-feature p {
    font-size: 15px;
    color: var(--color-text-sub);
    margin: 0;
    line-height: 1.5;
}

.platform-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /* box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
    background: #FFFFFF; */
}

.platform-visual img {
    width: 100%;
    display: block;
}

/* Content Cards (for Products/Parameters) */
.products-content-card,
.parameters-content-card {
    background: #FFFFFF;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}


/* SUPPORT SECTION */
.section-support {
    margin-bottom: -2px;
    padding: 100px 20px;
    background: transparent;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.section-support h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text-main);
    line-height: 1.2;
}

.section-support h2 span {
    color: var(--color-primary);
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: -40px auto 60px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-sub);
}

.support-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.support-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.06);
}

.card-image {
    margin-bottom: 24px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
    object-fit: cover;
}

.card-image img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s;
    transform: scale(1.1);
    transform-origin: left center;
}

.support-card:hover .card-image img {
    transform: scale(1.2) translateY(-5px);
}

.support-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-main);
    line-height: 1.3;
}

.support-card p {
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* PROJECTS SECTION */
.section-projects {
    padding: 100px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #FFFFFF;
}

/* Center Content inside full-width section */
.section-projects h2,
.section-projects .section-desc,
.projects-grid,
.section-projects>div {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-projects h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--color-text-main);
    padding-top: 40px;
}

.section-projects .section-desc {
    margin-top: 0;
    margin-bottom: 60px;
    text-align: center;
    color: var(--color-text-sub);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
    margin-top: 60px;
    grid-auto-flow: dense;
}

.project-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-item:hover img {
    transform: scale(1.05);
}

/* Specific Sizes for Masonry Feel */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}
.item-large-1 {
    grid-column: span 2;
    grid-row: span 3;
}

.item-wide {
    grid-column: span 2;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    opacity: 1;
}

.project-overlay span {
    color: #FFF;
    font-weight: 600;
    font-size: 16px;
}

/* CONTACT SECTION */
.section-contact {
    padding: 100px 20px 140px;
    background: var(--color-bg-light);
}

/* RESPONSIVE & MOBILE ADAPTATION */
@media (max-width: 1024px) {
    .compliance-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .platform-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .layout-centered h1 {
        font-size: 4rem;
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 16px;
    }

    .item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .item-large-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .item-wide {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-services {
        padding: 60px 20px;
    }

    .service-card {
        padding: 24px;
    }

    .section-services h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

    .products-content-card,
    .parameters-content-card {
        padding: 40px 0px;
    }

    .products-content-card .product-card {
        border-radius: 0;
    }

    .section-products {
        margin-bottom: -1px;
    }

    /* Hero Section Mobile */
    .layout-centered {
        padding: 140px 20px 80px;
        min-height: auto;
    }

    .layout-centered h1 {
        font-size: 2.0rem;
        margin-bottom: 24px;
    }

    .layout-centered p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn-group button {
        width: 100%;
        padding: 16px;
    }

    /* Sections General Mobile */
    /* .section-products,
    .section-support,
    .section-projects,
    .section-contact {
        padding: 60px 00px;
    } */

    .section-compliance {
        padding: 60px 20px;
    }

    .section-services h2,
    .section-products h2,
    .section-support h2,
    .section-projects h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* Grids to Single Column */
    .services-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    /* Products - vertical layout on mobile */
    .product-card,
    .product-card:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }

    .product-visual {
        min-height: 340px;
        width: 100%;
        position: relative;
    }

    .product-info {
        padding: 32px 24px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 12px;
        margin-top: 32px;
    }

    .item-large,
    .item-large-1,
    .item-wide {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 640px) {
    .section-products {
        padding: 40px 20px;
    }

    .projects-grid {
        grid-auto-rows: 130px;
        gap: 10px;
        padding: 0 16px;
    }

    .item-large,
    .item-large-1,
    .item-wide {
        grid-row: span 2;
        grid-column: span 2;
    }
}