/* ============================================
   LAMDO — Landing Page Styles
   Industrial / Premium / Minimal
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary:       #0A1A24;
  --color-accent:        #00B8F0;
  --color-accent-hover:  #33C9F7;
  --color-cta:           #00B8F0;
  --color-cta-hover:     #009ED6;
  --color-bg:            #FFFFFF;
  --color-surface:       #EEF3F7;
  --color-text:          #13212B;
  --color-text-secondary:#51626E;
  --color-text-light:    #FFFFFF;
  --color-dark:          #042B3E;
  --color-dark-alt:      #031C28;
  --color-border:        #D5DEE4;
  --font-heading:        'Lato', sans-serif;
  --font-body:           'Open Sans', sans-serif;
  --font-mono:           'JetBrains Mono', 'SF Mono', monospace;
  --ease-out:            cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:         cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.topbar a:hover { color: #fff; }

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: rgba(4,43,62,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.is-scrolled {
  background: rgba(4,43,62,0.97);
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

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

.navbar__phone {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar__phone svg { width: 16px; height: 16px; }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta);
  color: #042B3E !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}

.navbar__cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

.navbar__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.navbar__cta:hover svg {
  transform: translateX(3px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Animated canvas background */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 15, 45, 0.92) 0%,
    rgba(0, 15, 45, 0.75) 45%,
    rgba(0, 10, 30, 0.5) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 72px;
  max-width: 720px;
  margin-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  margin-right: auto;
  padding-left: 0;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent-hover);
  margin-bottom: 24px;
}

.hero__label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-accent-hover);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 56px);
  overflow-wrap: break-word;
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent-hover);
}

.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats strip */
.hero__stats {
  display: flex;
  gap: 1px;
  margin-top: 56px;
  background: rgba(4, 43, 62, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__stat {
  flex: 1;
  padding: 20px 24px;
  background: rgba(4, 43, 62, 0.3);
  text-align: center;
  min-width: 120px;
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  white-space: nowrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
  line-height: 1.3;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

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

.btn--primary {
  background: var(--color-cta);
  color: #042B3E;
  border-color: var(--color-cta);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 240, 0.30);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--color-text-light);
  border-color: rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
}

.btn--dark {
  background: var(--color-text);
  color: var(--color-text-light);
}

.btn--dark:hover {
  background: #333;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-text-light);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-text-light);
}

.section--dark-alt {
  background: var(--color-dark-alt);
  color: var(--color-text-light);
}

.section--surface {
  background: var(--color-surface);
}

.section__header {
  max-width: 600px;
  margin-bottom: 64px;
}

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

.section__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}

.section--dark .section__label {
  color: var(--color-accent-hover);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section--dark .section__title,
.section--dark-alt .section__title {
  color: var(--color-text-light);
}

.section__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.section--dark .section__desc {
  color: rgba(255,255,255,0.82);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: scale-x linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes scale-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(4, 43, 62, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 14px 24px;
  color: var(--color-text-light) !important;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(4, 43, 62, 0.3);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), background 0.2s;
  pointer-events: none;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background: rgba(0, 184, 240, 0.95);
  transform: translateY(-2px);
  color: var(--color-text-light) !important;
}

/* ============================================
   CAPABILITIES — BENTO GRID
   ============================================ */
.cap-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 12px;
}

.cap-bento__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-dark);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.cap-bento__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.cap-bento__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}

.cap-bento__item:hover img {
  opacity: 0.35;
  transform: scale(1.05);
}

.cap-bento__content {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.cap-bento__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.cap-bento__text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.cap-bento__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--color-dark);
  color: var(--color-text-light);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}

.cap-bento__spec {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-light);
}

/* Bento sizes */
.cap-bento__item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.cap-bento__item--hero .cap-bento__title {
  font-size: 24px;
}

.cap-bento__item--hero .cap-bento__text {
  font-size: 15px;
  max-width: 360px;
}

.cap-bento__item--wide {
  grid-column: span 2;
}

.cap-bento__item--tall {
  grid-row: span 2;
}

/* ============================================
   CSS SCROLL-DRIVEN ANIMATIONS (native)
   ============================================ */
@supports (animation-timeline: view()) {
  .scroll-reveal {
    animation: css-fade-in-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  @keyframes css-fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .scroll-reveal-img {
    animation: css-reveal-image linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  @keyframes css-reveal-image {
    from { clip-path: inset(20% 0 0 0); opacity: 0.5; }
    to   { clip-path: inset(0 0 0 0); opacity: 1; }
  }
}

@supports not (animation-timeline: view()) {
  .scroll-reveal,
  .scroll-reveal-img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* Material card with image */
.material__image {
  width: 100%;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

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

/* ============================================
   SPLIT SECTION (image + content)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.split__content { max-width: 480px; }

.split__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.split__list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.split__list li::before {
  content: "";
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 184, 240, 0.08);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   BIG NUMBERS / STATS STRIP
   ============================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-strip__item {
  padding: 48px 32px;
  text-align: center;
  position: relative;
}

.stats-strip__item + .stats-strip__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stats-strip__value {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-strip__label {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ============================================
   PROCESS / STEPS
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--color-border);
}

.process__step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.process__step:hover .process__number {
  background: var(--color-dark);
  border-color: var(--color-accent);
  color: var(--color-text-light);
}

.process__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   SPECS
   ============================================ */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: var(--color-bg);
  font-size: 15px;
}

.spec__label {
  color: var(--color-text-secondary);
}

.spec__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px 200px;
  gap: 8px;
}

/* Hero item: spans 2 cols, 2 rows */
.bento__item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

/* Wide item: spans 2 cols */
.bento__item--wide {
  grid-column: span 2;
}

/* Tall item: spans 2 rows */
.bento__item--tall {
  grid-row: span 2;
}

.bento__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
}

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

.bento__item:hover img {
  transform: scale(1.05);
}

.bento__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.bento__item:hover .bento__overlay {
  opacity: 1;
}

.bento__caption {
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 700;
}

.bento__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.lightbox__info {
  margin-top: 16px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 36px;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.lightbox__close:hover { color: #fff; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 32px 24px;
  transition: background 0.3s, border-color 0.3s;
}

.industry:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.industry__image {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.industry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  opacity: 0.8;
}

.industry:hover .industry__image img {
  transform: scale(1.05);
  opacity: 1;
}

.industry__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.industry__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.industry__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ============================================
   MATERIALS
   ============================================ */
.materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.material {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.material:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0,184,240,0.08);
}

.material__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.material__types {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--color-dark);
  color: var(--color-text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.contact__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent-hover);
  margin-bottom: 16px;
}

.contact__title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact__text {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact__info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-hover);
}

.contact__info-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.contact__info-value {
  font-weight: 600;
  font-size: 15px;
}

.contact__info-value a {
  color: var(--color-text-light);
}

.contact__info-value a:hover {
  color: var(--color-accent-hover);
}

/* Form */
.form {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 40px;
}

.form__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 184, 240, 0.08);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #B0B0B8;
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}

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

.form__submit {
  width: 100%;
  padding: 14px;
  background: var(--color-cta);
  color: #042B3E;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.form__submit:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

.form__consent {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

.form__consent a { color: var(--color-accent); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
}

.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }

/* ============================================
   MOTION REVEAL — initial states
   Elements start hidden, motion.dev animates in
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate="fade"] {
  transform: none;
}

[data-animate="scale"] {
  transform: scale(0.96);
}

[data-animate="slide-left"] {
  transform: translateX(-40px);
}

[data-animate="slide-right"] {
  transform: translateX(40px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cap-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .cap-bento__item { min-height: 220px; }
  .cap-bento__item--hero { grid-column: span 2; grid-row: span 1; }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--reverse { direction: ltr; }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip__item + .stats-strip__item::before {
    display: none;
  }
  .industries, .materials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section { padding: 72px 0; }

  .hero { min-height: 500px; }
  .hero .container {
    margin-left: 20px;
    padding-right: 20px;
  }
  .hero__stats {
    flex-direction: column;
    gap: 0;
  }
  .hero__stat {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .cap-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .cap-bento__item--hero,
  .cap-bento__item--wide { grid-column: span 1; }
  .cap-bento__item--tall { grid-row: span 1; }
  .cap-bento__item { min-height: 200px; }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .process::before { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento__item--hero { grid-column: span 2; grid-row: span 1; }
  .bento__item { min-height: 180px; }

  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
  .topbar__hours { display: none; }
  .topbar__links { gap: 14px; }

  .navbar__phone { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 30px; letter-spacing: -0.02em; }
  .hero__desc { font-size: 15px; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .hero__stats { border-radius: 0; }
  .stats-strip { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .industries, .materials { grid-template-columns: 1fr; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento__item--hero,
  .bento__item--wide { grid-column: span 1; }
  .bento__item--tall { grid-row: span 1; }
  .bento__item { min-height: 200px; }
  .specs { grid-template-columns: 1fr; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__bg { animation: none; }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* No-JS fallback */
.no-js [data-animate] {
  opacity: 1;
  transform: none;
}


/* ===== NAVBAR — MENU GŁÓWNE ===== */
.navbar .container { gap: 24px; }
.navbar__menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.navbar__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.navbar__link { color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 600; position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.navbar__link:hover { color: #fff; }
.navbar__link.is-active { color: var(--color-accent-hover); }
.navbar__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navbar__link:hover::after, .navbar__link.is-active::after { transform: scaleX(1); }
.navbar__toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 42px; color: #fff; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.3); border-radius: 9px; cursor: pointer; padding: 0; margin-left: auto; position: relative; z-index: 130; }
.navbar__toggle-close { display: none; }
.navbar.is-menu-open .navbar__toggle-open { display: none; }
.navbar.is-menu-open .navbar__toggle-close { display: block; }
@media (max-width: 960px) {
  .navbar__menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 92px 28px 28px; margin: 0; background: var(--color-dark); box-shadow: -12px 0 40px rgba(0,0,0,0.45); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 110; }
  .navbar.is-menu-open .navbar__menu { transform: translateX(0); }
  .navbar__links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .navbar__link { font-size: 17px; padding: 13px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .navbar__link::after { display: none; }
  .navbar__menu .navbar__cta { margin-top: 18px; width: 100%; justify-content: center; }
}


/* ===== FAQ ===== */
.faq__wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.faq__list { margin-top: 40px; text-align: left; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--color-text); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--color-accent); border-radius: 2px; transition: transform .25s ease; }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { color: var(--color-text-secondary); font-size: 15px; line-height: 1.7; padding: 0 0 22px; max-width: 92%; }
.faq__item[open] .faq__q { color: var(--color-accent); }


/* ===== STRONA KONTAKT ===== */
.contact-hero { padding: 140px 0 60px; text-align: center; }
.contact-hero__title { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 16px; }
.contact-hero__desc { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.contact-map { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
@media (max-width: 600px) { .contact-hero { padding: 116px 0 44px; } }


/* ===== MAPA FULL-WIDTH + STRONA PRAWNA ===== */
.contact-map-full { width: 100%; display: block; border: 0; }
.legal { padding: 130px 0 72px; }
.legal__wrap { max-width: 800px; margin: 0 auto; }
.legal h1 { font-family: var(--font-heading); font-size: clamp(30px,4vw,44px); font-weight: 700; color: var(--color-text); margin-bottom: 12px; letter-spacing:-0.02em; }
.legal h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--color-text); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--color-text-secondary); font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; margin: 8px 0 16px; }
.legal a { color: var(--color-accent); }
.legal__updated { color: var(--color-text-secondary); font-size: 13px; margin-bottom: 28px; }


/* ===== BACKDROP MENU MOBILNEGO ===== */
.nav-backdrop { position: fixed; inset: 0; background: rgba(2,16,26,0.6); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s; }
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

/* Hamburger na mobile — wymuszone (proven) */
@media (max-width: 960px) { .navbar__toggle { display: flex !important; } }

/* ===== MENU MOBILNE — wymuszone (fix kaskady) ===== */
@media (max-width: 960px) {
  .navbar__menu {
    position: fixed !important; top: 0 !important; right: 0 !important;
    height: 100vh !important; height: 100dvh !important;
    width: min(84vw, 320px) !important;
    display: flex !important; flex-direction: column !important;
    align-items: stretch !important; justify-content: flex-start !important;
    gap: 0 !important; padding: 100px 26px 32px !important; margin: 0 !important;
    background: #042B3E !important; box-shadow: -14px 0 44px rgba(0,0,0,0.5) !important;
    transform: translateX(105%); transition: transform .3s ease !important;
    overflow-y: auto !important; z-index: 110 !important;
  }
  .navbar.is-menu-open .navbar__menu { transform: translateX(0) !important; }
  .navbar__links { flex-direction: column !important; align-items: stretch !important; gap: 0 !important; width: 100% !important; }
  .navbar__links li { width: 100% !important; list-style: none !important; }
  .navbar__link { display: block !important; width: 100% !important; font-size: 17px !important; padding: 15px 2px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
  .navbar__link::after { display: none !important; }
  .navbar__menu .navbar__cta { margin-top: 22px !important; width: 100% !important; justify-content: center !important; }
}

/* ===== PARK MASZYNOWY ===== */
.machine-name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); color: var(--color-text); margin: 6px 0 14px; letter-spacing: -0.02em; }
.machine-row { margin-top: 56px; }
.machine-row + .machine-row { margin-top: 68px; }

.machine-gallery { display: grid; gap: 14px; aspect-ratio: auto !important; overflow: visible !important; }
.machine-gallery img { width: 100%; height: auto !important; object-fit: cover; border-radius: 8px; display: block; }
.machine-drawing { background: #fff; display: flex; align-items: center; justify-content: center; padding: 28px; border: 1px solid var(--color-border); }
.machine-drawing img { object-fit: contain !important; mix-blend-mode: multiply; }

/* ===== PROCES 7 KROKÓW (formy) ===== */
.process--7 { grid-template-columns: repeat(7, 1fr); }
.process--7 .process__step { padding: 0 10px; }
.process--7::before { left: 7%; right: 7%; }
.process__note { margin-top: 44px; text-align: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
@media (max-width: 1024px) {
  .process--7 { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process--7::before { display: none; }
}
@media (max-width: 768px) { .process--7 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process--7 { grid-template-columns: 1fr; } }

/* ===== DLACZEGO LAMDO ===== */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 28px 24px; }
.why__num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--color-accent); margin-bottom: 14px; display: block; }
.why__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.why__text { font-size: 14px; line-height: 1.6; color: var(--color-text-secondary); }
@media (max-width: 1024px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* ===== BRANŻE: 6 KART ===== */
.industries--6 { grid-template-columns: repeat(3, 1fr); }
.industries--6 .industry__image { height: 160px; }
@media (max-width: 1024px) { .industries--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industries--6 { grid-template-columns: 1fr; } }

/* ===== PORTFOLIO: WIĘCEJ REALIZACJI ===== */
.bento { grid-template-rows: none; grid-auto-rows: 220px; grid-auto-flow: dense; }
@media (max-width: 768px) { .bento { grid-auto-rows: 180px; } }
@media (max-width: 480px) { .bento { grid-auto-rows: 220px; } }

/* ===== DRUK 3D: PARAMETRY ===== */
.print-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.print-stat { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 24px; }
.print-stat__value { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--color-accent); letter-spacing: -0.02em; }
.print-stat__label { font-size: 14px; color: var(--color-text-secondary); margin-top: 6px; line-height: 1.5; }
.specs--wide { max-width: none; }
@media (max-width: 768px) { .print-stats { grid-template-columns: repeat(2, 1fr); } }
/* ============================================
   MOTYW: AUTOMATION (ciemny domyślnie + jasny)
   --fg to kanały RGB koloru pierwszego planu, kolory półprzezroczyste
   liczymy jako rgba(var(--fg), a), więc działają w obu motywach.
   Topbar, navbar, hero, pas statystyk, kontakt i stopka są zawsze ciemne.
   ============================================ */
:root, :root[data-theme="dark"] {
  --fg:                   255,255,255;
  --color-primary:        #07111F;
  --color-accent:         #FFFFFF;
  --color-accent-hover:   #FFFFFF;
  --color-cta:            #FFFFFF;
  --color-cta-hover:      #E5E5E5;
  --color-cta-text:       #07111F;
  --color-bg:             #07111F;
  --color-surface:        #0B1828;
  --color-text:           #F5F5F5;
  --color-text-secondary: rgba(255,255,255,0.7);
  --color-text-light:     #FFFFFF;
  --color-dark:           #0B1828;
  --color-dark-alt:       #0E1D30;
  --color-border:         #1B2B40;
  --color-muted:          #888888;
  --font-display:         'Orbitron', 'Space Grotesk', sans-serif;
  --font-heading:         'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:            'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono:            'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --fg:                   15,17,21;
  --color-accent:         #0F1115;
  --color-accent-hover:   #0F1115;
  --color-cta:            #0F1115;
  --color-cta-hover:      #2A2E35;
  --color-cta-text:       #FFFFFF;
  --color-bg:             #F2F6FA;
  --color-surface:        #E7EEF5;
  --color-text:           #0F1115;
  --color-text-secondary: rgba(15,17,21,0.68);
  --color-border:         #D3DDE7;
  --color-muted:          #6B7078;
  color-scheme: light;
}
/* stałe ciemne wyspy: tylko pas statystyk (zdjęcie w tle) i lightbox */
.section--dark, .lightbox {
  --fg:                   255,255,255;
  --color-accent:         #FFFFFF;
  --color-cta:            #FFFFFF;
  --color-cta-hover:      #E5E5E5;
  --color-cta-text:       #07111F;
  --color-bg:             #07111F;
  --color-text:           #F5F5F5;
  --color-text-secondary: rgba(255,255,255,0.7);
  --color-border:         #1B2B40;
  color-scheme: dark;
}

::selection { background: rgb(var(--fg)); color: var(--color-bg); }
html { background: var(--color-bg); }
body { background: var(--color-bg); color: var(--color-text); font-weight: 400; }
.text-glow { text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* topbar + navbar */
.topbar { background: #000; color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.06); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }
.navbar, .navbar.is-scrolled { background: rgba(0,0,0,0.7); border-bottom: 1px solid rgba(255,255,255,0.06); box-shadow: none; }
.navbar__link { font-weight: 500; color: rgba(255,255,255,0.7); }
.navbar__link.is-active { color: #fff; }
.navbar__link::after { height: 1px; background: #fff; }
.navbar__cta { border-radius: 999px; background: #fff; color: #000 !important; font-weight: 600; font-size: 13px; padding: 10px 22px; }
.navbar__cta:hover { background: #E5E5E5; }
.scroll-progress { height: 2px; background: rgb(var(--fg)); opacity: 0.8; }
@media (max-width: 960px) { .navbar__menu { background: #0A0A0A !important; } }
.nav-backdrop { background: rgba(0,0,0,0.7); }

/* przełącznik motywu */
.theme-toggle { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: border-color .2s, color .2s; }
.theme-toggle:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }
.navbar__tools { display: flex; align-items: center; gap: 12px; }
@media (max-width: 960px) { .navbar__tools { margin-left: auto; } }

/* kurtyna motywu (jak w senuto-www): stary widok stoi, nowy odsłania się kołem */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* przyciski */
.btn { border-radius: 999px; font-weight: 500; }
.btn--primary { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-cta-text); }
.btn--primary:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); box-shadow: 0 0 24px rgba(var(--fg),0.2); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: rgba(var(--fg),0.2); }
.btn--ghost:hover { background: transparent; border-color: rgba(var(--fg),0.6); }
.btn--outline { color: var(--color-text); border-color: rgba(var(--fg),0.25); }
.btn--outline:hover { background: var(--color-cta); color: var(--color-cta-text); border-color: var(--color-cta); }

/* sekcje */
.section--dark { background: #000; color: #fff; }
.section--dark-alt { background: var(--color-bg); color: var(--color-text); }
.section--surface { background: var(--color-surface); border-top: 1px solid rgba(var(--fg),0.05); border-bottom: 1px solid rgba(var(--fg),0.05); }
.section__label, .section--dark .section__label, .contact__eyebrow {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(var(--fg),0.6);
}
.section__title, .contact__title {
  font-weight: 300; letter-spacing: -0.03em;
  background: linear-gradient(to right, rgba(var(--fg),0.45), rgba(var(--fg),0.85) 45%, rgb(var(--fg)));
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.section__header--center .section__title { background: linear-gradient(to right, rgba(var(--fg),0.5), rgb(var(--fg)) 50%, rgba(var(--fg),0.5)); -webkit-background-clip: text; background-clip: text; }
.section__desc, .section--dark .section__desc { color: var(--color-text-secondary); font-weight: 300; }
.machine-name, .why__title, .process__title, .industry__name, .faq__q, .material__name { font-family: var(--font-heading); font-weight: 500; color: var(--color-text); }
.industry__desc, .material__types { color: var(--color-text-secondary); }

/* karty i obramowania */
.why__item, .print-stat, .material, .industry, .form, .contact__info-icon {
  background: rgba(var(--fg),0.03); border: 1px solid rgba(var(--fg),0.09); border-radius: 16px;
}
.why__item:hover, .print-stat:hover, .material:hover, .industry:hover { border-color: rgba(var(--fg),0.25); background: rgba(var(--fg),0.05); box-shadow: none; }
.why__num { color: rgba(var(--fg),0.5); letter-spacing: 0.2em; }
.print-stat__value { color: var(--color-text); font-weight: 500; }
.specs { background: rgba(var(--fg),0.09); border-color: rgba(var(--fg),0.09); border-radius: 16px; }
.spec { background: var(--color-bg); }
.spec__value { color: var(--color-text); font-weight: 500; }
.split__image, .machine-gallery img, .bento__item, .cap-bento__item, .industry__image { border-radius: 16px; }
.split__image img, .bento__item img, .industry__image img { filter: saturate(0.85); }
.split__list li::before { background: transparent; border: 1px solid rgba(var(--fg),0.4); width: 8px; height: 8px; min-width: 8px; margin-top: 8px; }
.machine-drawing { background: var(--color-bg); border-color: rgba(var(--fg),0.1); }
.machine-drawing img { mix-blend-mode: multiply; opacity: 0.85; }
:root:not([data-theme="light"]) .machine-drawing img { filter: invert(1); mix-blend-mode: screen; }
.process::before { background: rgba(var(--fg),0.1); }
.process__number { background: var(--color-bg); border: 1px solid rgba(var(--fg),0.2); color: var(--color-text); font-weight: 500; font-size: 14px; }
.process__step:hover .process__number { background: var(--color-cta); color: var(--color-cta-text); border-color: var(--color-cta); }
.process__note { color: rgba(var(--fg),0.6); font-weight: 500; }
.stats-strip__value { font-family: var(--font-mono); font-weight: 500; color: #fff; }
.stats-strip__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.cap-bento__badge { background: #fff; color: #000; border-radius: 999px; font-family: var(--font-mono); letter-spacing: 0.1em; }
.cap-bento__spec { font-family: var(--font-mono); color: #fff; }
.faq__item { border-color: rgba(var(--fg),0.1); }
.faq__a, .faq__a p { color: var(--color-text-secondary); }
.form__input, .form__select, .form__textarea { background: var(--color-bg) !important; border-color: rgba(var(--fg),0.15) !important; color: var(--color-text) !important; border-radius: 12px; }
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: rgba(var(--fg),0.6) !important; box-shadow: none !important; }
.form__submit { border-radius: 999px; background: var(--color-cta); color: var(--color-cta-text) !important; }
.form__label, .form__title { color: var(--color-text); }
.contact { background: #000; border-top: 1px solid rgba(255,255,255,0.06); }
.footer { background: #000; }
.floating-cta { background: rgba(var(--fg),0.1); color: var(--color-text) !important; border: 1px solid rgba(var(--fg),0.15); box-shadow: none; }
.floating-cta:hover { background: var(--color-cta); color: var(--color-cta-text) !important; }
:root[data-theme="light"] .floating-cta { background: rgba(244,245,246,0.85); }
.lightbox { background: rgba(0,0,0,0.95); }
:root:not([data-theme="light"]) .contact-map iframe { filter: grayscale(1) invert(0.92) contrast(0.9); }
:root[data-theme="light"] .contact-map iframe { filter: grayscale(1); }
.legal, .legal p, .legal li { color: var(--color-text-secondary); }

/* ===== HERO (pełny ekran) ===== */
.hero { min-height: calc(100svh - 70px); align-items: stretch; background: #000; }
.hero__bg { filter: grayscale(0.4) brightness(0.55); animation: heroZoom 25s ease-in-out infinite alternate; }
.hero__overlay { background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%), linear-gradient(to top, rgba(0,0,0,0.85), transparent 45%); }
.hero__spline { position: absolute; inset: 0; z-index: 1; transform: translateX(15%); opacity: 0; transition: opacity 1.2s ease; }
.hero__spline canvas { width: 100% !important; height: 100% !important; display: block; }
.hero--spline.is-spline-ready .hero__spline { opacity: 1; }
.hero--spline.is-spline-ready .hero__bg { opacity: 0; transition: opacity 1.2s ease; }
.hero--spline.is-spline-ready .hero__overlay { background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, transparent 55%); pointer-events: none; }
.hero .container.hero__inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 48px 32px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px; width: 100%;
  pointer-events: none;
}
.hero__inner a, .hero__specs { pointer-events: auto; }
.hero__top > * + * { margin-top: 28px; }
.hero__label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0; }
.hero__label::before { display: none; }
.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -0.01em; max-width: 760px; margin-bottom: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0.7), #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: heroIn 0.8s ease-out both;
}
.hero__title em { color: inherit; font-style: normal; }
.hero__desc { font-size: 14px; font-weight: 300; line-height: 1.7; color: #fff; max-width: 448px; margin-bottom: 0; animation: heroFade 0.8s 0.2s both; }
.hero__icons { display: flex; gap: 16px; animation: heroFade 0.8s 0.4s both; }
.hero__icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); transition: border-color 0.2s; }
.hero__icon:hover { border-color: rgba(255,255,255,0.6); }
.hero__icon svg { width: 16px; height: 16px; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero__specs { width: 100%; max-width: 448px; padding: 0; animation: heroUp 0.8s 0.8s both; }
.hero__specs-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.hero__specs-rows { display: flex; flex-direction: column; gap: 16px; }
.hero__spec { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; cursor: default; }
.hero__spec-label { font-size: 12px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.hero__spec:hover .hero__spec-label { color: #fff; }
.hero__spec-value { font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.02em; color: #fff; text-align: right; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); border-radius: 999px; pointer-events: auto; animation: heroFade 1s 1s both; }
.hero__pill { padding: 8px 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; color: #fff; white-space: nowrap; }
.hero__pill--active { background: #fff; color: #000; border-color: #fff; font-weight: 500; }
.hero__pill--active:hover { background: #e5e5e5; }
@keyframes heroIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
  .hero { min-height: calc(100svh - 64px); }
  .hero .container.hero__inner { margin: 0; padding: 32px 16px 24px; gap: 48px; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero__specs { max-width: none; }
  .hero__pills { border-radius: 16px; }
  .hero__title { line-height: 1.05; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__desc, .hero__icons, .hero__specs, .hero__pills { animation: none; }
}
/* hero: korekty wysokości i długich tytułów podstron */
.hero { min-height: calc(100svh - 104px); }
.hero .container.hero__inner { padding-top: 40px; padding-bottom: 28px; gap: 40px; }
.hero__top > * + * { margin-top: 22px; }
.hero__specs-rows { gap: 12px; }
.hero__spec { padding-bottom: 10px; }
.hero:not(.hero--spline) .hero__title { font-size: clamp(28px, 4.2vw, 54px); max-width: 920px; line-height: 1.05; }
.hero__title { overflow-wrap: normal; word-break: keep-all; hyphens: none; }
@media (max-width: 768px) { .hero { min-height: calc(100svh - 100px); } }
@media (max-width: 960px) {
  .theme-toggle { order: 1; margin-left: auto; }
  .navbar__toggle { order: 2; margin-left: 10px !important; }
}
@media (min-width: 961px) { .theme-toggle { margin-left: 16px; } }
.navbar, .navbar.is-scrolled { background: rgba(0,0,0,0.92); }
.pscan-out__tag { background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* hero 3D: na desktopie od razu czarne tło + frezarka, zdjęcie tylko jako zapas */
@media (min-width: 769px) {
  .hero--spline:not(.no-3d) .hero__bg { display: none; }
  .hero--spline:not(.no-3d) .hero__overlay { background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 45%, transparent 60%); }
}
.hero__spline { transition: opacity 0.5s ease; }
.navbar, .navbar.is-scrolled { border-bottom-color: #161616; }
.hero--spline .hero__spline { transform: none; }
.topbar { line-height: 18px; }
.navbar, .navbar.is-scrolled { background: #000; }

/* ===== MOTYW: góra strony, hero, kontakt i stopka też się przełączają ===== */
:root, :root[data-theme="dark"] { --bg-rgb: 7,17,31; }
:root[data-theme="light"] { --bg-rgb: 242,246,250; }
.topbar { background: var(--color-bg); color: rgba(var(--fg),0.55); border-bottom-color: rgba(var(--fg),0.08); }
.topbar a { color: rgba(var(--fg),0.85); }
.topbar a:hover { color: rgb(var(--fg)); }
.topbar__separator { background: rgba(var(--fg),0.15); }
.navbar, .navbar.is-scrolled { background: rgba(var(--bg-rgb),0.94); border-bottom-color: rgba(var(--fg),0.08); }
.navbar__link { color: rgba(var(--fg),0.7); }
.navbar__link:hover, .navbar__link.is-active { color: rgb(var(--fg)); }
.navbar__link::after { background: rgb(var(--fg)); }
.navbar__cta { background: var(--color-cta); color: var(--color-cta-text) !important; }
.navbar__cta:hover { background: var(--color-cta-hover); }
.navbar__toggle { color: rgb(var(--fg)) !important; background: rgba(var(--fg),0.06) !important; border-color: rgba(var(--fg),0.25) !important; }
@media (max-width: 960px) {
  .navbar__menu { background: var(--color-surface) !important; }
  .navbar__link { border-bottom-color: rgba(var(--fg),0.08) !important; }
}
:root[data-theme="light"] .navbar__logo img { filter: invert(1); }
.theme-toggle { border-color: rgba(var(--fg),0.2); color: rgba(var(--fg),0.85); }
.theme-toggle:hover { border-color: rgba(var(--fg),0.6); color: rgb(var(--fg)); }

.hero { background: var(--color-bg); }
.hero__label, .hero__specs-title { color: rgba(var(--fg),0.6); }
.hero__title { background-image: linear-gradient(to right, rgba(var(--fg),0.25), rgba(var(--fg),0.7), rgb(var(--fg))); }
.hero__desc { color: var(--color-text); }
.hero__icon { border-color: rgba(var(--fg),0.2); color: rgba(var(--fg),0.8); }
.hero__icon:hover { border-color: rgba(var(--fg),0.6); }
.hero__spec { border-bottom-color: rgba(var(--fg),0.1); }
.hero__spec-label { color: rgba(var(--fg),0.7); }
.hero__spec:hover .hero__spec-label, .hero__spec-value { color: rgb(var(--fg)); }
.hero__pills { background: rgba(var(--fg),0.07); border-color: rgba(var(--fg),0.06); }
.hero__pill { border-color: rgba(var(--fg),0.2); color: rgb(var(--fg)); }
.hero__pill--active { background: var(--color-cta); color: var(--color-cta-text); border-color: var(--color-cta); }
.hero__pill--active:hover { background: var(--color-cta-hover); }
.hero__overlay { background: linear-gradient(to right, rgba(var(--bg-rgb),0.92) 0%, rgba(var(--bg-rgb),0.6) 50%, rgba(var(--bg-rgb),0.3) 100%), linear-gradient(to top, rgba(var(--bg-rgb),0.85), transparent 45%); }
:root[data-theme="light"] .hero__bg { filter: grayscale(0.5) brightness(1.1); }
@media (min-width: 769px) {
  .hero--spline:not(.no-3d) .hero__overlay { background: linear-gradient(to right, rgba(var(--bg-rgb),0.8) 0%, rgba(var(--bg-rgb),0.25) 45%, transparent 60%); }
}

.contact-hero { background: var(--color-bg); }
.contact-hero__title { color: var(--color-text); font-weight: 300; }
.contact-hero__desc { color: var(--color-text-secondary); }
.footer { background: var(--color-bg); color: rgba(var(--fg),0.45); border-top-color: rgba(var(--fg),0.08); }
.footer a { color: rgba(var(--fg),0.75); }
.footer a:hover { color: rgb(var(--fg)); }
.contact__info-icon svg { color: rgba(var(--fg),0.85); }
.machine-gallery--2 { grid-template-columns: 1fr 1fr; }
.machine-gallery--2 img { aspect-ratio: 3/4; height: 100% !important; }

/* ===== MOBILE ===== */
/* backdrop-filter robi z navbaru blok zawierający dla fixed menu — menu wysuwało stronę w bok */
html, body { overflow-x: clip; }
@media (max-width: 960px) { .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 36px; }
  .section__title { font-size: clamp(26px, 7vw, 34px); }
  .hero .container.hero__inner { padding-top: 28px; }
  .hero__title { font-size: clamp(32px, 10vw, 44px); }
  .hero:not(.hero--spline) .hero__title { font-size: clamp(26px, 8vw, 36px); }
  .hero__specs-rows { gap: 8px; }
  .hero__spec { padding-bottom: 8px; }
  .hero__pills { justify-content: flex-start; }
  .topbar { font-size: 10.5px; }
  .floating-cta { right: 16px; bottom: 16px; padding: 12px 18px; }
  .machine-row { margin-top: 32px; }
  .machine-row + .machine-row { margin-top: 48px; }
  .split { gap: 24px; }
  .bento { gap: 6px; }
  .why__item, .print-stat { padding: 20px 18px; }
  .print-stat__value { font-size: 22px; }
  .spec { padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .faq__q { font-size: 16px; padding: 18px 0; }
  .contact-hero { padding: 64px 0 40px; }
}
@media (max-width: 480px) {
  .hero__pill { padding: 8px 12px; }
  .qt-call__row { flex-direction: column; }
  .qt-call__btn { padding: 14px !important; }
}

/* panel stanu animacji frezarki */
.hero__hud { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1200px) / 2 + 32px)); top: 48px; width: 230px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(var(--fg),0.1); background: rgba(var(--bg-rgb),0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--font-mono); opacity: 0; transition: opacity .6s; pointer-events: none; }
.hero.is-spline-ready .hero__hud { opacity: 1; }
.hero__hud-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.2em; color: #00B8F0; }
.hero__hud-name { margin-top: 6px; font-family: var(--font-heading); font-size: 14px; color: var(--color-text); }
.hero__hud-bar { margin-top: 10px; height: 2px; background: rgba(var(--fg),0.1); overflow: hidden; }
.hero__hud-bar i { display: block; height: 100%; background: #00B8F0; transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.hero__hud-steps { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; color: rgba(var(--fg),0.4); }
.hero__hud-steps li::before { content: "○ "; }
.hero__hud-steps li.is-done { color: rgba(var(--fg),0.7); }
.hero__hud-steps li.is-done::before { content: "● "; color: #00B8F0; }
.hero__hud-steps li.is-current { color: var(--color-text); }
.hero__hud-steps li.is-current::before { content: "◉ "; color: #00B8F0; }
@media (max-width: 768px) { .hero__hud { display: none; } }
.hero__hud { position: static; width: 260px; margin-top: 28px; }
@media (max-height: 960px) and (min-width: 769px) {
  .hero__hud-steps { display: none; }
  .hero__hud { margin-top: 20px; padding: 12px 14px; }
  .hero__top > * + * { margin-top: 18px; }
}
.lang-switch { display: inline-flex; align-items: center; justify-content: center; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(var(--fg),0.2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(var(--fg),0.85); transition: border-color .2s; }
.lang-switch:hover { border-color: rgba(var(--fg),0.6); color: rgb(var(--fg)); }
@media (min-width: 961px) { .lang-switch { margin-left: 16px; } .lang-switch + .theme-toggle { margin-left: 8px; } }
@media (max-width: 960px) { .lang-switch { order: 1; margin-left: auto; } .lang-switch + .theme-toggle { order: 1; margin-left: 8px; } }
.form__success-ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #00B8F0; color: #001722; animation: qtPop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes qtPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
.footer__industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: -6px 0 18px; font-size: 13px; }
.footer__industries span { color: rgba(var(--fg),0.45); }

/* granatowe tło: pozostałe twarde czernie */
.section--dark { background: var(--color-bg); }
.contact, .footer { background: var(--color-bg); }

/* ===== CTA: jeden wygląd w całym serwisie (jak w nawigacji) ===== */
.btn--cta, .navbar__cta, .hero__pill--active, .floating-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-cta) !important; color: var(--color-cta-text) !important; border: 1px solid var(--color-cta) !important;
  border-radius: 999px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; text-transform: none;
}
.btn--cta { font-size: 15px; padding: 13px 24px; }
.btn--cta svg, .hero__pill--active svg, .floating-cta__arrow { width: 14px; height: 14px; transition: transform .2s; }
.btn--cta:hover, .navbar__cta:hover, .hero__pill--active:hover, .floating-cta:hover { background: var(--color-cta-hover) !important; border-color: var(--color-cta-hover) !important; }
.btn--cta:hover svg, .hero__pill--active:hover svg, .floating-cta:hover .floating-cta__arrow { transform: translateX(3px); }
.hero__pill--active { font-size: 13px; padding: 8px 18px; }
.floating-cta { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.floating-cta svg:first-child { display: none; }
.floating-cta.is-near-form { opacity: 0 !important; pointer-events: none !important; transform: translateY(20px) !important; }

/* ===== wybór języka (lista z flagami) + CTA w jednym wierszu ===== */
.navbar__cta { white-space: nowrap; flex-shrink: 0; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(var(--fg),0.2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(var(--fg),0.85); cursor: pointer; user-select: none; transition: border-color .2s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: rgba(var(--fg),0.6); color: rgb(var(--fg)); }
.lang-menu__flag { display: inline-flex; width: 18px; height: 13px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(var(--fg),0.15); flex: 0 0 18px; }
.lang-menu__flag svg { width: 100%; height: 100%; display: block; }
.lang-menu__caret { width: 9px; height: 6px; transition: transform .2s; }
.lang-menu[open] .lang-menu__caret { transform: rotate(180deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; list-style: none; margin: 0; padding: 6px; min-width: 160px; border-radius: 14px; border: 1px solid rgba(var(--fg),0.12); background: var(--color-surface); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.lang-menu li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--color-text); }
.lang-menu li a:hover { background: rgba(var(--fg),0.07); }
.lang-menu li a[aria-current="true"] { font-weight: 600; }
@media (min-width: 961px) { .lang-menu { margin-left: 16px; } .lang-menu + .theme-toggle { margin-left: 8px; } }
@media (max-width: 960px) { .lang-menu { order: 1; margin-left: auto; } .lang-menu + .theme-toggle { order: 1; margin-left: 8px; } }
@media (min-width: 961px) and (max-width: 1240px) { .navbar__links { gap: 16px; } .navbar__link { font-size: 13px; } .navbar__menu { gap: 18px; } }
.qt-call__btn { min-height: 46px; } @media (max-width: 480px) { .qt-call__btn { width: 100% !important; } .qt-trust li { font-size: 12px; } }

/* ===== menu: rozwijane Usługi / Branże ===== */
.nav-drop { position: relative; }
.nav-drop details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop details summary::-webkit-details-marker { display: none; }
.nav-drop summary svg { width: 9px; height: 6px; transition: transform .2s; }
.nav-drop details[open] summary svg { transform: rotate(180deg); }
.nav-drop__list { list-style: none; margin: 0; padding: 6px; }
@media (min-width: 961px) {
  .nav-drop__list { position: absolute; left: -12px; top: calc(100% + 14px); z-index: 120; min-width: 240px; border-radius: 14px; border: 1px solid rgba(var(--fg),0.12); background: var(--color-surface); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
  .nav-drop details:not([open]) .nav-drop__list { display: none; }
}
.nav-drop__list a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--color-text); white-space: nowrap; }
.nav-drop__list a:hover { background: rgba(var(--fg),0.07); }
.nav-drop__list a[aria-current="page"] { font-weight: 600; color: #00B8F0; }
.nav-drop .navbar__link::after { display: none; }
@media (max-width: 960px) {
  .nav-drop details summary { width: 100%; justify-content: space-between; }
  .nav-drop__list { padding: 0 0 8px 12px; }
  .nav-drop__list a { font-size: 15px; padding: 10px 0; }
}
@media (max-width: 960px) { .nav-drop details summary.navbar__link { display: flex !important; justify-content: space-between; align-items: center; } }

/* ===== podpowiedź wersji językowej ===== */
.lang-hint { position: fixed; left: 24px; bottom: 24px; z-index: 900; display: flex; align-items: center; gap: 14px; max-width: min(560px, calc(100vw - 48px)); padding: 12px 12px 12px 18px; border-radius: 14px; border: 1px solid rgba(var(--fg),0.14); background: var(--color-surface); color: var(--color-text); font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.3); opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.lang-hint.is-in { opacity: 1; transform: none; }
.lang-hint a { color: #00B8F0; font-weight: 600; white-space: nowrap; }
.lang-hint button { margin-left: auto; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; border: 1px solid rgba(var(--fg),0.15); background: transparent; color: var(--color-text); cursor: pointer; }
@media (max-width: 640px) { .lang-hint { left: 12px; right: 12px; bottom: 76px; max-width: none; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; } .lang-hint button { position: absolute; top: 8px; right: 8px; } .lang-hint span { padding-right: 30px; } }

/* <picture> z AVIF/WebP (scripts/picture-integration.mjs) nie zmienia układu — obrazek zachowuje się jak dawny <img> */
picture { display: contents; }
/* linki w tekście nie mogą różnić się wyłącznie kolorem (dostępność) */
.footer p a, .legal p a, .faq__a a, .qt-step__hint a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== telefon: dolny pasek „Zadzwoń” + „Wyceń projekt” ===== */
.floating-call { display: none; }
@media (max-width: 640px) {
  .floating-cta, .floating-call {
    bottom: 12px; width: calc(50% - 18px); justify-content: center; padding: 14px 10px; font-size: 14.5px; white-space: nowrap;
  }
  .floating-cta { right: 12px; }
  .floating-call {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 12px; z-index: 1000;
    border-radius: 999px; font-weight: 600; color: var(--color-text) !important;
    background: rgba(var(--bg-rgb), 0.92); border: 1px solid rgba(var(--fg), 0.22);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out);
  }
  .floating-cta.is-visible:not(.is-near-form) + .floating-call { opacity: 1; transform: none; pointer-events: auto; }
  .footer { padding-bottom: 88px; }
}
