/* Products Listing — Listados de empresas españolas */
/* Figma: node 998:42313 */

/* ============================================================
   ROOT SCOPE
   ============================================================ */
.section-products-listing {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: clip;
}

/* ============================================================
   HERO — full bleed, 1440×536px
   Figma: bg image + var(--skin-darkblue-500) overlay 0.5
   H1: Manrope Bold 65px var(--skin-white-500) CENTER
   Subtitle: Inter Regular 20px var(--skin-white-500) CENTER
   ============================================================ */
.listing-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 536px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-hero__bg {
    position: absolute;
    inset: 0;
    background: url('/cdn/sections/products/listing/images/hero-bg.webp') center center / cover no-repeat;
    background-color: var(--skin-darkblue-500);
}

.listing-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--skin-darkblue-500);
    opacity: 0.5;
}

.listing-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.listing-hero__title {
    font-family: var(--skin-font-display);
    font-size: 65px;
    font-weight: 700;
    line-height: 1.338;
    color: var(--skin-white-500);
    text-align: center;
    margin: 0;
    max-width: 1132px;
}

.listing-hero__subtitle {
    font-family: var(--skin-font-secondary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--skin-white-500);
    text-align: center;
    margin: 0;
    max-width: 932px;
}

/* ============================================================
   OFFICIAL DATA SECTION — bg #F9FAFB, full-bleed
   ============================================================ */
.listing-official {
    background: #ffffff;
    width: 100%;
}

/* ============================================================
   FAQ / CATEGORIES ACCORDION
   Figma: padding 96px 80px
   Left col: 503px (title + subtitle)
   Right col: 681px, each item padding 25px 0
   Item bg: #F2F9FF, border: 1px solid var(--skin-white-500), radius 8px
   Label: Manrope 16px/600 var(--skin-dark-900)
   ============================================================ */
.listing-faq {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 80px;
    display: flex;
    gap: 96px;
    align-items: flex-start;
}

.listing-faq__left {
    width: 503px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.listing-faq__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--skin-dark-900);
    margin: 0;
}

.listing-faq__subtitle {
    font-family: var(--skin-font-secondary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--skin-text-muted);
    margin: 0;
}

.listing-faq__list {
    width: 681px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.listing-faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 25px 0;
    border-bottom: 1px solid var(--skin-white-500);
    text-decoration: none;
    cursor: pointer;
}

.listing-faq-item:hover .listing-faq-item__label {
    color: var(--skin-brand-navy);
}

.listing-faq-item:hover .listing-faq-item__icon {
    color: var(--skin-brand-navy);
}

.listing-faq-item__label {
    font-family: var(--skin-font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.625;
    color: var(--skin-dark-900);
    flex: 1;
    transition: color 0.15s;
}

.listing-faq-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--skin-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

/* ============================================================
   CONTENT CARDS — padding 80px 0
   Figma 998:42143: [card 585×450 p32px bg#F9F9F9] + [image 585px]
   ============================================================ */
.listing-content-cards {
    padding: 80px 0;
}

.listing-content-cards__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.listing-content-cards__row {
    display: flex;
    align-items: stretch;
    gap: 48px;
    justify-content: center;
}

.listing-content-card {
    width: 585px;
    min-height: 450px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background: #f9f9f9;
    border-radius: 12px;
}

.listing-content-card__title {
    font-family: var(--skin-font-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.344;
    color: var(--skin-dark-900);
    margin: 0;
}

.listing-content-card__body {
    font-family: var(--skin-font-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--skin-text-muted);
    margin: 0;
    max-width: 520px;
}

.listing-content-card__image {
    width: 585px;
    min-height: 450px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e0e4f4 center / cover no-repeat;
}

.listing-content-card__image--accurate {
    background-image: url('/cdn/sections/products/listing/images/card-accurate.png');
}

.listing-content-card__image--free {
    background-image: url('/cdn/sections/products/listing/images/card-free.png');
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .listing-faq {
        padding: 80px 40px;
        gap: 60px;
    }

    .listing-content-cards__inner {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .listing-faq {
        flex-direction: column;
        gap: 40px;
    }

    .listing-faq__left {
        width: 100%;
    }

    .listing-content-cards__row {
        flex-direction: column;
        align-items: stretch;
    }

    .listing-content-card,
    .listing-content-card__image {
        width: 100%;
    }

    .listing-hero__title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .listing-hero {
        height: auto;
        min-height: 320px;
        padding: 60px 0 40px;
    }

    .listing-hero__inner {
        padding: 0 16px;
    }

    .listing-hero__title {
        font-size: 36px;
        line-height: 1.25;
    }

    .listing-hero__subtitle {
        font-size: 16px;
    }

    .listing-faq {
        padding: 48px 16px;
        gap: 32px;
    }

    .listing-faq__title {
        font-size: 28px;
    }

    .listing-content-cards {
        padding: 40px 0;
    }

    .listing-content-cards__inner {
        padding: 0 16px;
        gap: 32px;
    }

    .listing-content-card {
        width: 100%;
        min-height: auto;
        padding: 24px;
    }

    .listing-content-card__image {
        width: 100%;
        min-height: 240px;
    }

    .listing-content-card__title {
        font-size: 24px;
    }
}
