/* ===================================================================
   Sivas Su Arıtma Sistemleri
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --c-primary: #0b6bf2;
  --c-primary-d: #0a52c4;
  --c-primary-dd: #073a8f;
  --c-navy: #021f3b;
  --c-navy-2: #053a73;
  --c-sky: #40a3ff;
  --c-sky-2: #6cbcff;
  --c-sky-soft: #e8f3ff;
  --c-bg: #f4f8ff;
  --c-surface: #ffffff;
  --c-ink: #0e2236;
  --c-text: #314b63;
  --c-muted: #6b829b;
  --c-border: #e3edf9;
  --c-success: #1aa860;

  --grad-primary: linear-gradient(135deg, #0b6bf2 0%, #40a3ff 100%);
  --grad-navy: linear-gradient(135deg, #021f3b 0%, #053a73 60%, #0b6bf2 140%);
  --grad-soft: linear-gradient(135deg, #eef6ff 0%, #dcecff 100%);

  --sh-sm: 0 2px 8px rgba(8, 45, 90, .06);
  --sh-md: 0 10px 30px rgba(8, 45, 90, .10);
  --sh-lg: 0 22px 55px rgba(8, 45, 90, .16);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1200px;
  --header-h: 78px;

  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ff-head: 'Manrope', var(--ff-body);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: only light; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary-d); }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid rgba(11, 107, 242, .45); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--c-surface); }
.section--soft { background: var(--grad-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-sky-soft);
  padding: .4rem .95rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .5rem; }
.section-head p { color: var(--c-muted); font-size: 1.05rem; margin: 0; }

.eyebrow svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .98rem;
  padding: .85rem 1.6rem; border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 24px rgba(11, 107, 242, .32); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(11, 107, 242, .42); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--c-primary-d); transform: translateY(-3px); }
.btn--outline { background: #fff; color: var(--c-primary-d); border-color: var(--c-border); box-shadow: var(--sh-sm); }
.btn--outline:hover { color: var(--c-primary-d); border-color: var(--c-primary); transform: translateY(-3px); box-shadow: var(--sh-md); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--c-navy);
  color: #cfe2ff;
  font-size: .86rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar a { color: #cfe2ff; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--c-sky-2); }
.topbar__right { display: flex; gap: .8rem; align-items: center; }
.topbar__social { display: inline-flex; gap: .35rem; }
.topbar__social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
}
.topbar__social a:hover { background: var(--c-primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--grad-navy);
  box-shadow: 0 6px 24px rgba(2, 31, 59, .28);
  transition: background .3s ease;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 230px; height: auto; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem;
  color: #e6f0ff; padding: .7rem .9rem; border-radius: var(--r-sm);
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__link svg { width: 16px; height: 16px; transition: transform .25s ease; }

/* Dropdowns */
.has-drop { position: relative; }
.has-drop > .nav__link { cursor: pointer; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: .5rem; border: 1px solid var(--c-border);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 50;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover > .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .85rem; border-radius: var(--r-sm);
  color: var(--c-text); font-weight: 500; font-size: .95rem; line-height: 1.3;
}
.dropdown a:hover { background: var(--c-sky-soft); color: var(--c-primary-d); }
.dropdown a svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; }

.header__cta { display: flex; align-items: center; gap: .6rem; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border: none; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .12); color: #fff;
  align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86%, 360px);
  background: #fff; z-index: 200; box-shadow: var(--sh-lg);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; padding: 1.25rem; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border); }
.mobile-nav__head strong { font-family: var(--ff-head); color: var(--c-ink); font-size: 1.1rem; }
.mnav-close { width: 42px; height: 42px; border: none; background: var(--c-sky-soft); border-radius: var(--r-sm); color: var(--c-primary-d); display: flex; align-items: center; justify-content: center; }
.mnav-close svg { width: 22px; height: 22px; }
.mobile-nav a { color: var(--c-ink); font-weight: 600; font-family: var(--ff-head); }
.mobile-nav > a, .m-acc__btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem .6rem; border-radius: var(--r-sm); font-size: 1.02rem;
}
.mobile-nav > a svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; }
.mobile-nav > a:hover, .m-acc__btn:hover { background: var(--c-sky-soft); }
.m-acc { border-radius: var(--r-sm); }
.m-acc__btn { width: 100%; border: none; background: none; color: var(--c-ink); font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; }
.m-acc__btn svg { width: 18px; height: 18px; transition: transform .25s ease; color: var(--c-primary); }
.m-acc.open .m-acc__btn svg { transform: rotate(180deg); }
.m-acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.m-acc.open .m-acc__panel { max-height: 600px; }
.m-acc__panel a { display: block; padding: .6rem .6rem .6rem 1.4rem; font-weight: 500; font-family: var(--ff-body); color: var(--c-text); font-size: .95rem; }
.m-acc__panel a:hover { color: var(--c-primary); }
.mobile-nav__cta { margin-top: auto; padding-top: 1.2rem; }
.backdrop {
  position: fixed; inset: 0; background: rgba(2, 31, 59, .55); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Hero slider (split: text + product image, image fully visible) ---------- */
.hero { position: relative; background: var(--grad-navy); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -140px; right: -110px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 163, 255, .22), transparent 70%); pointer-events: none;
}
.slider { position: relative; overflow: hidden; }
.slides { position: relative; min-height: clamp(450px, 44vw, 560px); }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transition: opacity .8s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide__wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(1rem, 3vw, 3rem); height: 100%;
  width: min(92%, var(--container)); margin-inline: auto;
}
.slide__text { color: #fff; max-width: 580px; }
.slide__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .45rem 1rem; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700; font-family: var(--ff-head); letter-spacing: .03em;
  margin-bottom: 1.1rem;
}
.slide__badge svg { width: 16px; height: 16px; color: var(--c-sky-2); }
.slide__text h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.9rem); margin-bottom: .7rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.slide__text p { color: #d6e6fb; font-size: clamp(.98rem, 1.6vw, 1.18rem); margin-bottom: 1.6rem; }
.slide__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.slide__media { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.slide__media::before {
  content: ''; position: absolute; width: min(440px, 94%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 163, 255, .30) 0%, rgba(64, 163, 255, .07) 55%, transparent 72%);
}
.slide__media img {
  position: relative;
  width: min(400px, 86%); aspect-ratio: 5 / 4; object-fit: contain;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, .45));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 860px) {
  .slides { min-height: 600px; }
  .slide__wrap { grid-template-columns: 1fr; text-align: center; gap: .5rem; align-content: center; padding: 1.5rem 0; }
  .slide__text { max-width: none; margin-inline: auto; order: 2; }
  .slide__badge { margin-inline: auto; }
  .slide__actions { justify-content: center; }
  .slide__media { order: 1; height: auto; margin-bottom: .5rem; }
  .slide__media img { width: min(290px, 74%); animation: none; }
  .slide__media::before { width: 250px; }
}

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 6;
  transition: background .2s ease;
}
.slider__arrow:hover { background: var(--c-primary); }
.slider__arrow svg { width: 24px; height: 24px; }
.slider__arrow--prev { left: 18px; }
.slider__arrow--next { right: 18px; }
.slider__dots {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 6;
  display: flex; gap: .55rem; justify-content: center;
}
.slider__dots button {
  width: 11px; height: 11px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .45); transition: all .25s ease; padding: 0;
}
.slider__dots button.active { background: #fff; width: 30px; border-radius: var(--r-pill); }

/* ---------- Trust badges ---------- */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 38px 0;
}
.trust__item { display: flex; align-items: center; gap: .9rem; }
.trust__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--grad-soft); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.trust__icon svg { width: 26px; height: 26px; }
.trust__item h3 { font-size: 1rem; margin: 0 0 .1rem; }
.trust__item p { font-size: .86rem; color: var(--c-muted); margin: 0; line-height: 1.4; }

/* ---------- Service banner ---------- */
.service-cta {
  background: var(--grad-navy); border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center;
  box-shadow: var(--sh-lg); position: relative;
}
.service-cta::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 163, 255, .35), transparent 70%);
}
.service-cta__body { padding: clamp(2rem, 4vw, 3.4rem); position: relative; z-index: 1; }
.service-cta__body .eyebrow { background: rgba(255, 255, 255, .14); color: #cfe6ff; }
.service-cta__body h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.service-cta__body p { color: #cfe0f5; max-width: 460px; }
.service-cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.service-cta__media {
  position: relative; align-self: stretch; min-height: 240px;
  display: flex; align-items: center; justify-content: center; padding: 1.6rem;
}
.service-cta__media::before {
  content: ''; position: absolute; width: min(300px, 74%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 163, 255, .30) 0%, rgba(64, 163, 255, .07) 55%, transparent 72%);
}
.service-cta__media img {
  position: relative; width: auto; max-width: min(260px, 78%); max-height: 240px; object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .4));
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.product-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--c-sky-2); }
.product-card__media {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--grad-soft); overflow: hidden;
}
.product-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1.5rem;
  transition: transform .4s ease; filter: drop-shadow(0 14px 22px rgba(8, 45, 90, .18));
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
  position: absolute; top: .9rem; left: .9rem;
  background: var(--grad-primary); color: #fff;
  font-family: var(--ff-head); font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  padding: .35rem .75rem; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.product-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.08rem; margin-bottom: .4rem; min-height: 2.6em; }
.product-card__body p { font-size: .9rem; color: var(--c-muted); margin-bottom: 1.1rem; flex: 1; }
.product-card__link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto;
  font-family: var(--ff-head); font-weight: 700; font-size: .92rem; color: var(--c-primary-d);
}
.product-card__link svg { width: 17px; height: 17px; transition: transform .25s ease; }
.product-card:hover .product-card__link svg { transform: translateX(4px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-navy); color: #fff; position: relative; overflow: hidden;
  padding: 54px 0 60px;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 163, 255, .3), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .88rem; color: #a9c7ef; margin-bottom: 1rem; }
.breadcrumb a { color: #cfe0f5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .7; }
.breadcrumb span[aria-current] { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .5rem; }
.page-hero p { color: #cfe0f5; max-width: 640px; margin: 0; font-size: 1.05rem; }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-stage {
  background: var(--grad-soft); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  padding: 2rem; box-shadow: var(--sh-sm); overflow: hidden;
}
.pd-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(8, 45, 90, .2)); }
.pd-thumbs { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.pd-thumb {
  width: 84px; height: 84px; border-radius: var(--r-sm); border: 2px solid var(--c-border);
  background: var(--grad-soft); padding: .4rem; cursor: pointer; transition: border-color .2s ease, transform .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.pd-thumb img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--c-primary); }

.pd-brand {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--c-sky-soft); color: var(--c-primary-d);
  font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.pd-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.pd-info > p.lead { font-size: 1.06rem; color: var(--c-text); margin-bottom: 1.5rem; }

.pd-logo { height: 54px; width: auto; margin-bottom: 1rem; }

.spec-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); overflow: hidden; margin-bottom: 1.5rem;
}
.spec-card__head {
  background: var(--grad-soft); padding: 1rem 1.4rem; border-bottom: 1px solid var(--c-border);
  font-family: var(--ff-head); font-weight: 700; color: var(--c-primary-d); display: flex; align-items: center; gap: .6rem;
}
.spec-card__head svg { width: 20px; height: 20px; }
.spec-list { padding: .5rem 0; }
.spec-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .7rem 1.4rem; font-size: .96rem; color: var(--c-text);
  border-bottom: 1px dashed var(--c-border);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; margin-top: 3px; }
.spec-list li.spec-group { background: var(--c-sky-soft); font-family: var(--ff-head); font-weight: 700; color: var(--c-primary-dd); }
.spec-list li.spec-group svg { color: var(--c-primary-dd); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--c-sky-soft); color: var(--c-primary-d);
  font-size: .84rem; font-weight: 600; padding: .4rem .9rem; border-radius: var(--r-pill);
  border: 1px solid #cfe6ff;
}
.chip svg { width: 14px; height: 14px; }

.cert-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.cert {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1.5px solid var(--c-primary); color: var(--c-primary-d);
  font-family: var(--ff-head); font-weight: 700; font-size: .82rem;
  padding: .4rem .9rem; border-radius: var(--r-sm);
}
.cert svg { width: 15px; height: 15px; }

.pd-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Detail image-stack (for image-only products) */
.image-stack { display: grid; gap: 1.4rem; }
.image-stack figure {
  margin: 0; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
}
.image-stack img { width: 100%; height: auto; }
.image-stack--cols { grid-template-columns: repeat(2, 1fr); }

/* ---------- Spec/RO sections (high flow) ---------- */
.ro-block {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); padding: 1.8rem; margin-bottom: 1.8rem;
  display: grid; grid-template-columns: 220px 1fr; gap: 1.8rem; align-items: center;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.ro-block__media { background: var(--grad-soft); border-radius: var(--r-md); padding: 1.2rem; display: flex; justify-content: center; }
.ro-block__media img { max-height: 320px; width: auto; filter: drop-shadow(0 14px 22px rgba(8, 45, 90, .18)); }
.ro-block__title {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-weight: 800; color: #fff;
  background: var(--grad-primary); padding: .5rem 1.1rem; border-radius: var(--r-pill);
  font-size: 1.15rem; margin-bottom: 1rem;
}

/* ---------- Why purify (content + video) ---------- */
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; display: flex; align-items: center; gap: .6rem; }
.prose h2 svg { width: 26px; height: 26px; color: var(--c-primary); }
.prose p { color: var(--c-text); }
.prose .lead { font-size: 1.15rem; color: var(--c-ink); font-weight: 500; }
.feature-list { display: grid; gap: .8rem; margin: 1.2rem 0 2rem; }
.feature-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 1rem 1.2rem; box-shadow: var(--sh-sm);
}
.feature-list li svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.feature-list li b { color: var(--c-ink); display: block; }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1rem auto 0; max-width: 920px; }
.video-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  box-shadow: var(--sh-md); aspect-ratio: 16 / 9; background: #000;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-card iframe { width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(2, 31, 59, .3); transition: background .3s ease;
}
.video-card:hover .video-card__play { background: rgba(2, 31, 59, .15); }
.video-card__play span {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-md);
  transition: transform .3s ease;
}
.video-card:hover .video-card__play span { transform: scale(1.08); }
.video-card__play svg { width: 30px; height: 30px; color: var(--c-primary); margin-left: 4px; }

/* ---------- References ---------- */
.ref-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem;
}
.ref-gallery figure {
  margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-sm); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ref-gallery figure:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ref-gallery img { max-height: 100%; width: auto; object-fit: contain; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); box-shadow: var(--sh-sm); background: #fff; }
.ref-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ref-table thead th {
  background: var(--grad-navy); color: #fff; text-align: left;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  padding: 1rem 1.4rem;
}
.ref-table tbody td { padding: .85rem 1.4rem; border-bottom: 1px solid var(--c-border); font-size: .95rem; color: var(--c-text); }
.ref-table tbody tr:nth-child(even) { background: #f7fbff; }
.ref-table tbody tr:hover { background: var(--c-sky-soft); }
.ref-table tbody td:first-child { font-weight: 600; color: var(--c-ink); }
.ref-table .pill {
  display: inline-block; background: var(--c-sky-soft); color: var(--c-primary-d);
  font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: var(--r-pill);
}

.notice {
  display: flex; gap: .9rem; align-items: center;
  background: var(--c-sky-soft); border: 1px solid #cfe6ff; border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md); padding: 1.1rem 1.3rem; color: var(--c-primary-dd); font-weight: 500;
  margin-top: 1.8rem;
}
.notice svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--c-primary); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: stretch; }
.contact-cards { display: grid; gap: 1.1rem; align-content: start; }
.contact-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--sh-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.contact-card__icon {
  width: 54px; height: 54px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--c-text); font-size: 1rem; }
.contact-card a:hover { color: var(--c-primary); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--c-border); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 100px 0; }
.error-page .code {
  font-family: var(--ff-head); font-weight: 800; line-height: 1;
  font-size: clamp(6rem, 18vw, 11rem);
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .6rem; }
.error-page p { color: var(--c-muted); max-width: 480px; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-navy); color: #b9d2ef; padding: 64px 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 48px; }
.footer__brand img { width: 220px; margin-bottom: 1.1rem; }
.footer__brand p { color: #a9c7ef; font-size: .94rem; max-width: 320px; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center; color: #cfe2ff;
}
.footer__social a:hover { background: var(--c-primary); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer__col ul li { margin-bottom: .65rem; }
.footer__col a { color: #b9d2ef; font-size: .94rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__col a svg { width: 14px; height: 14px; color: var(--c-sky-2); }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .94rem; }
.footer__contact svg { width: 20px; height: 20px; color: var(--c-sky-2); flex-shrink: 0; margin-top: 2px; }
.footer__contact a { color: #cfe2ff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: #93b3d6;
}
.footer__bottom a { color: #cfe2ff; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--sh-md); transition: transform .25s ease;
}
.fab:hover { transform: scale(1.1); color: #fff; }
.fab svg { width: 28px; height: 28px; }
.fab--wa { background: #25d366; }
.fab--call { background: var(--grad-primary); }
.fab--wa::after {
  content: ''; position: absolute; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; opacity: .55; animation: pulse 2.2s infinite; z-index: -1;
}
.fab { position: relative; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }

/* Back to top — now the first item inside .fab-stack (above WhatsApp) */
.to-top {
  width: 46px; height: 46px; border-radius: var(--r-sm); border: none; cursor: pointer;
  background: var(--c-navy); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-primary); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 920px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .pd-layout { grid-template-columns: 1fr; gap: 2rem; }
  .pd-gallery { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-cta { grid-template-columns: 1fr; }
  .service-cta__media { min-height: 180px; order: -1; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .section { padding: 60px 0; }
  .brand img { width: 180px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ro-block { grid-template-columns: 1fr; text-align: center; }
  .ro-block__media img { max-height: 240px; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .topbar__left { gap: 1rem; }
  .topbar__right { display: none; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card__body h3 { font-size: .95rem; min-height: auto; }
  .product-card__body p { display: none; }
  .image-stack--cols { grid-template-columns: 1fr; }
  .topbar__left { font-size: .8rem; gap: .9rem; }
  .topbar .topbar__addr { display: none; }
  .slider__arrow { display: none; }
  .ref-gallery { grid-template-columns: repeat(2, 1fr); }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .ref-gallery { grid-template-columns: 1fr; }
}
