/* ==========================================================================
   AEROCHEM NEUTRON — HOMEPAGE v2 (corporate)
   Scoped under .ahv2 so it cannot affect other pages or the shared header/footer.
   ========================================================================== */

.ahv2 {
    --ahv2-navy: #0B2545;
    --ahv2-navy-2: #13315C;
    --ahv2-navy-line: #1E3F6E;
    --ahv2-red: #B02A14;
    --ahv2-red-hover: #8A1F0E;
    --ahv2-peach: #F2A493;
    --ahv2-white: #FFFFFF;
    --ahv2-grey: #F8F9FA; /* brand pearl white */
    --ahv2-line: #E4E9F0;
    --ahv2-input: #BCC6D3;
    --ahv2-body: #3A4A5E;
    --ahv2-muted: #6B7A90;
    --ahv2-on-dark: #C9D4E3;
    --ahv2-on-dark-muted: #8DA2BE;
    --ahv2-font: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

    background: var(--ahv2-white);
    color: var(--ahv2-body);
    font-family: var(--ahv2-font);
    font-size: 16px;
    line-height: 1.6;
}
.ahv2 *, .ahv2 *::before, .ahv2 *::after { box-sizing: border-box; }
.ahv2 h1, .ahv2 h2, .ahv2 h3 {
    font-family: var(--ahv2-font);
    color: var(--ahv2-navy);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: none;
}
.ahv2 p { margin: 0; }
.ahv2 ul, .ahv2 dl, .ahv2 dd { margin: 0; padding: 0; list-style: none; }
.ahv2 a { color: var(--ahv2-navy); text-decoration: none; }
.ahv2 a:hover { color: var(--ahv2-red); }
.ahv2 a:focus-visible, .ahv2 button:focus-visible, .ahv2 input:focus-visible,
.ahv2 textarea:focus-visible { outline: 3px solid var(--ahv2-peach); outline-offset: 2px; }

.ahv2-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ahv2-wrap { padding: 0 40px; } }

/* Labels, links */
.ahv2-label {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ahv2-red);
}
.ahv2-label::before { content: ""; display: block; width: 28px; height: 2px; background: currentColor; }
.ahv2-label-light { color: var(--ahv2-peach); }
.ahv2 .ahv2-link { color: var(--ahv2-red); font-weight: 600; font-size: 15px; }
.ahv2 .ahv2-link:hover { color: var(--ahv2-red-hover); }
.ahv2-small { font-size: 14px; color: var(--ahv2-muted); }
.ahv2 .ahv2-small a { color: var(--ahv2-red); font-weight: 600; }

/* Buttons */
.ahv2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ahv2-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 26px; border-radius: 4px;
    font-family: var(--ahv2-font); font-weight: 600; font-size: 15px; line-height: 1.2;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s;
}
.ahv2 .ahv2-btn-red { background: var(--ahv2-red); color: var(--ahv2-white); }
.ahv2 .ahv2-btn-red:hover { background: var(--ahv2-red-hover); color: var(--ahv2-white); }
.ahv2 .ahv2-btn-navy { background: var(--ahv2-navy); color: var(--ahv2-white); }
.ahv2 .ahv2-btn-navy:hover { background: var(--ahv2-navy-2); color: var(--ahv2-white); }
.ahv2 .ahv2-btn-outline { border-color: var(--ahv2-navy); color: var(--ahv2-navy); background: transparent; }
.ahv2 .ahv2-btn-outline:hover { background: var(--ahv2-navy); color: var(--ahv2-white); }
.ahv2 .ahv2-btn-outline-light { border-color: var(--ahv2-on-dark-muted); color: var(--ahv2-white); background: transparent; }
.ahv2 .ahv2-btn-outline-light:hover { background: var(--ahv2-white); color: var(--ahv2-navy); }

/* Sections */
.ahv2-section { padding: 56px 0; }
.ahv2-grey { background: var(--ahv2-grey); border-top: 1px solid var(--ahv2-line); border-bottom: 1px solid var(--ahv2-line); }
.ahv2-navy { background: var(--ahv2-navy); color: var(--ahv2-on-dark); }
.ahv2-navy h2, .ahv2-navy h3 { color: var(--ahv2-white); }
.ahv2 h2 { font-size: 28px; line-height: 1.2; }
.ahv2-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 992px) {
    .ahv2-section { padding: 88px 0; }
    .ahv2 h2 { font-size: 38px; }
    .ahv2-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
    .ahv2-head > p { max-width: 460px; }
}

/* 1. Hero */
.ahv2-hero { background: var(--ahv2-navy); color: var(--ahv2-on-dark); display: grid; }
.ahv2-hero-copy { padding: 48px 16px 88px; display: flex; flex-direction: column; gap: 20px; }
.ahv2-hero .ahv2-label { margin-bottom: 0; }
.ahv2-hero h1 { color: var(--ahv2-white); font-size: 32px; line-height: 1.15; }
.ahv2-lead { font-size: 16px; max-width: 560px; }
.ahv2-hero-media { display: none; background: var(--ahv2-navy-2) center / cover no-repeat; border-left: 1px solid var(--ahv2-navy-line); }
@media (min-width: 768px) { .ahv2-hero-copy { padding: 64px 40px 104px; } }
@media (min-width: 992px) {
    .ahv2-hero { grid-template-columns: 7fr 5fr; min-height: 600px; }
    .ahv2-hero-copy { padding: 104px 64px 120px max(40px, calc((100vw - 1280px) / 2 + 40px)); justify-content: center; gap: 28px; }
    .ahv2-hero h1 { font-size: 50px; line-height: 1.1; max-width: 680px; }
    .ahv2-lead { font-size: 19px; }
    .ahv2-hero-media { display: block; }
}

/* KPI strip */
.ahv2-kpis {
    position: relative; margin-top: -48px;
    background: var(--ahv2-white); border-top: 4px solid var(--ahv2-red);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.12);
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ahv2-kpi { padding: 18px 20px; border-bottom: 1px solid var(--ahv2-line); }
.ahv2-kpi:nth-child(odd) { border-right: 1px solid var(--ahv2-line); }
.ahv2-kpi:nth-last-child(-n+2) { border-bottom: 0; }
.ahv2-kpi strong { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--ahv2-navy); }
.ahv2-kpi span { display: block; margin-top: 6px; font-size: 13px; }
@media (min-width: 992px) {
    .ahv2-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -56px; }
    .ahv2-kpi { padding: 30px 32px; border-bottom: 0; border-right: 1px solid var(--ahv2-line); }
    .ahv2-kpi:last-child { border-right: 0; }
    .ahv2-kpi strong { font-size: 40px; line-height: 1; }
    .ahv2-kpi span { font-size: 14px; margin-top: 8px; }
}

/* 2. About */
.ahv2-split { display: grid; gap: 24px; }
.ahv2-prose { display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.7; }
@media (min-width: 992px) {
    .ahv2-split { grid-template-columns: 5fr 6fr; gap: 96px; }
    .ahv2-prose { font-size: 17px; }
}

/* 3. Divisions */
.ahv2-divisions { display: grid; gap: 20px; }
.ahv2-division { background: var(--ahv2-white); border: 1px solid var(--ahv2-line); display: flex; flex-direction: column; scroll-margin-top: 120px; }
.ahv2-division-head { background: var(--ahv2-navy); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0; }
.ahv2-division-head-alt { background: var(--ahv2-navy-2); }
.ahv2-division-head span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ahv2-on-dark-muted); }
.ahv2-division-head h3 { color: var(--ahv2-white); font-size: 22px; margin-top: 4px; }
.ahv2-division-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.ahv2-division-body .ahv2-actions { margin-top: auto; }
.ahv2-list { border-bottom: 1px solid var(--ahv2-line); }
.ahv2-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--ahv2-line); font-size: 15px; line-height: 1.5; }
.ahv2-list li::before {
    content: ""; position: absolute; left: 3px; top: 18px; width: 12px; height: 6px;
    border-left: 2px solid var(--ahv2-red); border-bottom: 2px solid var(--ahv2-red); transform: rotate(-45deg);
}
.ahv2-footnote { margin-top: 24px; font-size: 14px; color: var(--ahv2-muted); }
@media (min-width: 992px) {
    .ahv2-divisions { grid-template-columns: 1fr 1fr; gap: 24px; }
    .ahv2-division-head { padding: 28px 40px; }
    .ahv2-division-head h3 { font-size: 28px; }
    .ahv2-division-body { padding: 32px 40px 40px; }
}

/* 4. Portfolio */
.ahv2-cats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ahv2-line); border-left: 1px solid var(--ahv2-line); }
.ahv2 .ahv2-cat {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    min-height: 56px; padding: 14px 20px;
    border-right: 1px solid var(--ahv2-line); border-bottom: 1px solid var(--ahv2-line);
    background: var(--ahv2-white); color: var(--ahv2-navy); font-weight: 600; font-size: 15px; line-height: 1.3;
    transition: background .2s;
}
.ahv2 .ahv2-cat:hover { background: var(--ahv2-grey); color: var(--ahv2-navy); }
.ahv2-arrow { color: var(--ahv2-red); transition: transform .2s; }
.ahv2-cat:hover .ahv2-arrow { transform: translateX(3px); }
.ahv2-products { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.ahv2-product { border: 1px solid var(--ahv2-line); display: flex; flex-direction: column; background: var(--ahv2-white); }
.ahv2-product-img { aspect-ratio: 16 / 9; background: var(--ahv2-grey); display: flex; align-items: center; justify-content: center; }
.ahv2-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ahv2-product-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.ahv2-product-body h3 { font-size: 20px; }
.ahv2-product-body p { font-size: 14px; line-height: 1.5; }
.ahv2-product-body .ahv2-link { margin-top: auto; padding-top: 8px; font-size: 14px; }
@media (min-width: 600px) {
    .ahv2-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ahv2-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .ahv2-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ahv2 .ahv2-cat { min-height: 72px; padding: 22px 24px; font-size: 16px; }
    .ahv2-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

/* 5. Quality */
.ahv2-pillars { display: grid; border-top: 1px solid var(--ahv2-navy-line); }
.ahv2-pillar { padding: 28px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--ahv2-navy-line); }
.ahv2-pillar h3 { font-size: 19px; }
.ahv2-pillar p { font-size: 15px; }
@media (min-width: 768px) {
    .ahv2-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ahv2-pillar { padding: 28px 28px 28px 0; }
    .ahv2-pillar:nth-child(even) { padding: 28px 0 28px 28px; border-left: 1px solid var(--ahv2-navy-line); }
}
@media (min-width: 1200px) {
    .ahv2-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ahv2-pillar, .ahv2-pillar:nth-child(even) { padding: 32px 28px 0; border-bottom: 0; border-left: 1px solid var(--ahv2-navy-line); }
    .ahv2-pillar:first-child { padding-left: 0; border-left: 0; }
    .ahv2-pillar:last-child { padding-right: 0; }
}

/* 6. Enquiry */
#enquire { scroll-margin-top: 100px; }
.ahv2-enquire-grid { display: grid; gap: 32px; }
.ahv2-enquire-copy { display: flex; flex-direction: column; gap: 14px; }
.ahv2-enquire-copy .ahv2-label { margin-bottom: 0; }
.ahv2-contact { background: var(--ahv2-white); border: 1px solid var(--ahv2-line); margin-top: 10px; }
.ahv2-contact > div { padding: 16px 22px; border-bottom: 1px solid var(--ahv2-line); }
.ahv2-contact > div:last-child { border-bottom: 0; }
.ahv2-contact dt { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ahv2-muted); }
.ahv2-contact dd { font-weight: 600; font-size: 16px; color: var(--ahv2-navy); }

.ahv2-form {
    background: var(--ahv2-white); border: 1px solid var(--ahv2-line); border-top: 4px solid var(--ahv2-navy);
    padding: 24px 20px; display: flex; flex-direction: column; gap: 18px;
}
.ahv2-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ahv2-seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.ahv2-seg legend { font-size: 13px; font-weight: 600; color: var(--ahv2-navy); margin: 0 0 10px; padding: 0; border: 0; width: auto; }
.ahv2-seg-row { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ahv2-input); border-radius: 4px; overflow: hidden; }
.ahv2-seg label { position: relative; margin: 0; cursor: pointer; font-weight: 600; }
.ahv2-seg label + label { border-top: 1px solid var(--ahv2-input); }
.ahv2-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ahv2-seg span {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 48px; padding: 6px 10px;
    background: var(--ahv2-white); color: var(--ahv2-navy); font-size: 14px; line-height: 1.2;
    transition: background .2s, color .2s;
}
.ahv2-seg input:checked + span { background: var(--ahv2-navy); color: var(--ahv2-white); }
.ahv2-seg input:focus-visible + span { outline: 3px solid var(--ahv2-peach); outline-offset: -3px; }
@media (min-width: 600px) {
    .ahv2-seg-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ahv2-seg label + label { border-top: 0; border-left: 1px solid var(--ahv2-input); }
}

.ahv2-fields { display: grid; gap: 16px; }
@media (min-width: 600px) { .ahv2-fields { grid-template-columns: 1fr 1fr; } }
.ahv2-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ahv2-navy); }
.ahv2-field input, .ahv2-field textarea, .ahv2-captcha input {
    font-family: var(--ahv2-font); font-size: 16px; font-weight: 400; color: var(--ahv2-navy);
    padding: 12px 14px; min-height: 48px; width: 100%;
    border: 1px solid var(--ahv2-input); border-radius: 4px; background: var(--ahv2-white); box-shadow: none;
}
.ahv2-field textarea { resize: vertical; min-height: 96px; }
.ahv2-field input:focus, .ahv2-field textarea:focus, .ahv2-captcha input:focus { border-color: var(--ahv2-navy); outline: none; }
.ahv2-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
.ahv2-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.ahv2-form-foot { display: flex; flex-direction: column; gap: 16px; }
.ahv2-captcha { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--ahv2-navy); }
.ahv2-captcha input { max-width: 140px; }
.ahv2-form-foot .ahv2-btn { width: 100%; }
@media (min-width: 600px) {
    .ahv2-form { padding: 40px; }
    .ahv2-form-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .ahv2-form-foot .ahv2-btn { width: auto; }
}
@media (min-width: 992px) {
    .ahv2-enquire-grid { grid-template-columns: 5fr 6fr; gap: 80px; }
}

/* Brand tagline in hero */
.ahv2-tagline { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--ahv2-on-dark-muted); }

/* ==========================================================================
   Inner pages (PCD franchise etc.)
   ========================================================================== */
.ahv2-page-hero { background: var(--ahv2-navy); color: var(--ahv2-on-dark); padding: 40px 0 48px; }
.ahv2-page-hero-grid { display: grid; gap: 32px; align-items: start; }
.ahv2-page-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.ahv2-page-hero .ahv2-label { margin-bottom: 0; }
.ahv2-page-hero h1 { color: var(--ahv2-white); font-size: 32px; line-height: 1.15; }
.ahv2-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ahv2-on-dark-muted); }
.ahv2 .ahv2-crumbs a { color: var(--ahv2-on-dark); }
.ahv2 .ahv2-crumbs a:hover { color: var(--ahv2-white); }
.ahv2-facts { background: var(--ahv2-white); border-top: 4px solid var(--ahv2-red); color: var(--ahv2-body); }
.ahv2 .ahv2-facts h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ahv2-muted); padding: 18px 22px 8px; }
.ahv2-facts dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 22px; border-top: 1px solid var(--ahv2-line); font-size: 14px; }
.ahv2-facts dt { font-weight: 400; color: var(--ahv2-muted); }
.ahv2-facts dd { font-weight: 600; color: var(--ahv2-navy); }
@media (min-width: 992px) {
    .ahv2-page-hero { padding: 72px 0 88px; }
    .ahv2-page-hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
    .ahv2-page-hero h1 { font-size: 48px; line-height: 1.1; }
}

.ahv2-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.ahv2-steps li { background: var(--ahv2-white); border: 1px solid var(--ahv2-line); border-top: 3px solid var(--ahv2-navy); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ahv2-step-no { font-size: 28px; font-weight: 700; color: var(--ahv2-red); line-height: 1; }
.ahv2-steps h3 { font-size: 19px; }
.ahv2-steps p { font-size: 15px; }
@media (min-width: 600px) { .ahv2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ahv2-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.ahv2-two-col { display: grid; gap: 40px; }
.ahv2-panel h2 { margin-bottom: 20px; }
.ahv2-panel .ahv2-small { margin-top: 16px; }
.ahv2-list strong { color: var(--ahv2-navy); font-weight: 600; }
@media (min-width: 992px) { .ahv2-two-col { grid-template-columns: 1fr 1fr; gap: 80px; } }

.ahv2-dark-note { margin-top: 14px; font-size: 15px; }
.ahv2-checklist { list-style: none; margin: 0; padding: 0; counter-reset: chk; border-top: 1px solid var(--ahv2-navy-line); }
.ahv2-checklist li { counter-increment: chk; position: relative; padding: 18px 0 18px 48px; border-bottom: 1px solid var(--ahv2-navy-line); }
.ahv2-checklist li::before { content: counter(chk, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-weight: 700; color: var(--ahv2-peach); }
.ahv2-checklist h3 { font-size: 17px; margin-bottom: 4px; }
.ahv2-checklist p { font-size: 15px; }

.ahv2-faq { border-top: 1px solid var(--ahv2-line); }
.ahv2-faq details { border-bottom: 1px solid var(--ahv2-line); }
.ahv2-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 600; font-size: 16px; color: var(--ahv2-navy); }
.ahv2-faq summary::-webkit-details-marker { display: none; }
.ahv2-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ahv2-red); flex-shrink: 0; }
.ahv2-faq details[open] summary::after { content: "\2212"; }
.ahv2-faq details p { padding: 0 0 18px; font-size: 15px; line-height: 1.7; max-width: 680px; }

@media (prefers-reduced-motion: reduce) {
    .ahv2 * { transition: none !important; }
}
