@font-face {
  font-family: 'Bebas';
  src: url('../fonts/BebasNeue_bold.ttf') format('truetype');
  font-display: swap;
  font-weight: 500;
}
@font-face {
  font-family: 'Bebasregular';
  src: url('../fonts/bebasneueregular.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}

/* ============================================================================
 * AQUATEC J6 — Inner page "panorama-360"
 * Auto-generated by aquatec-hero-generator.sh
 * Hero Canon: v1.2 (Session 24)
 * Gradient: #1e1b4b (dark, left) -> #6d28d9 (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='%231e1b4b'/><stop offset='1' stop-color='%236d28d9'/></linearGradient></defs><polygon points='0,0 100,0 100,85 0,100' fill='url(%23g)'/></svg>") no-repeat center / 100% 100%;
  overflow: visible;
  isolation: isolate;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

body.aquatec-site.inner:has(#corner) {
  background: linear-gradient(to right, #1e1b4b 0%, #6d28d9 100%) !important;
  background-color: #1e1b4b !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;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE SECTIONS START HERE — panorama-360
   Sess PANORAMA, 20.05.2026
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── [00] Page tokens ───────────────────────────────────────────────────── */
:root {
  --pano-card-bg: var(--aq-card-bg, #ffffff);
  --pano-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --pano-card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  --pano-card-radius: 16px;
  --pano-viewer-h-desktop: 480px;
  --pano-viewer-h-tablet: 380px;
  --pano-viewer-h-mobile: 300px;
  --pano-accent: #6d28d9;
  --pano-accent-soft: rgba(109, 40, 217, 0.10);
}

/* ─── [02] #intro — лід + 3 stats ────────────────────────────────────────── */
body.aquatec-site #intro {
  padding: clamp(60px, 8vw, 100px) 24px;
  background: var(--aq-bg);
  text-align: center;
}
body.aquatec-site #intro .inner { max-width: var(--aq-container, 1366px); margin: 0 auto; }
body.aquatec-site #intro h2 {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1; font-weight: 500; letter-spacing: 0.02em;
  color: var(--aq-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  margin: 0 0 24px;
}
body.aquatec-site #intro .pano-lead {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6; font-weight: 400;
  color: var(--aq-text-muted);
  max-width: 760px; margin: 0 auto 48px;
}
body.aquatec-site #intro .pano-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 880px; margin: 0 auto;
}
body.aquatec-site #intro .pano-stat {
  padding: 28px 16px;
  background: var(--pano-card-bg);
  border-radius: var(--pano-card-radius);
  box-shadow: var(--pano-card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
body.aquatec-site #intro .pano-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--pano-card-shadow-hover);
}
body.aquatec-site #intro .pano-stat__num {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; font-weight: 500;
  color: var(--pano-accent);
  letter-spacing: 0.02em; margin: 0 0 8px;
}
body.aquatec-site #intro .pano-stat__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px; line-height: 1.4; font-weight: 500;
  color: var(--aq-text);
  text-transform: uppercase; letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  body.aquatec-site #intro .pano-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── [03] #tour-360 — 2×2 grid viewers ─────────────────────────────────── */
body.aquatec-site #tour-360 {
  padding: clamp(40px, 6vw, 80px) 24px clamp(60px, 8vw, 100px);
  background: var(--aq-bg);
}
body.aquatec-site #tour-360 .inner { max-width: var(--aq-container, 1366px); margin: 0 auto; }
body.aquatec-site #tour-360 .pano-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
body.aquatec-site #tour-360 .pano-card {
  position: relative; background: var(--pano-card-bg);
  border-radius: var(--pano-card-radius);
  box-shadow: var(--pano-card-shadow);
  overflow: hidden; transition: box-shadow 0.3s;
}
body.aquatec-site #tour-360 .pano-card:hover { box-shadow: var(--pano-card-shadow-hover); }
body.aquatec-site #tour-360 .pano-card__head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.aquatec-site #tour-360 .pano-card__num {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: 14px; line-height: 1; font-weight: 500;
  letter-spacing: 0.1em; color: var(--pano-accent);
  padding: 6px 10px; background: var(--pano-accent-soft);
  border-radius: 6px; white-space: nowrap;
}
body.aquatec-site #tour-360 .pano-card__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.3; font-weight: 700;
  color: var(--aq-text); margin: 0; flex: 1;
}
body.aquatec-site #tour-360 .pano-viewer {
  position: relative; width: 100%;
  height: var(--pano-viewer-h-desktop);
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 100%);
  overflow: hidden; cursor: grab;
}
body.aquatec-site #tour-360 .pano-viewer:active { cursor: grabbing; }
body.aquatec-site #tour-360 .pano-viewer canvas {
  display: block; width: 100% !important; height: 100% !important;
}
body.aquatec-site #tour-360 .pano-viewer__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: rgba(255, 255, 255, 0.95); text-align: center;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.92), rgba(109, 40, 217, 0.92));
  transition: opacity 0.5s; z-index: 2;
}
body.aquatec-site #tour-360 .pano-viewer.is-ready .pano-viewer__placeholder {
  opacity: 0; pointer-events: none;
}
body.aquatec-site #tour-360 .pano-viewer__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%; font-size: 28px;
  backdrop-filter: blur(4px);
  animation: pano-pulse 2.4s ease-in-out infinite;
}
@keyframes pano-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50%      { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
body.aquatec-site #tour-360 .pano-viewer__hint {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px; font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
body.aquatec-site #tour-360 .pano-card__foot {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px 24px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px; color: var(--aq-text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
body.aquatec-site #tour-360 .pano-card__foot span {
  display: inline-flex; align-items: center; gap: 6px;
}
body.aquatec-site #tour-360 .pano-card__fullscreen {
  position: absolute; top: 76px; right: 16px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.45); color: #fff;
  border: 0; border-radius: 8px; cursor: pointer;
  font-size: 18px; z-index: 5;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
}
body.aquatec-site #tour-360 .pano-card:hover .pano-card__fullscreen,
body.aquatec-site #tour-360 .pano-card__fullscreen:focus-visible { opacity: 1; }
body.aquatec-site #tour-360 .pano-card__fullscreen:hover {
  background: rgba(0, 0, 0, 0.7); transform: scale(1.08);
}
body.aquatec-site .pnlm-container { background-color: transparent !important; }
body.aquatec-site .pnlm-load-box,
body.aquatec-site .pnlm-about-msg { display: none !important; }
body.aquatec-site .pnlm-controls {
  background-color: rgba(0, 0, 0, 0.45); border-radius: 8px;
}
@media (max-width: 991px) {
  body.aquatec-site #tour-360 .pano-grid { grid-template-columns: 1fr; gap: 20px; }
  body.aquatec-site #tour-360 .pano-viewer { height: var(--pano-viewer-h-tablet); }
}
@media (max-width: 767px) {
  body.aquatec-site #tour-360 .pano-viewer { height: var(--pano-viewer-h-mobile); }
  body.aquatec-site #tour-360 .pano-card__head { padding: 16px 18px 12px; }
  body.aquatec-site #tour-360 .pano-card__foot { padding: 12px 18px; font-size: 12px; gap: 12px; }
  body.aquatec-site #tour-360 .pano-card__fullscreen { opacity: 1; }
}

/* ─── [04] #showroom — full-bleed teal CTA ───────────────────────────────── */
body.aquatec-site #showroom {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 24px;
  margin: clamp(40px, 6vw, 80px) 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1366 600' preserveAspectRatio='none'><polygon points='0,40 1366,0 1366,560 0,600' fill='%2301b1b0'/></svg>") center/100% 100% no-repeat;
  color: #fff; overflow: visible;
}
body.aquatec-site #showroom .inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
body.aquatec-site #showroom h2 {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; font-weight: 500; letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  margin: 0 0 20px;
}
body.aquatec-site #showroom p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6; color: rgba(255, 255, 255, 0.94);
  margin: 0 auto 40px; max-width: 680px;
}
body.aquatec-site #showroom .showroom-ctas {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
body.aquatec-site #showroom .showroom-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 999px; text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
body.aquatec-site #showroom .showroom-cta--primary {
  background: #fff; color: #01b1b0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
body.aquatec-site #showroom .showroom-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
body.aquatec-site #showroom .showroom-cta--ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
body.aquatec-site #showroom .showroom-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.12); border-color: #fff;
}

/* ─── [05] #bridge_cta ───────────────────────────────────────────────────── */
body.aquatec-site #bridge_cta {
  padding: clamp(60px, 8vw, 100px) 24px;
  background: linear-gradient(135deg, var(--aq-orange, #f58025) 0%, #ec5f0c 100%);
  text-align: center; color: #fff;
}
body.aquatec-site #bridge_cta .inner { max-width: 900px; margin: 0 auto; }
body.aquatec-site #bridge_cta h2 {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1; font-weight: 500; color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
  margin: 0 0 24px;
}
body.aquatec-site #bridge_cta .aq-bridge__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  background: #fff; color: var(--aq-orange, #f58025);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px; font-weight: 600;
  border-radius: 999px; text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
body.aquatec-site #bridge_cta .aq-bridge__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ─── [N] DARK THEME ─────────────────────────────────────────────────────── */
html[data-theme="dark"] body.aquatec-site main,
html[data-theme="dark"] body.inner .site-main {
  background-color: var(--aq-bg) !important;
}
html[data-theme="dark"] body.aquatec-site #intro,
html[data-theme="dark"] body.aquatec-site #tour-360 {
  background: var(--aq-bg) !important;
}
html[data-theme="dark"] body.aquatec-site #intro .pano-stat,
html[data-theme="dark"] body.aquatec-site #tour-360 .pano-card {
  background: var(--aq-card-bg) !important;
  color: var(--aq-text) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}
html[data-theme="dark"] body.aquatec-site #tour-360 .pano-card__head,
html[data-theme="dark"] body.aquatec-site #tour-360 .pano-card__foot {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] body.aquatec-site #intro .pano-stat__label {
  color: var(--aq-text) !important;
}

/* ─── [R] prefers-reduced-motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.aquatec-site #intro .pano-stat,
  body.aquatec-site #tour-360 .pano-card,
  body.aquatec-site #tour-360 .pano-viewer__icon,
  body.aquatec-site .showroom-cta,
  body.aquatec-site .aq-bridge__cta {
    transition: none !important; animation: none !important;
  }
  body.aquatec-site #intro .pano-stat:hover,
  body.aquatec-site #tour-360 .pano-card:hover,
  body.aquatec-site .showroom-cta:hover,
  body.aquatec-site .aq-bridge__cta:hover {
    transform: none !important;
  }
}


}

/* ─── [06] #showroom-3d — 3D wow-effect (continuous, no pause on hover) ── */
body.aquatec-site #showroom-3d {
  padding: clamp(50px, 7vw, 90px) 24px clamp(30px, 4vw, 50px);
  background: var(--aq-bg);
  text-align: center;
  perspective: 1400px;
}
body.aquatec-site #showroom-3d .inner {
  max-width: 880px; margin: 0 auto;
}
body.aquatec-site #showroom-3d .showroom-3d__caption {
  font-family: Bebas, 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--aq-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  margin: 0 0 40px;
}

/* The button — 3D перспектива контейнер */
body.aquatec-site #showroom-3d .showroom-3d__btn {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  text-decoration: none !important;
  transform-style: preserve-3d;
  animation:
    showroom-3d-float 7s ease-in-out infinite,
    showroom-3d-glow 4s ease-in-out infinite alternate;
  transition: filter 0.35s ease, animation-duration 0.35s ease;
  will-change: transform, filter, box-shadow;
  outline: none;
  isolation: isolate;
}

/* Continuous 3D rotation — як левитація у просторі */
@keyframes showroom-3d-float {
  0%   { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg)  translateY(0);     }
  25%  { transform: perspective(1400px) rotateY(0deg)  rotateX(0)     translateY(-8px);  }
  50%  { transform: perspective(1400px) rotateY(8deg)  rotateX(-3deg) translateY(-2px);  }
  75%  { transform: perspective(1400px) rotateY(0deg)  rotateX(0)     translateY(-10px); }
  100% { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg)  translateY(0);     }
}

/* Glow pulse — кольорова аура змінюється */
@keyframes showroom-3d-glow {
  0% {
    box-shadow:
      0 24px 50px rgba(109, 40, 217, 0.30),
      0 8px 18px rgba(0, 0, 0, 0.12),
      0 0 0 rgba(168, 85, 247, 0);
  }
  100% {
    box-shadow:
      0 36px 80px rgba(109, 40, 217, 0.55),
      0 14px 26px rgba(0, 0, 0, 0.16),
      0 0 80px rgba(168, 85, 247, 0.35);
  }
}

/* Shimmer sweep — діагональний glare проходить по поверхні */
body.aquatec-site #showroom-3d .showroom-3d__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.10) 42%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.10) 58%,
    transparent 75%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: showroom-3d-shimmer 5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 3;
}
@keyframes showroom-3d-shimmer {
  0%   { background-position: 200% 0; opacity: 0.0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.0; }
}

/* Hover — НЕ pause, а speed-up + brightness boost + saturation */
body.aquatec-site #showroom-3d .showroom-3d__btn:hover,
body.aquatec-site #showroom-3d .showroom-3d__btn:focus-visible {
  animation-duration: 4s, 2.5s;
  filter:
    brightness(1.08)
    saturate(1.18)
    drop-shadow(0 0 40px rgba(168, 85, 247, 0.55));
}
body.aquatec-site #showroom-3d .showroom-3d__btn:hover::before {
  animation-duration: 2.8s;
}

/* Img всередину — границі під radius, без додаткового transform */
body.aquatec-site #showroom-3d .showroom-3d__btn img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 20px;
  pointer-events: none; /* whole btn is clickable */
  position: relative;
  z-index: 1;
}

body.aquatec-site #showroom-3d .showroom-3d__hint {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px; line-height: 1.5;
  color: var(--aq-text-muted);
  margin: 32px auto 0;
  max-width: 480px;
}

/* Hide old #intro stats (більше не потрібно) */
body.aquatec-site #intro .pano-stats { display: none !important; }
body.aquatec-site #intro { padding-bottom: clamp(20px, 3vw, 40px) !important; }

@media (max-width: 767px) {
  body.aquatec-site #showroom-3d .showroom-3d__btn { border-radius: 16px; }
  body.aquatec-site #showroom-3d .showroom-3d__btn img { border-radius: 16px; }
  body.aquatec-site #showroom-3d .showroom-3d__btn::before { border-radius: 16px; }
}

html[data-theme="dark"] body.aquatec-site #showroom-3d {
  background: var(--aq-bg) !important;
}
html[data-theme="dark"] body.aquatec-site #showroom-3d .showroom-3d__caption {
  color: var(--aq-text) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.aquatec-site #showroom-3d .showroom-3d__btn {
    animation: none !important;
    transform: none !important;
  }
  body.aquatec-site #showroom-3d .showroom-3d__btn::before {
    animation: none !important;
    opacity: 0 !important;
  }
}


/* ============================================================================
 * [POLISH-bg] Strip Hero gradient from body below Hero — clean white below
 * 1-в-1 з aquatec-models.css canon (Iter 16b-3, Sess 25)
 * Per-page: gradient = indigo→violet (Hero canon panorama-360)
 * ============================================================================ */

/* (1) Body — gradient тільки на висоту 100vh (Hero strip), нижче білий */
body.aquatec-site.inner:has(#corner),
body.aquatec-site:has(#corner) {
  background-color: var(--aq-bg, #f7f9fc) !important;
  background-image: linear-gradient(180deg, #1e1b4b 0%, #6d28d9 100%) !important;
  background-size: 100% 100vh !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
  background-attachment: scroll !important;
}

/* (2) Main / article body — явний білий, покриває все нижче Hero */
body.aquatec-site main,
body.aquatec-site .site-main,
body.inner main,
body.inner .site-main,
.com-content-article__body,
.com-content-article-edit__body,
[itemprop="articleBody"] {
  background: var(--aq-bg, #f7f9fc) !important;
}

/* (3) Section transparent fallback — щоб не блокували main bg */
body.aquatec-site section#showroom-3d,
body.aquatec-site section#intro,
body.aquatec-site section#tour-360 {
  background: transparent !important;
}

/* Dark theme */
html[data-theme="dark"] body.aquatec-site.inner:has(#corner),
html[data-theme="dark"] body.aquatec-site:has(#corner) {
  background-color: var(--aq-bg, #262e3a) !important;
}

/* ─── [07] Pano viewer placeholder thumbnails — швидкий preview ─────────── */
body.aquatec-site .pano-viewer[data-pano$="/1.jpg"] .pano-viewer__placeholder {
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-1.jpg');
  background-size: cover;
  background-position: center;
}
body.aquatec-site .pano-viewer[data-pano$="/2.jpg"] .pano-viewer__placeholder {
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-2.jpg');
  background-size: cover;
  background-position: center;
}
body.aquatec-site .pano-viewer[data-pano$="/3.jpg"] .pano-viewer__placeholder {
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-3.jpg');
  background-size: cover;
  background-position: center;
}
body.aquatec-site .pano-viewer[data-pano$="/4.jpg"] .pano-viewer__placeholder {
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-4.jpg');
  background-size: cover;
  background-position: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIX-2 OVERRIDES (Sess PANORAMA, 20.05.2026)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── FIX-1: Centering showroom-3d ────────────────────────────────────────── */
/* Joomla .item-page може мати text-align left і padding — forced center via flex */
body.aquatec-site #showroom-3d {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}
body.aquatec-site #showroom-3d .inner {
  max-width: 880px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
body.aquatec-site #showroom-3d .showroom-3d__caption,
body.aquatec-site #showroom-3d .showroom-3d__hint {
  width: 100%;
  text-align: center !important;
}
body.aquatec-site #showroom-3d .showroom-3d__btn {
  align-self: center !important;
}

/* ─── FIX-2: Thumbs specificity — додаю #tour-360 у selector ───────────── */
body.aquatec-site #tour-360 .pano-viewer[data-pano$="/1.jpg"] .pano-viewer__placeholder {
  background-color: transparent !important;
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-1.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body.aquatec-site #tour-360 .pano-viewer[data-pano$="/2.jpg"] .pano-viewer__placeholder {
  background-color: transparent !important;
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-2.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body.aquatec-site #tour-360 .pano-viewer[data-pano$="/3.jpg"] .pano-viewer__placeholder {
  background-color: transparent !important;
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-3.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body.aquatec-site #tour-360 .pano-viewer[data-pano$="/4.jpg"] .pano-viewer__placeholder {
  background-color: transparent !important;
  background-image:
    linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(109, 40, 217, 0.55)),
    url('/images/ak/panorama/thumb-4.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ─── FIX-3: #intro як indigo→violet кольорова стрічка ──────────────────── */
body.aquatec-site #intro {
  padding: clamp(50px, 7vw, 80px) 24px !important;
  margin: clamp(30px, 4vw, 50px) 0 !important;
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 100%) !important;
  text-align: center !important;
  box-shadow:
    0 16px 36px rgba(30, 27, 75, 0.30),
    0 4px 10px rgba(0, 0, 0, 0.08) !important;
  position: relative;
  /* Прибираємо нижній padding-override з POLISH-bg блоку */
  border-radius: 0;
}
body.aquatec-site #intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent);
  pointer-events: none;
}
body.aquatec-site #intro .inner {
  max-width: 880px;
  margin: 0 auto;
}
body.aquatec-site #intro h2 {
  color: #ffffff !important;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.30) !important;
  margin: 0 0 20px !important;
}
body.aquatec-site #intro .pano-lead {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 400 !important;
  margin: 0 auto !important;
  max-width: 720px;
}

/* Прибираємо POLISH-bg "transparent" для #intro — він має свій gradient bg */
body.aquatec-site section#intro {
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 100%) !important;
}

/* Dark theme — стрічка інтенційно кольорова, темний режим НЕ змінює */
html[data-theme="dark"] body.aquatec-site section#intro {
  background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 100%) !important;
}
html[data-theme="dark"] body.aquatec-site #intro h2 {
  color: #ffffff !important;
}
html[data-theme="dark"] body.aquatec-site #intro .pano-lead {
  color: rgba(255, 255, 255, 0.94) !important;
}

/* ─── POLISH: #bridge_cta — multi-stop animated gradient + bottom shadow ── */
body.aquatec-site #bridge_cta {
  position: relative;
  background: linear-gradient(120deg,
    #fbbf24 0%,
    #f58025 32%,
    #ea580c 65%,
    #f58025 100%
  ) !important;
  background-size: 220% 100% !important;
  animation: bridge-gradient-shift 12s ease-in-out infinite;
  box-shadow:
    0 18px 40px rgba(234, 88, 12, 0.38),
    0 6px 14px rgba(0, 0, 0, 0.10);
  overflow: visible;
}

/* Continuous gradient drift — subtle (не вибиває з ока) */
@keyframes bridge-gradient-shift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Bottom edge soft glow → fade to transparent */
body.aquatec-site #bridge_cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom,
    rgba(234, 88, 12, 0.32),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

/* Dark theme — gradient інтенційно кольоровий */
html[data-theme="dark"] body.aquatec-site #bridge_cta {
  background: linear-gradient(120deg,
    #fbbf24 0%,
    #f58025 32%,
    #ea580c 65%,
    #f58025 100%
  ) !important;
  background-size: 220% 100% !important;
}

@media (prefers-reduced-motion: reduce) {
  body.aquatec-site #bridge_cta {
    animation: none !important;
    background-position: 30% 50% !important;
  }
}

/* FIX: Hero image — натуральний розмір 350×433, без scale до full-width */
body.aquatec-site #corner .hero__image,
body.aquatec-site #corner .hero__image img,
body.aquatec-site #corner img {
  max-width: 350px !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* FIX: Hero image — натуральний розмір 350×433, без scale до full-width */
body.aquatec-site #corner .hero__image,
body.aquatec-site #corner .hero__image img,
body.aquatec-site #corner img {
  max-width: 300px !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
