:root {
  --bg: #f5f7ff;
  --bg-alt: #e5f1ff;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --accent: #38bdf8;
  --text: #0f172a;
  --muted: #64748b;
  --border-soft: rgba(148, 163, 184, 0.35);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --transition-fast: 0.2s ease-out;

  /* dodatki dla panelu karty */
  --green-bg: #ecfdf3;
  --green-border: rgba(34, 197, 94, 0.7);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2ff 0, #f9fbff 40%, #ffffff 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

/* Layout */

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.25rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  color: #0f172a;
}

/* standardowe linki (te bez pill) */
.nav-links a:not(.nav-link-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width var(--transition-fast);
}

.nav-links a:not(.nav-link-pill):hover::after,
.nav-links a:not(.nav-link-pill).active::after {
  width: 100%;
}

/* WYROŻNIONE PRZYCISKI W NAWIGACJI */

.nav-link-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(219, 234, 254, 0.98),
    rgba(255, 255, 255, 1)
  );
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    opacity var(--transition-fast);
  color: #1d4ed8;
  text-wrap: nowrap;
}

/* wyłączenie podkreślenia pod spodem */
.nav-link-pill::after {
  display: none !important;
}

.nav-link-pill i {
  font-size: 0.85rem;
}

/* główny przycisk – KARTA STAŁEGO KLIENTA */
.nav-link-pill-main {
  background: radial-gradient(circle at top left, #bfdbfe, #60a5fa);
  border-color: rgba(37, 99, 235, 0.7);
  color: #0b1120;
}

/* promocja grudzień – lekko „świąteczny” akcent */
.nav-link-pill-promo {
  background: radial-gradient(circle at top left, #dbeafe, #e0f2fe);
  border-color: rgba(56, 189, 248, 0.8);
}

/* sklep online – bardziej delikatny, obrys */
.nav-link-pill-outline {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.8);
  color: #0f172a;
}

/* hover dla wszystkich pill */
.nav-link-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
}

/* lekkie różnice na hoverze dla konkretnych */
.nav-link-pill-main:hover {
  background: radial-gradient(circle at top left, #bfdbfe, #3b82f6);
}

.nav-link-pill-promo:hover {
  background: radial-gradient(circle at top left, #e0f2fe, #bae6fd);
}

.nav-link-pill-outline:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.8);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.95), rgba(255, 255, 255, 1));
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  box-shadow: 0 10px 25px rgba(148, 163, 184, 0.3);
  color: #1d4ed8;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
}

.nav-cta i {
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  font-size: 1.3rem;
  border: none;
  background: none;
  color: #0f172a;
  cursor: pointer;
}

/* HERO */

.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.9rem;
}

.hero-label span.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: radial-gradient(circle, var(--accent), var(--primary));
  box-shadow: 0 0 0 6px rgba(191, 219, 254, 0.9);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw + 1.2rem, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
  color: #0f172a;
}

.hero-title span {
  background: linear-gradient(120deg, #2563eb, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 2rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), rgba(241, 245, 249, 0.95));
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0f172a;
}

.chip i {
  font-size: 0.8rem;
  color: #2563eb;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    opacity var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--accent), var(--primary));
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.35);
  color: #f9fafb;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.5);
  background: radial-gradient(circle at top left, #bfdbfe, var(--primary));
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.btn-outline:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.8);
  transform: translateY(-1px);
}

.btn i {
  font-size: 0.9rem;
}

.hero-status {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.hero-status span.badge {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(219, 234, 254, 1);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #1d4ed8;
}

/* HERO Card */

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: linear-gradient(135deg, #ffffff, #e0f2ff);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.6;
  background:
    radial-gradient(circle at 0% 0%, rgba(191, 219, 254, 0.9), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(219, 234, 254, 0.9), transparent 60%),
    radial-gradient(circle at 14% 80%, rgba(191, 219, 254, 0.9), transparent 60%);
  z-index: -2;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
  align-items: center;
}

.hero-card-shop {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-card-shop h3 {
  font-size: 1rem;
}

.hero-card-shop span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-card-tag {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0f172a;
}

.hero-card-tag i {
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-card-stats {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.8rem;
}

.stat-pill {
  padding: 0.6rem 0.7rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.stat-value {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-value i {
  font-size: 0.8rem;
  color: var(--accent);
}

.hero-card-footer {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.8rem;
}

.hero-card-footer .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.55);
  background: rgba(220, 252, 231, 0.9);
  color: #166534;
  font-size: 0.75rem;
}

.hero-card-footer .status-pill.closed {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(254, 226, 226, 0.95);
  color: #b91c1c;
}

.hero-card-footer .status-pill i {
  font-size: 0.8rem;
}

.hero-card-footer span.hours {
  color: var(--muted);
}

.hero-card-footer span.hours strong {
  color: #0f172a;
}

.hero-card-floating {
  position: absolute;
  inset: auto -24px -24px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    rgba(59, 130, 246, 0.6),
    rgba(56, 189, 248, 0.6),
    rgba(96, 165, 250, 0.6),
    transparent
  );
  opacity: 0.7;
  filter: blur(12px);
  z-index: -1;
}

/* SEKCJE */

section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.section-title {
  font-size: 1.7rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
}

/* WHY SECTION */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.timeline {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
}

.timeline-step:not(:last-child) {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}

.timeline-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: radial-gradient(circle at top, rgba(219, 234, 254, 0.9), rgba(191, 219, 254, 1));
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #1d4ed8;
}

.timeline-body h3 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.timeline-body p {
  font-size: 0.8rem;
  color: var(--muted);
}

.timeline-badge-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.small-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: var(--muted);
  background: rgba(248, 250, 252, 0.9);
}

/* WHY SUMMARY (prawa kolumna) */

.why-summary {
  display: grid;
  gap: 1rem;
}

.why-summary-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), rgba(255, 255, 255, 1));
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.why-summary-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.why-summary-card p {
  font-size: 0.83rem;
  color: var(--muted);
}

/* NUMBERS */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
}

.number-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), rgba(255, 255, 255, 1));
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.number-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  color: #0f172a;
}

.number-card span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.number-card p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* =====================================================
   OFERTA – KATEGORIE + GALERIA
   ===================================================== */

/* migające / animowane kategorie */

.offer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

/* OFERTA – układ (karty + zdjęcie) */

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.6rem;
  align-items: stretch;
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.offer-card i {
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  margin-bottom: 0.65rem;
}

.offer-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #0f172a;
}

.offer-card p {
  font-size: 0.83rem;
  color: var(--muted);
}

.offer-photo {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  position: relative;
  padding: 0;
  text-align: left;
}

.offer-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform var(--transition-fast);
}

.offer-photo:hover img {
  transform: scale(1.05);
}

.offer-photo-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.25);
}

.offer-category-chip {
  position: relative;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
  font-size: 0.8rem;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  cursor: default;
  animation: categoryPulse 4.5s ease-in-out infinite;
}

.offer-category-chip:nth-child(2) {
  animation-delay: 0.5s;
}

.offer-category-chip:nth-child(3) {
  animation-delay: 1s;
}

.offer-category-chip:nth-child(4) {
  animation-delay: 1.5s;
}

.offer-category-chip:nth-child(5) {
  animation-delay: 2s;
}

.offer-category-chip:nth-child(6) {
  animation-delay: 2.5s;
}

.offer-category-label {
  position: relative;
  z-index: 1;
}

.offer-category-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.16));
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.offer-category-chip:hover::before {
  opacity: 1;
}

.offer-category-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.9);
}

/* lekka animacja „migania” */
@keyframes categoryPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
  }
}

/* GALERIA UBRAN */

.offer-gallery {
  position: relative;
  padding: 0.8rem 0;
}

.offer-gallery-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.1rem;
}

/* ukrycie scrollbara */
.offer-gallery-track {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.offer-gallery-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.gallery-item {
  flex: 0 0 230px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gallery-caption {
  font-size: 0.8rem;
  padding: 0.55rem 0.7rem 0.65rem;
  color: #0f172a;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #f9fafb, #eff6ff);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.9);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
}

/* Nawigacja strzałkami w galerii */

.offer-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.offer-gallery-btn {
  pointer-events: auto;
  border: none;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.68);
  color: #e5e7eb;
  cursor: pointer;
  margin: 0 0.1rem;
  transform: translateY(-4px);
  transition:
    transform 0.15s ease-out,
    background 0.15s ease-out,
    box-shadow 0.15s ease-out,
    opacity 0.15s ease-out;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
}

.offer-gallery-btn i {
  font-size: 0.9rem;
}

.offer-gallery-btn:hover {
  transform: translateY(-6px);
  background: rgba(15, 23, 42, 0.9);
}

/* na telefonie strzałki trochę niżej i mniejsze */
@media (max-width: 640px) {
  .offer-gallery-nav {
    inset: auto 0 -6px 0;
    justify-content: center;
    gap: 0.6rem;
  }

  .offer-gallery-btn {
    width: 30px;
    height: 30px;
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.4);
  }

  .gallery-item {
    flex: 0 0 70%;
  }
}

/* KONTAKT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #0f172a;
}

.contact-grid-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.contact-grid-row span.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.contact-grid-row span.value a {
  color: #1d4ed8;
}

.contact-grid-row span.value i {
  margin-right: 0.3rem;
}

.contact-hours {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  list-style: none;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.15rem 0;
  color: var(--muted);
}

.contact-hours li span.day {
  font-weight: 500;
  color: #0f172a;
}

.contact-hours li.today {
  color: #0ea5e9;
}

.contact-hours li.today span.day {
  color: #0284c7;
}

/* FORMULARZ */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.78rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.55rem 0.75rem;
  outline: none;
  color: var(--text);
  font-size: 0.85rem;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(56, 189, 248, 1);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: #ffffff;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.7rem;
  color: var(--muted);
}

.form-note span {
  color: #0f172a;
  font-weight: 500;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(203, 213, 225, 1);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width var(--transition-fast);
}

.footer-links a:hover::after {
  width: 100%;
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.9), rgba(37, 99, 235, 0.98));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ANIMACJE REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSYWNOŚĆ – OGÓLNE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-photo img {
    min-height: 240px;
  }

  nav {
    position: absolute;
    inset: 64px 1.2rem auto;
    background: #ffffff;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast);
  }

  nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    align-self: stretch;
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 3.2rem;
  }

  .offer-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Podstrony: subhero */
.subhero {
  padding-top: 3.5rem;
}

/* aktywny „pill” w menu */
.active-pill {
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

/* ====== PANEL KARTY /karta (bez zmian) ====== */

.karta-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #e0edff 0, #f9fbff 40%, #eef4ff 100%);
  min-height: 100vh;
  color: var(--text);
  padding: 1.5rem;
}

.karta-page .wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.karta-page .card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.7rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.karta-page h1 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.karta-page h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.karta-page p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* logo / nagłówek w panelu */

.karta-page .logo-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.karta-page .logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #93c5fd, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.karta-page .logo-text span:first-child {
  font-weight: 600;
}

.karta-page .logo-text span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

/* komunikaty */

.karta-page .error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.karta-page .success {
  color: #166534;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* formularze */

.karta-page .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.karta-page label {
  margin-bottom: 0.2rem;
  color: var(--muted);
}

.karta-page input[type="text"],
.karta-page input[type="tel"],
.karta-page input[type="password"] {
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.karta-page input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.karta-page .btn-primary,
.karta-page .btn-secondary {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.karta-page .btn-primary {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: white;
}

.karta-page .btn-secondary {
  background: #e5edff;
  color: #1f2937;
}

.karta-page .btn-row {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* statystyki / grid */

.karta-page .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.karta-page .stat-box {
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.85rem;
}

.karta-page .stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
}

.karta-page .stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* nagłówki sekcji */

.karta-page .section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.karta-page .small-muted {
  font-size: 0.8rem;
  color: var(--muted);
}

/* kupony */

.karta-page .coupon-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 0.8rem 0.9rem;
  margin-top: 0.6rem;
  background: #f8fbff;
  font-size: 0.85rem;
}

.karta-page .coupon-card.usable {
  background: var(--green-bg);
  border-color: var(--green-border);
}

.karta-page .coupon-card.expired {
  opacity: 0.7;
}

.karta-page .coupon-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.karta-page .coupon-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.karta-page .coupon-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.karta-page .coupon-chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-right: 0.2rem;
}

.karta-page .coupon-chip.gray {
  background: rgba(148, 163, 184, 0.08);
}

.karta-page .coupon-chip.red {
  background: rgba(248, 113, 113, 0.12);
}

.karta-page .coupon-timer {
  font-size: 0.8rem;
  color: #166534;
}

.karta-page .coupon-timer.expired-text {
  color: #b91c1c;
}

/* tabela historii */

.karta-page .history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.82rem;
}

.karta-page .history-table th,
.karta-page .history-table td {
  padding: 0.4rem 0.3rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.karta-page .history-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}

.karta-page .points-plus {
  color: #15803d;
  font-weight: 500;
}

.karta-page .points-minus {
  color: #b91c1c;
  font-weight: 500;
}

.karta-page .points-zero {
  color: var(--muted);
}

/* responsywność panelu */

@media (max-width: 640px) {
  .karta-page {
    padding: 1rem;
  }

  .karta-page .card {
    padding: 1.2rem 1.2rem;
  }
}

/* ====== MODALE – GLOBAL ====== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none; /* domyślnie ukryte */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  max-width: 720px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  padding: 1.5rem 1.75rem;
  max-height: 90vh;
  overflow-y: auto;
}

/* nagłówek i X w modalach globalnych */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-size: 1.15rem;
  margin: 0;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: #0f172a;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-body {
  font-size: 0.95rem;
  color: #374151;
}

.modal-body p {
  margin: 0 0 0.75rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.modal-image-full {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .modal-dialog {
    padding: 1.25rem 1.25rem;
    max-width: 100%;
    border-radius: 14px;
  }
}

/* ====== MODALE – wersja w panelu /karta (nadpisuje globalne) ====== */

.karta-page .modal-dialog {
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.karta-page .modal-header {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.karta-page .modal-header h2 {
  font-size: 1rem;
  margin: 0;
}

.karta-page .modal-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: #6b7280;
}

.karta-page .modal-close:hover {
  color: #111827;
}

.karta-page .modal-body {
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: #374151;
  overflow-y: auto;
}

.karta-page .modal-body h3 {
  font-size: 0.9rem;
  margin: 0.6rem 0 0.25rem;
}

.karta-page .modal-body p {
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
  color: #4b5563;
}

.karta-page .modal-body ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0;
}

.karta-page .modal-body li {
  margin-bottom: 0.2rem;
}

/* ====== LOKALIZACJA: mapa + zdjęcie ====== */

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: stretch;
  margin-top: 1.2rem;
}

.location-media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #e5e7eb;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.store-photo-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  cursor: zoom-in;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-photo-thumb {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
}

.store-photo-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-photo-label i {
  font-size: 0.8rem;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.location-text p {
  color: var(--muted);
}

.location-actions {
  margin-top: 0.3rem;
}

.location-note {
  font-size: 0.78rem;
  color: var(--muted);
}

/* mobilnie – mapa nad wizytówką */

@media (max-width: 960px) {
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-media-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-map iframe {
    min-height: 220px;
  }
}
