/* High-priority contrast, navigation and category-hero corrections. */
.page-hero {
    background-position: center;
    background-size: cover;
}
.page-hero h1,
.page-hero h1 span:not(.text-gold) {
    color: #fff !important;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .42);
}
.page-hero p {
    color: #e2e9f2 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}
.brand-choice .section-heading {
    max-width: none;
}
.brand-choice .section-heading-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .45fr);
}
.brand-choice .section-heading h2 {
    color: #fff !important;
    font-size: 0 !important;
    line-height: .94;
}
.brand-choice .section-heading h2::before {
    content: "Why Brands Choose Airek Sports";
    display: block;
    color: #fff !important;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 5.25vw, 6rem);
    line-height: .94;
}
.brand-choice .section-heading .eyebrow {
    color: #72ce91 !important;
}
.brand-choice .section-heading-row > p {
    color: #d8e2ee !important;
}
.home-logistics .section-heading h2,
.home-logistics .section-heading h2 span:not(.text-gold),
.home-logistics h3,
.csr-pillars h2,
.csr-pillars h3,
.rd-focus h2,
.rd-focus h3 {
    color: #07183f !important;
}
.home-logistics .text-gold,
.csr-pillars .text-gold,
.rd-focus .text-gold,
.home-logistics .eyebrow,
.csr-pillars .eyebrow,
.rd-focus .eyebrow {
    color: #237d4b !important;
}
@media (max-width: 1100px) {
    .brand-choice .section-heading-row {
        grid-template-columns: 1fr;
    }
}

/* Explicit contrast for public product and factory-gallery light surfaces. */
.category-browser,
.factory-gallery-section,
.category-range,
.category-products {
    color: #07183f;
}
.category-browser { background: #f6f8fb; }
.category-browser .section-title h2,
.category-browser .section-title h2 span:not(.text-gold),
.factory-gallery-section .section-title h2,
.factory-gallery-section .section-title h2 span:not(.text-gold),
.category-range .section-title h2,
.category-products .section-title h2 {
    color: #07183f !important;
    text-shadow: none !important;
}
.category-browser .section-title .text-gold,
.factory-gallery-section .section-title .text-gold,
.category-range .section-title .text-gold,
.category-products .section-title .text-gold,
.category-browser .eyebrow,
.factory-gallery-section .eyebrow {
    color: #237d4b !important;
}
.category-browser .section-title p,
.factory-gallery-section .section-title p,
.category-range .section-title p,
.category-products .section-title p {
    color: #4d5c70 !important;
}

/* Force a new carrier asset URL so browser/CDN caches cannot retain the old UPS art. */
.shipping-logos img[alt="UPS"],
.home-carriers img[alt="UPS"] {
    content: url("../images/shipping/ups-official-v3.svg");
}

/* Image-backed R&D focus cards. */
.rd-focus-grid article {
    display: flex;
    min-height: 380px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 190px 22px 25px !important;
    overflow: hidden;
    background: #fff;
}
.rd-focus-grid article::before {
    position: absolute;
    inset: 0 0 auto;
    height: 170px;
    content: "";
    background-position: center;
    background-size: cover;
}
.rd-focus-grid article::after {
    position: absolute;
    inset: 110px 0 auto;
    height: 60px;
    content: "";
    background: linear-gradient(transparent, #fff);
}
.rd-focus-grid article:nth-child(1)::before { background-image: url("../images/catalog/category-activewear-green-v2.png"); }
.rd-focus-grid article:nth-child(2)::before { background-image: url("../images/catalog/sample-development-studio-v2.png"); }
.rd-focus-grid article:nth-child(3)::before { background-image: url("../images/catalog/airek-bulk-sewing.png"); }
.rd-focus-grid article:nth-child(4)::before { background-image: url("../images/catalog/airek-sublimation-production.png"); }
.rd-focus-grid article:nth-child(5)::before { background-image: url("../images/catalog/airek-standard-quality-control.png"); }
.rd-focus-grid article > * {
    position: relative;
    z-index: 2;
}
.rd-focus-grid article > span {
    top: 188px;
}
.rd-focus-grid article h3 {
    margin-top: 22px;
}

/* Fabric guide: readable names on light sections and photographic material swatches. */
.fabric-group:nth-of-type(even) .fabric-card-grid h3,
.fabric-group:nth-of-type(even) .fabric-card-grid h3 a {
    color: #07183f !important;
    text-shadow: none !important;
}
.fabric-group:nth-of-type(even) .fabric-card-grid dt {
    color: #237d4b !important;
}
.fabric-group:nth-of-type(even) .fabric-card-grid dd {
    color: #536176 !important;
}
.fabric-card-grid article:nth-child(1) .fabric-swatch {
    background: url("../images/fabrics/fabric-real-0.webp") center / cover no-repeat !important;
}
.fabric-card-grid article:nth-child(2) .fabric-swatch {
    background: url("../images/fabrics/fabric-real-1.webp") center / cover no-repeat !important;
}
.fabric-card-grid article:nth-child(3) .fabric-swatch {
    background: url("../images/fabrics/fabric-real-2.webp") center / cover no-repeat !important;
}
.fabric-card-grid article:nth-child(4) .fabric-swatch {
    background: url("../images/fabrics/fabric-real-3.webp") center / cover no-repeat !important;
}
.fabric-swatch {
    height: 170px !important;
    box-shadow: inset 0 -24px 35px rgba(0, 0, 0, .12) !important;
}

/* Quote and contact use a clean typographic hero instead of photography. */
.quote .page-hero,
.contact .page-hero {
    min-height: 390px;
    background-image:
        radial-gradient(circle at 82% 30%, rgba(75, 188, 112, .22), transparent 24rem),
        linear-gradient(120deg, #04102c, #0d2c68 64%, #0a3f4a) !important;
}
.quote .page-hero::before,
.contact .page-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
}
.quote .content-grid { grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); align-items: start; }
.quote .form-card { padding: clamp(25px, 4vw, 52px); border-color: rgba(102,183,125,.26); background: linear-gradient(145deg, rgba(16,42,114,.72), rgba(6,24,58,.95)); }
.quote-builder-intro { display: flex; gap: 15px; align-items: center; margin: 12px 0 3px; padding: 19px 21px; border-left: 3px solid var(--green); background: rgba(64,174,101,.08); }
.quote-builder-intro > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.quote-builder-intro strong,.quote-builder-intro small { display: block; }.quote-builder-intro strong { font-family: var(--heading-font); font-size: 1.35rem; }.quote-builder-intro small { color: #becbda; font-size: .67rem; }
.quote-builder-options { display: grid; gap: 17px; }
.quote-option-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-option-group legend { display: flex; gap: 9px; align-items: center; margin-bottom: 9px; color: #fff; font-size: .7rem; font-weight: 800; }.quote-option-group legend i { color: var(--green); }
.quote-option-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-option-cards label { cursor: pointer; }.quote-option-cards input { position: absolute; opacity: 0; pointer-events: none; }
.quote-option-cards span { display: block; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(4,16,44,.48); color: #cbd6e4; font-size: .65rem; font-weight: 700; transition: .2s ease; }
.quote-option-cards input:checked + span { border-color: #65c184; background: #237d4b; color: #fff; box-shadow: 0 8px 22px rgba(35,125,75,.2); }
.quote-option-cards input:focus-visible + span { outline: 2px solid #72ce91; outline-offset: 2px; }
.quote-builder-final { margin-top: 17px; }
@media(max-width:900px){.quote .content-grid{grid-template-columns:1fr}.quote-option-cards span{padding:9px 11px}}

/* Clear startup-brand pathway on the homepage and private-label page. */
.startup-brand-callout { padding: clamp(54px, 6vw, 86px) 0; border-top: 1px solid rgba(255,255,255,.1); background: linear-gradient(120deg, #07183f, #102a72 68%, #0b4a46); }
.startup-brand-inner { display: grid; grid-template-columns: 74px minmax(0,1fr) auto; gap: clamp(20px,3vw,42px); align-items: center; }
.startup-brand-icon { display: grid; width: 74px; height: 74px; place-items: center; border: 1px solid rgba(114,206,145,.55); border-radius: 20px; background: rgba(69,174,104,.13); color: #72ce91; font-size: 1.7rem; }
.startup-brand-callout h2 { max-width: 900px; margin: 9px 0 13px; font-size: clamp(2.2rem,3.7vw,4.2rem); }
.startup-brand-callout p { max-width: 920px; margin: 0; color: #ccd8e7; font-size: .75rem; }
.startup-brand-callout .button { white-space: nowrap; }
@media(max-width:980px){.startup-brand-inner{grid-template-columns:64px 1fr}.startup-brand-icon{width:64px;height:64px}.startup-brand-callout .button{grid-column:2;width:max-content}}
@media(max-width:620px){.startup-brand-inner{grid-template-columns:1fr}.startup-brand-callout .button{grid-column:auto;width:100%}}

/* Fabric groups: exact photography-to-description mapping. */
.fabric-group:nth-of-type(even) .section-title h2,
.fabric-group:nth-of-type(even) .section-title h2 span:not(.text-gold) {
    color: #07183f !important;
    text-shadow: none !important;
}
.fabric-group:nth-of-type(even) .section-title .text-gold,
.fabric-group:nth-of-type(even) .section-title .eyebrow { color: #237d4b !important; }
.fabric-group:nth-of-type(even) .section-title p { color: #536176 !important; }

.fabric-group:nth-of-type(3) .fabric-card-grid article:nth-child(1) .fabric-swatch { background-image:url("../images/fabrics/sports/swatch-0.webp")!important; }
.fabric-group:nth-of-type(3) .fabric-card-grid article:nth-child(2) .fabric-swatch { background-image:url("../images/fabrics/sports/swatch-1.webp")!important; }
.fabric-group:nth-of-type(3) .fabric-card-grid article:nth-child(3) .fabric-swatch { background-image:url("../images/fabrics/sports/swatch-2.webp")!important; }
.fabric-group:nth-of-type(3) .fabric-card-grid article:nth-child(4) .fabric-swatch { background-image:url("../images/fabrics/sports/swatch-3.webp")!important; }
.fabric-group:nth-of-type(4) .fabric-card-grid article:nth-child(1) .fabric-swatch { background-image:url("../images/fabrics/active-mma/swatch-0.webp")!important; }
.fabric-group:nth-of-type(4) .fabric-card-grid article:nth-child(2) .fabric-swatch { background-image:url("../images/fabrics/active-mma/swatch-1.webp")!important; }
.fabric-group:nth-of-type(4) .fabric-card-grid article:nth-child(3) .fabric-swatch { background-image:url("../images/fabrics/active-mma/swatch-2.webp")!important; }
.fabric-group:nth-of-type(4) .fabric-card-grid article:nth-child(4) .fabric-swatch { background-image:url("../images/fabrics/active-mma/swatch-3.webp")!important; }
.fabric-group:nth-of-type(5) .fabric-card-grid article:nth-child(1) .fabric-swatch { background-image:url("../images/fabrics/streetwear/swatch-0.webp")!important; }
.fabric-group:nth-of-type(5) .fabric-card-grid article:nth-child(2) .fabric-swatch { background-image:url("../images/fabrics/streetwear/swatch-1.webp")!important; }
.fabric-group:nth-of-type(5) .fabric-card-grid article:nth-child(3) .fabric-swatch { background-image:url("../images/fabrics/streetwear/swatch-2.webp")!important; }
.fabric-group:nth-of-type(5) .fabric-card-grid article:nth-child(4) .fabric-swatch { background-image:url("../images/fabrics/streetwear/swatch-3.webp")!important; }
.fabric-group:nth-of-type(6) .fabric-card-grid article:nth-child(1) .fabric-swatch { background-image:url("../images/fabrics/outdoor/swatch-0.webp")!important; }
.fabric-group:nth-of-type(6) .fabric-card-grid article:nth-child(2) .fabric-swatch { background-image:url("../images/fabrics/outdoor/swatch-1.webp")!important; }
.fabric-group:nth-of-type(6) .fabric-card-grid article:nth-child(3) .fabric-swatch { background-image:url("../images/fabrics/outdoor/swatch-2.webp")!important; }
.fabric-group:nth-of-type(6) .fabric-card-grid article:nth-child(4) .fabric-swatch { background-image:url("../images/fabrics/outdoor/swatch-3.webp")!important; }

/* Homepage social proof / Instagram work showcase. */
.home-instagram-work { background:#f6f8fb; color:#07183f; }
.home-instagram-work h2,.home-instagram-work h2 span:not(.text-gold){color:#07183f!important}.home-instagram-work .text-gold,.home-instagram-work .eyebrow{color:#237d4b!important}.home-instagram-work .section-heading p{color:#536176!important}
.instagram-work-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; }
.instagram-work-card { position:relative; min-height:330px; overflow:hidden; border-radius:15px; }
.instagram-work-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.instagram-work-card::after { position:absolute; inset:0; content:""; background:linear-gradient(180deg,transparent 38%,rgba(2,15,35,.9)); }
.instagram-work-card span { position:absolute; z-index:2; right:18px; bottom:17px; left:18px; display:flex; justify-content:space-between; align-items:center; color:#fff; font-size:.72rem; font-weight:800; }
.instagram-work-card i { color:#72ce91; font-size:1.2rem; }.instagram-work-card:hover img{transform:scale(1.05)}
@media(max-width:1000px){.instagram-work-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.instagram-work-grid{grid-template-columns:1fr}.instagram-work-card{min-height:290px}}
