/* ============================================================
   Pilates z Oddechem — wersja testowa
   ============================================================ */

:root {
  --cream: #faf7f1;
  --cream-2: #f3eee4;
  --green-dark: #2e3a2c;
  --green: #4a5d45;
  --green-soft: #8a9a80;
  --gold: #c2a878;
  --gold-light: #e6d7bb;
  --ink: #2b2b26;
  --ink-soft: #6b6b60;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(46, 58, 44, 0.12);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--green-dark); }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
h3 { font-size: 1.45rem; }

.eyebrow {
  display: inline-block;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 680px; }

section { padding: 90px 0; }

/* ---------- header ---------- */
.topbar {
  background: var(--green-dark);
  color: #d9d4c5;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); text-decoration: none; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 58, 44, 0.08);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}
nav.main a:hover { color: var(--gold); }
nav.main a.active { color: var(--green); font-weight: 600; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.6px;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b3986a; }
.btn-green { background: var(--green); color: var(--white); }
.btn-outline { border: 1.5px solid var(--green-dark); color: var(--green-dark); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--green-dark); cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 120px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-img) center/cover no-repeat;
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(30, 40, 28, 0.82) 0%, rgba(30, 40, 28, 0.55) 55%, rgba(30, 40, 28, 0.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero p { max-width: 560px; margin: 22px 0 34px; font-size: 1.15rem; color: #ece8db; }
.hero .eyebrow { color: var(--gold-light); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- two paths ---------- */
.paths { background: var(--cream); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 50px; }

.path-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.path-card:hover { transform: translateY(-6px); }
.path-card .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.path-card:hover .bg { transform: scale(1.05); }
.path-card .overlay { position: absolute; inset: 0; }
.path-card.premium .overlay { background: linear-gradient(180deg, rgba(28, 36, 26, 0.15) 0%, rgba(28, 36, 26, 0.92) 78%); }
.path-card.classic .overlay { background: linear-gradient(180deg, rgba(74, 93, 69, 0.05) 0%, rgba(58, 72, 54, 0.9) 78%); }
.path-card .content { position: relative; z-index: 2; padding: 40px; color: var(--white); }
.path-card .tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.path-card.premium .tag { background: var(--gold); color: var(--green-dark); font-weight: 600; }
.path-card.classic .tag { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.path-card h3 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.path-card p { color: #e3dfd2; font-size: 0.98rem; margin-bottom: 22px; }
.path-card .fake-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.path-card.premium .fake-btn { background: var(--gold); color: var(--green-dark); font-weight: 600; }
.path-card.classic .fake-btn { border: 1.5px solid rgba(255,255,255,0.75); color: var(--white); }

/* ---------- benefits ---------- */
.benefits { background: var(--white); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.benefit {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid rgba(46, 58, 44, 0.07);
}
.benefit .icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 1.3rem; margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- about ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text p { margin-bottom: 16px; color: #4a4a40; }
.signature { font-family: var(--font-head); font-size: 1.6rem; color: var(--green); font-style: italic; }

/* ---------- certificates marquee ---------- */
.certs {
  background: var(--green-dark);
  padding: 80px 0;
  overflow: hidden;
}
.certs .head { text-align: center; margin-bottom: 46px; padding: 0 24px; }
.certs h2 { color: var(--white); }
.certs .lead { margin: 0 auto; color: #b9c0ae; }
.certs .eyebrow { color: var(--gold); }

.marquee {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marquee 32s linear infinite;
  padding: 6px 0;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cert-card {
  flex: 0 0 auto;
  width: 300px;
  background: linear-gradient(160deg, #fdfbf6 0%, #f1e9d8 100%);
  border-radius: 14px;
  padding: 30px 28px;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(194, 168, 120, 0.65);
  border-radius: 9px;
  pointer-events: none;
}
.cert-card .seal {
  width: 52px; height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #dcc494, var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.35rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.cert-card h4 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.cert-card p { font-size: 0.85rem; color: #857e6c; }
.cert-note { text-align: center; color: #8f9a85; font-size: 0.82rem; margin-top: 34px; font-style: italic; }

/* certyfikaty jako skany */
.cert-scan {
  flex: 0 0 auto;
  height: 300px;
  box-sizing: border-box;
  padding: 9px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
.cert-scan img { height: 100%; width: auto; display: block; border-radius: 3px; }
.cert-scan:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45); }

/* lightbox / powiększenie */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 24, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.lightbox .lb-close {
  position: absolute;
  top: 18px;
  right: 26px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- reviews ---------- */
.reviews { background: var(--white); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.review {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 30px;
  border: 1px solid rgba(46, 58, 44, 0.07);
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.review p { color: #4a4a40; font-size: 0.95rem; flex: 1; }
.review .who { margin-top: 18px; font-weight: 600; color: var(--green-dark); font-size: 0.92rem; }
.review .src { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- classes (klasyczny) ---------- */
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.class-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(46, 58, 44, 0.08);
  box-shadow: 0 6px 20px rgba(46, 58, 44, 0.05);
}
.class-card .num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.class-card h3 { margin-bottom: 10px; }
.class-card p { color: var(--ink-soft); font-size: 0.96rem; }
.class-card .pill {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 14px;
  border-radius: 30px;
  background: var(--cream-2);
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- pricing ---------- */
.pricing { background: var(--cream-2); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; align-items: stretch; }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(46, 58, 44, 0.08);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--green-dark);
  color: #e6e2d4;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}
.price-card.featured h3, .price-card.featured .amount { color: var(--white); }
.price-card .plan-tag {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .amount {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--green-dark);
  margin: 14px 0 4px;
}
.price-card .amount small { font-size: 1.1rem; }
.price-card ul { list-style: none; margin: 20px 0 28px; flex: 1; }
.price-card li { padding: 7px 0; font-size: 0.93rem; border-bottom: 1px dashed rgba(46,58,44,0.12); }
.price-card.featured li { border-bottom-color: rgba(255,255,255,0.15); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d5d9c8; max-width: 560px; margin: 14px auto 32px; }

/* ---------- premium page extras ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  padding: 10px 0 10px 38px;
  position: relative;
  color: #4a4a40;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 6px 20px rgba(46, 58, 44, 0.05);
}
.step .n {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

/* ---------- compare table ---------- */
.compare { margin-top: 60px; overflow-x: auto; }
.compare table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(46, 58, 44, 0.06);
}
.compare th, .compare td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(46, 58, 44, 0.08);
  font-size: 0.95rem;
}
.compare thead th {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  background: var(--green);
}
.compare thead th:first-child { background: var(--green-dark); width: 26%; }
.compare thead th.premium-col { background: var(--green-dark); }
.compare thead th.premium-col span {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 12px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  vertical-align: middle;
  font-weight: 600;
}
.compare tbody th { font-weight: 600; color: var(--green-dark); background: var(--cream); }
.compare td { color: #4a4a40; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.gallery-grid figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 6px 18px rgba(46, 58, 44, 0.1);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(28, 36, 26, 0.75));
  color: #f0ecdf;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* ---------- masaż: dla kogo ---------- */
.for-whom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(46, 58, 44, 0.18);
  font-size: 0.9rem;
  color: #4a4a40;
}
.for-whom strong { color: var(--green-dark); }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(46, 58, 44, 0.07);
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.team-photo.placeholder span {
  font-family: var(--font-head);
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
}
.team-body { padding: 26px 26px 30px; }
.team-body h3 { margin: 0; font-size: 1.6rem; }
.team-body .role {
  display: block;
  margin: 6px 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.team-body p { color: #4a4a40; font-size: 0.92rem; }
.team-body details { margin-top: 10px; }
.team-body details summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  list-style: none;
  display: inline-block;
  margin-top: 4px;
}
.team-body details summary::-webkit-details-marker { display: none; }
.team-body details summary::after { content: " ↓"; }
.team-body details[open] summary::after { content: " ↑"; }
.team-body details p { margin-top: 10px; font-size: 0.9rem; }

/* ---------- map ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; margin-top: 48px; }
.map-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid rgba(46, 58, 44, 0.08);
  box-shadow: 0 6px 20px rgba(46, 58, 44, 0.05);
}
.map-info ul { list-style: none; margin-top: 20px; }
.map-info li { padding: 10px 0; border-bottom: 1px dashed rgba(46, 58, 44, 0.12); color: #4a4a40; }
.map-info li strong { color: var(--green-dark); }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation-duration: 90s; }
}

/* ---------- footer ---------- */
footer {
  background: var(--green-dark);
  color: #b9c0ae;
  padding: 70px 0 30px;
  font-size: 0.94rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
footer h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; }
footer li { padding: 5px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7f8a76;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .paths-grid, .about-grid, .split, .footer-grid,
  .benefit-grid, .review-grid, .price-grid, .steps, .class-grid, .map-grid, .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 420px; }
  .path-card { min-height: 440px; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(46,58,44,0.1);
    gap: 18px;
  }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
}
