/* martaplum.pl — identyfikacja PLUM „Cichy Kwiat”: śliwka #5B2A4C, róż śliwki #A9576B, krem #F6F1EC */
:root {
  --plum: #5B2A4C; --rose: #A9576B; --cream: #F6F1EC; --ink: #241820; --muted: #6B5A63;
  --soft: #EFE4E6; --line: #E2D4D9; --white: #FFFDFB;
  --serif: Georgia, "Times New Roman", serif; --sans: Arial, Helvetica, sans-serif;
  --r: 14px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--plum); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
section { padding: 56px 0; }
section.wrap { padding-top: 56px; padding-bottom: 56px; }
.band { background: var(--white); }
.band.soft { background: var(--soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--plum); color: #fff; padding: 8px 12px; z-index: 10; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink); }
.note { font-size: .85rem; color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(246,241,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand .mark { width: 50px; height: 40px; color: var(--plum); }
.brand .word { font-family: var(--serif); font-size: 1.9rem; letter-spacing: .04em; line-height: 1; }
.brand .tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); max-width: 150px; line-height: 1.3; }
.brand.light, .brand.light .mark { color: var(--cream); }
nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
nav a[aria-current="page"] { color: var(--plum); font-weight: bold; }
nav.desk { display: none; align-items: center; gap: 22px; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2px; background: var(--plum); }
.menu nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--cream); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 8px 20px 20px; gap: 4px; }
.menu nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu nav a.btn { border: 0; margin-top: 10px; text-align: center; }
@media (min-width: 980px) { nav.desk { display: flex; } .menu { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--plum); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px;
  font-size: .95rem; letter-spacing: .02em; border: 1.5px solid var(--plum); transition: background .2s, color .2s; }
.btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn.ghost { background: transparent; color: var(--plum); }
.btn.ghost:hover { background: var(--plum); color: #fff; }
.btn.small { padding: 9px 18px; color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.center .cta { justify-content: center; }

/* hero */
.hero { padding: 40px 0 64px; }
.hgrid { display: grid; gap: 36px; align-items: center; }
.hphoto img { border-radius: 200px 200px var(--r) var(--r); width: 100%; max-height: 640px; object-fit: cover; }
.trust { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.trust b { color: var(--plum); }
.stars { color: var(--rose); letter-spacing: 2px; margin-right: 6px; }
@media (min-width: 860px) { .hgrid { grid-template-columns: 1.15fr .85fr; } .hero { padding: 64px 0 80px; } }

/* page head */
.pagehead { padding: 48px 0 8px; }
.pagehead .subtitle { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--rose); margin: -.2em 0 .4em; line-height: 1.2; }

/* cards */
.services { display: grid; gap: 20px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(91,42,76,.12); color: var(--ink); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card div { padding: 20px 22px 24px; }
.card .more { color: var(--rose); font-weight: bold; font-size: .9rem; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* galleries */
.sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.gal .cell { display: block; overflow: hidden; border-radius: 10px; background: var(--soft); }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gal .cell:hover img { transform: scale(1.04); }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 14px; } .gal.two { grid-template-columns: repeat(2, 1fr); } }

/* split sections */
.split { display: grid; gap: 32px; align-items: center; }
.split img.tall { border-radius: var(--r); width: 100%; max-height: 620px; object-fit: cover; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev > :first-child { order: 0; } }
.twocol { display: grid; gap: 40px; }
@media (min-width: 860px) { .twocol { grid-template-columns: 1fr 1fr; } }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.ba .note { grid-column: 1 / -1; }

/* prices */
.prices { display: grid; gap: 28px; }
@media (min-width: 860px) { .prices { grid-template-columns: 1fr 1fr; } }
.cennik { width: 100%; border-collapse: collapse; margin-bottom: 26px; background: var(--white); border-radius: var(--r); overflow: hidden; }
.cennik caption { text-align: left; font-family: var(--serif); font-size: 1.4rem; color: var(--plum); padding-bottom: 10px; }
.cennik td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cennik tr:last-child td { border-bottom: 0; }
.cennik .t { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.cennik .p { text-align: right; font-weight: bold; color: var(--plum); white-space: nowrap; }

/* steps, faq, ticks */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--plum); color: #fff; display: grid; place-items: center; font-family: var(--serif); }
.band .steps { max-width: 820px; }
.faq details { background: var(--white); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: bold; color: var(--plum); list-style: none; position: relative; padding-right: 28px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.ticks { list-style: none; padding: 0; columns: 2 220px; }
.ticks li { padding-left: 24px; position: relative; margin-bottom: 8px; break-inside: avoid; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

/* courses */
.courses { display: grid; gap: 20px; }
@media (min-width: 760px) { .courses { grid-template-columns: 1fr 1fr; } }
.course { background: var(--white); border-radius: var(--r); padding: 26px; border-top: 4px solid var(--rose); }
.course .badge { display: inline-block; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.course .meta { color: var(--muted); font-size: .9rem; }
.course .cprice { font-size: 1.05rem; }
.course .cprice b { color: var(--plum); font-size: 1.25rem; }

/* quote, values, places, contact */
.quote { text-align: center; max-width: 760px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--plum); margin: 0 0 .6em; }
.quote .big .stars { font-size: 1.4rem; }
.quote .who { color: var(--muted); font-size: .9rem; }
.values { display: grid; gap: 24px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.places { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .places { grid-template-columns: 1.1fr 1fr 1fr; } .places.big { grid-template-columns: 1fr 1fr; } }
.place { background: var(--cream); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.band .place { background: var(--cream); }
.contact { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }

/* footer */
.foot { background: var(--plum); color: var(--cream); padding: 48px 0 24px; font-size: .92rem; }
.foot a { color: var(--cream); }
.foot h3 { color: #fff; font-size: 1.05rem; }
.fcols { display: grid; gap: 28px; }
@media (min-width: 760px) { .fcols { grid-template-columns: 1.2fr 1fr 1fr; } }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(246,241,236,.2); font-size: .8rem; opacity: .85; }
@media (max-width: 520px) { body { font-size: 16px; } .brand .tag { display: none; } section, section.wrap { padding-top: 40px; padding-bottom: 40px; } }

/* 10.10.2026: opisy usług w cenniku, dłuższe menu, listy w kursach */
.cennik td small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 3px; }
nav.desk { gap: 16px; }
nav.desk a { font-size: .9rem; }
.course .ticks { columns: 1; margin: 10px 0 14px; }
@media (min-width: 980px) and (max-width: 1120px) { .brand .tag { display: none; } nav.desk { gap: 12px; } }

/* 10.10.2026 wieczór: klikalne kursy + okno zapisu z kalendarzem */
.courses.three { margin-top: 20px; }
@media (min-width: 900px) { .courses.three { grid-template-columns: repeat(3, 1fr); } }
button.course { font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px;
  border: 0; border-top: 4px solid var(--rose); width: 100%; transition: transform .2s, box-shadow .2s; }
button.course:hover, button.course:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(91,42,76,.14); outline: none; }
button.course .ctitle { font-family: var(--serif); font-size: 1.25rem; color: var(--plum); line-height: 1.25; }
button.course .btn { align-self: flex-start; margin-top: 8px; }
.zapis { border: 0; border-radius: 18px; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; background: var(--cream); color: var(--ink); }
.zapis::backdrop { background: rgba(36,24,32,.55); }
.zhead { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--plum); }
.zhead h2 { color: #fff; margin: 0; font-size: 1.4rem; }
.zhead .x { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.zstep { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.zlabel { font-weight: bold; color: var(--plum); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.zlabel span { width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pills button, .channels button, .calgrid button, .calhead button { font: inherit; cursor: pointer; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 12px; }
.pills button { padding: 9px 14px; font-size: .9rem; text-align: left; }
.pills.small button { padding: 7px 14px; border-radius: 999px; }
.pills button.on, .channels button.on, .calgrid button.on { border-color: var(--plum); background: var(--plum); color: #fff; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channels button { padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.channels small { color: var(--muted); font-size: .78rem; }
.channels button.on small { color: #f3dde2; }
.cal { background: var(--white); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; text-transform: capitalize; color: var(--plum); }
.calhead button { width: 36px; height: 36px; font-size: 1.3rem; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calgrid .dn { font-size: .72rem; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.calgrid button { padding: 8px 0; border-radius: 8px; border-color: transparent; background: var(--cream); }
.calgrid button:hover:not(:disabled) { border-color: var(--rose); }
.calgrid button.avail { background: #F3DDE2; font-weight: bold; }
.calgrid button:disabled { opacity: .3; cursor: default; background: transparent; }
.zimie { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.zimie input, .zapis textarea { font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--white); color: var(--ink); }
.zimie input { flex: 1; }
.zapis textarea { width: 100%; resize: vertical; margin-bottom: 12px; font-size: .9rem; }
