/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --accent: #00d4ff;
  --accent-hover: #00b8d9;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.6);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --success: #25d366;
  --border: rgba(0, 212, 255, 0.15);
  --cyan-glow: rgba(0, 212, 255, 0.3);
  --card-bg: rgba(255, 255, 255, 0.04);
  --header-h: 68px;
  --radius: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.25; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.05s linear, opacity 0.3s ease;
  box-shadow: 0 0 8px var(--accent);
  opacity: 0;
}

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-logo svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.header-nav a:hover {
  color: var(--text-primary);
  background: var(--card-bg);
}

.header-cta {
  display: none;
  padding: 10px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  min-height: 44px;
  align-items: center;
}

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

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover { background: var(--card-bg); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  padding: 20px;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border);
  will-change: transform;
}

#mobile-menu.open { transform: translateY(0); }

#mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  min-height: 52px;
  display: flex;
  align-items: center;
}

#mobile-menu a:hover { color: var(--text-primary); background: var(--card-bg); }

#mobile-menu .menu-cta {
  margin-top: 12px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  justify-content: center;
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_800.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

@media (min-width: 769px) {
  .hero-bg {
    background-image: url('images/hero_1920.webp');
  }
}

/* CSS grid overlay for techy effect */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.65) 50%,
    rgba(13,13,13,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: heroFadeIn 1s ease both;
}

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

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
  animation: heroFadeIn 1s ease 0.15s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.badge-gold { border-color: rgba(212, 175, 55, 0.4); color: var(--gold); }

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  animation: heroFadeIn 1s ease 0.25s both;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
  animation: heroFadeIn 1s ease 0.35s both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease 0.45s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 52px;
  min-width: 48px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   SECTION COMMONS
============================================================ */
section { padding: 70px 20px; }

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

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform;
}

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

/* ============================================================
   STATS BAR
============================================================ */
#stats {
  padding: 50px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 12px;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

/* ============================================================
   AWARDS
============================================================ */
#awards {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.awards-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.awards-logo-wrap img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.medals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  justify-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.medal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform;
}

.medal-item.visible { opacity: 1; transform: translateY(0); }

.medal-item img {
  max-width: 75px;
  height: auto;
  object-fit: contain;
}

.medal-item.gold img {
  max-width: 90px;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

.medal-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.medal-item.gold .medal-label { color: var(--gold); }

/* ============================================================
   HIGHLIGHTS
============================================================ */
#highlights { background: var(--bg-primary); }

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.highlight-icon svg { width: 24px; height: 24px; }

.highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES
============================================================ */
#services { background: var(--bg-tertiary); }

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon { color: var(--accent); }

.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.service-icon svg { width: 100%; height: 100%; }

.service-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.service-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   REVIEWS
============================================================ */
#reviews { background: var(--bg-primary); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Mobile carousel — scroll-snap */
.reviews-carousel-wrap {
  position: relative;
}

.reviews-carousel {
  display: flex;
  gap: 16px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.reviews-carousel::-webkit-scrollbar { display: none; }

.reviews-carousel .review-card {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

@media (hover: hover) {
  .carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
  }
}

.carousel-arrow svg { width: 16px; height: 16px; }

.carousel-arrow:focus { outline: none; }
.carousel-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   HOW IT WORKS
============================================================ */
#how {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: transform;
}

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

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT / MAP
============================================================ */
#contact { background: var(--bg-tertiary); }

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

.contact-info h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-row-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-row-icon svg { width: 18px; height: 18px; }

.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row-text span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.contact-row-text a,
.contact-row-text p {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact-row-text a:hover { color: var(--accent); }

.contact-hours {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-hours strong { color: var(--text-primary); display: block; margin-bottom: 4px; }

.contact-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-wrap iframe {
  border-radius: var(--radius);
  width: 100%;
  height: 360px;
  display: block;
  border: 1px solid var(--border);
}

/* ============================================================
   MARQUEE
============================================================ */
#marquee {
  padding: 24px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 14s linear infinite;
  will-change: transform;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item span.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Animacja do -25% bo są 4 identyczne kopie — pętla bezszelestna */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

@media (min-width: 768px) {
  .marquee-track { animation-duration: 28s; }
  .marquee-item  { padding: 0 28px; }
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: #080808;
  padding: 50px 20px 100px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand svg { width: 20px; height: 20px; color: var(--accent); }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 340px;
}

.footer-award-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-credit {
  max-width: 1200px;
  margin: 12px auto 0;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ============================================================
   BACK TO TOP
============================================================ */
#back-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 500;
  width: 52px;
  height: 52px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  will-change: transform;
}

#back-top.visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) {
  #back-top:hover { background: #00b8db; border-color: #00b8db; }
}
#back-top svg { width: 18px; height: 18px; color: #000; }

/* ============================================================
   MOBILE FIXED CTA BAR
============================================================ */
#mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease;
  will-change: transform;
}

#mobile-cta.hidden { transform: translateY(100%); }

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 56px;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition);
}

.mobile-cta-btn:hover { opacity: 0.85; }

.mobile-cta-call {
  background: var(--accent);
  color: #000;
}

.mobile-cta-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — 480px
============================================================ */
@media (min-width: 480px) {
  .medals-grid { grid-template-columns: repeat(4, 1fr); }

  .medal-item img { max-width: 78px; }
  .medal-item.gold img { max-width: 90px; }

  .steps-wrap { padding: 0 20px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Tablet carousel — 2 karty jednocześnie */
  .reviews-carousel .review-card {
    flex: 0 0 calc(50% - 8px);
  }
}

/* ============================================================
   RESPONSIVE — 768px
============================================================ */
@media (min-width: 768px) {
  #header { padding: 0 32px; }

  .header-nav { display: flex; }
  .header-cta { display: flex; }
  .hamburger { display: none; }

  section { padding: 90px 32px; }
  #stats { padding: 60px 32px; }

  .stats-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }

  .stat-item {
    border-right: 1px solid var(--border);
    padding: 20px 10px;
  }

  .stat-item:last-child { border-right: none; }

  .highlights-grid { grid-template-columns: repeat(3, 1fr); }

  .medals-grid { grid-template-columns: repeat(5, 1fr); }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .steps-wrap { flex-direction: row; max-width: 900px; gap: 0; }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.4;
  }

  .step-num { margin-bottom: 16px; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

  .contact-btns { flex-direction: row; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }

  /* Desktop reviews — grid instead of carousel */
  .reviews-carousel {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .reviews-carousel .review-card { flex: none; scroll-snap-align: none; }
  .carousel-nav { display: none; }

  #mobile-cta { display: none; }

  #back-top { bottom: 28px; }

  .map-wrap iframe { height: 420px; }

  .footer-bottom { padding-bottom: 0; }
}

/* ============================================================
   RESPONSIVE — 1200px
============================================================ */
@media (min-width: 1200px) {
  section { padding: 100px 40px; }
  #stats { padding: 70px 40px; }

  .services-grid { grid-template-columns: repeat(5, 1fr); }

  .medals-grid { grid-template-columns: repeat(7, 1fr); gap: 24px 20px; }
  .medal-item img { max-width: 90px; }
  .medal-item.gold img { max-width: 106px; }

  .header-nav a { font-size: 0.95rem; }
}
