@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;
}

/* ============================================================================
 * AQUATEC J6 — Inner page "big-los"
 * Auto-generated by aquatec-hero-generator.sh
 * Hero Canon: v1.2 (Session 24)
 * Gradient: #2c3e50 (dark, left) -> #4a6582 (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='%232c3e50'/><stop offset='1' stop-color='%234a6582'/></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: 750px;
  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, #2c3e50 0%, #4a6582 100%) !important;
  background-color: #2c3e50 !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;
}


/* AQUATEC-BIGLOS-FINAL-START — Iter 16c-3 clean */

/* [00] Page tokens + hide legacy */
body.aquatec-site #youtube_reviews,
body.aquatec-site #callback_form { display: none !important; }

body.aquatec-site.inner:has(#corner) {
  background-color: var(--aq-bg, #f7f9fc) !important;
  background-image: linear-gradient(to right, #2c3e50 0%, #4a6582 100%) !important;
  background-size: 100% 100vh !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
}
body.aquatec-site main,
body.aquatec-site .site-main,
body.aquatec-site .com-content-article__body,
body.aquatec-site [itemprop="articleBody"] {
  background: var(--aq-bg, #f7f9fc) !important;
}

/* [HC] H2-CANON — extended whitelist (single source of truth) */
.aquatec-site.inner :where(
  #where, #counter, #why_us, #why_us_pre, #aquatec_world, #container2,
  #home_models_line, #prom_models_line, #steps_of_work, #qa_container,
  #youtube_reviews, #google_reviews, #aquatec_because, #with_aquatec_you_get, #portfolio,
  #rotation, #calc-cta, #equipment, #lineup, #reviews,
  #truck-anim, #modular, #gallery
) > 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(
    #where, #rotation, #calc-cta, #equipment, #lineup, #reviews,
    #truck-anim, #modular, #gallery, #counter, #why_us, #aquatec_world,
    #container2, #home_models_line, #prom_models_line, #steps_of_work,
    #qa_container, #youtube_reviews, #google_reviews, #aquatec_because,
    #with_aquatec_you_get, #portfolio
  ) > 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(
    #where, #rotation, #calc-cta, #equipment, #lineup, #reviews,
    #truck-anim, #modular, #gallery, #counter, #why_us, #aquatec_world,
    #container2, #home_models_line, #prom_models_line, #steps_of_work,
    #qa_container, #youtube_reviews, #google_reviews, #aquatec_because,
    #with_aquatec_you_get, #portfolio
  ) > h2 { font-size: 36px !important; line-height: 48px !important; }
}
.aquatec-site.inner :where(
  #where, #rotation, #calc-cta, #equipment, #lineup, #reviews,
  #truck-anim, #modular, #gallery
) > 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;
}

/* [05b] Canvas anim — from /models (ONE definition) */
 * [05b] #rotation.canvas-anim — frame-by-frame scroll-driven canvas
 * Replaces legacy #rotation 6-model lineup (Iter 16b-3 patch)
 * Frames: /images/ak/models/anim/1.jpg .. 64.jpg (1280 x 478)
 * ============================================================================ */
section#rotation.canvas-anim {
  position: relative;
  min-height: 200vh !important;
  height: auto !important;
  padding: 0 !important;
  background: var(--aq-bg, #f7f9fc);
  overflow: visible;
}

section#rotation.canvas-anim .canvas-anim__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  box-sizing: border-box;
}

section#rotation.canvas-anim .canvas-anim__inner {
  width: 100%;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

section#rotation.canvas-anim canvas#models-hero {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1280px;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  margin: 0 auto;
}

section#rotation.canvas-anim .rotation-frame,
section#rotation.canvas-anim .rotation-stage,
section#rotation.canvas-anim .rotation-models {
  all: unset;
  display: none !important;
}

@media (max-width: 768px) {
  section#rotation.canvas-anim {
    min-height: 150vh !important;
  }
  section#rotation.canvas-anim .canvas-anim__sticky {
    padding: 40px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section#rotation.canvas-anim {
    min-height: auto !important;
  }
  section#rotation.canvas-anim .canvas-anim__sticky {
    position: relative;
    height: auto;
  }
}

/* ============================================================================
 * [05b.shadow] Soft drop-shadow under animated models (Iter 16b-3 polish)
 * Двошарова — близька (forma) + дальня (м'яке поле під моделями)
 * Custom properties — easy tuning без переписування filter:
 * ============================================================================ */
section#rotation.canvas-anim {
  --shadow-near: 0 8px 10px rgba(0, 0, 0, 0.14);
  --shadow-far:  0 28px 32px rgba(0, 0, 0, 0.20);
}

section#rotation.canvas-anim canvas#models-hero {
  filter:
    drop-shadow(var(--shadow-near))
    drop-shadow(var(--shadow-far));
  will-change: filter;
}

/* Slightly stronger in dark mode (тінь менш помітна на темному фоні) */
html[data-theme="dark"] section#rotation.canvas-anim {
  --shadow-near: 0 8px 10px rgba(0, 0, 0, 0.35);
  --shadow-far:  0 28px 32px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  section#rotation.canvas-anim canvas#models-hero {
    will-change: auto;
  }
}

/* ============================================================================
 * [05b.tune] Canvas-anim TUNABLE parameters (Iter 16b-3)
 * ----------------------------------------------------------------------------
 *  --anim-start: коли починається анімація (raw scroll progress 0..1)
 *    0.0  — section щойно з'явилась знизу екрана (анімація стартує одразу)
 *    0.1  — section на 10% увійшла (невелика затримка зверху)
 *    0.25 — section на чверть знизу
 *
 *  --anim-end:   коли закінчується анімація (0..1)
 *    1.0  — section повністю прокрутилась за верхній край
 *    0.85 — section майже зверху, але sticky canvas ще видимий
 *    0.7  — анімація закінчується раніше — sticky тримається без зміни
 *
 *  ЯК НАЛАШТУВАТИ ЖИВЦЕМ:
 *    1. DevTools → Elements → знайти <section id="rotation" class="canvas-anim">
 *    2. У панелі Styles внизу знайти секцію `section#rotation.canvas-anim {...}`
 *    3. Змінити значення --anim-start / --anim-end → анімація відразу реагує
 *    4. Коли підібрав числа — встав їх сюди у цей блок (стане постійним)
 * ============================================================================ */
section#rotation.canvas-anim {
  --anim-start: 0.3;
  --anim-end:   0.6;
}

/* ============================================================================

/* [05] #where flipcards — from AKA */
/* [05] #where flipcards (Ітерація 3 — Phase B)                 */
/* ============================================================ */

#where {
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px);
  background: var(--aq-bg, #f7f9fc);
}

#where_use {
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: 0 24px;
}

/* Скидаємо легасі прод inline grid */
#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;
}

#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);
}

#where_use .card_wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D-контейнер картки */
#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;
}

#where_use .card_wrapper .card.is-flipped {
  transform: rotateY(180deg) !important;
}

@media (hover: hover) {
  #where_use .card_wrapper.visible:hover .card {
    box-shadow: 0 24px 48px rgba(36, 36, 110, 0.5);
    transform: translateY(-6px);
  }
  #where_use .card_wrapper.visible:hover .card.is-flipped {
    transform: translateY(-6px) rotateY(180deg) !important;
  }
}

/* Кольори фону карток (за Image 2 прода) */
#where_use .card.first {
  background: linear-gradient(135deg, #5cb3ee 0%, #2196f3 100%);
}
#where_use .card.third {
  background: linear-gradient(135deg, #2dc4a3 0%, #1ea787 100%);
}
#where_use .card.second {
  background: linear-gradient(135deg, #f7a44a 0%, #ef7d1a 100%);
}

/* FRONT side — .top (image) + .bottom (text) */
#where_use .card > .top,
#where_use .card > .bottom {
  position: absolute !important;
  left: 0 !important;
  right: 0;
  margin: 0 !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
}

#where_use .card > .top {
  top: 0 !important;
  height: 65% !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#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;
}

#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;
}

#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;
}

#where_use .card > .bottom .title {
  margin: 0 !important;
  width: 100%;
}

#where_use .card > .bottom .title h2,
#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;
}

#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 */
#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;
}

#where_use .card > .info-2 p {
  margin: 0 0 24px !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;
}

/* anchor стилізується як .details (див. нижче) */

/* .details — візуальна pill-кнопка */
#where_use .card > .info-2 a.details {
  display: inline-block !important;
  padding: 11px 30px !important;
  background: transparent !important;
  color: #fff !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  margin-top: 16px !important;
  position: relative;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto !important;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

#where_use .card > .info-2 a.details:hover {
  background: #fff !important;
  color: #1b2935 !important;
  transform: translateY(-2px);
}

#where_use .card > .info-2 a.details::after {
  content: "" !important;
}



@media (hover: hover) {
  #where_use .card_wrapper.visible:hover .card.is-flipped .details {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 128, 37, 0.4);
  }
}

/* Приховуємо легасі .click .back .back-info якщо існують */
#where_use .card > .click,
#where_use .card > .back,
#where_use .card > .back-info {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  #where_use .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }
  #where_use .card_wrapper {
    width: 100% !important;
    max-width: 360px;
    height: 420px;
  }
  #where_use .card > .bottom .title h2,
  #where_use .card > .bottom .title h1 {
    font-size: 16px !important;
  }
  #where_use .card > .bottom .title h3 {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #where_use .card_wrapper {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  #where_use .card {
    transition: none !important;
  }
}


/* ============================================================ */

/* [08] #calc-cta — from AKA */
/* [08] #calc-cta — 3 кнопки калькуляторів                          */
/* ================================================================ */

#calc-cta {
  width: 100%;
  padding: clamp(40px, 5vw, 80px) 24px clamp(60px, 8vw, 120px);
}
#calc-cta .calc-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}
#calc-cta .calc-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: 350px;
  min-width: 240px;
}
#calc-cta .calc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: 999px;
  text-decoration: none !important;
  font-family: Manrope, sans-serif;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 28px -8px rgba(36, 36, 110, 0.25), 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
}
#calc-cta .calc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -8px rgba(36, 36, 110, 0.35), 0 6px 14px -2px rgba(0, 0, 0, 0.14);
}
#calc-cta .calc-card:active { transform: translateY(-2px); }
#calc-cta .calc-card__icon { width: 36px; height: 36px; flex-shrink: 0; }
#calc-cta .calc-card__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
#calc-cta .calc-card__text span { font-size: 13px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; opacity: 0.92; }
#calc-cta .calc-card__text em { font-style: normal; font-size: 17px; font-weight: 700; }
#calc-cta .calc-card--water { background: linear-gradient(135deg, #4fc4ff 0%, #00aeee 100%); }
#calc-cta .calc-card--drain { background: linear-gradient(135deg, #ffaa4d 0%, #f58025 100%); }
#calc-cta .calc-card--showroom { background: #ffffff; color: #00aeee; border: 2px solid rgba(0, 174, 238, 0.20); }
#calc-cta .calc-card--showroom:hover { background: #ffffff; border-color: rgba(0, 174, 238, 0.4); }

@media (max-width: 980px) {
  #calc-cta .calc-cta__inner { grid-template-columns: 1fr; gap: 14px; max-width: 440px; }
  #calc-cta .calc-card { justify-content: flex-start; }
}

/* ============================================================================
   [07] WHY US — sectional canon, Iteration 5, 15 травня 2026
   Бірюзова секція зі скосом унизу (як Hero), 6 карток grid 2x3,
   watermark fade-in, stagger card animation + image overshoot + figcaption wipe
   ============================================================================ */

#why_us_section.why-us {
  --why-us-bg: #01b1b0;
  --why-us-skew: clamp(45px, 6.7vw, 100px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><polygon points='0,0 100,0 100,90 0,100' fill='%2301b1b0'/></svg>") no-repeat center / 100% 100%;
  overflow: visible;
  isolation: isolate;
}

.why-us__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(120px, 22vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1400ms ease 200ms, transform 1400ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

#why_us_section.why-us.is-visible .why-us__watermark {
  opacity: 1;
  transform: scale(1);
}

.why-us__inner {
  position: relative;
  z-index: 1;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) 24px calc(clamp(60px, 8vw, 100px) + var(--why-us-skew));
}

.why-us__intro {
  text-align: center;
  margin: 0 auto clamp(60px, 8vw, 100px);
  max-width: 880px;
}

.why-us__h2 {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  margin: 0 0 24px;
}

.why-us__lead {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
  margin: 0;
}

.why-us__lead a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  transition: text-decoration-color 0.25s ease;
}

.why-us__lead a:hover { text-decoration-color: #fff; }

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px) clamp(40px, 6vw, 80px);
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2vw, 28px);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card.is-visible { opacity: 1; transform: translateY(0); }

.why-card:nth-child(1) { transition-delay: 0ms; }
.why-card:nth-child(2) { transition-delay: 120ms; }
.why-card:nth-child(3) { transition-delay: 240ms; }
.why-card:nth-child(4) { transition-delay: 360ms; }
.why-card:nth-child(5) { transition-delay: 480ms; }
.why-card:nth-child(6) { transition-delay: 600ms; }

.why-card figure {
  margin: 0;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: inherit;
}

.why-card.is-visible figure { opacity: 1; transform: scale(1) rotate(0); }

.why-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgba(36, 36, 110, 0.71));
}

.why-card figcaption {
  flex: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 750ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: inherit;
}

.why-card.is-visible figcaption { clip-path: inset(0 0 0 0); }

.why-card h3 {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  margin: 0 0 12px;
}

.why-card p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  margin: 0;
}

@media (max-width: 980px) {
  .why-us__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .why-us__h2 { font-size: 36px; line-height: 44px; }
}

@media (max-width: 602px) {
  #why_us_section.why-us { --why-us-skew: clamp(25px, 5vw, 46px); }
  .why-card { gap: 16px; }
  .why-card img { width: 90px; height: 90px; }
  .why-card h3 { font-size: 22px; line-height: 26px; }
  .why-card p { font-size: 16px; line-height: 24px; }
  .why-us__lead { font-size: 16px; line-height: 1.55; }
  .why-us__watermark { font-size: clamp(80px, 30vw, 200px); }
}

@media (prefers-reduced-motion: reduce) {
  .why-us__watermark,
  .why-card,
  .why-card figure,
  .why-card figcaption {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* End [07] WHY US */

/* ============================================================================
   [08x] Spacing fixes — компресія gap'у facts ↔ calc-cta
   #facts bottom: 60-120px → 20-40px  | #calc-cta top: 40-80px → 16-32px
   Сумарний gap на 1366px: ~177px → ~67px (3x менше)
   ============================================================================ */
#facts {
  padding-bottom: clamp(20px, 3vw, 40px);
}
#calc-cta {
  padding-top: clamp(16px, 2vw, 32px);
}
/* End [08x] */

:root {
  /* Тінь для всіх скошених full-bleed секцій (Hero, why_us, etc.).
     Тюнить тут — застосовується скрізь автоматично.
     Формат: drop-shadow(Xoffset Yoffset blur color)
     Стандартний "висить у повітрі": 0 18px 30px rgba(0,0,0,0.30) */
  --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));
}

/* ============================================================================
   [09] Skew shadows — мяка тінь під діагональним скосом hero і why_us
   filter: drop-shadow повторює clip-path форму (box-shadow її обрізає)
   ============================================================================ */

#corner {
  filter: var(--aq-skew-shadow);
}

#why_us_section.why-us {
  filter: var(--aq-skew-shadow);
}

@media (max-width: 768px) {
  #corner,
  #why_us_section.why-us {
    filter: var(--aq-skew-shadow-mobile);
  }
}

/* End [09] */

/* ============================================================================
   [09b] Звільнити filter:drop-shadow від overflow:hidden на parent-ах.
   Cassiopeia/Joomla 6 ставить overflow:hidden на content wrapper щоб
   приховати full-bleed елементи. Це обрізає тіні від filter.
   overflow-x:clip на html/body замінює — приховує overflow без
   створення scroll context, тобто filter shadow рендериться нормально.
   ============================================================================ */
html, body {
  overflow-x: clip;
}

main,
.com-content-article,
.com-content-article__body,
.item-page,
#center {
  overflow: visible !important;
}

/* End [09b] */

/* ====================================================================== */

/* [06] #lineup accordion — from /models */

/* [POLISH-4] hide inline accordion */
 * [POLISH-4] #lineup — hide inline accordion (контент переходить у модал)
 * ============================================================================ */
section#lineup .model-card .model-card__details,
section#lineup .model-card .model-card__content,
section#lineup .model-card [class*='__details'],
section#lineup .model-card [class*='__expanded'],
section#lineup .model-card details[open],
section#lineup .model-card[data-state="expanded"] [hidden],
section#lineup .model-card.is-open > *:not(.model-card__header):not(.model-card__media):not(.model-card__title):not(.model-card__toggle) {
  display: none !important;
}
section#lineup .model-card {
  cursor: pointer;
}
section#lineup .model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(36, 36, 110, 0.18);
}
section#lineup .model-card .model-card__toggle {
  pointer-events: none !important;  /* клік прокидаємо до картки → відкриває модал */
}

/* ============================================================================

/* [LINEUP-v2] modern cards */
 * [LINEUP-v2] Картки моделей — сучасний дизайн
 * + іконка "+" у куточку, обертається на hover
 * + gradient top border accent
 * + lift on hover з глибокою тінню
 * ============================================================================ */
section#lineup .lineup__grid,
section#lineup .models-lineup__grid,
section#lineup > div > div {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(20px, 2.5vw, 36px) !important;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: 0 24px;
}

section#lineup .model-card {
  position: relative !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px !important;
  padding: 32px 28px 28px !important;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 14px 28px rgba(36, 36, 110, 0.08) !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease !important;
}

/* Top gradient accent bar (тонка лінія brand-кольорами) */
section#lineup .model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--aq-blue, #00aeee) 0%,
    var(--aq-orange, #f58025) 100%);
  border-radius: 20px 20px 0 0;
}

/* + icon in top right corner */
section#lineup .model-card::after {
  content: '+';
  position: absolute;
  top: 18px; right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--aq-blue, #00aeee);
  background: rgba(0, 174, 238, 0.08);
  border-radius: 50%;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 5;
}

section#lineup .model-card:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.08),
    0 28px 56px rgba(36, 36, 110, 0.20) !important;
  border-color: rgba(0, 174, 238, 0.30) !important;
}

section#lineup .model-card:hover::after {
  background: var(--aq-blue, #00aeee);
  color: white;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 174, 238, 0.4);
}

/* Hide existing toggle button — replaced with + icon */
section#lineup .model-card__toggle,
section#lineup .model-card button[class*="toggle"],
section#lineup .model-card button[class*="expand"],
section#lineup .model-card button {
  display: none !important;
}

/* Card content layout — clean */
section#lineup .model-card > * {
  position: relative;
  z-index: 2;
}

section#lineup .model-card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto 16px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.15));
}

/* Title и capacity — clear typography */
section#lineup .model-card h2,
section#lineup .model-card h3,
section#lineup .model-card .model-card__title {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--aq-text, #1b2935) !important;
  margin: 0 0 4px !important;
  padding-right: 60px !important;  /* щоб не перетинатись з + іконкою */
}

section#lineup .model-card p[class*="capacity"],
section#lineup .model-card p[class*="liter"],
section#lineup .model-card .model-card__capacity {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  color: var(--aq-blue, #00aeee) !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
}

/* Hide все що відкривається інлайн (специфікації, кнопки) — переходить у модал */
section#lineup .model-card .model-card__details,
section#lineup .model-card .model-card__content,
section#lineup .model-card [class*='__details'],
section#lineup .model-card [class*='__expanded'],
section#lineup .model-card details,
section#lineup .model-card ul,
section#lineup .model-card dl,
section#lineup .model-card a {
  display: none !important;
}

@media (max-width: 1199px) {
  section#lineup .lineup__grid,
  section#lineup .models-lineup__grid,
  section#lineup > div > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  section#lineup .lineup__grid,
  section#lineup .models-lineup__grid,
  section#lineup > div > div {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================================

/* [MODAL-v2] full-screen modal */
 * [MODAL-v2] Full-screen modal — стиль прода
 * Темний gradient фон + великий watermark + 2-col grid + 2 CTA pills
 * ============================================================================ */
.model-modal[data-open="true"] {
  display: block;
}

.model-modal__backdrop {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.model-modal__panel {
  width: min(95vw, 1400px) !important;
  max-width: 1400px !important;
  max-height: 95vh !important;
  height: auto !important;
  background: linear-gradient(135deg, #3a4654 0%, #1f2530 100%) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
  color: white;
}

/* Watermark позаду — велике слабке "ATVFL N" */
.model-modal__bg-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: clamp(180px, 22vw, 360px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Close × */
.model-modal__close-x {
  position: absolute;
  top: 20px; right: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s ease, transform 0.3s ease;
}
.model-modal__close-x:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: rotate(90deg);
}

/* Grid 2-col */
.model-modal__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 72px);
  min-height: 60vh;
  max-height: 95vh;
  box-sizing: border-box;
}

.model-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.model-modal__media img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

.model-modal__info {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.model-modal__title {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(36px, 4.4vw, 60px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: white !important;
  margin: 0 !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.model-modal__capacity {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--aq-blue, #00aeee) !important;
  margin: 0 !important;
}

.model-modal__specs {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.model-modal__specs li {
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-left: 3px solid var(--aq-blue, #00aeee) !important;
  border-radius: 10px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  list-style: none !important;
}

.model-modal__cta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.model-modal__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px 36px !important;
  border-radius: 999px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer;
  border: 2px solid transparent !important;
  transition: all 0.25s ease !important;
  white-space: nowrap;
}
.model-modal__btn--outline {
  background: white !important;
  color: #2c3e50 !important;
}
.model-modal__btn--outline:hover {
  background: #f0f0f0 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.model-modal__btn--primary {
  background: var(--aq-orange, #f58025) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(245, 128, 37, 0.4);
}
.model-modal__btn--primary:hover {
  background: #ee6f15 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 128, 37, 0.55);
}

/* Mobile */
@media (max-width: 768px) {
  .model-modal__panel {
    width: 96vw !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }
  .model-modal__grid {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    gap: 20px !important;
    overflow-y: auto;
  }
  .model-modal__media img {
    max-height: 40vh;
  }
  .model-modal__bg-watermark {
    font-size: clamp(100px, 25vw, 180px);
  }
}

/* [MODAL-bg] Left panel lighter — dimensions visible on white/grey bg */
.model-modal__panel {
  background: linear-gradient(100deg,
    #ccd5de   0%,   /* ← ліво: майже білий сіро-блакитний (розміри читаються) */
    #8fa3b5  32%,   /* перехід */
    #3a4a5c  54%,   /* темно-синій центр */
    #1c232e 100%    /* → право: майже чорний (текст + CTA на темному) */
  ) !important;
}

/* Watermark — трохи яскравіший, щоб і на світлій і на темній стороні видно */
.model-modal__bg-watermark {
  color: rgba(150, 170, 190, 0.12) !important;
}

/* ============================================================================

/* [07] #reviews base */
 *           + [05] #rotation + [06] #lineup + [07] #reviews + [N] Dark theme
 * Pattern parent: aquatec-aka.css (AKA page)
 * ============================================================================ */

/* ----- [00] Page tokens (extend root canon) ----- */
.aquatec-site {
  --aq-models-teal:        #01b1b0;
  --aq-models-teal-dark:   #005f5e;
  --aq-models-teal-soft:   rgba(1,177,176,0.08);
  --aq-card-shadow:
    0 24px 48px -18px rgba(15, 35, 56, 0.20),
    0 8px 18px -6px  rgba(15, 35, 56, 0.10);
  --aq-card-shadow-hover:
    0 32px 56px -16px rgba(15, 35, 56, 0.24),
    0 12px 24px -6px  rgba(15, 35, 56, 0.12);
}

/* ============================================================================
 * [01] HERO — controlled by Hero Canon v1.2 (DO NOT TOUCH HERE)
 * ============================================================================ */

/* ============================================================================
 * [02] #where — 3 flipcards (canonical AKA pattern, applied Iter 16b-3)
 * DOM:  <section id="where"> > h2 > #where_use > .container > .card_wrapper × 3
 * Color override: orange (Корпус) / grey (Оборудование) / blue (Чистая вода)
 * ============================================================================ */

#where {
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px);
  background: var(--aq-bg, #f7f9fc);
}

#where > h2 {
  font-family: 'Bebas', 'Bebas Neue', system-ui, sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: var(--aq-text, #1b2935);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  margin: 0 auto clamp(40px, 5vw, 60px);
  max-width: var(--aq-container, 1366px);
  padding: 0 24px;
  position: relative;
}

#where > h2 > hr {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--aq-orange, #f58025);
  border: none;
  margin: 0 auto 20px;
}

#where_use {
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: 0 24px;
}

/* Reset legacy inline grid */
#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;
}

#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);
}

#where_use .card_wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

#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;
}

#where_use .card_wrapper .card.is-flipped {
  transform: rotateY(180deg) !important;
}

@media (hover: hover) {
  #where_use .card_wrapper.visible:hover .card {
    box-shadow: 0 24px 48px rgba(36, 36, 110, 0.5);
    transform: translateY(-6px);
  }
  #where_use .card_wrapper.visible:hover .card.is-flipped {
    transform: translateY(-6px) rotateY(180deg) !important;
  }
}

/* /models card colors: orange / grey / blue (per Vasyl Image 1) */
#where_use .card.first {
  background: linear-gradient(135deg, #f7a44a 0%, #ef7d1a 100%);
}
#where_use .card.second {
  background: linear-gradient(135deg, #8a99a8 0%, #5d6b7a 100%);
}
#where_use .card.third {
  background: linear-gradient(135deg, #5cb3ee 0%, #2196f3 100%);
}

/* FRONT — .top (image) + .bottom (text) */
#where_use .card > .top,
#where_use .card > .bottom {
  position: absolute !important;
  left: 0 !important;
  right: 0;
  margin: 0 !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
}

#where_use .card > .top {
  top: 0 !important;
  height: 65% !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#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;
}

#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;
}

#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;
}

#where_use .card > .bottom .title {
  margin: 0 !important;
  width: 100%;
}

/* Card title h2 — Bebas 30/32 (canonical AKA via GLOBAL.fix5) */
#where #where_use .card .bottom .title h2 {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: 30px !important;
  line-height: 32px !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15) !important;
  margin: 0 0 12px !important;
}

/* Card subtitle h3 — Manrope 20px (canonical AKA via GLOBAL.fix4) */
#where #where_use .card .bottom .title h3 {
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: none !important;
  opacity: 1 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

/* BACK — .info-2 */
#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;
}

#where #where_use .card .info-2 p {
  margin: 0 0 24px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  width: 100% !important;
  z-index: 1;
  opacity: 1 !important;
}

#where_use .card > .info-2 a.details {
  display: inline-block !important;
  padding: 11px 30px !important;
  background: transparent !important;
  color: #fff !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  margin-top: 16px !important;
  position: relative;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto !important;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

#where_use .card > .info-2 a.details:hover {
  background: #fff !important;
  color: #1b2935 !important;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  #where > h2 {
    font-size: 32px;
    line-height: 36px;
  }
  #where_use .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }
  #where_use .card_wrapper {
    width: 100% !important;
    max-width: 360px;
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #where_use .card_wrapper {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  #where_use .card {
    transition: none !important;
  }
}

/* ============================================================================
 * [03] #cut-view — "Надежность и эффективность в каждой детали!"
 * ============================================================================ */
body.aquatec-site section#cut-view {
  padding: clamp(40px, 6vw, 80px) 24px clamp(60px, 8vw, 120px);
  text-align: center;
}
body.aquatec-site section#cut-view h2 {
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(40px, 5vw, 64px);
  color: #e6334e;
  text-shadow: 0 4px 4px rgba(0,0,0,0.15);
  text-transform: uppercase;
  font-weight: 400;
}
body.aquatec-site section#cut-view h2 hr {
  display: block;
  border: 0; height: 4px; width: 80px;
  background: var(--aq-orange, #f58025);
  margin: 0 auto 22px;
}
body.aquatec-site section#cut-view .cut__container {
  max-width: 720px;
  margin: 0 auto;
}
body.aquatec-site section#cut-view .cut__container img {
  width: 100%; height: auto;
  max-width: 620px;
  filter: drop-shadow(0 26px 36px rgba(0,0,0,0.24));
  opacity: 0;
  transform: scale(0.92) translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.3,1),
              transform 1.1s cubic-bezier(.2,.7,.3,1);
}
body.aquatec-site section#cut-view.is-visible .cut__container img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ============================================================================
 * [04] #calc — Калькулятор
 * ============================================================================ */
body.aquatec-site section#calc {
  padding: clamp(60px, 8vw, 120px) 24px;
  background: linear-gradient(180deg, transparent 0%, var(--aq-models-teal-soft) 100%);
}
body.aquatec-site section#calc .calc__inner {
  max-width: 680px;
  margin: 0 auto;
}
body.aquatec-site section#calc h2 {
  font-family: 'Bebas', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--aq-text);
  margin: 0 0 40px;
  text-shadow: 0 4px 4px rgba(0,0,0,0.12);
  font-weight: 400;
}
body.aquatec-site section#calc h2 hr {
  display: block;
  border: 0; height: 4px; width: 80px;
  background: var(--aq-orange, #f58025);
  margin: 0 auto 22px;
}
body.aquatec-site .calc__form {
  background: var(--aq-card-bg, #fff);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 32px 64px -20px rgba(15,35,56,0.18),
    0 12px 24px -8px  rgba(15,35,56,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
body.aquatec-site section#calc.is-visible .calc__form {
  opacity: 1; transform: translateY(0);
}
body.aquatec-site .calc__field { margin-bottom: 28px; }
body.aquatec-site .calc__label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aq-text-muted, #6b7c8c);
  margin-bottom: 14px;
}
body.aquatec-site .calc__people-display {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: var(--aq-models-teal-soft);
  color: var(--aq-models-teal-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
body.aquatec-site .calc__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0,0,0,0.04);
  padding: 6px;
  border-radius: 14px;
}
body.aquatec-site .calc__tab {
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--aq-text-muted, #6b7c8c);
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(.3,.6,.2,1);
}
body.aquatec-site .calc__tab:hover { color: var(--aq-text); }
body.aquatec-site .calc__tab.is-active {
  background: linear-gradient(135deg, var(--aq-models-teal) 0%, var(--aq-models-teal-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 14px -2px rgba(1,177,176,0.36);
}
body.aquatec-site .calc__range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(0,0,0,0.10);
  border-radius: 999px;
  outline: 0;
  cursor: pointer;
}
body.aquatec-site .calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px;
  background: var(--aq-models-teal);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px -3px rgba(1,177,176,0.55);
  cursor: pointer;
  transition: transform 0.2s ease;
}
body.aquatec-site .calc__range::-webkit-slider-thumb:hover { transform: scale(1.10); }
body.aquatec-site .calc__range::-moz-range-thumb {
  width: 26px; height: 26px;
  background: var(--aq-models-teal);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px -3px rgba(1,177,176,0.55);
  cursor: pointer;
}
body.aquatec-site .calc__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, var(--aq-models-teal-soft) 0%, rgba(0,95,94,0.04) 100%);
  border: 1px solid rgba(1,177,176,0.22);
  border-radius: 14px;
  padding: 18px 24px;
  margin: 28px 0;
  flex-wrap: wrap;
}
body.aquatec-site .calc__result-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--aq-text-muted, #6b7c8c);
  font-weight: 600;
}
body.aquatec-site .calc__result-model {
  font-family: 'Bebas', sans-serif;
  font-size: 34px;
  color: var(--aq-models-teal-dark);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
body.aquatec-site .calc__result-number {
  color: var(--aq-models-teal);
  font-size: 42px;
  margin-left: 4px;
}
body.aquatec-site .calc__result-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--aq-text);
  font-weight: 600;
}
body.aquatec-site .calc__cta {
  width: 100%;
  background: linear-gradient(135deg, var(--aq-models-teal) 0%, var(--aq-models-teal-dark) 100%);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow:
    0 14px 28px -8px rgba(1,177,176,0.45),
    0 4px 12px -2px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.aquatec-site .calc__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 36px -10px rgba(1,177,176,0.55),
    0 6px 14px -3px rgba(0,0,0,0.12);
}
body.aquatec-site .calc__cta svg {
  width: 20px; height: 20px;
  transition: transform 0.3s ease;
}
body.aquatec-site .calc__cta:hover svg { transform: translateX(4px); }

/* ============================================================================
 * [05] #rotation — pinned scroll-driven 6-model showcase
 * ============================================================================ */
body.aquatec-site section#rotation {
  min-height: 240vh;
  position: relative;
  padding: 0;
}
body.aquatec-site .rotation__sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 24px;
}
body.aquatec-site .rotation__lineup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 2vw, 36px);
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  perspective: 1800px;
}
body.aquatec-site .rotation__lineup img {
  height: clamp(160px, 30vh, 380px);
  width: auto;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,0.28));
  transform-origin: center bottom;
  transition: transform 0.7s cubic-bezier(.3,.6,.2,1),
              filter 0.5s ease;
}

/* Five scroll positions create a slow rotation through the row */
body.aquatec-site .rotation__sticky[data-frame="0"] .rotation__lineup img { transform: rotateY(-28deg) scale(0.92); }
body.aquatec-site .rotation__sticky[data-frame="1"] .rotation__lineup img { transform: rotateY(-14deg) scale(0.96); }
body.aquatec-site .rotation__sticky[data-frame="2"] .rotation__lineup img { transform: rotateY(0deg)   scale(1);    }
body.aquatec-site .rotation__sticky[data-frame="3"] .rotation__lineup img { transform: rotateY(14deg)  scale(0.96); }
body.aquatec-site .rotation__sticky[data-frame="4"] .rotation__lineup img { transform: rotateY(28deg)  scale(0.92); }

body.aquatec-site .rotation__caption {
  font-family: 'Bebas', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  text-align: center;
  text-transform: uppercase;
  color: #e6334e;
  text-shadow: 0 4px 4px rgba(0,0,0,0.15);
  letter-spacing: 0.015em;
  line-height: 1.2;
  margin: 36px auto 0;
  max-width: 900px;
  font-weight: 400;
}

@media (max-width: 700px) {
  body.aquatec-site section#rotation { min-height: 180vh; }
  body.aquatec-site .rotation__lineup { gap: 8px; }
  body.aquatec-site .rotation__lineup img { height: clamp(120px, 24vh, 220px); }
  body.aquatec-site .rotation__lineup img:nth-child(n+5) { display: none; }
}

/* ============================================================================
 * [06] #lineup — 6 model cards (accordion)
 * ============================================================================ */
body.aquatec-site section#lineup {
  padding: clamp(60px, 8vw, 120px) 24px;
  background: rgba(15,35,56,0.025);
  position: relative;
}
body.aquatec-site section#lineup h2 {
  font-family: 'Bebas', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--aq-text);
  margin: 0 0 48px;
  text-shadow: 0 4px 4px rgba(0,0,0,0.12);
  font-weight: 400;
}
body.aquatec-site section#lineup h2 hr {
  display: block;
  border: 0; height: 4px; width: 80px;
  background: var(--aq-orange, #f58025);
  margin: 0 auto 22px;
}
body.aquatec-site .lineup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
}

body.aquatec-site .model-card {
  background: var(--aq-card-bg, #fff);
  border-radius: 24px;
  padding: 32px 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--aq-card-shadow);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s cubic-bezier(.3,.6,.2,1),
              box-shadow 0.3s cubic-bezier(.3,.6,.2,1),
              outline-color 0.3s ease;
  outline: 2px solid transparent;
  outline-offset: 0px;
}
body.aquatec-site .model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--aq-models-teal) 0%,
    var(--aq-models-teal-dark) 35%,
    var(--aq-orange, #f58025) 100%);
}
body.aquatec-site .model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--aq-card-shadow-hover);
}
body.aquatec-site .model-card.is-highlighted {
  outline: 3px solid var(--aq-models-teal);
  outline-offset: -1px;
  animation: model-pulse 1.8s ease-out;
}
@keyframes model-pulse {
  0%   { box-shadow: var(--aq-card-shadow), 0 0 0 0 rgba(1,177,176,0.55); }
  60%  { box-shadow: var(--aq-card-shadow), 0 0 0 22px rgba(1,177,176,0); }
  100% { box-shadow: var(--aq-card-shadow), 0 0 0 0 rgba(1,177,176,0); }
}

body.aquatec-site .model-card__header {
  position: relative;
}
body.aquatec-site .model-card__badge {
  font-family: 'Bebas', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--aq-text-muted, #6b7c8c);
  text-transform: uppercase;
  line-height: 1;
}
body.aquatec-site .model-card__badge strong {
  font-size: 60px;
  color: var(--aq-models-teal-dark);
  font-weight: 400;
  margin-left: 6px;
  display: inline-block;
  vertical-align: -8px;
  line-height: 0.9;
  text-shadow: 0 4px 4px rgba(0,0,0,0.08);
}
body.aquatec-site .model-card__metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 4px;
}
body.aquatec-site .model-card__metric-value {
  font-family: 'Bebas', sans-serif;
  font-size: 36px;
  color: var(--aq-models-teal);
  letter-spacing: 0.02em;
  line-height: 1;
}
body.aquatec-site .model-card__metric-unit {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--aq-text-muted, #6b7c8c);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.aquatec-site .model-card__preview {
  text-align: center;
  margin: 12px 0 20px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.aquatec-site .model-card__preview img {
  max-height: 160px;
  width: auto;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.18));
  transition: transform 0.4s cubic-bezier(.3,.6,.2,1);
}
body.aquatec-site .model-card:hover .model-card__preview img {
  transform: scale(1.04) translateY(-4px);
}

body.aquatec-site .model-card__toggle {
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.10);
  padding: 13px 24px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aq-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}
body.aquatec-site .model-card__toggle:hover {
  background: var(--aq-models-teal-soft);
  border-color: var(--aq-models-teal);
  color: var(--aq-models-teal-dark);
}
body.aquatec-site .model-card__toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.35s ease;
}
body.aquatec-site .model-card.is-open .model-card__toggle svg {
  transform: rotate(180deg);
}

body.aquatec-site .model-card__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(.3,.6,.2,1);
  margin: 0 -28px -24px;
}
body.aquatec-site .model-card.is-open .model-card__body {
  grid-template-rows: 1fr;
}
body.aquatec-site .model-card__body-inner {
  overflow: hidden;
  padding: 0 28px;
}
body.aquatec-site .model-card.is-open .model-card__body-inner {
  padding: 32px 28px 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(180deg, var(--aq-models-teal-soft) 0%, transparent 80%);
}

body.aquatec-site .model-card__visual {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.aquatec-site .model-card__visual img {
  max-height: 260px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.22));
}
body.aquatec-site .model-card__watermark {
  position: absolute;
  font-family: 'Bebas', sans-serif;
  font-size: clamp(56px, 11vw, 100px);
  color: rgba(1,177,176,0.10);
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  font-weight: 400;
}
body.aquatec-site .model-card__title {
  font-family: 'Bebas', sans-serif;
  font-size: 26px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--aq-text);
  margin: 0 0 20px;
  font-weight: 400;
}

body.aquatec-site .model-card__usage {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}
body.aquatec-site .model-card__usage li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--aq-models-teal-soft);
  border-radius: 12px;
  border-left: 3px solid var(--aq-models-teal);
}
body.aquatec-site .model-card__usage li span {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--aq-models-teal-dark);
}
body.aquatec-site .model-card__usage li strong {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--aq-text);
  font-weight: 700;
}
body.aquatec-site .model-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
body.aquatec-site .model-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.3,.6,.2,1);
  line-height: 1;
}
body.aquatec-site .model-card__action svg { width: 16px; height: 16px; flex-shrink: 0; }
body.aquatec-site .model-card__action--pdf {
  background: #fff;
  color: var(--aq-models-teal-dark);
  border: 2px solid var(--aq-models-teal-dark);
}
body.aquatec-site .model-card__action--pdf:hover {
  background: var(--aq-models-teal-dark);
  color: #fff;
  transform: translateY(-2px);
}
body.aquatec-site .model-card__action--call {
  background: linear-gradient(135deg, #f7a44a 0%, #ef7d1a 100%);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 10px 22px -8px rgba(239,125,26,0.40);
}
body.aquatec-site .model-card__action--call:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(239,125,26,0.55);
}

@media (max-width: 980px) {
  body.aquatec-site .lineup__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body.aquatec-site .lineup__grid { grid-template-columns: 1fr; }
  body.aquatec-site .model-card__actions { grid-template-columns: 1fr; }
}

/* ============================================================================
 * [07] #reviews — 4 video posters skewed blue section (AKA pattern)
 * ============================================================================ */
body.aquatec-site section#reviews.models-reviews {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: clamp(80px, 10vw, 140px) 24px clamp(100px, 12vw, 160px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><polygon points='0,0 100,0 100,85 0,100' fill='%23276cba'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: var(--aq-skew-shadow, drop-shadow(0 14px 12px rgba(0,0,0,0.32)));
  overflow: visible;
  isolation: isolate;
}
@media (max-width: 768px) {
  body.aquatec-site section#reviews.models-reviews {
    filter: var(--aq-skew-shadow-mobile, drop-shadow(0 10px 18px rgba(0,0,0,0.25)));
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><polygon points='0,0 100,0 100,93 0,100' fill='%23276cba'/></svg>");
  }
}
body.aquatec-site section#reviews.models-reviews h2 {
  font-family: 'Bebas', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  text-align: center;
  color: #fff;
  margin: 0 0 48px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 4px rgba(0,0,0,0.20);
  font-weight: 400;
}
body.aquatec-site section#reviews.models-reviews h2 hr {
  display: block;
  border: 0; height: 4px; width: 80px;
  background: rgba(255,255,255,0.85);
  margin: 0 auto 22px;
}
body.aquatec-site .reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 32px);
  max-width: 1100px;
  margin: 0 auto 44px;
}
body.aquatec-site .review-card {
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,0.18);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  display: block;
  transition: transform 0.3s cubic-bezier(.3,.6,.2,1),
              box-shadow 0.3s cubic-bezier(.3,.6,.2,1);
}
body.aquatec-site .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -16px rgba(0,0,0,0.45);
}
body.aquatec-site .review-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
body.aquatec-site .review-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.30) 100%);
}
body.aquatec-site .review-card__play svg {
  width: 64px; height: 64px;
  fill: rgba(255,255,255,0.95);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.30));
}
body.aquatec-site .review-card:hover .review-card__play svg {
  transform: scale(1.14);
}
body.aquatec-site .reviews__cta-wrap { text-align: center; position: relative; z-index: 2; }
body.aquatec-site .reviews__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--aq-blue-hero, #276cba);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.25s cubic-bezier(.3,.6,.2,1);
}
body.aquatec-site .reviews__cta:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  body.aquatec-site .reviews__grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ============================================================================

/* [POLISH-3] reviews gray override */
 * [POLISH-3] #reviews — gray gradient instead of blue
 * ============================================================================ */
section#reviews.models-reviews,
section#reviews {
  background: linear-gradient(180deg, #c4ccd5 0%, #6b7783 100%) !important;
}
/* SVG polygon skew (якщо є) — теж сірий */
section#reviews.models-reviews::before,
section#reviews::before {
  background: linear-gradient(180deg, #c4ccd5 0%, #6b7783 100%) !important;
}

/* Dark mode adjust */
html[data-theme="dark"] section#reviews.models-reviews,
html[data-theme="dark"] section#reviews {
  background: linear-gradient(180deg, #3a424d 0%, #1f252e 100%) !important;
}

/* ============================================================================

/* Reviews h2 inverted (white on dark gradient) */
.aquatec-site.inner #reviews > h2 { color: #fff !important; }
.aquatec-site.inner #reviews > h2 > hr { background: #fff !important; opacity: 0.6 !important; }

html[data-theme="dark"] {
  --aq-h2-color: #ffffff;
}

html[data-theme="dark"] body.aquatec-site main,
html[data-theme="dark"] body.inner .site-main {
  background-color: var(--aq-bg) !important;
}

/* Cards invert */
html[data-theme="dark"] body.aquatec-site .model-card {
  background: var(--aq-card-bg) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
html[data-theme="dark"] body.aquatec-site .model-card__title,
html[data-theme="dark"] body.aquatec-site .model-card__usage li strong,
html[data-theme="dark"] body.aquatec-site .model-card__toggle {
  color: var(--aq-text) !important;
}
html[data-theme="dark"] body.aquatec-site .model-card__metric-unit {
  color: var(--aq-text-muted) !important;
}
html[data-theme="dark"] body.aquatec-site .model-card__usage li {
  background: rgba(1,177,176,0.10);
}
html[data-theme="dark"] body.aquatec-site .model-card.is-open .model-card__body-inner {
  background: linear-gradient(180deg, rgba(1,177,176,0.10) 0%, transparent 80%);
  border-top-color: rgba(255,255,255,0.10);
}
html[data-theme="dark"] body.aquatec-site .model-card__toggle {
  border-color: rgba(255,255,255,0.18) !important;
}

/* Calculator invert */
html[data-theme="dark"] body.aquatec-site .calc__form {
  background: var(--aq-card-bg) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
html[data-theme="dark"] body.aquatec-site .calc__tabs {
  background: rgba(255,255,255,0.06);
}
html[data-theme="dark"] body.aquatec-site .calc__tab {
  color: var(--aq-text-muted) !important;
}
html[data-theme="dark"] body.aquatec-site .calc__range {
  background: rgba(255,255,255,0.12);
}
html[data-theme="dark"] body.aquatec-site .calc__result {
  background: rgba(1,177,176,0.12);
  border-color: rgba(1,177,176,0.30);
}
html[data-theme="dark"] body.aquatec-site .calc__result-meta {
  color: var(--aq-text) !important;
}
html[data-theme="dark"] body.aquatec-site .calc__people-display {
  background: rgba(1,177,176,0.20);
  color: var(--aq-models-teal);
}

/* Lineup section bg invert */
html[data-theme="dark"] body.aquatec-site section#lineup {
  background: rgba(255,255,255,0.02);
}

/* PDF action invert */
html[data-theme="dark"] body.aquatec-site .model-card__action--pdf {
  background: transparent;
  color: var(--aq-models-teal);
  border-color: var(--aq-models-teal);
}
html[data-theme="dark"] body.aquatec-site .model-card__action--pdf:hover {
  background: var(--aq-models-teal);
  color: #fff;
}

/* Reviews white pill keeps brand contrast — DO NOT TOUCH */
/* Card pulse keeps brand colors — DO NOT TOUCH */

/* ============================================================================

/* Modal default hidden */
body.aquatec-site .model-modal { display: none; }
body.aquatec-site .model-modal[data-open="true"] { display: block; }

/* NEW: #equipment, #truck-anim, #modular, #gallery, .aq-lightbox */
section#equipment{padding:clamp(40px,6vw,80px) 24px;max-width:var(--aq-container,1366px);margin:0 auto;text-align:center;}
section#equipment .equipment__video{max-width:min(95vw,1100px);margin:0 auto 40px;border-radius:16px;overflow:hidden;box-shadow:0 20px 40px -10px rgba(0,0,0,0.2);background:#000;}
section#equipment .equipment__video video{display:block;width:100%;height:auto;}
section#equipment .equipment__components{max-width:800px;margin:32px auto 0;background:var(--aq-card-bg,#fff);border-radius:16px;padding:32px;box-shadow:0 8px 24px rgba(0,0,0,0.06);text-align:left;}
section#equipment .equipment__components h3{font-family:Bebas,'Bebas Neue',sans-serif;font-weight:500;font-size:clamp(22px,3vw,30px);letter-spacing:0.02em;margin:0 0 20px;color:var(--aq-text);}
section#equipment .equipment__components ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px;}
section#equipment .equipment__components li{position:relative;padding-left:28px;font-family:Manrope,system-ui,sans-serif;font-size:18px;line-height:1.55;color:var(--aq-text);font-weight:300;}
section#equipment .equipment__components li::before{content:'';position:absolute;left:0;top:10px;width:10px;height:10px;border-radius:50%;background:var(--aq-blue,#00aeee);}

section#truck-anim{position:relative;padding:0 24px 0 24px 0;text-align:center;overflow:visible;}
section#truck-anim p.lead{font-family:Manrope,system-ui,sans-serif;font-weight:300;font-size:clamp(16px,1.8vw,19px);color:var(--aq-text-muted);max-width:900px;margin:0 auto clamp(40px,5vw,60px);line-height:1.55;}
section#truck-anim .truck-anim{position:relative;width:100vw !important;max-width:none !important;margin-left:calc(50% - 50vw) !important;height:clamp(260px,25vw,470px);overflow:hidden;}
section#truck-anim .truck-anim img{position:absolute;bottom:calc(11% - 80px);left:50%;transform:translateX(-50%);width:clamp(1050px,117vw,1770px) !important;max-width:none !important;height:auto;will-change:transform,opacity;opacity:0;}
section#truck-anim .truck-anim img.with-tent{z-index:3;}
section#truck-anim .truck-anim img.no-tent{z-index:2;}
@keyframes truck-drive-tent{0%{transform:translateX(calc(-50% + 100vw));opacity:1;}50%{transform:translateX(-50%);opacity:1;}65%{transform:translateX(-50%);opacity:0;}100%{transform:translateX(-50%);opacity:0;}}
@keyframes truck-drive-open{0%,50%{transform:translateX(-50%);opacity:0;}65%{transform:translateX(-50%);opacity:1;}100%{transform:translateX(-50%);opacity:1;}}
section#truck-anim .truck-anim.is-in-view img.with-tent{animation:truck-drive-tent 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
section#truck-anim .truck-anim.is-in-view img.no-tent{animation:truck-drive-open 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
/* [POLISH-truck-road] Sess 28 — дорога знизу + фура зупиняється в центрі */
section#truck-anim .truck-anim::after{
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:200vw;
  height:clamp(60px, 16%, 100px);
  background:url('/images/ak/biglos/1.jpg') no-repeat center bottom;
  background-size:100% 100%;
  opacity:0;
  transition:opacity 1.2s ease-out;
  z-index:1;
  pointer-events:none;
}
section#truck-anim .truck-anim.is-in-view::after{opacity:1;}
/* /[POLISH-truck-road] */

section#modular{padding:clamp(60px,8vw,100px) 24px;text-align:center;max-width:var(--aq-container,1366px);margin:0 auto;}
section#modular p.lead{font-family:Manrope,system-ui,sans-serif;font-weight:300;font-size:clamp(16px,1.8vw,19px);color:var(--aq-text-muted);max-width:900px;margin:0 auto clamp(40px,5vw,60px);line-height:1.55;}
.modular__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:0 auto 60px;}
.modular__item{cursor:zoom-in;text-align:center;background:var(--aq-card-bg,#fff);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,0.08);transition:transform 0.3s ease,box-shadow 0.3s ease;}
.modular__item:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(0,0,0,0.15);}
.modular__item img{width:100%;height:auto;display:block;}
.modular__item p{font-family:Bebas,'Bebas Neue',sans-serif;font-size:clamp(20px,2.2vw,24px);letter-spacing:0.02em;margin:16px 0 4px;color:var(--aq-text);}
.modular__item span{font-family:Manrope,system-ui,sans-serif;font-weight:400;font-size:16px;color:var(--aq-text-muted);}
#modular__viz{text-align:center;margin:clamp(40px,5vw,72px) 0 0;background:linear-gradient(180deg,#5a6573 0%,#a8b3bd 100%);padding:clamp(60px,8vw,100px) clamp(20px,4vw,60px);width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);box-sizing:border-box;}
#modular__viz h3{font-family:Bebas,'Bebas Neue',sans-serif;font-weight:500;font-size:clamp(24px,3vw,36px);letter-spacing:0.02em;margin:0 0 24px;color:#ffffff;text-shadow:0 2px 10px rgba(0,0,0,0.35);}
#modular__viz img{display:block;max-width:min(95vw,1100px);width:100%;height:auto;margin:0 auto;cursor:zoom-in;filter:drop-shadow(0 28px 30px rgba(0,0,0,0.40)) drop-shadow(0 12px 16px rgba(0,0,0,0.25));transition:filter 0.3s ease,transform 0.3s ease;}
#modular__viz img:hover{transform:scale(1.02);filter:drop-shadow(0 36px 40px rgba(0,0,0,0.50)) drop-shadow(0 16px 22px rgba(0,0,0,0.32));}

section#gallery{padding:clamp(60px,8vw,100px) 24px;max-width:var(--aq-container,1366px);margin:0 auto;}
section#gallery p.gallery__sub{text-align:center;font-family:Manrope,system-ui,sans-serif;font-weight:300;font-size:18px;color:var(--aq-text-muted);margin:-20px auto 40px;max-width:800px;}
.gallery__group{margin-bottom:60px;}
.gallery__group h3{font-family:Bebas,'Bebas Neue',sans-serif;font-size:clamp(24px,2.8vw,32px);letter-spacing:0.02em;color:var(--aq-text);text-align:center;margin:0 0 28px;}
.gallery__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;}
.gallery__item{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:8px;cursor:zoom-in;box-shadow:0 4px 16px rgba(0,0,0,0.08);transition:transform 0.3s ease,box-shadow 0.3s ease;}
.gallery__item:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,0.18);}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease;}
.gallery__item:hover img{transform:scale(1.08);}
.gallery__item .gallery__caption{position:absolute;inset:auto 0 0 0;padding:24px 16px 12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,0.78));color:#fff;font-family:Manrope,system-ui,sans-serif;font-size:13px;line-height:1.3;opacity:0;transform:translateY(20px);transition:all 0.3s ease;}
.gallery__item:hover .gallery__caption{opacity:1;transform:translateY(0);}

.aq-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,0.92);cursor:zoom-out;}
.aq-lightbox.is-open{display:flex;}
.aq-lightbox__img{max-width:95vw;max-height:92vh;display:block;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,0.6);object-fit:contain;}
.aq-lightbox__close,.aq-lightbox__nav{position:absolute;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,0.15);color:#fff;font-size:28px;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.2s ease;font-family:system-ui;}
.aq-lightbox__close{top:24px;right:24px;}
.aq-lightbox__nav{top:50%;transform:translateY(-50%);}
.aq-lightbox__nav--prev{left:24px;}
.aq-lightbox__nav--next{right:24px;}
.aq-lightbox__close:hover,.aq-lightbox__nav:hover{background:rgba(255,255,255,0.32);}

@media (prefers-reduced-motion:reduce){
  section#truck-anim .truck-anim img{animation:none !important;}
  section#truck-anim .truck-anim img.no-tent{opacity:1 !important;transform:translateX(-50%) !important;}
  section#truck-anim .truck-anim img.with-tent{opacity:0 !important;}
  section#truck-anim .truck-anim::after{opacity:1 !important;}
}

/* AQUATEC-BIGLOS-FINAL-END */

/* ============================================================================
 * [05b.unsticky] Canvas-anim — flow normally, NO sticky pinning
 * Iter 16c (big-los port from /models): page scrolls smoothly,
 * кадри змінюються поки section проходить через viewport.
 * Перебиває base [05b] rules вище в цьому ж файлі.
 * ============================================================================ */
section#rotation.canvas-anim {
  min-height: auto !important;
  height: auto !important;
  padding: clamp(20px, 3vw, 40px) 24px !important;
  display: block;
}

section#rotation.canvas-anim .canvas-anim__sticky {
  position: static !important;
  top: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: block;
}

section#rotation.canvas-anim .canvas-anim__inner {
  width: 100%;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

section#rotation.canvas-anim canvas#models-hero {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1280px;
  max-height: none !important;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 768px) {
  section#rotation.canvas-anim {
    padding: clamp(40px, 6vw, 60px) 16px !important;
  }
}

/* ============================================================================
 * [MODAL-v2-fix] Modal viewport positioning — port from /models (Iter 16c)
 * Без position:fixed на .model-modal — її .model-modal__panel позиціонується
 * від document, а не viewport → відкривається у верху сторінки замість центру.
 * ============================================================================ */
body.aquatec-site .model-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
}

body.modal-open {
  overflow: hidden !important;
}

/* ============================================================================
 * [MODAL-v2-specs-polish] Modal spec rows — readable label/value separation
 * Iter 16c-polish: flex layout + accent strong, без зміни pill bg/padding/border.
 * Текст-ноди ("Высота", " мм") стають anonymous flex items → gap працює.
 * ============================================================================ */
.model-modal__specs li {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  color: rgba(255, 255, 255, 0.70) !important;
}

.model-modal__specs li strong,
.model-modal__specs li b {
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 1.08em !important;
  letter-spacing: 0.02em !important;
  font-variant-numeric: tabular-nums !important;
  text-shadow: 0 0 18px rgba(0, 174, 238, 0.32);
}

@media (max-width: 640px) {
  .model-modal__specs li { gap: 6px !important; }
}

/* ============================================================================
 * [POLISH-where-pulse] #where_use flipcard images — gentle scale pulse
 * Reused from AKA /[POLISH-where-wobble] block (Sess 28)
 * ============================================================================ */

#where_use .card > .top .img img {
  animation: where-img-pulse 2.8s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
#where_use .card.first  > .top .img img { animation-delay: 0s;   }
#where_use .card.second > .top .img img { animation-delay: 0.7s; }
#where_use .card.third  > .top .img img { animation-delay: 1.4s; }

@keyframes where-img-pulse {
  from { transform: scale(1);    }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  #where_use .card > .top .img img {
    animation: none !important;
  }
}
/* /[POLISH-where-pulse] */



/* ============================================================================
 * [POLISH-gallery-marquee] #gallery — dual marquee (RAF-driven) + lightbox
 * Sess 28 (Iter 16-polish-biglos v3 — pure JS scroll, dark-theme safe)
 * ============================================================================ */

section#gallery.gallery-marquee {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--aq-card-bg, #ffffff);
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}
section#gallery.gallery-marquee > h2 {
  text-align: center;
  margin: 0 auto 16px;
}
section#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;
}

.marquee-row {
  position: relative;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 24px 0 56px;
}
.marquee-viewport {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  /* NO CSS animation — controlled by JS RAF loop */
}

.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;
}
.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;
}
.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.marquee-card:hover img {
  transform: scale(1.06);
}
.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;
}
.marquee-card__label small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aq-blue, #00aeee);
  margin-bottom: 2px;
}

.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;
}
.marquee-nav--prev { left: 12px; }
.marquee-nav--next { right: 12px; }
.marquee-nav:hover {
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.30);
  background: var(--aq-blue, #00aeee);
  color: #fff;
}

.gallery-lightbox {
  width: 92vw;
  max-width: 1200px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
.gallery-lightbox::backdrop {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}
.gallery-lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.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);
}
.lightbox-caption {
  margin-top: 14px;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  text-align: center;
  color: #fff;
}
.lightbox-close, .lightbox-prev, .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;
}
.lightbox-close {
  top: -14px; right: -14px;
  width: 44px; height: 44px;
  font-size: 26px;
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 36px;
}
.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }
.lightbox-close:hover { background: rgba(255,255,255,0.28); transform: scale(1.08); }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 980px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; }
  .marquee-card { width: clamp(220px, 72vw, 300px); }
  .marquee-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .marquee-nav { display: none; }
}

/* Dark theme — explicit override for marquee bg and card shadows */
html[data-theme="dark"] body.aquatec-site section#gallery.gallery-marquee {
  background: var(--aq-card-bg, #2d3748);
}
html[data-theme="dark"] section#gallery.gallery-marquee .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#gallery.gallery-marquee .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#gallery.gallery-marquee .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#gallery.gallery-marquee .marquee-nav:hover {
  background: var(--aq-blue, #2cc1f5);
  color: #fff;
}
/* /[POLISH-gallery-marquee] */


/* [POLISH-modular-viz-dark] gradient + shadow for dark theme */
html[data-theme="dark"] #modular__viz {
  background: linear-gradient(180deg, #1f252e 0%, #3a424d 100%);
}
html[data-theme="dark"] #modular__viz h3 {
  color: #e8edf3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
html[data-theme="dark"] #modular__viz img {
  filter: drop-shadow(0 28px 30px rgba(0,0,0,0.65)) drop-shadow(0 12px 16px rgba(0,0,0,0.45));
}
/* /[POLISH-modular-viz-dark] */
