/* =========================================================
   BAOLIN SDN. BHD.
   Visual system derived from BAOLIN_Brand_Kit
   Navy #00245B · Sky #009EFE · Orange #F97E08
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand */
    --navy: #00245b;
    --navy-deep: #001634;
    --navy-soft: #0a3a7a;
    --sky: #009efe;
    --sky-dark: #0086da;
    --sky-soft: #e7f4ff;
    --orange: #f97e08;
    --orange-dark: #de6b00;
    --orange-soft: #fff2e3;

    /* Neutrals */
    --ink: #0b1b33;
    --muted: #57687f;
    --line: #e3eaf4;
    --bg: #f5f8fd;
    --white: #ffffff;

    /* Effects */
    --shadow-sm: 0 2px 10px rgba(0, 36, 91, 0.06);
    --shadow: 0 12px 34px rgba(0, 36, 91, 0.10);
    --shadow-lg: 0 26px 60px rgba(0, 36, 91, 0.16);

    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --grad-brand: linear-gradient(90deg, var(--sky) 0%, var(--orange) 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 96px; }

/* Brand stripe — echoes the tri-loop mark */
.brand-stripe {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand);
    z-index: 1100;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.7rem;
    border-radius: 8px;
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

.btn-accent { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-accent:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(249, 126, 8, 0.32);
}

.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------------- Navbar ---------------- */
.navbar {
    position: fixed;
    top: 3px; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

.navbar.scrolled { box-shadow: 0 8px 28px rgba(0, 36, 91, 0.09); }

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.7rem 24px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; transition: var(--transition); }
.logo:hover .logo-img { transform: scale(1.03); }

.nav-menu { display: flex; align-items: center; gap: 0.2rem; }

.nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.94rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover { color: var(--navy); background: var(--bg); }
.nav-link.active { color: var(--navy); }

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0.85rem; right: 0.85rem;
    bottom: 0.05rem;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-brand);
}

.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--navy);
    cursor: pointer;
    padding: 0.35rem;
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 96px;
    color: var(--white);
    background:
        radial-gradient(760px 420px at 88% 4%, rgba(0, 158, 254, 0.30), transparent 62%),
        radial-gradient(700px 420px at 6% 96%, rgba(249, 126, 8, 0.16), transparent 62%),
        linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-soft) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 76%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-copy { max-width: 640px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--sky);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.hero-eyebrow::before {
    content: '';
    width: 26px; height: 2px;
    border-radius: 2px;
    background: var(--orange);
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 1.1rem;
}

.hero-title span { color: var(--sky); }

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.3rem;
    letter-spacing: 0.2px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.03rem;
    max-width: 540px;
    margin-bottom: 2.2rem;
    line-height: 1.85;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 2rem 1.9rem;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-panel::after {
    content: '';
    position: absolute;
    right: -70px; top: -70px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 158, 254, 0.35), transparent 70%);
    pointer-events: none;
}

.hero-panel h3 {
    position: relative;
    font-size: 0.74rem;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.1rem;
}

.hero-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.hero-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hero-list i { color: var(--sky); font-size: 1rem; width: 20px; text-align: center; }

/* ---------------- Stat strip ---------------- */
.stat-strip { background: var(--navy-deep); }

.stat-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem 0;
}

.stat { text-align: center; padding: 0.3rem 0.6rem; border-right: 1px solid rgba(255, 255, 255, 0.09); }
.stat:last-child { border-right: none; }
.stat strong {
    display: block;
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 0.15rem;
}
.stat span { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }

/* ---------------- Sections ---------------- */
.section { padding: 5.5rem 0; }

.section-head { max-width: 740px; margin: 0 auto 3.2rem; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 2.4rem; }

.section-eyebrow {
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.24;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle { font-size: 1.02rem; color: var(--muted); line-height: 1.85; }

.section-head.light .section-title { color: var(--white); }
.section-head.light .section-subtitle { color: rgba(255, 255, 255, 0.72); }
.section-head.light .section-eyebrow { color: var(--sky); }

.bg-light { background: var(--bg); }
.bg-white { background: var(--white); }

.bg-navy {
    background:
        radial-gradient(680px 380px at 90% 0%, rgba(0, 158, 254, 0.22), transparent 60%),
        linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
}

.section-tight { padding-top: 0; }

.section-cta { text-align: center; margin-top: 2.6rem; }

/* Compact band — used for secondary business lines kept off the main grid */
.section-band {
    padding: 2.4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.band-copy { max-width: 660px; }
.band-copy .section-eyebrow { margin-bottom: 0.35rem; }
.band-title { font-size: 1.22rem; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: -0.2px; }
.band-text { color: var(--muted); font-size: 0.94rem; line-height: 1.75; }
.band-inner .btn { flex-shrink: 0; }

/* ---------------- About ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
}

.about-text p { color: var(--muted); font-size: 1.02rem; line-height: 1.9; margin-bottom: 1.2rem; }
.about-text .section-eyebrow,
.sourcing-text .section-eyebrow { color: var(--orange); font-size: 0.76rem; letter-spacing: 3px; margin-bottom: 0.9rem; }
.about-text .section-title,
.sourcing-text .section-title { margin-bottom: 1.1rem; }
.about-text strong { color: var(--ink); font-weight: 600; }

.about-quote {
    position: relative;
    padding: 1.1rem 0 1.1rem 1.4rem;
    margin-top: 1.6rem;
    border-left: 3px solid var(--orange);
    background: linear-gradient(90deg, var(--orange-soft), transparent 70%);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.7;
}

.about-side { display: grid; gap: 1rem; }

.info-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 158, 254, 0.45); }

.info-card i {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sky-soft);
    color: var(--sky-dark);
    font-size: 1rem;
    margin-bottom: 0.9rem;
}

.info-card h4 { font-size: 1.02rem; margin-bottom: 0.4rem; color: var(--navy); }
.info-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.75; }

/* ---------------- Category cards ---------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cat-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--navy);
    background: var(--sky-soft);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.cat-card:hover .cat-icon { background: var(--navy); color: var(--sky); }

.cat-card h3 { font-size: 1.14rem; margin-bottom: 0.55rem; color: var(--navy); }
.cat-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 1.1rem; }

.cat-link {
    color: var(--orange-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.cat-card:hover .cat-link { gap: 0.85rem; color: var(--orange); }

/* ---------------- Process ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.9rem 1.6rem;
    transition: var(--transition);
}

.process-step:hover { background: rgba(255, 255, 255, 0.085); transform: translateY(-4px); border-color: rgba(0, 158, 254, 0.5); }

.process-num {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--orange);
    margin-bottom: 0.9rem;
}

.process-step h3 { font-size: 1.06rem; color: var(--white); margin-bottom: 0.45rem; }
.process-step p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.64); line-height: 1.75; }

/* ---------------- Sourcing ---------------- */
.sourcing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.sourcing-text p { color: var(--muted); font-size: 1.01rem; line-height: 1.9; margin-bottom: 1.1rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.3rem 0 1.6rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--navy);
    padding: 0.48rem 0.9rem;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 500;
    transition: var(--transition);
}

.chip:hover { border-color: var(--sky); color: var(--sky-dark); transform: translateY(-2px); }
.chip i { color: var(--orange); font-size: 0.8rem; }

.quote-card {
    position: relative;
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(0, 158, 254, 0.35), transparent 62%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius);
    padding: 2.9rem 2.3rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-card > i { font-size: 1.7rem; color: var(--orange); margin-bottom: 1rem; display: block; }
.quote-card p { font-size: 1.45rem; font-weight: 300; line-height: 1.55; margin-bottom: 1.3rem; }
.quote-card strong { color: var(--sky); font-weight: 700; }
.quote-card span { font-size: 0.74rem; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* ---------------- Values & markets ---------------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.value-card {
    display: flex;
    gap: 1.1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 158, 254, 0.45); }

.value-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sky-soft);
    color: var(--sky-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}

.value-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; color: var(--navy); }
.value-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.6rem; }

.market {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1.35rem 1.2rem;
    text-align: center;
    transition: var(--transition);
}

.market:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.market i { color: var(--orange); font-size: 1.15rem; margin-bottom: 0.55rem; display: block; }
.market strong { display: block; font-size: 0.95rem; color: var(--navy); }
.market span { font-size: 0.82rem; color: var(--muted); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }

.contact-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad-brand);
}

.contact-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--sky);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.3rem;
}

.contact-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; color: var(--navy); }
.contact-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.8; margin-bottom: 1rem; }

.email-big {
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--navy);
    word-break: break-all;
    display: inline-block;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 0.1rem;
}

.email-big:hover { color: var(--orange-dark); }

.contact-side h3 { font-size: 1.24rem; margin-bottom: 0.9rem; color: var(--navy); }
.contact-side p { color: var(--muted); font-size: 0.96rem; line-height: 1.85; margin-bottom: 1.1rem; }

.contact-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.62rem 0;
    color: var(--ink);
    font-size: 0.93rem;
    border-bottom: 1px dashed var(--line);
}

.contact-list li:last-child { border-bottom: none; }
.contact-list i { color: var(--sky-dark); margin-top: 0.28rem; }

/* ---------------- Footer ---------------- */
.footer {
    position: relative;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.66);
    padding: 4rem 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand);
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.7rem; }

.footer-logo { height: 42px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.85; }

.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.2px; }
.footer-links li, .footer-contact p { margin-bottom: 0.6rem; }
.footer a { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; }
.footer a:hover { color: var(--sky); }
.footer-contact p i { color: var(--orange); margin-right: 0.55rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 1.3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.84rem;
}

.footer-tagline { color: var(--sky); font-weight: 600; letter-spacing: 0.8px; }

/* ---------------- Back to top ---------------- */
.back-to-top {
    position: fixed;
    bottom: 1.7rem; right: 1.7rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 900;
    box-shadow: var(--shadow);
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }

/* ---------------- Category (sub) pages ---------------- */
.sub-nav { background: rgba(0, 22, 52, 0.96); border-bottom: none; padding: 0.75rem 0; }
.sub-nav .nav-wrapper { padding: 0.35rem 24px; }
.back-link {
    color: var(--white);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
}
.back-link:hover { color: var(--sky); }

.page-hero {
    position: relative;
    padding: 158px 0 84px;
    color: var(--white);
    background:
        radial-gradient(720px 400px at 85% 8%, rgba(0, 158, 254, 0.30), transparent 62%),
        radial-gradient(620px 380px at 4% 92%, rgba(249, 126, 8, 0.16), transparent 62%),
        linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 75%);
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-icon {
    width: 66px; height: 66px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--sky);
    margin-bottom: 1.4rem;
}

.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.6px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); font-size: 1.03rem; max-width: 620px; line-height: 1.85; }

.page-body { padding: 4.5rem 0; background: var(--white); }
.page-body-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.4rem; align-items: start; }

.page-intro h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--navy); letter-spacing: -0.2px; }
.page-intro p { color: var(--muted); font-size: 1rem; line-height: 1.9; margin-bottom: 1.5rem; }

.items-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.items-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.82rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    transition: var(--transition);
}

.items-list li:hover { border-color: var(--sky); color: var(--navy); transform: translateX(3px); }
.items-list li i { color: var(--orange); }

.page-side {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem;
    position: sticky;
    top: 110px;
}

.page-side h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.7rem; }
.page-side p { font-size: 0.92rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; }
.page-side .btn { width: 100%; margin-bottom: 0.7rem; }
.page-side .note { font-size: 0.84rem; color: var(--muted); margin-bottom: 0; }

.page-cta {
    position: relative;
    background:
        radial-gradient(560px 300px at 90% 0%, rgba(0, 158, 254, 0.4), transparent 60%),
        linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

.page-cta h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 0.7rem; letter-spacing: -0.3px; }
.page-cta p { font-size: 1rem; max-width: 600px; margin: 0 auto 1.6rem; line-height: 1.85; opacity: 0.94; }
.page-cta .btn { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }
.page-cta .btn:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }

/* related categories */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 2.2rem; }

.related {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    transition: var(--transition);
}

.related:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related i { color: var(--orange); }

.related-head h2 { font-size: 1.24rem; color: var(--navy); margin-bottom: 0.35rem; }
.related-head p { color: var(--muted); font-size: 0.94rem; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.fade-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1140px) {
    .nav-link { padding: 0.5rem 0.6rem; font-size: 0.9rem; }
    .nav-cta { padding: 0.5rem 1rem; font-size: 0.86rem; }
}

@media (max-width: 992px) {
    .hero-grid, .about-grid, .sourcing-grid, .contact-grid, .page-body-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .cat-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .market-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.65rem; }
    .page-side { position: static; }
}

@media (max-width: 768px) {
    .hero { padding: 124px 0 72px; min-height: auto; }
    .hero-title { font-size: 2.1rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 1.7rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }

    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        padding: 0.9rem 20px 1.2rem;
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 32px rgba(0, 36, 91, 0.14);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-link { display: block; padding: 0.75rem 0.5rem; }
    .nav-link.active::after { left: 0.5rem; right: auto; width: 22px; }

    .stat-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
    .stat:nth-child(2) { border-right: none; }
    .cat-grid, .process-grid, .value-grid, .items-list, .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .page-hero h1 { font-size: 1.95rem; }
    .page-hero { padding: 124px 0 62px; }
    .page-cta h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-lg { width: 100%; }
    .market-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 1.8rem; }
}
