﻿/* ==========================================================================
   STYLE DLA LANDING PAGE ODSZKODOWANIA ZA SŁUPY
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Archivo Black', 'Arial Black', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-primary: #eab308;
  --color-primary-dark: #ca8a04;
  --color-black: #0f172a;
  --color-lime: #84cc16;
  --color-lime-hover: #65a30d;
  --color-dark: #0f172a;
}

body {
  font-family: var(--font-body);
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero Background Pattern */
.hero-mesh {
  background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.06) 0%, transparent 40%);
}

/* Karta w stylu "twardej" grafiki - plaski, ostry cien zamiast miekkiego rozmycia */
.hover-lift {
  box-shadow: 5px 5px 0 0 #0f172a !important;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 0 #0f172a !important;
}

/* Przyciski CTA w stylu wzorca */
.btn-primary-action {
  background: linear-gradient(135deg, #facc15 0%, #fde047 100%);
  color: #0f172a;
  transition: all 0.2s ease;
}
.btn-primary-action:hover {
  background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(234, 179, 8, 0.35);
}

.btn-lime-action {
  background: #a3e635;
  color: #0f172a;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-lime-action:hover {
  background: #84cc16;
  box-shadow: 0 10px 15px -3px rgba(132, 204, 22, 0.35);
  transform: translateY(-1px);
}

/* Side Client Tab (Wzorzec odszkodowaniazaslupy.pl) */
.side-quick-nav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-quick-btn {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #fef08a;
  border-right: none;
  border-radius: 16px 0 0 16px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: -4px 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-quick-btn:hover {
  background: #f0fdf4;
  border-color: #86efac;
  transform: translateX(-4px);
  color: #15803d;
}

@media (max-width: 1024px) {
  .side-quick-nav {
    display: none;
  }
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* Animacje kalkulatora */
.wizard-step-content {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Akordeon FAQ */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
}
details[open] summary .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   MOTYW PRZEWODNI: PIORUN (spójny z logo GRUNTLEX)
   ========================================================================== */

/* Naroznik-flaga w kolorze marki, doczepiona do kart (efekt "podlaczonego zasilania") */
.corner-bolt {
  position: relative;
  overflow: hidden;
}
.corner-bolt::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: #facc15;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.corner-bolt:hover::before {
  width: 62px;
  height: 62px;
}
.corner-bolt::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 15px;
  height: 15px;
  z-index: 2;
  background-color: #0f172a;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Watermark w tle - duzy, blady piorun jako podpis stylu marki */
.bolt-watermark {
  position: absolute;
  width: 620px;
  height: 620px;
  max-width: none;
  opacity: 0.09;
  pointer-events: none;
  background-color: #0f172a;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transform: rotate(-12deg);
}
.bolt-watermark.light {
  background-color: #facc15;
  opacity: 0.14;
}

/* Kropkowana "iskra" jako marker list (stopka) */
.bolt-list {
  list-style: none;
  padding: 0;
}
.bolt-list li {
  position: relative;
  padding-left: 18px;
}
.bolt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  background-color: #facc15;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Kanciasty, "przecinany" ksztalt numerowanych plakietek (01-06, kroki) */
.notch-badge {
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
