/* ============================================
   CROSS-PROMO SECTION
   Bright/light theme — sits above the dark footer
   Used on: LED catalog, LED product detail, Store Design pages
   ============================================ */

.cross-promo {
    padding: 80px 0 100px;
    background: #faf8f5;
    position: relative;
    overflow: hidden;
}

/* Subtle warm dot-grid texture */
.cross-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(176,141,104,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.cross-promo__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ─── */
.cross-promo__header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cross-promo__eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #b08d68;
    margin-bottom: 16px;
}

/* Large serif heading — matches screenshot scale */
.cross-promo__title {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.18;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

/* SEO subtitle — readable paragraph width, centered */
.cross-promo__subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
}

/* ─── Cards grid ───────────────────────────────────────────────
   grid-auto-rows: 400px — single source of truth for height.
   Both columns share the same row, always pixel-identical.
   ─────────────────────────────────────────────────────────── */
.cross-promo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 400px;
    gap: 20px;
    align-items: stretch;
}

/* Individual card */
.cross-promo__card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    background: #e8e4de;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateZ(0);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s ease;
}

.cross-promo__card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

/* Background image */
.cross-promo__card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cross-promo__card:hover .cross-promo__card-bg {
    transform: scale(1.06);
}

/* Gradient overlay — bottom-heavy for legibility */
.cross-promo__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.50) 40%,
        rgba(0,0,0,0.15) 70%,
        transparent 100%
    );
    transition: opacity 0.4s ease;
}

.cross-promo__card:hover .cross-promo__card-overlay {
    opacity: 0.9;
}

/* Gold accent bar */
.cross-promo__card-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #b08d68, #d4b483);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.cross-promo__card:hover .cross-promo__card-accent {
    width: 100%;
}

/* Text content */
.cross-promo__card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 30px;
    z-index: 2;
}

.cross-promo__card-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f0d9a8;
    background: rgba(176, 141, 104, 0.25);
    border: 1px solid rgba(240, 217, 168, 0.4);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
    transition: background 0.3s, border-color 0.3s;
}

.cross-promo__card:hover .cross-promo__card-tag {
    background: rgba(176, 141, 104, 0.38);
    border-color: rgba(240, 217, 168, 0.65);
}

/* Card title — uppercase bold, matching screenshot */
.cross-promo__card-title {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Description — hidden, reveals on hover */
.cross-promo__card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 340px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease 0.05s;
}

.cross-promo__card:hover .cross-promo__card-desc {
    max-height: 80px;
    opacity: 1;
}

/* CTA arrow */
.cross-promo__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4b483;
    transition: gap 0.3s ease, color 0.3s ease;
}

.cross-promo__card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.cross-promo__card:hover .cross-promo__card-cta {
    gap: 13px;
    color: #f0d9a8;
}

.cross-promo__card:hover .cross-promo__card-cta svg {
    transform: translateX(4px);
}

/* ─── Divider ─── */
.cross-promo__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.cross-promo__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176,141,104,0.35), transparent);
}

.cross-promo__divider-diamond {
    width: 6px;
    height: 6px;
    background: #b08d68;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .cross-promo {
        padding: 60px 0 72px;
    }

    .cross-promo__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
        gap: 16px;
    }

    .cross-promo__card-desc {
        max-height: 80px;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .cross-promo__header {
        margin-bottom: 32px;
    }

    .cross-promo__grid {
        grid-auto-rows: 240px;
    }

    .cross-promo__card-body {
        padding: 18px 20px 22px;
    }

    .cross-promo__subtitle {
        font-size: 0.88rem;
    }
}