/* ==========================================================================
   CebulaInstal — Modern Hydraulic & Heating Showcase Stylesheet
   Brand Palette: Hydraulic Blue (#0095DA) + Thermal Red (#E31E24) + Navy
   ========================================================================== */

:root {
  --water: #0095DA;
  --water-bright: #38BDF8;
  --water-deep: #0072A8;
  --water-soft: rgba(0, 149, 218, 0.11);

  --heat: #E31E24;
  --heat-warm: #F97316;
  --heat-deep: #BA161B;
  --heat-soft: rgba(227, 30, 36, 0.1);

  --copper: #C87941;
  --navy: #081526;
  --navy-2: #0E223D;
  --navy-3: #153154;

  --bg-light: #F4F8FC;
  --bg-white: #FFFFFF;
  --ink: #0F1D30;
  --ink-muted: #4C607A;
  --border: #DCE6F2;
  --border-dark: rgba(148, 198, 235, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(8, 21, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 21, 38, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 21, 38, 0.22);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1220px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-light);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--water);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.topbar {
  background: #050E1A;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(148, 198, 235, 0.12);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__item,
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar__item--partner strong {
  color: #fff;
  font-weight: 700;
}

.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.topbar__link {
  transition: color 0.2s ease;
}
.topbar__link:hover {
  color: var(--water-bright);
}
.topbar__link--phone {
  color: #fff;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--water-bright), var(--heat));
  box-shadow: 0 0 0 3px rgba(0, 149, 218, 0.22);
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }
}

/* ==========================================================================
   Sticky Header & Scroll Pipe Progress
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 21, 38, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 198, 235, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  background: rgba(8, 21, 38, 0.96);
  box-shadow: 0 8px 28px rgba(4, 12, 24, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand__emblem {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 149, 218, 0.28));
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand__emblem {
  transform: scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__blue {
  color: #1EB0F5;
}

.brand__red {
  color: #F0353B;
}

.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 8px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--water-bright), var(--heat));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pipe-progress {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pipe-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--water) 0%, var(--water-bright) 48%, var(--heat-warm) 78%, var(--heat) 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  transition: width 0.08s linear;
}

/* Burger Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 64px;
  }
  .container {
    width: min(var(--container), calc(100% - 24px));
  }
  .header__inner {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand__emblem {
    width: 36px;
    height: 36px;
  }
  .header__actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .header__actions .btn--call span {
    display: none;
  }
  .header__actions .btn--call {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  .burger {
    width: 40px;
    height: 40px;
  }
  .brand__name {
    font-size: 1.18rem;
  }
  .brand__sub {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(4, 11, 22, 0.68);
  backdrop-filter: blur(4px);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  z-index: 200;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 26px;
  border-left: 1px solid rgba(148, 198, 235, 0.16);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s var(--ease), visibility 0.32s ease;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.4);
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  flex: 1;
}

.drawer__link {
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 1.04rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer__link:hover {
  background: rgba(0, 149, 218, 0.16);
  color: #fff;
}

.drawer__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer__address {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--heat) 0%, #D9381E 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 30, 36, 0.34);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(227, 30, 36, 0.44);
}

.btn--call {
  background: linear-gradient(135deg, var(--water) 0%, var(--water-deep) 100%);
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 6px 18px rgba(0, 149, 218, 0.35);
}
.btn--call:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 149, 218, 0.48);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--bg-light);
  border-color: var(--border);
  color: var(--ink);
}
.btn--secondary:hover {
  background: #E8F1FA;
  border-color: var(--water);
  color: var(--water-deep);
}

.btn--fb {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.28);
}
.btn--fb:hover {
  background: #1466D1;
  transform: translateY(-1px);
}

.btn--outline-fb {
  background: #F0F6FF;
  border-color: rgba(24, 119, 242, 0.28);
  color: #1877F2;
}
.btn--outline-fb:hover {
  background: #1877F2;
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 20%, rgba(0, 149, 218, 0.2) 0%, transparent 48%),
              radial-gradient(circle at 86% 78%, rgba(227, 30, 36, 0.14) 0%, transparent 46%),
              linear-gradient(160deg, #071323 0%, #0B1D35 55%, #0F2744 100%);
  color: #fff;
  padding: 58px 0 86px;
  overflow: hidden;
}

.hero__blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pipe-flow {
  stroke-dasharray: 90 220;
  animation: pipeFlowMove 6.5s linear infinite;
}

.pipe-flow--hot {
  animation-duration: 7.5s;
  animation-direction: reverse;
}

@keyframes pipeFlowMove {
  from {
    stroke-dashoffset: 310;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 44px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--water-bright);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  line-height: 1.09;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.text-water {
  color: #38BDF8;
}

.text-thermal {
  background: linear-gradient(95deg, #FF6B4A 0%, #E31E24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(226, 238, 250, 0.84);
  max-width: 56ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 198, 235, 0.16);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(236, 245, 255, 0.88);
}

/* Hero Visual Collage */
.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.78fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding-bottom: 26px;
}

.showcase figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 198, 235, 0.24);
  background: #0B1B30;
  box-shadow: var(--shadow-lg);
}

.showcase__main {
  grid-row: 1 / 3;
  aspect-ratio: 4 / 4.4;
}

.showcase__main img,
.showcase__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.showcase figure:hover img {
  transform: scale(1.04);
}

.showcase__sub {
  aspect-ratio: 4 / 3.4;
}

.showcase__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(8, 21, 38, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

.showcase__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}

/* Live Manometer Gauge Card */
.manometer-card {
  position: absolute;
  left: -18px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius-md);
  background: rgba(8, 21, 38, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.36);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  max-width: 295px;
}

.manometer-svg {
  width: 76px;
  height: 52px;
  flex-shrink: 0;
}

.manometer-needle {
  transform-origin: 60px 64px;
  transform: rotate(-72deg);
  transition: transform 1.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.manometer-needle.is-ready {
  transform: rotate(12deg);
}

.manometer-card__info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.manometer-card__value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.manometer-card__value span {
  font-size: 0.72rem;
  color: var(--water-bright);
  letter-spacing: 0.06em;
}

.manometer-card__label {
  font-size: 0.75rem;
  color: rgba(226, 238, 250, 0.78);
  margin-top: 2px;
}

.hero__bottom-pipe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 3;
}
.hero__bottom-pipe svg {
  width: 100%;
  height: 36px;
}

@media (max-width: 980px) {
  .hero {
    padding: 32px 0 64px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .showcase {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }
  .manometer-card {
    left: 10px;
  }
}

@media (max-width: 520px) {
  .hero__badge {
    font-size: 0.78rem;
    padding: 7px 12px;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
  }
  .hero__cta {
    flex-direction: column;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding-bottom: 12px;
  }
  .showcase__main {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }
  .showcase__sub {
    aspect-ratio: 4 / 3;
  }
  .manometer-card {
    position: static;
    grid-column: 1 / 3;
    max-width: none;
  }
}

/* ==========================================================================
   Authorized Partners Strip
   ========================================================================== */
.partners {
  background: var(--bg-light);
  padding: 26px 0 18px;
}

.partners__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 20px 26px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.partners__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.partners__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.partners__logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.partner-badge--viessmann {
  background: rgba(227, 30, 36, 0.08);
  color: #E31E24;
  border: 1px solid rgba(227, 30, 36, 0.22);
}

.partner-badge--kolton {
  background: rgba(8, 21, 38, 0.06);
  color: var(--navy);
  border: 1px solid rgba(8, 21, 38, 0.16);
}

.partners__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.partners__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partners__tags span {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .partners__divider {
    display: none;
  }
}

/* ==========================================================================
   Generic Sections & Typography
   ========================================================================== */
.section {
  position: relative;
  padding: 76px 0;
  overflow-x: clip;
}

.section--light {
  background: var(--bg-light);
}

.section--white {
  background: var(--bg-white);
}

.section--navy {
  background: linear-gradient(155deg, #071425 0%, #0E223D 60%, #0B1B31 100%);
  color: #fff;
  overflow: hidden;
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head--row > div {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--water-soft);
  color: var(--water-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.eyebrow--light {
  background: rgba(56, 189, 248, 0.14);
  color: var(--water-bright);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title--light {
  color: #fff;
}

.section-lead {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-muted);
}

.section-lead--light {
  color: rgba(226, 238, 250, 0.8);
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--water) 0%, var(--water-bright) 50%, var(--heat) 100%);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 149, 218, 0.36);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-icon--cold {
  background: rgba(0, 149, 218, 0.08);
  border-color: rgba(0, 149, 218, 0.2);
}

.service-icon--hot {
  background: rgba(227, 30, 36, 0.07);
  border-color: rgba(227, 30, 36, 0.18);
}

.service-icon--dual {
  background: linear-gradient(135deg, rgba(0, 149, 218, 0.1), rgba(227, 30, 36, 0.08));
  border-color: rgba(0, 149, 218, 0.22);
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #93A8C1;
}

.service-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.25;
  color: var(--ink);
}

.service-card__desc {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.service-card__list {
  margin: auto 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.87rem;
  color: var(--ink);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--water), var(--heat));
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hydraulic Pipe Schematic Divider
   ========================================================================== */
.pipe-divider {
  background: linear-gradient(180deg, var(--bg-light) 50%, var(--bg-white) 50%);
  padding: 4px 0;
  line-height: 0;
}

.pipe-divider svg {
  width: 100%;
  height: 44px;
}

/* ==========================================================================
   Realizations Gallery
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover {
  border-color: var(--water);
  color: var(--water-deep);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 21, 38, 0.2);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: rgba(15, 29, 48, 0.08);
  color: inherit;
}

.filter-btn.is-active .filter-count {
  background: linear-gradient(135deg, var(--water), var(--heat));
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0C1C31;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 38, 0.02) 42%, rgba(8, 21, 38, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  color: #fff;
}

.gallery-card__cat {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 149, 218, 0.88);
  margin-bottom: 7px;
}

.gallery-card__cat--kotlownie {
  background: rgba(227, 30, 36, 0.88);
}

.gallery-card__cat--podlogowka {
  background: rgba(234, 88, 12, 0.9);
}

.gallery-card__cat--wodkan {
  background: rgba(14, 116, 144, 0.92);
}

.gallery-card__title {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 21, 38, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.gallery-card:hover .gallery-card__zoom,
.gallery-card:focus-visible .gallery-card__zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-card:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 2px;
}

.gallery-actions {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gallery-card__overlay {
    padding: 10px 12px;
  }
  .gallery-card__cat {
    font-size: 0.62rem;
    padding: 3px 8px;
    margin-bottom: 5px;
  }
  .gallery-card__title {
    font-size: 0.78rem;
    line-height: 1.28;
    -webkit-line-clamp: 2;
  }
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Why Us Section (Dark Navy)
   ========================================================================== */
.section-watermark {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 620px;
  height: 620px;
  pointer-events: none;
}

.why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.why-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 198, 235, 0.24);
  box-shadow: var(--shadow-lg);
}

.why-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.why-photo-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(8, 21, 38, 0.94);
  border-top: 1px solid rgba(148, 198, 235, 0.16);
}

.thermal-bar {
  width: 6px;
  align-self: stretch;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--water-bright), var(--heat));
  flex-shrink: 0;
}

.why-photo-badge strong {
  display: block;
  font-size: 0.98rem;
  color: #fff;
}

.why-photo-badge span {
  font-size: 0.84rem;
  color: rgba(226, 238, 250, 0.74);
}

.why-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mini-stat {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 198, 235, 0.16);
}

.mini-stat__val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
}

.mini-stat__lbl {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  color: rgba(226, 238, 250, 0.74);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon--blue {
  background: rgba(0, 149, 218, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: var(--water-bright);
}

.feature-item__icon--red {
  background: rgba(227, 30, 36, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.34);
  color: #FF7557;
}

.feature-item h3 {
  margin: 0 0 5px;
  font-size: 1.06rem;
  color: #fff;
}

.feature-item p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(226, 238, 250, 0.76);
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* ==========================================================================
   Process Timeline (Twin Hydraulic Pipes)
   ========================================================================== */
.process-wrap {
  position: relative;
}

.process-pipes {
  position: absolute;
  top: 29px;
  left: 6%;
  right: 6%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 0;
}

.process-pipe {
  height: 4px;
  border-radius: 4px;
}

.process-pipe--cold {
  background: linear-gradient(90deg, var(--water) 0%, var(--water-bright) 100%);
  opacity: 0.5;
}

.process-pipe--hot {
  background: linear-gradient(90deg, var(--heat-warm) 0%, var(--heat) 100%);
  opacity: 0.5;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--water);
}

.process-node {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 2px var(--water), 0 8px 20px rgba(8, 21, 38, 0.16);
}

.process-step:nth-child(even) .process-node {
  box-shadow: 0 0 0 2px var(--heat), 0 8px 20px rgba(227, 30, 36, 0.16);
}

.process-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.process-step p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .process-pipes {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact & Smart Quick Inquiry Section
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.contact-card--highlight {
  grid-column: 1 / 3;
  background: linear-gradient(135deg, #081526 0%, #102746 100%);
  border-color: rgba(56, 189, 248, 0.28);
  color: #fff;
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--heat), #F97316);
  color: #fff;
}

.contact-card__icon--blue {
  background: rgba(0, 149, 218, 0.14);
  color: var(--water-deep);
}

.contact-card__icon--fb {
  background: rgba(24, 119, 242, 0.14);
  color: #1877F2;
}

.contact-card__body {
  min-width: 0;
}

.contact-card__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.contact-card--highlight .contact-card__label {
  color: rgba(226, 238, 250, 0.72);
}

.contact-card__big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.contact-card__val {
  display: block;
  font-size: 0.98rem;
  line-height: 1.38;
  color: var(--ink);
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.mini-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--water-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card--highlight .mini-link {
  color: var(--water-bright);
}

.mini-link--btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.area-box {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.area-box h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.area-box p {
  margin: 0 0 12px;
  font-size: 0.89rem;
  color: var(--ink-muted);
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-pills span {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.map-box {
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 230px;
  background: #E2ECF7;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Quote Builder Card */
.quote-box {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.quote-box__head {
  margin-bottom: 20px;
}

.quote-box__tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--heat-soft);
  color: var(--heat);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.quote-box__head h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.38rem;
}

.quote-box__head p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-muted);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-field {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quote-field legend,
.quote-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all 0.2s ease;
}

.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(8, 21, 38, 0.16);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--water);
  outline-offset: 2px;
}

.quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-field input[type="text"],
.quote-field select,
.quote-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid #CBD9E9;
  background: #fff;
  color: var(--ink);
  font-size: 0.93rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input[type="text"]:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgba(0, 149, 218, 0.16);
}

.quote-preview {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #B9CCE2;
}

.quote-preview__lbl {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--water-deep);
  margin-bottom: 5px;
}

.quote-preview p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}

.quote-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-buttons__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-card--highlight {
    grid-column: 1;
  }
  .quote-box {
    padding: 22px 18px;
  }
  .quote-row,
  .quote-buttons__sub {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: #06101E;
  color: rgba(226, 238, 250, 0.78);
  padding-bottom: 32px;
}

.footer__pipe-top {
  height: 4px;
  background: linear-gradient(90deg, var(--water) 0%, var(--water-bright) 48%, var(--heat-warm) 74%, var(--heat) 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 36px;
  padding: 52px 0 38px;
  border-bottom: 1px solid rgba(148, 198, 235, 0.14);
}

.footer__desc {
  margin: 14px 0 0;
  font-size: 0.9rem;
  max-width: 44ch;
  color: rgba(226, 238, 250, 0.68);
}

.footer__col h4 {
  margin: 0 0 14px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.9rem;
}

.footer__col a:hover {
  color: var(--water-bright);
}

.footer__data strong {
  color: #fff;
}

.footer__fb {
  color: var(--water-bright);
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(226, 238, 250, 0.56);
}

.footer__bottom p {
  margin: 0;
}

@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 30px;
  }
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */
.mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  .hero__cta .btn--primary {
    display: none;
  }

  .hero__cta .btn--glass {
    border-color: rgba(56, 189, 248, 0.42);
    background: rgba(0, 149, 218, 0.14);
  }

  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    z-index: 95;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 21, 38, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(148, 198, 235, 0.2);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
  }

  .mobile-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
  }

  .mobile-bar__btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .mobile-bar__btn--call {
    background: linear-gradient(135deg, var(--heat), #D9381E);
    box-shadow: 0 6px 16px rgba(227, 30, 36, 0.35);
  }

  .mobile-bar__btn--fb {
    background: #1877F2;
  }
}

/* ==========================================================================
   Fullscreen Lightbox
   ========================================================================== */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 68px 28px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 22, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox__chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 305;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #fff;
}

.lightbox__counter {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
}

.lightbox__close,
.lightbox__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 29, 48, 0.8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--water);
  border-color: var(--water);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 305;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__stage {
  position: relative;
  z-index: 302;
  margin: 0;
  max-width: min(1080px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox__stage img {
  max-height: calc(100dvh - 165px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox__caption {
  text-align: center;
  color: #fff;
}

.lightbox__cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 149, 218, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.lightbox__caption p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 680px) {
  .lightbox {
    padding: 64px 12px 76px;
  }
  .lightbox__nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .lightbox__nav--prev {
    left: calc(50% - 58px);
  }
  .lightbox__nav--next {
    right: calc(50% - 58px);
  }
  .lightbox__stage img {
    max-height: calc(100dvh - 210px);
  }
}

/* ==========================================================================
   Toast & Scroll Reveal Animations
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 400;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pipe-flow {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .manometer-needle {
    transition: none;
    transform: rotate(12deg);
  }
}
