/* =====================================================================
   AXIS — calm layer (2026-11-15)
   Loaded LAST on every page (EN + AR). Goal: simple, quiet pages in the
   smartkernel structure — one light background, one gap between
   sections, plain headings, hairlines instead of boxes, square corners.
   1. tokens + type      2. home sections      3. inner pages
   4. footer             5. responsive         (RTL handled inline via
   logical properties + [dir="rtl"] selectors)
   ===================================================================== */

/* 1. tokens + type --------------------------------------------------- */
:root {
    --ax-bg: #F6F5ED;
    --ax-panel: #FFFFFF;
    --ax-ink: #0D1B2A;
    --ax-text: #5B6168;
    --ax-muted: #8A8F94;
    --ax-accent: #007A7A;
    --ax-line: rgba(13, 27, 42, .12);
    --ax-gap: 72px;
    --ax-mgmt: #E8620A; --ax-wash: #007A7A; --ax-tech: #6A2AA0; --ax-mach: #C9952A;
    --accent-font: "Poppins", sans-serif;
}
html[dir="rtl"] { --accent-font: "Cairo", sans-serif; }

body { background: var(--ax-bg); color: var(--ax-text); }
h1, h2, h3, h4, h5, h6 { font-family: var(--accent-font); letter-spacing: -.01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6 { letter-spacing: 0; }

.ax-h2 {
    font-family: var(--accent-font); font-weight: 500; color: var(--ax-ink);
    font-size: clamp(26px, 2.4vw, 38px); line-height: 1.22; margin: 0 0 20px;
    max-width: 22ch;
}
html[dir="rtl"] .ax-h2 { font-weight: 600; line-height: 1.45; }
.ax-lead { font-size: 18px; line-height: 1.65; color: var(--ax-ink); }
.ax-home p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.ax-home .ax-lead { font-size: 18px; }
.ax-link {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
    font-weight: 600; font-size: 15px; color: var(--ax-ink); text-decoration: none;
}
.ax-link::after { content: "→"; color: var(--ax-accent); transition: transform .25s ease; }
html[dir="rtl"] .ax-link::after { content: "←"; }
a.ax-link:hover::after, a:hover > .ax-body .ax-link::after, .ax-div:hover .ax-link::after { transform: translateX(4px); }
html[dir="rtl"] .ax-div:hover .ax-link::after, html[dir="rtl"] a.ax-link:hover::after { transform: translateX(-4px); }

/* 2. home sections ----------------------------------------------------- */
.ax-home { display: block; }
.ax-sec { padding: var(--ax-gap) 0; }
.ax-sec + .ax-sec:not(.ax-band) { padding-top: 0; }           /* one gap, never doubled */
.ax-band { background: var(--ax-panel); }
.ax-band + .ax-sec:not(.ax-band) { padding-top: var(--ax-gap); }
.ax-head { margin-bottom: 40px; }
.ax-head-center { text-align: center; }
.ax-head-center .ax-h2 { margin-inline: auto; max-width: 32ch; }

/* intro */
.ax-intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.ax-intro-text p:not(.ax-lead) { max-width: 60ch; }
.ax-intro-media { position: relative; margin: 0; }
.ax-intro-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.ax-chip {
    position: absolute; inset-inline-start: 24px; bottom: 24px; max-width: 230px;
    background: var(--ax-panel); padding: 16px 18px; color: var(--ax-ink);
    border-top: 3px solid var(--ax-accent);
}
.ax-chip strong { display: block; font-family: var(--accent-font); font-weight: 500; font-size: 30px; line-height: 1; margin-bottom: 6px; }
.ax-chip span { font-size: 14px; line-height: 1.45; display: block; }

/* divisions */
.ax-div-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ax-line); border-inline-start: 1px solid var(--ax-line); }
.ax-div {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    border-inline-end: 1px solid var(--ax-line); border-bottom: 1px solid var(--ax-line);
    background: var(--ax-panel); transition: background .25s ease;
}
.ax-div:hover { background: #FBFAF6; }
.ax-div-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 3px solid var(--div, var(--ax-accent)); }
.ax-div-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ax-div:hover .ax-div-img img { transform: scale(1.04); }
.ax-div-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 26px; }
.ax-div-no { font-size: 13px; font-weight: 600; color: var(--div); margin-bottom: 10px; }
.ax-div-title { font-family: var(--accent-font); font-weight: 500; font-size: 21px; color: var(--ax-ink); line-height: 1.25; }
html[dir="rtl"] .ax-div-title { font-weight: 600; }
.ax-div-tag { font-size: 13px; color: var(--ax-muted); line-height: 1.5; margin: 6px 0 14px; }
.ax-div-desc { font-size: 15px; line-height: 1.65; color: var(--ax-text); flex: 1; margin-bottom: 16px; }
.ax-div .ax-link { margin-top: auto; }
.ax-div-mgmt { --div: var(--ax-mgmt); } .ax-div-wash { --div: var(--ax-wash); }
.ax-div-tech { --div: var(--ax-tech); } .ax-div-mach { --div: var(--ax-mach); }
.ax-note { text-align: center; margin: 32px 0 0 !important; font-size: 15px; }
.ax-note a { color: var(--ax-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ax-accent); }

/* numbers */
.ax-num-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ax-num-row li { text-align: center; padding: 6px 16px; }
.ax-num-row li + li { border-inline-start: 1px solid var(--ax-line); }
.ax-num-row strong { display: block; font-family: var(--accent-font); font-weight: 500; font-size: clamp(32px, 3.2vw, 46px); color: var(--ax-ink); line-height: 1.1; margin-bottom: 8px; white-space: nowrap; }
.ax-num-row em { font-style: normal; color: var(--ax-accent); }
.ax-num-row span { font-size: 14px; color: var(--ax-text); }

/* why */
.ax-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ax-why-item { background: var(--ax-panel); padding: 30px 28px 32px; border-top: 3px solid var(--ax-accent); }
.ax-ico { width: 34px; height: 34px; color: var(--ax-accent); margin-bottom: 18px; display: block; }
.ax-why-item h3 { font-weight: 500; font-size: 20px; color: var(--ax-ink); margin: 0 0 12px; line-height: 1.3; }
html[dir="rtl"] .ax-why-item h3 { font-weight: 600; }
.ax-why-item p { font-size: 15px; line-height: 1.7; margin: 0; }
.ax-quote { margin: 48px auto 0; max-width: 780px; text-align: center; }
.ax-quote blockquote { font-size: 20px; line-height: 1.6; color: var(--ax-ink); margin: 0 0 14px; font-style: normal; }
.ax-quote figcaption { font-size: 14px; color: var(--ax-muted); }

/* presence */
.ax-presence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ax-countries { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ax-line); }
.ax-countries li { padding: 10px 0; border-bottom: 1px solid var(--ax-line); font-size: 15px; color: var(--ax-ink); }
.ax-countries li.is-hq { font-weight: 600; }
.ax-countries li.is-hq::after { content: " · HQ"; color: var(--ax-accent); font-weight: 600; }
html[dir="rtl"] .ax-countries li.is-hq::after { content: none; }
.ax-map { position: relative; background: var(--ax-panel); padding: 0; border: 1px solid var(--ax-line); border-radius: 0; overflow: hidden; }
.ax-map .axis-map-inner { position: relative; width: 100%; overflow: hidden; line-height: 0; touch-action: pan-y; }
.ax-map .axis-map-inner img.axis-map-base { position: absolute; top: 0; left: 0; max-width: none; height: auto; display: block; }
.ax-map .axis-map-stage { position: absolute; inset: 0; transform-origin: 0 0; cursor: grab; will-change: transform; user-select: none; }
.ax-map .axis-map-stage.grabbing { cursor: grabbing; }
.ax-map .axis-map-controls { position: absolute; top: 12px; right: 12px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.ax-map .axis-map-controls button { width: 34px; height: 34px; border: 1px solid var(--ax-line); background: var(--ax-panel); color: var(--ax-ink); font-size: 17px; line-height: 1; cursor: pointer; border-radius: 0; }
.ax-map .axis-map-controls button:hover { border-color: var(--ax-ink); }
.ax-map .axis-map-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 6; font-size: 12px; line-height: 1.4; color: var(--ax-muted); white-space: nowrap; transition: opacity .3s; }
.ax-map .axis-map-inner.is-zoomed .axis-map-hint { opacity: 0; }
.ax-map .map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.ax-map .pin-scale { display: block; transform: scale(var(--pz, 1)); transform-origin: center; }
.ax-map .pin-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--ax-accent); box-shadow: 0 0 0 3px rgba(0,122,122,.18); }
.ax-map .map-pin.hq .pin-dot { background: var(--ax-ink); box-shadow: 0 0 0 4px rgba(13,27,42,.15); width: 12px; height: 12px; }
.ax-map .pin-label { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 11px; font-weight: 600; line-height: 1; color: var(--ax-ink); white-space: nowrap; pointer-events: none; background: rgba(255,255,255,.85); padding: 3px 5px; }
.ax-map .map-pin.lbl-below .pin-label { bottom: auto; top: 14px; }
.ax-map .map-pin:hover { z-index: 5; }
.ax-map .pin-label { opacity: 0; transition: opacity .2s; }
.ax-map .map-pin.hq .pin-label, .ax-map .map-pin:hover .pin-label { opacity: 1; }

/* closing banner (navy, like smartkernel) */
.ax-cta { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ax-ink); color: #fff; overflow: hidden; }
.ax-cta-text { padding: 56px 56px 52px; }
.ax-cta h2 { color: #fff; font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; margin: 0 0 16px; }
html[dir="rtl"] .ax-cta h2 { font-weight: 600; line-height: 1.4; }
.ax-cta p { color: rgba(255,255,255,.78); max-width: 52ch; }
.ax-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 26px 0 22px; }
.ax-cta-wa { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.ax-cta-wa:hover { color: #fff; text-decoration-color: #fff; }
.ax-home .ax-cta-meta { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
.ax-cta-media { position: relative; min-height: 100%; }
.ax-cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* animations: images and headings simply appear */
.reveal { visibility: visible !important; }

/* 3. inner pages --------------------------------------------------------
   Every content band after the hero becomes the same quiet ivory page:
   no dark bands, no textures, no rounded/shadowed boxes, one gap.
   (footer.main-footer is also .bg-section.dark-section → always excluded) */
body :is(.bg-section, .dark-section, .our-service, .our-services, .about-us, .our-projects, .how-it-work,
         .why-choose-us, .our-industries, .our-pricing, .our-faqs, .our-blog, .cta-box):not(.hero):not(footer) {
    background: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    margin-left: 0 !important; margin-right: 0 !important;
    max-width: none !important; width: auto !important;
    padding-top: var(--ax-gap) !important;
    padding-bottom: 0 !important;
    box-shadow: none !important;
}
/* the last band before the footer closes with the same gap */
body :is(.bg-section, .dark-section, .our-service, .our-services, .about-us, .our-projects, .how-it-work,
         .why-choose-us, .our-industries, .our-pricing, .our-faqs, .our-blog, .cta-box):not(.hero):not(footer):has(+ footer),
body :is(.bg-section, .dark-section, .our-service, .our-services, .about-us, .our-projects, .how-it-work,
         .why-choose-us, .our-industries, .our-pricing, .our-faqs, .our-blog, .cta-box):not(.hero):not(footer):has(+ script + footer) {
    padding-bottom: var(--ax-gap) !important;
}
body :is(.bg-section, .dark-section):not(.hero):not(footer)::before,
body :is(.bg-section, .dark-section):not(.hero):not(footer)::after { display: none !important; }

/* stats strip right under a hero → light number row with hairlines */
body .hero + .our-services.dark-section { padding: 44px 0 !important; background: var(--ax-panel) !important; border-bottom: 1px solid var(--ax-line); }
body .hero + .our-services.dark-section h2 {
    color: var(--ax-ink) !important; font-family: var(--accent-font) !important; font-weight: 500 !important;
    font-size: clamp(30px, 3vw, 44px) !important; margin-bottom: 6px !important; letter-spacing: -.01em;
}
body .hero + .our-services.dark-section p { color: var(--ax-text) !important; font-size: 14px !important; }
body .hero + .our-services.dark-section .row > [class*="col-"] + [class*="col-"] > * { border-inline-start: 1px solid var(--ax-line); }

/* dark bands turned light: text goes back to ink/grey */
body .dark-section:not(.hero):not(footer) :is(h1, h2, h3, h4, h5, h6):not(.btn-default *) { color: var(--ax-ink) !important; }
body .dark-section:not(.hero):not(footer) :is(p, li, blockquote, label, small, td, th, dd, dt):not(.btn-default *) { color: var(--ax-text) !important; }
body .dark-section:not(.hero):not(footer) a:not(.btn-default):not([class*="btn"]) { color: var(--ax-ink); }

/* section headings: no pill labels; one calm heading style */
body .section-sub-title { display: none !important; }
body .section-title h1:not(.hero *):not(footer *), body .section-title h2:not(.hero *):not(footer *) {
    font-family: var(--accent-font) !important; font-weight: 500 !important; color: var(--ax-ink) !important;
    font-size: clamp(26px, 2.4vw, 38px) !important; line-height: 1.22 !important; letter-spacing: -.01em;
    margin-bottom: 0;
}
html[dir="rtl"] body .section-title h2:not(.hero *):not(footer *) { font-weight: 600 !important; line-height: 1.45 !important; letter-spacing: 0; }
body .section-title-center h2:not(.hero *) { max-width: 30ch; margin-inline: auto; }
body .section-title p:not(.hero *):not(footer *) { font-size: 16px; line-height: 1.75; color: var(--ax-text) !important; margin-top: 16px; }
body .section-row { margin-bottom: 40px; }
body .section-title { margin-bottom: 0; }
body h3:not(.hero *):not(footer *), body h4:not(.hero *):not(footer *) { font-family: var(--accent-font); font-weight: 500; color: var(--ax-ink); }
html[dir="rtl"] body h3:not(.hero *):not(footer *), html[dir="rtl"] body h4:not(.hero *):not(footer *) { font-weight: 600; }

/* boxes: square, flat, hairline (classes from the 2026-11-15 audit) */
body :is(.service-item, .how-work-item, .why-choose-item, .project-item, .pricing-item, .pricing-item-body,
     .industry-item, .accordion-item, .about-us-item, .our-service-item, .downtime-card, .post-item, .team-item,
     .belt-card, .belt-selector, .category-card, .ci-timeline-body, .ci-tool-card, .contact-form-card,
     .contact-info-card, .diff-card, .founder-card, .ht-driver, .issam-photo, .mach-step, .map-embed, .office-card,
     .pillar-card, .process-step, .profile-card, .roi-chart, .roi-stat-card, .solution-card, .spec-card, .spec-row,
     .why-ci-card, .dmaic-step, .roadmap-step, .ht-way, .orbit-frame, .post-featured-image, .post-featured-image a,
     .contact-info-icon, .roi-bar) {
    border-radius: 0 !important;
    box-shadow: none !important;
}
body :is(.ci-timeline-body, .ci-tool-card, .contact-form-card, .contact-info-card, .diff-card, .founder-card,
     .mach-step, .office-card, .pillar-card, .process-step, .profile-card, .roi-chart, .roi-stat-card,
     .solution-card, .spec-card, .why-ci-card, .dmaic-step, .roadmap-step, .category-card, .belt-card, .downtime-card,
     .how-work-item, .why-choose-item, .service-item):not(.hero *) {
    background: var(--ax-panel) !important;
    border: 1px solid var(--ax-line) !important;
}
body .roadmap-step.activation { border-color: var(--ax-ink) !important; }
body :is(.roi-stat-card, .founder-card) :is(h2, h3, h4, h5, strong, .roi-stat-num, [class*="num"], [class*="value"]) { color: var(--ax-ink) !important; }
body :is(.roi-stat-card, .founder-card) :is(p, span, li, a:not(.btn-default)) { color: var(--ax-text) !important; }
body .belt-card { border-top: 3px solid var(--belt, var(--ax-accent)) !important; }
body .belt-card.belt-yellow { --belt: #E2B200; } body .belt-card.belt-green { --belt: #2E9E5B; }
body .belt-card.belt-black { --belt: #18191A; }  body .belt-card.belt-master { --belt: var(--ax-mgmt); }
body .belt-selector { background: transparent !important; border: 0 !important; }
body :is(.about-us-image, .issam-photo, .map-embed) :is(figure, img, iframe),
body :is(.project-item-image, .why-choose-image, .service-item-image) :is(figure, img),
body figure.image-anime, body .image-anime img { border-radius: 0 !important; }

/* chips / pills / badges → plain small text */
body :is(.bp-chip, .belt-badge, .cert-badge, .solution-tag, .cat-tag, .why-ci-badge, .rs-badge):not(.hero *) {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 0 !important; color: var(--ax-muted) !important; font-weight: 600; letter-spacing: 0 !important;
    text-transform: none !important;
}
body :is(.cert-badge, .bp-chip):not(.hero *) { margin-inline-end: 14px; }

/* form fields: square */
body :is(input.form-control, textarea.form-control, select.form-select, .belt-selector select, .btn-submit):not(.hero *) { border-radius: 0 !important; }

/* 4. footer: keep it dark, but one flat navy (no texture / glow) */
footer.main-footer { background: var(--ax-ink) !important; background-image: none !important; }
footer.main-footer::before, footer.main-footer::after { display: none !important; }

/* inline-styled leftovers (old hand-written blocks) */
body [style*="border-radius"]:not([style*="50%"]):not([style*="50px"]):not(.hero *):not(footer *):not(.btn-default):not(.ax-home *) { border-radius: 0 !important; }
body [style*="box-shadow"]:not(.hero *):not(footer *):not(.btn-default) { box-shadow: none !important; }
body :is([style*="background: #f8f8f8"], [style*="background: #f5f5f5"], [style*="background:rgba(255,255,255,0.95)"]):not(.hero *) {
    background: var(--ax-panel) !important; border: 1px solid var(--ax-line);
}
body span[style*="border-radius: 20px"]:not(.hero *), body span[style*="border-radius: 6px"]:not(.hero *) {
    background: transparent !important; border: 0 !important; padding: 0 !important; margin-inline-end: 12px;
    color: var(--ax-muted) !important;
}

/* split panels (about vision/mission, division closing CTAs) → one contained navy banner */
body > div[style*="flex-wrap: wrap; min-height"] {
    width: calc(100% - 30px) !important; max-width: 1300px; margin: var(--ax-gap) auto 0 !important;
    min-height: 0 !important; background: var(--ax-ink); overflow: hidden;
}
body > div[style*="flex-wrap: wrap; min-height"]:has(+ footer),
body > div[style*="flex-wrap: wrap; min-height"]:has(+ script + footer) { margin-bottom: var(--ax-gap) !important; }
body > div[style*="flex-wrap: wrap; min-height"] > [class*="col-"] {
    background: transparent !important; padding: 56px 52px !important; border: 0 !important;
}
body > div[style*="flex-wrap: wrap; min-height"] > [class*="col-"] + [class*="col-"] { border-inline-start: 1px solid rgba(255,255,255,.12) !important; }
body > div[style*="flex-wrap: wrap; min-height"] :is(h2, h3) { color: #fff !important; font-weight: 500 !important; font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.3 !important; }
body > div[style*="flex-wrap: wrap; min-height"] :is(p, li, span, i):not(.btn-default *) { color: rgba(255,255,255,.75) !important; }
body > div[style*="flex-wrap: wrap; min-height"] a:not(.btn-default) { color: #fff !important; }
body > div[style*="flex-wrap: wrap; min-height"] .btn-default[style] { background: #fff !important; color: var(--ax-ink) !important; font-size: 15px !important; padding: 14px 30px !important; }

/* every heading outside hero/footer: same family, medium weight */
body :is(h2, .orbit-headline, .stat-num, .ht-section-title):not(.hero *):not(footer *):not(.ax-home *) {
    font-family: var(--accent-font) !important; font-weight: 500 !important; letter-spacing: -.01em;
}
html[dir="rtl"] body :is(h2, .orbit-headline, .ht-section-title):not(.hero *):not(footer *) { font-weight: 600 !important; letter-spacing: 0; }

/* stat rows under heroes that use .stat-num (High Tech) */
body .hero + .our-services.dark-section :is(.stat-num, .ht-stat .stat-num) {
    color: var(--ax-ink) !important; font-size: clamp(30px, 3vw, 44px) !important; line-height: 1.1; margin-bottom: 6px;
}

/* High Tech (hightech-orbit.css is token-driven): dark tone = light tone, no band colours */
body .ht-tone-dark, body .ht-tone-dark--alt, body .ht-tone-light, body .ht-ways {
    --ht-bg: transparent;
    --ht-heading: #0D1B2A; --ht-body: #5B6168; --ht-muted: #6B6B6B;
    --ht-rule: rgba(13, 27, 42, .12); --ht-rule-strong: rgba(13, 27, 42, .22);
    --ht-accent: #6A2AA0;
    --ht-frame-bg: #E7E4D7; --ht-frame-border: rgba(13, 27, 42, .12);
    --ht-card-bg: #FFFFFF; --ht-card-border: rgba(13, 27, 42, .12);
    background: transparent !important;
}
body :is(.ht-band, .orbit-mod) { padding-top: var(--ax-gap) !important; padding-bottom: 0 !important; }
body :is(.ht-band, .orbit-mod):has(+ footer) { padding-bottom: var(--ax-gap) !important; }
body .orbit-label, body .ht-eyebrow { display: none !important; }
body .orbit-mod-text > h3 { font-size: 13px; font-weight: 600; color: var(--ax-muted) !important; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
body .orbit-mod-text > .orbit-headline { font-size: clamp(22px, 2vw, 28px); color: var(--ax-ink) !important; line-height: 1.3; }
body .orbit-fig-val { color: var(--ax-ink) !important; font-weight: 500 !important; font-family: var(--accent-font); }
body .ht-group-head { border-inline-start-width: 2px; }
body .ht-group-head h2 { font-size: clamp(22px, 2vw, 28px) !important; }

/* round icon badges: pale tint, icon/number in accent (no solid colour blobs) */
body .how-work-item-no { background: rgba(0, 122, 122, .08) !important; box-shadow: none !important; }
body .how-work-item-no::before { display: none !important; }
body .how-work-item-no :is(i, h3, span, p) { color: var(--ax-accent) !important; }
body .how-work-item-no img { filter: none; }

/* no box-in-a-box */
body .pricing-item-body { background: transparent !important; border: 0 !important; padding-inline: 0 !important; }
body > div[style*="flex-wrap: wrap; min-height"] .section-title :is(h1, h2, h3):not(.hero *) { color: #fff !important; }
body > div[style*="flex-wrap: wrap; min-height"] .section-title p:not(.hero *) { color: rgba(255,255,255,.75) !important; }
body .ht-way { background: var(--ax-panel) !important; border: 1px solid var(--ax-line) !important; border-top: 3px solid var(--ax-line) !important; }
body .ht-way--orbit { border-top-color: #6A2AA0 !important; }
body .ht-way:hover, body .ht-way:focus-visible { border-color: var(--ax-ink) !important; background: var(--ax-panel) !important; }
body .ht-way h3 { color: var(--ax-ink) !important; }
body .ht-way p { color: var(--ax-text) !important; }
body .ht-way-letter, body .ht-way-meta { color: var(--ax-muted) !important; }
body .ht-way--orbit :is(.ht-way-letter, .ht-way-meta) { color: #6A2AA0 !important; }

/* Machinery category cards: photo-overlay dark cards → plain white cards */
body .category-card { background-image: none !important; }
body .category-card::before { display: none !important; }
body .category-card h3 { color: var(--ax-ink) !important; }
body .category-card :is(p, ul li) { color: var(--ax-text) !important; }
body .category-card .spec-row { background: transparent !important; border-top: 1px solid var(--ax-line) !important; padding: 10px 0 !important; margin: 0 !important; }
body .category-card .spec-row span:first-child { color: var(--ax-muted) !important; }
body .category-card .spec-row span:last-child { color: var(--ax-ink) !important; }
body .category-card .spec-row:last-of-type { border-bottom: 1px solid var(--ax-line) !important; margin-bottom: 16px !important; }
.ax-countries li.is-hq::after { content: none !important; }

/* 5. responsive -------------------------------------------------------- */
@media (max-width: 1199px) {
    .ax-div-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    :root { --ax-gap: 56px; }
    .ax-intro-grid, .ax-presence-grid { grid-template-columns: 1fr; gap: 36px; }
    .ax-h2 { max-width: none; }
    .ax-why-grid { grid-template-columns: 1fr; gap: 16px; }
    .ax-num-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .ax-num-row li:nth-child(3) { border-inline-start: 0; }
    .ax-cta { grid-template-columns: 1fr; }
    .ax-cta-media { min-height: 240px; order: -1; }
    body > div[style*="flex-wrap: wrap; min-height"] > [class*="col-"] + [class*="col-"] { border-inline-start: 0 !important; border-top: 1px solid rgba(255,255,255,.12) !important; }
}
@media (max-width: 767px) {
    .ax-map .axis-map-inner { aspect-ratio: var(--arm) !important; }
    .ax-map .axis-map-base { width: var(--mwm) !important; transform: translate(calc(var(--txm) * -1), calc(var(--tym) * -1)) !important; }
    .ax-map .map-pin { left: var(--lm) !important; top: var(--tm) !important; }
    .ax-map .axis-map-hint { display: none; }
}
@media (max-width: 575px) {
    :root { --ax-gap: 44px; }
    .ax-div-grid { grid-template-columns: 1fr; }
    .ax-div-img { aspect-ratio: 16 / 9; }
    .ax-cta-text { padding: 36px 24px; }
    .ax-chip { inset-inline-start: 12px; bottom: 12px; }
    .ax-home .ax-lead { font-size: 17px; }
    .ax-quote blockquote { font-size: 18px; }
    body > div[style*="flex-wrap: wrap; min-height"] > [class*="col-"] { padding: 36px 24px !important; }
    body .hero + .our-services.dark-section .row > [class*="col-"] + [class*="col-"] > * { border-inline-start: 0; }
}
