:root {
  /* ACL brand palette — sampled from the company poster & services banner */
  --navy: #0B2F7A;       /* Deep navy ("Professional", bottom wave band) */
  --deep: #1558B8;       /* Royal brand blue ("AQUA CHEM LABS" wordmark) */
  --aqua: #2EA3E6;       /* Water-splash sky blue accent */
  --leaf: #238A3B;       /* Leaf green CTA buttons */
  --leaf-dark: #1B6F2F;  /* Leaf green hover */
  --lime: #7CC242;       /* Fresh lime from the drop logo */
  --mist: #F1F8FE;       /* Pale water tint background */
  --ink: #14264A;        /* Navy-slate body text */
  --light-bg: #FFFFFF;   /* Pure White Background */
  --line: #D9E7F5;       /* Soft blue border */
  --amber: #238A3B;      /* Highlight buttons now use brand green */
  --brand-gradient: linear-gradient(90deg, var(--deep) 0%, var(--aqua) 55%, var(--lime) 100%);
  --card-bg: #FFFFFF;
  --danger-bg: #FFF5F5;
  --danger-border: #FED7D7;
  --danger-ink: #9B2C2C;
  --success-bg: #F0FFF4;
  --success-border: #C6F6D5;
  --success-ink: #22543D;
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.05rem/1.65 "Public Sans", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--light-bg); }
body.menu-open { overflow: hidden; } /* Prevents background scrolling when mobile menu is active */

h1, h2, h3, h4 { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; line-height: 1.15; margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }

/* Top Certification Bar */
.top-bar { background: var(--navy); color: #E3EEFB; font-size: 0.85rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.badge-iso { display: inline-flex; align-items: center; gap: 0.4rem; color: #FFFFFF; font-weight: 600; }
.badge-iso span { background: #FFFFFF; padding: 0.15rem 0.45rem; border-radius: 3px; border: 1px solid var(--lime); color: var(--navy); font-size: 0.75rem; }

/* Header & Navigation */
header.site-header { background: #FFFFFF; color: var(--ink); position: relative; z-index: 100; border-bottom: 3px solid transparent; border-image: var(--brand-gradient) 1; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; position: relative; }
.brand { --brand-size: clamp(1.625rem, 3.625vw, 2.6875rem); display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
/* Logo height = company name line + tagline line, so it spans the full text block */
.brand-logo-img { height: calc(var(--brand-size) * 1.1 + 1.04rem); width: auto; flex-shrink: 0; background: none; border: none; padding: 0; border-radius: 0; }
.brand-text { display: flex; flex-direction: column; white-space: nowrap; } 
.brand-name { font: 700 var(--brand-size)/1.1 "Baskerville Old Face", "Libre Baskerville", Baskerville, "Times New Roman", serif; letter-spacing: 0.02em; color: var(--deep); -webkit-text-stroke: 0.6px currentColor; }
.brand-abbr { font-family: "Colonna MT", "Baskerville Old Face", "Libre Baskerville", serif; font-weight: 700; -webkit-text-stroke: 0; }
.brand-tag { font-size: 0.7rem; line-height: 1.2; color: var(--leaf); letter-spacing: 0.03em; margin-top: 0.2rem; font-weight: 600; text-transform: uppercase; }

.mobile-menu-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.8rem; cursor: pointer; padding: 0.2rem 0.5rem; line-height: 1; }

.nav-menu ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; align-items: center; }
.nav-menu a, .dd-label { text-decoration: none; font-weight: 500; padding: 0.4rem 0.6rem; border-radius: 4px; transition: background 0.2s, color 0.2s; color: var(--ink); }
.nav-menu a:hover, .dd-label:hover { background: var(--mist); color: var(--deep); }

/* Added white-space: nowrap to these buttons to prevent wrapping */
.nav-menu a.guide-btn { background: linear-gradient(90deg, var(--leaf), #3FA535); color: #FFFFFF; font-weight: 700; white-space: nowrap; }
.nav-menu a.guide-btn:hover { background: var(--leaf-dark); }
.nav-menu a.brochure-btn { border: 1.5px solid var(--deep); color: var(--deep); font-weight: 600; white-space: nowrap; }
.nav-menu a.brochure-btn:hover { background: var(--deep); color: #FFFFFF; }
.nav-menu a[aria-current="page"]:not(.guide-btn):not(.brochure-btn), .dd-label.is-current { color: var(--deep); background: var(--mist); font-weight: 600; }

/* Global Dropdown Rules */
.dd { position: relative; list-style: none; }
.dd-label { cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 0.25rem; background: transparent; border: none; font-family: inherit; font-size: inherit; color: var(--ink); }

.dd-menu { 
  display: none !important; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  min-width: 210px; 
  background: #FFFFFF; 
  padding: 0.4rem; 
  border-radius: 6px; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
  z-index: 120; 
  border: 1px solid var(--line); 
  list-style: none; 
  margin: 0;
}

.dd:hover > .dd-menu, 
.dd:focus-within > .dd-menu,
.dd.active > .dd-menu { 
  display: block !important; 
}

.dd-menu a { display: block; padding: 0.5rem 0.7rem; color: var(--ink); text-decoration: none; }
.dd-menu a:hover { background: var(--mist); color: var(--deep); }

/* Buttons & Component Layouts */
.btn { display: inline-block; background: var(--leaf); color: #FFFFFF; font-weight: 700; text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 6px; border: 0; cursor: pointer; font-size: 0.98rem; font-family: inherit; transition: background 0.2s, transform 0.1s; text-align: center; }
.btn:hover { background: var(--leaf-dark); }
.btn.ghost { background: transparent; border: 2px solid var(--deep); color: var(--deep); }
.btn.ghost:hover { background: var(--deep); color: #FFFFFF; }
.btn.sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }

/* Hero Section */
.hero { background: radial-gradient(circle at 85% 10%, rgba(124,194,66,0.14), transparent 40%), linear-gradient(180deg, #E3F1FC 0%, #FFFFFF 100%); color: var(--ink); padding: 3rem 0 5rem; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--deep); }
.hero p.lead { font-size: 1.1rem; max-width: 36rem; margin: 1.2rem 0 1.8rem; color: #33476B; }
.hero .cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 50px; display: block; }

/* Finder & Interactive Components */
.finder { background: #FFFFFF; color: var(--ink); border-radius: 10px; padding: 1.6rem; box-shadow: 0 12px 30px rgba(21, 88, 184, 0.10); border: 1px solid var(--line); border-top: 4px solid transparent; border-image: var(--brand-gradient) 1; width: 100%; }
.finder h2 { font-size: 1.35rem; color: var(--deep); }
.finder label { display: block; font-weight: 600; margin: 1rem 0 0.4rem; font-size: 0.95rem; }
.finder select { width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1.5px solid var(--line); border-radius: 6px; background: #FFFFFF; color: var(--ink); }
.result { margin-top: 1.1rem; padding: 1rem; background: var(--mist); border-left: 5px solid var(--deep); border-radius: 0 6px 6px 0; min-height: 5.5rem; }
.result--solution { display: grid; gap: .45rem; border-left-color: var(--leaf); }
.result--solution strong { color: var(--navy); font: 700 1.08rem/1.25 "Bricolage Grotesque",sans-serif; }
.result--solution > span { color: #33476B; font-size: .9rem; line-height: 1.5; }
.result__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.result__actions a { padding: .42rem .68rem; border-radius: 4px; background: var(--deep); color: #fff; font-size: .78rem; font-weight: 700; }
.result__actions a + a { background: transparent; border: 1px solid var(--deep); color: var(--deep); }

/* Content Sections & Cards */
section { padding: 4rem 0; }
h2.title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.015em; color: var(--navy); }
h2.title::after { content: ""; display: block; width: 90px; height: 4px; margin-top: 0.6rem; border-radius: 2px; background: linear-gradient(90deg, var(--deep) 50%, var(--lime) 50%); }
.intro { max-width: 48rem; margin: 0.8rem 0 2rem; color: #4A5D80; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.tile { display: block; text-decoration: none; padding: 1.2rem 1.3rem; border: 1.5px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 8px; background: #FFFFFF; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.tile:hover { border-top-color: var(--aqua); box-shadow: 0 8px 22px rgba(21,88,184,0.12); transform: translateY(-2px); }
.tile h3 { font-size: 1.15rem; color: var(--deep); margin-bottom: 0.35rem; }
.tile p { margin: 0; font-size: 0.93rem; color: #4A5D80; }

/* Brochure Section */
.brochure-sec { padding: 3rem 0; }
.brochure-actions { margin: 1.2rem 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.brochure-viewer { border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--mist); }
.brochure-viewer object { display: block; width: 100%; height: 75vh; min-height: 400px; }
.brochure-viewer p { padding: 1.5rem; margin: 0; text-align: center; }
.brochure-preview { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 12px; color: #fff; background: linear-gradient(115deg, rgba(7,29,70,.97), rgba(21,88,184,.9)), url('images/web/plant-ro-skid.jpg') center/cover; box-shadow: 0 18px 40px rgba(11,47,122,.18); }
.brochure-preview::after { content: ""; position: absolute; width: 16rem; height: 16rem; right: 12%; top: -9rem; border: 1px solid rgba(155,211,90,.55); border-radius: 50%; pointer-events: none; }
.brochure-preview span { display: block; color: #9BD35A; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.brochure-preview strong { display: block; margin-top: .25rem; font: 800 clamp(2rem,5vw,4rem)/1 "Bricolage Grotesque",sans-serif; }
.brochure-preview p { max-width: 42rem; margin: .7rem 0 0; color: #DCE8F4; }
.brochure-preview .btn { position: relative; z-index: 1; white-space: nowrap; }
.brochure-load { min-height: min(62vh, 620px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; padding: 2rem; background: linear-gradient(145deg, #EAF4FC, #F8FBFE); text-align: center; }
.brochure-load p { padding: 0; }
.brochure-load strong, .brochure-load span { display: block; }
.brochure-load strong { color: var(--navy); font-size: 1.2rem; }
.brochure-load span { max-width: 34rem; margin-top: .4rem; color: #4A5D80; }

/* Call-to-Action Band & Footer */
.cta-band { background: linear-gradient(90deg, var(--deep) 0%, #1F7FD0 60%, var(--aqua) 100%); color: #FFFFFF; padding: 2.2rem 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: 1.4rem; color: #FFFFFF; }
.cta-band .btn.ghost { border-color: #FFFFFF; color: #FFFFFF; }
.cta-band .btn.ghost:hover { background: #FFFFFF; color: var(--deep); }
.cta-band .cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
footer { background: linear-gradient(160deg, var(--navy) 0%, #0E3F95 100%); color: #D3E2F6; padding: 2.5rem 0 1.5rem; font-size: 0.92rem; border-top: 4px solid transparent; border-image: var(--brand-gradient) 1; }
footer a:hover { color: #FFFFFF; text-decoration: underline; }
footer .f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }

/* Brand Showcase (poster & services banner) */
.brand-showcase { background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%); }
.showcase-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.4rem; align-items: start; }
.showcase-grid figure, .grid-gallery figure { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px rgba(11,47,122,0.10); }
.showcase-grid a { display: block; }
.showcase-grid img, .grid-gallery img { display: block; width: 100%; height: auto; }
.showcase-grid figcaption, .grid-gallery figcaption { padding: 0.7rem 1rem; font-size: 0.9rem; color: #4A5D80; border-top: 3px solid transparent; border-image: var(--brand-gradient) 1; }

/* Documentation & Certifications */
.certifications { background: var(--navy); color: #E3EEFB; position: relative; overflow: hidden; }
.certifications::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 92% 8%, rgba(124,194,66,.2), transparent 30%), linear-gradient(135deg, transparent 48%, rgba(46,163,230,.08) 48%, rgba(46,163,230,.08) 52%, transparent 52%); }
.certifications .wrap { position: relative; }
.certifications h2.title { color: #FFFFFF; }
.certifications .intro { color: #C9DCF2; }
.section-kicker { margin: 0 0 .45rem; color: #9BD35A; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.certification-grid { display: grid; grid-template-columns: 1.12fr .88fr 1.12fr .88fr; gap: 1rem; align-items: start; }
.certification-card { margin: 2.4rem 0 0; background: #FFFFFF; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 42px rgba(2,18,51,.35); transition: transform .25s, box-shadow .25s; }
.certification-card--tall { margin-top: 0; }
.certification-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(2,18,51,.48); }
.certification-card a { display: block; background: #EDF4FA; }
.certification-card img { display: block; width: 100%; height: auto; }
.certification-card figcaption { padding: .75rem 1rem; color: var(--navy); font-size: .88rem; font-weight: 700; border-top: 3px solid var(--lime); }

/* Inner Page Header & Gallery */
.guide-header { background: linear-gradient(120deg, var(--navy) 0%, var(--deep) 60%, var(--aqua) 100%); color: #FFFFFF; padding: 2.5rem 0; }
.guide-header p { margin: 0.6rem 0 0; color: #E3EEFB; }
.grid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.grid-gallery > img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.brand-images { margin-bottom: 2.5rem; }

/* Desktop header: brand row + full-width navigation bar (nav is too long to share a row with the brand) */
@media (min-width: 1025px) {
  .header-container { flex-wrap: wrap; row-gap: 0.55rem; padding-bottom: 0; }
  .nav-menu { display: flex !important; flex-basis: 100%; border-top: 1px solid var(--line); padding: 0.45rem 0; }
  .nav-menu > ul { width: 100%; gap: 0.25rem; }
  .nav-menu li:has(> .guide-btn) { margin-left: auto; }
  .nav-menu .guide-btn, .nav-menu .brochure-btn { margin-left: 0.35rem; }
}

/* Tablet & mobile navigation: hamburger + full-screen overlay */
@media (max-width: 1024px) {
  .header-container { padding: 0.6rem 1rem; }
  .mobile-menu-toggle { display: block; position: relative; z-index: 1001; flex-shrink: 0; min-width: 44px; min-height: 44px; }
  body.menu-open .mobile-menu-toggle { position: fixed; top: 0.75rem; right: 1rem; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: #FFFFFF;
    padding: 5rem 1.5rem 2rem 1.5rem;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active { display: flex; flex-direction: column; justify-content: flex-start; }
  .nav-menu ul { flex-direction: column; align-items: stretch; gap: 0.5rem; width: 100%; max-width: 560px; margin: 0 auto; }
  .nav-menu li { width: 100%; }

  .nav-menu a, .dd-label {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 6px;
    text-align: left;
    color: var(--ink);
  }
  .nav-menu a.guide-btn, .nav-menu a.brochure-btn { text-align: center; }

  /* Mobile Dropdown Overrides */
  .dd { width: 100%; }
  .dd-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--mist);
    padding-left: 0.75rem;
    margin-top: 0.2rem;
  }
}

/* OPTIMIZED MOBILE STYLES */
@media (max-width: 768px) {
  .wrap { padding: 0 1rem; }
  section { padding: 2.5rem 0; }

  /* Content & Layout Adjustments */
  .top-bar { font-size: 0.78rem; }
  .top-bar .wrap { flex-direction: column; text-align: center; gap: 0.25rem; }
  .badge-iso { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero .wrap, footer .f-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero .cta, .cta-band .cta, .brochure-actions { display: flex; flex-direction: column; width: 100%; }
  .btn, .btn.ghost { width: 100%; display: block; margin-bottom: 0.25rem; }

  .tiles { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .certification-grid { grid-template-columns: 1fr 1fr; }
  .certification-card, .certification-card--tall { margin-top: 0; }
  .brochure-viewer object { height: 50vh; min-height: 320px; }
}

/* Small phones: scale the brand so logo, name and menu button fit on one row */
@media (max-width: 560px) {
  .brand { --brand-size: clamp(0.95rem, 4.6vw, 1.5rem); gap: 0.5rem; min-width: 0; }
  .brand-logo-img { height: calc(var(--brand-size) * 1.1 + 0.9rem); }
  .brand-name { -webkit-text-stroke: 0.3px currentColor; letter-spacing: 0.01em; }
  .brand-tag { font-size: clamp(0.5rem, 2.3vw, 0.62rem); letter-spacing: 0.01em; margin-top: 0.15rem; }
  .header-container { gap: 0.5rem; padding: 0.55rem 0.75rem; }
  .mobile-menu-toggle { font-size: 1.6rem; padding: 0.2rem 0.35rem; min-width: 40px; }
}

@media (max-width: 520px) {
  .certification-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Plant & Service Photos */
.plant-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin: 2rem 0 0; }
.plant-cards > div { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(11,47,122,0.07); transition: transform 0.2s, box-shadow 0.2s; }
.plant-cards > div:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(11,47,122,0.13); }
.plant-cards dd.thumb { order: -1; margin: 0; border-bottom: 3px solid transparent; border-image: var(--brand-gradient) 1; }
.plant-cards dd.thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plant-cards dt { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); padding: 1rem 1.1rem 0.3rem; }
.plant-cards dd:not(.thumb) { margin: 0; padding: 0 1.1rem 1.1rem; font-size: 0.93rem; color: #4A5D80; }

/* Click-to-open technical service library */
.service-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; align-items: start; }
.service-guide { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 7px 22px rgba(11,47,122,.08); }
.service-guide[open] { grid-column: 1 / -1; border-color: #9FC8ED; box-shadow: 0 14px 35px rgba(11,47,122,.14); }
.service-guide summary { display: grid; grid-template-columns: 150px 1fr; min-height: 150px; cursor: pointer; list-style: none; transition: background .2s; }
.service-guide summary::-webkit-details-marker { display: none; }
.service-guide summary:hover { background: var(--mist); }
.service-guide summary img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.service-guide summary span { display: flex; flex-direction: column; justify-content: center; padding: 1.15rem 1.3rem; }
.service-guide summary strong { color: var(--navy); font: 700 1.15rem/1.25 "Bricolage Grotesque", sans-serif; }
.service-guide summary small { margin-top: .45rem; color: #4A5D80; font-size: .9rem; line-height: 1.5; }
.service-guide summary b { margin-top: .7rem; color: var(--leaf); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.service-guide summary b::after { content: " +"; font-size: 1.05rem; }
.service-guide[open] summary b::after { content: " −"; }
.service-guide__content { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--line); background: #F7FBFF; }
.service-guide__content iframe { display: block; width: 100%; height: min(76vh, 760px); min-height: 480px; margin-top: 1.25rem; border: 1px solid #BDD7EE; border-radius: 8px; background: #FFFFFF; }
.service-guide__fallback { margin: .8rem 0 0; text-align: center; font-size: .9rem; color: #4A5D80; }
.service-guide__fallback a { color: var(--deep); font-weight: 700; text-decoration: underline; }
@media (max-width: 760px) {
  .service-library { grid-template-columns: 1fr; }
  .service-guide[open] { grid-column: auto; }
  .service-guide summary { grid-template-columns: 110px 1fr; min-height: 140px; }
  .service-guide summary img { min-height: 140px; }
  .service-guide summary span { padding: 1rem; }
  .service-guide__content { padding: 0 .7rem .7rem; }
  .service-guide__content iframe { min-height: 65vh; margin-top: .7rem; }
}

.plant-grid-title { margin: 2rem 0 1rem; font-size: 1.25rem; color: var(--navy); }
.plant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.plant-grid figure { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(11,47,122,0.07); }
.plant-grid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plant-grid figcaption { background: linear-gradient(90deg, var(--navy), var(--deep)); color: #FFFFFF; padding: 0.6rem 0.8rem; text-align: center; line-height: 1.3; }
.plant-grid figcaption strong { display: block; font-size: 0.98rem; }
.plant-grid figcaption span { font-size: 0.8rem; color: #D3E2F6; }

.side-photo { float: right; width: min(360px, 42%); margin: 0 0 1rem 1.5rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(11,47,122,0.10); }
.side-photo img { display: block; width: 100%; height: auto; }
.side-photo figcaption { padding: 0.55rem 0.8rem; font-size: 0.85rem; color: #4A5D80; border-top: 3px solid transparent; border-image: var(--brand-gradient) 1; }
@media (max-width: 768px) { .side-photo { float: none; width: 100%; margin: 0 0 1rem; } }

/* About Aqua Chem Labs — industrial editorial profile */
.about-hero { padding: clamp(3.5rem, 7vw, 7rem) 0; background: linear-gradient(120deg, #071d46 0%, var(--navy) 67%, #0c5f82 100%); color: #fff; overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-hero h1 { font-size: clamp(2.7rem, 5.6vw, 5.4rem); letter-spacing: -.045em; line-height: .98; max-width: 780px; }
.about-hero h1 em { color: #9bd35a; font-style: normal; }
.about-lead { max-width: 650px; margin: 1.5rem 0 2rem; color: #d8e7f5; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.about-hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.about-hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.about-hero figure { margin: 0; position: relative; transform: rotate(1.5deg); }
.about-hero figure::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(155,211,90,.55); z-index: 0; }
.about-hero figure img { position: relative; display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.8) contrast(1.08); }
.about-hero figcaption { position: absolute; left: -1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1rem 1.2rem; background: rgba(7,29,70,.92); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.about-hero figcaption span { display: block; color: #9bd35a; font-weight: 800; }
.about-intro { background: #f4f1e9; }
.about-intro__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); }
.about-intro h2, .spares-section h2, .service-area h2, .quality-vision h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
.about-intro p { margin-top: 0; color: #40516d; }
.expertise { background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
.capability { position: relative; min-height: 410px; overflow: hidden; background: var(--navy); }
.capability--wide { grid-column: 1/-1; min-height: 520px; }
.capability img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .68; transition: transform .5s, opacity .5s; }
.capability::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,22,54,.96), rgba(4,22,54,.08) 78%); }
.capability:hover img { transform: scale(1.025); opacity: .83; }
.capability div { position: absolute; z-index: 1; left: clamp(1.3rem,3vw,2.5rem); right: 1.5rem; bottom: clamp(1.3rem,3vw,2.5rem); color: #fff; }
.capability span { color: #9bd35a; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; }
.capability h3 { font-size: clamp(1.6rem,3vw,2.5rem); margin: .35rem 0; }
.capability p { max-width: 650px; margin: 0 0 .7rem; color: #d9e7f5; }
.capability a, .text-link { color: #9bd35a; font-weight: 800; }
.function-section { background: #e9f4f7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { color: var(--navy); font-size: clamp(2rem,4vw,3.5rem); }
.section-heading > p { max-width: 360px; margin: 0; color: #4a5d80; }
.function-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.function-card { min-height: 330px; position: relative; overflow: hidden; border: 0; background: #092d61 var(--card-image) center/cover no-repeat; color: #fff; }
.function-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(15deg, rgba(5,27,65,.98) 5%, rgba(8,46,97,.35)); transition: background .3s; }
.function-card summary { position: relative; z-index: 1; min-height: 330px; padding: 1.3rem; cursor: pointer; list-style: none; display: flex; flex-direction: column; justify-content: flex-end; }
.function-card summary::-webkit-details-marker, .chemical-grid summary::-webkit-details-marker { display: none; }
.function-card summary span { position: absolute; top: 1rem; color: #9bd35a; font: 800 .75rem/1 "Public Sans",sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.function-card h3 { font-size: 1.4rem; }
.function-card summary b { color: #9bd35a; font-size: .72rem; margin-top: .6rem; text-transform: uppercase; letter-spacing: .09em; }
.function-card p { position: absolute; z-index: 2; inset: auto 0 0; margin: 0; padding: 1.3rem; background: #fff; color: var(--ink); transform: translateY(102%); opacity: 0; transition: transform .3s, opacity .3s; font-size: .9rem; line-height: 1.5; }
.function-card:hover p, .function-card:focus-within p, .function-card[open] p { transform: translateY(0); opacity: 1; }
.range-note, .chem-note { margin: 1.3rem 0 0; padding-left: 1rem; border-left: 4px solid #7cc242; color: #425570; }
.function-section--dark { background: #071d46; color: #dce8f4; }
.function-section--dark .section-heading h2 { color: #fff; }
.function-section--dark .section-heading > p { color: #b9cce0; }
.chemical-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.chemical-grid details { background: #0b2b5b; }
.chemical-grid summary { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: .6rem; padding: 1.2rem; cursor: pointer; list-style: none; }
.chemical-grid summary span { color: #9bd35a; font-weight: 800; }
.chemical-grid h3 { font-size: 1.15rem; }
.chemical-grid p { display: none; margin: 0; padding: 0 1.2rem 1.2rem 4.3rem; color: #c7d8e9; }
.chemical-grid details:hover p, .chemical-grid details:focus-within p, .chemical-grid details[open] p { display: block; }
.chem-note { color: #c7d8e9; }
.spares-section { background: #f4f1e9; }
.spares-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.spares-grid figure { margin: 0; position: relative; }
.spares-grid figure img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.75); }
.spares-grid figcaption { position: absolute; right: -1rem; bottom: 1rem; background: #9bd35a; color: #082550; padding: .6rem 1rem; font-weight: 800; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.3rem 0; }
.tag-list li { background: #fff; border: 1px solid #d5d9d5; padding: .35rem .65rem; font-size: .83rem; }
.lifecycle { background: #fff; }
.lifecycle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2rem; }
.lifecycle-grid article { padding: 2rem; border-top: 5px solid var(--deep); background: #eef5fa; }
.lifecycle-grid span { color: var(--leaf); font-weight: 800; }
.lifecycle-grid h3 { color: var(--navy); margin: .8rem 0; font-size: 1.35rem; }
.lifecycle-grid p { margin: 0; color: #4a5d80; }
.lifecycle-grid ul { margin: 1rem 0 0; padding-left: 1.1rem; color: #4a5d80; font-size: .9rem; }
.lifecycle-grid li { margin-bottom: .25rem; }
.lifecycle-grid .maintenance-chain { margin: 1rem 0; color: var(--navy); font-weight: 700; }
.service-area { background: #c7dcdf; }
.service-area__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.region-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.region-list span { padding: .45rem .75rem; border: 1px solid rgba(11,47,122,.22); background: rgba(255,255,255,.5); color: var(--navy); font-weight: 700; font-size: .86rem; }
.quality-vision { background: #f4f1e9; }
.quality-vision .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,7vw,7rem); align-items: center; }
.quality-vision blockquote { margin: 0; padding: clamp(1.5rem,4vw,3.5rem); background: var(--navy); color: #fff; }
.quality-vision blockquote p { font: 700 clamp(1.3rem,2.6vw,2rem)/1.35 "Bricolage Grotesque",sans-serif; margin: 0 0 1.5rem; }
.quality-vision cite { color: #9bd35a; font-style: normal; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; }
@media (max-width: 900px) {
 .about-hero__grid, .about-intro__grid, .spares-grid, .service-area__grid, .quality-vision .wrap { grid-template-columns: 1fr; }
 .about-hero figure { max-width: 650px; }
 .function-grid { grid-template-columns: repeat(2,1fr); }
 .lifecycle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
 .about-hero h1 { font-size: clamp(2.35rem,12vw,3.35rem); }
 .about-hero figure { transform: none; }
 .capability-grid, .chemical-grid { grid-template-columns: 1fr; }
 .capability--wide { grid-column: auto; min-height: 410px; }
 .function-grid { grid-template-columns: 1fr; }
 .section-heading { display: block; }
 .section-heading > p { margin-top: .7rem; }
}

/* Water-treatment plant photo behind every page */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(255,255,255,.86), rgba(241,248,254,.9)), var(--page-bg, url('images/web/plant-ro-skid.jpg')) center/cover no-repeat; }
.hero, .brand-showcase { background: linear-gradient(180deg, rgba(227,241,252,.82) 0%, rgba(255,255,255,.7) 100%); }
.about-intro, .spares-section, .quality-vision { background: rgba(244,241,233,.88); }
.expertise, .lifecycle { background: rgba(255,255,255,.8); }
.function-section:not(.function-section--dark) { background: rgba(233,244,247,.84); }
.service-area { background: rgba(199,220,223,.86); }
.guide-header { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(11,47,122,.95) 0%, rgba(21,88,184,.88) 60%, rgba(46,163,230,.8) 100%), var(--page-bg, none) center/cover; }

/* About: notes and positioning */
.catalog-note { margin: 1.6rem 0 0; padding: 1rem 1.3rem; background: rgba(255,255,255,.78); border-left: 5px solid var(--leaf); color: #425570; }
.catalog-note--dark { background: rgba(255,255,255,.065); border-color: #9bd35a; color: #c7d8e9; }
.preview-hint { margin: 1.2rem 0 .8rem; font-size: .85rem; font-weight: 600; color: var(--leaf); }
.positioning { padding: clamp(3.5rem,7vw,6rem) 0; color: #fff; background: linear-gradient(120deg, rgba(7,29,70,.94), rgba(11,47,122,.86)), url('images/web/plant-ro.jpg') center/cover; }
.positioning h2 { font-size: clamp(2rem,4vw,3.3rem); letter-spacing: -.03em; max-width: 18ch; }
.positioning__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,4rem); margin-top: 1.5rem; color: #dce8f4; }
.positioning__grid p { margin: 0; }
.positioning__pillars { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.positioning__pillars li { padding: .5rem .9rem; border: 1px solid rgba(155,211,90,.6); color: #fff; font-weight: 700; font-size: .85rem; }
.positioning__tagline { margin: 2rem 0 0; color: #9bd35a; font: 800 clamp(1.1rem,2vw,1.4rem)/1.3 "Bricolage Grotesque", sans-serif; }

/* Product image previews */
.has-preview { cursor: pointer; border-radius: 4px; transition: background .15s, color .15s; }
.plist .has-preview, .acc .has-preview { width: fit-content; padding: .1rem .35rem; margin-left: -.35rem; }
.has-preview:hover, .has-preview.is-previewing { background: var(--mist); color: var(--deep); }
.tag-list .has-preview:hover, .tag-list .has-preview.is-previewing { border-color: var(--deep); }
.product-preview { position: fixed; z-index: 300; width: min(320px, calc(100vw - 24px)); margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px rgba(11,47,122,.25); pointer-events: none; }
.product-preview img { display: block; width: 100%; height: 220px; object-fit: cover; background: var(--mist); }
.product-preview figcaption { padding: .7rem .9rem; line-height: 1.35; }
.product-preview strong { display: block; color: var(--navy); font-size: .95rem; }
.product-preview span { color: var(--leaf); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-preview__close { display: none; position: absolute; top: .5rem; right: .5rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(11,47,122,.85); color: #fff; cursor: pointer; }
.product-preview--sheet { left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; pointer-events: auto; }
.product-preview--sheet .product-preview__close { display: block; }
.product-preview--sheet img { height: 200px; }
.tile--image { padding-top: 0; overflow: hidden; }
.tile--image img { display: block; width: calc(100% + 2.6rem); height: 150px; margin: 0 -1.3rem 1rem; object-fit: cover; }
@media (max-width: 760px) { .positioning__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .has-preview { transition: none; } }


/* Image credits */
.credits { padding: 3rem 0; }
.credit-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .8rem; }
.credit-list li { display: flex; gap: .8rem; align-items: center; padding: .6rem; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; line-height: 1.35; }
.credit-list img { flex-shrink: 0; width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.credit-list a { color: var(--deep); font-weight: 600; word-break: break-word; }
.credit-list span { display: block; color: #4A5D80; margin-top: .2rem; }
.image-credit-note { font-size: .8rem; color: #4A5D80; margin: 1.5rem 0; }
.image-credit-note a { color: var(--deep); }

/* Home hero: auto-advancing plant photo slideshow (ETP, RO, boiler, cooling tower, filtration) */
.hero--slideshow { overflow: hidden; isolation: isolate; padding-bottom: 6.5rem; }
.hero-slides { position: absolute; inset: 0; z-index: -1; background: #0b2f7a; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 42%, rgba(255,255,255,.12) 72%, rgba(255,255,255,0) 100%); pointer-events: none; }
.hero-slide { position: absolute; inset: 0; margin: 0; transform: translateX(100%); }
.hero-slide.is-active, .hero-slide.is-prev { transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.hero-slide.is-active { transform: none; }
.hero-slide.is-prev { transform: translateX(-100%); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slides__ui { position: absolute; right: 1.5rem; bottom: 3.6rem; z-index: 2; display: flex; align-items: center; gap: 1rem; }
.hero-slides__label { background: rgba(7,29,70,.85); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .8rem; border-left: 3px solid var(--leaf); }
.hero-slides__dots { display: flex; gap: .45rem; }
.hero-slides__dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.35); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.hero-slides__dots button[aria-current="true"] { background: var(--leaf); border-color: #fff; }
.hero-slides__pause { min-width: 4.3rem; padding: .38rem .65rem; border: 1px solid rgba(255,255,255,.8); border-radius: 4px; background: rgba(7,29,70,.85); color: #fff; font: 700 .72rem/1 "Public Sans",sans-serif; cursor: pointer; }
.hero-slides__pause:hover { background: #fff; color: var(--navy); }
.hero--slideshow .finder { box-shadow: 0 18px 40px rgba(7,29,70,.28); }
@media (max-width: 900px) {
  .hero-slides::after { background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.78) 60%, rgba(255,255,255,.3) 100%); }
  .hero-slides__ui { left: 1rem; right: 1rem; justify-content: space-between; bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active, .hero-slide.is-prev { transition: none; } }
@media (max-width: 650px) { .brochure-preview { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Gallery: plant & spares sections with category filters */
.gallery--section { padding-top: 1rem; }
.gallery-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.gallery-jump a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--deep); font-weight: 600; font-size: .9rem; text-decoration: none; }
.gallery-jump a:hover { background: var(--mist); }
.gallery-google { margin-top: 1rem; }
.gallery-google h3 { color: var(--deep); font-size: 1.3rem; margin-bottom: 1rem; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.gallery-filter__btn { font: inherit; font-size: .88rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--deep); background: #fff; color: var(--deep); cursor: pointer; }
.gallery-filter__btn:hover { background: var(--mist); }
.gallery-filter__btn[aria-pressed="true"] { background: var(--deep); color: #fff; }
.grid-gallery--uniform { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-gallery--uniform img { aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.grid-gallery--uniform figure a { display: block; overflow: hidden; }
.grid-gallery--uniform figure:hover img { transform: scale(1.05); }
.grid-gallery--uniform figcaption { font-size: .88rem; }
.grid-gallery figure[hidden] { display: none; }
.gallery-tag { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf-dark, #3FA535); }
.gallery-credit { margin-top: 1.5rem; font-size: .85rem; color: #4A5D80; }

/* About Us hero: plant photo slideshow replaces the flat blue background */
.about-hero.hero--slideshow { position: relative; background: #071d46; padding-bottom: clamp(4.5rem, 8vw, 8rem); }
.hero-slides--dark::after { background: linear-gradient(90deg, rgba(7,29,70,.88) 0%, rgba(7,29,70,.62) 45%, rgba(7,29,70,.18) 100%); }
.about-hero .hero-slides__ui { bottom: 1.4rem; }
@media (max-width: 900px) {
  .hero-slides--dark::after { background: linear-gradient(180deg, rgba(7,29,70,.82) 0%, rgba(7,29,70,.7) 60%, rgba(7,29,70,.4) 100%); }
  .about-hero .hero-slides__ui { bottom: 1rem; }
}

/* Home "Professional water treatment services": single full-width image */
.showcase-grid--single { grid-template-columns: 1fr; }

/* Products: chemical functions by plant segment */
.chem-functions { padding: 4rem 0; background: rgba(233,244,247,.9); }
.chem-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.5rem; }
.chem-jump a { padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--deep); background: #fff; color: var(--deep); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chem-jump a:hover { background: var(--deep); color: #fff; }
.chem-seg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; margin-bottom: 3.5rem; scroll-margin-top: 1rem; }
.chem-seg--flip .chem-seg__media { order: 2; }
.chem-seg__media { position: sticky; top: 1rem; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 36px rgba(11,47,122,.18); background: #071d46; }
.chem-seg__media img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.chem-seg__media--duo img { aspect-ratio: 16/9; }
.chem-seg__media--duo img + img { border-top: 3px solid #fff; }
.chem-seg__media figcaption { padding: .8rem 1.1rem; color: #fff; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.chem-seg__media figcaption span { display: block; color: #9bd35a; font-weight: 800; }
.chem-seg__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--deep); }
.chem-seg__lead { margin: .5rem 0 1.2rem; color: #33476B; }
.chem-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.chem-card { position: relative; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: 8px; padding: 1rem 1.1rem; box-shadow: 0 6px 16px rgba(11,47,122,.06); }
.chem-card__no { position: absolute; top: .8rem; right: 1rem; font-size: .72rem; font-weight: 800; color: #9aa9c4; }
.chem-card h4 { margin: 0 1.8rem .35rem 0; font-size: 1rem; color: var(--deep); }
.chem-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: #33476B; }
.chem-more { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 900px) {
  .chem-seg { grid-template-columns: 1fr; }
  .chem-seg--flip .chem-seg__media { order: 0; }
  .chem-seg__media { position: static; }
  .chem-cards { grid-template-columns: 1fr; }
}
/* Keep About hero slides out of the decorative figure styles */
.about-hero .hero-slides figure.hero-slide { position: absolute; inset: 0; margin: 0; max-width: none; transform: translateX(100%); }
.about-hero .hero-slides figure.hero-slide.is-active { transform: translateX(0); }
.about-hero .hero-slides figure.hero-slide.is-prev { transform: translateX(-100%); }
.about-hero .hero-slides figure.hero-slide::before { content: none; }
.about-hero .hero-slides figure.hero-slide img { position: static; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; filter: none; }
.about-hero__grid { position: relative; z-index: 1; }

/* Review cards: Google (gbp.js) and client company reviews (company-reviews.js) */
.btn.outline { background: transparent; border: 2px solid var(--deep); color: var(--deep); }
.btn.outline:hover { background: var(--deep); color: #fff; }
.gbp-summary { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.gbp-score { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.gbp-count { color: #52627f; font-weight: 500; }
.gbp-g { width: 20px; height: 20px; flex: none; }
.gbp-stars { color: #F5A623; letter-spacing: .08em; font-size: 1.05rem; white-space: nowrap; }
.gbp-stars .off { color: #CBD6E4; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.gbp-reviews, .company-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.gbp-review, .company-review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; box-shadow: 0 6px 18px rgba(11,47,122,.06); display: flex; flex-direction: column; gap: .6rem; }
.gbp-review header, .company-review header { display: flex; align-items: center; gap: .8rem; }
.gbp-review header > div:nth-child(2), .company-review header > div:last-child { flex: 1; min-width: 0; }
.gbp-review strong, .company-review strong { display: block; color: var(--navy); line-height: 1.3; }
.gbp-review small, .company-review small { display: block; color: #6a7a96; font-size: .82rem; }
.gbp-review p { margin: 0; font-size: .95rem; }
.gbp-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--mist); display: grid; place-items: center; font-weight: 700; color: var(--deep); flex: none; }
.gbp-avatar img { width: 100%; height: 100%; object-fit: cover; }

.company-reviews-sec { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.company-reviews-sec .section-kicker { color: var(--leaf); }
.company-reviews__summary { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 0; color: #3d4f70; }
.company-reviews__summary strong { color: var(--navy); font-size: 1.15rem; }
.company-reviews__empty { margin: 1.2rem 0 0; padding: 1rem 1.2rem; background: #fff; border: 1px dashed var(--line); border-radius: 10px; color: #52627f; }
.company-review { border-top: 4px solid var(--leaf); }
.company-review__logo { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--deep)); color: #fff; font-weight: 800; letter-spacing: .04em; display: grid; place-items: center; flex: none; }
.company-review blockquote { margin: 0; flex: 1; }
.company-review blockquote p { margin: 0; font-size: .96rem; line-height: 1.6; }
.company-review__foot { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font-size: .85rem; color: #52627f; border-top: 1px solid var(--line); padding-top: .6rem; font-weight: 600; }
.company-review__foot time { font-weight: 400; }

.company-review-form { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: 0 10px 30px rgba(11,47,122,.07); }
.company-review-form__intro h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.4rem; }
.company-review-form__intro p { margin: 0 0 1rem; color: #3d4f70; }
.company-review-form__intro ul { margin: 0; padding-left: 1.1rem; color: #52627f; font-size: .9rem; }
.company-review-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-bottom: 1.1rem; }
.company-review-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.company-review-form input:not([type="radio"]), .company-review-form select, .company-review-form textarea { font: inherit; font-weight: 400; font-size: .97rem; padding: .65rem .75rem; border: 1px solid #b9cde4; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.company-review-form input:focus, .company-review-form select:focus, .company-review-form textarea:focus { outline: 2px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
.company-review-form textarea { resize: vertical; min-height: 120px; }
.company-review-form__wide { grid-column: 1 / -1; }
.company-review-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.company-review-form__rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.company-review-form__rating legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: .3rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: #CBD6E4; cursor: pointer; transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F5A623; }
.star-input input:focus-visible + label { outline: 2px solid var(--deep); outline-offset: 2px; border-radius: 4px; }
.company-review-form button[disabled] { opacity: .6; cursor: wait; }
.company-review-form__status { margin: .8rem 0 0; font-size: .95rem; min-height: 1.4em; }
.company-review-form__status.is-ok { color: var(--leaf-dark); font-weight: 600; }
.company-review-form__status.is-error { color: #b42318; font-weight: 600; }
@media (max-width: 860px) {
  .company-review-form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .company-review-form__grid { grid-template-columns: 1fr; }
  .gbp-reviews, .company-reviews { grid-template-columns: 1fr; }
}

/* Buttons: bordered variants keep the same height as solid buttons */
.btn.ghost, .btn.outline { padding: calc(0.75rem - 2px) calc(1.4rem - 2px); }
.btn.sm.ghost, .btn.sm.outline { padding: calc(0.4rem - 2px) calc(0.8rem - 2px); }

/* Callout note (shared by contact, brochure, about and guide pages) */
.note { font-size: 0.92rem; color: #425570; }

/* Product catalog pages (plant spares, IBR valves, strainers & kits, boiler spares, services) */
.catalog { padding-top: 2rem; padding-bottom: 3rem; }
.catalog .preview-hint { margin-top: 0; }
.cat { padding: 1.4rem 1.6rem; margin: 0 0 1.2rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 10px; box-shadow: 0 6px 18px rgba(11,47,122,.06); }
.cat h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--navy); margin-bottom: 0.9rem; }
.cat h3 { font-size: 1.05rem; color: var(--deep); margin: 1rem 0 0.5rem; }
.cat > p { margin: 0 0 0.9rem; color: #4A5D80; }
.plist { columns: 3 220px; column-gap: 2rem; margin: 0; padding-left: 1.1rem; }
.plist li { break-inside: avoid; padding: 0.2rem 0; font-size: 0.97rem; }
.plist li::marker { color: var(--leaf); }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* All-products accordion */
.acc { display: grid; gap: 0.9rem; }
.acc details { background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(11,47,122,.06); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; font: 700 1.15rem/1.3 "Bricolage Grotesque", "Public Sans", sans-serif; color: var(--navy); transition: background .2s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--deep); font-size: 1.2rem; }
.acc details[open] summary { border-bottom: 1px solid var(--line); background: var(--mist); }
.acc details[open] summary::after { content: "−"; background: var(--deep); color: #fff; }
.acc summary:hover { background: var(--mist); }
.cols { columns: 2 300px; column-gap: 2.5rem; padding: 1.2rem 1.4rem 0.6rem; }
.cols h4 { font-size: 1rem; color: var(--deep); margin: 0 0 0.4rem; break-after: avoid; }
.cols ul { margin: 0 0 1.2rem; padding-left: 1.1rem; break-inside: avoid; font-size: 0.95rem; }
.cols ul li::marker { color: var(--leaf); }

/* Services: on-site service tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags li { padding: 0.45rem 0.85rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--leaf); border-radius: 6px; font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* Contact page: details beside the enquiry form */
.contact .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 1.8rem; }
.contact .grid > div { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.6rem; }
.contact address { font-style: normal; line-height: 1.6; }
.contact .grid > div p { margin: 0.7rem 0; }
.contact .grid > div a, .gbp-details a, .gbp-hours a { color: var(--deep); font-weight: 600; }
.contact .grid > div a:hover { text-decoration: underline; }
form.f { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: 12px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 10px 30px rgba(11,47,122,.08); display: flex; flex-direction: column; }
form.f label { font-weight: 600; font-size: 0.92rem; margin: 0.9rem 0 0.35rem; }
form.f label:first-child { margin-top: 0; }
form.f input, form.f textarea { font: inherit; font-size: 0.97rem; width: 100%; padding: 0.7rem 0.8rem; border: 1px solid #b9cde4; border-radius: 8px; background: #fff; color: var(--ink); }
form.f textarea { min-height: 160px; resize: vertical; }
form.f input:focus, form.f textarea:focus { outline: 2px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
form.f .btn { margin-top: 1.2rem; align-self: flex-start; }
form.f .note { margin: 0.8rem 0 0; }
form.f .note a { color: var(--deep); font-weight: 700; text-decoration: underline; }
form.f .form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.f .form-status { min-height: 1.5em; }
form.f .form-status.is-ok { color: var(--success-ink); font-weight: 700; }
form.f .form-status.is-error { color: var(--danger-ink); font-weight: 700; }

/* Google Business Profile blocks (map, details, hours) */
.gbp-map { display: block; width: 100%; height: clamp(300px, 45vw, 460px); border: 1px solid var(--line); border-radius: 12px; background: var(--mist); box-shadow: 0 8px 24px rgba(11,47,122,.08); }
.gbp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.gbp-grid > div { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.5rem; }
.gbp-details { margin: 0; }
.gbp-details > div { display: grid; grid-template-columns: 7rem 1fr; gap: 0.8rem; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.gbp-details > div:first-child { border-top: 0; }
.gbp-details dt { font-weight: 700; color: var(--navy); }
.gbp-details dd { margin: 0; word-break: break-word; }
.gbp-hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.gbp-hours th, .gbp-hours td { text-align: left; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.gbp-hours th { font-weight: 600; padding-right: 1rem; }
.gbp-open { display: inline-block; margin: 0 0 0.7rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.gbp-open.yes { background: var(--success-bg); color: var(--success-ink); }
.gbp-open.no { background: var(--danger-bg); color: var(--danger-ink); }

/* Brochure page viewer */
.brochure-header { background: linear-gradient(120deg, rgba(11,47,122,.95) 0%, rgba(21,88,184,.88) 60%, rgba(46,163,230,.8) 100%), var(--page-bg, none) center/cover; color: #fff; padding: 2.5rem 0; margin-bottom: 2rem; }
.brochure-header p { margin: 0.6rem 0 0; color: #E3EEFB; max-width: 48rem; }
#page-brochure { padding-bottom: 3rem; }
.brochure-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; padding: 0.8rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); color: var(--navy); }
.brochure-bar .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brochure-frame { display: block; width: 100%; height: 80vh; min-height: 480px; border: 0; background: #fff; }
.brochure-viewer p.brochure-note { padding: 0.9rem 1rem; font-size: 0.88rem; color: #4A5D80; }

/* Footer */
footer .f-grid a { transition: color .2s; }

/* Large desktops: use the extra width */
@media (min-width: 1440px) {
  .wrap { max-width: 1320px; }
  .hero { padding: 4rem 0 6rem; }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  footer .f-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 1.8rem; }
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .certification-grid { grid-template-columns: repeat(2, 1fr); }
  .certification-card, .certification-card--tall { margin-top: 0; }
}

@media (max-width: 860px) {
  .contact .grid, .gbp-grid { grid-template-columns: 1fr; }
}

/* Mobile refinements */
@media (max-width: 768px) {
  .hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .hero .cta .btn { margin: 0; padding-left: 0.6rem; padding-right: 0.6rem; font-size: 0.92rem; }
  .hero .cta .btn:first-child, .hero .cta .btn:nth-child(n+4) { grid-column: 1 / -1; }
  .guide-header, .brochure-header { padding: 1.8rem 0; }
  .cat { padding: 1.1rem 1.1rem; }
  .cols { padding: 1rem 1rem 0.4rem; }
  .acc summary { font-size: 1.02rem; padding: 0.9rem 1rem; }
  .contact .grid > div { padding: 1.2rem; }
  form.f .btn { align-self: stretch; }
  .pager .btn { width: auto; flex: 1 1 140px; }
  .gbp-details > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .brochure-bar .actions { width: 100%; }
  .brochure-bar .actions .btn { flex: 1; width: auto; }
  .brochure-frame { height: 65vh; min-height: 360px; }
  .cta-band h2 { font-size: 1.2rem; }
  footer { padding-top: 2rem; }
  table.guide-table { display: block; overflow-x: auto; }
  .guide-toc ol { columns: 1 !important; }
  .hero-slides__label { font-size: 0.7rem; }
}
