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

/* ============================================================================
 * AQUATEC J6 — Inner page "sizes"
 * Auto-generated by aquatec-hero-generator.sh
 * Hero Canon: v1.2 (Session 24)
 * Gradient: #1f3a5c (dark, left) -> #4a7ba6 (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='%231f3a5c'/><stop offset='1' stop-color='%234a7ba6'/></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, #1f3a5c 0%, #4a7ba6 100%) !important;
  background-color: #1f3a5c !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;
}


/* ============================================================
 * [10] PAGE SECTIONS START — /sizes (Sess 29, 18.05.2026)
 * ============================================================ */

/* [11] .sizes-section base layout */
.aquatec-site .sizes-section {
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px);
  text-align: center;
  position: relative;
}
.aquatec-site .sizes-section__lead {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  color: var(--aq-text-muted, #6b7c8c);
  max-width: 72ch;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  line-height: 1.6;
}

/* ============================================================ */
/* [12] H2-CANON — awk-extracted 1:1 з aquatec-aka.css [06]      */
/* (whitelist замінено на /sizes IDs)                            */
/* ============================================================ */

/* [06] H2-CANON — секційні заголовки Phase B+ inner-сторінок   */
/* (whitelisted IDs додаються по мірі ітерацій 4-14)            */
/* ============================================================ */

.aquatec-site.inner :where(#sizes-home, #sizes-big, #mount-steps, #mount-anim, #extension, #callback_form) > h2 {
  display: block;
  width: 100%;
  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;
  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);
  background: transparent !important;
}

@media (max-width: 602px) {
  .aquatec-site.inner :where(#sizes-home, #sizes-big, #mount-steps, #mount-anim, #extension, #callback_form) > 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(#sizes-home, #sizes-big, #mount-steps, #mount-anim, #extension, #callback_form) > h2 {
    font-size: 36px !important;
    line-height: 48px !important;
  }
}

.aquatec-site.inner :where(#sizes-home, #sizes-big, #mount-steps, #mount-anim, #extension, #callback_form) > 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;
}

/* Dark theme variant */
[data-theme="dark"] {
  --aq-h2-color: #fff;
  --aq-bg: #0f1a26;
}

/* ================================================================ */


/* [13] sizes-table — responsive grid */
.aquatec-site .sizes-table {
  display: grid;
  background: var(--aq-card-bg, #fff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 38px -14px rgba(0,0,0,0.18);
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
}
.aquatec-site .sizes-table--small {
  grid-template-columns: 1.3fr 0.85fr 1fr 1fr 0.85fr 0.85fr 1.5fr 1.1fr;
}
.aquatec-site .sizes-table--big {
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 0.9fr 0.9fr;
}
.aquatec-site .sizes-table__row { display: contents; }
.aquatec-site .sizes-table__cell {
  padding: 16px 12px;
  font-size: 14.5px;
  color: var(--aq-text, #1b2935);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aquatec-site .sizes-table__row--head .sizes-table__cell {
  background: var(--aq-blue-hero, #276cba);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  border-bottom: none;
  padding: 18px 10px;
  min-height: 64px;
}
.aquatec-site .sizes-table__row:not(.sizes-table__row--head):hover .sizes-table__cell {
  background: rgba(245, 128, 37, 0.05);
}
.aquatec-site .sizes-table__row:not(.sizes-table__row--head) .sizes-table__cell:first-child {
  font-weight: 700;
  color: var(--aq-blue-hero, #276cba);
  font-size: 15px;
}

/* Mobile stack */
@media (max-width: 900px) {
  .aquatec-site .sizes-table {
    grid-template-columns: 1fr !important;
    border-radius: 12px;
  }
  .aquatec-site .sizes-table__row {
    display: block;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
  }
  .aquatec-site .sizes-table__row--head { display: none; }
  .aquatec-site .sizes-table__cell {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    padding: 8px 0;
    border-bottom: none;
    text-align: left;
    justify-content: start;
    gap: 12px;
  }
  .aquatec-site .sizes-table__cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--aq-text-muted, #6b7c8c);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .aquatec-site .sizes-table__row:not(.sizes-table__row--head) .sizes-table__cell:first-child {
    font-size: 22px;
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: block;
    text-align: center;
  }
  .aquatec-site .sizes-table__row:not(.sizes-table__row--head) .sizes-table__cell:first-child::before {
    display: none;
  }
}

/* [14] sizes-scheme + legend */
.aquatec-site .sizes-scheme {
  margin: clamp(40px, 5vw, 60px) auto 0;
  max-width: 880px;
  text-align: center;
}
.aquatec-site .sizes-scheme img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,0.18));
  display: block;
}
.aquatec-site .sizes-scheme--big img { max-width: 760px; }
.aquatec-site .sizes-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin: 26px auto 0;
  padding: 0;
}
.aquatec-site .sizes-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--aq-text, #1b2935);
}
.aquatec-site .sizes-legend__item img {
  width: 26px;
  height: auto;
  filter: none;
  margin: 0;
}
.aquatec-site .sizes-legend__item span { white-space: nowrap; }

/* [15] mount-grid — 14 numbered cards */
.aquatec-site .mount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: clamp(20px, 3vw, 40px) auto 0;
  max-width: 1200px;
}
.aquatec-site .mount-card {
  position: relative;
  background: var(--aq-card-bg, #fff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.34,1.35,.64,1), box-shadow .35s ease;
}
@media (hover: hover) {
  .aquatec-site .mount-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 44px -12px rgba(0,0,0,0.28);
  }
  .aquatec-site .mount-card:hover .mount-card__img img { transform: scale(1.06); }
}
.aquatec-site .mount-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: var(--aq-orange, #f58025);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
  box-shadow: 0 8px 16px -4px rgba(245,128,37,0.5);
}
.aquatec-site .mount-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--aq-bg, #f7f9fc);
}
.aquatec-site .mount-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.aquatec-site .mount-card__desc {
  padding: 16px 18px 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--aq-text, #1b2935);
  text-align: left;
  font-weight: 300;
}
@media (max-width: 480px) {
  .aquatec-site .mount-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* [16] mount-anim — video player */
.aquatec-site .mount-anim__player {
  max-width: 920px;
  margin: clamp(20px, 3vw, 40px) auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.32);
  background: #000;
}
.aquatec-site .mount-anim__video {
  width: 100%;
  height: auto;
  display: block;
}

/* [17] extension — 2-col videos */
.aquatec-site .extension-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: clamp(20px, 3vw, 40px) auto 0;
  max-width: 1200px;
}
.aquatec-site .extension-video {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 38px -14px rgba(0,0,0,0.28);
  background: #000;
}
.aquatec-site .extension-video video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .aquatec-site .extension-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* [18] callback_form — HR-CTA banner */
.aquatec-site .sizes-section--cta {
  background: linear-gradient(180deg, var(--aq-bg, #f7f9fc) 0%, rgba(31, 58, 92, 0.04) 100%);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.aquatec-site .hr-cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: clamp(30px, 4vw, 50px) auto 0;
}
.aquatec-site .hr-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.aquatec-site .hr-cta__btn--orange {
  background: var(--aq-orange, #f58025);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(245,128,37,0.55), 0 4px 10px -2px rgba(0,0,0,0.18);
}
.aquatec-site .hr-cta__btn--orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -8px rgba(245,128,37,0.65), 0 6px 14px -2px rgba(0,0,0,0.22);
}
.aquatec-site .hr-cta__btn--white {
  background: var(--aq-card-bg, #fff);
  color: var(--aq-text, #1b2935);
  border: 2px solid rgba(31, 58, 92, 0.18);
}
.aquatec-site .hr-cta__btn--white:hover {
  transform: translateY(-3px);
  border-color: var(--aq-blue-hero, #276cba);
  color: var(--aq-blue-hero, #276cba);
  box-shadow: 0 12px 28px -8px rgba(39,108,186,0.25);
}
@media (max-width: 480px) {
  .aquatec-site .hr-cta__btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 14px; }
}

/* ============================================================
 * [N] DARK THEME — auto-flip + targeted
 * ============================================================ */
html[data-theme="dark"] body.aquatec-site .sizes-table {
  background: var(--aq-card-bg) !important;
  box-shadow: 0 18px 38px -14px rgba(0,0,0,0.45) !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-table__cell {
  color: var(--aq-text) !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-table__row--head .sizes-table__cell {
  background: rgba(39, 108, 186, 0.42) !important;
  color: #fff !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-table__row:not(.sizes-table__row--head) .sizes-table__cell:first-child {
  color: #4aa0e6 !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-legend__item {
  color: var(--aq-text) !important;
}
html[data-theme="dark"] body.aquatec-site .mount-card {
  background: var(--aq-card-bg) !important;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.45) !important;
}
html[data-theme="dark"] body.aquatec-site .mount-card__desc { color: var(--aq-text) !important; }
html[data-theme="dark"] body.aquatec-site .mount-card__img { background: var(--aq-bg) !important; }
html[data-theme="dark"] body.aquatec-site .extension-video,
html[data-theme="dark"] body.aquatec-site .mount-anim__player {
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.55) !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-section--cta {
  background: linear-gradient(180deg, var(--aq-bg) 0%, rgba(31, 58, 92, 0.18) 100%) !important;
}
html[data-theme="dark"] body.aquatec-site .hr-cta__btn--white {
  background: var(--aq-card-bg) !important;
  color: var(--aq-text) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
html[data-theme="dark"] body.aquatec-site .hr-cta__btn--white:hover {
  border-color: #4aa0e6 !important;
  color: #4aa0e6 !important;
}

/* ============================================================
 * [R] prefers-reduced-motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .aquatec-site .mount-card,
  .aquatec-site .mount-card__img img,
  .aquatec-site .hr-cta__btn,
  .aquatec-site .sizes-table__cell { transition: none !important; }
  .aquatec-site .mount-card:hover,
  .aquatec-site .hr-cta__btn:hover { transform: none !important; }
  .aquatec-site .mount-card:hover .mount-card__img img { transform: none !important; }
}

/* END /sizes page sections */

/* ============================================================
 * [P10] GLOBAL DARK THEME — main + body backgrounds
 * (Canon з Handoff #28 §1.4 specificity fix)
 * ============================================================ */
html[data-theme="dark"] body.aquatec-site main,
html[data-theme="dark"] body.aquatec-site.inner .site-main,
html[data-theme="dark"] body.aquatec-site.inner main.container {
  background-color: var(--aq-bg, #262e3a) !important;
  color: var(--aq-text, #e8edf3) !important;
}
html[data-theme="dark"] body.aquatec-site.inner {
  background-color: var(--aq-bg, #262e3a) !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-section {
  background-color: var(--aq-bg, #262e3a) !important;
}
html[data-theme="dark"] body.aquatec-site.inner :where(
  #sizes-home, #sizes-big, #mount-steps, #mount-anim, #extension
) > h2 {
  color: var(--aq-text, #e8edf3) !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-section__lead {
  color: var(--aq-text-muted, #a3b2c2) !important;
}

/* ============================================================
 * [P11] Reduce vertical padding (no big white gaps між секціями)
 * ============================================================ */
.aquatec-site .sizes-section {
  padding: clamp(36px, 4vw, 64px) clamp(20px, 4vw, 40px) !important;
}

/* End [P10-P11] */

/* ============================================================
 * [P20] BANNER sections — full-bleed gradient + large arrows
 * (Phase 2: на проді секція з моделью на синьому/сірому фоні)
 * ============================================================ */

.aquatec-site .sizes-banner {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  background: linear-gradient(135deg, #1f3a5c 0%, #4a7ba6 100%);
  color: #fff;
  padding: clamp(50px, 6vw, 90px) clamp(20px, 4vw, 40px);
  margin-top: clamp(40px, 5vw, 70px);
  box-shadow: inset 0 -24px 36px -24px rgba(0,0,0,0.4),
              0 18px 38px -14px rgba(0,0,0,0.28);
  overflow: hidden;
}

.aquatec-site .sizes-banner__inner {
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
}

/* Standard variant: model лівoруч + legend column праворуч */
.aquatec-site .sizes-banner__figure {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.aquatec-site .sizes-banner__model {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.4));
}

.aquatec-site .sizes-banner__legend {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}

.aquatec-site .sizes-banner .sizes-legend__item {
  display: grid !important;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  color: #fff !important;
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 500;
}

.aquatec-site .sizes-banner .sizes-legend__item img {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  margin: 0;
}

.aquatec-site .sizes-banner .sizes-legend__item span {
  white-space: nowrap;
}

/* Big variant: single col, model centered + 1.5x larger, legend row під */
.aquatec-site .sizes-banner--big .sizes-banner__figure {
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 60px);
}

.aquatec-site .sizes-banner--big .sizes-banner__model {
  max-width: 1140px;
}

.aquatec-site .sizes-banner--big .sizes-banner__legend {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.aquatec-site .sizes-banner--big .sizes-legend__item {
  grid-template-columns: 80px 1fr;
  font-size: 22px;
  gap: 16px;
}

.aquatec-site .sizes-banner--big .sizes-legend__item img {
  width: 80px;
}

/* Mobile (≤900px): stack figure */
@media (max-width: 900px) {
  .aquatec-site .sizes-banner__figure {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .aquatec-site .sizes-banner__legend {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
  .aquatec-site .sizes-banner .sizes-legend__item {
    grid-template-columns: 44px 1fr;
    font-size: 15px;
    gap: 10px;
  }
  .aquatec-site .sizes-banner .sizes-legend__item img {
    width: 44px;
  }
  .aquatec-site .sizes-banner--big .sizes-legend__item {
    grid-template-columns: 56px 1fr;
    font-size: 16px;
  }
  .aquatec-site .sizes-banner--big .sizes-legend__item img {
    width: 56px;
  }
}

/* Dark theme: banner залишається brand gradient (не flip) */
html[data-theme="dark"] body.aquatec-site .sizes-banner {
  background: linear-gradient(135deg, #1f3a5c 0%, #4a7ba6 100%) !important;
  color: #fff !important;
}
html[data-theme="dark"] body.aquatec-site .sizes-banner .sizes-legend__item {
  color: #fff !important;
}

/* Hide legacy .sizes-scheme (deprecated by .sizes-banner) */
.aquatec-site .sizes-scheme { display: none !important; }

/* End [P20] BANNER */

/* ============================================================
 * [P21] BANNER refinements (Vasyl feedback patch)
 * - sizes-home: model 1.5x bigger (700px), legend tight icon+text, center
 * - sizes-big: compact (40-60px padding), model 900px, tight gap між model і legend
 * ============================================================ */

/* sizes-home: figure tight-center */
.aquatec-site .sizes-banner__figure {
  grid-template-columns: auto auto !important;
  gap: clamp(30px, 3vw, 50px) !important;
  justify-content: center !important;
}

.aquatec-site .sizes-banner__model {
  max-width: 700px !important;
}

/* Legend item: flex з close gap, left-align text */
.aquatec-site .sizes-banner .sizes-legend__item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  grid-template-columns: unset !important;
  justify-content: flex-start !important;
}

.aquatec-site .sizes-banner .sizes-legend__item img {
  flex-shrink: 0;
}

.aquatec-site .sizes-banner .sizes-legend__item span {
  text-align: left !important;
}

/* sizes-big: компактна полоса, model менший, legend під моделью впритул */
.aquatec-site .sizes-banner--big {
  padding: clamp(36px, 4vw, 60px) clamp(20px, 4vw, 40px) !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__figure {
  gap: clamp(16px, 2vw, 28px) !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__model {
  max-width: 900px !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__legend {
  gap: 30px !important;
}

.aquatec-site .sizes-banner--big .sizes-legend__item {
  gap: 12px !important;
}

/* Mobile (≤900px): stack figure */
@media (max-width: 900px) {
  .aquatec-site .sizes-banner__figure {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .aquatec-site .sizes-banner__model {
    max-width: 100% !important;
  }
  .aquatec-site .sizes-banner__legend {
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* End [P21] */

/* ============================================================
 * [P21] BANNER refinements (Vasyl feedback patch)
 * - sizes-home: model 1.5x bigger (700px), legend tight icon+text, center
 * - sizes-big: compact (40-60px padding), model 900px, tight gap між model і legend
 * ============================================================ */

/* sizes-home: figure tight-center */
.aquatec-site .sizes-banner__figure {
  grid-template-columns: auto auto !important;
  gap: clamp(30px, 3vw, 50px) !important;
  justify-content: center !important;
}

.aquatec-site .sizes-banner__model {
  max-width: 700px !important;
}

/* Legend item: flex з close gap, left-align text */
.aquatec-site .sizes-banner .sizes-legend__item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  grid-template-columns: unset !important;
  justify-content: flex-start !important;
}

.aquatec-site .sizes-banner .sizes-legend__item img {
  flex-shrink: 0;
}

.aquatec-site .sizes-banner .sizes-legend__item span {
  text-align: left !important;
}

/* sizes-big: компактна полоса, model менший, legend під моделью впритул */
.aquatec-site .sizes-banner--big {
  padding: clamp(36px, 4vw, 60px) clamp(20px, 4vw, 40px) !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__figure {
  gap: clamp(16px, 2vw, 28px) !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__model {
  max-width: 900px !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__legend {
  gap: 30px !important;
}

.aquatec-site .sizes-banner--big .sizes-legend__item {
  gap: 12px !important;
}

/* Mobile (≤900px): stack figure */
@media (max-width: 900px) {
  .aquatec-site .sizes-banner__figure {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .aquatec-site .sizes-banner__model {
    max-width: 100% !important;
  }
  .aquatec-site .sizes-banner__legend {
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* End [P21] */

/* ============================================================
 * [P22] sizes-big banner — relayout як sizes-home
 * Model лівoруч (~2x bigger), legend column праворуч
 * ============================================================ */
.aquatec-site .sizes-banner--big .sizes-banner__figure {
  grid-template-columns: auto auto !important;
  gap: clamp(30px, 3vw, 50px) !important;
  justify-content: center !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__model {
  max-width: 1200px !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__legend {
  flex-direction: column !important;
  gap: 28px !important;
}

.aquatec-site .sizes-banner--big .sizes-legend__item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  justify-content: flex-start !important;
  font-size: 22px;
}

.aquatec-site .sizes-banner--big .sizes-legend__item img {
  width: 80px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .aquatec-site .sizes-banner--big .sizes-banner__figure {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .aquatec-site .sizes-banner--big .sizes-banner__legend {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 18px !important;
  }
  .aquatec-site .sizes-banner--big .sizes-legend__item {
    font-size: 15px !important;
  }
  .aquatec-site .sizes-banner--big .sizes-legend__item img {
    width: 50px !important;
  }
}

/* ============================================================
 * [P23] MOUNT-STEPS MODAL — click card → fullscreen viewer
 * ============================================================ */

.aquatec-site .mount-card {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(245,128,37,0.2);
}

dialog.mount-modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  outline: none;
  margin: auto;
}

dialog.mount-modal::backdrop {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mount-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  box-sizing: border-box;
}

.mount-modal__content {
  position: relative;
  background: var(--aq-card-bg, #fff);
  border-radius: 18px;
  overflow: hidden;
  max-width: min(80vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 60px -16px rgba(0,0,0,0.6);
}

.mount-modal__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  width: 60px;
  height: 60px;
  background: var(--aq-orange, #f58025);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-weight: 500;
  font-size: 32px;
  box-shadow: 0 8px 18px -4px rgba(245,128,37,0.6);
}

.mount-modal__img {
  width: 100%;
  max-height: 72vh;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--aq-bg, #f7f9fc);
}

.mount-modal__caption {
  padding: 22px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--aq-text, #1b2935);
  text-align: center;
  font-weight: 400;
  background: var(--aq-card-bg, #fff);
}

.mount-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.65);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background .2s ease, transform .25s ease;
  box-shadow: 0 8px 18px -4px rgba(0,0,0,0.4);
}

.mount-modal__close:hover {
  background: var(--aq-orange, #f58025);
  transform: rotate(90deg);
}

.mount-modal__nav {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--aq-orange, #f58025);
  color: #fff;
  border: none;
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -6px rgba(245,128,37,0.6);
  transition: background .25s ease, color .25s ease, transform .25s ease;
  flex-shrink: 0;
  padding: 0;
}

.mount-modal__nav:hover {
  background: #fff;
  color: var(--aq-orange, #f58025);
  transform: scale(1.1);
}

.mount-modal__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .mount-modal[open] {
    flex-direction: column;
    gap: 16px;
    padding: 12px;
  }
  .mount-modal__content {
    max-width: 95vw;
    max-height: 78vh;
  }
  .mount-modal__nav {
    width: 52px;
    height: 52px;
    font-size: 36px;
  }
}

html[data-theme="dark"] body.aquatec-site dialog.mount-modal::backdrop {
  background: rgba(0,0,0,0.92);
}

@media (prefers-reduced-motion: reduce) {
  .mount-modal__close,
  .mount-modal__nav { transition: none !important; }
  .mount-modal__close:hover,
  .mount-modal__nav:hover { transform: none !important; }
}

/* End [P22-P23] */

/* ============================================================
 * [P24] Modal: image fit-to-content (без white letterbox для wide imgs)
 *       sizes-big: slim banner (50% less vertical padding)
 * ============================================================ */

/* Modal content shrinks to image natural width */
.aquatec-site .mount-modal__content {
  width: fit-content !important;
  max-width: min(82vw, 1200px) !important;
}

.aquatec-site .mount-modal__img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 72vh !important;
  background: transparent !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Sizes-big banner: slim (50% менше vertical padding) */
.aquatec-site .sizes-banner--big {
  padding: clamp(18px, 2vw, 30px) clamp(20px, 4vw, 40px) !important;
}

.aquatec-site .sizes-banner--big .sizes-banner__figure {
  gap: clamp(24px, 2.5vw, 40px) !important;
}

/* Mobile fallback для modal */
@media (max-width: 768px) {
  .aquatec-site .mount-modal__content {
    width: 95vw !important;
    max-width: 95vw !important;
  }
  .aquatec-site .mount-modal__img {
    max-height: 60vh !important;
  }
}

/* End [P24] */

/* ============================================================
 * [P25] sizes-banner--grey — для mount-anim секції
 * (canon banner з сірим градієнтом замість синього)
 * ============================================================ */

.aquatec-site .sizes-banner--grey {
  background: linear-gradient(135deg, #5a6878 0%, #3d4a55 100%);
}

html[data-theme="dark"] body.aquatec-site .sizes-banner--grey {
  background: linear-gradient(135deg, #5a6878 0%, #3d4a55 100%) !important;
}

/* Center video всередині grey banner */
.aquatec-site .sizes-banner--grey .sizes-banner__inner {
  display: flex;
  justify-content: center;
}

.aquatec-site .sizes-banner--grey .mount-anim__player {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5);
  background: #000;
}

/* End [P25] */

/* ============================================================
 * [P26] Reduce vertical gaps + hide blue band перед footer
 * ============================================================ */

/* -30% padding-top для #sizes-big (Vasyl request) */
.aquatec-site #sizes-big {
  padding-top: clamp(25px, 2.8vw, 45px) !important;
}

/* -30% padding-top для #mount-steps */
.aquatec-site #mount-steps {
  padding-top: clamp(25px, 2.8vw, 45px) !important;
}

/* -40% gap між mount-steps і mount-anim */
.aquatec-site #mount-anim {
  padding-top: clamp(22px, 2.4vw, 38px) !important;
}

/* -40% padding-bottom для mount-steps (інший бік того ж розриву) */
.aquatec-site #mount-steps {
  padding-bottom: clamp(22px, 2.4vw, 38px) !important;
}

/* Hide possible blue band перед footer
 * (clients-marquee / aquatec_because — leftovers from AKA scoped CSS) */
body.aquatec-site.inner .aq-clients-band,
body.aquatec-site.inner #aquatec_because,
body.aquatec-site.inner #with_aquatec_you_get,
body.aquatec-site.inner #aquatec_world,
body.aquatec-site.inner .aq-footer-pre,
body.aquatec-site.inner .aq-newsletter,
body.aquatec-site.inner .moduletable.aq-band,
body.aquatec-site.inner #mod-aq-clients-marquee {
  display: none !important;
}

/* End [P26] */

/* ============================================================
 * [P27] body bg — gradient ТІЛЬКИ на 100vh (1:1 canon з aquatec-big-los.css [245-251])
 * Fix: блакитна смуга перед footer (body gradient розтягнутий на повну висоту)
 * ============================================================ */
body.aquatec-site.inner:has(#corner) {
  background-color: var(--aq-bg, #f7f9fc) !important;
  background-image: linear-gradient(to right, #1f3a5c 0%, #4a7ba6 100%) !important;
  background-size: 100% 100vh !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
}

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

/* End [P27] */
