/* === EQUIPMENT PAGE STYLES === */

/* --- HERO SECTION --- */
.equipment-hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
    background-color: var(--color-bg-grey);
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.equipment-hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badges-industrial {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.hero-visual-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.blob-orange {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-img-equipment {
    width: 100%;
    max-width: 500px;
    display: block;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s;
}

/* --- TECH SPECS SECTION --- */
.section-specs {
    padding: 120px 20px;
    background: #FFF;
}

.specs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.specs-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    color: var(--color-text-main);
}

.specs-table-wrapper {
    position: relative;
    z-index: 2;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-header-row {
    background: var(--color-bg-grey);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-sub);
    font-size: 14px;
}

.specs-th {
    text-align: left;
    padding: 20px;
    font-weight: 600;
}

.specs-row {
    border-bottom: 1px solid var(--color-bg-light);
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-label {
    padding: 20px;
    font-weight: 600;
    color: var(--color-text-main);
    width: 30%;
}

.specs-val {
    padding: 20px;
    color: var(--color-text-main);
}

.link-download {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted currentColor;
}

.link-download:hover {
    border-bottom-style: solid;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .equipment-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badges-industrial {
        justify-content: center;
    }

    .hero-visual-center {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {

    .equipment-hero-section,
    .section-specs {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .equipment-hero-section {
        padding-top: 120px;
        /* Header offset */
    }

    /* Mobile Table: Stack header visually or scroll? Scroll is safer for comparison tables. */
    .specs-table-wrapper {
        overflow-x: auto;
    }

    .specs-table {
        min-width: 600px;
        /* Force scroll on small screens */
    }
}

/* ========================================
   APPLICATION AREAS + GALLERY SECTION
   ======================================== */
.section-application {
    padding: 100px 20px;
    background: var(--color-bg-grey);
    border-top: 1px solid var(--color-border);
}

.application-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

/* --- Application Info --- */
.application-info h2,
.application-gallery h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 32px 0;
    font-family: var(--font-head);
    letter-spacing: -0.02em;
}

.application-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-main);
    line-height: 1.55;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px 20px;
}

.application-list li svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.application-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
}

.application-note svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.application-note p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* --- Device Gallery Grid --- */
.device-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.gallery-main {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .application-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section-application {
        padding: 60px 20px;
    }

    .device-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item.gallery-main {
        grid-column: span 2;
        grid-row: span 1;
    }
}