/* ==========================================================================
   EIMA TEXTILE LANDING - PURE WHITE BESPOKE LUXURY ARCHITECTURE
   ========================================================================== */

/* Page Wrap & Container Constraints (Prevents 100% Stretch) */
.eima-page-root {
    background: #ffffff !important;
    width: 100%;
}
.eima-wrap {
    font-family: inherit;
    direction: rtl;
    text-align: right;
    color: #1e293b;
    line-height: 1.85;
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 10px 20px 90px 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Headings */
.eima-wrap h1, 
.eima-wrap h2, 
.eima-wrap h3, 
.eima-wrap h4 {
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #0f172a !important;
    margin-top: 0;
}

/* Vertical Rhythm between Sections */
.eima-section {
    margin-bottom: 80px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .eima-section {
        margin-bottom: 55px;
    }
}

/* ==========================================================================
   1. HERO SECTION - TWO EQUAL BALANCED COLUMNS
   ========================================================================== */
.eima-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
    width: 100%;
}
.eima-hero-layout {
    display: flex;
    flex-direction: row; /* In RTL: 1st child is on the RIGHT, 2nd child is on the LEFT */
    gap: 48px;
    align-items: center;
    width: 100%;
}
.eima-hero-text {
    flex: 1.1;
    min-width: 0;
}
.eima-hero-visual {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Hero Badge */
.eima-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.eima-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97706;
    display: inline-block;
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.6);
}
.eima-hero-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
    color: #0f172a !important;
}
.eima-hero-title span {
    color: #d97706;
}
.eima-hero-lead {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 30px;
}
.eima-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}
.eima-btn-primary {
    background: #0f172a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}
.eima-btn-primary:hover {
    background: #d97706;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
}
.eima-btn-secondary {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.eima-btn-secondary:hover {
    border-color: #0f172a;
    background: #f8fafc;
    transform: translateY(-2px);
}
.eima-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 22px;
}
.eima-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}
.eima-stat-label {
    font-size: 12px;
    color: #64748b;
    margin: 3px 0 0 0;
    font-weight: 500;
}

/* Hero Visual Composition (Filled Left Side) */
.eima-hero-media-wrapper {
    position: relative;
    width: 100%;
}
.eima-main-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16/11;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.1);
}
.eima-floating-top-pill {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 100px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.eima-pulse-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.eima-floating-subcard {
    position: absolute;
    bottom: -22px;
    left: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
    max-width: 320px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eima-floating-subcard:hover {
    transform: translateY(-3px);
    border-color: #d97706;
    box-shadow: 0 16px 32px -6px rgba(217, 119, 6, 0.18);
}
.eima-subcard-thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
}
.eima-subcard-info h5 {
    margin: 0 0 3px 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
}
.eima-subcard-info p {
    margin: 0;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   2. SECTION HEADERS
   ========================================================================== */
.eima-sec-head {
    margin-bottom: 36px;
}
.eima-sec-head.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.eima-sec-tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    color: #d97706;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.eima-sec-title {
    font-size: 27px;
    font-weight: 900;
    color: #0f172a !important;
    line-height: 1.4;
    margin: 0 0 10px 0;
}
.eima-sec-desc {
    font-size: 14.5px;
    color: #475569;
    margin: 0;
    line-height: 1.8;
}

/* ==========================================================================
   3. THREE PILLARS (CENTERED & BOXED)
   ========================================================================== */
.eima-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
.eima-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eima-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 24px -6px rgba(15, 23, 42, 0.06);
}
.eima-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.eima-pillar-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.eima-pillar-card p {
    font-size: 13.5px;
    color: #475569;
    margin: 0;
    line-height: 1.75;
}

/* ==========================================================================
   4. FABRIC MATERIALS (IMAGE-VALIDATED SWATCHES)
   ========================================================================== */
.eima-materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
}
.eima-mat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eima-mat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px -4px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
}
.eima-mat-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #f1f5f9;
}
.eima-mat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.eima-mat-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 6px 0;
}
.eima-mat-desc {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 14px;
}
.eima-mat-specs {
    font-size: 12px;
    color: #0f172a;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.eima-mat-specs svg {
    color: #10b981;
    flex-shrink: 0;
}
.eima-mat-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
.eima-mat-link:hover {
    color: #d97706;
}
.eima-mat-link svg {
    transition: transform 0.2s ease;
}
.eima-mat-link:hover svg {
    transform: translateX(-3px);
}

/* ==========================================================================
   5. VIDEO CONTAINER (BOXED & BALANCED)
   ========================================================================== */
.eima-video-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 44px;
    width: 100%;
    box-sizing: border-box;
}
.eima-video-grid {
    display: flex;
    flex-direction: row; /* Right: Text, Left: Video */
    gap: 40px;
    align-items: center;
}
.eima-video-info {
    flex: 1;
    min-width: 0;
}
.eima-video-box-wrap {
    flex: 1.15;
    min-width: 0;
}
.eima-video-info h3 {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a !important;
    line-height: 1.4;
    margin: 0 0 12px 0;
}
.eima-video-info p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 22px;
}
.eima-video-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.eima-video-meta svg {
    color: #d97706;
}
.eima-video-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.15);
    border: 1px solid #cbd5e1;
    aspect-ratio: 16/9;
}
.eima-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}
.eima-video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.4s ease;
}
.eima-video-box:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   5.1 COLOR TEST PROOFING SHOWCASE
   ========================================================================== */
.eima-colortest-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 44px;
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}
.eima-colortest-media {
    flex: 1.15;
    min-width: 0;
    position: relative;
}
.eima-colortest-media a {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}
.eima-colortest-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
    transition: transform 0.35s ease;
}
.eima-colortest-media:hover .eima-colortest-img {
    transform: scale(1.025);
}
.eima-colortest-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}
.eima-colortest-media:hover .eima-colortest-badge {
    background: #d97706;
}
.eima-colortest-info {
    flex: 1;
    min-width: 0;
}
.eima-colortest-info h3 {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a !important;
    line-height: 1.4;
    margin: 0 0 14px 0;
}
.eima-colortest-info p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 20px;
}
.eima-colortest-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.eima-colortest-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.6;
}
.eima-colortest-point svg {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 3px;
}
.eima-play-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}
.eima-play-trigger:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #d97706;
    color: #ffffff;
}
.eima-play-trigger svg {
    margin-right: -2px;
}

/* ==========================================================================
   6. WORKFLOW STEPS
   ========================================================================== */
.eima-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
}
.eima-step-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.eima-step-item:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
}
.eima-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.eima-step-badge {
    font-size: 11px;
    font-weight: 800;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.eima-step-item h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 6px 0;
}
.eima-step-item p {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.65;
}

/* ==========================================================================
   7. FAQ ACCORDION
   ========================================================================== */
.eima-faq-wrap {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}
.eima-faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}
.eima-faq-item:first-child {
    border-top: 1px solid #e2e8f0;
}
.eima-faq-item summary {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s ease;
}
.eima-faq-item summary::-webkit-details-marker {
    display: none;
}
.eima-faq-item summary:hover {
    color: #d97706;
}
.eima-faq-chevron {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.25s ease;
}
.eima-faq-item[open] .eima-faq-chevron {
    transform: rotate(180deg);
    color: #d97706;
}
.eima-faq-content {
    padding-top: 12px;
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

/* ==========================================================================
   8. WORKSHOP VISIT CARD (BOXED)
   ========================================================================== */
.eima-visit-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.eima-visit-info {
    flex: 1.2;
    min-width: 0;
}
.eima-visit-actions {
    flex: 0.9;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eima-visit-info h3 {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a !important;
    margin: 0 0 10px 0;
}
.eima-visit-info p {
    font-size: 14px;
    color: #475569;
    margin: 0 0 20px 0;
    line-height: 1.8;
}
.eima-visit-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eima-visit-item {
    font-size: 13.5px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.eima-visit-item svg {
    color: #d97706;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .eima-hero-layout,
    .eima-video-grid,
    .eima-colortest-box,
    .eima-visit-box {
        flex-direction: column;
        gap: 32px;
    }
    .eima-pillars-grid {
        grid-template-columns: 1fr;
    }
    .eima-materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eima-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eima-hero, .eima-video-container, .eima-colortest-box, .eima-visit-box {
        padding: 32px 20px;
    }
    .eima-hero-title {
        font-size: 27px;
    }
    .eima-floating-subcard {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .eima-materials-grid,
    .eima-steps-grid {
        grid-template-columns: 1fr;
    }
    .eima-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
