/* ============================================================================
 * AQUATEC J6 — Inner page "kns"
 * Auto-generated by aquatec-hero-generator.sh
 * Hero Canon: v1.2 (Session 24)
 * Gradient: #155e75 (dark, left) -> #06b6d4 (light, right)
 * ============================================================================ */

/* ---- [01] BASE ---- */

/* ---- [02] HIDE legacy artifacts ---- */
body:has(#corner) .mod-breadcrumbs__wrapper { display: none !important; }
body.aquatec-site #youtube_reviews { display: none !important; }

/* ============================================================================
   [03] HERO #corner V2 (canon v1.2)
   ============================================================================ */

body:has(#corner) .aeo-summary { display: none; }
body:has(#corner) .inner-banner { display: none; }

#corner {
  --corner-skew: clamp(45px, 6.7vw, 100px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * var(--aq-header-h, 80px));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%23155e75'/><stop offset='1' stop-color='%2306b6d4'/></linearGradient></defs><polygon points='0,0 100,0 100,85 0,100' fill='url(%23g)'/></svg>") no-repeat center / 100% 100%;
  overflow: visible;
  isolation: isolate;
}

#corner > div {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  column-gap: 56px;
  align-items: center;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: calc(var(--aq-header-h, 80px) - 48px) 24px 77px;
  min-height: clamp(420px, 52vh, 580px);
}

#corner img.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.28));
  animation: hero-image-float 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-image-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  #corner img.hero__image { animation: none !important; }
}

#h1_anim {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

#h1_anim h1 {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.0vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  text-wrap: pretty;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#h1_anim p {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
}

#h1_anim .get_in_touch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: var(--aq-orange, #f58025);
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 10px 24px -8px rgba(196, 87, 8, 0.45),
    0 4px 10px -2px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#h1_anim .get_in_touch::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.25s ease;
}

#h1_anim .get_in_touch:hover {
  background: #ff8c2e;
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px -8px rgba(196, 87, 8, 0.55),
    0 6px 14px -2px rgba(0, 0, 0, 0.22);
}

#h1_anim .get_in_touch:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  #corner { --corner-skew: clamp(34px, 5.3vw, 67px); }
  #corner > div {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding: calc(var(--aq-header-h, 80px) + 0px) 20px 72px;
    min-height: auto;
    text-align: center;
  }
  #corner img.hero__image {
    max-width: 425px;
    margin: 0 auto;
  }
  #h1_anim { align-items: center; }
  #h1_anim p { max-width: 100%; text-align: center; }
  #h1_anim p br.desktop { display: none; }
}

@media (max-width: 602px) {
  #corner { --corner-skew: clamp(25px, 5vw, 46px); }
  #h1_anim h1 { font-size: clamp(24px, 7.5vw, 38px); }
  #corner img.hero__image {
    max-width: 300px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.25));
    animation-duration: 5s;
  }
  @keyframes hero-image-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}

/* ============================================================================
   [04] HERO TOP FORCE — header transparent, body gradient match
   ============================================================================ */

body.aquatec-site.inner:has(#corner) #site-header:not(.scrolled),
body.aquatec-site.inner:has(#corner) #site-header:not(.scrolled) .site-header__inner {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.aquatec-site.inner:has(#corner) {
  background: linear-gradient(to right, #155e75 0%, #06b6d4 100%) !important;
  background-color: #155e75 !important;
}

body.aquatec-site.inner:has(#corner) #main,
body.aquatec-site.inner:has(#corner) main.site-main,
body.aquatec-site.inner:has(#corner) .com-content-article,
body.aquatec-site.inner:has(#corner) .com-content-article > .item-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.aquatec-site.inner:has(#corner) #corner {
  margin-top: calc(-1 * var(--aq-header-h, 80px)) !important;
}

/* ============================================================================
   [09] HERO SHADOW (skew drop-shadow + overflow:visible parents)
   ============================================================================ */

:root {
  --aq-skew-shadow: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.32));
  --aq-skew-shadow-mobile: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

#corner { filter: var(--aq-skew-shadow); }

@media (max-width: 768px) {
  #corner { filter: var(--aq-skew-shadow-mobile); }
}

html, body { overflow-x: clip; }

body:has(#corner) main,
body:has(#corner) .com-content-article,
body:has(#corner) .com-content-article__body,
body:has(#corner) .item-page,
body:has(#corner) #center {
  overflow: visible !important;
}




/* === KNS PAGE SECTIONS START === */
/* ========================================================================
   /separators/kns — PAGE SECTIONS v3
   CANON: 1:1 copy from aquatec-big-los.css flipcards + H2 block
   ======================================================================== */

/* [KNS-FF] @font-face — Bebas BOLD + Bebasregular thin (canon big-los 1:1) */
@font-face {
  font-family: 'Bebas';
  src: url('../fonts/BebasNeue_bold.ttf') format('truetype');
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Bebasregular';
  src: url('../fonts/bebasneueregular.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

/* [KNS-00] Page tokens ----------------------------------------------- */
:root {
  --kns-cyan-dark:  #155e75;
  --kns-cyan:       #06b6d4;
  --kns-cyan-light: #67e8f9;
  --kns-slate-dark: #1e293b;
  --kns-slate:      #475569;
  --kns-band-pale:  #f0fdfa;
  --kns-band-2:     #ecfeff;
}

/* [KNS-01] Hero z-index canon ----------------------------------------- */
body.aquatec-site #corner { position: relative; z-index: 2; }
body.aquatec-site section#kns_intro { position: relative; z-index: 1; margin-top: 0 !important; }

html body.aquatec-site main,
html body.aquatec-site main#main,
html body.aquatec-site main.site-main,
html body.aquatec-site main#main.site-main {
  background: var(--aq-bg, #f7f9fc) !important;
}
body.aquatec-site [itemprop="articleBody"] {
  background: var(--aq-bg, #f7f9fc) !important;
}

/* [HC] H2-CANON — canon big-los 1:1 ----------------------------------- */
.aquatec-site.inner :where(
  #kns_where, #kns_features, #kns_section_view,
  #kns_pumps, #kns_gallery, #kns_service, #kns_bridge
) > h2 {
  display: block !important;
  width: 100% !important;
  margin: 0 auto 20px !important;
  padding: clamp(28px, 4vw, 56px) 24px 0 !important;
  font-family: Bebas, 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: 48px !important;
  line-height: 60px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-wrap: balance;
  color: var(--aq-h2-color, #1b2935) !important;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15) !important;
  max-width: var(--aq-container, 1366px) !important;
  background: transparent !important;
}
@media (max-width: 602px) {
  .aquatec-site.inner :where(#kns_where, #kns_features, #kns_section_view, #kns_pumps, #kns_gallery, #kns_service, #kns_bridge) > h2 {
    font-size: 32px !important; line-height: 36px !important; margin-bottom: 5px !important;
  }
}
@media (min-width: 603px) and (max-width: 1199px) {
  .aquatec-site.inner :where(#kns_where, #kns_features, #kns_section_view, #kns_pumps, #kns_gallery, #kns_service, #kns_bridge) > h2 {
    font-size: 36px !important; line-height: 48px !important;
  }
}
.aquatec-site.inner :where(#kns_where, #kns_features, #kns_section_view, #kns_pumps, #kns_gallery, #kns_service, #kns_bridge) > h2 > hr {
  display: block !important; width: 60px !important; height: 4px !important;
  margin: 0 auto 24px !important; border: 0 !important; border-radius: 2px !important;
  background: var(--aq-orange, #f58025) !important; opacity: 1 !important;
}

/* H2 inside principle/quality strips — white variant */
.aquatec-site.inner section#kns_principle .kns-principle__h2,
.aquatec-site.inner section#kns_quality .kns-quality__h2 {
  font-family: Bebas, 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-align: center !important;
  margin: 0 0 24px !important;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

.aquatec-site.inner section#kns_bridge > h2 {
  color: var(--aq-h2-color, #1b2935) !important;
}

/* [KNS-03] #kns_intro — lead + 3 stats -------------------------------- */
section#kns_intro {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  background: var(--aq-bg, #f7f9fc);
}
.kns-intro__inner { max-width: 1100px; margin: 0 auto; }
.kns-intro__lead {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--aq-text, #1b2935);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 940px;
}
.kns-intro__lead strong { color: var(--kns-cyan-dark); font-weight: 700; }
.kns-intro__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.kns-stat {
  background: #fff;
  padding: 28px 24px;
  border-radius: 0;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--kns-cyan-dark) 0%, var(--kns-cyan) 100%) 1;
  text-align: center;
  box-shadow: 0 6px 16px rgba(21, 94, 117, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kns-stat:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(21, 94, 117, 0.18); }
.kns-stat__num {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 56px; line-height: 1;
  color: var(--kns-cyan-dark);
  letter-spacing: 0.02em;
}
.kns-stat__num sup {
  font-size: 0.42em; vertical-align: top;
  margin-left: 6px;
  color: var(--kns-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.kns-stat__label {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--aq-text-muted, #6b7c8c);
  margin-top: 8px;
  line-height: 1.4;
}

/* ========================================================================
   [KNS-04] #kns_where — FLIPCARDS CANON BIG-LOS 1:1
   ======================================================================== */
section#kns_where {
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px);
  background: var(--kns-band-pale);
}

section#kns_where #where_use {
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: 0 24px;
}

/* CONTAINER — flex! Not grid! */
section#kns_where #where_use .container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 30px;
  perspective: 1200px;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

section#kns_where #where_use .card_wrapper {
  width: calc(33.333% - 30px);
  min-width: 280px;
  max-width: 380px;
  height: 480px;
  margin: 0 !important;
  overflow: visible !important;
  opacity: 0;
  transform: translateY(60px);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition:
    opacity 0.6s ease-out,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section#kns_where #where_use .card_wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D card container */
section#kns_where #where_use .card_wrapper .card {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition:
    transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1),
    box-shadow 0.3s ease;
  box-shadow: 0 16px 36px rgba(36, 36, 110, 0.38);
  padding: 0 !important;
  border-radius: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  overflow: visible !important;
  float: none !important;
}

section#kns_where #where_use .card_wrapper .card.is-flipped {
  transform: rotateY(180deg) !important;
}

@media (hover: hover) {
  section#kns_where #where_use .card_wrapper.visible:hover .card {
    box-shadow: 0 24px 48px rgba(36, 36, 110, 0.5);
    transform: translateY(-6px);
  }
  section#kns_where #where_use .card_wrapper.visible:hover .card.is-flipped {
    transform: translateY(-6px) rotateY(180deg) !important;
  }
}

/* Card colors — /fat palette (orange/grey/blue) */
section#kns_where #where_use .card.first {
  background: linear-gradient(135deg, #f7a44a 0%, #ef7d1a 100%);
}
section#kns_where #where_use .card.second {
  background: linear-gradient(135deg, #8a99a8 0%, #5d6b7a 100%);
}
section#kns_where #where_use .card.third {
  background: linear-gradient(135deg, #5cb3ee 0%, #2196f3 100%);
}

/* FRONT side — .top (icon) + .bottom (text) */
section#kns_where #where_use .card > .top,
section#kns_where #where_use .card > .bottom {
  position: absolute !important;
  left: 0 !important;
  right: 0;
  margin: 0 !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
}

section#kns_where #where_use .card > .top {
  top: 0 !important;
  height: 65% !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

section#kns_where #where_use .card > .top .img {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 70% !important;
  height: 80% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

/* SVG icons in flipcard (use-case icons, white) */
section#kns_where #where_use .card > .top .img svg {
  width: 100% !important;
  height: 100% !important;
  fill: rgba(255, 255, 255, 0.96) !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25)) !important;
  animation: kns-where-pulse 2.8s ease-in-out infinite alternate;
}
section#kns_where #where_use .card.first  .top .img svg { animation-delay: 0s; }
section#kns_where #where_use .card.second .top .img svg { animation-delay: 0.7s; }
section#kns_where #where_use .card.third  .top .img svg { animation-delay: 1.4s; }
@keyframes kns-where-pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Image fallback inside .img (if used) */
section#kns_where #where_use .card > .top .img img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25)) !important;
}

section#kns_where #where_use .card > .bottom {
  bottom: 0 !important;
  top: auto;
  height: 35% !important;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px !important;
  text-align: center;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.12);
  font-size: inherit !important;
}

section#kns_where #where_use .card > .bottom .title {
  margin: 0 !important;
  width: 100%;
}

/* FLIPCARD inner h2 — Manrope BOLD (NOT Bebas!) — canon /big-los */
section#kns_where #where_use .card > .bottom .title h2,
section#kns_where #where_use .card > .bottom .title h1 {
  margin: 0 0 4px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  color: #fff !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  width: 100% !important;
  opacity: 1 !important;
  padding: 0 !important;
  background: transparent !important;
}

section#kns_where #where_use .card > .bottom .title h3 {
  margin: 0 !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(12px, 0.95vw, 14px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  opacity: 1 !important;
  letter-spacing: 0 !important;
}

/* BACK side — .info-2 (full overlap, rotated 180deg) */
section#kns_where #where_use .card > .info-2 {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  padding: 32px 28px !important;
  text-align: center;
  background: #1b2935;
  color: #fff;
  transform: rotateY(180deg) !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  overflow: hidden;
}

section#kns_where #where_use .card > .info-2 p {
  margin: 0 !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  width: 100% !important;
  z-index: 1;
  opacity: 1 !important;
}

/* Hide legacy artifacts if exist */
section#kns_where #where_use .card > .click,
section#kns_where #where_use .card > .back,
section#kns_where #where_use .card > .back-info {
  display: none !important;
}

/* Mobile flipcards */
@media (max-width: 768px) {
  section#kns_where #where_use .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }
  section#kns_where #where_use .card_wrapper {
    width: 100% !important;
    max-width: 360px;
    height: 420px;
  }
  section#kns_where #where_use .card > .bottom .title h2,
  section#kns_where #where_use .card > .bottom .title h1 {
    font-size: 16px !important;
  }
  section#kns_where #where_use .card > .bottom .title h3 {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  section#kns_where #where_use .card_wrapper {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  section#kns_where #where_use .card { transition: none !important; }
  section#kns_where #where_use .card > .top .img svg { animation: none !important; }
}

/* [KNS-05] #kns_features — 10-item icon grid -------------------------- */
section#kns_features {
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 6vw, 80px);
  background: var(--aq-bg, #f7f9fc);
}
.kns-feat__grid {
  max-width: 1200px; margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.kns-feat {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 0;
  border-left: 4px solid var(--kns-cyan);
  box-shadow: 0 4px 10px rgba(21, 94, 117, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kns-feat:hover { transform: translateX(4px); box-shadow: 0 8px 18px rgba(21, 94, 117, 0.12); }
.kns-feat__check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--kns-cyan-dark) 0%, var(--kns-cyan) 100%);
  color: #fff;
  border-radius: 999px;
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(6, 182, 212, 0.3);
}
.kns-feat__text {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--aq-text, #1b2935);
}

/* [KNS-06] #kns_principle — SLATE STRIP ------------------------------- */
section#kns_principle { padding: 0; margin: 0; }
.kns-principle__strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(135deg, var(--kns-slate-dark) 0%, var(--kns-slate) 100%);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 60px);
  color: #fff;
  box-shadow:
    inset 0 -24px 36px -24px rgba(0, 0, 0, 0.5),
    0 18px 30px -16px rgba(30, 41, 59, 0.45);
}
.kns-principle__cols {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 768px) {
  .kns-principle__cols { grid-template-columns: 1fr; gap: 16px; }
}
.kns-principle__cols p {
  font-family: Manrope, sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
}
.kns-principle__cols p strong { color: var(--kns-cyan-light); font-weight: 700; }

/* [KNS-07] #kns_section_view ------------------------------------------ */
section#kns_section_view {
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 6vw, 80px);
  background: var(--aq-bg, #f7f9fc);
}
.kns-sv__inner {
  max-width: 1200px; margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 768px) {
  .kns-sv__inner { grid-template-columns: 1fr; }
}
.kns-sv__fig {
  margin: 0;
  background: #fff;
  padding: 24px;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(21, 94, 117, 0.12);
}
.kns-sv__fig img {
  width: 100%; height: auto; display: block;
  object-fit: contain;
  max-height: 520px;
  margin: 0 auto;
}
.kns-sv__body { padding-top: 8px; }
.kns-sv__intro {
  font-family: Manrope, sans-serif;
  font-size: 17px; line-height: 1.55;
  color: var(--aq-text, #1b2935);
  margin: 0 0 24px;
}
.kns-sv__list { list-style: none; padding: 0; margin: 0; }
.kns-sv__list li {
  display: flex; align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21, 94, 117, 0.1);
}
.kns-sv__list li:last-child { border-bottom: 0; }
.kns-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--aq-orange, #f58025);
  color: #fff;
  border-radius: 0;
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 8px rgba(245, 128, 37, 0.3);
}
.kns-comp {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--aq-text, #1b2935);
  padding-top: 4px;
}

/* [KNS-08] #kns_pumps — brand logos grid (4 SVG logos) ---------------- */
section#kns_pumps {
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 6vw, 80px);
  background: var(--kns-band-2);
}
.kns-pumps__intro {
  max-width: 940px; margin: 0 auto 36px;
  font-family: Manrope, sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--aq-text, #1b2935);
  text-align: center;
}
.kns-pumps__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .kns-pumps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kns-pumps__grid { grid-template-columns: 1fr; } }
.kns-brand {
  background: #fff;
  padding: 28px 20px 20px;
  border-radius: 0;
  border-bottom: 4px solid var(--kns-cyan);
  text-align: center;
  box-shadow: 0 6px 14px rgba(21, 94, 117, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; align-items: center;
  min-height: 220px;
}
.kns-brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(21, 94, 117, 0.18);
  border-bottom-color: var(--kns-cyan-dark);
}
.kns-brand__logo {
  width: 100%; max-width: 200px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.kns-brand__logo svg { width: 100%; height: 100%; object-fit: contain; }
.kns-brand__meta {
  border-top: 1px dashed rgba(21, 94, 117, 0.15);
  padding-top: 14px;
  width: 100%;
}
.kns-brand__origin {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kns-cyan-dark);
}
.kns-brand__note {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--aq-text-muted, #6b7c8c);
  margin-top: 6px;
}

/* [KNS-09] #kns_quality — CYAN POLOSA --------------------------------- */
section#kns_quality { padding: 0; margin: 0; }
.kns-quality__strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(135deg, var(--kns-cyan-dark) 0%, var(--kns-cyan) 100%);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 60px);
  color: #fff;
  box-shadow:
    inset 0 -24px 36px -24px rgba(0, 0, 0, 0.35),
    0 16px 28px -14px rgba(21, 94, 117, 0.45);
}
.kns-quality__sub {
  text-align: center;
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}
.kns-quality__cols {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 768px) { .kns-quality__cols { grid-template-columns: 1fr; gap: 16px; } }
.kns-quality__cols p {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
}

/* [KNS-10] #kns_gallery — dual marquee -------------------------------- */
section#kns_gallery {
  padding: 0 0 clamp(40px, 6vw, 80px);
  background: var(--aq-bg, #f7f9fc);
  overflow: hidden;
}
.kns-g__intro {
  max-width: 940px; margin: 0 auto 32px;
  padding: 0 clamp(20px, 4vw, 60px);
  font-family: Manrope, sans-serif;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--aq-text-muted, #6b7c8c);
  text-align: center;
}
.kns-g__marquee { width: 100%; overflow: hidden; position: relative; margin-bottom: 16px; }
.kns-g__marquee:last-of-type { margin-bottom: 0; }
.kns-g__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.kns-g__card {
  flex-shrink: 0;
  width: clamp(220px, 22vw, 280px);
  aspect-ratio: 4/3;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(21, 94, 117, 0.12);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.kns-g__card:hover { transform: scale(1.04); box-shadow: 0 14px 28px rgba(21, 94, 117, 0.22); }
.kns-g__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kns-lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10000;
  cursor: zoom-out;
}
.kns-lightbox.is-open { display: flex; }
.kns-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }

/* [KNS-11] #kns_service — 7 step cards -------------------------------- */
section#kns_service {
  padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 6vw, 80px);
  background: var(--kns-band-pale);
}
.kns-service__grid {
  max-width: 1200px; margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.kns-step {
  position: relative;
  background: #fff;
  padding: 28px 24px 24px;
  border-radius: 0;
  border-top: 4px solid var(--kns-cyan);
  box-shadow: 0 6px 16px rgba(21, 94, 117, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kns-step:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(21, 94, 117, 0.18); }
.kns-step__num {
  position: absolute;
  top: -18px; left: 24px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--kns-cyan-dark) 0%, var(--kns-cyan) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.35);
}
.kns-step__title {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--aq-text, #1b2935);
  margin: 12px 0 10px;
}
.kns-step__desc {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--aq-text-muted, #6b7c8c);
  margin: 0;
}

/* [KNS-12] #kns_bridge ------------------------------------------------ */
section#kns_bridge {
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 60px);
  background: var(--aq-bg, #f7f9fc);
  text-align: center;
}
.kns-bridge__cta {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--aq-orange, #f58025) 0%, #ec5b1f 100%);
  color: #fff !important;
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 14px 28px -8px rgba(245, 128, 37, 0.5),
    0 6px 14px -2px rgba(0, 0, 0, 0.16);
  transition: transform .3s ease, box-shadow .3s ease;
}
.kns-bridge__cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 22px 38px -10px rgba(245, 128, 37, 0.6),
    0 10px 18px -2px rgba(0, 0, 0, 0.22);
}

/* [KNS-DT] Dark theme overrides --------------------------------------- */
html[data-theme="dark"] body.aquatec-site main,
html[data-theme="dark"] body.aquatec-site main#main {
  background-color: var(--aq-bg, #262e3a) !important;
}
html[data-theme="dark"] body.aquatec-site section#kns_intro,
html[data-theme="dark"] body.aquatec-site section#kns_features,
html[data-theme="dark"] body.aquatec-site section#kns_section_view,
html[data-theme="dark"] body.aquatec-site section#kns_gallery,
html[data-theme="dark"] body.aquatec-site section#kns_bridge {
  background: var(--aq-bg, #262e3a) !important;
}
html[data-theme="dark"] body.aquatec-site section#kns_where,
html[data-theme="dark"] body.aquatec-site section#kns_pumps,
html[data-theme="dark"] body.aquatec-site section#kns_service {
  background: #1f2937 !important;
}
html[data-theme="dark"] body.aquatec-site .kns-stat,
html[data-theme="dark"] body.aquatec-site .kns-feat,
html[data-theme="dark"] body.aquatec-site .kns-brand,
html[data-theme="dark"] body.aquatec-site .kns-step,
html[data-theme="dark"] body.aquatec-site .kns-sv__fig,
html[data-theme="dark"] body.aquatec-site .kns-g__card {
  background: var(--aq-card-bg, #2d3748) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}
html[data-theme="dark"] body.aquatec-site .kns-brand__logo {
  filter: brightness(1.4) saturate(1.2);
}
html[data-theme="dark"] body.aquatec-site .kns-intro__lead,
html[data-theme="dark"] body.aquatec-site .kns-feat__text,
html[data-theme="dark"] body.aquatec-site .kns-sv__intro,
html[data-theme="dark"] body.aquatec-site .kns-comp,
html[data-theme="dark"] body.aquatec-site .kns-pumps__intro,
html[data-theme="dark"] body.aquatec-site .kns-step__title {
  color: var(--aq-text, #e8edf3) !important;
}
html[data-theme="dark"] body.aquatec-site .kns-stat__label,
html[data-theme="dark"] body.aquatec-site .kns-brand__note,
html[data-theme="dark"] body.aquatec-site .kns-step__desc,
html[data-theme="dark"] body.aquatec-site .kns-g__intro {
  color: var(--aq-text-muted, #a3b2c2) !important;
}
html[data-theme="dark"] body.aquatec-site .aquatec-site.inner :where(
  #kns_where, #kns_features, #kns_section_view, #kns_pumps, #kns_gallery, #kns_service, #kns_bridge
) > h2 {
  color: var(--aq-text, #e8edf3) !important;
}
html[data-theme="dark"] body.aquatec-site .kns-stat__num,
html[data-theme="dark"] body.aquatec-site .kns-brand__origin {
  color: var(--kns-cyan-light) !important;
}

/* [KNS-POLISH-BG] Body bg longhand ------------------------------------ */
body.aquatec-site.inner:has(#corner) {
  background-image: linear-gradient(to right, #155e75 0%, #06b6d4 100%),
                    linear-gradient(to bottom, transparent 100vh, var(--aq-bg, #f7f9fc) 100vh) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 100% 100vh, 100% 100% !important;
  background-position: 0 0, 0 0 !important;
  background-attachment: scroll, scroll !important;
}
html[data-theme="dark"] body.aquatec-site.inner:has(#corner) {
  background-image: linear-gradient(to right, #155e75 0%, #06b6d4 100%),
                    linear-gradient(to bottom, transparent 100vh, var(--aq-bg, #262e3a) 100vh) !important;
}

/* === KNS PAGE SECTIONS END === */

/* [KNS-TYPO-20] Body text uniform 20px Manrope (Design Canon AEO body)
 * Applied to all section paragraph/description text on /separators/kns.
 * EXCLUDED (preserved):
 *   - H2/H3 (Bebas decorative)
 *   - Flipcard inner h2/h3 (Manrope canon big-los)
 *   - .kns-stat__num, .kns-num, .kns-step__num, .kns-feat__check (Bebas counter bullets)
 *   - .kns-step__title (Bebas H3 22px)
 *   - .kns-quality__sub (Bebas decorative subhead)
 *   - .kns-bridge__cta (Bebas CTA pill 26px)
 *   - .kns-stat__label / .kns-brand__origin / .kns-brand__note (caption labels)
 * ============================================================================ */

body.aquatec-site section#kns_intro .kns-intro__lead,
body.aquatec-site section#kns_features .kns-feat__text,
body.aquatec-site section#kns_principle .kns-principle__cols p,
body.aquatec-site section#kns_section_view .kns-sv__intro,
body.aquatec-site section#kns_section_view .kns-comp,
body.aquatec-site section#kns_pumps .kns-pumps__intro,
body.aquatec-site section#kns_quality .kns-quality__cols p,
body.aquatec-site section#kns_service .kns-step__desc,
body.aquatec-site section#kns_gallery .kns-g__intro {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

/* Mobile: 18px for readability on narrow viewports */
@media (max-width: 602px) {
  body.aquatec-site section#kns_intro .kns-intro__lead,
  body.aquatec-site section#kns_features .kns-feat__text,
  body.aquatec-site section#kns_principle .kns-principle__cols p,
  body.aquatec-site section#kns_section_view .kns-sv__intro,
  body.aquatec-site section#kns_section_view .kns-comp,
  body.aquatec-site section#kns_pumps .kns-pumps__intro,
  body.aquatec-site section#kns_quality .kns-quality__cols p,
  body.aquatec-site section#kns_service .kns-step__desc,
  body.aquatec-site section#kns_gallery .kns-g__intro {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
}

/* Lead intro paragraph — slightly larger weight allowed for emphasis */
body.aquatec-site section#kns_intro .kns-intro__lead {
  font-weight: 400 !important;
}
body.aquatec-site section#kns_intro .kns-intro__lead strong {
  font-weight: 700 !important;
  color: var(--kns-cyan-dark, #155e75) !important;
}

/* strong inside strip paragraphs (principle/quality) */
body.aquatec-site section#kns_principle .kns-principle__cols p strong,
body.aquatec-site section#kns_quality .kns-quality__cols p strong {
  font-weight: 700 !important;
}

/* === [KNS-TYPO-20] END === */
/* [KNS-POLISH-v4] Gallery canon big-los 1:1 + strip shadows (canon --aq-skew-shadow)
 * ============================================================================ */

/* ============================================================
   [KNS-V4-G] GALLERY-MARQUEE — full canon from aquatec-big-los.css
   Replaces old .kns-g__* — selectors target section#kns_gallery.gallery-marquee
   ============================================================ */

section#kns_gallery.gallery-marquee {
  padding: clamp(40px, 6vw, 80px) 0 !important;
  background: var(--aq-card-bg, #ffffff) !important;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}
section#kns_gallery.gallery-marquee > h2 {
  text-align: center !important;
  margin: 0 auto 16px !important;
}
section#kns_gallery.gallery-marquee .gallery__sub {
  text-align: center;
  font-family: Manrope, sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--aq-text-muted, #6b7c8c);
  margin: 0 auto clamp(32px, 4vw, 56px);
  max-width: 720px;
  padding: 0 24px;
}

section#kns_gallery .marquee-row {
  position: relative;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 24px 0 56px;
}
section#kns_gallery .marquee-viewport {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}
section#kns_gallery .marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

section#kns_gallery .marquee-card {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 360px);
  aspect-ratio: 16/10;
  border: 0;
  padding: 0;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 30px 28px -20px rgba(0,0,0,0.40), 0 12px 14px -8px rgba(0,0,0,0.22);
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease;
}
section#kns_gallery .marquee-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 44px 40px -16px rgba(0,0,0,0.55), 0 20px 24px -10px rgba(0,0,0,0.32);
  z-index: 2;
}
section#kns_gallery .marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
section#kns_gallery .marquee-card:hover img {
  transform: scale(1.06);
}
section#kns_gallery .marquee-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  pointer-events: none;
}
section#kns_gallery .marquee-card__label small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kns-cyan, #06b6d4);
  margin-bottom: 2px;
}

section#kns_gallery .marquee-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--aq-card-bg, #ffffff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--aq-text, #1b2935);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  z-index: 4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
section#kns_gallery .marquee-nav--prev { left: 12px; }
section#kns_gallery .marquee-nav--next { right: 12px; }
section#kns_gallery .marquee-nav:hover {
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.30);
  background: var(--kns-cyan, #06b6d4);
  color: #fff;
}

section#kns_gallery .gallery-lightbox {
  width: 92vw;
  max-width: 1200px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
section#kns_gallery .gallery-lightbox::backdrop {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}
section#kns_gallery .gallery-lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}
section#kns_gallery .lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
section#kns_gallery .lightbox-caption {
  margin-top: 14px;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  text-align: center;
  color: #fff;
}
section#kns_gallery .lightbox-close,
section#kns_gallery .lightbox-prev,
section#kns_gallery .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: Arial, sans-serif;
}
section#kns_gallery .lightbox-close {
  top: -14px; right: -14px;
  width: 44px; height: 44px;
  font-size: 26px;
}
section#kns_gallery .lightbox-prev,
section#kns_gallery .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 36px;
}
section#kns_gallery .lightbox-prev { left: -72px; }
section#kns_gallery .lightbox-next { right: -72px; }
section#kns_gallery .lightbox-close:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.08);
}
section#kns_gallery .lightbox-prev:hover,
section#kns_gallery .lightbox-next:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 980px) {
  section#kns_gallery .lightbox-prev { left: 8px; }
  section#kns_gallery .lightbox-next { right: 8px; }
  section#kns_gallery .lightbox-close { top: 8px; right: 8px; }
  section#kns_gallery .marquee-card { width: clamp(220px, 72vw, 300px); }
  section#kns_gallery .marquee-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  section#kns_gallery .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  section#kns_gallery .marquee-nav { display: none; }
}

/* Dark theme — explicit override */
html[data-theme="dark"] body.aquatec-site section#kns_gallery.gallery-marquee {
  background: var(--aq-card-bg, #2d3748) !important;
}
html[data-theme="dark"] section#kns_gallery .marquee-card {
  box-shadow: 0 30px 28px -20px rgba(0,0,0,0.70), 0 12px 14px -8px rgba(0,0,0,0.45);
}
html[data-theme="dark"] section#kns_gallery .marquee-card:hover {
  box-shadow: 0 44px 40px -16px rgba(0,0,0,0.85), 0 20px 24px -10px rgba(0,0,0,0.55);
}
html[data-theme="dark"] section#kns_gallery .marquee-nav {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--aq-text, #e8edf3);
}
html[data-theme="dark"] section#kns_gallery .marquee-nav:hover {
  background: var(--kns-cyan, #06b6d4);
  color: #fff;
}

/* Hide old .kns-g__* leftover styles if any DOM still uses them ----- */
section#kns_gallery .kns-g__intro,
section#kns_gallery .kns-g__marquee,
section#kns_gallery .kns-g__track,
section#kns_gallery .kns-g__card,
section#kns_gallery .kns-lightbox { /* no-op — DOM no longer outputs these */ }


/* ============================================================
   [KNS-V4-S] STRIP SHADOWS — canon --aq-skew-shadow
   Replaces inset box-shadow which doesn't render visibly on dark bg.
   Use filter:drop-shadow for true under-strip shadow (canon AQUATEC).
   ============================================================ */

:root {
  --kns-skew-shadow:        drop-shadow(0 18px 18px rgba(0, 0, 0, 0.38));
  --kns-skew-shadow-mobile: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.30));
}

/* Principle strip: shadow under the whole element */
body.aquatec-site section#kns_principle {
  filter: var(--kns-skew-shadow) !important;
  overflow: visible !important;
  z-index: 1;
  position: relative;
}
body.aquatec-site section#kns_principle .kns-principle__strip {
  /* remove inset shadow — replaced by filter on parent */
  box-shadow: none !important;
}

/* Quality strip — same treatment */
body.aquatec-site section#kns_quality {
  filter: var(--kns-skew-shadow) !important;
  overflow: visible !important;
  z-index: 1;
  position: relative;
}
body.aquatec-site section#kns_quality .kns-quality__strip {
  box-shadow: none !important;
}

/* Ensure parent #center / main allow overflow for filter to render */
body.aquatec-site #center,
body.aquatec-site main,
body.aquatec-site [itemprop="articleBody"] {
  overflow: visible !important;
}

@media (max-width: 768px) {
  body.aquatec-site section#kns_principle,
  body.aquatec-site section#kns_quality {
    filter: var(--kns-skew-shadow-mobile) !important;
  }
}

/* === [KNS-POLISH-v4] END === */
