/* Kolorystyka dopasowana do logo */
:root {
  --rose: #c9898a;
  --rose-600: #b27273;
  --rose-deep: #8e5a5c;
  --blush: #f6e6e3;
  --blush-2: #fbefec;
  --cream: #fdf8f6;
  --ink: #3d2b2c;
  --muted: #8a7475;
  --line: #ecd6d2;
  --free: #e9f3ec;
  --free-ink: #3f7552;
  --full: #f3dcdc;
  --full-ink: #a2585a;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(142, 90, 92, .28);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Josefin Sans', 'Trebuchet MS', sans-serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--rose-deep); color: #fff; border: 2px solid var(--rose-deep);
  font: 600 .86rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 26px 13px; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--rose); border-color: var(--rose); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--rose-deep); }
.btn-ghost:hover { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }
.btn-small { padding: 11px 18px 9px; font-size: .76rem; }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 248, 246, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font: 400 .7rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font: 400 .9rem var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--rose); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 72px; background: radial-gradient(ellipse at 85% 10%, var(--blush) 0, transparent 60%), var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 .78rem var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; }
.hero h1 em { color: var(--rose-deep); }
.lead { font-size: 1.12rem; color: #5d4748; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media picture img { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.hero-badge { position: absolute; left: -28px; bottom: -28px; width: 110px; height: 110px; padding: 10px; background: var(--cream); border-radius: 50%; box-shadow: var(--shadow); }

/* Sekcje */
.section { padding: 80px 0; }
.section-tint { background: linear-gradient(180deg, var(--blush-2), var(--cream)); }
.section-title { text-align: center; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; font-style: italic; margin-bottom: 44px; display: flex; align-items: center; gap: 18px; justify-content: center; }
.section-title::before, .section-title::after { content: ''; height: 1px; width: min(90px, 12vw); background: var(--rose); opacity: .6; }
.section-title.left { justify-content: flex-start; margin-bottom: 18px; }
.section-title.left::before { display: none; }

/* Kroki */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.steps h3 { font-size: 1.4rem; margin-top: 14px; }
.steps p { color: var(--muted); margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; font: 600 1.05rem/1 var(--display); padding-top: 3px; }
.step-no.sm { width: 30px; height: 30px; font-size: .9rem; margin-right: 8px; vertical-align: middle; }

/* Cennik */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; align-items: start; }
.price-card { background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 18px; box-shadow: 0 18px 40px -30px rgba(142, 90, 92, .5); }
.price-card h3 { font-style: italic; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 1.55rem; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-family: var(--serif); font-size: 1.13rem; }
.price-row .name { flex: 0 1 auto; }
.price-row .dots { flex: 1 1 20px; border-bottom: 1px dotted var(--rose); transform: translateY(-4px); min-width: 16px; }
.price-row .price { white-space: nowrap; font-weight: 600; color: var(--rose-deep); }
.price-row .dur { display: block; font: .76rem var(--sans); color: var(--muted); }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-item { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; padding: 0; text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.g-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.g-item img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.g-item span { padding: 12px 14px; font-size: .92rem; color: #5d4748; }
.g-item span:empty { display: none; }
.gallery .muted { grid-column: 1 / -1; }
.gallery-more-wrap { text-align: center; margin-top: 28px; }
.gallery-more-wrap:has(> [hidden]) { display: none; }

/* Rezerwacja */
.booking { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 18px 40px -32px rgba(142, 90, 92, .55); }
.card h3 { font-size: 1.35rem; margin-bottom: 16px; }
.service-picker fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.service-picker legend { font: 600 .78rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 6px; }
.svc { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.svc:hover { background: var(--blush-2); }
.svc:has(input:checked) { background: var(--blush); border-color: var(--rose); }
.svc input { accent-color: var(--rose-deep); width: 18px; height: 18px; flex: none; }
.svc .svc-name { flex: 1; line-height: 1.3; }
.svc .svc-meta { font-size: .82rem; color: var(--muted); white-space: nowrap; text-align: right; }
.booking-total { margin: 8px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--blush-2); font-weight: 600; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font: 600 1.35rem var(--serif); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--rose-deep); }
.cal-nav:hover:not([disabled]) { background: var(--blush); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow span { text-align: center; font: 600 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 0; }
.day { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: none; font: 600 .98rem var(--sans); color: var(--ink); cursor: default; position: relative; padding: 0; min-height: 38px; }
.day.free { background: var(--free); color: var(--free-ink); cursor: pointer; border-color: #cfe5d6; }
.day.free:hover { border-color: var(--free-ink); }
.day.full { background: var(--full); color: var(--full-ink); text-decoration: line-through; }
.day.closed, .day.past { color: #cbbcbc; }
.day.closed { background: repeating-linear-gradient(135deg, transparent 0 5px, #f5eeec 5px 7px); }
.day.today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.day.selected { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-free { background: var(--free); border: 1px solid #cfe5d6; }
.lg-full { background: var(--full); }
.lg-closed { background: repeating-linear-gradient(135deg, #fff 0 3px, #eadedc 3px 5px); border: 1px solid var(--line); }

.slots-box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.slots-title { font-weight: 600; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--rose); background: var(--white); color: var(--rose-deep); border-radius: 999px; padding: 10px 0 9px; font: 600 .95rem var(--sans); cursor: pointer; transition: background .15s, color .15s; }
.slot:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.slot.taken { border-color: var(--line); background: #f7f1f0; color: #bfaeae; cursor: not-allowed; text-decoration: line-through; }
.slot.taken:hover { background: #f7f1f0; color: #bfaeae; }
.slot small { display: block; font-size: .64rem; font-weight: 400; text-decoration: none; letter-spacing: .04em; }

/* Okno modalne */
.modal, .lightbox { border: 0; padding: 0; color: var(--ink); }
.modal { width: min(620px, 100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; background: var(--cream); box-shadow: 0 30px 80px -20px rgba(61, 43, 44, .45); }
.modal::backdrop, .lightbox::backdrop { background: rgba(61, 43, 44, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-close-form { position: absolute; top: 8px; right: 8px; margin: 0; z-index: 2; }
.modal-x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.booking-form, .booking-done { padding: 28px; }
.booking-form h3 { font-size: 1.7rem; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.summary strong { color: var(--rose-deep); }
.summary ul { margin: 6px 0 0; padding-left: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 600; color: #5d4748; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select { font: 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #dcc5c1; border-radius: 10px; padding: 11px 12px; width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(201, 137, 138, .25); }
input.invalid, textarea.invalid { border-color: #c0392b; }
.check { flex-direction: row !important; align-items: flex-start; font-weight: 400 !important; gap: 10px !important; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--rose-deep); }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbe9e7; color: #a03224; border-radius: 10px; padding: 10px 14px; margin: 14px 0 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.booking-done { text-align: center; }
.booking-done img { margin: 0 auto 10px; }

/* Lightbox */
.lightbox { background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; display: none; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80dvh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-size: 1rem; }
.lightbox .modal-x { position: fixed; top: 14px; right: 14px; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 1.8rem; cursor: pointer; color: var(--ink); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* Kontakt */
.contact { display: flex; gap: 48px; align-items: center; justify-content: center; }
.contact-logo { width: 160px; height: 160px; flex: none; }
.contact-name { font: 600 1.2rem var(--display); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 24px; font-size: 1.05rem; }
.contact-list li { padding: 3px 0; }
.contact-list a { text-decoration: none; }

.site-footer { background: var(--ink); color: #e9dcda; padding: 22px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.site-footer a { color: #f3d5d3; }
.footer-id { margin: 0; line-height: 1.5; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.check small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.page h3 { font-size: 1.2rem; margin-top: 1.2em; }
.page ol, .page ul { padding-left: 1.3em; }
.page li { margin: 4px 0; }
.page .box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }

/* O mnie */
.nav a[aria-current="page"] { border-color: var(--rose); color: var(--rose-deep); }
.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.about-side { position: sticky; top: 100px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; box-shadow: 0 18px 40px -32px rgba(142, 90, 92, .55); }
.about-logo { width: 150px; height: 150px; margin: 0 auto 18px; }
.about-name { font: 600 1rem/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px; }
.about-role { font-size: .9rem; margin-bottom: 22px; }
.about-text { max-width: 720px; }
.about-text h1 { margin-bottom: 24px; }
.about-text h2 { font-size: 1.7rem; font-style: italic; font-weight: 500; color: var(--rose-deep); margin-top: 1.6em; }
.about-lead { font-size: 1.15rem; }
.about-list { list-style: none; padding: 0; margin: 0 0 1em; }
.about-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.about-list li:last-child { border-bottom: 0; }
.about-list li::before { content: ''; position: absolute; left: 4px; top: 23px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.about-cta { margin-top: 1.4em; padding: 20px 22px; background: var(--blush-2); border-left: 4px solid var(--rose); border-radius: 0 12px 12px 0; }
.cert-group { font: 600 .82rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); margin: 34px 0 14px; }
.cert-group:first-of-type { margin-top: 0; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: zoom-in; display: flex; flex-direction: column; gap: 10px; text-align: left; font: inherit; color: inherit; transition: transform .2s, box-shadow .2s; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream); border-radius: 6px; }
.cert span { font-size: .88rem; font-weight: 600; color: #5d4748; line-height: 1.35; padding: 0 4px 4px; }

/* Strony tekstowe */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: 2.4rem; }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Responsywność */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-side { position: static; }
  .certs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: 0 20px 30px -20px rgba(61, 43, 44, .3); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .certs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cert span { font-size: .8rem; }
  .g-item span { padding: 8px 10px; font-size: .82rem; }
  .card { padding: 18px 14px; }
  .cal-grid { gap: 4px; }
  .day { font-size: .9rem; border-radius: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-form, .booking-done { padding: 22px 18px; }
  .modal-actions .btn { flex: 1; }
  .contact { flex-direction: column; text-align: center; gap: 20px; }
  .contact-logo { width: 110px; height: 110px; }
  .section-title.left { justify-content: center; }
  .section-title.left::before { display: block; }
  .hero-badge { width: 84px; height: 84px; left: -6px; bottom: -20px; }
  .brand-sub { display: none; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 400px) {
  .brand-name { font-size: .82rem; letter-spacing: .08em; }
  .brand img { width: 40px; height: 40px; }
  .price-row { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
