/* ==========================================================================
   Pralnia Limonka — Design System & Stylesheet (Pure Vanilla CSS)
   Aesthetic: Warm Fresh Linen, Botanical Lime & Deep Forest Craftsmanship
   ========================================================================== */

:root {
  /* Surface Palette — Warm Freshly-Pressed Cotton & Botanical Sage */
  --bg-page: hsl(68, 28%, 98%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-subtle: hsl(76, 26%, 94%);
  --bg-subtle-hover: hsl(76, 26%, 90%);
  --bg-forest: hsl(148, 38%, 13%);
  --bg-forest-elevated: hsl(148, 34%, 17%);

  /* Typography Colors */
  --text-primary: hsl(148, 32%, 12%);
  --text-secondary: hsl(146, 14%, 33%);
  --text-muted: hsl(145, 10%, 46%);
  --text-on-forest: hsl(72, 30%, 96%);
  --text-on-forest-muted: hsl(82, 16%, 76%);

  /* Botanical Limonka Accents */
  --lime-primary: hsl(88, 64%, 31%);
  --lime-primary-hover: hsl(90, 68%, 25%);
  --lime-zest: hsl(76, 76%, 50%);
  --lime-zest-soft: hsl(77, 68%, 88%);
  --lime-tint: hsl(78, 52%, 93%);

  /* Semantic Feedback */
  --status-success-bg: hsl(138, 48%, 94%);
  --status-success-text: hsl(142, 64%, 22%);
  --status-error-bg: hsl(4, 76%, 96%);
  --status-error-text: hsl(4, 68%, 34%);

  /* Hairlines & Elevation */
  --border-subtle: hsl(75, 16%, 88%);
  --border-strong: hsl(75, 16%, 78%);
  --border-on-forest: hsla(80, 30%, 85%, 0.14);

  --shadow-sm: 0 1px 2px hsla(148, 30%, 12%, 0.04), 0 4px 12px hsla(148, 30%, 12%, 0.03);
  --shadow-md: 0 4px 10px hsla(148, 30%, 12%, 0.05), 0 16px 36px hsla(148, 30%, 12%, 0.06);
  --shadow-lg: 0 12px 28px hsla(148, 30%, 12%, 0.08), 0 32px 64px hsla(148, 30%, 12%, 0.08);

  /* Typography Families */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout & Radii */
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-height: 76px;

  /* Transitions */
  --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%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1100;
  background: var(--lime-zest);
  color: var(--bg-forest);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

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

/* Typography Utilities */
.overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-primary);
  margin-bottom: 14px;
}

.overline--light {
  color: var(--lime-zest);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.h1-display {
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin-bottom: 22px;
}

.h2-section {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.026em;
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn--primary {
  background-color: var(--lime-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px hsla(88, 64%, 28%, 0.22);
}

.btn--primary:hover {
  background-color: var(--lime-primary-hover);
  box-shadow: 0 6px 20px hsla(88, 64%, 25%, 0.3);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-secondary);
}

.btn--zest {
  background-color: var(--lime-zest);
  color: var(--bg-forest);
  font-weight: 700;
}

.btn--zest:hover {
  background-color: hsl(76, 82%, 56%);
  transform: translateY(-1px);
}

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

/* ==========================================================================
   Anchored Fixed Header & Navigation (Contrasting Deep Forest Bar)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: hsla(148, 42%, 11%, 0.96);
  color: var(--text-on-forest);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid hsla(76, 65%, 62%, 0.18);
  box-shadow: 0 4px 20px hsla(148, 45%, 8%, 0.16);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background-color: hsla(148, 44%, 9%, 0.98);
  border-bottom-color: hsla(76, 70%, 60%, 0.28);
  box-shadow: 0 8px 28px hsla(148, 45%, 6%, 0.28);
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.03);
}

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

.site-header .brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.site-header .brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-on-forest-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

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

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: hsl(76, 24%, 86%);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--lime-zest);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: hsla(80, 30%, 92%, 0.1);
  border: 1px solid hsla(80, 30%, 90%, 0.16);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-phone:hover {
  background-color: hsla(76, 76%, 50%, 0.18);
  border-color: hsla(76, 76%, 50%, 0.45);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--lime-zest);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid hsla(80, 30%, 90%, 0.2);
  background: hsla(80, 30%, 92%, 0.08);
  color: #ffffff;
  cursor: pointer;
}

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

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: hsl(148, 40%, 12%);
  color: var(--text-on-forest);
  border-bottom: 1px solid hsla(76, 65%, 62%, 0.22);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease, visibility 0.25s;
  z-index: 999;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-nav-links a {
  padding: 12px 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid var(--border-on-forest);
}

.mobile-nav-links a:hover {
  color: var(--lime-zest);
}

.mobile-nav-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.metric-label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-subtle);
  aspect-ratio: 16 / 10;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-status-card {
  position: absolute;
  left: 22px;
  bottom: -20px;
  right: 22px;
  max-width: 390px;
  background: hsla(0, 0%, 100%, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-info {
  display: flex;
  flex-direction: column;
}

.status-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background-color: var(--lime-tint);
  color: var(--lime-primary);
  white-space: nowrap;
}

.status-indicator.is-closed {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

/* ==========================================================================
   Section Spacing & Structure
   ========================================================================== */
.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

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

.section--forest {
  background-color: var(--bg-forest);
  color: var(--text-on-forest);
}

.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: var(--text-on-forest);
}

.section--forest .lead {
  color: var(--text-on-forest-muted);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ==========================================================================
   Wet Cleaning Section
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-surface);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-caption {
  padding: 14px 20px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.feature-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--lime-primary);
  flex-shrink: 0;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Interactive Price List (Cennik) & Quick Estimator
   ========================================================================== */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

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

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.tab-btn.is-active {
  background-color: var(--bg-forest);
  border-color: var(--bg-forest);
  color: var(--text-on-forest);
}

.search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 36px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--lime-primary);
  box-shadow: 0 0 0 3px hsla(88, 64%, 31%, 0.14);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
}

.search-clear.is-visible {
  display: inline-flex;
}

.pricing-ledger {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.15s ease;
}

.price-row:nth-child(odd) {
  border-right: 1px solid var(--border-subtle);
}

.price-row:hover {
  background-color: hsl(68, 30%, 98.5%);
}

.price-row.is-selected {
  background-color: var(--lime-tint);
}

.price-row[hidden] {
  display: none !important;
}

.price-item-info {
  min-width: 0;
  flex: 1;
}

.price-item-name {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.price-item-meta {
  display: block;
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.price-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  white-space: nowrap;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.qty-btn:hover {
  background-color: var(--lime-primary);
  border-color: var(--lime-primary);
  color: #ffffff;
}

.qty-count {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pricing-status {
  grid-column: 1 / -1;
  padding: 36px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
}

.pricing-footer-note {
  padding: 14px 24px;
  background-color: hsl(68, 24%, 97%);
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Estimate Summary Bar */
.estimate-bar {
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background-color: var(--bg-forest);
  color: var(--text-on-forest);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.estimate-bar[hidden] {
  display: none !important;
}

.estimate-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.estimate-total-line {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.estimate-total-line strong {
  color: var(--lime-zest);
  font-size: 1.25rem;
}

.estimate-items-preview {
  font-size: 0.83rem;
  color: var(--text-on-forest-muted);
}

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

.btn-link-light {
  background: transparent;
  border: 1px solid var(--border-on-forest);
  color: var(--text-on-forest-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
}

.btn-link-light:hover {
  color: #ffffff;
  border-color: hsla(80, 30%, 85%, 0.4);
}

/* ==========================================================================
   B2B & Industrial Machinery Section (Deep Forest)
   ========================================================================== */
.b2b-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.b2b-pillars {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.b2b-pillar {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background-color: var(--bg-forest-elevated);
  border: 1px solid var(--border-on-forest);
}

.b2b-pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.b2b-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-on-forest-muted);
  line-height: 1.58;
}

.b2b-gallery {
  display: grid;
  gap: 20px;
}

.b2b-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-on-forest);
}

.b2b-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.b2b-photo figcaption {
  padding: 12px 18px;
  background-color: var(--bg-forest-elevated);
  font-size: 0.82rem;
  color: var(--text-on-forest-muted);
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.sector-tag {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background-color: hsla(76, 76%, 50%, 0.12);
  color: var(--lime-zest);
}

/* ==========================================================================
   About Us, Timeline & EU Solar Project
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.timeline-step {
  padding-top: 20px;
  border-top: 2px solid var(--border-strong);
  transition: border-color 0.2s ease;
}

.timeline-step:hover {
  border-top-color: var(--lime-primary);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lime-primary);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.timeline-step h3 {
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.timeline-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* EU Funding Banner / Expandable Block */
.eu-card {
  margin-top: 48px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 34px);
  box-shadow: var(--shadow-sm);
}

.eu-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eu-badge-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eu-flag {
  width: 52px;
  height: 36px;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 20, 60, 0.14);
}

.eu-title-wrap h3 {
  font-size: 1.08rem;
  margin-bottom: 3px;
}

.eu-title-wrap p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.eu-grant-amount {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.eu-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.eu-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--lime-primary);
  user-select: none;
}

.eu-details p {
  margin: 12px 0 0;
  max-width: 85ch;
  line-height: 1.65;
}

/* ==========================================================================
   Location & Cloudflare Contact Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-details-list {
  padding: clamp(24px, 3.5vw, 32px);
  display: grid;
  gap: 20px;
}

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

.contact-block-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-block-value a {
  color: var(--lime-primary);
  text-decoration: underline;
  text-decoration-color: hsla(88, 64%, 31%, 0.35);
  text-underline-offset: 3px;
}

.contact-block-value a:hover {
  text-decoration-color: var(--lime-primary);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 4px;
}

.hours-table td {
  padding: 4px 0;
  color: var(--text-secondary);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.company-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.map-embed-wrap {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
}

.map-embed-wrap iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

.map-footer-bar {
  padding: 12px 24px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.map-footer-bar a {
  font-weight: 600;
  color: var(--lime-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-footer-bar a:hover {
  text-decoration: underline;
}

/* Contact Form Card */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.form-subtitle {
  margin: 0 0 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label span {
  color: var(--text-muted);
  font-weight: 400;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-page);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:hover {
  border-color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  background-color: var(--bg-surface);
  border-color: var(--lime-primary);
  box-shadow: 0 0 0 3px hsla(88, 64%, 31%, 0.14);
}

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

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

/* Honeypot — hidden from humans & screen readers */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 20px;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--lime-primary);
  flex-shrink: 0;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
}

.form-submit-btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.form-submit-btn.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback[hidden] {
  display: none !important;
}

.form-feedback.is-success {
  background-color: var(--status-success-bg);
  color: var(--status-success-text);
  border: 1px solid hsla(142, 64%, 22%, 0.2);
}

.form-feedback.is-error {
  background-color: var(--status-error-bg);
  color: var(--status-error-text);
  border: 1px solid hsla(4, 68%, 34%, 0.2);
}

/* ==========================================================================
   Footer & Cookie Notice
   ========================================================================== */
.site-footer {
  background-color: hsl(148, 42%, 10%);
  color: var(--text-on-forest-muted);
  padding: 48px 0 32px;
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-on-forest);
}

.footer-brand-col {
  max-width: 360px;
}

.footer-brand-col .brand-name {
  color: #ffffff;
}

.footer-brand-col .brand-sub {
  color: var(--text-on-forest-muted);
}

.footer-brand-col p {
  margin: 14px 0 0;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--lime-zest);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

/* Subtle Bottom Cookie Notice */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  left: 18px;
  max-width: 540px;
  margin-left: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 120;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split-layout,
  .b2b-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-bottom: 16px;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-row:nth-child(odd) {
    border-right: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding: 0 18px;
  }

  .header-actions .btn--zest {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-status-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .feature-matrix,
  .timeline-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .search-box {
    max-width: none;
  }

  .price-row {
    padding: 14px 16px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .pricing-controls,
  .qty-controls,
  .estimate-bar,
  .form-card,
  .map-embed-wrap,
  .cookie-banner {
    display: none !important;
  }
  body {
    padding-top: 0;
    background: #fff;
    color: #000;
  }
}
