/* ============================================
   FizjOni - Gabinet Fizjoterapii, Wrocław
   Redesign 2026 - dark mode
   ============================================ */

:root {
  --bg: #0f1219;
  --surface: #151924;
  --surface-2: #1c212e;
  --line: #272e3d;
  --text: #eef0f4;
  --muted: #9aa1ae;
  --orange: #fa9251;
  --orange-bright: #ffa76b;
  --orange-soft: rgba(250, 146, 81, 0.12);
  --radius: 18px;
  --shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 1px rgba(250, 146, 81, 0.35), 0 8px 36px rgba(250, 146, 81, 0.14);
  --underglow: 0 24px 48px -16px rgba(250, 146, 81, 0.28);
}

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

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

/* Lenis (plynne przewijanie) - gdy aktywny, natywny smooth wylaczony */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Pasek postepu przewijania - cienka linia na samej gorze */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  pointer-events: none;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.team-photo img,
.journey-figures img,
.logo-img {
  pointer-events: none;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 24px rgba(250, 146, 81, 0.35);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(250, 146, 81, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(250, 146, 81, 0.15);
}

.btn-light {
  background: #fff;
  color: #1a1e29;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 18, 25, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo .logo-oni {
  color: var(--orange);
}

.logo .logo-img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--orange-bright);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  color: var(--orange-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: all 0.3s ease;
  content: "";
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -200px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 146, 81, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(250, 146, 81, 0.35);
  color: var(--orange-bright);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(250, 146, 81, 0.12);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(250, 146, 81, 0.8);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--orange);
  text-shadow: 0 0 32px rgba(250, 146, 81, 0.35);
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat .stat-num {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text);
}

.stat .stat-num em {
  color: var(--orange);
  font-style: normal;
}

.stat .stat-label {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Hero visual - evolution journey card */

.hero-visual {
  position: relative;
}

.journey-card {
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px 40px;
  color: var(--text);
  box-shadow: var(--shadow-lg), var(--underglow);
  position: relative;
  overflow: hidden;
}

.journey-card::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 146, 81, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.journey-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.journey-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 36px;
}

.journey-figures {
  position: relative;
  z-index: 1;
  padding: 0 6px;
}

.journey-figures img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(250, 146, 81, 0.25));
}

.journey-track {
  height: 3px;
  border-radius: 3px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, var(--orange) 100%);
  box-shadow: 0 0 16px rgba(250, 146, 81, 0.3);
  position: relative;
  z-index: 1;
}

.journey-badge {
  margin-top: 28px;
  background: rgba(250, 146, 81, 0.08);
  border: 1px solid rgba(250, 146, 81, 0.3);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.journey-badge .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.journey-badge .badge-text strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 14.5px;
  color: var(--text);
}

.journey-badge .badge-text span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Sections ---------- */

section {
  padding: 90px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- O nas ---------- */

.about {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--underglow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 146, 81, 0.45);
  box-shadow: var(--glow), var(--underglow);
}

.about-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.about-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Usługi ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--underglow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 146, 81, 0.45);
  box-shadow: var(--glow), var(--underglow);
}

.service-card .service-num {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Sport band */

.sport-band {
  margin-top: 56px;
  background: linear-gradient(140deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px;
  color: var(--text);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--underglow);
}

.sport-band::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 146, 81, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.sport-band h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
  position: relative;
}

.sport-band p {
  color: var(--muted);
  font-size: 16px;
  position: relative;
}

.sport-band .sport-cta {
  text-align: right;
  position: relative;
}

/* ---------- Wideo ---------- */

.video-section {
  background: var(--bg);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), var(--underglow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
  display: block;
}

.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.video-cover:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 0 0 10px rgba(250, 146, 81, 0.25), 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-cover:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--orange-bright);
}

.video-cover-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: rgba(15, 18, 25, 0.65);
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- Zespół ---------- */

.team {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 24px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--underglow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 146, 81, 0.45);
  box-shadow: var(--glow), var(--underglow);
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--orange);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-card h3,
.team-card > p {
  padding: 0 16px;
}

.team-card h3 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.team-card .team-pwz {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-bright);
  letter-spacing: 0.02em;
}

.team-note {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.team-note strong {
  color: var(--text);
}

/* ---------- Opinie ---------- */

.reviews-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--surface);
}

.reviews-strip::-webkit-scrollbar {
  height: 8px;
}

.reviews-strip::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 999px;
}

.reviews-strip::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
}

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--underglow);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--orange);
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(250, 146, 81, 0.4);
}

.review-text {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-soft);
  border: 1px solid rgba(250, 146, 81, 0.35);
  color: var(--orange);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-meta strong {
  font-family: "Sora", sans-serif;
  font-size: 14px;
  color: var(--text);
}

.review-meta span {
  font-size: 12.5px;
  color: var(--muted);
}

.reviews-cta {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Cennik ---------- */

.pricing-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), var(--underglow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--orange-bright);
  background: #11141d;
  padding: 18px 24px;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: right;
}

.pricing-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

.pricing-table tr:hover td {
  background: var(--orange-soft);
}

.pricing-table .svc {
  font-weight: 600;
}

.pricing-table .svc small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.pricing-table .time {
  color: var(--muted);
  white-space: nowrap;
}

.pricing-table .price {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-table .price small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--orange-bright);
  font-size: 13px;
  margin-top: 2px;
}

.pricing-notes {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-note {
  background: var(--orange-soft);
  border: 1px solid rgba(250, 146, 81, 0.3);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14.5px;
  color: var(--text);
  box-shadow: var(--underglow);
}

.pricing-note strong {
  font-family: "Sora", sans-serif;
  display: block;
  margin-bottom: 6px;
  color: var(--orange-bright);
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-items {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--underglow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 146, 81, 0.45);
  box-shadow: var(--glow), var(--underglow);
}

.contact-item .ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a.ci-link {
  font-size: 15px;
  color: var(--muted);
}

.contact-item a.ci-link:hover {
  color: var(--orange-bright);
}

/* Mapa dojazdu */

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 420px;
  position: relative;
  box-shadow: var(--underglow);
}

.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 32px;
  background: radial-gradient(circle at 50% 35%, rgba(250, 146, 81, 0.08) 0%, transparent 55%);
}

.map-placeholder[hidden] {
  display: none;
}

.map-placeholder p {
  font-size: 14px;
  color: var(--muted);
  max-width: 380px;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 0 0 90px;
}

.cta-inner {
  background: linear-gradient(120deg, var(--orange) 0%, #fcb27e 100%);
  border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 0 80px rgba(250, 146, 81, 0.25);
}

.cta-inner h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.92);
}

.cta-inner .cta-actions {
  text-align: right;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0a0d13;
  color: var(--muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 14.5px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(250, 146, 81, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 24px rgba(250, 146, 81, 0.4);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange-bright);
}

.footer-col li {
  font-size: 14.5px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--orange-bright);
}

.footer-credit {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-credit a strong {
  color: var(--orange);
  font-weight: 600;
}

.footer-credit a:hover,
.footer-credit a:hover strong {
  color: var(--orange-bright);
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  z-index: 200;
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: cookieIn 0.4s ease;
}

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

.cookie-banner h3 {
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.cookie-banner p a {
  color: var(--orange-bright);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-actions .btn {
  padding: 11px 22px;
  font-size: 14px;
}

.cookie-banner [hidden] {
  display: none;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-option:last-of-type {
  margin-bottom: 18px;
}

.cookie-option-text strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  color: var(--text);
}

.cookie-option-text span {
  font-size: 12.5px;
  color: var(--muted);
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: var(--orange);
  box-shadow: 0 0 14px rgba(250, 146, 81, 0.4);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.55;
  cursor: not-allowed;
}

.switch input:focus-visible + .slider {
  outline: 2px solid var(--orange-bright);
  outline-offset: 2px;
}

/* ---------- Polityka prywatności (podstrona) ---------- */

.legal-page {
  padding: 150px 0 90px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 48px;
}

.legal-page p {
  font-size: 16px;
  line-height: 1.8;
  color: #c6cad3;
  margin-bottom: 22px;
}

.legal-page strong {
  color: var(--text);
}

.legal-page a {
  color: var(--orange-bright);
  text-decoration: underline;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    width: 100%;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone span {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .sport-band {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .sport-band .sport-cta {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }

  .cta-inner .cta-actions {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .pricing-table .time {
    display: none;
  }

  .pricing-table th:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 124px 0 64px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .team-card h3 {
    font-size: 14.5px;
  }

  .team-card > p {
    font-size: 12.5px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px 28px;
  }

  .stat .stat-num {
    font-size: 24px;
  }

  .journey-card {
    padding: 36px 26px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 13px 14px;
  }

  .video-frame {
    border-radius: 16px;
  }

  .review-card {
    flex-basis: 280px;
  }

  .map-box {
    min-height: 320px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 20px;
  }

  .logo .logo-img {
    height: 42px;
  }

  .header-inner {
    height: 64px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .hero {
    padding: 110px 0 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .sport-band {
    padding: 32px 22px;
  }

  .cta-inner {
    padding: 36px 22px;
  }

  .legal-page {
    padding-top: 110px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1240px;
  }
}
