/* ====================================
   TUSZMAJSTER.PL — Modern 2025
   ==================================== */

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

/* ===== TOKENS ===== */
:root {
  --g-vivid:    #4ade80;
  --g-base:     #22c55e;
  --g-dark:     #16a34a;
  --g-deep:     #14532d;
  --g-glow:     rgba(34, 197, 94, 0.22);
  --g-glow-sm:  rgba(34, 197, 94, 0.10);

  /* dark surfaces */
  --d-bg:       #060e06;
  --d-surface:  #0c1a0c;
  --d-border:   rgba(74, 222, 128, 0.12);
  --d-text:     #e8fef0;
  --d-text-2:   rgba(232, 254, 240, 0.58);
  --d-text-3:   rgba(232, 254, 240, 0.30);

  /* light surfaces */
  --l-bg:       #f5f8f5;
  --l-white:    #ffffff;
  --l-border:   rgba(0, 0, 0, 0.07);
  --l-text:     #0d1f0d;
  --l-text-2:   #4a6650;

  /* ui */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --tf:    0.18s var(--ease);
  --tm:    0.28s var(--ease);

  --sh-sm:    0 1px 6px rgba(0,0,0,0.06);
  --sh-md:    0 4px 20px rgba(0,0,0,0.09);
  --sh-lg:    0 12px 48px rgba(0,0,0,0.14);
  --sh-green: 0 6px 28px rgba(34,197,94,0.30);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  background: var(--d-bg);
  color: var(--l-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
p    { color: inherit; }
h1   { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.025em; }
h2   { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.015em; }
h3   { font-size: 1.1rem; font-weight: 700; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].revealed              { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]       { transition-delay: 0.08s; }
[data-reveal][data-delay="2"]       { transition-delay: 0.16s; }
[data-reveal][data-delay="3"]       { transition-delay: 0.24s; }
[data-reveal][data-delay="4"]       { transition-delay: 0.32s; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--tm), padding var(--tm), border-color var(--tm);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(6, 14, 6, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--d-border);
  padding: 0.65rem 0;
}
nav { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  transition: opacity var(--tf);
}
.nav-logo:hover { opacity: 0.9; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 0.2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--d-text-2);
  padding: 0.45rem 0.9rem; border-radius: 50px;
  transition: all var(--tf);
}
.nav-links a:hover  { color: var(--d-text); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--g-base) !important;
  color: #041204 !important;
  font-weight: 700 !important;
  box-shadow: var(--sh-green);
}
.nav-cta:hover { background: var(--g-vivid) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--d-text); border-radius: 2px; transition: var(--tf); }

/* ===== HERO ===== */
#hero {
  background: var(--d-bg);
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

/* glow blobs */
.hero-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(90px);
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(34,197,94,0.13) 0%, transparent 70%);
  top: -15%; left: -20%;
}
.hero-glow-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(74,222,128,0.07) 0%, transparent 70%);
  bottom: 5%; right: 0%;
}

.hero-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

/* eyebrow badge */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.24);
  color: var(--g-vivid);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-dot {
  width: 6px; height: 6px; background: var(--g-vivid);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-text h1 { color: var(--d-text); margin-bottom: 1.5rem; }
.hero-text h1 em { font-style: normal; color: var(--g-vivid); }

.hero-sub {
  font-size: 1.08rem; color: var(--d-text-2);
  max-width: 500px; line-height: 1.72; margin-bottom: 2.25rem;
}

/* CTA buttons */
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--g-base); color: #041204;
  padding: 0.875rem 2rem; border-radius: 50px;
  font-weight: 800; font-size: 1rem;
  box-shadow: var(--sh-green);
  transition: all var(--tm);
}
.btn-primary:hover { background: var(--g-vivid); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(34,197,94,0.45); }
.btn-primary svg { flex-shrink: 0; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1.5px solid var(--d-border);
  color: var(--d-text-2);
  padding: 0.875rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem;
  transition: all var(--tm);
}
.btn-ghost:hover { border-color: var(--g-base); color: var(--d-text); background: rgba(34,197,94,0.05); }

/* hero stats row */
.hero-stats { display: flex; }
.h-stat {
  padding-right: 2rem; margin-right: 2rem;
  border-right: 1px solid var(--d-border);
}
.h-stat:last-child { border-right: none; }
.h-stat-num { font-size: 1.7rem; font-weight: 900; color: var(--d-text); line-height: 1; letter-spacing: -0.02em; }
.h-stat-label { font-size: 0.76rem; color: var(--d-text-2); margin-top: 0.3rem; }

/* Hero right glass card */
.hero-card {
  background: rgba(12, 26, 12, 0.7);
  border: 1px solid var(--d-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.05), var(--sh-lg);
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(34,197,94,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero-card-logo {
  padding-bottom: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--d-border);
}
.hero-card-logo img {
  width: 170px;
  border-radius: 8px;
  background: #fff;
}

.hero-usps { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 1.75rem; }
.hero-usp { display: flex; align-items: center; gap: 0.875rem; }
.usp-icon {
  width: 34px; height: 34px; min-width: 34px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.usp-text { font-size: 0.88rem; color: var(--d-text); font-weight: 500; }

.hero-call-link {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  color: var(--d-text);
  transition: all var(--tf);
}
.hero-call-link:hover { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); }
.hcl-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--d-text-2); margin-bottom: 0.15rem; }
.hcl-num { font-size: 1.1rem; font-weight: 800; color: var(--g-vivid); }
.hcl-arrow { font-size: 1.1rem; color: var(--g-vivid); }

/* ===== SECTION LABEL ===== */
.sec-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.sec-label::before {
  content: '';
  display: inline-block; width: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
}
.sec-label.light { color: var(--g-dark); }
.sec-label.dark  { color: var(--g-vivid); }

.sec-header { margin-bottom: 3rem; }
.sec-header h2 { margin-bottom: 0.6rem; }
.sec-header p { font-size: 1rem; }
.sec-header.center { text-align: center; }
.sec-header.center p { max-width: 520px; margin: 0 auto; }

/* ===== SERVICES — BENTO ===== */
#uslugi { background: var(--l-white); }
.sec-header.on-light h2 { color: var(--l-text); }
.sec-header.on-light p  { color: var(--l-text-2); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento-card {
  background: var(--l-white);
  border: 1px solid var(--l-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: all var(--tm);
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }

/* gradient top stripe */
.bento-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.bc-1::after { background: linear-gradient(90deg, #22c55e, #4ade80); }
.bc-2::after { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.bc-3::after { background: linear-gradient(90deg, #db2777, #f472b6); }

.b-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.bc-1 .b-icon { background: #dcfce7; }
.bc-2 .b-icon { background: #cffafe; }
.bc-3 .b-icon { background: #fce7f3; }

.bento-card h3  { color: var(--l-text);   margin-bottom: 0.55rem; }
.bento-card > p { color: var(--l-text-2); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }

.b-list { display: flex; flex-direction: column; gap: 0.45rem; }
.b-list li {
  display: flex; align-items: baseline; gap: 0.55rem;
  font-size: 0.84rem; color: var(--l-text-2);
}
.b-list li::before { content: '—'; color: #94a3b8; flex-shrink: 0; }

/* ===== WHY US ===== */
#dlaczego { background: var(--l-bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feat-card {
  background: var(--l-white);
  border: 1px solid var(--l-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--tm);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feat-icon {
  width: 46px; height: 46px;
  background: #dcfce7; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}
.feat-card h4 { font-size: 0.98rem; font-weight: 700; color: var(--l-text); margin-bottom: 0.4rem; }
.feat-card p  { font-size: 0.86rem; color: var(--l-text-2); line-height: 1.6; }

/* ===== PRODUCTS ===== */
#asortyment { background: var(--l-white); }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  color: var(--l-text-2);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 1.1rem; border-radius: 50px;
  transition: all var(--tf);
  cursor: default;
}
.tag:hover { background: #dcfce7; border-color: #86efac; color: var(--g-deep); }

/* ===== CONTACT ===== */
#kontakt { background: var(--d-bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 4rem; align-items: start;
}
.contact-info h2 { color: var(--d-text); margin-bottom: 0.75rem; }
.contact-info > p { color: var(--d-text-2); font-size: 1rem; margin-bottom: 2.5rem; }

.c-items { display: flex; flex-direction: column; gap: 1.5rem; }
.c-item  { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.c-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--d-text-3); font-weight: 600; margin-bottom: 0.2rem; }
.c-value { font-size: 1.05rem; font-weight: 600; color: var(--d-text); }
.c-value a { color: var(--d-text); transition: color var(--tf); }
.c-value a:hover { color: var(--g-vivid); }
.c-sub  { font-size: 0.85rem; color: var(--d-text-2); }
.hours-list span { display: block; font-size: 0.88rem; color: var(--d-text-2); line-height: 1.8; }

.social-links { display: flex; gap: 0.75rem; margin-top: 2.5rem; flex-wrap: wrap; }
.soc-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.25rem; border-radius: 50px;
  font-weight: 600; font-size: 0.875rem;
  transition: all var(--tf);
}
.soc-fb { background: #1877f2; color: white; }
.soc-fb:hover { background: #1565c0; transform: translateY(-1px); }
.soc-g  { background: white; color: #111; }
.soc-g:hover  { background: #f1f1f1; transform: translateY(-1px); }

/* form panel */
.form-panel {
  background: rgba(12, 26, 12, 0.65);
  border: 1px solid var(--d-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.fp-title { color: var(--d-text); font-size: 1.3rem; margin-bottom: 0.35rem; }
.fp-sub   { color: var(--d-text-2); font-size: 0.88rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.f-label {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--d-text-3); margin-bottom: 0.4rem;
}
.f-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--d-text);
  font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--tf), background var(--tf);
  outline: none;
}
.f-input::placeholder { color: var(--d-text-3); }
.f-input:focus { border-color: var(--g-base); background: rgba(34,197,94,0.04); }
.f-input option { background: var(--d-surface); }
textarea.f-input { resize: vertical; min-height: 110px; }
.f-btn {
  width: 100%; padding: 0.95rem;
  background: var(--g-base); color: #041204;
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  transition: all var(--tm); margin-top: 0.5rem;
  box-shadow: var(--sh-green);
}
.f-btn:hover { background: var(--g-vivid); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(34,197,94,0.40); }
.f-note { font-size: 0.76rem; color: var(--d-text-3); text-align: center; margin-top: 0.75rem; }

/* ===== MAP ===== */
#mapa { padding: 0; }
.map-wrap { width: 100%; height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; opacity: 0.88; }

/* ===== FOOTER ===== */
footer {
  background: var(--d-bg);
  border-top: 1px solid var(--d-border);
  color: var(--d-text-3);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}
footer strong { color: var(--d-text-2); }
footer a { color: var(--d-text-2); transition: color var(--tf); }
footer a:hover { color: var(--g-vivid); }
.footer-row { display: flex; flex-direction: column; gap: 0.4rem; }

/* ===== FLOATING CALL BAR ===== */
.float-call {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 99;
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--g-base); color: #041204;
  padding: 0.8rem 1.75rem; border-radius: 50px;
  font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 6px 28px rgba(34,197,94,0.45);
  white-space: nowrap; text-decoration: none;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.float-call.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.float-call:hover   { background: var(--g-vivid); box-shadow: 0 8px 36px rgba(34,197,94,0.55); }

/* ===== TOAST ===== */
#toast {
  position: fixed; bottom: 5.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--g-deep); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  opacity: 0; transition: all 0.4s var(--ease);
  z-index: 200; pointer-events: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
  border: 1px solid rgba(34,197,94,0.28);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .hero-sub   { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 4rem 0; }
  #hero   { padding: 7rem 0 4rem; min-height: auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,14,6,0.96);
    border-bottom: 1px solid var(--d-border);
    padding: 1.5rem; gap: 0.25rem;
  }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .h-stat {
    border-right: none; padding-right: 0; margin-right: 0;
    border-bottom: 1px solid var(--d-border);
    padding-bottom: 1rem;
  }
  .h-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .float-call { font-size: 0.875rem; padding: 0.7rem 1.4rem; }
}
