/*
Theme Name: Al Ghadeer Corporate
Author: Al Ghadeer Project Team
Description: Editable Arabic and English WordPress theme for the Al Ghadeer corporate B2B website.
Version: 6.2.12.3
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: alghadeer-corporate
*/

@font-face {
    font-family: Cairo;
    src: url("assets/fonts/cairo-ar.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
    font-family: Cairo;
    src: url("assets/fonts/cairo-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193;
}

:root {
    --ink: #0b1a15;
    --bar: #081611;
    --deep: #0c1f18;
    --forest: #122b21;
    --panel: #19372a;
    --gold: #e0be83;
    --gold-light: #f2d49c;
    --ivory: #f6f0e3;
    --muted: #c2cdc1;
    --line: #b3a07442;
    --shell: min(1280px, 100% - clamp(36px, 8vw, 128px));
    --header: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: calc(var(--header) + 18px); }
body, .editor-styles-wrapper {
    margin: 0;
    color: var(--ivory);
    background: var(--deep);
    font: 500 16px/1.8 Cairo, Tahoma, Arial, sans-serif;
}
body.agh-lang-en { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.65; }
img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-light); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 3.15rem); }
h3 { font-size: clamp(1.13rem, 1.65vw, 1.45rem); }
h4 { font-size: 1.06rem; }
p { color: var(--muted); }
ol, ul { padding-inline-start: 1.45em; }
.agh-shell { width: var(--shell); margin-inline: auto; }
.agh-main { min-block-size: 54vh; }
.agh-skip {
    position: fixed;
    inset-block-start: -5rem;
    inset-inline-start: 1rem;
    padding: .55rem .9rem;
    color: var(--ink);
    background: var(--gold-light);
    z-index: 1000;
}
.agh-skip:focus { inset-block-start: .65rem; color: var(--ink); }

.agh-header {
    min-block-size: var(--header);
    position: sticky;
    inset-block-start: 0;
    z-index: 20;
    background: var(--bar);
    border-block-end: 1px solid var(--line);
}
.admin-bar .agh-header { inset-block-start: 32px; }
.agh-header-inner { display: flex; min-block-size: var(--header); align-items: center; justify-content: space-between; gap: 24px; }
.agh-brand, .custom-logo-link { width: clamp(143px, 16.2vw, 196px); display: inline-block; flex: none; }
.agh-brand img, .custom-logo { width: 100%; max-height: 70px; object-fit: contain; }
.agh-nav { display: flex; }
.agh-menu { display: flex; align-items: center; gap: clamp(15px, 2.45vw, 37px); list-style: none; margin: 0; padding: 0; }
.agh-menu a { color: #e4e6dc; display: block; position: relative; padding-block: 13px; white-space: nowrap; font-size: .91rem; font-weight: 700; }
.agh-menu a:hover, .agh-menu a[aria-current="page"], .agh-menu .current-menu-item a { color: var(--gold-light); }
.agh-menu a[aria-current="page"]::after, .agh-menu .current-menu-item a::after {
    position: absolute;
    content: "";
    inset: auto 0 5px;
    border-block-end: 1px solid var(--gold);
}
.agh-header-actions { display: flex; gap: 12px; align-items: center; flex: none; }
.agh-language {
    min-inline-size: 42px;
    min-block-size: 42px;
    padding-inline: .65rem;
    display: grid;
    place-items: center;
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 800;
}
.agh-menu-toggle, .agh-header .agh-mobile-contact { display: none; }

.agh-btn, .agh-button, .wp-block-button__link {
    border: 1px solid transparent;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    line-height: 1.45;
    padding: 12px 20px;
    font-size: .91rem;
    font-weight: 800;
    border-radius: 2px;
    text-align: center;
    color: var(--ink);
    background: var(--gold);
    transition: background-color .18s, border-color .18s, color .18s;
}
.agh-btn:hover, .agh-button:hover, .wp-block-button__link:hover { color: var(--ink); background: var(--gold-light); }
.agh-btn--outline, .agh-button-outline {
    background: transparent;
    color: var(--gold-light);
    border-color: #caa96a82;
}
.agh-btn--outline:hover, .agh-button-outline:hover { background: #e0be8318; color: var(--gold-light); border-color: var(--gold); }
.agh-desktop-contact { min-height: 42px; padding: 8px 13px; }
.agh-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--gold-light);
    font-weight: 800;
    font-size: .95rem;
}
.agh-link:hover { color: #ffe6b6; text-decoration: underline; text-underline-offset: .36em; }
.agh-arrow {
    position: relative;
    display: inline-block;
    inline-size: 12px;
    block-size: 12px;
    flex: 0 0 12px;
    font-size: 0;
}
.agh-arrow::before {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}
.agh-arrow::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 13px;
    border-top: 1.5px solid currentColor;
    transform: rotate(-45deg);
}
[dir="rtl"] .agh-arrow { transform: scaleX(-1); }
.agh-kicker, .gh-eyebrow {
    color: var(--gold);
    font-size: .82rem;
    line-height: 1.65;
    font-weight: 800;
    margin-block-end: .85rem;
}
.agh-kicker::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    inline-size: 22px;
    block-size: 1px;
    background: currentColor;
    margin-inline-end: .65rem;
}
.agh-lead {
    max-inline-size: 695px;
    color: var(--muted);
    font-size: clamp(1.03rem, 1.5vw, 1.2rem);
    line-height: 1.85;
}

.agh-hero {
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
    min-height: clamp(515px, 45vw, 635px);
    background: #0a1a14;
    border-block-end: 1px solid var(--line);
    overflow: hidden;
}
.agh-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,26,20,.02) 23%, rgba(10,26,20,.15) 43%, #0a1a14 72%),
        linear-gradient(0deg, #091a13b3, transparent 36%);
    pointer-events: none;
}
.agh-lang-en .agh-hero::after {
    background: linear-gradient(270deg, rgba(10,26,20,.02) 23%, rgba(10,26,20,.18) 43%, #0a1a14 72%),
        linear-gradient(0deg, #091a13b3, transparent 36%);
}
.agh-hero > .agh-hero-photo {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 72%;
    height: 100%;
    margin: 0;
}
.agh-lang-ar .agh-hero > .agh-hero-photo { inset: 0 auto 0 0; }
.agh-hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 29% center; }
.agh-hero-copy { padding-block: clamp(55px, 6vw, 95px); }
.agh-hero-copy h1 {
    max-width: 820px;
    font-size: clamp(3.1rem, 6.1vw, 6.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-block: 1.05rem 1.45rem;
}
.agh-hero-copy h1 strong { color: var(--gold-light); font-weight: inherit; }
.agh-hero-copy .agh-lead { max-width: min(488px, 45%); color: #e2e4d9; }
.agh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.35rem; margin-block-start: 1.9rem; }

.agh-section { padding-block: clamp(58px, 7.15vw, 105px); }
.agh-hero + .agh-section { padding-block-start: clamp(53px, 5.25vw, 78px); }
.agh-section--forest, .agh-section-dark { background: var(--forest); }
.agh-section--deep, .agh-section-deep { background: var(--deep); }
.agh-section--panel { background: var(--panel); }
.agh-section--tight { padding-block: clamp(43px, 5.5vw, 74px); }
.agh-section-head {
    display: grid;
    grid-template-columns: 1.14fr .76fr;
    align-items: end;
    column-gap: clamp(20px, 7.6vw, 100px);
    row-gap: 10px;
    margin-block-end: 34px;
}
.agh-section-head > .agh-kicker { grid-column: 1 / -1; margin-block-end: 0; }
.agh-section-head > p:not(.agh-kicker) { padding-block-end: 3px; font-size: .98rem; }
.agh-section-head--compact { grid-template-columns: 1fr; margin-block-end: 24px; }
.agh-section-head--compact > p:not(.agh-kicker) { max-width: 670px; }
.agh-section-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-block-start: 29px; }
.agh-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 86px); }
.agh-split-copy > * + * { margin-block-start: 16px; }
.agh-split-copy > h2 { max-width: 620px; }
.agh-split-copy > .agh-kicker { margin-block-end: .65rem; }
.agh-split-copy > p { max-width: 620px; }
.agh-split-copy > .agh-section-actions { margin-block-start: 23px; }
.agh-photo img { width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.agh-photo { overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.agh-photo--port img { object-position: center 54%; }
.agh-note { margin-block: 18px 0; font-size: .9rem; color: var(--muted); }
.agh-stack > * + * { margin-block-start: 18px; }
.agh-stack > .agh-section-head { margin-block-end: 22px; }
.agh-prose { max-width: 1000px; }
.agh-prose > * + * { margin-block-start: 1.1em; }
.agh-prose > p, .agh-prose > ul { max-width: 775px; }
.agh-prose li + li { margin-block-start: 9px; }
.agh-prose a:not(.agh-btn) { color: var(--gold-light); text-decoration: underline; }

.agh-sector-grid, .agh-product-grid, .agh-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.9vw, 25px);
}
.agh-product-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agh-card {
    background: #0d241b;
    border: 1px solid var(--line);
    min-inline-size: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, background-color .2s;
}
.agh-card:hover { border-color: #d3b47e9e; background: #163026; }
.agh-card-media { background: var(--panel); aspect-ratio: 1.64; overflow: hidden; }
.agh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s; }
.agh-card:hover img { transform: scale(1.035); }
.agh-card--sector .agh-card-media { aspect-ratio: 1.63; }
.agh-card--sector .agh-card-media img { object-position: center 59%; }
.agh-card-body { padding: clamp(18px, 2vw, 26px); flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; }
.agh-card h3 { margin-block-end: .52rem; }
.agh-card p { margin-block-end: 1.2rem; color: var(--muted); font-size: .93rem; }
.agh-card .agh-link { margin-block-start: auto; font-size: .88rem; }
.agh-card .agh-link::after { content: ""; position: absolute; inset: 0; }
.agh-card:focus-within { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.agh-card--group .agh-card-media { aspect-ratio: 1.32; }
.agh-catalog-controls { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-block-end: 23px; }
.agh-filters { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.agh-filter { min-height: 42px; border: 1px solid var(--line); padding: 7px 15px; border-radius: 2px; background: #0e241c; color: var(--ivory); font-size: .88rem; font-weight: 700; }
.agh-filter:hover { border-color: var(--gold); }
.agh-filter[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.agh-count { font-size: .83rem; }
.agh-count:empty { display: none; }

.agh-info-grid, .agh-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.agh-info-grid > .wp-block-group, .agh-process > .wp-block-group { padding: 22px; border-block-start: 1px solid #ba9b6380; background: #10251e; }
.agh-info-grid h3, .agh-process h3 { margin-block-end: .65em; }
.agh-info-grid p, .agh-process p { font-size: .93rem; }
.agh-faq { max-width: 840px; }
.agh-faq .wp-block-details { border-block-start: 1px solid var(--line); padding: 14px 0; margin: 0; }
.agh-faq .wp-block-details:last-child { border-block-end: 1px solid var(--line); }
.agh-faq summary { cursor: pointer; min-height: 36px; font-size: 1.03rem; font-weight: 750; }
.agh-faq summary::marker { color: var(--gold); }
.agh-faq p { margin: 8px 0 4px; }
.agh-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 88px);
}
.agh-callout h2 { font-size: clamp(1.65rem, 3.5vw, 2.75rem); }
.agh-callout p { max-width: 690px; margin-block-start: 9px; }
.agh-callout > .agh-btn { flex: none; }

.agh-page-head {
    background: linear-gradient(135deg, #11281e, #1d3c2c);
    padding-block: clamp(42px, 6.2vw, 88px);
    border-block-end: 1px solid var(--line);
}
.agh-page-head h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); max-inline-size: 850px; margin-block: .85rem .95rem; }
.agh-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; font-size: .84rem; color: var(--muted); }
.agh-crumb a { color: var(--gold-light); }
.agh-crumb a:hover { text-decoration: underline; }
.agh-detail-head { display: grid; gap: clamp(22px, 5vw, 64px); align-items: center; }
.agh-detail-head--image { grid-template-columns: 1fr .8fr; }
.agh-detail-head .agh-btn { margin-block-start: 20px; }
.agh-detail-photo img { aspect-ratio: 1.52; object-fit: cover; width: 100%; border: 1px solid var(--line); }

.agh-contact-layout { display: grid; grid-template-columns: 1.48fr .78fr; gap: clamp(22px, 5vw, 72px); align-items: start; }
.agh-contact-panel { border: 1px solid var(--line); background: var(--panel); padding: clamp(18px, 3.3vw, 32px); }
.agh-contact-panel h3 { margin-block-end: 13px; }
.agh-contact-panel p + p { margin-block-start: 12px; }
.agh-contact-panel a, .agh-form-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: .24em; }
.agh-rfq { background: #10261e; border: 1px solid var(--line); padding: clamp(18px, 3.3vw, 34px); position: relative; }
.agh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
.agh-field-full { grid-column: 1 / -1; }
.agh-rfq label { font-size: .9rem; font-weight: 750; display: block; }
.agh-rfq :is(input:not([type="checkbox"]):not([type="hidden"]), textarea) {
    border: 1px solid #b1b6a158;
    border-radius: 2px;
    background: #0a1b14;
    color: var(--ivory);
    padding: 10px 12px;
    font-size: 1rem;
    width: 100%;
    margin-block-start: 5px;
}
.agh-rfq textarea { min-height: 106px; resize: vertical; }
.agh-rfq .agh-consent { display: flex; align-items: flex-start; gap: 9px; margin-block: 16px; font-size: .83rem; line-height: 1.65; }
.agh-consent input { margin-block-start: 4px; accent-color: var(--gold); }
.agh-form-note { margin-block: 13px 0; font-size: .84rem; }
.agh-honeypot { position: absolute; inset-inline-start: -100vw; width: 1px; height: 1px; overflow: hidden; }
.agh-form-message, .agh-demo-output { border: 1px solid var(--line); padding: 14px 17px; margin-block: 0 16px; color: var(--ivory); background: var(--panel); }
.agh-form-message--error { border-color: #e6b398; }
.agh-demo-output { margin-block: 15px 0; }
.agh-demo-output pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.agh-demo-output button { margin-block-start: 12px; }
.agh-demo-output .agh-form-note { margin-block-start: 8px; }
.agh-footer { background: var(--bar); padding-block: clamp(37px, 5vw, 60px) 18px; border-block-start: 1px solid var(--line); }
.agh-footer-main { display: grid; grid-template-columns: 1.45fr 1fr 1fr .9fr; gap: 22px 32px; align-items: start; }
.agh-footer-brand img { max-height: 66px; }
.agh-footer-brand p { max-width: 360px; margin-block-start: 11px; color: var(--muted); font-size: .88rem; }
.agh-footer-main h2 { font-size: .96rem; color: var(--gold-light); margin-block: 8px 10px; }
.agh-footer-link { display: block; color: #dde1d5; font-size: .87rem; margin-block: 5px; overflow-wrap: anywhere; }
.agh-footer-link .agh-arrow { display: none; }
.agh-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; margin-block-start: 29px; padding-block-start: 16px; border-block-start: 1px solid var(--line); font-size: .77rem; color: var(--muted); }

@media (max-width: 1160px) {
    .agh-menu { gap: 18px; }
    .agh-menu a { font-size: .845rem; }
    .agh-header-inner { gap: 13px; }
}

@media (max-width: 1180px) {
    :root { --header: 72px; }
    .agh-header-inner { flex-wrap: wrap; }
    .agh-header .agh-desktop-contact { display: none; }
    .agh-nav { order: 3; flex-basis: 100%; }
    .agh-menu { flex-wrap: wrap; }
    .agh-js .agh-header-inner { flex-wrap: nowrap; }
    .agh-js .agh-nav {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        background: var(--bar);
        padding: 13px max(18px, 4vw) 21px;
        border-block-end: 1px solid var(--line);
        box-shadow: 0 12px 24px #0005;
    }
    .agh-js .agh-header-inner:has(.agh-menu-toggle[aria-expanded="true"]) .agh-nav { display: block; }
    .agh-js .agh-menu { display: grid; gap: 0; }
    .agh-js .agh-menu li { border-block-end: 1px solid #b1b6a130; }
    .agh-js .agh-menu a { padding-block: 10px; min-height: 45px; }
    .agh-js .agh-menu a[aria-current="page"]::after { display: none; }
    .agh-js .agh-menu-toggle {
        display: grid;
        place-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        color: var(--gold-light);
        border: 1px solid var(--line);
        border-radius: 2px;
    }
    .agh-menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }
    .agh-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
    .agh-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
    .agh-header .agh-mobile-contact { display: inline-flex; margin-block-start: 15px; }
    .agh-product-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
    .admin-bar .agh-header { inset-block-start: 0; }
}
@media (max-width: 720px) {
    .agh-hero { min-height: 0; align-items: start; }
    .agh-hero-copy { padding-block: clamp(41px, 9vw, 68px) clamp(165px, 41vw, 292px); }
    .agh-hero-copy h1 { margin-block: .75rem 1rem; font-size: clamp(2.5rem, 9.5vw, 4.65rem); }
    .agh-hero-copy .agh-lead { max-width: 490px; font-size: .99rem; line-height: 1.78; }
    .agh-hero-actions { margin-block-start: 1.35rem; }
    .agh-hero > .agh-hero-photo, .agh-lang-ar .agh-hero > .agh-hero-photo { inset: auto 0 0; width: 100%; height: 55%; }
    .agh-hero-photo img { object-position: 36% 55%; }
    .agh-hero::after, .agh-lang-en .agh-hero::after {
        background: linear-gradient(180deg, #0a1a14 46%, #0a1a14e0 58%, transparent 85%),
            linear-gradient(0deg, #0a1a147d, transparent 24%);
    }
    .agh-section-head, .agh-split, .agh-detail-head--image, .agh-contact-layout { grid-template-columns: 1fr; }
    .agh-sector-grid { grid-template-columns: 1fr; }
    .agh-card--sector .agh-card-media { aspect-ratio: 2.12; }
    .agh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agh-info-grid, .agh-process { grid-template-columns: 1fr; gap: 12px; }
    .agh-callout { flex-direction: column; align-items: flex-start; }
    .agh-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agh-footer-brand { grid-column: span 2; }
}
@media (max-width: 440px) {
    .agh-menu { gap: 9px 17px; }
    .agh-header .agh-brand, .agh-header .custom-logo-link { width: 143px; }
    .agh-kicker { font-size: .76rem; }
    .agh-btn { padding-inline: 14px; }
    .agh-card-body { padding: 13px; }
    .agh-card h3 { font-size: 1.1rem; }
    .agh-card p { font-size: .83rem; margin-block-end: .75rem; }
    .agh-form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Corporate catalogue and enquiry tools. */
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
}
.agh-topbar { background: #06110d; border-bottom: 1px solid #b3a07428; font-size: .73rem; color: #bdc7b7; }
.agh-topbar > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 6px; }
.agh-topbar a { color: var(--gold); }
.agh-header .agh-desktop-contact { background: var(--gold); color: var(--ink); }
.agh-card { border-radius: 5px; }
.agh-card .agh-link::after { display: none; }
.agh-card .agh-card-actions { margin-block-start: auto; }
.agh-card--sector .agh-link::after { display: block; }
.agh-card-body .agh-state {
    font-size: .72rem;
    color: var(--gold-light);
    margin-block-end: 9px;
    line-height: 1.55;
}
.agh-card h3 a:hover { color: var(--gold-light); }
.agh-card-actions { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block-start: 4px; }
.agh-card-actions .agh-link { font-size: .82rem; margin-block: 0; }
.agh-spec-button {
    border: 1px solid var(--line);
    color: var(--ivory);
    background: transparent;
    padding: 8px 11px;
    min-height: 40px;
    font-size: .81rem;
    font-weight: 700;
    border-radius: 2px;
}
.agh-spec-button:hover { border-color: var(--gold); }
.agh-search { margin-inline-start: auto; }
.agh-search input {
    color: var(--ivory);
    background: #0e241c;
    min-height: 42px;
    border: 1px solid var(--line);
    padding: 8px 13px;
    width: min(260px, 100%);
    border-radius: 2px;
}
.agh-search input::placeholder { color: #b6c2b1; }
.agh-count { min-inline-size: 100px; }
.agh-dialog-open { overflow: hidden; }
.agh-product-dialog {
    position: fixed;
    width: min(620px, calc(100% - 32px));
    max-height: min(88svh, 880px);
    margin: auto;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid #b69a62a0;
    border-radius: 7px;
    background: #10291e;
    color: var(--ivory);
    font: inherit;
    box-shadow: 0 24px 100px #0007;
    overflow-y: auto;
}
.agh-product-dialog::backdrop { background: #031009d9; backdrop-filter: blur(4px); }
.agh-dialog-head { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; margin-block-end: 10px; }
.agh-dialog-head h2 { font-size: clamp(1.5rem, 3.3vw, 2rem); }
.agh-dialog-close {
    min-width: 40px;
    min-height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--gold-light);
    font: 28px/1 Arial, sans-serif;
    border-radius: 50%;
    flex: none;
}
.agh-dialog-intro { margin-bottom: 18px; font-size: .93rem; }
.agh-specs { border-collapse: collapse; width: 100%; color: var(--ivory); margin-block: 20px; font-size: .91rem; }
.agh-specs caption { text-align: start; font-weight: 800; color: var(--gold-light); margin-block-end: 10px; }
.agh-specs th, .agh-specs td { text-align: start; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; line-height: 1.7; }
.agh-specs th { width: 34%; font-weight: 700; background: #e0be8308; }
.agh-specs td { color: var(--muted); }
.agh-packing-title { color: var(--ivory); font-weight: 700; }
.agh-pack-list { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin-block: 10px; }
.agh-pack-list li { padding: 5px 12px; border: 1px solid var(--line); font-size: .84rem; }
.agh-dialog-actions { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 18px; margin-block-start: 26px; padding-block-start: 18px; border-top: 1px solid var(--line); }

.agh-request-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(22px, 4.8vw, 65px); align-items: start; }
.agh-request .agh-form-grid { gap: 15px 18px; }
.agh-request fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.agh-request fieldset + fieldset { margin-block-start: 28px; }
.agh-request fieldset legend { font-size: 1.24rem; font-weight: 800; margin-bottom: 22px; padding: 0; line-height: 1.5; }
.agh-js .agh-request fieldset { margin: 0; }
.agh-request .agh-form-grid label { font-size: .86rem; line-height: 1.65; }
.agh-request select {
    width: 100%;
    border: 1px solid #b1b6a158;
    border-radius: 2px;
    background: #0a1b14;
    color: var(--ivory);
    padding: 10px 12px;
    margin-block-start: 5px;
    min-height: 49px;
    max-inline-size: 100%;
    font-size: .94rem;
}
.agh-request-steps {
    display: flex;
    gap: 10px;
    margin: 0 0 27px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .85rem;
}
.agh-request-steps li { flex: 1; padding-block-end: 9px; border-bottom: 2px solid var(--line); }
.agh-request-steps li[aria-current="step"] { border-bottom-color: var(--gold); color: var(--gold-light); font-weight: 800; }
.agh-type-options { display: flex; gap: 8px; margin-bottom: 22px; }
.agh-type-options label { flex: 1; position: relative; }
.agh-type-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agh-type-options span {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px 7px;
    font-size: .78rem;
    line-height: 1.6;
    min-height: 54px;
    border: 1px solid var(--line);
    color: #e0e3d6;
    background: #0c1e17;
    border-radius: 2px;
}
.agh-type-options input:checked + span { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.agh-type-options input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.agh-enquiry-review { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: .94rem; line-height: 1.8; max-height: 430px; overflow-y: auto; padding: 18px; border: 1px solid var(--line); background: #0a1b14; }
.agh-wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.agh-wizard-nav [data-agh-next] { margin-inline-start: auto; }
.agh-form-submit { display: flex; flex-wrap: wrap; gap: 10px; }
.agh-request-summary { padding: clamp(20px, 3vw, 35px); border: 1px solid var(--line); background: #1a392a; position: sticky; top: calc(var(--header) + 24px); }
.agh-request-summary h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 18px; }
.agh-request-summary dl { margin: 0; }
.agh-request-summary dl > div { display: grid; grid-template-columns: .8fr 1.3fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .87rem; }
.agh-request-summary dt { color: var(--muted); }
.agh-request-summary dd { margin: 0; color: var(--ivory); font-weight: 700; overflow-wrap: anywhere; }
.agh-request-summary > p:last-child { font-size: .86rem; margin-top: 20px; }
.agh-contact-panel > .agh-link { display: flex; margin-top: 16px; font-size: .9rem; text-decoration: none; }
.agh-floating-contact { position: fixed; inset-inline-start: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; background: #194b32; color: var(--ivory); border: 1px solid #b6a37486; border-radius: 50px; padding: 11px 18px; box-shadow: 0 8px 35px #0005; font-size: .8rem; font-weight: 750; z-index: 10; }
.agh-wa-summary { background: transparent; border: 0; margin-top: 18px; padding: 0; font-size: .86rem; text-align: start; }
.agh-request [disabled] { opacity: .65; cursor: wait; }
@media (max-width: 1180px) {
    .agh-topbar { display: none; }
    .agh-js .agh-nav { max-height: calc(100svh - var(--header)); overflow-y: auto; overscroll-behavior: contain; }
    .agh-request-layout { grid-template-columns: 1.5fr 1fr; gap: 23px; }
    .agh-request-summary { padding: 23px; }
}
@media (max-width: 780px) {
    .agh-request-layout { grid-template-columns: 1fr; }
    .agh-request-summary { position: static; }
    .agh-search { margin-inline-start: 0; flex: 1 1 100%; }
    .agh-search input { width: 100%; }
    .agh-count { margin-inline-start: auto; }
}
@media (max-width: 440px) {
    .agh-type-options { flex-direction: column; }
    .agh-type-options span { min-height: 43px; }
    .agh-product-grid--featured .agh-card-actions, .agh-product-grid .agh-card-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
    .agh-card-actions .agh-link { min-height: 30px; }
    .agh-product-dialog { padding: 20px; }
    .agh-dialog-actions { align-items: stretch; flex-direction: column; }
    .agh-specs { font-size: .82rem; }
    .agh-specs td, .agh-specs th { padding: 9px; }
}

/* Version 4 — customer routes, disclosure navigation and sample enquiries. */
.agh-arrow { display: none; }
.agh-menu > li { position: relative; }
.agh-menu .menu-item-has-children { display: flex; align-items: center; gap: 2px; }
.agh-menu .sub-menu { display: none; position: absolute; inset-block-start: calc(100% + 4px); inset-inline-start: 0; z-index: 30; min-width: 270px; max-width: min(330px, 88vw); padding: 10px; margin: 0; list-style: none; background: var(--bar); border: 1px solid var(--line); box-shadow: 0 18px 44px #0005; }
.agh-menu .sub-menu a { padding: 11px 14px; white-space: normal; font-size: .94rem; border-radius: 3px; }
.agh-menu .sub-menu a:hover, .agh-menu .sub-menu a:focus-visible { background: var(--panel); }
.agh-menu .sub-menu a[aria-current]::after { display: none; }
html:not(.agh-js) .menu-item-has-children:hover > .sub-menu,
html:not(.agh-js) .menu-item-has-children:focus-within > .sub-menu { display: block; }
.agh-submenu-toggle { min-width: 40px; min-height: 44px; display: grid; place-items: center; background: none; color: var(--gold); border: 0; padding: 10px; }
.agh-submenu-toggle::before { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-block-end: 4px; }
.agh-submenu-toggle[aria-expanded="true"]::before { transform: rotate(225deg); margin-block-start: 8px; }
.agh-submenu-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.agh-menu a { font-size: .94rem; }
.agh-menu { gap: clamp(12px, 1.8vw, 26px); }
.agh-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 28px; align-items: center; }
.agh-detail-actions > .agh-btn { margin: 0; }
.agh-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agh-solutions-grid, .agh-markets-grid, .agh-journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.agh-solution-card, .agh-market-card, .agh-download-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; padding: clamp(20px, 2.3vw, 30px); border: 1px solid var(--line); background: #0b211a66; border-radius: 5px; }
.agh-solution-card { padding: 22px 18px; }
.agh-solution-card h3, .agh-market-card h3 { font-size: 1.14rem; }
.agh-solution-card p, .agh-market-card p { font-size: .96rem; }
.agh-solution-card .agh-btn, .agh-market-card .agh-btn { margin-block-start: auto; font-size: .9rem; padding: 9px 12px; min-height: 46px; text-align: start; }
.agh-solution-card:target { outline: 2px solid var(--gold); outline-offset: 5px; }
.agh-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.agh-download-card { background: var(--panel); }
.agh-download-card .agh-btn { margin-block-start: auto; }
.agh-journey-grid .agh-info-card { padding: 24px 18px; border-inline-start: 2px solid var(--gold); border-block-start: 0; }
.agh-journey-grid h3 { font-size: 1.15rem; margin-block-end: 14px; }
.agh-journey-grid p { font-size: .96rem; }
.agh-footer-main > div > p { margin-block: 12px; }
.agh-rfq select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23e0be83' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px 16px; background-position: left 14px center; background-repeat: no-repeat; padding-inline-end: 38px; }
[dir="ltr"] .agh-rfq select { background-position: right 14px center; }

.agh-sample-fields { padding: 20px; background: var(--panel); border-inline-start: 2px solid var(--gold); }
.agh-sample-fields .agh-form-note { margin-block-start: 12px; }
.agh-request-summary dl > div { padding-block: 10px; }
.agh-card-actions { flex-wrap: wrap; }
.agh-dialog-actions { flex-wrap: wrap; }
@media (max-width: 1180px) {
    .agh-solutions-grid, .agh-markets-grid, .agh-journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
    .agh-menu .menu-item-has-children { display: grid; grid-template-columns: 1fr 48px; gap: 0; }
    .agh-menu .sub-menu { grid-column: 1/-1; position: static; min-width: 0; width: 100%; max-width: none; border: 0; border-inline-start: 1px solid var(--line); box-shadow: none; padding: 0 12px 12px; background: transparent; }
    .agh-js .agh-menu .sub-menu li { border-block-end: 0; }
    .agh-menu .sub-menu a { font-size: .94rem; padding-inline: 16px; }
    .agh-menu .sub-menu .sub-menu { padding-inline-start: 12px; }
    .agh-submenu-toggle { justify-self: stretch; }
    html:not(.agh-js) .agh-menu .sub-menu { display: block; }
    .agh-product-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
    .agh-solutions-grid, .agh-markets-grid, .agh-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agh-download-grid { grid-template-columns: 1fr; }
    .agh-dialog-actions .agh-btn { width: 100%; }
}
@media (max-width: 480px) {
    .agh-solutions-grid, .agh-markets-grid, .agh-journey-grid { grid-template-columns: 1fr; }
    .agh-solution-card { gap: 12px; }
    .agh-solution-card .agh-btn { min-height: 44px; }
    .agh-detail-actions > .agh-btn { width: 100%; justify-content: center; }
    .agh-product-grid, .agh-product-grid--featured { grid-template-columns: 1fr; }
}

/* V5: a readable catalogue, four business divisions and clear mobile actions. */
.agh-section--ivory,.agh-section.ivory,.agh-ivory { background: var(--ivory); color:var(--ink); }
.agh-section--ivory p,.agh-section.ivory p,.agh-ivory p { color:#42584c; }
.agh-section--ivory h2,.agh-section.ivory h2,.agh-ivory h2 { color:var(--ink); }
.agh-section--ivory .agh-kicker,.agh-section.ivory .agh-kicker,.agh-ivory .agh-kicker { color:#78602e; }
.agh-section--ivory .agh-card,.agh-section.ivory .agh-card,.agh-ivory .agh-card { background:#fffdf8;color:var(--ink);border-color:#19372a26;box-shadow:0 12px 25px #19372a08; }
.agh-section--ivory .agh-card a:hover,.agh-ivory .agh-card a:hover {color:#756027;}
.agh-card--group .agh-state {color:#3e5a49;font-size:.875rem;line-height:1.6;}
.agh-card-alt {font-size:.875rem;min-height:1.4em;}
.agh-ivory .agh-btn--outline,.agh-section--ivory .agh-btn--outline {border-color:#44604b;color:#183c28;}
.agh-ivory .agh-btn--outline:hover,.agh-section--ivory .agh-btn--outline:hover{background:#183c28;color:#fff;}
.agh-catalog-controls{margin-block:0 32px;padding:24px;background:#fffdf8;color:var(--ink);border:1px solid #19372a26;}
.agh-catalog-controls .agh-search{display:block;width:100%;margin-block-end:20px;}
.agh-catalog-controls label{display:block;font-size:1rem;}
.agh-catalog-controls input,.agh-catalog-controls select{background:#fff;color:var(--ink);border:1px solid #62786870;border-radius:3px;width:100%;min-height:48px;padding:10px 14px;}
.agh-catalog-controls select{appearance:none;padding-inline-end:36px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2319372a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat left 12px center;}
[dir=ltr] .agh-catalog-controls select{background-position:right 12px center;}
.agh-catalog-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.agh-filter-result{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-start:20px;flex-wrap:wrap;}
.agh-filter-reset{background:none;color:#254d35;border:1px solid #44604b;padding:8px 16px;min-height:44px;}
.agh-spec-button{font-size:.9rem;min-height:44px;color:inherit;}
.agh-catalog-controls :focus-visible,.agh-ivory :focus-visible {outline-color:#705922;}
.agh-sector-grid,.agh-solutions-grid,.agh-journey-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.agh-sector-grid .agh-card h3{font-size:1.18rem;}
.agh-product-content{background:#fffdf8;color:var(--ink);padding:clamp(24px,5vw,60px);margin-block:40px;border-radius:4px;}
.agh-product-content p,.agh-product-content li{color:#42584c;}
.agh-product-content h2,.agh-product-content h3{color:var(--ink);}
.agh-product-content .agh-specs th,.agh-product-content .agh-specs td{background:#edf1e9;color:#183c28;border-color:#62786850;}
.agh-detail-alt{color:var(--gold);margin-block-start:12px;}
.agh-receipt{max-width:760px;padding:clamp(24px,5vw,50px);border:1px solid var(--line);background:var(--forest);}
.agh-reference{font-size:clamp(1.1rem,3vw,1.5rem);color:var(--gold);letter-spacing:.04em;margin-block:24px;overflow-wrap:anywhere;}
.agh-menu{gap:clamp(8px,1vw,16px);}.agh-header-inner{gap:16px;}.agh-header-actions{gap:14px;}
.agh-menu a{font-size:.875rem;}.agh-submenu-toggle{min-width:32px;}
@media(max-width:1180px){.agh-sector-grid,.agh-solutions-grid,.agh-journey-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.agh-brand{width:150px;}.agh-header-actions>.agh-desktop-contact{padding-inline:14px;font-size:.875rem;}}
@media(max-width:740px){.agh-catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.agh-catalog-controls{padding:18px;}.agh-topbar .agh-shell{gap:8px;}.agh-topbar span:first-child{max-width:62%;}.agh-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.agh-type-options label{min-width:0;}.agh-type-options span{font-size:.9rem;text-align:center;}}
@media(max-width:480px){.agh-sector-grid,.agh-solutions-grid,.agh-journey-grid{grid-template-columns:1fr;}.agh-catalog-filter-grid{gap:12px;}.agh-header-actions>.agh-desktop-contact{display:inline-flex;font-size:.75rem;padding:8px;min-height:40px;}.agh-brand{width:123px;}.agh-header-inner{gap:8px;}.agh-header-actions{gap:8px;}.agh-language{padding:8px;}.agh-topbar{font-size:.75rem;}.agh-topbar .agh-shell{flex-wrap:wrap;justify-content:space-between;}.agh-topbar span:first-child{max-width:100%;}.agh-catalog-controls label{font-size:.875rem;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{transition:none!important;animation:none!important;}}

@media(max-width:480px){.agh-header-actions .agh-desktop-contact{max-inline-size:100px;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.4;}.agh-header-actions{min-width:0;}.agh-language{flex-shrink:0;}}

/* V6: service routes and extended catalogue, using the retained palette. */
.agh-v6-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.agh-v6-service-grid .agh-solution-card{padding:2rem;background:#172e27;border:1px solid #506154;border-radius:4px}
.agh-advanced-filters{margin-block:1.2rem;border-block:1px solid #526657;padding-block:.8rem}
.agh-advanced-filters summary{cursor:pointer;font-weight:600;padding:.5rem 0;color:inherit;font-size:1rem}
.agh-advanced-filters[open] .agh-catalog-filter-grid{margin-block-start:1rem}
.agh-organic{display:inline-block;background:#1b5743;color:#fff9e9;border:1px solid #b5bd80;padding:.3rem .7rem;border-radius:4px;font-size:.9rem;margin-block-end:1rem}
.agh-document-list li{padding:1rem;border-bottom:1px solid #78907f}
.agh-catalog-controls .agh-catalog-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.agh-catalog-controls .agh-note{max-width:75ch}
.agh-industrial-fields{border-top:1px solid #677b6d;margin-block-start:1rem;padding-block-start:1.5rem}
@media(max-width:780px){.agh-v6-service-grid{grid-template-columns:1fr}.agh-catalog-controls .agh-catalog-filter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.agh-catalog-controls .agh-catalog-filter-grid{grid-template-columns:1fr}.agh-v6-service-grid .agh-solution-card{padding:1.4rem}}
