/* Edition 04. A lighter hierarchy, glass navigation and a unified equipment set. */

.header {
  background: linear-gradient(180deg, #061e2b9e, #061e2b1c);
}
.header.is-scrolled {
  background: #0a2432c2;
  border-bottom-color: #dceaf32e;
  box-shadow: 0 6px 30px #061a2517;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.header.menu-open { background: #0a2432e6; }
.header .nav a::after,
.header .nav a.is-active::after {
  width: 28px;
  transform: none;
  background: #f12a42;
}
.header .nav a:hover::after,
.header .nav a:focus-visible::after { width: 45px; background: #ff6273; }
.header-contacts { gap: 3px; }
.header .header-phone { font-size: 14px; line-height: 1.4; }
.header-mobile-row { display: flex; align-items: center; gap: 10px; }
.header-mobile { font-size: 13px; color: #e6eff4; line-height: 1.4; }
.header-mobile:hover { text-decoration: underline; text-underline-offset: 4px; }
.max-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #b8d3e260;
  border-radius: 5px;
  background: #cbe5f212;
  color: #fff;
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: .035em;
  transition: background .2s, border-color .2s;
}
.max-badge:hover { background: #cbe5f22e; border-color: #d8eaf4a3; }
.header-email { font-size: 11px; line-height: 1.5; }
.nav-contact svg { width: 17px; height: 17px; vertical-align: middle; margin-right: 5px; }

/* Regular-weight figures echo the first screen; labels are comfortably readable. */
.fact { padding-right: 14px; min-width: 0; }
.fact p {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 3.5vw, 51px);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.05em;
  line-height: 1.15;
  margin: 14px 0 11px;
}
.fact .unit { font-size: 21px; letter-spacing: -.025em; }
.fact-prefix { font-size: 16px; }
.fact-label { display: block; font-size: 14px; line-height: 1.5; color: #536c7a; }
.fact-index { font-size: 11px; letter-spacing: .07em; }

/* Transparent renders and existing cutaways share one surface and one motion. */
.unified-products .product-visual { isolation: auto; }
.unified-products .product-watermark { z-index: 0; pointer-events: none; }
.unified-products .product-visual img { z-index: 1; }
.unified-products .product-visual img.catalogue-render {
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 9px #16394a12);
}
.unified-products .product-feature:focus-visible .product-visual img {
  transform: translateY(-7px) scale(1.04);
}

/* Two quiet product studies connect the text sections with the catalogue. */
.faq-intro { min-width: 0; }
.equipment-figure { margin: 0; position: relative; }
.equipment-figure img {
  display: block;
  object-fit: contain;
  transition: transform .65s var(--ease);
}
.faq-equipment { width: min(100%, 380px); margin-top: 22px; }
.faq-equipment img { width: 100%; height: 275px; mix-blend-mode: multiply; }
.faq-equipment:hover img { transform: translateY(-6px); }
.faq-equipment figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #ccdae2;
  color: #486473;
  font-size: 11px;
  line-height: 1.5;
}
.faq-equipment figcaption span { color: #6a828f; font-size: 10px; }
.contact-content { gap: 64px; }
.contact-intro { min-width: 0; }
.contact-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, .8fr);
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.contact-request-copy { position: relative; z-index: 1; min-width: 0; }
.contact-request-copy > p { color: #c3d6e1; font-size: 14px; line-height: 1.85; margin: 0 0 26px; }
.contact-request-copy .button { font-size: 16px; gap: 24px; padding-inline: 21px; max-width: 100%; }
.contact-request-copy .attachment-hint { line-height: 1.65; align-items: start; max-width: 270px; }
.contact-request-copy .attachment-hint svg { flex-shrink: 0; margin-top: 1px; }
.contact-equipment { height: 286px; width: 100%; overflow: hidden; }
.contact-equipment::before {
  content: "";
  position: absolute;
  inset: 8% -12%;
  background: radial-gradient(ellipse, #86b3c61c, transparent 65%);
}
.contact-equipment img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 480px;
  max-width: none;
  height: 288px;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 12px #00000026);
}
.contact-equipment:hover img { transform: translate(-50%, -6px); }
.contact-details { padding-left: 38px; }
.contact-max {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-top: 19px;
  padding: 9px 14px;
  border: 1px solid #9fbdce59;
  background: #a9c9dc0c;
  color: #e0edf5;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.contact-max svg { width: 18px; height: 18px; }
.contact-max svg:last-child { width: 15px; height: 15px; margin-left: 8px; }
.contact-details .contact-max:hover { color: #fff; border-color: #d4e7f499; background: #a9c9dc1a; }

/* Honest contact fallback until the owner supplies their exact MAX profile URL. */
.max-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: auto;
  padding: 38px 30px 30px;
  border: 1px solid #cadce5;
  background: #f7f9fa;
  color: #102a36;
  box-shadow: 0 24px 90px #051d2b4d;
}
.max-dialog::backdrop { background: #061c2ab8; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.max-dialog form { margin: 0; }
.dialog-close { position: absolute; right: 9px; top: 7px; width: 44px; height: 44px; font: 28px/1 Arial, sans-serif; color: #36596d; background: transparent; border: 0; }
.dialog-close:hover { color: #b3273e; }
.messenger-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 23px; background: #e4edf2; color: #365f77; }
.messenger-icon svg { width: 26px; height: 26px; }
.max-dialog .eyebrow { margin-bottom: 12px; font-size: 10px; }
.max-dialog h2 { margin: 0 0 16px; font: 700 35px/1.1 var(--poster-font); text-transform: uppercase; }
.max-dialog #max-description { color: #536d7c; font-size: 14px; line-height: 1.7; margin-bottom: 26px; }
.max-dialog label { display: block; font-size: 11px; color: #617b8a; margin-bottom: 9px; }
.copy-phone-row { display: flex; border: 1px solid #bacdd7; background: #fff; }
.copy-phone-row input { width: 0; flex: 1; min-width: 0; padding: 12px; border: 0; border-radius: 0; background: transparent; color: #193b4d; font: 15px/1.4 Arial, sans-serif; }
.copy-phone-row button { border: 0; border-left: 1px solid #bacdd7; padding: 12px; background: #eaf1f5; color: #254c63; font-size: 11px; }
.copy-phone-row button:hover { background: #dbe8f0; }
.copy-status { min-height: 34px; font-size: 11px; line-height: 1.5; margin: 9px 0 14px; color: #365d70; }
.max-dialog > .button { width: 100%; justify-content: space-between; font-size: 16px; }
html.max-open { overflow: hidden; }

@media (max-width: 1250px) {
  .fact p { font-size: 43px; }
  .fact .unit { font-size: 18px; }
  .fact-label { font-size: 13px; }
  .contact-content { gap: 38px; }
  .contact-details { padding-left: 26px; }
  .contact-inquiry { grid-template-columns: minmax(0, 1fr) 165px; gap: 0; }
  .contact-request-copy > p { font-size: 13px; }
  .contact-request-copy .button { font-size: 14px; gap: 14px; padding-inline: 16px; }
  .contact-equipment img { width: 430px; height: 258px; }
}
@media (max-width: 1050px) {
  .fact p { font-size: 38px; }
  .fact .unit { font-size: 16px; }
  .fact-index { font-size: 10px; }
  .fact-label { font-size: 12px; }
  .contact-inquiry { grid-template-columns: 1fr; }
  .contact-equipment { width: 190px; height: 210px; justify-self: end; margin-top: -10px; }
  .contact-equipment img { width: 350px; height: 210px; }
  .contact-request-copy > p { max-width: 365px; }
}
@media (max-width: 900px) {
  .header .nav { background: #0a2432ed; }
  .nav .nav-contact.max-link { color: #e8f2f8; }
}
@media (max-width: 760px) {
  .fact { padding-right: 12px; }
  .fact p { font-size: 45px; margin: 13px 0 9px; }
  .fact .unit { font-size: 19px; }
  .fact-prefix { font-size: 15px; }
  .fact-label { font-size: 13px; }
  .faq-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(155px, .7fr); column-gap: 20px; align-items: start; }
  .faq-intro > .eyebrow, .faq-intro > h2, .faq-intro > p { grid-column: 1; }
  .faq-equipment { grid-column: 2; grid-row: 1 / 4; margin-top: 0; align-self: center; }
  .faq-equipment img { height: 210px; }
  .faq-equipment figcaption { font-size: 10px; padding-top: 10px; display: block; }
  .faq-equipment figcaption span { display: block; margin-top: 3px; font-size: 9px; }
  .contact-content { gap: 42px; }
  .contact-inquiry { grid-template-columns: minmax(0, 1.2fr) minmax(155px, .8fr); margin-top: 25px; gap: 12px; }
  .contact-request-copy > p { font-size: 14px; }
  .contact-request-copy .button { font-size: 15px; gap: 18px; padding-inline: 18px; }
  .contact-equipment { width: 100%; height: 250px; margin: 0; }
  .contact-equipment img { width: 417px; height: 250px; }
  .contact-details { padding-left: 0; }
}
@media (max-width: 480px) {
  .fact p { font-size: 39px; }
  .fact .unit { font-size: 17px; }
  .fact:last-child p { white-space: normal; }
  .fact:last-child .unit { font-size: 15px; }
  .fact-label { font-size: 12px; }
  .fact-index { font-size: 9px; }
  .faq-intro { grid-template-columns: 1fr; }
  .faq-equipment { grid-column: 1; grid-row: auto; margin: 15px 0 0; width: min(100%, 300px); justify-self: center; }
  .faq-equipment img { height: 245px; }
  .faq-equipment figcaption { display: flex; font-size: 11px; }
  .faq-equipment figcaption span { display: inline; margin: 0; font-size: 10px; }
  .contact-inquiry { grid-template-columns: minmax(0, 1fr) 120px; gap: 2px; }
  .contact-request-copy .button { font-size: 13px; gap: 12px; padding-inline: 14px; }
  .contact-request-copy > p { font-size: 13px; }
  .contact-request-copy .attachment-hint { font-size: 9px; }
  .contact-equipment { height: 220px; }
  .contact-equipment img { width: 365px; height: 219px; }
}
@media (max-width: 380px) {
  .fact p { font-size: 36px; }
  .fact .unit { font-size: 16px; }
  .fact:last-child .unit { display: block; font-size: 14px; line-height: 1.3; margin-top: 5px; }
  .fact-prefix { font-size: 13px; }
  .contact-inquiry { grid-template-columns: 1fr; }
  .contact-equipment { width: 160px; justify-self: end; height: 210px; margin-top: 10px; }
  .contact-equipment img { width: 350px; height: 210px; }
  .contact-request-copy .button { font-size: 15px; }
  .max-dialog { padding-inline: 22px; }
  .copy-phone-row input { padding-inline: 9px; font-size: 14px; }
  .copy-phone-row button { padding-inline: 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .equipment-figure img, .max-badge, .contact-max { transition: none; }
  .faq-equipment:hover img, .unified-products .product-feature:focus-visible .product-visual img { transform: none; }
  .contact-equipment:hover img { transform: translateX(-50%); }
}
.no-motion .equipment-figure img { transition: none; }
.no-motion .faq-equipment:hover img, .no-motion .unified-products .product-feature:focus-visible .product-visual img { transform: none; }
.no-motion .contact-equipment:hover img { transform: translateX(-50%); }
@media print { .max-dialog { display: none !important; } }

/* Edition 05: match the existing tank / KNS outline drawings, not product photos. */
.outline-equipment .equipment-sketch {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #809baa;
  stroke-width: 1.15;
  transition: opacity .45s ease;
}
.outline-equipment .sketch-guides { stroke: #a4bdcb; }
.outline-equipment .sketch-details { stroke: #a0b7c4; }
.outline-equipment .sketch-accent { stroke: #b17985; }
.faq-equipment.outline-equipment { width: min(100%, 450px); margin-top: 24px; }
.faq-equipment.outline-equipment .equipment-sketch { max-height: 270px; }
.faq-equipment.outline-equipment figcaption {
  display: block;
  margin-top: 3px;
  padding: 0;
  border: 0;
  color: #6b8594;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}
.contact-equipment.outline-equipment {
  display: grid;
  place-items: center;
  height: 286px;
  overflow: visible;
}
.contact-equipment.outline-equipment::before { display: none; }
.contact-equipment.outline-equipment .equipment-sketch {
  width: 100%;
  max-width: 290px;
  height: 100%;
  max-height: 286px;
  stroke: #7b9eB3;
  stroke-width: 1.25;
}
.contact-equipment .sketch-guides,
.contact-equipment .sketch-details { stroke: #618397; opacity: .48; }
.contact-equipment .sketch-accent { stroke: #b9808d; opacity: .75; }
.contact-equipment pattern path { stroke: #63879c; stroke-opacity: .22; }
.reveal-ready.is-visible .outline-equipment .sketch-ink {
  animation: equipment-outline-in 2s var(--ease) both;
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;
}
@keyframes equipment-outline-in {
  from { stroke-dashoffset: 1200; opacity: .2; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
.contact-band h2 {
  font-size: clamp(44px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
@media (max-width: 1050px) {
  .contact-band h2 { font-size: 46px; }
  .contact-equipment.outline-equipment { height: 210px; }
}
@media (max-width: 760px) {
  .faq-equipment.outline-equipment { width: 100%; margin-top: 0; }
  .faq-equipment.outline-equipment .equipment-sketch { max-height: 210px; }
  .faq-equipment.outline-equipment figcaption { font-size: 9px; }
  .contact-band h2 { font-size: clamp(40px, 6.2vw, 46px); }
  .contact-equipment.outline-equipment { height: 240px; }
}
@media (max-width: 480px) {
  .faq-equipment.outline-equipment { width: min(100%, 390px); margin-top: 22px; }
  .faq-equipment.outline-equipment .equipment-sketch { max-height: 250px; }
  .faq-equipment.outline-equipment figcaption { font-size: 10px; }
  .contact-inquiry { grid-template-columns: 1fr; }
  .contact-equipment.outline-equipment { width: min(100%, 240px); height: 220px; margin-top: 8px; justify-self: end; }
  .contact-band h2 { font-size: 40px; }
}
@media (max-width: 350px) { .contact-band h2 { font-size: 36px; } }
@media (prefers-reduced-motion: reduce) {
  .outline-equipment .equipment-sketch { transition: none; }
  .reveal-ready.is-visible .outline-equipment .sketch-ink { animation: none; stroke-dasharray: none; }
}
.no-motion .outline-equipment .equipment-sketch { transition: none; }
.no-motion .reveal-ready.is-visible .outline-equipment .sketch-ink { animation: none; stroke-dasharray: none; }
