/* ==========================================================================
   Washer One by <DirtySoft/> — Design System & Stylesheet
   Pure Vanilla CSS | Bright Modern B2B SaaS Aesthetic
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-white: hsl(0, 0%, 100%);
  --bg-subtle: hsl(210, 36%, 98%);
  --bg-warm-slate: hsl(210, 28%, 95.5%);
  --bg-navy: hsl(216, 48%, 11%);
  --bg-navy-raised: hsl(216, 41%, 15.5%);

  /* Typography colors */
  --ink-primary: hsl(216, 48%, 11%);
  --ink-secondary: hsl(215, 22%, 29%);
  --ink-muted: hsl(215, 16%, 45%);
  --ink-on-dark: hsl(210, 40%, 98%);
  --ink-on-dark-muted: hsl(214, 22%, 74%);

  /* Brand Palette (Derived from Washer Logo: Fresh Lime Ring + Clean Water Lens) */
  --brand-blue: hsl(201, 90%, 36%);
  --brand-blue-hover: hsl(202, 92%, 30%);
  --brand-blue-tint: hsl(200, 78%, 95%);
  --brand-green: hsl(94, 58%, 37%);
  --brand-green-vivid: hsl(92, 60%, 45%);
  --brand-green-tint: hsl(95, 52%, 94%);

  /* Status */
  --status-error: hsl(356, 75%, 48%);
  --status-error-bg: hsl(356, 85%, 97%);
  --status-success: hsl(146, 64%, 32%);
  --status-success-bg: hsl(146, 58%, 95%);

  /* Borders & Shadows */
  --border-hairline: hsla(216, 38%, 15%, 0.08);
  --border-default: hsla(216, 32%, 18%, 0.14);
  --border-on-dark: hsla(210, 40%, 96%, 0.12);

  --shadow-xs: 0 1px 2px hsla(216, 45%, 11%, 0.04);
  --shadow-sm: 0 2px 6px -1px hsla(216, 45%, 11%, 0.05), 0 1px 3px hsla(216, 45%, 11%, 0.04);
  --shadow-md: 0 12px 28px -8px hsla(216, 45%, 11%, 0.08), 0 4px 10px -3px hsla(216, 45%, 11%, 0.04);
  --shadow-lg: 0 24px 48px -12px hsla(216, 45%, 11%, 0.13), 0 6px 16px -4px hsla(216, 45%, 11%, 0.05);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout & Radii */
  --container-max: 1200px;
  --container-narrow: 840px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --header-height: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--brand-blue-hover);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  color: var(--ink-primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink-primary);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--bg-white);
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: clamp(68px, 8vw, 112px) 0;
  position: relative;
}

.section--subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section--navy {
  background-color: var(--bg-navy);
  color: var(--ink-on-dark-muted);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--ink-on-dark);
}

/* Section Headers */
.section-header {
  max-width: 680px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.section--navy .eyebrow {
  color: hsl(92, 65%, 62%);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.7;
  color: var(--ink-muted);
}

.section--navy .section-lead {
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              transform 0.18s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover svg.icon-arrow {
  transform: translateX(3px);
}

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

.btn--primary {
  background-color: var(--brand-blue);
  color: var(--bg-white);
  box-shadow: 0 2px 8px hsla(201, 90%, 36%, 0.24), inset 0 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn--primary:hover {
  background-color: var(--brand-blue-hover);
  color: var(--bg-white);
  box-shadow: 0 6px 18px hsla(201, 90%, 36%, 0.32), inset 0 1px 0 hsla(0, 0%, 100%, 0.18);
}

.btn--green {
  background-color: var(--brand-green);
  color: var(--bg-white);
  box-shadow: 0 2px 8px hsla(94, 58%, 37%, 0.24), inset 0 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn--green:hover {
  background-color: hsl(94, 60%, 31%);
  color: var(--bg-white);
  box-shadow: 0 6px 18px hsla(94, 58%, 37%, 0.32);
}

.btn--secondary {
  background-color: var(--bg-white);
  color: var(--ink-primary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background-color: var(--bg-subtle);
  color: var(--ink-primary);
  border-color: hsla(216, 32%, 18%, 0.26);
}

.btn--ghost-light {
  background-color: hsla(0, 0%, 100%, 0.08);
  color: var(--ink-on-dark);
  border-color: hsla(0, 0%, 100%, 0.18);
}

.btn--ghost-light:hover {
  background-color: hsla(0, 0%, 100%, 0.15);
  color: var(--bg-white);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

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

/* ==========================================================================
   Sticky Top Navigation (Dark Blue Translucent + Blur on Scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  background-color: hsla(212, 64%, 15%, 0.68);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid hsla(198, 80%, 75%, 0.16);
  transition: background-color 0.25s var(--ease-out),
              backdrop-filter 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  background-color: hsla(213, 65%, 14%, 0.86);
  backdrop-filter: blur(18px) saturate(175%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
  border-bottom-color: hsla(198, 80%, 75%, 0.22);
  box-shadow: 0 10px 30px -8px hsla(215, 65%, 7%, 0.38);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink-primary);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px hsla(216, 60%, 6%, 0.28));
}

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

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.brand-name span {
  color: var(--brand-blue);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

.site-header .brand,
.site-header .brand:hover,
.site-header .brand-name {
  color: var(--bg-white);
}

.site-header .brand-name span {
  color: hsl(197, 92%, 66%);
}

.site-header .brand-sub {
  color: hsla(210, 35%, 88%, 0.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: hsla(210, 40%, 96%, 0.88);
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--bg-white);
  background-color: hsla(0, 0%, 100%, 0.10);
}

.nav-links a[aria-current="page"] {
  color: var(--bg-white);
  font-weight: 600;
  background-color: hsla(198, 90%, 55%, 0.22);
}

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

.site-header .btn--secondary {
  background-color: hsla(0, 0%, 100%, 0.10);
  color: var(--bg-white);
  border-color: hsla(0, 0%, 100%, 0.24);
  box-shadow: none;
}

.site-header .btn--secondary:hover {
  background-color: hsla(0, 0%, 100%, 0.18);
  color: var(--bg-white);
  border-color: hsla(0, 0%, 100%, 0.38);
}

.site-header .btn--primary {
  background-color: hsl(94, 58%, 41%);
  box-shadow: 0 2px 10px hsla(94, 60%, 20%, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.18);
}

.site-header .btn--primary:hover {
  background-color: hsl(94, 60%, 35%);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: hsla(0, 0%, 100%, 0.08);
  border: 1px solid hsla(0, 0%, 100%, 0.22);
  border-radius: var(--radius-sm);
  color: var(--bg-white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Hero Section (Softened Washing Machine Drum + Washer Blue-Green Gradient)
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(56px, 7vw, 92px)) 0 clamp(68px, 8vw, 108px);
  background-color: hsl(212, 60%, 14%);
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('../assets/drum-texture.webp');
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.05);
  z-index: 0;
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      hsla(213, 68%, 14%, 0.85) 0%,
      hsla(201, 88%, 24%, 0.78) 46%,
      hsla(152, 62%, 26%, 0.75) 76%,
      hsla(94, 60%, 32%, 0.77) 100%
    ),
    radial-gradient(
      ellipse 55% 65% at 85% 30%,
      hsla(92, 68%, 48%, 0.24),
      transparent 70%
    );
  z-index: 1;
  pointer-events: none;
}

.hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero-code-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 500;
  color: hsl(90, 78%, 72%);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.hero-code-tag strong {
  color: var(--bg-white);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--bg-white);
  text-shadow: 0 2px 18px hsla(215, 65%, 8%, 0.28);
}

.hero-title-accent {
  color: hsl(90, 78%, 68%);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.68;
  color: hsla(210, 40%, 98%, 0.90);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.hero .btn--primary {
  background-color: hsl(94, 58%, 40%);
  box-shadow: 0 8px 22px hsla(215, 65%, 8%, 0.28), inset 0 1px 0 hsla(0, 0%, 100%, 0.22);
}

.hero .btn--primary:hover {
  background-color: hsl(94, 60%, 34%);
}

.hero .btn--secondary {
  background-color: hsla(0, 0%, 100%, 0.14);
  color: var(--bg-white);
  border-color: hsla(0, 0%, 100%, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .btn--secondary:hover {
  background-color: hsla(0, 0%, 100%, 0.22);
  color: var(--bg-white);
  border-color: hsla(0, 0%, 100%, 0.50);
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: hsla(210, 40%, 96%, 0.88);
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-list svg {
  width: 17px;
  height: 17px;
  color: hsl(90, 78%, 68%);
  flex-shrink: 0;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 26px 54px -12px hsla(216, 65%, 7%, 0.48);
  border: 1px solid hsla(0, 0%, 100%, 0.28);
  background-color: var(--bg-subtle);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2.05;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.hero-floating-card--bottom {
  bottom: -18px;
  left: -20px;
}

.hero-floating-card--top {
  top: 20px;
  right: -16px;
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-icon--green {
  background-color: var(--brand-green-tint);
  color: var(--brand-green);
}

.floating-icon--blue {
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
}

.floating-icon svg {
  width: 20px;
  height: 20px;
}

.floating-meta strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.25;
}

.floating-meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Metrics Strip (Numbers)
   ========================================================================== */
.metrics-bar {
  background-color: var(--bg-white);
  color: var(--ink-primary);
  padding: 44px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.metric-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-default);
}

.metric-value {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-value span {
  color: var(--brand-green);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ==========================================================================
   4 Core Highlights Grid (Slogany)
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
}

.icon-box--green {
  background-color: var(--brand-green-tint);
  color: var(--brand-green);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.highlight-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Split Feature Section ("Z Washerem praca sprawia przyjemność")
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-default);
  background-color: var(--bg-white);
}

.split-media-frame img {
  width: 100%;
  object-fit: cover;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.workflow-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background-color: var(--brand-green-tint);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.workflow-step strong {
  display: block;
  color: var(--ink-primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.workflow-step span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Operational Challenges Grid ("Wyzwania operacyjne")
   ========================================================================== */
.challenges-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.challenges-sticky {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.challenges-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.challenge-item:hover {
  background-color: var(--bg-white);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.challenge-q-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.challenge-q-mark svg {
  width: 18px;
  height: 18px;
}

.challenge-item p {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 4px;
  line-height: 1.45;
}

.challenge-item span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   4 Pillars of Washer One
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

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

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Ecosystem Modules Showcase (3 Photo Cards)
   ========================================================================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.module-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

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

.module-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background-color: var(--bg-warm-slate);
}

.module-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.module-card:hover .module-img-wrap img {
  transform: scale(1.04);
}

.module-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.module-tag {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.module-body h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.module-body p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.module-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out);
}

.module-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-quote-icon {
  color: var(--brand-blue);
  opacity: 0.25;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  font-style: normal;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-subtle);
  box-shadow: var(--shadow-xs);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.testimonial-author span {
  display: block;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-default);
}

.team-info h3 {
  font-size: 1.24rem;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
  display: block;
}

.team-info p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  padding: 6px 12px;
  border-radius: 6px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background-color: var(--brand-blue-tint);
  color: var(--brand-blue);
}

.social-link svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Contact & Demo Form Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-navy);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/drum-texture.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.contact-info h2 {
  color: var(--bg-white);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--ink-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink-on-dark);
  font-size: 0.95rem;
}

.contact-points svg {
  width: 20px;
  height: 20px;
  color: hsl(92, 65%, 60%);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Form Card */
.form-card {
  background-color: var(--bg-white);
  color: var(--ink-secondary);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 28px 60px hsla(220, 60%, 4%, 0.45);
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 7px;
}

.form-required {
  color: var(--status-error);
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsl(215, 14%, 64%);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px hsla(201, 90%, 36%, 0.15);
}

.form-input[aria-invalid="true"] {
  border-color: var(--status-error);
}

.form-textarea {
  resize: vertical;
  min-height: 84px;
}

/* Checkbox Group */
.checkbox-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}

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

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background-color: var(--bg-subtle);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox-option:hover {
  background-color: var(--bg-white);
  border-color: hsla(201, 90%, 36%, 0.45);
}

.checkbox-option:has(input:checked) {
  background-color: var(--brand-blue-tint);
  border-color: var(--brand-blue);
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-option span {
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 1.4;
}

/* Honeypot (visually hidden from humans) */
.hp-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--status-error);
  margin-top: 6px;
}

.form-error-msg.is-visible {
  display: block;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.5;
}

.form-status.is-success {
  display: block;
  background-color: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid hsla(146, 64%, 32%, 0.25);
}

.form-status.is-error {
  display: block;
  background-color: var(--status-error-bg);
  color: var(--status-error);
  border: 1px solid hsla(356, 75%, 48%, 0.25);
}

.form-footnote {
  margin-top: 14px;
  font-size: 0.79rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

.form-footnote a {
  color: var(--ink-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Subpage Hero & Pricing Page (cennik.html)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(48px, 6vw, 76px)) 0 clamp(48px, 6vw, 76px);
  background-color: hsl(212, 60%, 14%);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.032em;
  margin-bottom: 14px;
  color: var(--bg-white);
  text-shadow: 0 2px 18px hsla(215, 65%, 8%, 0.28);
}

.page-hero .eyebrow {
  color: hsl(90, 78%, 72%);
}

.page-hero .section-lead {
  color: hsla(210, 40%, 98%, 0.90);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.pricing-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background-color: var(--bg-navy);
  color: var(--ink-on-dark-muted);
  border-color: var(--bg-navy);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured h3,
.pricing-card--featured .price-amount {
  color: var(--bg-white);
}

.pricing-badge {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.pricing-card--featured .pricing-badge {
  color: hsl(92, 65%, 62%);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.price-block {
  margin: 18px 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.pricing-card--featured .price-block {
  border-bottom-color: var(--border-on-dark);
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 4px;
}

.pricing-card--featured .price-unit {
  color: var(--ink-on-dark-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features svg {
  width: 17px;
  height: 17px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card--featured .pricing-features svg {
  color: hsl(92, 65%, 62%);
}

/* Pricing Tables */
.pricing-table-wrap {
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  margin-bottom: 44px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th {
  background-color: var(--bg-subtle);
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border-default);
}

.pricing-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.96rem;
  color: var(--ink-secondary);
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table td strong {
  color: var(--ink-primary);
}

.pricing-table .td-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
}

/* Interactive Cost Estimator */
.calculator-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.calc-control {
  margin-bottom: 24px;
}

.calc-control:last-child {
  margin-bottom: 0;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.calc-label-row label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.calc-readout {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-blue);
}

input[type="range"].calc-range {
  width: 100%;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.calc-summary {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.calc-summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-summary-total span {
  font-weight: 700;
  color: var(--ink-primary);
}

.calc-summary-total strong {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Privacy Policy Legal Content (polityka-prywatnosci.html)
   ========================================================================== */
.legal-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.38rem;
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--border-hairline);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ol,
.legal-content ul {
  padding-left: 1.4rem;
  margin: 0 0 1.25em;
}

.legal-content li {
  margin-bottom: 0.55em;
  line-height: 1.68;
}

.legal-content ul {
  margin-top: 0.5em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: hsl(218, 52%, 8.5%);
  color: var(--ink-on-dark-muted);
  padding: 64px 0 36px;
  border-top: 1px solid var(--border-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-on-dark);
}

.site-footer .brand-name {
  color: var(--bg-white);
}

.site-footer .brand-sub {
  color: var(--ink-on-dark-muted);
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 380px;
  color: var(--ink-on-dark-muted);
}

.footer-heading {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--ink-on-dark-muted);
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-company {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-company strong {
  color: var(--bg-white);
}

.footer-company a {
  color: var(--ink-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-company a:hover {
  color: hsl(92, 65%, 65%);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .split-section,
  .challenges-layout,
  .contact-layout,
  .calculator-box {
    grid-template-columns: 1fr;
  }

  .challenges-sticky {
    position: static;
  }

  .hero-floating-card--bottom {
    left: 12px;
    bottom: 12px;
  }

  .hero-floating-card--top {
    right: 12px;
    top: 12px;
  }

  .modules-grid,
  .testimonials-grid,
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: hsla(213, 65%, 13%, 0.94);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-bottom: 1px solid hsla(198, 80%, 75%, 0.20);
    box-shadow: 0 18px 36px -8px hsla(215, 65%, 6%, 0.48);
    padding: 20px 24px 26px;
    display: none;
    flex-direction: column;
    gap: 18px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-actions--desktop {
    display: none;
  }

  .nav-actions--mobile {
    display: flex !important;
  }

  .metrics-grid,
  .highlights-grid,
  .pillars-grid,
  .modules-grid,
  .testimonials-grid,
  .team-grid,
  .pricing-cards-grid,
  .form-grid-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-item:not(:last-child)::after {
    display: none;
  }

  .metric-item:not(:last-child) {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-hairline);
  }

  .team-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-floating-card--top {
    display: none;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

.nav-actions--mobile {
  display: none;
}
