/* ===================================================
   WARPINSKI BAUSERVICE — FINAL CLEAN STYLE.CSS
   Jasny minimalistyczny styl + poprawne naprzemienne kolory sekcji
   Działa z: index.html, galerie-laser.html, galerie-bau.html
   =================================================== */

/* ===== RESET / VARIABLES ===== */

:root {
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --bg: #f7f5ef;              /* jasna kremowa sekcja */
  --bg-alt: #ffffff;          /* ciemniejsza kremowa sekcja */
  --surface: #ffffff;         /* białe karty / header / formularz */
  --surface-soft: #f0ece3;    /* placeholdery zdjęć */
  --border: #d8d1c3;

  --text: #111111;
  --text-dim: #3f3b35;
  --text-muted: #7d7468;

  --grid-line: rgba(17, 17, 17, 0.045);

  --page-x: clamp(22px, 5vw, 72px);
  --section-y: clamp(78px, 9vw, 120px);
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== HEADER ===== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  height: var(--header-h);
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: var(--text);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo span {
  color: var(--text);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.site-menu a {
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.22s ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 360;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--text);
  margin: 6px auto;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== TYPOGRAPHY ===== */

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  text-wrap: balance;
}

h1 em {
  color: var(--text);
  font-style: normal;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-wrap: balance;
}

h3 {
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===== BUTTONS ===== */

.btn-primary,
.btn-secondary,
.form-submit,
.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 15px 30px;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.96rem;
  font-weight: 560;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid var(--text);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn-primary,
.form-submit,
.cta-nav {
  background: var(--text);
  color: #ffffff;
}

.btn-primary:hover,
.form-submit:hover,
.cta-nav:hover {
  background: transparent;
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: #ffffff;
}

/* ===== GLOBAL SECTION RHYTHM ===== */

section {
  padding: var(--section-y) var(--page-x);
  border-bottom: 1px solid var(--border);
}

.section-divider {
  display: none;
}

/* Główna strona — twardo ustawiona naprzemienność kolorów */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #f7f5ef;
  padding: 120px 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/bg-laser-cartoon.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  opacity: 0.70;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.trust-strip {
  background: var(--surface);
}

#leistung {
  background: var(--bg);
}

#vorteile {
  background: var(--bg-alt);
}

#einsatz {
  background: var(--bg);
}

#warum {
  background: var(--bg-alt);
}

#galerie {
  background: var(--bg);
}

#weitere {
  background: var(--bg-alt);
}

#preise {
  background: var(--bg);
}

#kontakt {
  background: var(--bg-alt);
}

/* Dla starych klas, gdyby gdzieś zostały */
.benefits-bg,
.why-bg,
.weitere-bg {
  background: inherit;
}

.gallery-bg {
  background: inherit;
}

/* ===== HERO ===== */

.hero {
  min-height: 100svh;
  padding: clamp(132px, 16vw, 176px) var(--page-x) clamp(86px, 10vw, 130px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  display: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content {
  width: min(100%, 980px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  background: rgba(255,255,255,0.56);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex: 0 0 auto;
}

.hero h1 {
  max-width: 13ch;
  margin: 0 auto clamp(20px, 3vw, 28px);
  font-size: clamp(3.15rem, 7.2vw, 5.45rem);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-slogan {
  display: inline-block;
  position: relative;
  font-size: clamp(1.04rem, 2.2vw, 1.35rem);
  font-weight: 430;
  color: var(--text-dim);
  margin-bottom: clamp(26px, 4vw, 34px);
}

.hero-slogan::after,
.hero-slogan--highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--text);
}

.hero-sub {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.82;
  text-wrap: balance;
}

.hero-mobile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: clamp(0.9rem, 1.8vw, 0.96rem);
  margin-bottom: clamp(34px, 5vw, 46px);
  line-height: 1.45;
}

.hero-mobile-badge svg {
  stroke: var(--text);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== TRUST STRIP ===== */

.trust-strip {
  border-bottom: 1px solid var(--border);
  padding: 20px var(--page-x);
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.trust-badge svg {
  color: var(--text);
  flex-shrink: 0;
}

/* ===== LAYOUTS ===== */

.about-grid,
.contact-grid {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(46px, 7vw, 92px);
  align-items: start;
}

.about-text p,
.gallery-intro,
.weitere-intro,
.contact-info p,
.pricing-card p,
.cta-strip p,
.gallery-category p,
.page-header p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.85;
}

.about-text p {
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ===== CARDS ===== */

.about-visual,
.benefit-card,
.usecase-card,
.why-card,
.pricing-card,
.weitere-card,
.modal-box,
.lightbox-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.about-visual {
  padding: clamp(28px, 4vw, 42px);
}

.laser-icon,
.benefit-icon,
.weitere-card-icon,
.contact-item-icon,
.pricing-icon,
.form-success-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
}

.laser-icon svg,
.benefit-icon svg,
.weitere-card-icon svg,
.contact-item-icon svg,
.pricing-icon svg,
.form-success-icon svg {
  stroke: var(--text);
  color: var(--text);
}

.about-visual h3,
.benefit-card h3,
.usecase-card h3,
.why-card h3,
.weitere-card h3,
.pricing-card h3 {
  color: var(--text);
  font-weight: 650;
}

.about-visual p,
.removals-list li,
.benefit-card p,
.usecase-card p,
.why-card p {
  color: var(--text-dim);
}

.removals-list {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.removals-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.removals-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  font-size: 0.75rem;
}

/* ===== GRIDS ===== */

.benefits-grid,
.usecases-grid,
.why-grid,
.weitere-grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.usecases-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weitere-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.why-card,
.usecase-card,
.weitere-card {
  padding: clamp(22px, 3vw, 34px);
  transition: border-color 0.2s ease;
}

.benefit-card:hover,
.usecase-card:hover,
.why-card:hover,
.weitere-card:hover {
  border-color: var(--text);
}

.usecase-card {
  display: flex;
  gap: 16px;
}

.usecase-num,
.why-card-num {
  color: #d0c7b7;
  font-weight: 700;
  line-height: 1;
}

.usecase-num {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.why-card {
  text-align: center;
}

.why-card-num {
  font-size: 3rem;
  margin-bottom: 12px;
}

.weitere-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weitere-card-icon,
.contact-item-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

.weitere-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-intro {
  max-width: 760px;
}

/* Nadpisanie inline style w sekcji referencji na stronie głównej */
#galerie[style] {
  padding: var(--section-y) var(--page-x) !important;
}

#galerie > div[style] {
  max-width: 900px !important;
}

/* ===== PRICING ===== */

.pricing-card {
  max-width: 760px;
  margin: 24px auto 0;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.pricing-icon {
  margin: 0 auto 18px;
}

.pricing-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
}

.pricing-tag {
  border: 1px solid var(--border);
  padding: 6px 12px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ===== CONTACT ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.25fr;
  gap: clamp(54px, 8vw, 100px);
  align-items: start;
}

#kontakt h2 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 4.6vw, 4.65rem);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -0.032em;
  margin-bottom: 28px;
}

.contact-info p {
  max-width: 640px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-label {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item-value {
  color: var(--text-dim);
  font-size: 0.96rem;
}

.contact-item-value a,
.form-check a,
.modal-box a,
.footer-address a,
.footer-legal a {
  color: var(--text);
  text-decoration: none;
}

.contact-item-value a:hover,
.form-check a:hover,
.modal-box a:hover,
.footer-address a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

.contact-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.contact-form h3 {
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--text);
  border-radius: 0;
  color: var(--text);
  font-size: 1rem;
  padding: 14px;
  outline: none;
  box-shadow: none;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: inset 0 0 0 1px var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--text);
  flex-shrink: 0;
}

.form-check label,
.form-note {
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.55;
}

.form-note {
  margin-bottom: 18px;
}

.form-submit {
  width: 100%;
  border: 1px solid var(--text);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.form-success-icon {
  margin: 0 auto 16px;
}

/* ===== FOOTER ===== */

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 34px var(--page-x);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-top {
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.footer-logo,
.footer-logo span,
.footer-copy,
.footer-tagline,
.footer-address,
.footer-legal a {
  color: var(--text);
}

.footer-logo {
  font-weight: 650;
}

.footer-tagline,
.footer-address,
.footer-copy,
.footer-legal a {
  font-size: 0.84rem;
  color: var(--text-dim);
}

.footer-address {
  font-style: normal;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

/* ===== GALLERY PAGES ===== */

.page-header {
  padding: clamp(128px, 14vw, 160px) var(--page-x) clamp(60px, 7vw, 86px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-header p {
  max-width: 760px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 36px;
}

.back-btn:hover {
  color: var(--text);
}

.gallery-section-simple {
  padding: 0;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

/* Galerie: każda kategoria to osobna pełna sekcja z naprzemiennym tłem */
.gallery-category {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 8vw, 96px) var(--page-x);
  border-bottom: 1px solid var(--border);
}

.gallery-category:nth-child(odd) {
  background: var(--bg-alt);
}

.gallery-category:nth-child(even) {
  background: var(--bg);
}

.gallery-category:last-child {
  border-bottom: 0;
}

.gallery-category h2,
.gallery-category p,
.gallery-simple-grid {
  width: min(100%, 1500px);
  margin-left: auto;
  margin-right: auto;
}

.gallery-category h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.gallery-category p {
  max-width: 1500px;
  margin-bottom: clamp(24px, 4vw, 34px);
}

.gallery-simple-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-photo:hover img {
  transform: scale(1.025);
  opacity: 0.94;
}

.gallery-photo::after {
  content: "⌕";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-photo:hover::after {
  opacity: 1;
}

.gallery-photo img.error {
  display: none;
}

.gallery-photo .missing-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.gallery-photo .missing-img small {
  display: block;
  margin-top: 4px;
  opacity: 0.8;
}

.gallery-photo.is-missing .missing-img {
  display: flex;
}

/* ===== CTA STRIP ===== */

.cta-strip {
  border-bottom: 1px solid var(--border);
  padding: clamp(70px, 8vw, 100px) var(--page-x);
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 16px;
}

/* ===== LIGHTBOX ===== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-placeholder {
  max-width: 480px;
  width: 100%;
  padding: 42px 28px;
  text-align: center;
}

.lightbox-placeholder p {
  margin-top: 12px;
  color: var(--text-dim);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: 92vw;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 16px;
  white-space: normal;
  text-align: center;
}

/* ===== MODAL ===== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(17,17,17,0.62);
  backdrop-filter: blur(2px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-overlay.open {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.modal-inner {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px 60px;
}

.modal-box {
  max-width: 760px;
  width: 100%;
  padding: clamp(28px, 5vw, 46px);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}

.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

.modal-box h3 {
  margin: 22px 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.modal-box p,
.modal-box li {
  color: var(--text-dim);
  line-height: 1.7;
}

.modal-box ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.modal-note {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 12px 14px;
  margin-bottom: 24px;
}

/* ===== CLEANUP ===== */

.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weitere-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --page-x: 22px;
    --section-y: 76px;
    --header-h: 72px;
  }

  .site-header-inner {
    height: var(--header-h);
  }

  .menu-toggle {
    display: block;
  }

 .site-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  min-height: calc(100svh - var(--header-h));
  padding: 48px 24px;

  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center; 

  gap: 22px;

  transform: translateX(100%);
  transition: transform 0.28s ease;
}

  .site-menu.open {
    transform: translateX(0);
  }

  .site-menu a {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.04em;
  }

  .hero {
    min-height: auto;
    padding: 126px var(--page-x) 88px;
  }

  .hero-grid {
    background-size: 42px 42px;
  }

  .hero-tag {
    max-width: 92vw;
    letter-spacing: 0.1em;
    margin-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 10ch;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
  }

  .trust-strip-inner {
    justify-content: flex-start;
  }

  .trust-badge {
    width: calc(50% - 14px);
    align-items: flex-start;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  h2 {
    line-height: 1.12;
    letter-spacing: -0.032em;
  }

  .benefits-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .weitere-card {
    align-items: flex-start;
    padding: 18px;
  }

  #kontakt h2 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    line-height: 1.14;
    max-width: 11ch;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .page-header {
    padding-top: 118px;
  }

  .page-header h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    line-height: 1.08;
    max-width: 10ch;
  }

  .gallery-category {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .gallery-category h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .gallery-category p {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .gallery-simple-grid {
    gap: 14px;
  }

  .gallery-photo {
    aspect-ratio: 1 / 1;
  }

  .gallery-photo::after {
    opacity: 1;
    width: 30px;
    height: 30px;
    right: 8px;
    bottom: 8px;
    font-size: 0.9rem;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 460px) {
  :root {
    --page-x: 18px;
  }

  .site-logo {
    font-size: 0.9rem;
  }

  .hero-tag {
    font-size: 0.64rem;
    padding: 7px 10px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .trust-badge {
    width: 100%;
  }

  .gallery-simple-grid {
    gap: 10px;
  }

  .gallery-category p {
    font-size: 0.9rem;
  }

  .weitere-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary,
  .form-submit {
    padding-left: 18px;
    padding-right: 18px;
  }
}
/* Tylko CTA na stronie galerie-laser.html */
.cta-strip-laser {
  background: var(--surface) !important;
  padding-top: clamp(70px, 7vw, 90px);
  padding-bottom: clamp(70px, 7vw, 90px);
}

.cta-strip-laser p {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .cta-strip-laser p {
    margin-bottom: 24px;
  }
}
/* Większy odstęp między tekstem a guzikiem */
.cta-strip p {
  margin-bottom: 28px;
}

/* Trochę mniejsze przerwy między zdjęciami */
.gallery-simple-grid {
  gap: clamp(12px, 1.7vw, 22px);
}

/* Trochę ciaśniejsze sekcje galerii */
.gallery-category {
  padding-top: clamp(56px, 7vw, 84px);
  padding-bottom: clamp(56px, 7vw, 84px);
}

/* Na telefonie jeszcze ciaśniej */
@media (max-width: 900px) {
  .gallery-simple-grid {
    gap: 10px;
  }

  .gallery-category {
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .cta-strip p {
    margin-bottom: 24px;
  }
}

/* ===================================================
   FINAL RESPONSIVE POLISHING
   Drobne poprawki wyglądu na komputerze i telefonie
   =================================================== */

/* Delikatnie ciaśniejsze sekcje na desktopie */
section {
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(72px, 8vw, 108px);
}

/* Hero: trochę bardziej premium i mniej „ciężko” */
.hero h1 {
  font-weight: 540;
  letter-spacing: -0.038em;
}

.hero-sub {
  max-width: 700px;
}

/* Karty: mniej toporne, trochę więcej elegancji */
.benefit-card,
.usecase-card,
.why-card,
.weitere-card,
.about-visual,
.pricing-card {
  background: rgba(255, 255, 255, 0.82);
}

/* Ikony w kartach mniej dominujące */
.benefit-icon,
.laser-icon,
.weitere-card-icon,
.contact-item-icon,
.pricing-icon {
  width: 42px;
  height: 42px;
}

/* Teksty w kartach nieco spokojniejsze */
.benefit-card p,
.usecase-card p,
.why-card p {
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Sekcja Einsatzbereiche: karty bardziej zwarte */
.usecase-card {
  padding: 24px 22px;
}

.usecase-num {
  font-size: 1.45rem;
}

/* Sekcja Warum ich: cyfry trochę mniejsze */
.why-card-num {
  font-size: 2.55rem;
}

/* Kontakt: nagłówek mniej przytłaczający */
#kontakt h2 {
  font-weight: 540;
  line-height: 1.16;
}

/* ===================================================
   PHONE POLISHING
   =================================================== */

@media (max-width: 900px) {
  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.8rem);
    line-height: 1.06;
    letter-spacing: -0.032em;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-tag {
    font-size: 0.62rem;
    padding: 7px 11px;
  }

  .hero-mobile-badge {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .trust-strip {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .trust-strip-inner {
    gap: 13px;
  }

  .trust-badge {
    width: 100%;
    font-size: 0.9rem;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .about-text p,
  .contact-info p,
  .gallery-intro,
  .weitere-intro,
  .pricing-card p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .about-visual {
    padding: 26px 24px;
  }

  .benefits-grid,
  .usecases-grid,
  .why-grid,
  .weitere-grid {
    margin-top: 30px;
    gap: 16px;
  }

  .benefit-card,
  .usecase-card,
  .why-card,
  .weitere-card {
    padding: 22px 20px;
  }

  .benefit-icon,
  .laser-icon,
  .weitere-card-icon,
  .contact-item-icon,
  .pricing-icon {
    width: 40px;
    height: 40px;
  }

  .benefit-card h3,
  .usecase-card h3,
  .why-card h3 {
    font-size: 1.05rem;
  }

  .benefit-card p,
  .usecase-card p,
  .why-card p {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .usecase-card {
    gap: 14px;
  }

  .usecase-num {
    font-size: 1.35rem;
  }

  .why-card {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .why-card-num {
    font-size: 2.35rem;
    margin-bottom: 10px;
  }

  #kontakt h2 {
    font-size: clamp(2.15rem, 9vw, 3.25rem);
    line-height: 1.14;
    max-width: 12ch;
  }

  .contact-form h3 {
    font-size: 1.45rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.96rem;
    padding: 13px;
  }
}

/* Bardzo małe telefony */
@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-secondary,
  .form-submit {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .benefit-card,
  .usecase-card,
  .why-card,
  .about-visual {
    padding: 20px 18px;
  }
}
section h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

section h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}

section h3 {
  font-size: 16px;
  margin-top: 20px;
}

section p {
  font-size: 14px;
  line-height: 1.6;
}

section a {
  font-size: 14px;
}
.lightbox-caption {
  display: none;
}