/* ============================================================
   Hawk Spirit UI icons — ES only
   Base = approved sizes-preview v2 (large).
   Only a few BLOCKS get different overrides (see comments).
   Icon size is driven by CSS context, not one global shrink.
   ============================================================ */

/* ---- DEFAULT (feature-level, ~192–216 as in v2) ---- */
img.ui-icon {
    display: inline-block;
    width: 192px;
    height: 192px;
    max-width: none;
    vertical-align: middle;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ---- Block 01 Tres caminos: decorative icons removed ---- */
.service-card__icon {
    display: none !important;
}

/* ---- Home Síguenos: custom social brand icons ---- */
.social__link {
    gap: 12px !important;
}
.social__link img.ui-icon,
.social__link img.social__icon,
.social__link .social__icon {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    display: block !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    margin: 0 !important;
}
.social__link:hover img.ui-icon,
.social__link:hover img.social__icon {
    filter: drop-shadow(0 4px 12px rgba(212, 160, 23, 0.35));
}

/* ---- Feature / semantic cards: 216 (v2) ---- */
.why-icon,
.fmt-icon,
.sh-def-icon,
.sh-res-icon,
.sh-step__icon,
.about-philosophy__pillar-icon,
.about-activities__icon,
.about-story__heading-icon,
.f-icon,
.c-icon,
.occ-icon,
.val-icon,
.rm-icon,
.n-icon,
.material-icon,
.marquee-icon,
.success-icon,
.music-philosophy__icon,
.music-manifesto__icon,
.music-type__icon {
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.why-icon img.ui-icon,
.fmt-icon img.ui-icon,
.sh-def-icon img.ui-icon,
.sh-res-icon img.ui-icon,
.about-philosophy__pillar-icon img.ui-icon,
.about-activities__icon img.ui-icon,
.val-icon img.ui-icon,
.music-philosophy__icon img.ui-icon,
.success-icon img.ui-icon {
    width: 216px !important;
    height: 216px !important;
    max-width: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}
/* occ / nature / materials / filters sized in block overrides below */

/* ---- Ornament: 156 (v2) ---- */
.section-title__ornament img,
.section-title__ornament img.ui-icon {
    width: 156px !important;
    height: 156px !important;
    max-width: none !important;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
}

/* ---- Footer contact tiles: 108 (v2) ---- */
.footer-contact-tile__icon,
.footer-contact-tile img.ui-icon,
.footer-contact-tile img.footer-contact-tile__icon {
    width: 108px !important;
    height: 108px !important;
    max-width: none !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

/* ---- Contact channel cards: 72 (v2) ---- */
.c-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px !important;
}
.c-icon img.ui-icon {
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
}

/* ---- Event / blog badges: 72 default; block 02 wants larger → 96 ---- */
.event-card__badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.55rem 1rem !important;
}
.event-card__badge img,
.event-card__badge img.ui-icon {
    width: 96px !important;
    height: 96px !important;
    max-width: none !important;
    vertical-align: middle;
    margin-right: 4px;
    background: transparent !important;
    border: none !important;
}
.blog-badge img.ui-icon {
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
    vertical-align: middle;
    margin-right: 6px;
    background: transparent !important;
}

/* ---- Link arrows / chrome: 56 (v2) ---- */
.service-card__link img.ui-icon,
.about__btn img.ui-icon,
.about-activities__link img.ui-icon,
.blog-link img.ui-icon,
.link-arr img.ui-icon,
.q-arrow img.ui-icon {
    width: 56px !important;
    height: 56px !important;
    max-width: none !important;
    margin-left: 6px;
    background: transparent !important;
}

/* ---- FAQ chevrons: block 12 → ~2× vs tiny UI → 44 was ok, user asked 2x from small → keep 44 or 56 ---- */
.arr {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.arr img.ui-icon,
.faq-icon img.ui-icon {
    width: 44px !important;
    height: 44px !important;
    max-width: none !important;
}

/* ---- Stars: compact chrome ---- */
.instr-level img.ui-icon {
    width: 44px !important;
    height: 44px !important;
    margin-right: 2px;
}

/* ---- Play ---- */
.play-icon img.ui-icon {
    width: 72px !important;
    height: 72px !important;
}
.audio-player__btn img.ui-icon {
    width: 48px !important;
    height: 48px !important;
}

/* ============================================================
   TARGETED OVERRIDES from your block notes only
   ============================================================ */

/* Block 05 — about story heading: a bit larger (was too small as inline) */
.about-story__heading-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 72px !important;
    height: 72px !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
}
.about-story__heading-icon img.ui-icon {
    width: 68px !important;
    height: 68px !important;
}

/* Block 10 — roadmap: CIRCLES ~2× (40→80), ICONS fit inside (not 216 overflowing) */
.rm-icon {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
    flex-shrink: 0 !important;
}
.rm-icon img.ui-icon {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
}
.roadmap-highlight img.ui-icon {
    width: 48px !important;
    height: 48px !important;
    vertical-align: middle;
    margin-right: 10px;
}

/* Block 11 — buy-list checks: small ticks, not feature icons */
.buy-list img.ui-icon {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    flex-shrink: 0;
    margin-right: 10px;
    vertical-align: middle;
}

/* Block 12 — FAQ: keep readable chevrons (44 from v2; user asked larger → 48) */
.arr img.ui-icon,
.faq-icon img.ui-icon {
    width: 48px !important;
    height: 48px !important;
}

/* Block 14 — SH timeline steps: container holds icon (88 circle / 64 icon) */
.sh-step__icon {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
}
.sh-step__icon img.ui-icon {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
}

/* Block 16 — marquee instruments (enlarged) */
.marquee-icon {
    width: 96px !important;
    height: 96px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
}
.marquee-icon img.ui-icon {
    width: 88px !important;
    height: 88px !important;
}

/* Block 17 — SH tips (enlarged) */
.sh-tip h3 img.ui-icon,
.sh-tips__grid h3 img.ui-icon {
    width: 96px !important;
    height: 96px !important;
    vertical-align: middle;
    margin-right: 12px;
}

/* Block 19 — music type: left icon stays solid; expand chevron small */
.music-type__header {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}
.music-type__icon {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
}
.music-type__icon img.ui-icon {
    width: 64px !important;
    height: 64px !important;
}
.music-type__title {
    flex: 1 !important;
    min-width: 0 !important;
    padding-left: 4px !important;
}
.music-type__arrow {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.music-type__arrow img.ui-icon {
    width: 24px !important;
    height: 24px !important;
}

/* Music manifesto circles: icon fits circle */
.music-manifesto__icon {
    width: 88px !important;
    height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 auto 12px !important;
}
.music-manifesto__icon img.ui-icon {
    width: 64px !important;
    height: 64px !important;
}

/* Block 23 — ecosystem petals: circle holds icon; petal box fits icon+title */
.hawk-ecosystem {
    overflow: visible !important;
}
.ecosystem-wheel {
    overflow: visible !important;
}
/* Center logo: no gold circle frame — just the mark */
.wheel-center {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 120px !important;
    height: 120px !important;
}
.wheel-center img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    background: transparent !important;
}
.wheel-petal {
    width: 140px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    gap: 0 !important;
}
.petal-icon {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
}
.petal-icon img.ui-icon {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
}
.petal-title {
    line-height: 1.25 !important;
    max-width: 100% !important;
}
.petal-desc {
    max-width: 140px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

@media (max-width: 900px) {
    .petal-icon {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        min-height: 72px !important;
    }
    .petal-icon img.ui-icon {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }
}

/* Mobile navigation must cover the viewport even when the fixed header has
   backdrop-filter (which otherwise traps fixed descendants inside the header). */
@media (max-width: 768px) {
    body.mobile-menu-open .header {
        z-index: 6000;
    }

    .header__nav {
        position: absolute;
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0 24px;
    }

    .header__nav.active {
        display: block;
    }

    .header__nav-list {
        min-height: 100%;
        justify-content: center;
        gap: clamp(14px, 3vh, 24px);
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }
}

/* Mobile section headings: keep both ornaments beside the complete title.
   The middle anonymous grid item is the heading text, so a long title may
   wrap without pushing the second ornament onto a separate line. */
@media (max-width: 600px) {
    .section-title:not(.section-title--left):has(> .section-title__ornament) {
        display: grid;
        grid-template-columns:
            clamp(52px, 16vw, 64px)
            minmax(0, 1fr)
            clamp(52px, 16vw, 64px);
        align-items: center;
        gap: clamp(4px, 2vw, 8px);
        width: 100%;
        line-height: 1.25;
        text-wrap: balance;
    }

    .section-title:not(.section-title--left):has(> .section-title__ornament)
        > .section-title__ornament {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .section-title:not(.section-title--left):has(> .section-title__ornament)
        > .section-title__ornament img,
    .section-title:not(.section-title--left):has(> .section-title__ornament)
        > .section-title__ornament img.ui-icon {
        width: clamp(52px, 16vw, 64px) !important;
        height: clamp(52px, 16vw, 64px) !important;
    }
}

/* Block 25 — products: compact status chip (icon ~ badge height) */
.prod-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: calc(100% - 24px) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    padding: 5px 10px !important;
    z-index: 2 !important;
}
.prod-status img.ui-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
.prod-card {
    overflow: hidden !important;
    min-width: 200px !important;
}
.prod-card h4 {
    padding-right: 100px !important; /* room for absolute status badge */
}

/* Block 26 — partners list */
.partners-list img.ui-icon {
    width: 48px !important;
    height: 48px !important;
    vertical-align: middle;
    margin-right: 10px;
}

/* Block 27 — blog filters: chip size, not 216 */
.f-icon {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}
.f-icon img.ui-icon {
    width: 32px !important;
    height: 32px !important;
}
.filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

/* Block 28 — blog cards: photo fills, badge icons solid */
.blog-card__img {
    position: relative !important;
    height: 240px !important;
    overflow: hidden !important;
    background: #1a1730 !important;
}
.blog-card__img > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Block 29 — contact extra lines: not 108–120 next to text */
.contact-info-extra p {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.contact-info-extra img.ui-icon {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
}

/* Block 30 — occasions: feature icons in card grid (96 / 84) */
.occ-icon {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    margin: 0 auto 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
}
.occ-icon img.ui-icon {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
}

/* Block 31 — nature icons: circle-ish container 88 / icon 72 */
.nature-icons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 28px 40px !important;
    margin: 28px 0 !important;
}
.n-icon {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 88px !important;
}
.n-icon span {
    display: flex !important;
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: rgba(212, 160, 23, 0.08) !important;
    border: 1px solid rgba(212, 160, 23, 0.2) !important;
}
.n-icon img.ui-icon {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
}
.n-icon small {
    font-size: 0.85rem !important;
    color: var(--text-muted, #9a9488) !important;
    letter-spacing: 0.04em !important;
}

/* Block 32 — materials row: compact icons (not 216 feature dump) */
.material-icon {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 1 !important;
}
.material-icon img.ui-icon {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
}

/* Brand eagle if used as ui-icon */
img.ui-icon[src*="60_eagle"] {
    width: 200px !important;
    height: 200px !important;
}

@media (max-width: 900px) {
    .why-icon img.ui-icon,
    .fmt-icon img.ui-icon,
    .sh-def-icon img.ui-icon,
    .sh-res-icon img.ui-icon,
    .about-philosophy__pillar-icon img.ui-icon,
    .about-activities__icon img.ui-icon,
    .val-icon img.ui-icon {
        width: 140px !important;
        height: 140px !important;
    }
    .occ-icon {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
    }
    .occ-icon img.ui-icon {
        width: 68px !important;
        height: 68px !important;
        max-width: 68px !important;
        max-height: 68px !important;
    }
    .n-icon span {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        min-height: 72px !important;
    }
    .n-icon img.ui-icon {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }
    .material-icon {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
    }
    .material-icon img.ui-icon {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }
    .section-title__ornament img,
    .section-title__ornament img.ui-icon {
        width: 100px !important;
        height: 100px !important;
    }
    .rm-icon {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
    }
    .rm-icon img.ui-icon {
        width: 42px !important;
        height: 42px !important;
    }
}
