/* ============================================================
   FloreData — Section 7 INDUSTRIES
   Spec: floredata/design/specs/landing-section7.md
   ============================================================ */

.fd-section--industries {
    background: var(--wp--preset--color--background);
    padding: 19px 0 0;                          /* full-bleed band — no side padding (call 2026-06-17) */
}

.fd-industries__band {
    position: relative;
    max-width: none;                            /* full-bleed banner edge-to-edge */
    margin: 0 auto;
    min-height: 720px;                          /* .ai band h (trimmed) */
    border-radius: 0;                           /* straight banner */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;                    /* centre content vertically → equal top/bottom space (Sandro 2026-06-28: bottom gap was larger than top) */
    text-align: center;
    padding: 64px 40px;                         /* symmetric (was 99 top / 0 bottom) */
}

/* --- Eyebrow (transparent + Punchy outline) --------------------------- */

.fd-eyebrow--industries {
    display: inline-flex;
    align-items: center;
    gap: 12px;                                  /* badge→text 12 (.ai) */
    padding: 6px 21px 6px 8px;                  /* chip 164×38 (.ai vector) */
    background: transparent;
    border: 1.5px solid var(--wp--preset--color--punchy);
    color: var(--wp--preset--color--punchy);
    border-radius: 999px;
    font-family: var(--wp--preset--font-family--satoshi);
    font-weight: 700;
    font-size: 0.95rem;                         /* 15.2px (.ai) */
    letter-spacing: 0.06em;
    line-height: 1;
    margin: 0;
}

.fd-eyebrow--industries .fd-eyebrow__badge {
    background: var(--wp--preset--color--punchy);
    border-radius: 8px;
    width: 31px;                                /* .ai badge 31×23 */
    height: 23px;
    display: inline-grid;
    place-items: center;
    flex: none;
}

.fd-eyebrow--industries .fd-eyebrow__badge svg {
    width: 18px;                                /* .ai icon 14×18 (glyph in square viewBox) */
    height: 18px;
    display: block;
    fill: #29605c;                              /* about.css sets currentColor → would go Punchy */
    color: #29605c;
}

/* --- Heading ------------------------------------------------------------ */

.fd-industries__heading {
    font-family: var(--wp--preset--font-family--satoshi);
    font-size: clamp(2.6rem, 1.2rem + 4.3vw, 5.97rem);    /* 95.5px @1920 */
    line-height: 1.005;                         /* .ai leading 96 */
    color: var(--wp--preset--color--punchy);
    text-shadow: 0 2px 18px rgba(40, 40, 57, 0.55);   /* legibility floor on the variable floral bg → lime headline clears 3:1 over the pale regions (audit 2026-06-28) */
    margin: 33px 0 0;
}

.fd-industries__heading em {
    font-weight: 700;
    font-style: italic;                         /* whole heading BoldItalic (.ai) */
}

/* --- Industry pills -------------------------------------------------------- */

.fd-industries__pills {
    list-style: none;
    margin: 38px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 10px;                             /* .ai: row gap 13, pill gap 9-10 */
    max-width: 830px;                           /* forces the 3+2 wrap */
}

.fd-industries__pills li {
    display: inline-flex;
    background: var(--wp--preset--color--bloom);
    color: var(--wp--preset--color--primary);
    border-radius: 999px;
    white-space: nowrap;
}

/* whole pill is a link to the industry detail page (Riccardo 2026-06-30) — sizing/
   padding live on the anchor so the entire pill is clickable; look unchanged. */
.fd-industries__pills li a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 44px;                               /* .ai pill h */
    padding: 0 16px;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.17rem;                         /* 18.7px */
    line-height: 1;
    transition: opacity 0.15s ease;
}
.fd-industries__pills li a:hover { opacity: 0.82; }
.fd-industries__pills li a:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }

.fd-industry-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary);
    flex: none;
}

/* --- CTA --------------------------------------------------------------------- */

.fd-industries__cta {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    margin: 57px auto 0;
    background: var(--wp--preset--color--surface-dark);
    color: #F6F6F6;
    border-radius: 999px;
    padding: 10px 10px 10px 24px;               /* .ai 211×44 */
    font-weight: 700;
    font-style: italic;
    font-size: 1.3rem;                          /* 20.8px */
    line-height: 1;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* explicit hover — GP a:hover trap (lesson #12) */
.fd-industries__cta:hover {
    transform: translateY(-2px);
    background: var(--wp--preset--color--primary);
    color: #F6F6F6;
}

.fd-industries__cta .fd-btn-arrow {
    width: 31px;
    height: 24px;
    flex: none;
}

/* --- Responsive ----------------------------------------------------------------- */

@media (max-width: 1100px) {
    .fd-industries__band {
        border-radius: 0;
        min-height: 0;
        padding: 64px 32px 72px;
    }

    .fd-industries__pills { max-width: 640px; }
}

@media (max-width: 640px) {
    .fd-section--industries { padding: 16px 0 0; }

    .fd-industries__band {
        border-radius: 0;
        padding: 48px 20px 56px;
    }

    .fd-industries__pills li { white-space: normal; }
    .fd-industries__pills li a {
        white-space: normal;
        height: auto;
        min-height: 44px;
        padding: 10px 18px;
        line-height: 1.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-industries__cta { transition: none; }
    .fd-industries__cta:hover { transform: none; }
}
