/* Valonix Fluid Systems - specialty gas valve site */
:root{
  --navy:#0b2545; --navy-2:#123761; --steel:#41627c; --accent:#e8663d;
  --accent-d:#c94e28; --bg:#f6f8fb; --card:#fff; --text:#1c2b3a;
  --muted:#5f7285; --line:#dce5ed; --soft:#eaf1f7; --ok:#167a68;
  --shadow:0 2px 14px rgba(16,42,70,.07); --radius:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);
  font:16px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:var(--navy-2);text-decoration:none}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.25;color:var(--navy);letter-spacing:-.01em;margin:0 0 .6em}
h1{font-size:2.25rem} h2{font-size:1.55rem;margin-top:2.1rem} h3{font-size:1.16rem}
p{margin:0 0 1.05rem}
ul,ol{margin:0 0 1.2rem;padding-left:1.3rem} li{margin:.35rem 0}
strong{color:var(--navy)}
.wrap{width:min(1180px,92vw);margin:0 auto}
.section{padding:56px 0}
.section.alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:700;color:var(--accent);margin-bottom:.7rem}
.lead{font-size:1.12rem;color:var(--muted);max-width:820px}

/* header */
.topbar{background:var(--navy);color:#cddced;font-size:.82rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:1rem}
.topbar a{color:#cddced}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 8px rgba(10,35,65,.05)}
.nav{display:flex;align-items:center;gap:1.4rem;min-height:70px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.32rem;color:var(--navy);letter-spacing:-.02em;white-space:nowrap}
.brand-mark{width:30px;height:30px;border-radius:7px;background:linear-gradient(135deg,var(--accent),#f4a261);display:grid;place-items:center;color:#fff;font-size:1rem;font-weight:900}
.brand small{display:block;font-size:.6rem;font-weight:600;letter-spacing:.14em;color:var(--muted);text-transform:uppercase;line-height:1}
.nav-links{display:flex;align-items:center;gap:.15rem;margin-left:auto;list-style:none;padding:0;margin:0}
.nav-links>li{position:relative}
.nav-links>li>a{display:block;padding:.55rem .8rem;font-weight:600;font-size:.93rem;color:var(--text);border-radius:6px}
.nav-links>li>a:hover{background:var(--soft);color:var(--navy-2)}
.dropdown{display:none;position:absolute;top:100%;left:0;min-width:530px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 40px rgba(11,37,69,.15);padding:1rem;grid-template-columns:repeat(3,1fr);gap:1rem}
.nav-links>li:hover .dropdown{display:grid}
.dropdown h4{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin:0 0 .5rem}
.dropdown a{display:block;padding:.28rem .3rem;font-size:.86rem;color:var(--muted);border-radius:4px}
.dropdown a:hover{background:var(--soft);color:var(--navy)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.72rem 1.35rem;border-radius:6px;font-weight:700;font-size:.92rem;border:1px solid transparent;cursor:pointer;transition:.18s}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-d);color:#fff}
.btn-outline{border-color:var(--line);background:#fff;color:var(--navy)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent)}
.btn-sm{padding:.5rem 1rem;font-size:.85rem}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:6px;padding:.4rem .6rem;font-size:1.1rem;color:var(--navy);cursor:pointer}

/* hero */
.hero{background:linear-gradient(120deg,#0b2545 0%,#123761 62%,#1a4a78 100%);color:#fff;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}
.hero .wrap{position:relative;z-index:1;padding:76px 0 72px}
.hero h1{color:#fff;font-size:2.9rem;max-width:820px;line-height:1.15}
.hero .lead{color:#c9dbea;font-size:1.16rem}
.hero .eyebrow{color:#ffb08e}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.7rem}
.hero .btn-outline{background:transparent;border-color:rgba(255,255,255,.4);color:#fff}
.hero .btn-outline:hover{border-color:#fff;color:#fff}
.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.13);margin-top:3.2rem;border-radius:8px;overflow:hidden}
.hero-stats div{background:rgba(11,37,69,.55);padding:1.15rem;text-align:center}
.hero-stats b{display:block;font-size:1.35rem;color:#fff}
.hero-stats span{font-size:.78rem;color:#b9cfe2;letter-spacing:.03em}

/* cards / grids */
.grid{display:grid;gap:1.15rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow);transition:.2s}
.card:hover{transform:translateY(-3px);border-color:#b9d0e3;box-shadow:0 8px 26px rgba(11,37,69,.11)}
.card h3{font-size:1.05rem;margin-bottom:.45rem}
.card h3 a{color:var(--navy)}
.card p{font-size:.9rem;color:var(--muted);margin:0}
.cat-card .ico{width:42px;height:42px;border-radius:9px;background:var(--soft);display:grid;place-items:center;color:var(--navy-2);font-weight:800;font-size:1.1rem;margin-bottom:.9rem}
.product-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.product-card .thumb{background:#fff;border-bottom:1px solid var(--line);aspect-ratio:4/3;display:grid;place-items:center;padding:1rem}
.product-card .thumb img{max-height:100%;width:auto;object-fit:contain}
.product-card .body{padding:1.05rem 1.2rem 1.25rem}
.product-card h3{font-size:.98rem;line-height:1.35}
.product-card .meta{font-size:.78rem;color:var(--muted);margin:.3rem 0 .8rem}
.product-card .price-line{border-top:1px solid var(--line);padding-top:.7rem;font-size:.82rem;color:var(--navy-2);font-weight:600;display:flex;justify-content:space-between;align-items:center}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.8rem;flex-wrap:wrap}
.section-head h2{margin:0}
.section-head p{margin:.35rem 0 0;color:var(--muted);font-size:.95rem}
.text-link{font-weight:700;font-size:.9rem}

/* breadcrumbs + article */
.breadcrumb{font-size:.82rem;color:var(--muted);padding:1.1rem 0;border-bottom:1px solid var(--line);margin-bottom:2rem}
.breadcrumb a{color:var(--muted)} .breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{margin:0 .4rem;color:#a9bccb}
.page-head{padding:34px 0 8px}
.page-head h1{font-size:2.3rem}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:2.6rem;align-items:start;padding:26px 0 60px}
.article{max-width:820px}
.article h2{border-bottom:1px solid var(--line);padding-bottom:.45rem}
.side{position:sticky;top:95px}
.side-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem;margin-bottom:1.1rem}
.side-box h3{font-size:.98rem;margin-bottom:.7rem}
.side-box ul{list-style:none;padding:0;margin:0;font-size:.88rem}
.side-box li{padding:.32rem 0;border-bottom:1px dashed var(--line)}
.side-box li:last-child{border:0}
.cta-box{background:var(--navy);color:#fff;border:0}
.cta-box h3{color:#fff}
.cta-box p{color:#c9dbea;font-size:.87rem}
.cta-box .btn{width:100%}

/* tables */
.table-wrap{overflow-x:auto;margin:1.2rem 0 1.8rem;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{padding:.72rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--soft);color:var(--navy);font-weight:700;width:34%}
tr:last-child td{border-bottom:0}

/* feature list */
.check-list{list-style:none;padding:0;margin:1rem 0 1.6rem}
.check-list li{position:relative;padding-left:1.6rem;margin:.55rem 0}
.check-list li:before{content:"";position:absolute;left:0;top:.55em;width:.62rem;height:.62rem;border-radius:50%;background:var(--accent)}
.note{background:var(--soft);border-left:4px solid var(--navy-2);padding:1rem 1.2rem;border-radius:0 8px 8px 0;margin:1.4rem 0;font-size:.93rem;color:var(--muted)}

/* product detail */
.pd{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;margin:1.6rem 0 2.4rem}
.pd-img{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;display:grid;place-items:center;min-height:320px}
.pd-img img{max-height:340px;object-fit:contain}
.pd-gallery{display:flex;gap:.6rem;margin-top:.8rem}
.pd-gallery img{width:76px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#fff;padding:.3rem}
.pd-summary h1{font-size:2rem}
.tag{display:inline-block;background:var(--soft);color:var(--navy-2);border-radius:20px;padding:.2rem .7rem;font-size:.75rem;font-weight:700;margin:0 .35rem .5rem 0}

/* faq */
.faq-item{border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:.7rem;padding:1rem 1.2rem}
.faq-item h3{font-size:1rem;margin:0 0 .45rem}
.faq-item p{margin:0;font-size:.92rem;color:var(--muted)}

/* form */
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
label{display:block;font-size:.85rem;font-weight:700;margin-bottom:.35rem;color:var(--navy)}
input,select,textarea{width:100%;padding:.7rem .85rem;border:1px solid var(--line);border-radius:6px;font:inherit;font-size:.92rem;background:#fff;color:var(--text)}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid #b9d0e3;border-color:var(--navy-2)}
.full{grid-column:1/-1}

/* footer */
.site-footer{background:#081d34;color:#b8cadd;padding:52px 0 22px;margin-top:20px}
.site-footer .grid-4{gap:2rem}
.site-footer h4{color:#fff;font-size:.92rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.9rem}
.site-footer ul{list-style:none;padding:0;margin:0;font-size:.88rem}
.site-footer li{margin:.42rem 0}
.site-footer a{color:#b8cadd} .site-footer a:hover{color:#ffb08e}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2.6rem;padding-top:1.2rem;font-size:.8rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

@media(max-width:1000px){
  .article-layout{grid-template-columns:1fr}.side{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
  .grid-4{grid-template-columns:repeat(2,1fr)}.hero-stats{grid-template-columns:repeat(2,1fr)}
  .dropdown{min-width:460px;grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .nav-toggle{display:block;margin-left:auto}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:.6rem 1rem 1.2rem;box-shadow:0 12px 24px rgba(11,37,69,.12)}
  .nav-links.open{display:flex}
  .dropdown{position:static;display:none;min-width:0;grid-template-columns:1fr;box-shadow:none;border:0;padding:.2rem 0 .6rem}
  .nav-links>li:hover .dropdown{display:block}
  .nav .btn-primary{display:none}
  .grid-2,.grid-3,.grid-4,.pd,.form-grid{grid-template-columns:1fr}
  .hero .wrap{padding:52px 0}.hero h1{font-size:2.05rem}
  .section{padding:38px 0}h1{font-size:1.8rem}.page-head h1{font-size:1.85rem}
  .side{grid-template-columns:1fr}
  .topbar .wrap{flex-wrap:wrap;padding:.35rem 0}
}

/* ============ v5: product-first merchandising ============ */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:2.4rem;align-items:center}
.hero-products{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem}
.hero-prod{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:.65rem;text-align:center}
.hero-prod .hp-img{background:#fff;border-radius:6px;height:92px;display:grid;place-items:center;padding:.35rem;margin-bottom:.45rem}
.hero-prod img{max-height:84px;object-fit:contain}
.hero-prod b{display:block;font-size:.74rem;color:#fff;letter-spacing:.05em}
.hero-prod span{display:block;font-size:.66rem;color:#b9cfe2;line-height:1.4;margin-top:.15rem}
.hero-trust{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.25rem}
.hero-trust span{font-size:.73rem;color:#c9dbea;border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:.2rem .68rem}
.chip-rail{display:flex;gap:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:.2rem 0 .6rem;scroll-snap-type:x proximity}
.chip-rail::-webkit-scrollbar{height:5px}
.chip-rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:5px}
.chip{flex:0 0 auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:.42rem .85rem;font-size:.82rem;font-weight:600;color:var(--navy-2);white-space:nowrap;scroll-snap-align:start}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.ftabs{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.35rem;margin-bottom:1.1rem;-webkit-overflow-scrolling:touch}
.ftab{flex:0 0 auto;background:#fff;border:1px solid var(--line);border-radius:6px;padding:.45rem .85rem;font-size:.83rem;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap}
.ftab:hover{border-color:var(--navy-2);color:var(--navy-2)}
.ftab.active{background:var(--navy);border-color:var(--navy);color:#fff}
.pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:stretch}
.pgrid .pcard-extra{display:none}
.pgrid.expanded .pcard-extra{display:flex}
.pcard.filtered-out{display:none!important}
.pcard{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.2s;color:var(--text)}
.pcard:hover{transform:translateY(-3px);border-color:#b9d0e3;box-shadow:0 8px 26px rgba(11,37,69,.12);color:var(--text)}
/* Fixed row heights keep every title and spec line on the same baseline across the grid. */
.pcard-media{position:relative;background:#fff;border-bottom:1px solid var(--line);aspect-ratio:4/3;display:grid;place-items:center;padding:.45rem;flex:0 0 auto}
.pcard-media img{width:100%;height:100%;max-height:none;object-fit:contain;display:block}
.pcard-badge{position:absolute;top:.5rem;left:.5rem;background:var(--navy);color:#fff;font-size:.65rem;font-weight:800;letter-spacing:.06em;border-radius:4px;padding:.2rem .45rem}
.pcard-body{padding:.85rem .9rem .95rem;display:flex;flex-direction:column;flex:1}
.pcard-cat{font-size:.67rem;line-height:1.3;height:1.3em;text-transform:uppercase;letter-spacing:.09em;color:var(--accent);font-weight:700;margin-bottom:.35rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard-body h3{font-size:.89rem;line-height:1.35;height:2.7em;margin:0 0 .6rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pcard-specs{list-style:none;padding:0;margin:0 0 .7rem;font-size:.74rem;flex:0 0 auto}
.pcard-specs li{display:flex;justify-content:space-between;align-items:center;gap:.4rem;height:2.05em;padding:0;border-bottom:1px dashed var(--line);min-width:0}
.pcard-specs li:last-child{border-bottom:0}
.pcard-specs span{color:var(--muted);white-space:nowrap;flex:0 0 auto}
.pcard-specs b{color:var(--navy);font-weight:700;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pcard-more{margin-top:auto;height:1.5em;line-height:1.5em;font-size:.76rem;font-weight:700;color:var(--accent)}
/* Two-column technical library: keeps the left column from ending far above the right one. */
.res-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.res-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.85rem 1rem;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:.2s}
.res-card:hover{transform:translateY(-2px);border-color:#b9d0e3;box-shadow:0 8px 26px rgba(11,37,69,.1)}
.res-card h3{font-size:.88rem;line-height:1.3;height:2.6em;margin:0 0 .35rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.res-card p{font-size:.76rem;line-height:1.5;height:3em;color:var(--muted);margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.article .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.show-all-wrap{text-align:center;margin-top:1.3rem}
.show-all-wrap .btn{min-width:230px}
.pd-qspec{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin:1.3rem 0 1.9rem}
.pd-qspec div{background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:.8rem .5rem;text-align:center}
.pd-qspec b{display:block;font-size:1rem;color:var(--navy);line-height:1.35}
.pd-qspec span{font-size:.67rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.spec-note{font-size:.83rem;color:var(--muted);background:var(--soft);border-left:3px solid var(--steel);padding:.7rem 1rem;border-radius:0 6px 6px 0;margin:-.6rem 0 1.7rem}
.pd-cta{background:var(--navy);color:#fff;border-radius:10px;padding:1.25rem 1.5rem;margin:2rem 0;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.pd-cta h3{color:#fff;margin:0;font-size:1.12rem}
.pd-cta p{color:#c9dbea;font-size:.85rem;margin:.3rem 0 0}
.pd-cta .btn-outline{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.compare th,.compare td{font-size:.84rem;padding:.55rem .75rem}
.compare thead th{background:var(--navy);color:#fff}
.mobile-cta{display:none}
@media(max-width:1000px){
  .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .article .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-grid{gap:1.3rem}
}
@media(max-width:760px){
  .hero-grid{grid-template-columns:1fr}
  .hero-products{display:none}
  .hero .wrap{padding:30px 0 26px}
  .hero h1{font-size:1.6rem;line-height:1.2}
  .hero .lead{font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero-actions{margin-top:.95rem;gap:.5rem}
  .hero-actions .btn{padding:.55rem .9rem;font-size:.82rem}
  .hero-trust{margin-top:.75rem;gap:.28rem}
  .hero-trust span{font-size:.65rem;padding:.15rem .48rem}
  .hero-stats{display:none}
  .section{padding:26px 0}
  .section-head{margin-bottom:.95rem}
  .section-head h2{font-size:1.26rem}
  .section-head p{font-size:.86rem}
  .chip-rail{margin-top:-.3rem}
  .ftabs{margin-bottom:.8rem}
  .pgrid,.article .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
  .pcard-media{aspect-ratio:1/1;padding:.35rem}
  .pcard-badge{font-size:.57rem;top:.32rem;left:.32rem;padding:.12rem .32rem}
  .pcard-body{padding:.58rem .6rem .68rem}
  .pcard-cat{font-size:.58rem;margin-bottom:.18rem;height:1.3em;line-height:1.3}
  .pcard-body h3{font-size:.77rem;height:2.7em;margin-bottom:.35rem}
  .pcard-specs{font-size:.65rem;margin-bottom:.4rem}
  .pcard-specs li{height:1.95em;padding:0}
  .pcard-more{font-size:.67rem}
  .res-grid{grid-template-columns:1fr;gap:.6rem}
  .res-card{padding:.7rem .85rem}
  .res-card h3{font-size:.86rem;height:auto}
  .res-card p{font-size:.78rem;height:auto}
  .pd-qspec{grid-template-columns:repeat(2,1fr);gap:.5rem;margin:1rem 0 1.4rem}
  .pd{margin:1rem 0 1.3rem;gap:1rem}
  .pd-img{min-height:205px;padding:.7rem}
  .pd-img img{max-height:205px}
  .pd-summary h1{font-size:1.48rem}
  .pd-cta{padding:1rem}
  .mobile-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(11,37,69,.12);padding:.5rem .7rem;gap:.6rem}
  .mobile-cta a{flex:1;text-align:center;border-radius:6px;padding:.6rem .4rem;font-size:.82rem;font-weight:700}
  .mbtn-ghost{border:1px solid var(--line);color:var(--navy)}
  .mbtn-primary{background:var(--accent);color:#fff}
  body{padding-bottom:54px}
  .topbar{display:none}
  .nav{min-height:58px}
  .breadcrumb{margin-bottom:.9rem;padding:.7rem 0}
  .article-layout{padding:10px 0 40px;gap:1rem}
  .article h2{font-size:1.22rem;margin-top:1.7rem}
  .table-wrap{font-size:.85rem}
}
@media(max-width:380px){
  .pcard-body h3{font-size:.72rem}
  .pcard-specs{font-size:.6rem}
  .pcard-cat{font-size:.54rem}
}

/* v5: keep the product grid inside the first mobile viewport */
.products-section{padding-top:16px}
@media(max-width:760px){
  .products-section{padding-top:12px;padding-bottom:18px}
  .hero .wrap{padding:22px 0 20px}
  .hero h1{font-size:1.42rem}
  .hero .lead{-webkit-line-clamp:1;margin-bottom:0}
  .hero-actions{margin-top:.7rem}
  .hero-trust{margin-top:.55rem}
  .hero-trust span{font-size:.61rem;padding:.12rem .42rem}
  .section-head{margin-bottom:.55rem}
  .section-head h2{font-size:1.14rem}
  .section-head p{font-size:.8rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin-top:.2rem}
  .eyebrow{margin-bottom:.35rem;font-size:.68rem}
  .ftabs{margin-bottom:.55rem}
  .ftab{padding:.35rem .7rem;font-size:.76rem}
  .show-all-wrap{margin-top:.9rem}
  .show-all-wrap .btn{padding:.6rem 1rem;font-size:.84rem;min-width:0}
}
.ftabs,.chip-rail{scrollbar-width:none;-ms-overflow-style:none}
.ftabs::-webkit-scrollbar,.chip-rail::-webkit-scrollbar{display:none}

/* ============ v8: audit-driven accessibility, readability & trust ============ */
/* #e8663d measured 3.28:1 on white. #c14a24 gives 4.92:1 on white and
   4.62:1 on the light-grey section background - both pass WCAG AA. */
:root{--accent:#c14a24;--accent-d:#96391a}

.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:#fff;color:var(--navy);
  padding:.7rem 1.1rem;border:2px solid var(--navy);border-radius:0 0 8px 0;font-weight:700}
.skip-link:focus{left:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--accent);outline-offset:2px}
/* Keyboard users must be able to open the product mega menu. */
.nav-links>li:hover .dropdown,.nav-links>li:focus-within .dropdown{display:grid}

.article-meta{font-size:.82rem;color:var(--muted);margin:-.2rem 0 1.5rem;
  padding-bottom:.8rem;border-bottom:1px solid var(--line)}
.article{max-width:68ch}

/* Two lines of room for category + spec values: no ellipsis, no half words,
   but still fixed row heights so the grid stays perfectly aligned. */
.pcard-cat{white-space:normal;text-overflow:clip;font-size:.72rem;
  height:2.6em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pcard-specs li{height:2.9em;align-items:flex-start;padding:.22rem 0}
.pcard-specs b{white-space:normal;text-overflow:clip;line-height:1.3;
  max-height:2.6em;overflow:hidden}
.pcard-more{font-size:.8rem}

/* Consent / honeypot / error states for the server-side quote form */
.consent{display:flex;align-items:flex-start;gap:.55rem;font-size:.86rem;font-weight:400;
  color:var(--muted);margin:1rem 0 0;cursor:pointer}
.consent input{width:auto;flex:0 0 auto;margin-top:.25rem}
.consent a{color:var(--navy-2);text-decoration:underline}
.hp-wrap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-error{background:#fdecea;border:1px solid #f0b3a8;color:#8a2a12;
  border-radius:6px;padding:.75rem 1rem;margin-top:1rem;font-size:.88rem}
.form-error[hidden]{display:none}
.form-note{font-size:.84rem;color:var(--muted);margin:.9rem 0 0}
.form-note a{text-decoration:underline}

/* Quote / thank-you pages must not be covered by the fixed mobile CTA bar. */
body.page-quote{padding-bottom:0}
body.page-quote .mobile-cta{display:none!important}

@media(max-width:760px){
  /* Remove every line clamp that cut key copy off mid-sentence. */
  .hero .lead{-webkit-line-clamp:unset;display:block;overflow:visible;
    font-size:.92rem;line-height:1.55}
  .section-head p{-webkit-line-clamp:unset;display:block;overflow:visible;
    font-size:.86rem;line-height:1.5}
  .pcard-cat{font-size:.75rem;height:2.6em}
  .pcard-body h3{font-size:.88rem;height:2.7em}
  .pcard-specs{font-size:.75rem}
  .pcard-specs li{height:2.9em}
  .pcard-more{font-size:.78rem}
  .pcard-badge{font-size:.66rem}
  .res-card h3,.res-card p{height:auto;-webkit-line-clamp:unset;overflow:visible}
  /* Unify same-level headings; the engineering block used 1.55rem. */
  #engineering h2,.section-head h2{font-size:1.26rem}
  .site-footer .grid-4{grid-template-columns:repeat(2,1fr);gap:1.4rem}
  .nav-links>li:hover .dropdown,.nav-links>li:focus-within .dropdown{display:block}
}
@media(max-width:380px){
  /* Keep every card label at >=12px instead of 8.6-11.5px. */
  .pcard-body h3{font-size:.85rem}
  .pcard-specs{font-size:.75rem}
  .pcard-cat{font-size:.75rem}
  .pcard-more{font-size:.76rem}
  .hero .lead{font-size:.9rem}
}

/* Category rail needs an affordance; horizontal scrolling was undiscoverable. */
.rail-hint{display:none;font-size:.76rem;color:var(--muted);margin:0 0 .35rem}
@media(max-width:760px){
  .rail-hint{display:block}
  /* Keep one real product photo in the mobile first screen without pushing
     the product grid below the fold: a single 64px strip, not three cards. */
  .hero-products{display:grid;grid-template-columns:1fr;margin-top:.85rem}
  .hero-prod:nth-child(n+2){display:none}
  .hero-prod{display:flex;align-items:center;gap:.8rem;text-align:left;padding:.4rem .6rem}
  .hero-prod .hp-img{height:62px;width:86px;flex:0 0 86px;margin:0;padding:.2rem}
  .hero-prod img{max-height:58px}
  .hero-prod b{font-size:.8rem}
  .hero-prod span{font-size:.72rem;margin-top:.1rem}
}
