/*
Theme Name: ZiBOR Global
Theme URI: https://ziborpark.com/
Author: ZiBOR
Description: Editable WordPress theme for ZiBOR parking and access-control pages.
Version: 1.0.6
Text Domain: zibor-global
*/
:root {
  --navy: #0b2742;
  --navy-2: #143b5d;
  --ink: #13202b;
  --muted: #536575;
  --line: #d5dde4;
  --soft: #f2f5f7;
  --white: #fff;
  --orange: #ee721b;
  --orange-dark: #b94d08;
  --focus: #0b76ce;
  --max: 1180px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-size: 1rem; line-height: 1.65; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .7rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); margin: auto; min-height: 74px; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--white); background: var(--navy); border-radius: 6px; box-shadow: inset 0 -4px 0 var(--orange); }
.primary-nav { display: flex; align-items: center; gap: 1.2rem; font-size: .94rem; font-weight: 650; }
.primary-menu, .products-mega-menu, .footer-menu { margin: 0; padding: 0; list-style: none; }
.primary-menu { display: flex; align-items: center; gap: 1.2rem; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: inline-block; padding: .85rem 0; text-decoration: none; white-space: nowrap; }
.products-mega-menu { display: contents; }
.products-mega-menu > li { min-width: 0; padding-top: .75rem; border-top: 4px solid var(--navy); }
.products-mega-menu > li > a { display: block; margin-bottom: .65rem; color: var(--navy); font-size: 1rem; font-weight: 800; text-decoration: none; }
.products-mega-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.products-mega-menu .sub-menu a { display: block; padding: .28rem 0; color: #385064; font-size: .86rem; text-decoration: none; }
.footer-menu a { display: block; margin: .45rem 0; color: #d5e0e8; }
.primary-nav > a, .nav-products-link { text-decoration: none; padding: .85rem 0; cursor: pointer; white-space: nowrap; }
.nav-products { position: relative; }
.nav-products-trigger { display: flex; align-items: center; gap: .18rem; }
.nav-products-toggle { align-self: stretch; min-width: 1.1rem; padding: .85rem .1rem; border: 0; color: var(--navy); background: transparent; cursor: pointer; }
.nav-products-toggle::before { content: "▾"; font-size: .72em; }
.nav-products-toggle[aria-expanded="true"]::before { content: "▴"; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "▾"; margin-left: .35rem; font-size: .75em; }
.nav-group[open] > summary::after { content: "▴"; }
.nav-group { position: relative; }
.mega { position: absolute; top: calc(100% + .25rem); left: -12rem; width: min(880px, 90vw); padding: 1.2rem; display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(11,39,66,.18); }
.mega[hidden] { display: none !important; }
.mega-products { left: -11rem; width: min(960px, calc(100vw - 2rem)); max-height: min(68vh, 570px); padding: .85rem 1rem; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: .6rem; overflow: hidden; }
.mega-products-grid { min-height: 0; padding-right: .25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem 1rem; align-content: start; overflow-y: auto; }
.mega-category { min-width: 0; padding-top: .42rem; border-top: 2px solid var(--navy); }
.mega-category-title { display: block; padding: .12rem 0 .32rem !important; color: var(--navy); font-size: .84rem; font-weight: 820; line-height: 1.2; }
.mega-series-links { display: grid; gap: 0; }
.mega-series-links a { padding: .24rem 0 !important; color: #405362; font-size: .72rem; font-weight: 560; line-height: 1.22; }
.mega-series-links a:hover { color: var(--navy); background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.mega-series-links small { display: block; margin-top: .1rem; color: var(--orange-dark); font-size: .67rem; }
.mega-footer { display: flex; align-items: center; justify-content: flex-end; margin-top: 0; padding: .55rem 0 0; border-top: 1px solid var(--line); }
.mega-footer .text-link { padding: .2rem 0 !important; font-size: .76rem; }
.mega-small { left: -5rem; width: 420px; grid-template-columns: 1fr; }
.mega:not(.mega-products) > div:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; }
.mega-label { grid-column: 1 / -1; margin: 0 0 .35rem; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.mega a { padding: .65rem; border-radius: 5px; text-decoration: none; }
.mega a:hover { background: var(--soft); }
.mega a span, .mega a small { display: block; }
.mega a small { margin-top: .15rem; color: var(--muted); font-weight: 450; }
.mega-aside { padding: 1rem; background: var(--navy); color: var(--white); border-radius: 6px; }
.menu-toggle { display: none; padding: .55rem .8rem; border: 1px solid var(--line); background: var(--white); border-radius: 5px; font-weight: 700; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .72rem 1.1rem; border: 2px solid var(--orange); border-radius: 5px; background: var(--orange); color: #111; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: #ff8a35; border-color: #ff8a35; }
.button-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.section-dark .button-secondary { color: var(--white); border-color: var(--white); }
.button-compact { min-height: 40px; padding: .5rem .8rem !important; }
.text-link { color: var(--navy); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.hero { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 4rem; max-width: var(--max); margin: auto; padding: 5rem 1.25rem; }
.hero-copy { max-width: 670px; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
.eyebrow { margin: 0 0 .85rem; color: var(--orange-dark); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { margin: 0 0 .65rem; font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 720px; color: #334858; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; background: var(--soft); border-left: 7px solid var(--orange); }
.hero-product { max-height: 410px; width: auto; object-fit: contain; padding: 1.2rem; }
.spec-ribbon { position: absolute; bottom: -1.4rem; left: 1.5rem; right: -1rem; display: flex; gap: .2rem; background: var(--navy); color: var(--white); box-shadow: 0 12px 28px rgba(11,39,66,.22); }
.spec-ribbon span { flex: 1; padding: .8rem; text-align: center; font-size: .72rem; font-weight: 700; border-right: 1px solid rgba(255,255,255,.2); }

.home-hero { position: relative; min-height: min(760px, calc(100vh - 74px)); display: grid; align-items: center; isolation: isolate; overflow: hidden; background: #071b2d; }
.home-hero-media, .home-hero-media img, .home-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-media { z-index: -3; }
.home-hero-media img { object-fit: cover; object-position: center center; }
.home-hero-overlay { z-index: -2; background: linear-gradient(90deg, rgba(5,22,38,.96) 0%, rgba(7,29,49,.88) 30%, rgba(7,29,49,.60) 56%, rgba(7,29,49,.15) 82%), linear-gradient(0deg, rgba(4,17,29,.40) 0%, transparent 42%); }
.home-hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 6.5rem 1.25rem; }
.home-hero-copy { max-width: 830px; }
.home-hero .eyebrow { color: #ff9b52; }
.home-hero h1 { max-width: 830px; color: var(--white); font-size: clamp(3rem, 5.1vw, 4.4rem); text-wrap: balance; text-shadow: 0 2px 20px rgba(0,0,0,.22); }
.home-hero .lead { max-width: 660px; color: #e1eaf1; }
.home-hero .button-secondary { color: var(--white); border-color: rgba(255,255,255,.88); background: rgba(5,22,38,.22); }
.home-hero .button-secondary:hover { color: #111; background: var(--white); border-color: var(--white); }
.category-banner { min-height: 580px; }
.category-banner .home-hero-inner { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.category-banner h1 { max-width: 690px; font-size: clamp(2.8rem, 5.7vw, 5rem); }
.category-banner .home-hero-media img { object-position: center center; }
.category-banner .home-hero-overlay { background: linear-gradient(90deg, rgba(5,22,38,.96) 0%, rgba(7,29,49,.88) 32%, rgba(7,29,49,.54) 58%, rgba(7,29,49,.10) 84%); }
.page-banner { min-height: 620px; }
.page-banner .home-hero-media img { object-position: center center; }
.page-banner .home-hero-overlay { background: linear-gradient(90deg, rgba(5,22,38,.95) 0%, rgba(7,29,49,.84) 34%, rgba(7,29,49,.46) 60%, rgba(7,29,49,.08) 88%); }
.page-banner h1 { max-width: 780px; font-size: clamp(2.8rem, 5vw, 4.25rem); }

.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 1rem 1.25rem 0; font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #91a0ad; }
.breadcrumbs a { color: var(--navy); }

.section { max-width: var(--max); margin: 0 auto; padding: 5.5rem 1.25rem; }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.wide-heading > .section-heading { max-width: none; }
.wide-heading > .section-heading h2 { max-width: none; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.wide-heading > .section-heading > p:last-child { max-width: 1080px; }
.section-dark { max-width: none; padding-left: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)); padding-right: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)); background: var(--navy); color: #e8eff5; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-heading > p:last-child { color: #c9d5df; }
.section-muted { max-width: none; padding-left: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)); padding-right: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem)); background: var(--soft); }
.section-narrow { max-width: 880px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split .section-heading { margin-bottom: 1.25rem; }

.trust-strip { max-width: var(--max); margin: 0 auto 1rem; padding: 1.2rem 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.trust-strip div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: var(--white); }
.trust-strip strong { font-size: 2rem; color: var(--navy); }
.trust-strip span { color: var(--muted); font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-series-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-series-grid .card { padding: 1.1rem; }
.product-series-grid .card h3 { font-size: 1.08rem; }
.product-series-grid .card > p:not(.card-kicker) { color: var(--muted); font-size: .88rem; line-height: 1.52; }
.home-products > .section-heading, .home-inquiry > .section-heading { max-width: none; }
.home-products .product-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.home-products .product-series-grid .card { padding: 1.4rem; }
.home-products .product-series-grid .card-image { aspect-ratio: 16 / 10; margin-bottom: 1.35rem; }
.home-products .product-series-grid .card h3 { font-size: 1.3rem; }
.home-products .product-series-grid .card > p:not(.card-kicker) { font-size: .96rem; line-height: 1.6; }
.product-range-section .product-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-range-section .product-series-grid .card { padding: 1.4rem; }
.product-range-section .product-series-grid .card-image { aspect-ratio: 16 / 10; margin-bottom: 1.35rem; }
.product-range-section .product-series-grid .card h3 { font-size: 1.3rem; }
.product-range-section .product-series-grid .card > p:not(.card-kicker) { font-size: .96rem; line-height: 1.6; }
.solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: 1.45rem; border: 1px solid var(--line); border-top: 4px solid var(--navy); background: var(--white); }
.section-dark .card { background: #103451; border-color: #45627a; }
.section-dark .card h3, .section-dark .card .text-link { color: var(--white); }
.section-dark .card p { color: #cfdae3; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-kicker { min-height: 1.2em; margin-bottom: .55rem; color: var(--orange-dark); font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 1.25rem; padding: .8rem; border: 1px solid #e0e7ec; border-radius: 6px; background: linear-gradient(145deg, #fff 0%, #f1f5f7 100%); filter: drop-shadow(0 8px 12px rgba(11,39,66,.08)); }
.card-image-scene { aspect-ratio: 16 / 9; object-fit: cover; padding: 0; }

@media (min-width: 1100px) {
  .home-products > .section-heading h2, .home-inquiry > .section-heading h2 { max-width: none; white-space: nowrap; font-size: clamp(2.2rem, 3.35vw, 2.85rem); }
}

.workflow { padding: 0; margin: 0; list-style: none; }
.workflow li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.workflow li > span { color: var(--orange-dark); font-weight: 850; }
.workflow h3 { margin-bottom: .25rem; }
.system-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 4rem; align-items: stretch; }
.diagram { min-height: 430px; display: grid; place-items: center; gap: .5rem; padding: 2rem; color: var(--white); background: var(--navy); }
.diagram span { width: 78%; padding: .8rem; text-align: center; border: 1px solid #7390a8; background: #143b5d; }
.diagram b { display: inline-block; color: var(--orange); transform: rotate(90deg); }
.diagram i { width: 78%; margin-top: 1rem; padding: .8rem; text-align: center; color: var(--navy); background: var(--white); font-style: normal; font-weight: 750; }
.integration-line { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.integration-line span { padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); font-weight: 750; }
.integration-line b { color: var(--orange-dark); }

.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .65rem 0 .65rem 1.7rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: 1.15rem; width: 8px; height: 8px; background: var(--orange); }
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.tag-list li { padding: .5rem .75rem; background: var(--soft); border: 1px solid var(--line); }

.evidence-panel, .downloads, .cta-section { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.evidence-panel > div, .downloads > div, .cta-section > div { max-width: 720px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #49637a; }
.evidence-grid > div { padding: 1.5rem; background: var(--white); color: var(--ink); }
.section-dark .evidence-grid > div { background: #103451; color: #e8eff5; }
.section-dark .evidence-grid h3 { color: var(--white); }

.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; list-style: none; }
.process li { padding: 1.2rem; border: 1px solid #557187; }
.process strong { display: block; margin-bottom: .8rem; color: var(--orange); font-size: 1.8rem; }
.custom-home-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: stretch; }
.section-photo, .advantage-photo { width: 100%; height: 100%; min-height: 410px; object-fit: cover; border-radius: var(--radius); }
.process-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: stage; }
.custom-home .process-flow { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); align-content: stretch; border-top: 1px solid #b9c8d3; background: #edf2f5; }
.process-flow li { position: relative; min-height: 150px; padding: 1.4rem 1.2rem; border-top: 3px solid var(--orange); background: rgba(255,255,255,.06); }
.process-flow li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -.55rem; z-index: 2; color: var(--orange); font-size: 1.3rem; transform: translateY(-50%); }
.custom-home .process-flow li { min-height: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 1.1rem; padding: 1.15rem 1.35rem; color: var(--navy); border-top: 0; border-bottom: 1px solid #b9c8d3; background: #edf2f5; }
.custom-home .process-flow li::after { display: none; }
.custom-home .process-flow strong { display: grid; place-items: center; width: 46px; height: 46px; margin: 0; color: var(--orange-dark); border: 1px solid #d3a078; border-radius: 50%; background: var(--white); font-size: 1.15rem; }
.custom-home .process-flow span { color: #263f53; font-size: 1.03rem; font-weight: 680; line-height: 1.45; }
.process-flow strong { display: block; margin-bottom: .6rem; color: var(--orange); font-size: 1.55rem; }
.process-flow b { color: inherit; }
.advantage-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 3.5rem; align-items: stretch; }
.advantage-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.advantage-list article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1.2rem; padding: 1.2rem .4rem; border-bottom: 1px solid var(--line); background: var(--white); }
.advantage-list article > span { padding-top: .12rem; color: var(--orange-dark); font-size: 1.05rem; font-weight: 850; }
.advantage-list h3 { margin-bottom: .35rem; font-size: 1.16rem; }
.advantage-list p { max-width: 650px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.advantages .advantage-photo { min-height: 0; max-height: 540px; object-position: 62% center; }
.advantage-list p { color: var(--muted); font-size: .92rem; }

.notice { padding: 1.25rem 1.4rem; border-left: 5px solid var(--orange); background: var(--soft); }
.notice p:last-child { margin-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; padding: .8rem; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 8px 22px rgba(11,39,66,.07); }
.gallery img, .image-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: .65rem; background: linear-gradient(145deg, #fff 0%, #f2f5f7 100%); }
.image-placeholder { display: grid; place-items: center; padding: 1rem; color: var(--muted); }
.gallery figcaption { display: flex; justify-content: space-between; gap: .6rem; padding-top: .65rem; font-size: .82rem; }
.gallery figcaption a { color: var(--navy); }
.model-picker { max-width: 440px; margin: 0 0 1.4rem; }
.model-picker label { display: block; margin-bottom: .35rem; font-weight: 750; }
.model-picker select { width: 100%; padding: .7rem; border: 1px solid #9ba9b5; background: var(--white); }
.product-jump-nav { max-width: calc(var(--max) - 2.5rem); margin: 0 auto 1rem; padding: 1.5rem; border-left: 6px solid var(--orange); background: var(--soft); }
.product-jump-nav strong { display: block; margin-bottom: 1rem; color: var(--navy); font-size: 1.08rem; }
.product-jump-nav div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.product-jump-nav a { min-height: 62px; display: flex; align-items: center; justify-content: center; padding: .75rem 1rem; border: 2px solid var(--navy-2); border-radius: 5px; color: var(--white); background: var(--navy-2); font-size: .88rem; font-weight: 760; line-height: 1.3; text-align: center; text-decoration: none; }
.product-jump-nav a:hover { border-color: var(--orange); background: var(--orange); color: #111; }
.model-anchor-nav { max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model-anchor-nav strong { display: block; margin-bottom: .65rem; color: var(--navy); }
.model-anchor-nav div { display: flex; flex-wrap: wrap; gap: .55rem; }
.model-anchor-nav a { padding: .45rem .7rem; border: 1px solid var(--line); color: var(--navy); background: var(--white); font-size: .86rem; font-weight: 700; text-decoration: none; }
.model-anchor-nav a:hover { border-color: var(--orange); }
.directory-group { scroll-margin-top: 90px; padding: 3rem 0; border-top: 1px solid var(--line); }
.directory-group > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.directory-group > header > div { max-width: 760px; }
.series-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; padding: 0; margin: 1.5rem 0; list-style: none; }
.series-directory a { min-height: 125px; display: flex; flex-direction: column; padding: 1.15rem; border-top: 4px solid var(--navy); background: var(--soft); text-decoration: none; }
.series-directory a:hover { border-color: var(--orange); }
.series-directory strong { color: var(--navy); }
.series-directory span { margin-top: .45rem; color: var(--muted); }
.series-directory-image { width: 100%; aspect-ratio: 16 / 9; margin: .9rem 0 .25rem; padding: .45rem; object-fit: contain; border: 1px solid #dce4ea; border-radius: 4px; background: var(--white); }
.series-directory small { margin-top: auto; padding-top: 1rem; color: var(--orange-dark); }
.back-to-directory { color: var(--navy); font-size: .86rem; font-weight: 700; }
.directory-body { margin-top: 1.5rem; }
.directory-body .series-directory { margin-top: .8rem; }
.directory-scene { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius); }
.directory-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.directory-highlights > div { padding: 1rem; border-left: 4px solid var(--orange); background: #f8fafb; }
.directory-highlights ul { display: grid; gap: .45rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.directory-highlights li { position: relative; padding-left: 1rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.directory-highlights li::before { content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.directory-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.75rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.directory-text-link { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .2rem; color: #111; font-weight: 780; text-decoration: none; }
.directory-text-link:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; }
.directory-text-link span { font-size: 1.05em; }
.selection-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto minmax(190px, .7fr); gap: 1rem; align-items: center; }
.selection-flow > div { min-height: 180px; padding: 1.25rem; border-top: 4px solid var(--orange); background: var(--white); }
.selection-flow span { display: block; margin-bottom: .65rem; color: var(--orange-dark); font-weight: 850; }
.selection-flow strong { color: var(--navy); font-size: 1.05rem; }
.selection-flow p { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.selection-flow > i { color: var(--orange-dark); font-size: 1.5rem; font-style: normal; }
.selection-flow-dark > div { color: #dbe6ee; background: #103451; }
.selection-flow-dark strong { color: var(--white); }
.selection-flow-dark p { color: #cbd8e2; }
.selection-flow-dark { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
.product-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-role-grid article { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.product-role-grid article > span { color: var(--orange-dark); font-weight: 850; }
.product-role-grid h3 { margin-bottom: .35rem; font-size: 1.18rem; }
.product-role-grid p { color: var(--muted); }
.product-role-grid a { display: block; width: fit-content; margin-top: .35rem; color: var(--navy); font-size: .9rem; font-weight: 760; text-underline-offset: 3px; }
.hub-table a { color: var(--white); }
.table-scroll { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); }
table { width: 100%; min-width: 840px; border-collapse: collapse; font-size: .9rem; }
caption { padding: .9rem; text-align: left; color: var(--navy); font-weight: 800; }
th, td { padding: .85rem; text-align: left; border: 1px solid var(--line); vertical-align: top; }
tr[id] { scroll-margin-top: 96px; }
thead th { background: var(--navy); color: var(--white); }
tbody tr:nth-child(even) { background: var(--soft); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.1rem 2rem 1.1rem 0; cursor: pointer; color: var(--navy); font-weight: 780; }
.faq details p { max-width: 720px; padding-bottom: 1.1rem; color: var(--muted); }

.architecture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.architecture-grid > div { min-height: 160px; padding: 1.15rem; border-top: 4px solid var(--orange); background: var(--soft); }
.architecture-grid span { color: var(--orange-dark); font-weight: 850; }
.component-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; background: #49637a; list-style: none; }
.component-grid li { padding: 1.2rem; background: #103451; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps > div { padding: 1.25rem; border: 1px solid var(--line); }
.steps span { color: var(--orange-dark); font-weight: 850; }
.steps h2 { margin-top: .6rem; font-size: 1.25rem; }
.value-grid, .contact-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.value-grid article, .contact-facts article { padding: 1.5rem; background: var(--white); }
.value-grid span, .contact-facts span { display: block; margin-bottom: .8rem; color: var(--orange-dark); font-weight: 850; }
.value-grid h3, .contact-facts h3 { font-size: 1.15rem; }
.value-grid p, .contact-facts p { color: var(--muted); font-size: .94rem; }
.about-scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.about-scope > div { padding: 1.5rem; border-top: 4px solid var(--navy); background: var(--white); }
.about-process .process-flow li { background: #103451; }
.contact-form-section { padding-top: 2rem; }
.contact-sales-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr); gap: 4rem; align-items: stretch; }
.contact-sales-copy { padding-top: 1rem; }
.contact-sales-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.contact-location { display: grid; gap: .15rem; margin-top: 2rem; padding: 1rem 1.1rem; border-left: 4px solid var(--orange); background: var(--soft); }
.contact-location span { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-map { overflow: hidden; margin-top: 1rem; border: 1px solid var(--line); background: var(--soft); }
.contact-map iframe { display: block; width: 100%; height: 290px; border: 0; }
.contact-map a { display: block; padding: .7rem 1rem; color: var(--navy); background: var(--white); font-size: .86rem; font-weight: 760; text-decoration: none; }
.contact-map a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.contact-form-card { padding: 2rem; border-top: 5px solid var(--navy); background: var(--soft); box-shadow: 0 18px 42px rgba(11,39,66,.10); }
.contact-form-card > p:not(.eyebrow) { color: var(--muted); }
.contact-form-card .rfq-form { padding: 0; border: 0; background: transparent; }
.contact-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.contact-path-grid article { padding: 1.4rem; border-top: 4px solid var(--navy); background: var(--white); }
.contact-path-grid article > span { display: block; margin-bottom: .8rem; color: var(--orange-dark); font-weight: 850; }
.contact-path-grid h3 { font-size: 1.12rem; }
.contact-path-grid p { color: var(--muted); font-size: .92rem; }
.contact-path-grid a { color: var(--navy); font-size: .9rem; font-weight: 780; text-underline-offset: 3px; }

.page-hero { max-width: 900px; margin: auto; padding: 5rem 1.25rem 2rem; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.form-section { max-width: 980px; }
.rfq-form { padding: 1.5rem; border: 1px solid var(--line); background: var(--soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label, .field-label { display: block; margin-bottom: .35rem; color: var(--navy); font-weight: 750; }
.optional-label { margin-left: .35rem; color: var(--muted); font-size: .75rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: .72rem; border: 1px solid #8799a7; border-radius: 3px; background: var(--white); color: var(--ink); }
.field small { display: block; margin-top: .3rem; color: var(--muted); }
.file-control { display: flex; align-items: center; gap: .75rem; min-height: 50px; padding: .45rem; border: 1px solid #8799a7; background: var(--white); }
.field .file-input-native { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; opacity: 0; }
.file-picker { display: inline-flex !important; align-items: center; min-height: 36px; margin: 0 !important; padding: .4rem .75rem; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: var(--white) !important; font-size: .86rem; cursor: pointer; }
.file-input-native:focus-visible + .file-picker { outline: 3px solid var(--focus); outline-offset: 3px; }
.file-name { min-width: 0; overflow: hidden; color: var(--muted); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid #b42318; }
.consent { display: flex; gap: .65rem; align-items: flex-start; margin: 1rem 0; }
.consent input { margin-top: .35rem; }
.form-status { margin-top: 1rem; font-weight: 750; }
.form-status.success { color: #17663a; }
.form-status.error { color: #a8281d; }

.article, .legal { max-width: 800px; margin: auto; padding: 5rem 1.25rem; }
.article header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article h1, .legal h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.article-meta { display: flex; gap: 1rem; color: var(--muted); font-size: .86rem; }
.toc { margin: 2rem 0; padding: 1.2rem; display: grid; gap: .5rem; border-left: 4px solid var(--orange); background: var(--soft); }
.toc a { color: var(--navy); }
.article > section, .legal > h2 { margin-top: 3rem; }
.article > section p, .legal p { font-size: 1.08rem; }
.not-found { min-height: 70vh; display: grid; align-content: center; justify-items: start; max-width: 760px; margin: auto; padding: 2rem 1.25rem; }

.portfolio-series { border-top: 1px solid var(--line); }
.featured-series { background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%); border-top: 5px solid var(--orange); }
.portfolio-series-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.portfolio-series-heading p { max-width: 820px; }
.portfolio-series-heading .button { white-space: nowrap; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.portfolio-card { display: flex; min-width: 0; padding: 1rem; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.portfolio-card-media { display: block; aspect-ratio: 16 / 9; margin-bottom: 1rem; overflow: hidden; background: var(--soft); }
.portfolio-card-media picture, .portfolio-card-media img { width: 100%; height: 100%; }
.portfolio-card-media img { object-fit: cover; }
.portfolio-card h3 { font-size: 1.25rem; }
.portfolio-card p { color: var(--muted); }
.portfolio-card-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.portfolio-card-actions a, .portfolio-card-actions button { color: var(--navy); font: inherit; font-weight: 800; text-decoration: none; }
.portfolio-card-actions button { padding: 0; background: transparent; border: 0; cursor: pointer; }
.portfolio-card-actions a:hover, .portfolio-card-actions button:hover { color: var(--orange); }
.complete-systems-entry { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.complete-systems-entry > div { max-width: 820px; }
.tank-guide-intro { max-width: none; background: var(--navy); color: #e8eff5; }
.tank-guide-intro h2 { color: var(--white); }
.tank-guide-intro .section-heading > p:last-child { color: #c9d5df; }
.tank-guide-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
.tank-guide-nav a { min-height: 96px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); border: 1px solid #49657d; border-top: 4px solid var(--orange); text-decoration: none; }
.tank-guide-nav a:hover { background: #143b5d; }
.tank-guide-nav span { color: #ff9b52; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.tank-guide-nav strong { font-size: .96rem; line-height: 1.35; }
.tank-chapter { scroll-margin-top: 96px; }
.tank-chapter-heading { max-width: 860px; margin-bottom: 2rem; }
.tank-chapter-heading .chapter-number { color: var(--orange-dark); font-size: .76rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.knowledge-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 2.5rem; align-items: start; }
.knowledge-copy { color: var(--muted); font-size: 1.02rem; }
.knowledge-copy p:last-child { margin-bottom: 0; }
.knowledge-note { padding: 1.5rem; background: var(--white); border-left: 4px solid var(--orange); box-shadow: 0 12px 30px rgba(7, 29, 49, .08); }
.knowledge-note h3 { font-size: 1.15rem; }
.knowledge-note .check-list { margin-bottom: 0; }
.knowledge-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.knowledge-card-grid article { display: flex; min-width: 0; padding: 1.4rem; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.knowledge-card-grid article:nth-child(3n + 2) { border-top-color: var(--orange); }
.knowledge-card-grid h3 { font-size: 1.12rem; }
.knowledge-card-grid p { color: var(--muted); font-size: .94rem; }
.knowledge-card-grid .text-link { margin-top: auto; }
.knowledge-footnote { margin-top: 1.3rem; padding: 1rem 1.2rem; color: var(--muted); background: var(--soft); border-left: 4px solid var(--orange); }
.system-planning-copy { margin-top: 2rem; }
.compact-factors { margin-top: 1.25rem; }
.system-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; align-items: stretch; }
.system-chain article { position: relative; min-width: 0; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.system-chain article:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -.7rem; z-index: 1; width: 1.4rem; transform: translateY(-50%); color: var(--orange-dark); background: var(--soft); text-align: center; font-weight: 850; }
.system-chain h3 { font-size: 1.05rem; }
.system-chain p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); }
.product-comparison { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--white); }
.product-comparison th, .product-comparison td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-comparison th { color: var(--white); background: var(--navy); font-size: .8rem; letter-spacing: .04em; }
.product-comparison td:first-child { color: var(--navy); font-weight: 800; }
.product-comparison tr:last-child td { border-bottom: 0; }
.selection-factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.selection-factors article { padding: 1.35rem; background: var(--soft); border-left: 4px solid var(--orange); }
.selection-factors span { color: var(--orange-dark); font-size: .76rem; font-weight: 850; }
.selection-factors h3 { margin-top: .35rem; font-size: 1.08rem; }
.selection-factors p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.project-inputs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.project-inputs .check-list { margin-top: 0; }
.guide-cta { padding: 1.6rem; color: var(--white); background: var(--navy); border-top: 5px solid var(--orange); }
.guide-cta h3 { color: var(--white); }
.guide-cta p { color: #c9d5df; }
.quote-modal { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; overflow: auto; color: var(--navy); background: transparent; border: 0; }
.quote-modal::backdrop { background: rgba(3, 17, 29, .72); }
.quote-modal-panel { position: relative; padding: clamp(1.4rem, 4vw, 2.5rem); background: var(--white); border-top: 6px solid var(--orange); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.quote-modal-close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; color: var(--navy); background: var(--soft); border: 0; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.quote-product-line { padding: .8rem 1rem; background: var(--soft); border-left: 4px solid var(--orange); }
.quote-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-honeypot { position: absolute !important; left: -9999px !important; }
.quote-modal-form button[disabled] { opacity: .65; cursor: wait; }

.site-footer { padding: 4rem 1.25rem 1.5rem; background: #071b2d; color: #d5e0e8; }
.footer-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h2 { color: var(--white); font-size: 1rem; }
.footer-grid a:not(.brand) { display: block; margin: .45rem 0; color: #d5e0e8; }
.brand-footer { color: var(--white); }
.footer-bottom { max-width: var(--max); margin: 3rem auto 0; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #365067; font-size: .85rem; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; max-height: calc(100vh - 74px); overflow: auto; padding: 1rem 1.25rem 2rem; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .nav-products-link, .nav-products-toggle, .nav-group > summary { padding: .7rem 0; }
  .nav-products-trigger { justify-content: space-between; }
  .mega, .mega-small, .mega-products { position: static; width: auto; max-height: none; grid-template-columns: 1fr; margin-top: .3rem; transform: none; box-shadow: none; }
  .mega-products { grid-template-rows: auto auto; overflow: visible; }
  .mega-products-grid { padding-right: 0; overflow: visible; }
  .mega:not(.mega-products) > div:first-child { grid-template-columns: 1fr; }
  .mega-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-footer { align-items: flex-start; flex-direction: column; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 3.5rem; }
  .home-hero { min-height: 660px; }
  .category-banner { min-height: 560px; }
  .home-hero-overlay { background: linear-gradient(90deg, rgba(5,22,38,.96) 0%, rgba(7,29,49,.84) 48%, rgba(7,29,49,.35) 100%); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .product-series-grid, .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .architecture-grid { grid-template-columns: repeat(2, 1fr); }
  .process ol, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .product-jump-nav div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tank-guide-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-chain article:not(:last-child)::after { display: none; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .knowledge-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selection-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-inputs { grid-template-columns: 1fr; }
  .system-layout, .custom-home-layout, .advantage-layout, .directory-body { grid-template-columns: 1fr; }
  .directory-scene { min-height: 420px; }
  .selection-flow, .selection-flow-dark { grid-template-columns: 1fr; }
  .selection-flow > i { transform: rotate(90deg); justify-self: center; }
  .value-grid, .contact-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-sales-layout { grid-template-columns: 1fr; }
  .contact-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1rem 4rem; }
  .home-hero { min-height: 640px; align-items: end; }
  .category-banner { min-height: 590px; }
  .category-banner .home-hero-media img { object-position: 65% center; }
  .home-hero-media img { object-position: 66% center; }
  .home-hero-overlay { background: linear-gradient(0deg, rgba(5,22,38,.98) 0%, rgba(7,29,49,.90) 58%, rgba(7,29,49,.48) 100%); }
  .home-hero-inner { padding: 6rem 1rem 4rem; }
  .home-hero h1 { max-width: 100%; font-size: clamp(2.25rem, 10vw, 3rem); overflow-wrap: anywhere; }
  .home-hero .eyebrow { max-width: 100%; font-size: .7rem; overflow-wrap: anywhere; }
  .home-hero .lead { max-width: 100%; font-size: 1rem; }
  .home-hero .actions { align-items: stretch; flex-direction: column; }
  .hero-visual { min-height: 330px; }
  .hero-product { max-height: 320px; }
  .spec-ribbon { left: .75rem; right: .75rem; bottom: -2rem; flex-direction: column; }
  .spec-ribbon span { padding: .45rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .section { padding: 4rem 1rem; }
  .section-dark, .section-muted { padding-left: 1rem; padding-right: 1rem; }
  .split, .card-grid, .card-grid.two, .product-series-grid, .solution-grid, .trust-strip, .evidence-grid, .component-grid, .steps, .form-grid, .footer-grid, .advantage-list, .value-grid, .contact-facts, .about-scope, .portfolio-grid, .quote-form-grid { grid-template-columns: 1fr; }
  .portfolio-series-heading, .complete-systems-entry { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
  .tank-guide-nav, .system-chain, .selection-factors { grid-template-columns: 1fr; }
  .knowledge-card-grid { grid-template-columns: 1fr; }
  .portfolio-card-actions { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .contact-sales-layout, .contact-path-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.35rem; }
  .trust-strip div { grid-template-columns: 50px 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figcaption { display: block; }
  .gallery figcaption a { display: block; margin-top: .25rem; }
  .architecture-grid { grid-template-columns: 1fr; }
  .process ol { grid-template-columns: 1fr; }
  .process-flow, .custom-home .process-flow { grid-template-columns: 1fr; }
  .process-flow li:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -.95rem; transform: translateX(50%); }
  .directory-highlights { grid-template-columns: 1fr; }
  .directory-actions { justify-content: center; flex-direction: column; gap: .75rem; }
  .product-role-grid { grid-template-columns: 1fr; }
  .directory-scene { min-height: 260px; }
  .section-photo, .advantage-photo { min-height: 300px; }
  .evidence-panel, .downloads, .cta-section { align-items: flex-start; flex-direction: column; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .article-meta { flex-direction: column; gap: .25rem; }
  .product-jump-nav { margin: 0 1rem 1rem; padding: 1.1rem; }
  .product-jump-nav div { grid-template-columns: 1fr; }
  .product-jump-nav a { min-height: 54px; justify-content: flex-start; text-align: left; }
  .mega-products-grid { grid-template-columns: 1fr; }
  .mega-footer .button { width: 100%; }
  .directory-group > header { flex-direction: column; }
  .series-directory { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Products: native Gutenberg content, scoped to this page's editable root. */
.zibor-products-editable { --wp--style--block-gap: 0; }
.zibor-products-editable .wp-block-group { box-sizing: border-box; }
.zibor-products-editable .wp-block-group__inner-container { display: contents; }
.zibor-products-editable .section-heading,.zibor-products-editable .section-heading h2 { max-width: none; }
.zibor-products-editable figure { margin: 0; }
.zibor-products-editable .wp-block-heading { line-height: 1.2; }
.zibor-products-editable .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .9rem; }
.zibor-products-editable .wp-block-button { margin: 0; }
.zibor-products-editable .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .8rem 1.15rem; color: #111; background: var(--orange); border: 2px solid var(--orange); border-radius: 5px; font-size: .94rem; line-height: 1.35; font-weight: 800; text-decoration: none; }
.zibor-products-editable .zibor-button-secondary .wp-block-button__link { background: transparent; color: var(--navy); border-color: var(--navy); }
.zibor-products-editable .wp-block-button__link:hover { filter: brightness(.95); }
.zibor-products-editable .breadcrumbs .wp-block-list { margin: 0; }
.zibor-products-editable .product-tank-hero { position: relative; overflow: hidden; min-height: 490px; }
.zibor-products-editable .product-tank-hero .home-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.zibor-products-editable .product-tank-hero .home-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); }
.zibor-products-editable .product-tank-hero .home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,22,38,.94),rgba(5,22,38,.65)); }
.zibor-products-editable .product-tank-hero .home-hero-inner { position: relative; z-index: 1; }
.zibor-products-editable .product-tank-hero h1 { max-width: 900px; }
.zibor-products-editable .product-search-intro .section-heading { max-width: 1060px; margin-bottom: 0; }
.zibor-products-editable .series-overview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.zibor-products-editable .series-overview-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.zibor-products-editable .series-overview-card:first-child { border-top-color: var(--orange); }
.zibor-products-editable .series-overview-card > .wp-block-group:not(.series-overview-media) { padding: 1.3rem; }
.zibor-products-editable .series-overview-card > .wp-block-group__inner-container > .wp-block-group:not(.series-overview-media) { padding: 1.3rem; }
.zibor-products-editable .series-overview-media { height: 215px; padding: 1rem; background: #f5f7f8; }
.zibor-products-editable .series-overview-media figure,.zibor-products-editable .series-overview-media img { width: 100%; height: 100%; object-fit: contain; }
.zibor-products-editable .series-overview-card h3 { font-size: 1.22rem; }
.zibor-products-editable .series-overview-card h3 a { text-decoration: none; }
.zibor-products-editable .series-overview-card p { font-size: .94rem; }
.zibor-products-editable .product-consultation-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: white; background: var(--navy); }
.zibor-products-editable .product-consultation-cta h2,.zibor-products-editable .product-consultation-cta p { color: white; }
.zibor-products-editable .product-jump-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.zibor-products-editable .product-jump-links p { margin: 0; }
.zibor-products-editable .product-jump-links a { height: 100%; }
.zibor-products-editable .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.zibor-products-editable .portfolio-card { padding: 1.35rem; }
.zibor-products-editable .portfolio-card-media { height: 270px; margin-bottom: 1.2rem; padding: .8rem; background: #f6f8fa; }
.zibor-products-editable .portfolio-card-media figure,.zibor-products-editable .portfolio-card-media img { width: 100%; height: 100%; object-fit: contain; }
.zibor-products-editable .portfolio-card .card-kicker { margin-top: .8rem; }
.zibor-products-editable .portfolio-card :is(.card-actions,.portfolio-card-actions) { display: flex; justify-content: center; align-items: center; gap: 1.4rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.zibor-products-editable .portfolio-card :is(.card-actions,.portfolio-card-actions) .wp-block-button__link { color: #111; background: none; border: 0; padding: .55rem 0; border-radius: 0; }
.zibor-products-editable .portfolio-card .zibor-quote-trigger .wp-block-button__link::after { content: ' →'; margin-left: .4em; }
.zibor-products-editable .complete-systems-entry .wp-block-button { flex: 0 0 auto; }
.zibor-products-editable .complete-systems-entry .wp-block-button__link { max-width: 260px; }
.zibor-products-editable .tank-chapter-heading,.zibor-products-editable .tank-chapter-heading h2,.zibor-products-editable .tank-chapter-heading .lead { max-width: none; }
.zibor-products-editable .tank-guide-nav .zibor-link-row { margin: 0; }
.zibor-products-editable .tank-guide-nav a { height: 100%; gap: .4rem; }
.zibor-products-editable .knowledge-layout,.zibor-products-editable .project-inputs { align-items: stretch; }
.zibor-products-editable .knowledge-card-grid article { min-height: 245px; }
.zibor-products-editable .knowledge-card-grid .zibor-link-row { margin-top: auto; margin-bottom: 0; }
.zibor-products-editable .selection-factors .step-number { margin: 0 0 .5rem; color: var(--orange-dark); font-weight: 850; }
.zibor-products-editable .selection-factors article { display: flex; flex-direction: column; }
.zibor-products-editable .selection-factors article p:last-child { margin-top: auto; }
.zibor-products-editable .project-inputs { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 1.5rem; }
.zibor-products-editable .project-input-list { padding: 1.5rem; background: var(--soft); }
.zibor-products-editable .guide-cta { display: flex; flex-direction: column; justify-content: center; }
.zibor-products-editable .product-comparison { margin: 0; }
.zibor-products-editable .product-comparison table { min-width: 760px; width: 100%; border-collapse: collapse; }
.zibor-products-editable .faq details { background: white; }
@media(max-width:980px) {
  .zibor-products-editable .series-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .zibor-products-editable .product-consultation-cta { flex-direction: column; align-items: flex-start; }
}
@media(max-width:700px) {
  .zibor-products-editable .series-overview-grid,.zibor-products-editable .portfolio-grid,.zibor-products-editable .product-jump-links,.zibor-products-editable .project-inputs { grid-template-columns: 1fr; }
  .zibor-products-editable .portfolio-card-media { height: 220px; }
  .zibor-products-editable .product-tank-hero { min-height: 470px; }
  .zibor-products-editable .portfolio-card :is(.card-actions,.portfolio-card-actions) { gap: 1rem; }
  .zibor-products-editable .portfolio-card :is(.card-actions,.portfolio-card-actions) .wp-block-button__link { font-size: .9rem; }
}


/* Compact Products mega menu — 2026-09-30 */
@media (min-width: 901px) {
  .mega-products { max-height: none; padding: .6rem .8rem; grid-template-rows: auto auto; gap: .35rem; overflow: visible; }
  .mega-products-grid { padding-right: 0; gap: .5rem .8rem; overflow: visible; }
  .products-mega-menu > li { padding-top: .3rem; border-top-width: 2px; }
  .products-mega-menu > li > a { margin-bottom: .12rem; padding: .04rem 0 .2rem !important; font-size: .78rem; line-height: 1.16; }
  .products-mega-menu .sub-menu a { padding: .12rem 0 !important; font-size: .68rem; line-height: 1.18; }
  .mega-footer { padding-top: .32rem; }
  .mega-footer .text-link { padding: .12rem 0 !important; font-size: .7rem; }
}

/* Balanced Products knowledge panels — 2026-09-30 */
@media (min-width: 901px) {
  .zibor-products-editable #parking-access-basics .knowledge-layout,
  .zibor-products-editable #system-architecture .system-planning-copy { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr) !important; align-items: stretch !important; }
  .zibor-products-editable #parking-access-basics .knowledge-copy,
  .zibor-products-editable #parking-access-basics .knowledge-note,
  .zibor-products-editable #system-architecture .knowledge-copy,
  .zibor-products-editable #system-architecture .knowledge-note { height: 100%; }
  .zibor-products-editable #parking-access-basics .knowledge-note,
  .zibor-products-editable #system-architecture .knowledge-note { padding: 1.4rem 1.5rem; }
  .zibor-products-editable #parking-access-basics .knowledge-note li,
  .zibor-products-editable #system-architecture .knowledge-note li { white-space: nowrap !important; padding: .7rem 0; font-size: .94rem; line-height: 1.32; }
  .zibor-products-editable #system-architecture .knowledge-note { display: flex; flex-direction: column; }
  .zibor-products-editable #system-architecture .knowledge-note .zibor-link-row { margin-top: 1.75rem !important; margin-bottom: 0 !important; padding-top: .5rem; }
}

/* Secondary product Tank Pages — 2026-09-30 */
.tank-section-heading { max-width: 1120px; margin-bottom: 2rem; }
.tank-section-heading > p:last-child { max-width: 1120px; }
.tank-overview-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.tank-overview-copy { max-width: 1050px; padding-left: 1.4rem; border-left: 4px solid var(--orange); font-size: 1.06rem; line-height: 1.85; color: var(--muted); }
.tank-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.tank-product-card { display: flex; min-width: 0; flex-direction: column; }
.tank-product-card .tank-product-image,
.tank-product-card .tank-image-placeholder { width: 100%; min-height: 300px; margin: 0; display: grid; place-items: center; background: #f4f7f9; }
.tank-product-card .tank-product-image img { width: 100%; height: 300px; object-fit: contain; }
.tank-image-placeholder { color: var(--muted); font-weight: 700; }
.tank-product-card > h3,
.tank-product-card > p { margin-left: 1.4rem; margin-right: 1.4rem; }
.tank-product-card > .card-kicker { margin-top: 1.25rem; margin-bottom: .45rem; }
.tank-product-card .product-model-placeholder { margin-top: auto; padding-top: .75rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.tank-product-card .card-actions { width: auto; margin: 1rem 1.4rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.tank-product-card .card-actions .wp-block-button { margin: 0; }
.tank-product-card .zibor-more-details .wp-block-button__link { padding: .75rem 0; color: var(--navy); background: transparent; text-decoration: underline; text-underline-offset: .22em; }
.tank-product-card .zibor-quote-trigger .wp-block-button__link { padding: .78rem 1.2rem; color: var(--white); background: var(--navy); border: 2px solid var(--navy); }
.tank-product-card .zibor-quote-trigger .wp-block-button__link:hover { color: var(--navy); background: var(--orange); border-color: var(--orange); }
.tank-two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; align-items: stretch; }
.tank-feature-panel,
.tank-parameter-panel { height: 100%; padding: 2rem; background: var(--white); border-top: 5px solid var(--navy); box-shadow: var(--shadow); }
.tank-parameter-panel { border-top-color: var(--orange); }
.tank-feature-list,
.tank-parameter-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.tank-feature-list li,
.tank-parameter-list li { position: relative; padding: .75rem 0 .75rem 1.35rem; border-bottom: 1px solid var(--line); }
.tank-feature-list li::before,
.tank-parameter-list li::before { content: ""; position: absolute; top: 1.15rem; left: 0; width: .48rem; height: .48rem; background: var(--orange); }
.tank-info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.tank-info-card { padding: 1.65rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(7,29,49,.07); }
.tank-card-number { margin-bottom: .65rem; color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.tank-how-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 1.5rem; align-items: stretch; }
.tank-media-placeholder { min-height: 100%; padding: 2rem; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg,var(--navy),#174366); color: var(--white); }
.tank-media-placeholder::before { content: "▶"; width: 68px; height: 68px; margin: 0 auto 1rem; display: grid; place-items: center; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 1.35rem; }
.tank-media-label { font-weight: 800; }
.workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tank-application-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.1rem; }
.tank-application-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tank-application-card > h3,
.tank-application-card > p { margin-left: 1.2rem; margin-right: 1.2rem; }
.tank-application-card > p:last-child { margin-bottom: 1.4rem; color: var(--muted); }
.application-visual-placeholder { min-height: 125px; display: grid; place-items: center; background: linear-gradient(135deg,#e8eef2,#f7f9fb); color: var(--orange); font-size: 2rem; font-weight: 800; }
.tank-faq { display: grid; gap: .75rem; }
.tank-related-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.tank-related-button .wp-block-button__link { width: 100%; min-height: 64px; display: grid; place-items: center; padding: .8rem 1rem; color: var(--white); background: var(--navy); text-align: center; }
.tank-related-button .wp-block-button__link:hover { color: var(--navy); background: var(--orange); }
.tank-enquiry-section { padding-top: 5rem; padding-bottom: 5rem; background: #eef2f5; }
.tank-enquiry-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.tank-enquiry-inner > p:not(.eyebrow) { color: var(--muted); }
.zibor-inline-quote-form { margin-top: 2rem; padding: 2rem; background: var(--white); box-shadow: var(--shadow); text-align: left; }
.zibor-inline-quote-form .field { margin-bottom: 1.1rem; }
.zibor-inline-quote-form .button { display: block; margin: 1.25rem auto 0; }

@media (min-width: 901px) {
  .tank-product-types .tank-section-heading h2 { white-space: nowrap; font-size: clamp(2rem,3vw,3.15rem); }
}
@media (max-width: 980px) {
  .tank-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tank-application-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tank-related-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .tank-product-grid,
  .tank-two-column,
  .tank-info-grid,
  .tank-how-layout,
  .workflow-grid,
  .tank-application-grid,
  .tank-related-links { grid-template-columns: 1fr; }
  .tank-product-card .card-actions { align-items: stretch; flex-direction: column; }
  .tank-product-card .card-actions .wp-block-button,
  .tank-product-card .card-actions .wp-block-button__link { width: 100%; text-align: center; }
  .tank-media-placeholder { min-height: 300px; }
  .zibor-inline-quote-form { padding: 1.35rem; }
}

/* Products guide: inset the Chapter 01 goals within its right-hand card. */
@media (min-width: 901px) {
  .zibor-products-editable #parking-access-basics .knowledge-note {
    padding-left: 1.5rem;
  }
  .zibor-products-editable #parking-access-basics .knowledge-note li {
    padding-left: 1.7rem;
    white-space: normal !important;
  }
}

/* Products guide: align the Chapter 07 interface panel with Chapter 01. */
@media (min-width: 901px) {
  .zibor-products-editable #system-architecture .knowledge-note {
    padding-left: 1.5rem;
  }
  .zibor-products-editable #system-architecture .knowledge-note li {
    padding-left: 1.7rem;
    white-space: normal !important;
  }
}

/* Products mega menu: six series in the requested 3 x 2 desktop order. */
@media (min-width: 901px) {
  .mega-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Preserve the same series order on tablet and mobile. */
.products-mega-menu #menu-item-291 { order: 1; }
.products-mega-menu #menu-item-307 { order: 2; }
.products-mega-menu #menu-item-299 { order: 3; }
.products-mega-menu #menu-item-313 { order: 4; }
.products-mega-menu #menu-item-306 { order: 5; }
.products-mega-menu #menu-item-314 { order: 6; }

/* Resources, Blog archive and shared Post template — 2026-10-04 */
.resource-blog-hero{padding-bottom:2.25rem;text-align:center}.resource-blog-hero .lead{max-width:760px;margin-right:auto;margin-left:auto}.resource-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.resource-card{display:flex;min-height:100%;flex-direction:column}.resource-card h2{font-size:clamp(1.35rem,2vw,1.75rem)}.resource-card .text-link{margin-top:auto}.resource-card-image{display:block;margin:-1.5rem -1.5rem 1.25rem;aspect-ratio:16/9;overflow:hidden;background:var(--soft)}.resource-card-image img{width:100%;height:100%;object-fit:cover}.article-meta{display:flex;flex-wrap:wrap;gap:.55rem 1.25rem;color:var(--muted);font-size:.92rem}.resource-pagination{margin-top:2.5rem}.resource-pagination .nav-links{display:flex;justify-content:center;gap:.5rem}.resource-pagination .page-numbers{padding:.65rem .9rem;border:1px solid var(--line);background:var(--white)}.resource-pagination .current{border-color:var(--orange);background:var(--orange);color:var(--navy);font-weight:800}.resource-article-header{max-width:980px;margin:0 auto;padding:4.5rem 1.5rem 2.5rem;text-align:center}.resource-article-header h1{max-width:900px;margin-right:auto;margin-left:auto}.resource-article-header .lead{max-width:800px;margin-right:auto;margin-left:auto}.resource-article-header .article-meta{justify-content:center;margin-top:1.25rem}.resource-featured-image{max-width:1080px;margin:0 auto 2.5rem;padding:0 1.5rem}.resource-featured-image img{width:100%;max-height:620px;object-fit:cover}.resource-article-content{max-width:820px;margin:0 auto;padding:1rem 1.5rem 4rem;font-size:1.08rem;line-height:1.8}.resource-article-content h2{margin-top:2.6rem}.resource-article-content h3{margin-top:2rem}.resource-article-content img{height:auto}.resource-article-content table{width:100%}.resource-tags{display:flex;max-width:820px;margin:-2rem auto 4rem;padding:0 1.5rem;flex-wrap:wrap;gap:.6rem}.resource-tags a{padding:.5rem .8rem;border-radius:999px;background:var(--soft);color:var(--navy);font-size:.9rem;font-weight:700;text-decoration:none}.resource-article-cta{max-width:1180px;margin-right:auto;margin-left:auto}.resource-related{padding-top:4rem}.download-placeholder{max-width:820px;margin-top:2rem;padding:2.5rem;border-top:4px solid var(--orange);background:var(--soft)}.resource-legacy-post{display:block}.resource-portals{padding-top:3rem;padding-bottom:3rem}@media(max-width:980px){.resource-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.resource-post-grid{grid-template-columns:1fr}.resource-article-header{padding-top:3rem}.resource-article-content{font-size:1rem}.download-placeholder{padding:1.5rem}}

/* Global section-spacing guard — 2026-10-04
 * Keep vertical whitespace inside each section. This neutralises accidental
 * Gutenberg/root-layout margins between adjacent page sections while leaving
 * horizontal auto-centering and all existing section padding unchanged. */
main > section,
main > article,
.entry-content > section,
.entry-content > .wp-block-group.section,
.entry-content > .wp-block-cover {
  margin-block-start: 0;
  margin-block-end: 0;
}
/* ZIBOR enquiry success redirect. Append once to assets/site.js. */
(() => {
  const originalFetch = window.fetch;
  const successUrl = 'https://www.ziborpark.com/thank-you/';
  const enquiryActions = new Set([
    'zibor_submit_quote',
    'zibor_submit_quote_v2',
    'zibor_submit_products_quote',
    'zibor_submit_contact_v2',
  ]);
  let redirecting = false;

  window.fetch = function (...args) {
    const requestOptions = args[1];
    const body = requestOptions && requestOptions.body;
    const action = body instanceof FormData ? body.get('action') : null;

    return originalFetch.apply(this, args).then((response) => {
      if (enquiryActions.has(action) && response.ok && !redirecting) {
        response.clone().json().then((result) => {
          if (result && result.success === true && !redirecting) {
            redirecting = true;
            window.location.assign(successUrl);
          }
        }).catch(() => {});
      }
      return response;
    });
  };
})();