/* ============================================
   WOKALNIA — Landing Page Styles
   ============================================ */

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-soft: #FAF6F0;
  --color-beige: #EFE3D0;
  --color-beige-dark: #D9C9A8;
  --color-gold: #B8935A;
  --color-gold-dark: #9C7A44;
  --color-text: #292524;
  --color-text-soft: #6B6560;
  --color-border: #E9E2D6;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(41, 37, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(41, 37, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(41, 37, 34, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; color: var(--color-text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-gold);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
}
.btn-secondary:hover { background: var(--color-text); color: #fff; }

.btn-large { padding: 20px 42px; font-size: 0.92rem; }
.btn-small { padding: 11px 24px; font-size: 0.78rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.is-on-hero {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.logo-dot { color: var(--color-gold); }
.site-header.is-on-hero .logo { color: #fff; }

.header-cta { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  padding: 132px 0 88px;
  margin-top: -76px;
  background:
    radial-gradient(ellipse at top right, rgba(184, 147, 90, 0.25) 0%, transparent 55%),
    linear-gradient(160deg, #2B2621 0%, #1E1A16 60%, #171310 100%);
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}
.eyebrow-star { font-size: 0.85rem; }
.eyebrow-center { text-align: center; width: 100%; justify-content: center; }

.hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 3.7rem);
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-divider {
  width: 64px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
}
.trust-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-media { position: relative; justify-self: center; }

.hero-photo-frame {
  width: min(100%, 400px);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: var(--color-beige);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge-emoji {
  color: var(--color-gold);
  font-size: 1.1rem;
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-media { justify-self: end; }
}

/* ---------- Statement band ---------- */
.statement-band {
  background: var(--color-bg-soft);
  padding: 56px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.statement-band p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--color-text);
}
.statement-band span { color: var(--color-gold-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reviews carousel (Superprof) ---------- */
.reviews-carousel-section { padding: 64px 0 88px; }

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

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  flex: 1;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.review-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card-head strong { display: block; font-size: 0.95rem; }
.review-card-head .stars { font-size: 0.78rem; margin-top: 2px; }

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-bg, var(--color-beige));
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  flex-shrink: 0;
}

.review-card p { font-size: 0.94rem; color: var(--color-text-soft); }

.review-avatar-photo { object-fit: cover; }

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-text);
  transition: background var(--transition), border-color var(--transition);
}
.carousel-arrow:hover { background: var(--color-bg-soft); border-color: var(--color-gold); }

.superprof-badge-wrap { display: flex; justify-content: center; margin-top: 36px; }

.superprof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-beige-dark);
  font-size: 0.85rem;
  color: var(--color-text-soft);
  transition: border-color var(--transition), transform var(--transition);
}
.superprof-badge:hover { border-color: var(--color-gold); transform: translateY(-1px); }
.superprof-badge strong { color: var(--color-text); }

.superprof-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
}

.featured-review {
  max-width: 520px;
  margin: 32px auto 0;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
}
.featured-review .stars { justify-content: center; margin-bottom: 14px; }
.featured-review p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 20px;
}
.featured-review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.featured-review-author div { text-align: left; }
.featured-review-author strong { display: block; font-size: 0.95rem; }
.featured-review-author span { font-size: 0.82rem; color: var(--color-text-soft); }

/* ---------- Section shared ---------- */
.section { padding: 104px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-lead {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--color-text-soft);
}

/* ---------- Problem ---------- */
.problem { background: var(--color-bg-soft); }

.problem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.problem-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-beige);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.problem-card p { font-size: 1.02rem; color: var(--color-text); }

/* ---------- Solution ---------- */
.solution {
  background:
    radial-gradient(ellipse at top right, rgba(184, 147, 90, 0.25) 0%, transparent 55%),
    linear-gradient(160deg, #2B2621 0%, #1E1A16 60%, #171310 100%);
}
.solution .section-head { max-width: 760px; }
.solution .section-head h2 { color: #fff; }
.solution .section-lead { color: rgba(255, 255, 255, 0.68); }
.solution .section-lead strong { color: var(--color-gold); }

.steps {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.step h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.step p { color: rgba(255, 255, 255, 0.65); }

.step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  color: var(--color-gold);
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
}
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: "→";
    left: auto;
    right: -30px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ---------- Effects ---------- */
.effects-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.effects-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.effects-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.effects-list { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.effects-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@media (min-width: 860px) {
  .effects-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- About ---------- */
.about { background: var(--color-bg-soft); }

.about-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-copy p { color: var(--color-text-soft); margin-bottom: 16px; }
.about-copy strong { color: var(--color-text); }

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-credentials span {
  background: #fff;
  border: 1px solid var(--color-beige-dark);
  color: var(--color-gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

@media (min-width: 860px) {
  .about-inner { grid-template-columns: 0.9fr 1.1fr; }
  .about-media { order: -1; }
}

/* ---------- Wideo ---------- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-soft);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stars { color: var(--color-gold); letter-spacing: 2px; font-size: 0.95rem; }

/* ---------- Offer ---------- */
.offer { background: var(--color-bg); }

.offer-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-beige-dark));
}

.offer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-soft);
  margin-bottom: 8px;
}
.offer-price-regular {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}
.offer-price-regular s { color: var(--color-gold-dark); }
.offer-price {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-text);
  line-height: 1;
}
.offer-price span { font-size: 4rem; }
.offer-price::after { content: ""; }
.offer-price-note {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-top: 8px;
  margin-bottom: 32px;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 36px;
}
.offer-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }

.offer-cta { width: 100%; }
.offer-guarantee { margin-top: 16px; font-size: 0.82rem; color: var(--color-text-soft); }

/* ---------- Packages teaser ---------- */
.packages-head {
  text-align: center;
  max-width: 560px;
  margin: 56px auto 0;
}
.packages-head h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.packages-head p { color: var(--color-text-soft); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 780px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--color-gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding var(--transition);
  padding: 0 24px;
}
.faq-answer p { color: var(--color-text-soft); padding-bottom: 20px; }
.faq-item.is-open .faq-answer { max-height: 300px; }

.faq-contact {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}
.faq-contact a { color: var(--color-gold-dark); font-weight: 600; }
.faq-contact a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, #2B2621 0%, #3A322A 100%);
  color: #fff;
}
.final-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.final-cta p { color: #D9CFC0; font-size: 1.05rem; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-legal button:hover { color: var(--color-gold-dark); }
.footer-contact { display: flex; gap: 16px; }
.footer-contact a:hover { color: var(--color-gold-dark); }

/* ---------- Okienko: dokumenty prawne ---------- */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(41, 37, 34, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.legal-overlay.is-visible { opacity: 1; }
.legal-overlay[hidden] { display: none; }

.legal-window {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 36px 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.legal-overlay.is-visible .legal-window { transform: scale(1); }

.legal-window h2 { font-size: 1.5rem; margin-bottom: 20px; flex-shrink: 0; }

.legal-body {
  overflow-y: auto;
  padding-right: 8px;
}
.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 24px 0 8px;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  margin-bottom: 12px;
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
}
.legal-close:hover { background: var(--color-beige); }

