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

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

: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: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Brand & Dark Header Palette (Aligned with Washer Enterprise / WasherNext) */
  --bg-dark: #07111f;
  --bg-dark-2: #0c1b31;
  --brand-cyan: #38bdf8;
  --brand-lime: #84cc16;
  --brand-green-bright: #65a30d;
  --border-dark: rgba(148, 163, 184, 0.22);

  /* Layout & Radii */
  --container-max: 76rem;
  --container-narrow: 52.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 9999px;
  --header-height: 4.5rem;

  /* 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-block-start: calc(var(--header-height) + 1.25rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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;
}

/* Visually hidden utility (retains accessibility tree exposure; reveals on focus) */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:is(:focus, :focus-within, :active) {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background-color: var(--bg-dark);
  color: var(--bg-white);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brand-cyan);
  box-shadow: var(--shadow-lg);
}

:where(a:any-link, button, input, textarea, select, summary, [tabindex="0"]):focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
}

h1[tabindex="-1"]:focus,
section[tabindex="-1"]:focus {
  outline: none;
}

/* Containers & Sections */
.container {
  inline-size: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.container--narrow {
  inline-size: min(100% - 2.5rem, 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-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: rgba(2, 132, 199, 0.1);
  color: #0369a1;
  margin-bottom: 0.9rem;
}

.section--navy .eyebrow,
.contact-section .eyebrow,
.page-hero .eyebrow {
  background-color: rgba(56, 189, 248, 0.14);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.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 (WasherNext Pill & Gradient Design Language, Wrapping-Safe)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-block-size: 3.125rem;
  max-inline-size: 100%;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease,
              box-shadow 0.16s ease,
              background-color 0.16s ease,
              border-color 0.16s ease,
              color 0.16s ease;
}

.btn svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease-out);
}

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

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

.btn--primary,
.btn--green {
  background: linear-gradient(135deg, var(--brand-green-bright), #3f6212);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(101, 163, 13, 0.32);
}

.btn--primary:hover,
.btn--green:hover {
  background: linear-gradient(135deg, #74b816, var(--brand-green-bright));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(101, 163, 13, 0.42);
}

.btn--blue {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.26);
}

.btn--blue:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.36);
}

.btn--secondary {
  background-color: var(--bg-white);
  color: var(--ink-primary);
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.btn--secondary:hover {
  background-color: #f4f7fb;
  color: #0369a1;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.btn--ghost-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn--sm {
  min-block-size: 2.625rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.btn--lg {
  min-block-size: 3.25rem;
  padding: 0.85rem 1.85rem;
  font-size: 1.02rem;
}

.btn--full {
  inline-size: 100%;
}

/* ==========================================================================
   Header & Adaptive Navigation (Popover Narrow + Inline Wide + Scrollspy)
   ========================================================================== */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  block-size: var(--header-height);
  background-color: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-block-end: 1px solid var(--border-dark);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background-color: rgba(7, 17, 31, 0.96);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.32);
}

.header-inner {
  block-size: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

/* Keep natural width measurable for ResizeObserver inline fit check */
.header-inner > * {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header.is-measuring,
.site-header.is-measuring * {
  transition: none !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-primary);
  padding-block: 0.3rem;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  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.14rem;
  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.68rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

.site-header .brand,
.site-header .brand:hover,
.site-header .brand-name {
  color: #f8fafc;
}

.site-header .brand-name span {
  color: var(--brand-cyan);
}

.site-header .brand-sub {
  color: #cbd5e1;
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.menu-button svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

/* Narrow / Collapsed Popover Menu (Default) */
.site-menu {
  scroll-target-group: auto;
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  position: fixed;
  inset: auto;
  inset-block-start: 4.5rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1.25rem;
  inline-size: min(86dvw, 21rem);
  max-inline-size: calc(100dvw - 2.5rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 5.5rem);
  margin-block-start: 0.5rem;
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background-color: var(--bg-dark-2);
  box-shadow: 0 24px 54px rgba(7, 17, 31, 0.32);
  color: #f8fafc;
}

.site-menu[popover]:not(:is(:popover-open, .\:popover-open)) {
  display: none;
}

.site-menu[popover]:is(:popover-open, .\:popover-open) {
  display: grid;
  gap: 0.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  .site-menu[popover] {
    opacity: 0;
    translate: 0 -0.35rem;
    transition: opacity 0.18s ease, translate 0.18s ease, display 0.18s, overlay 0.18s;
    transition-behavior: allow-discrete;
  }

  .site-menu[popover]:is(:popover-open, .\:popover-open) {
    opacity: 1;
    translate: 0 0;
  }

  @starting-style {
    .site-menu[popover]:is(:popover-open, .\:popover-open) {
      opacity: 0;
      translate: 0 -0.35rem;
    }
  }
}

.site-menu a {
  display: flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0.55rem 0.9rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-menu a:hover {
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.07);
}

/* Current page / active scrollspy indicator: weight + structural bar (never color alone) */
.site-menu a:not(.nav-cta):is([aria-current="page"], :target-current, .target-current) {
  color: #f8fafc;
  font-weight: 700;
  background-color: rgba(56, 189, 248, 0.12);
}

.site-menu a:not(.nav-cta):is([aria-current="page"], :target-current, .target-current)::after {
  content: "";
  position: absolute;
  inset-inline: 0.9rem;
  inset-block-end: 0.3rem;
  block-size: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-cyan));
}

@media (forced-colors: active) {
  .site-menu a:not(.nav-cta):is([aria-current="page"], :target-current, .target-current)::after {
    background: Highlight;
  }
}

.site-menu .nav-cta {
  margin-block-start: 0.35rem;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-green-bright), #4d7c0f);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding-inline: 1.2rem;
  box-shadow: 0 4px 16px rgba(101, 163, 13, 0.35);
}

.site-menu .nav-cta:hover {
  background: linear-gradient(135deg, #74b816, var(--brand-green-bright));
  color: #ffffff;
}

.site-menu .nav-cta:is(:target-current, .target-current) {
  box-shadow: 0 0 0 2px var(--bg-dark), 0 0 0 4px var(--brand-cyan), 0 6px 20px rgba(101, 163, 13, 0.45);
}

/* Wide / Inline Navigation */
.site-header.is-wide .header-inner {
  gap: 1.5rem;
}

.site-header.is-wide .menu-button {
  display: none;
}

.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  translate: none;
}

.site-header.is-wide .site-menu::backdrop {
  display: none;
}

.site-header.is-wide .site-menu .nav-cta {
  margin-block-start: 0;
  margin-inline-start: 0.5rem;
}

/* ==========================================================================
   Hero Section (Softened Washing Machine Drum + Washer Blue-Green Gradient)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 6vw, 84px) 0 clamp(68px, 8vw, 108px);
  background-color: var(--bg-dark);
  overflow: clip;
}

.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: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero-code-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background-color: rgba(15, 31, 56, 0.72);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-code-tag::before {
  content: "";
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: 50%;
  background-color: var(--brand-lime);
  box-shadow: 0 0 10px var(--brand-lime);
  flex-shrink: 0;
}

.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-h1-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.1rem, 1.9vw, 1.48rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--brand-cyan);
}

.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: 1rem;
  margin-bottom: 34px;
}

.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, minmax(0, 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, minmax(0, 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: repeat(2, minmax(0, 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: minmax(0, 0.88fr) minmax(0, 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: minmax(0, 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, minmax(0, 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, minmax(0, 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, minmax(0, 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, minmax(0, 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: clip;
}

.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: minmax(0, 0.9fr) minmax(0, 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: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  min-inline-size: 0;
  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 {
  min-inline-size: 0;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 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;
  clip-path: inset(50%) !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !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;
  isolation: isolate;
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(44px, 5.5vw, 72px);
  background-color: var(--bg-dark);
  overflow: clip;
}

.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, minmax(0, 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 {
  container-type: inline-size;
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  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(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 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;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  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;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  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;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 12px;
}

.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: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 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 & Container Queries
   ========================================================================== */
@container (width < 540px) {
  .pricing-table thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-hairline);
  }

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

  .pricing-table td {
    padding: 4px 0;
    border-bottom: 0;
  }

  .pricing-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }

  .pricing-table .td-price {
    white-space: normal;
    margin-top: 4px;
    color: var(--brand-blue);
  }
}

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

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

  .challenges-sticky {
    position: static;
  }

  .hero-floating-card--bottom {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .hero-floating-card--top {
    right: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
  }

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

@media (max-width: 768px) {
  .metrics-grid,
  .highlights-grid,
  .pillars-grid,
  .modules-grid,
  .testimonials-grid,
  .team-grid,
  .pricing-cards-grid,
  .form-grid-row,
  .footer-grid {
    grid-template-columns: minmax(0, 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,
  .pillar-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;
  }
}

/* ==========================================================================
   FAQ Accordion (#faq-cennik)
   ========================================================================== */

.faq-list {
  max-width: 52rem;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.faq-item[open] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
  background-color: var(--brand-blue-tint);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}
