/* Precision Water Systems MY/SG — design system
   Palette: ink #0A1E2C · deep #123B52 · aqua #2BB3C0 · ice #EAF4F6 · steel #B9C2C7 · WA #25D366 */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ink: #0A1E2C;
  --deep: #123B52;
  --ocean: #145A74;
  --aqua: #2BB3C0;
  --aqua-light: #7fd8e0;
  --ice: #EAF4F6;
  --steel: #B9C2C7;
  --white: #ffffff;
  --wa: #25D366;
  --wa-dark: #1eb857;
  --text: #21323e;
  --muted: #5a6d7a;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(10, 30, 44, 0.10);
  --shadow-lg: 0 24px 70px rgba(10, 30, 44, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(160deg, #0A1E2C 0%, #145A74 55%, #2BB3C0 130%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.container.narrow { width: min(780px, 92vw); }
.center { text-align: center; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--ice); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #c8d6de; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

.eyebrow { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--aqua); margin-bottom: 0.9rem; }
.eyebrow.light { color: var(--aqua-light); }
.section-sub { max-width: 620px; color: var(--muted); margin-bottom: 1rem; }
.link-more { font-weight: 600; color: var(--ocean); border-bottom: 2px solid var(--aqua); padding-bottom: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s; will-change: transform; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost { border-color: var(--steel); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.wa-inline { font-size: 0.85rem; font-weight: 600; color: var(--wa-dark); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 30, 44, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow 0.3s; }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--ink); } }
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.7rem 0; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 30px; height: 38px; }
.logo-text { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.12rem; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text b { color: var(--aqua-light); font-weight: 700; display: inline; }
.logo-text small { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.logo-text { display: block; }
.logo-text b { display: inline; }
.logo-text small { display: block; }
.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav a { color: #d5e2e9; font-weight: 500; font-size: 0.92rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; border-color: var(--aqua); }
.header-wa { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--grad); color: #fff; overflow: hidden; padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; }
.b1 { width: 480px; height: 480px; background: #2BB3C0; top: -160px; right: -100px; }
.b2 { width: 380px; height: 380px; background: #145A74; bottom: -140px; left: -80px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--aqua-light), var(--aqua)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 1.2rem 0 1.8rem; color: #c8dbe4; max-width: 480px; font-size: 1.05rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; color: #a8c2cf; font-size: 0.85rem; }
.hero-trust li::before { content: "✓ "; color: var(--aqua-light); font-weight: 700; }
.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: calc(var(--radius) + 8px); padding: 1.4rem; box-shadow: var(--shadow-lg); max-width: 400px; margin-inline: auto; }
.hero-card img { width: 100%; height: auto; }
.hero-card figcaption { text-align: center; color: var(--muted); font-size: 0.88rem; padding-top: 0.7rem; }
.hero-card figcaption strong { color: var(--ink); }
.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-stat { position: absolute; bottom: 64px; left: -30px; display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-radius: 14px; font-size: 0.8rem; line-height: 1.25; color: var(--ink); font-weight: 600; }
.stat-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--ocean); }
.glass { background: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius); }

/* wave dividers */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave-divider svg { width: 100%; height: clamp(28px, 5vw, 64px); display: block; }
.wave-divider path { fill: var(--white); }
.wave-divider.flip { transform: scaleY(-1); top: -1px; bottom: auto; }
.hero, .page-hero, .post-header { position: relative; }

/* ---------- audience (who we serve) ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.aud-card { background: #fff; border: 1px solid #e2ecef; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.5rem; transition: box-shadow 0.3s; }
.aud-card:hover { box-shadow: var(--shadow-lg); }
.aud-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 0.3rem; }
.aud-card h3 { font-size: 1.05rem; }
.aud-card p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.aud-card .wa-inline { font-size: 0.88rem; }
.aud-vol { display: inline-block; background: var(--ice); color: var(--ocean); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; align-self: flex-start; }
@media (max-width: 1020px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.cat-card { background: #fff; border: 1px solid #e2ecef; border-radius: var(--radius); padding: 1.4rem; text-align: center; box-shadow: var(--shadow); transition: box-shadow 0.3s; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.cat-card img { width: 130px; height: 130px; object-fit: contain; }
.cat-card p { color: var(--muted); font-size: 0.85rem; }
.cat-card:hover { box-shadow: var(--shadow-lg); }
.cat-count { color: var(--aqua); font-weight: 600; font-size: 0.85rem; margin-top: auto; }

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e2ecef; display: flex; flex-direction: column; transition: box-shadow 0.3s; }
.p-card:hover { box-shadow: var(--shadow-lg); }
.p-card-media { position: relative; display: block; background: #fff; padding: 1.2rem; overflow: hidden; }
.p-card-media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.p-card:hover .p-card-media img { transform: scale(1.05); }
.card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--aqua-light); font-size: 0.7rem; font-weight: 600; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.card-tag.static { position: static; display: inline-block; margin-bottom: 0.8rem; }
.shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.7) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.in-view .shine, .p-card:hover .shine { animation: shine 1.1s var(--ease-out) forwards; }
@keyframes shine { to { transform: translateX(120%); } }
.p-card-body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.p-card-body h3 a { color: var(--ink); }
.card-tagline { color: var(--muted); font-size: 0.88rem; }
.card-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card-specs li { background: var(--ice); color: var(--ocean); font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; }
.p-card-actions { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; flex-wrap: wrap; }

/* tilt (JS sets --rx/--ry; hover-capable only) */
@media (hover: hover) and (pointer: fine) {
  .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.18s ease-out; }
}

/* ---------- how it works ---------- */
.how { background: var(--ink); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.how-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.how-sticky { position: sticky; top: 90px; }
.how-visual { padding: 2rem; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); text-align: center; }
.how-svg { width: min(300px, 70%); margin-inline: auto; }
.how-step-label { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 1rem; font-family: var(--font-head); }
.how-step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: grid; place-items: center; font-weight: 700; }
.how-step-name { font-size: 1.3rem; font-weight: 600; color: #fff; }
.how-steps h2 { color: #fff; margin-bottom: 2rem; }
.how-steps .eyebrow { color: var(--aqua-light); }
.how-step { padding: 1.6rem 0 1.6rem 1.4rem; border-left: 2px solid rgba(255,255,255,0.15); position: relative; opacity: 0.4; transition: opacity 0.4s; }
.how-step.active { opacity: 1; border-color: var(--aqua); }
.how-step h3 { color: var(--aqua-light); margin: 0.2rem 0 0.4rem; }
.how-step p { color: #b9cdd8; max-width: 460px; }
.how-num { font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,0.35); font-size: 0.85rem; letter-spacing: 0.1em; }
/* SVG states per step */
.hv-steam, .hv-drops, .hv-glass-water, .hv-coil, .hv-glass { opacity: 0.18; transition: opacity 0.5s; }
.hv-bubbles circle { fill: var(--aqua-light); opacity: 0; }
[data-step="0"] .hv-bubbles circle { opacity: 1; animation: bub 1.4s ease-in-out infinite; }
[data-step="0"] .hv-bubbles circle:nth-child(2) { animation-delay: 0.3s; }
[data-step="0"] .hv-bubbles circle:nth-child(3) { animation-delay: 0.6s; }
@keyframes bub { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-10px); opacity: 1; } }
[data-step="1"] .hv-steam { opacity: 1; }
[data-step="1"] .hv-steam path { animation: steam 1.6s ease-in-out infinite; }
@keyframes steam { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(-6px); opacity: 1; } }
[data-step="2"] .hv-coil { opacity: 1; stroke: var(--aqua); }
[data-step="2"] .hv-drops, [data-step="3"] .hv-drops { opacity: 1; }
[data-step="3"] .hv-glass, [data-step="3"] .hv-glass-water { opacity: 1; }

/* ---------- purity band ---------- */
.purity-band { background: var(--grad); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.purity-band h2 { color: #fff; }
.purity-band a { color: var(--aqua-light); text-decoration: underline; }
.purity-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.purity-grid > div:first-child p { color: #c8dbe4; max-width: 480px; }
.tds-before { color: #ffb4a2; }
.tds-after { color: var(--aqua-light); }
.purity-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fact { padding: 1.3rem; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.fact-num { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--aqua-light); margin-bottom: 0.2rem; }
.fact p { color: #c8dbe4; font-size: 0.85rem; line-height: 1.5; }

/* ---------- compare table ---------- */
.table-wrap { overflow-x: auto; margin-top: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 0.92rem; min-width: 560px; }
th, td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid #e8f0f2; }
thead th { font-family: var(--font-head); background: var(--ink); color: #fff; font-size: 0.85rem; }
thead th.hl { background: var(--ocean); color: var(--aqua-light); }
td.hl { background: #f0fafb; font-weight: 600; color: var(--ocean); }
tbody tr:last-child td { border-bottom: 0; }
.compare-section .center { margin-top: 1.5rem; }

/* ---------- commercial strip ---------- */
.commercial-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.commercial-visual { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.commercial-visual img { width: 100%; object-fit: contain; }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.blog-grid.full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card { background: #fff; border: 1px solid #e2ecef; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow 0.3s; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #fff; padding: 1rem; }
.blog-card > div { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card h3 { font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
.blog-card p { color: var(--muted); font-size: 0.88rem; }
.blog-card time { color: var(--steel); font-size: 0.78rem; }
.blog-tag { align-self: flex-start; background: var(--ice); color: var(--ocean); font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid #e2ecef; border-radius: 14px; margin-bottom: 0.8rem; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--aqua); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ---------- locations / contact ---------- */
.loc-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.contact-grid { grid-template-columns: repeat(3, 1fr); }
.loc-card { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; background: #fff; }
.loc-card h2, .loc-card h3 { font-size: 1.2rem; }
.loc-card p { color: var(--muted); }
.loc-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.contact-big { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ocean) !important; }

/* ---------- final CTA ---------- */
.final-cta { background: var(--grad); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #c8dbe4; max-width: 540px; margin: 0.6rem auto 1.6rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--grad); color: #fff; padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.page-hero h1 { color: #fff; }
.page-hero .page-intro { color: #c8dbe4; max-width: 640px; margin-top: 1rem; font-size: 1.02rem; }
.breadcrumb { background: var(--ink); font-size: 0.8rem; padding: 0.6rem 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 0.4rem; color: var(--steel); }
.breadcrumb a { color: var(--aqua-light); }
.breadcrumb li[aria-current] { color: #cfdde5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.group-title { margin-top: 2.5rem; }
.group-count { color: var(--steel); font-weight: 400; font-size: 0.9em; }

/* ---------- parts ---------- */
.parts-search { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; max-width: 560px; }
.parts-search input { flex: 1; padding: 0.9rem 1.2rem; border-radius: 999px; border: 0; font-size: 0.95rem; font-family: var(--font-body); box-shadow: var(--shadow); }
.parts-search input:focus { outline: 3px solid var(--aqua); }
#partsCount { color: #c8dbe4; font-size: 0.85rem; white-space: nowrap; }
.part-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.part-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid #e2ecef; border-radius: 14px; padding: 0.9rem; box-shadow: 0 4px 16px rgba(10,30,44,0.06); }
.part-card-media { flex: none; width: 76px; height: 76px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #eef4f6; }
.part-card-media img { width: 100%; height: 100%; object-fit: contain; }
.part-card h3 { font-size: 0.88rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.2rem; }
.part-card h3 a { color: var(--ink); }
.parts-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.parts-empty .btn { margin-top: 1rem; }

/* ---------- product page ---------- */
.product-hero { padding: clamp(2rem, 5vw, 4rem) 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-main { position: relative; padding: 2rem; overflow: hidden; background: #fff; }
.product-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: flex; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; }
.thumb { border: 2px solid #e2ecef; background: #fff; border-radius: 10px; padding: 4px; cursor: pointer; transition: border-color 0.2s; }
.thumb img { width: 62px; height: 62px; object-fit: contain; }
.thumb.active, .thumb:hover { border-color: var(--aqua); }
.product-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.product-tagline { color: var(--muted); margin: 0.7rem 0 1.2rem; font-size: 1.02rem; }
.spec-table { min-width: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.spec-table th { background: var(--ice); color: var(--ocean); font-family: var(--font-head); font-size: 0.8rem; width: 38%; }
.spec-table td { font-size: 0.9rem; }
.price-box { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.3rem 1.5rem; margin-bottom: 1.2rem; flex-wrap: wrap; background: #f4fbfc; border: 1px solid #d8eef1; }
.price-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.price-note { display: block; color: var(--muted); font-size: 0.82rem; max-width: 230px; }
.variants { margin: 1rem 0; }
.variants h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.4rem; }
.variants ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variants li { background: var(--ice); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.82rem; color: var(--ocean); }
.assurance { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
.product-desc h2 { margin-bottom: 1rem; }

/* ---------- rich text ---------- */
.rich-text { color: var(--text); }
.rich-text h2 { margin: 2.2rem 0 0.8rem; }
.rich-text h3 { margin: 1.6rem 0 0.5rem; font-size: 1.15rem; }
.rich-text p { margin-bottom: 1rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1.2rem 1.3rem; }
.rich-text li { margin-bottom: 0.45rem; }
.rich-text table { margin: 1.4rem 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.rich-text a { font-weight: 600; border-bottom: 1px solid var(--aqua); }
.rich-text .lead { font-size: 1.12rem; color: var(--ink); }
.callout { background: var(--ice); border-left: 4px solid var(--aqua); border-radius: 0 12px 12px 0; padding: 1.1rem 1.4rem; margin: 1.6rem 0; color: var(--ocean); }

/* ---------- blog post ---------- */
.post-header { background: var(--grad); color: #fff; padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.post-header h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.9rem); max-width: 800px; }
.post-meta { color: #a8c2cf; font-size: 0.85rem; margin-top: 1rem; }
.post-header .blog-tag { background: rgba(255,255,255,0.15); color: var(--aqua-light); margin-bottom: 1rem; display: inline-block; }
.post-body { padding: 2.5rem 0 3.5rem; }
.post-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 2rem; background: #fff; }
.post-hero-img img { width: 100%; max-height: 420px; object-fit: contain; padding: 1.2rem; }
.post-cta { background: var(--grad); border-radius: var(--radius); padding: 2rem; color: #fff; margin: 2.5rem 0 1rem; text-align: center; }
.post-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.4rem; }
.post-cta p { color: #c8dbe4; max-width: 460px; margin: 0 auto 1.2rem; }
.post-faq { margin-top: 2.5rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9cdd8; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { font-size: 0.88rem; margin: 1rem 0 1.2rem; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer nav a { display: block; color: #b9cdd8; font-size: 0.9rem; padding: 0.25rem 0; }
.site-footer nav a:hover { color: var(--aqua-light); }
.footer-addr { font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.6; }
.footer-addr strong { color: #fff; }
.footer-addr a { color: var(--aqua-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: #7f97a4; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(37,211,102,0.5); transition: transform 0.25s var(--ease-out); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.mobile-cta-bar { display: none; }

/* ---------- reveal animations (opt-in via html.js so no-JS users & crawlers see everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal.in-view { opacity: 1; transform: none; }
/* scroll-driven enhancement for product images */
@supports (animation-timeline: view()) {
  .p-card-media img { animation: gentle-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes gentle-in { from { transform: scale(1.07); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .wa-float-ring, .hv-bubbles circle, .hv-steam path { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-sticky { position: relative; top: 0; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 58px 0 auto 0; background: var(--ink); flex-direction: column; gap: 0; padding: 0.5rem 4vw 1.2rem; transform: translateY(-130%); transition: transform 0.35s var(--ease-out); box-shadow: 0 20px 40px rgba(0,0,0,0.4); z-index: 99; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-wa { margin-left: auto; }
  .header-wa span { display: none; }
  .header-wa { padding: 0.6rem 0.8rem; }
  .nav-toggle { margin-left: 0; }
  .hero-grid, .purity-grid, .commercial-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin-inline: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: rgba(10,30,44,0.95); backdrop-filter: blur(10px); padding: 0.6rem 4vw calc(0.6rem + env(safe-area-inset-bottom)); gap: 0.7rem; }
  .mobile-cta-bar .btn { flex: 1; justify-content: center; }
  .mobile-cta-bar .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
  .wa-float { bottom: 78px; }
  body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; }
  .purity-facts { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .price-box { flex-direction: column; align-items: flex-start; }
  .hero-stat { position: static; margin-top: 1rem; display: inline-flex; }
}
