/* =====================================================
   Muzyczny Męski Krąg — Białystok
   Nauka gry i śpiewu w zespole dla mężczyzn.
   Paleta: węgiel, kość, bursztyn. Cinzel + DM Sans.
   ===================================================== */

:root {
  color-scheme: only light;
  --black:   #17130E;
  --ink:     #241C13;
  --ink2:    #4C4030;
  --ink3:    #726550;
  --paper:   #F1EADD;
  --paper2:  #E6DBC8;
  --card-bg: #FBF7EF;
  --white:   #FFFFFF;
  --ember:   #B4712B;
  --ember-d: #8A5316;
  --ember-l: #F2E3CC;
  --pine:    #45513C;
  --pine-l:  #E3E7DA;
  --gold:    #A6803F;
  --gold-ink:#6F4E17;
  --gold-line: rgba(166,128,63,.28);
  --sand:    #E7C08A;
  --line:    rgba(36,28,19,.12);
  --shadow:    0 1px 2px rgba(23,19,14,.06), 0 6px 20px rgba(23,19,14,.08);
  --shadow-lg: 0 2px 6px rgba(23,19,14,.08), 0 24px 60px rgba(23,19,14,.16);
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }
.wrap.narrow { max-width: 760px; }
[id] { scroll-margin-top: 82px; }
h1,h2,h3,h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.14; }
p, li { text-wrap: pretty; }
b, strong { color: var(--ink); font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ember-d); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* ─── NAV ─── */
.nav { position: sticky; top: 0; z-index: 1100; background: rgba(20,17,11,.97); backdrop-filter: saturate(150%) blur(8px); -webkit-backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid rgba(231,192,138,.14); }
.nav .row { max-width: 1080px; margin: 0 auto; padding: 11px 22px; display: flex; align-items: center; gap: 14px; }
.brand { font-family: var(--serif); font-weight: 700; letter-spacing: .12em; font-size: 15.5px; color: #fff; white-space: nowrap; line-height: 1.1; }
.brand span { color: var(--sand); font-size: 9.5px; display: block; letter-spacing: .2em; font-weight: 500; margin-top: 3px; text-transform: uppercase; }
.links { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.links a { color: #d9cbb6; font-size: 13.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s; }
.links a:hover, .links a:focus-visible { color: #fff; background: rgba(231,192,138,.12); }
.links a.cta { background: var(--ember); color: #241407; font-weight: 700; }
.links a.cta:hover { background: var(--sand); }
.burger { display: none; width: 44px; height: 38px; border: 0; background: transparent; cursor: pointer; padding: 9px 8px; flex-direction: column; justify-content: space-between; margin-left: auto; }
.burger span { display: block; height: 2px; width: 100%; background: var(--sand); border-radius: 2px; transition: transform .22s, opacity .18s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: flex; }
  .links { position: fixed; inset: 59px 0 auto 0; flex-direction: column; gap: 0; background: rgba(20,17,11,.99); padding: 8px 0 16px; border-bottom: 1px solid rgba(231,192,138,.14); transform: translateY(-145%); transition: transform .28s ease; }
  .links.open { transform: translateY(0); }
  .links a { width: 100%; border-radius: 0; padding: 14px 24px; font-size: 15px; }
  .links a.cta { margin: 8px 24px 0; border-radius: 999px; text-align: center; }
}

/* ─── HERO ─── */
.hero { background: linear-gradient(158deg, #17130E 0%, #241C13 58%, #2E2417 100%); color: #F1EADD; padding: 64px 0 54px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: 50%; transform: translateY(-50%); width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(231,192,138,.14); box-shadow: 0 0 0 34px rgba(231,192,138,.05), 0 0 0 80px rgba(231,192,138,.04), 0 0 0 130px rgba(231,192,138,.03); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero .kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); font-weight: 600; }
.hero h1 { font-size: clamp(33px, 6vw, 56px); margin: 14px 0 16px; letter-spacing: .015em; color: #fff; }
.hero .lead { font-size: clamp(16px, 2.1vw, 19px); max-width: 620px; color: #E4D8C3; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .meta span { font-size: 13px; background: rgba(231,192,138,.12); border: 1px solid rgba(231,192,138,.22); color: var(--sand); padding: 7px 14px; border-radius: 999px; }
.hero .cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-block; font-weight: 700; padding: 13px 26px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow); transition: background .15s, transform .15s, color .15s; cursor: pointer; border: 0; font-family: var(--sans); }
.btn-amber { background: var(--ember); color: #241407; }
.btn-amber:hover { background: var(--sand); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #F1EADD; border: 1.5px solid rgba(231,192,138,.4); }
.btn-ghost:hover { background: rgba(231,192,138,.12); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--black); transform: translateY(-1px); }

/* ─── SECTIONS ─── */
.sec { padding: 54px 0; }
.sec.alt { background: var(--card-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.ember { background: linear-gradient(160deg, #2B2013, #17130E); color: #F1EADD; border: 0; }
.sec.ember h2, .sec.ember h3 { color: #fff; }
.sec.ember .sec-sub, .sec.ember p { color: #E4D8C3; }
.sec-head { max-width: 720px; margin-bottom: 26px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember-d); font-weight: 700; margin-bottom: 10px; }
.sec.ember .sec-kicker { color: var(--sand); }
.sec-title { font-size: clamp(25px, 4vw, 34px); color: var(--ink); }
.sec.ember .sec-title { color: #fff; }
.sec-sub { font-size: 16.5px; color: var(--ink2); margin-top: 10px; }
.sec-sub.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.sec p.body { font-size: 16px; color: var(--ink2); margin-bottom: 14px; max-width: 720px; }

/* ─── GRIDS + CARDS ─── */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 15px; padding: 22px; box-shadow: var(--shadow); }
.sec.alt .card { background: var(--white); }
.card.amber { background: var(--ember-l); border-color: var(--gold-line); }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink2); margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .tagline { color: var(--ember-d); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-bottom: 8px; }
.card .muted { color: var(--ink3); font-size: 13.5px; }

.step { background: var(--card-bg); border: 1px solid var(--line); border-radius: 15px; padding: 24px 22px; box-shadow: var(--shadow); position: relative; }
.sec.alt .step { background: var(--white); }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--sand); font-family: var(--serif); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink2); }

.note { background: var(--pine-l); border-left: 3px solid var(--pine); padding: 16px 18px; border-radius: 0 12px 12px 0; font-size: 15px; color: var(--ink2); }
.note.amber { background: var(--ember-l); border-left-color: var(--ember-d); }
.note b { color: var(--ink); }

.ticks { list-style: none; max-width: 720px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15.5px; color: var(--ink2); }
.ticks li::before { content: "♪"; position: absolute; left: 0; top: 0; color: var(--ember-d); font-size: 16px; font-weight: 700; }

/* ─── CENNIK TABLE ─── */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--ink); color: var(--sand); font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-weight: 700; color: var(--ember-d); white-space: nowrap; }
.price-table .muted { color: var(--ink3); font-size: 13px; }
.table-scroll { overflow-x: auto; }

/* ─── PROWADZĄCY ─── */
.lead-grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
@media (max-width: 720px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-photo { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3/3.4; object-fit: cover; }
.lead-body h3 { font-size: 23px; color: var(--ink); margin-bottom: 4px; }
.lead-body .role { color: var(--ember-d); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.lead-body p { font-size: 15.5px; color: var(--ink2); margin-bottom: 12px; }
.lead-body .creds { list-style: none; margin-top: 8px; }
.lead-body .creds li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: 14.5px; color: var(--ink2); }
.lead-body .creds li::before { content: "▸"; position: absolute; left: 0; color: var(--ember-d); }

/* ─── FAQ ─── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { padding: 16px 20px; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember-d); font-size: 22px; font-weight: 400; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--ink2); }

/* ─── FORM ─── */
.form { max-width: 620px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin: 14px 0 5px; }
.form input, .form select, .form textarea { width: 100%; font-family: var(--sans); font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--gold-line); border-radius: 10px; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ember); }
.form textarea { min-height: 100px; resize: vertical; }
.form .btn { margin-top: 20px; }
.form .hint { font-size: 12.5px; color: var(--ink3); margin-top: 6px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 18px; font-size: 15.5px; }
.contact-row a { color: var(--ember-d); font-weight: 600; }

/* ─── PLATFORMA (gate + materiały) ─── */
.gate { max-width: 460px; margin: 30px auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.gate h2 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.gate p { font-size: 15px; color: var(--ink2); margin-bottom: 18px; }
.gate input { width: 100%; font-size: 17px; text-align: center; letter-spacing: .12em; padding: 13px; border: 1.5px solid var(--gold-line); border-radius: 10px; margin-bottom: 12px; text-transform: uppercase; }
.gate input:focus { outline: 0; border-color: var(--ember); }
.gate .err { color: #A2431F; font-size: 13.5px; min-height: 18px; margin-top: 6px; }
.hidden { display: none !important; }
.mat-group { margin-bottom: 30px; }
.mat-group h3 { font-size: 20px; color: var(--ink); margin-bottom: 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ember-l); }
.mat-group .mg-sub { font-size: 14px; color: var(--ink3); margin: 6px 0 14px; }
.mat-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.mat-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 4px; font-family: var(--sans); font-weight: 700; }
.mat-item p { font-size: 14px; color: var(--ink2); }
.mat-item .badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ember-d); background: var(--ember-l); padding: 3px 9px; border-radius: 6px; margin-bottom: 8px; }

/* ─── FLOAT WhatsApp ─── */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1200; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 6px 20px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ─── FOOTER ─── */
.foot { background: var(--black); color: #cdbfa6; padding: 44px 0 26px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot h4 { font-family: var(--serif); color: var(--sand); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.foot .b { font-family: var(--serif); font-size: 18px; color: #fff; letter-spacing: .1em; margin-bottom: 8px; }
.foot p, .foot a { font-size: 13.5px; line-height: 1.85; }
.foot a { color: #cdbfa6; }
.foot a:hover { color: #fff; }
.foot .bar { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(231,192,138,.14); font-size: 12px; color: #90876f; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
@media (max-width: 680px) { .foot .cols { grid-template-columns: 1fr; gap: 22px; } }

.center { text-align: center; }
.mt26 { margin-top: 26px; }
