/* ==========================================================================
   MAC AQUA FILTRATION PVT. LTD. — shared stylesheet
   Palette derived from the MAF logo (royal blue) + hi-tech aqua accent
   ========================================================================== */

:root {
  --ink:        #0A2540;   /* deep navy — headings, dark bg */
  --brand:      #1E4F9E;   /* royal blue — from logo */
  --brand-dark: #163A78;
  --aqua:       #12B5CB;   /* cyan — hi-tech accent */
  --aqua-2:     #23D3C5;
  --aqua-soft:  #E3F4F8;
  --mist:       #F3F7FB;   /* page tint */
  --line:       #E2E9F1;
  --slate:      #46586E;   /* body text */
  --slate-soft: #6C7E92;
  --white:      #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .06);
  --shadow-md: 0 14px 40px rgba(10, 37, 64, .10);
  --shadow-lg: 0 30px 70px rgba(10, 37, 64, .16);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--aqua);
  display: inline-block;
}

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 16px 0 14px;
}
.section-head p { font-size: 1.05rem; color: var(--slate); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--aqua));
  color: #fff;
  box-shadow: 0 10px 26px rgba(30, 79, 158, .30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(30, 79, 158, .40); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--aqua); transition: width .25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(18, 181, 203, .16), transparent 60%),
    radial-gradient(900px 500px at 4% 108%, rgba(30, 79, 158, .12), transparent 55%),
    var(--mist);
  overflow: hidden;
  padding: 92px 0 96px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--ink);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.13rem; color: var(--slate); margin: 22px 0 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--slate); }
.hero-badge svg { width: 20px; height: 20px; color: var(--aqua); flex: none; }

/* hero visual — engineered water panel */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin-left: auto; width: 100%;
}
.hero-orb {
  position: absolute; inset: 0; margin: auto;
  width: 82%; height: 82%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a6bc4, #12365f 78%);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0,0,0,.35);
  overflow: hidden;
}
.hero-orb .water {
  position: absolute; left: -30%; bottom: -55%; width: 160%; height: 120%;
  background: linear-gradient(180deg, rgba(35,211,197,.9), rgba(18,181,203,.75));
  border-radius: 42%;
  animation: swirl 9s linear infinite;
  opacity: .9;
}
.hero-orb .water.two {
  bottom: -60%; background: linear-gradient(180deg, rgba(18,181,203,.6), rgba(30,79,158,.55));
  animation-duration: 13s; animation-direction: reverse; opacity: .7;
}
@keyframes swirl { to { transform: rotate(360deg); } }
.ripple {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1.5px solid rgba(18,181,203,.45);
  animation: ripple 3.6s ease-out infinite;
}
.ripple.d2 { animation-delay: 1.2s; }
.ripple.d3 { animation-delay: 2.4s; }
@keyframes ripple {
  0%   { width: 60%; height: 60%; opacity: .8; }
  100% { width: 118%; height: 118%; opacity: 0; }
}
.hero-chip {
  position: absolute; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 16px; display: flex; align-items: center; gap: 11px;
}
.hero-chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--brand); }
.hero-chip .dot svg { width: 18px; height: 18px; }
.hero-chip b { font-family: var(--font-display); color: var(--ink); font-size: .95rem; display: block; }
.hero-chip small { color: var(--slate-soft); font-size: .78rem; }
.hero-chip.c1 { top: 6%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-chip.c2 { bottom: 8%; right: -8%; animation: float 6s ease-in-out infinite 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 46px 0;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 20%; height: 60%; width: 1px;
  background: rgba(255,255,255,.14);
}
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  background: linear-gradient(120deg, #fff, var(--aqua-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: rgba(255,255,255,.66); font-size: .9rem; margin-top: 4px; }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--aqua));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--brand); margin-bottom: 20px;
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--slate); }
.card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand);
}
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ==========================================================================
   PROCESS (signature) — treatment flow
   ========================================================================== */
.process { background: var(--mist); position: relative; }
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative;
  margin-top: 20px;
}
.flow::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--aqua) 0 10px, transparent 10px 20px);
  animation: dash 18s linear infinite; opacity: .6;
}
@keyframes dash { to { background-position: 400px 0; } }
.step { text-align: center; position: relative; z-index: 1; }
.step .bubble {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--aqua); color: var(--brand);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative;
}
.step .bubble svg { width: 30px; height: 30px; }
.step .n {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; display: grid; place-items: center;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--slate); }

/* ==========================================================================
   FEATURE / WHY split
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .tick {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--brand);
}
.feature-list .tick svg { width: 17px; height: 17px; }
.feature-list b { font-family: var(--font-display); color: var(--ink); display: block; font-size: 1rem; }
.feature-list span { font-size: .95rem; color: var(--slate); }
.visual-panel {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  background: linear-gradient(150deg, var(--brand-dark), var(--ink));
  color: #fff; padding: 44px; position: relative;
}
.visual-panel h3 { color: #fff; font-size: 1.5rem; }
.visual-panel p { color: rgba(255,255,255,.78); margin-top: 12px; }
.vp-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.vp-metrics .m .v {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  color: var(--aqua-2);
}
.vp-metrics .m .k { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--aqua));
  color: #fff; text-align: center; border-radius: 26px; padding: 60px 30px;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin: 12px auto 28px; max-width: 560px; }
.cta-band .btn-white { color: var(--brand); }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(800px 300px at 85% -30%, rgba(18,181,203,.16), transparent 60%),
    var(--ink);
  color: #fff; padding: 70px 0 74px; position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: var(--aqua-2); }
.page-hero .eyebrow::before { background: var(--aqua-2); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 12px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 620px; font-size: 1.05rem; }
.crumbs { font-size: .86rem; color: rgba(255,255,255,.6); margin-top: 18px; }
.crumbs a:hover { color: #fff; }

/* ==========================================================================
   SERVICE DETAIL BLOCKS
   ========================================================================== */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.svc + .svc { margin-top: 84px; }
.svc:nth-child(even) .svc-media { order: -1; }
.svc-media {
  border-radius: var(--radius); padding: 48px; min-height: 300px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--aqua-soft), #fff);
  border: 1px solid var(--line);
}
.svc-media .big-ic {
  width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--aqua)); color: #fff;
  box-shadow: var(--shadow-md);
}
.svc-media .big-ic svg { width: 58px; height: 58px; }
.svc-body .tag {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--aqua); 
}
.svc-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 14px; }
.svc-body p { color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span {
  font-size: .84rem; font-family: var(--font-display); font-weight: 500;
  background: var(--mist); border: 1px solid var(--line); color: var(--slate);
  padding: 7px 14px; border-radius: 999px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--brand);
}
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4 { font-size: 1rem; margin-bottom: 3px; }
.info-row p, .info-row a { font-size: .95rem; color: var(--slate); }
.info-row a:hover { color: var(--brand); }
.quick-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.35); }
.btn-call { background: var(--ink); color: #fff; }
.btn-call:hover { transform: translateY(-2px); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .sub { font-size: .95rem; color: var(--slate); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 500; font-size: .88rem;
  color: var(--ink); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(18,181,203,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--slate-soft); margin-top: 14px; text-align: center; }

.map-wrap {
  margin-top: 26px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo {
  display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 12px;
}
.footer-logo img { height: 40px; }
.site-footer p.about { margin-top: 18px; font-size: .93rem; max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-display); color: #fff; font-size: .95rem; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: .93rem; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--aqua-2); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; color: var(--aqua-2); flex: none; margin-top: 3px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.55);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .split, .svc, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .flow::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; align-items: stretch;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 16px 24px; display: block; }
  .nav-links a::after { display: none; }
  .nav .nav-cta .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   BRANDS & PARTNER
   ========================================================================== */
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.brand-card .badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display);
  font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.brand-card.registered .badge { background: var(--aqua-soft); color: var(--brand); }
.brand-card.partner .badge { background: #EAF7EF; color: #1a8a4a; }
.brand-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.brand-card h3 sup { font-size: .55em; font-weight: 600; color: var(--aqua); }
.brand-card p { font-size: .97rem; color: var(--slate); }
.brand-card .brand-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand);
}
.brand-card .brand-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post .thumb {
  height: 180px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--aqua));
}
.post .thumb.alt { background: linear-gradient(140deg, var(--ink), var(--brand)); }
.post .thumb.alt2 { background: linear-gradient(140deg, var(--aqua), var(--aqua-2)); }
.post .thumb svg { width: 46px; height: 46px; opacity: .9; }
.post .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .meta {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--aqua); font-weight: 600; margin-bottom: 10px;
}
.post h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post p { font-size: .94rem; color: var(--slate); flex: 1; }
.post .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand);
}
.post .more svg { width: 16px; height: 16px; transition: transform .2s; }
.post:hover .more svg { transform: translateX(4px); }

/* ==========================================================================
   GALLERY + VIDEO
   ========================================================================== */
.sub-tabs { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.sub-tab {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; transition: all .2s;
}
.sub-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(145deg, var(--aqua-soft), #d9ecf3);
  border: 1px solid var(--line); display: grid; place-items: center;
  cursor: pointer; transition: transform .28s ease, box-shadow .28s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .ph { color: var(--brand); text-align: center; padding: 16px; }
.gallery-item .ph svg { width: 40px; height: 40px; margin-bottom: 8px; }
.gallery-item .ph span { display: block; font-family: var(--font-display); font-size: .9rem; font-weight: 600; }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(10,37,64,.82));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  opacity: 0; transform: translateY(8px); transition: .25s;
}
.gallery-item:hover .cap { opacity: 1; transform: none; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-item {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .28s ease, box-shadow .28s ease;
}
.video-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-dark), var(--ink)); cursor: pointer;
}
.video-frame .play-ph .btn-play {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.15);
  border: 2px solid #fff; display: grid; place-items: center; transition: .2s;
}
.video-frame .play-ph:hover .btn-play { background: rgba(255,255,255,.28); transform: scale(1.06); }
.video-frame .play-ph svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.video-item .v-cap { padding: 16px 18px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; }

.hidden { display: none !important; }

@media (max-width: 940px) {
  .brands-grid { grid-template-columns: 1fr; }
  .blog-grid, .gallery-grid, .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .blog-grid, .gallery-grid, .video-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CORPORATE UPGRADE (Ion-Exchange-style) — top bar, hero, solutions, sectors
   ========================================================================== */

/* ---- TOP UTILITY BAR ---- */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 14px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.82); transition: color .2s; }
.topbar a:hover { color: #fff; }
.tb-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.tb-left span, .tb-left a { display: inline-flex; align-items: center; gap: 7px; }
.tb-left svg { width: 15px; height: 15px; color: var(--aqua-2); }
.tb-right { display: flex; gap: 20px; align-items: center; }
.tb-right .wa { color: var(--aqua-2); font-weight: 600; }

/* ---- CORPORATE HERO ---- */
.hero-corp {
  position: relative; min-height: 80vh; display: flex; align-items: center; color: #fff;
  padding: 90px 0 130px; overflow: hidden;
  background:
    linear-gradient(112deg, rgba(8,28,50,.94) 8%, rgba(19,58,120,.72) 48%, rgba(18,181,203,.42) 100%),
    var(--ink);
  /* apni photo lagane ke liye: neeche wali line ko uncomment karke folder me hero-bg.jpg rakho
     background-image: linear-gradient(112deg, rgba(8,28,50,.90), rgba(19,58,120,.60), rgba(18,181,203,.35)), url('hero-bg.jpg');
     background-size: cover; background-position: center; */
}
.hero-corp::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.hero-corp .container { position: relative; z-index: 2; }
.hero-corp .eyebrow { color: var(--aqua-2); }
.hero-corp .eyebrow::before { background: var(--aqua-2); }
.hero-corp h1 {
  color: #fff; font-weight: 800; font-size: clamp(2.4rem, 5.3vw, 4rem);
  max-width: 16ch; margin: 18px 0 20px; letter-spacing: -.015em;
}
.hero-corp h1 .accent {
  background: linear-gradient(120deg, #fff, var(--aqua-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-corp .lead { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }
.hero-corp .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-corp .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-corp .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stats .hs { }
.hero-stats .hs .v { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; }
.hero-stats .hs .k { color: rgba(255,255,255,.7); font-size: .86rem; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-waves svg { width: 100%; height: 90px; display: block; }

/* ---- SOLUTIONS (Total Water) ---- */
.solutions { background: #fff; }
.sol-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: center; }
.sol-illus {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--brand-dark), var(--ink));
  min-height: 360px; display: grid; place-items: center; padding: 30px;
  box-shadow: var(--shadow-md);
}
.sol-illus svg { width: 100%; max-width: 380px; height: auto; }
.sol-illus .cap {
  position: absolute; left: 24px; bottom: 20px; right: 24px;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.sol-illus .cap small { display: block; font-weight: 500; color: rgba(255,255,255,.7); font-size: .84rem; margin-top: 3px; }
.sol-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sol-tile {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sol-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--aqua); }
.sol-tile .n {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--aqua)); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.sol-tile span { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .93rem; }

/* ---- SECTORS WE SERVE ---- */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff;
  transition: transform .28s ease, box-shadow .28s ease;
}
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector.s1 { background: linear-gradient(160deg, #1E4F9E, #0A2540); }
.sector.s2 { background: linear-gradient(160deg, #1C74B8, #12365f); }
.sector.s3 { background: linear-gradient(160deg, #12B5CB, #16558a); }
.sector.s4 { background: linear-gradient(160deg, #2AA0C4, #0A2540); }
.sector .s-ic { width: 58px; height: 58px; margin-bottom: auto; color: rgba(255,255,255,.92); }
.sector .s-ic svg { width: 100%; height: 100%; }
.sector h3 { color: #fff; font-size: 1.35rem; margin-top: 16px; }
.sector p { color: rgba(255,255,255,.82); font-size: .9rem; margin-top: 4px; }

@media (max-width: 940px) {
  .sol-grid { grid-template-columns: 1fr; gap: 30px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .hero-corp { min-height: auto; }
}
@media (max-width: 720px) {
  .sol-tiles { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .tb-left span.hide-sm { display: none; }
  .tb-right { display: none; }
  .hero-stats { gap: 26px; }
}

/* ==========================================================================
   HERO SLIDER (rotating) — Ion-Exchange style carousel
   ========================================================================== */
.hero-slider { position: relative; min-height: 80vh; overflow: hidden; background: var(--ink); }
.hslide {
  position: absolute; inset: 0; display: flex; align-items: center; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity 1s ease;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hslide.active { opacity: 1; visibility: visible; z-index: 1; }
.hslide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(112deg, rgba(8,28,50,.90) 6%, rgba(19,58,120,.66) 52%, rgba(18,181,203,.34) 100%);
}
.hslide .container { position: relative; z-index: 2; padding-bottom: 40px; }
.hslide .eyebrow { color: var(--aqua-2); }
.hslide .eyebrow::before { background: var(--aqua-2); }
.hslide h1 {
  color: #fff; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  max-width: 17ch; margin: 16px 0 18px; letter-spacing: -.015em;
}
.hslide h1 .accent { background: linear-gradient(120deg,#fff,var(--aqua-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hslide .lead { color: rgba(255,255,255,.92); font-size: 1.14rem; max-width: 560px; margin-bottom: 30px; }
.hslide .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hslide .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hslide .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.5); color: #fff;
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.hs-arrow:hover { background: rgba(255,255,255,.28); }
.hs-arrow.prev { left: 22px; } .hs-arrow.next { right: 22px; }
.hs-dots { position: absolute; bottom: 88px; left: 0; right: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.hs-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: all .25s;
}
.hs-dots button.active { background: var(--aqua-2); width: 30px; border-radius: 6px; }
.hero-slider .hero-waves { z-index: 4; }

@media (max-width: 720px) {
  .hs-arrow { width: 40px; height: 40px; font-size: 1.3rem; }
  .hs-arrow.prev { left: 8px; } .hs-arrow.next { right: 8px; }
  .hs-dots { bottom: 70px; }
}

/* ---- product photos in service + gallery ---- */
.svc-media.has-img { padding: 0; overflow: hidden; background: #fff; }
.svc-media.has-img img { width: 100%; height: 100%; min-height: 320px; max-height: 380px; object-fit: contain; display: block; padding: 14px; }
.svc-media.has-img.cover img { object-fit: cover; padding: 0; }
.gallery-item.contain { background: #fff; }
.gallery-item.contain img { object-fit: contain; padding: 8px; }

/* ---- hero slider: split layout (text + product photo) ---- */
.hslide .container.hs-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
}
.hs-media {
  justify-self: end; width: 100%; max-width: 470px;
  background: #fff; border-radius: 18px; padding: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.38);
}
.hs-media img { width: 100%; height: 340px; object-fit: contain; display: block; border-radius: 10px; background: #fff; }
@media (max-width: 940px) {
  .hslide .container.hs-split { grid-template-columns: 1fr; gap: 26px; }
  .hs-media { justify-self: start; max-width: 420px; }
  .hs-media img { height: 250px; }
}
@media (max-width: 720px) { .hs-media { display: none; } }

/* ---- solutions panel: real photo fill ---- */
.sol-illus { padding: 0; position: relative; }
.sol-illus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-illus .cap { left: 0; right: 0; bottom: 0; z-index: 2; padding: 46px 24px 20px; background: linear-gradient(transparent, rgba(10,37,64,.9)); }

/* ---- social buttons (topbar + footer) ---- */
.tb-social { display: inline-flex; gap: 12px; align-items: center; }
.tb-social a { display: inline-flex; color: rgba(255,255,255,.85); }
.tb-social svg { width: 17px; height: 17px; }
.tb-social a.wa:hover { color: #25D366; }
.tb-social a.yt:hover { color: #FF0000; }
.tb-social a.ig:hover { color: #E1306C; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); transition: all .2s; }
.social-row a svg { width: 19px; height: 19px; }
.social-row a.wa:hover { background: #25D366; border-color: #25D366; transform: translateY(-2px); }
.social-row a.yt:hover { background: #FF0000; border-color: #FF0000; transform: translateY(-2px); }
.social-row a.ig:hover { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); border-color: transparent; transform: translateY(-2px); }

/* ---- products page ---- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard-img { height: 210px; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pcard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ptag { font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin-bottom: 8px; }
.pcard h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pmeta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pmeta { font-size: .8rem; font-family: var(--font-display); background: var(--mist); border: 1px solid var(--line); color: var(--slate); padding: 4px 11px; border-radius: 999px; }
.pcard p { font-size: .94rem; color: var(--slate); flex: 1; }
.pbtn { align-self: flex-start; display: inline-flex; align-items: center; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: 11px 20px; border-radius: 999px; background: linear-gradient(120deg, var(--brand), var(--aqua)); color: #fff; transition: transform .2s; }
.pbtn:hover { transform: translateY(-2px); }
.prod-status { text-align: center; color: var(--slate-soft); font-size: .95rem; padding: 20px 0; }
@media (max-width: 940px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .product-grid { grid-template-columns: 1fr; } }

/* ---- product card actions + detail modal + spec table ---- */
.pcard-img { cursor: pointer; }
.pcard-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pbtn-ghost { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--brand); border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; }
.pbtn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

.pmodal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.pmodal.open { display: flex; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(10,37,64,.6); }
.pmodal-box { position: relative; background: #fff; border-radius: 18px; max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); z-index: 2; }
.pmodal-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 3; }
.pm-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; }
.pm-media { background: linear-gradient(155deg,#e9f1f8,#fbfdff); display: grid; place-items: center; padding: 20px; border-right: 1px solid var(--line); }
.pm-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.pm-info { padding: 32px; }
.pm-info h2 { font-size: 1.55rem; margin: 8px 0 12px; }
.pm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pm-info p { font-size: .96rem; color: var(--slate); margin-bottom: 10px; }
.pm-info h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 20px 0 12px; color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 13px; border: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--mist); color: var(--ink); font-family: var(--font-display); font-weight: 600; width: 45%; }
.pm-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 720px) { .pm-grid { grid-template-columns: 1fr; } .pm-media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 240px; } .pm-media img { max-height: 300px; } .pm-info { padding: 24px; } }

/* ---- products: list view (click a row to open detail) ---- */
.product-list { display: flex; flex-direction: column; gap: 12px; max-width: 840px; margin: 0 auto; }
.plist-item { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.plist-item:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateX(4px); }
.plist-thumb { width: 74px; height: 74px; border-radius: 10px; object-fit: contain; background: var(--mist); border: 1px solid var(--line); flex: none; padding: 6px; }
.plist-info { flex: 1; min-width: 0; }
.plist-info h3 { font-size: 1.12rem; margin: 3px 0; }
.plist-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.plist-arrow { color: var(--brand); flex: none; display: grid; place-items: center; }
.plist-arrow svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .plist-thumb { width: 56px; height: 56px; } .plist-info h3 { font-size: 1rem; } }

/* ---- modal placeholder when no image ---- */
.pm-noimg { padding: 50px 24px; color: var(--slate-soft); font-family: var(--font-display); font-weight: 600; text-align: center; }

/* ---- full-page detail view (replaces modal look) ---- */
.detail-view { display: none; max-width: 900px; margin: 0 auto; }
.detail-view.open { display: block; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--brand); background: none; border: 0; cursor: pointer; padding: 6px 0; margin-bottom: 18px; }
.detail-back svg { width: 20px; height: 20px; }
.detail-hero {
  width: 100%; background: linear-gradient(155deg,#e9f1f8,#fbfdff);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; padding: 26px; margin-bottom: 26px;
}
.detail-hero img { max-width: 100%; max-height: 460px; object-fit: contain; display: block; }
.detail-body { text-align: center; max-width: 760px; margin: 0 auto; }
.detail-body .ptag { display: inline-block; margin-bottom: 8px; }
.detail-body h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 14px; }
.detail-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.detail-body > p { font-size: 1rem; color: var(--slate); margin-bottom: 12px; }
.detail-body h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 26px 0 14px; color: var(--ink); }
.detail-body .spec-table { text-align: left; margin: 0 auto; }
.detail-body .chips { justify-content: center; }
.detail-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
/* hide list when a detail is open */
.list-hidden { display: none !important; }

/* ---- catalog category title ---- */
.cat-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin: 6px 0 18px; text-align: center; }

/* ---- chemical category poster ---- */
.chem-poster { max-width: 1000px; margin: 0 auto 30px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.chem-poster img { width: 100%; display: block; }
.chem-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.chem-intro .tag { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.chem-intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 12px; }
.chem-intro p { color: var(--slate); }
