/* ========================================
   ZMIENNE
   ======================================== */
:root {
  --bg: #F6EFE5;
  --bg-alt: #EDE2D3;
  --text: #3A2A20;
  --muted: #7A6A5B;
  --accent: #A67C52;
  --accent-dark: #6E4E33;
  --choco: #4A2C1D;
  --line: #DCCDB9;
  --green: #6B7F5E;
  --green-soft: #A9B79A;
  --todo: #FFF3C4;
  --todo-text: #6B5300;
  --font-head: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
  --container-width: 1040px;
  --radius: 6px;
  --space: 24px;
}

/* ========================================
   RESET I BAZA
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.1; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 20px; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 36px; color: var(--choco); letter-spacing: 0.04em; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
.container { max-width: var(--container-width); margin-inline: auto; padding-inline: 20px; }
section { padding-block: 72px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.script { font-family: var(--font-script); font-size: 1.7rem; color: var(--choco); display: block; margin-bottom: 8px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ========================================
   PRZYCISKI
   ======================================== */
.btn {
  display: inline-block; min-height: 44px; padding: 12px 28px;
  background: var(--accent); color: #fff; text-decoration: none;
  border: 2px solid var(--accent); border-radius: 999px; font-weight: 500;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--accent-dark); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ========================================
   PLACEHOLDERY (znikają w wersji produkcyjnej)
   ======================================== */
.placeholder-img {
  background: var(--bg-alt); border: 1px dashed var(--line);
  display: grid; place-items: center; color: var(--muted);
  text-align: center; font-size: 0.9rem; line-height: 1.4;
}
.todo {
  background: var(--todo); color: var(--todo-text); font-size: 0.85rem;
  padding: 10px 14px; border-radius: var(--radius); margin-top: 20px;
  border-left: 3px solid #E0B400;
}
.todo-inline { background: var(--todo); color: var(--todo-text); padding: 0 4px; }

/* ========================================
   NAWIGACJA
   ======================================== */
.nav { position: sticky; top: 0; background: rgba(250,246,241,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.nav__brand { font-size: 1.7rem; font-weight: 600; text-decoration: none; color: var(--choco); line-height: 1; margin: 0; }
.nav__inner { min-height: 72px; }
.nav__list { list-style: none; display: flex; gap: 14px; }
.nav__list a { text-decoration: none; color: var(--text); padding: 10px 2px; display: inline-block; font-size: 0.88rem; }
.nav__list a:hover { color: var(--accent-dark); }

/* ========================================
   HERO: wideo na całą szerokość
   ======================================== */
.hero { position: relative; height: 100svh; min-height: 520px; max-height: 900px; overflow: hidden; padding: 0; background: var(--choco) url("img/hero-poster.jpg") center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.hero__video.is-ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,42,32,0.25) 0%, rgba(58,42,32,0.15) 50%, rgba(58,42,32,0.55) 100%); }
.hero__overlay { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--bg); }
.hero__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(5.5rem, 22vw, 12rem); line-height: 0.9; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg); margin: 0; text-shadow: 0 4px 30px rgba(0,0,0,0.35); }
.hero__sub { font-size: clamp(1.1rem, 4vw, 1.7rem); letter-spacing: 0.4em; text-transform: uppercase; color: var(--bg); margin: 14px 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero__script { display: flex; align-items: center; gap: 14px; margin: 4px 0 36px; }
.hero__script .script { font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 0; color: var(--bg); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero__script .line { width: 60px; height: 1px; background: var(--bg); opacity: .8; }
.hero .btn { background: var(--bg); border-color: var(--bg); color: var(--choco); }
.hero .btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.sound { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.6); background: rgba(58,42,32,0.45); color: #fff; font: inherit; font-size: 0.85rem; cursor: pointer; backdrop-filter: blur(6px); }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound .sound__on { display: none; }
.sound.is-on .sound__on { display: block; }
.sound.is-on .sound__off { display: none; }
.vine { color: var(--green-soft); pointer-events: none; }
.vine--hero { position: absolute; z-index: 1; left: -20px; bottom: -8px; width: min(46vw, 360px); opacity: .9; }

/* ========================================
   SZCZEGÓŁY (lista z plakatu)
   ======================================== */
.intro { position: relative; padding-block: 56px; overflow: hidden; }
.intro__inner { position: relative; }
.vine--left { position: absolute; right: -40px; top: -30px; width: 300px; transform: scaleX(-1); color: var(--green-soft); opacity: .55; }
.facts { list-style: none; margin-bottom: 8px; position: relative; max-width: 560px; margin-inline: auto; }
.facts li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.facts li:last-child { border-bottom: 0; }
.facts a { color: var(--accent-dark); }
.facts__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #E3E8DB; display: grid; place-items: center; color: var(--green); }
.facts__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.intro__quote { text-align: center; margin-top: 28px; }
.intro__quote .script { font-size: clamp(1.4rem, 4.5vw, 2rem); color: var(--green); }

/* ========================================
   O MNIE
   ======================================== */
.about { background: var(--bg-alt); }
.about__media { max-width: 280px; margin-bottom: 32px; }
.about__photo { height: auto; border-radius: var(--radius); width: 100%; display: block; }
.vine--about { display: block; width: 100%; margin-top: 10px; color: var(--green-soft); }
.about__story h3 { margin-top: 28px; margin-bottom: 10px; color: var(--choco); font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; letter-spacing: 0.02em; text-transform: none; }
.about__story h3:first-child { margin-top: 0; }
.about__story p { font-size: 1.02rem; line-height: 1.75; color: var(--text); max-width: 34em; }
.about__story .btn { margin-top: 20px; }

/* ========================================
   ZAJĘCIA I GRAFIK
   ======================================== */
.cards { display: grid; gap: 20px; margin-bottom: 56px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card__meta { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.03em; }
.schedule__title { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.schedule th, .schedule td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.schedule th { font-weight: 500; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.classes .btn { margin-top: 28px; }

/* ========================================
   KONTAKT
   ======================================== */
.contact { background: var(--bg-alt); }
.contact__inner { max-width: 620px; }
.form { display: grid; gap: 6px; margin-block: 28px; }
.form label { font-size: 0.9rem; font-weight: 500; margin-top: 12px; }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; min-height: 44px; width: 100%;
}
.form .btn { margin-top: 16px; justify-self: start; }
.contact__alt { color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }
.form-note { font-size: 0.95rem; padding: 12px 16px; border-radius: var(--radius); margin-top: 14px; }
.form-note--ok { background: #E3E8DB; color: #3F5233; border-left: 3px solid var(--green); }
.form-note p { margin-bottom: 0; }
.form-note__title { font-weight: 500; }
.form-note__cal { margin-top: 8px !important; font-size: 0.9rem; }
.form-note__cal a { color: #3F5233; }
.form-note--err { background: #F6E1DA; color: #7A3B26; border-left: 3px solid #B5654A; }
.form .btn[disabled] { opacity: .6; cursor: default; }
h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--green-soft); margin-top: 14px; }

/* ========================================
   STOPKA
   ======================================== */
.footer { padding-block: 32px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.footer p { margin-bottom: 6px; }
.footer__small { font-size: 0.8rem; }

/* ========================================
   TABLET I DESKTOP
   ======================================== */
@media (min-width: 768px) {
  section { padding-block: 96px; }
  .about__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
  .about__media { margin-bottom: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .nav__brand { font-size: 2.1rem; }
  .nav__list { gap: 24px; }
  .nav__list a { font-size: 0.95rem; }
  .sound { right: 28px; bottom: 28px; }
  .intro { padding-block: 72px; }
}

/* ========================================
   RUCH
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero { background: url("img/hero-poster.jpg") center / cover no-repeat; }
  * { transition: none !important; }
}
.schedule__note { margin-top: 12px; color: var(--muted); }

/* ========================================
   CENNIK I INFO
   ======================================== */
.info { display: grid; gap: 20px; margin-top: 40px; }
.info__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info__item h3 { color: var(--accent-dark); font-size: 0.85rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.info__item p { margin-bottom: 8px; }
.pay-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
@media (min-width: 768px) { .info { grid-template-columns: 1fr 1fr; } }
