/*
 * Kosmetyka — sekcje strony głównej i podstron (Faza 3).
 * Rytm jak w Mado: jasne → ciemne → kolorowe. Animacje wjazdu działają tylko z JS (html.js)
 * i są całkowicie wyłączone przy prefers-reduced-motion.
 */

[id] { scroll-margin-top: 84px; }
.container--narrow { max-width: 860px; }

/* ---------- Typografia sekcji ---------- */
.kicker { font-family: var(--kos-font-script); font-size: 1.7rem; font-weight: 700; line-height: 1.1; color: var(--kos-primary); margin: 0 0 .2em; }
.script { font-family: var(--kos-font-script); color: var(--kos-primary); font-weight: 700; font-size: 1.14em; }
.sec { position: relative; padding: clamp(56px, 9vw, 120px) 0; }
.sec__head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 56px); }
.sec__head--left { text-align: left; margin-left: 0; margin-right: 0; }
.sec__title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0; }
.sec__lead { color: var(--kos-ink-soft); font-size: 1.08rem; margin: 14px 0 0; }

/* ---------- Przyciski (rozmiary) ---------- */
.kos-btn .icon { width: 1.1em; height: 1.1em; }
.kos-btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.kos-btn--sm { padding: 8px 18px; font-size: .88rem; }
.kos-btn.kos-btn--light { background: #fff; border-color: #fff; color: var(--kos-primary-700); }
.kos-btn.kos-btn--light:hover { background: var(--kos-cream); color: var(--kos-primary-700); }
.kos-btn--block { display: flex; width: 100%; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* ---------- Animacje wjazdu (tylko z JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 88px) 0 0;
	background:
		radial-gradient(900px 520px at var(--mx, 72%) var(--my, 18%), rgba(246, 235, 238, .95), transparent 62%),
		linear-gradient(180deg, var(--kos-cream) 0%, var(--kos-cream-soft) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; animation: kos-float 16s ease-in-out infinite; }
.blob--1 { width: 360px; height: 360px; background: var(--kos-blush); top: -80px; left: -60px; }
.blob--2 { width: 300px; height: 300px; background: var(--kos-champagne); bottom: 40px; right: 6%; animation-delay: -5s; opacity: .4; }
.blob--3 { width: 240px; height: 240px; background: var(--kos-nude); top: 30%; left: 42%; animation-delay: -9s; }
@keyframes kos-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(24px, -22px, 0); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-bottom: clamp(36px, 6vw, 72px); }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.06; letter-spacing: -.015em; word-spacing: .08em; margin: 0 0 .35em; }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--kos-ink-soft); max-width: 560px; margin: 0 0 1.6em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--kos-line); font-size: .9rem; color: var(--kos-ink-soft); backdrop-filter: blur(6px); }
.chips .icon { color: var(--kos-primary); width: 1.15em; height: 1.15em; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 36px 36px; overflow: hidden; background: linear-gradient(160deg, var(--kos-blush), var(--kos-nude)); box-shadow: 0 30px 60px rgba(47, 37, 35, .14); }
.hero__media { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__pause { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(40,28,32,.55); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hero__pause:hover, .hero__pause:focus-visible { background: rgba(40,28,32,.8); }
.hero__pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--kos-primary); }
.hero__pause-ic { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hero__pause[aria-pressed="true"] .hero__pause-ic { width: 0; height: 0; border-left: 12px solid currentColor; border-right: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
@media (prefers-reduced-motion: reduce) { .hero__pause { display: none; } }
.hero__art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--kos-primary); padding: 12%; }
.hero__art .art { width: 100%; height: auto; opacity: .85; }
.hero__badge { position: absolute; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--kos-shadow); text-decoration: none; color: var(--kos-ink); transition: transform .2s; }
.hero__badge:hover { transform: translateY(-2px); color: var(--kos-ink); }
.hero__badge-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--kos-primary-50); color: var(--kos-primary); }
.hero__badge small { display: block; font-size: .72rem; color: var(--kos-ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge strong::first-letter { text-transform: uppercase; }

.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--kos-line); border-bottom: 1px solid var(--kos-line); background: rgba(255, 255, 255, .6); }
.marquee__track { display: flex; align-items: center; width: max-content; padding: 16px 0; animation: kos-marquee 40s linear infinite; }
.marquee__track span { font-family: var(--kos-font-script); font-size: 1.6rem; color: var(--kos-ink-soft); margin-right: 40px; white-space: nowrap; }
.marquee__track i { width: 7px; height: 7px; border-radius: 50%; background: var(--kos-champagne); margin-right: 40px; }
@keyframes kos-marquee { to { transform: translateX(-25%); } } /* 4 kopie napisów — bez pustego końca cyklu na szerokich ekranach */

/* ---------- W skrócie ---------- */
.sec--quick { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.quick__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.qcard { border-radius: 24px; padding: 26px; transition: transform .25s; }
.qcard:hover { transform: translateY(-4px); }
.qcard--blush { background: var(--kos-blush); } .qcard--sand { background: var(--kos-sand); } .qcard--nude { background: var(--kos-nude); } .qcard--champagne { background: #efe3cd; }
.qcard__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, .7); color: var(--kos-primary-700); margin-bottom: 16px; }
.qcard h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.qcard p { margin: 0; color: var(--kos-ink-soft); font-size: .95rem; }

/* ---------- O mnie ---------- */
.sec--about { background: #fff; }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about__visual { position: relative; }
.about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 36px; box-shadow: var(--kos-shadow); display: block; }
.about__art { aspect-ratio: 4 / 5; border-radius: 36px; background: linear-gradient(160deg, var(--kos-blush), var(--kos-nude)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--kos-primary); padding: 12%; }
.about__art .art { width: 80%; height: auto; }
.about__name { font-family: var(--kos-font-script); font-size: 2.2rem; color: var(--kos-ink); text-align: center; line-height: 1.1; }
.about__text p { font-size: 1.05rem; color: var(--kos-ink-soft); margin: 0 0 1.1em; }

/* ---------- Cennik ---------- */
.sec--pricing { background: var(--kos-cream); }
.pricing__group { margin-bottom: 34px; }
.pricing__cat { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 14px; color: var(--kos-primary-700); }
.pricing__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pricing__row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px 22px; align-items: center; background: #fff; border: 1px solid var(--kos-line); border-radius: 18px; padding: 14px 18px; transition: box-shadow .2s, transform .2s; }
.pricing__row:hover { box-shadow: var(--kos-shadow); transform: translateY(-2px); }
.pricing__name { color: var(--kos-ink); font-weight: 600; text-decoration: none; line-height: 1.3; }
.pricing__name:hover { color: var(--kos-primary); }
.pricing__name small { display: block; font-weight: 500; font-size: .8rem; color: var(--kos-ink-muted); margin-top: 2px; }
.pricing__time { display: inline-flex; align-items: center; gap: 6px; color: var(--kos-ink-soft); font-size: .92rem; white-space: nowrap; }
.pricing__time .icon { width: 1.05em; height: 1.05em; }
.pricing__price { font-weight: 800; font-size: 1.1rem; min-width: 64px; text-align: right; white-space: nowrap; }
.pricing__spacer { display: block; min-width: 76px; }
.pricing__empty { text-align: center; color: var(--kos-ink-soft); }

/* ---------- Zabiegi (bento) ---------- */
.sec--zabiegi { background: #fff; }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.bento--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { position: relative; border-radius: 26px; padding: 26px; background: var(--kos-cream); border: 1px solid var(--kos-line); display: flex; flex-direction: column; gap: 6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .25s; will-change: transform; }
.tile:hover { box-shadow: var(--kos-shadow); }
.tile--brwi { background: linear-gradient(160deg, #fbeeee, var(--kos-blush)); }
.tile--rzesy { background: linear-gradient(160deg, #f6eee2, var(--kos-sand)); }
.tile--inne { background: linear-gradient(160deg, #f3e9e1, var(--kos-nude)); }
.tile__art { color: var(--kos-primary); margin-bottom: 8px; }
.tile__art .art { width: 96px; height: auto; opacity: .85; }
.tile__title { font-size: 1.12rem; line-height: 1.25; margin: 0; }
.tile__link { color: var(--kos-ink); text-decoration: none; }
.tile__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tile__meta { font-weight: 700; color: var(--kos-primary-700); margin: 0; font-size: .95rem; }
.tile__text { color: var(--kos-ink-soft); font-size: .93rem; margin: 6px 0 0; }
.tile__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--kos-primary-700); min-height: 44px; align-items: center; }
.tile__more .icon { width: 1em; height: 1em; transition: transform .2s; }
.tile:hover .tile__more .icon { transform: translateX(4px); }

.js .tile.reveal.is-in { transition: transform .25s ease, box-shadow .25s ease, opacity .8s, filter .8s; transition-delay: 0s; }

/* ---------- Zalecenia ---------- */
.sec--care { background: var(--kos-cream); }
.care__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care__col { background: #fff; border: 1px solid var(--kos-line); border-radius: 26px; padding: 28px; }
.care__title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 16px; color: var(--kos-primary-700); }
.care__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.care__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--kos-ink-soft); }
.care__check { color: var(--kos-primary); width: 20px; height: 20px; margin-top: 3px; }
.care__list strong { color: var(--kos-ink); }
.care__empty { color: var(--kos-ink-muted); margin: 0; }

/* ---------- Portfolio ---------- */
.sec--portfolio { background: #fff; }
.gallery--latest { columns: 3 260px; }
.gallery-more { text-align: center; margin: 34px 0 0; }
.content--gallery { padding-bottom: 56px; }
.content--gallery .pagination { margin-top: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 28px; }
.filters__btn { border: 1.5px solid var(--kos-line); background: #fff; border-radius: 999px; padding: 8px 20px; font: inherit; font-weight: 600; cursor: pointer; color: var(--kos-ink-soft); }
.filters__btn.is-active, .filters__btn:hover { background: var(--kos-primary); border-color: var(--kos-primary); color: #fff; }
/* Układ „murowany”: zdjęcia zachowują własne proporcje (kolaże przed/po są wysokie), bez kadrowania do stałego kafla. */
.gallery { columns: 3 280px; column-gap: 18px; }
.work { margin: 0 0 18px; break-inside: avoid; }
.work[hidden] { display: none; }
.work__img { width: 100%; height: auto; border-radius: 22px; display: block; }
.work__cap { padding: 10px 4px 0; font-weight: 600; color: var(--kos-ink-soft); font-size: .95rem; }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; background: var(--kos-sand); user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .25); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.ba__knob::before, .ba__knob::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--kos-primary); border-width: 2px 2px 0 0; margin-top: -3.5px; }
.ba__knob::before { left: 8px; transform: rotate(-135deg); } .ba__knob::after { right: 8px; transform: rotate(45deg); }
.ba__tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(47, 37, 35, .7); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
.ba__tag--before { left: 12px; } .ba__tag--after { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { outline: 3px solid var(--kos-primary); outline-offset: 3px; }

/* ---------- Jak wygląda wizyta (ciemna) ---------- */
.sec--steps { background: var(--kos-ink); color: #f7efe9; }
.sec--steps .sec__title { color: #fff; }
.sec--steps .kicker { color: var(--kos-champagne); }
.steps__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.steps__sticky { position: sticky; top: 110px; }
.steps__now { margin-top: 28px; }
.steps__num { display: block; font-size: clamp(6rem, 15vw, 11rem); font-weight: 800; line-height: .9; color: var(--kos-champagne); letter-spacing: -.04em; transition: opacity .3s; }
.steps__label { display: block; font-family: var(--kos-font-script); font-size: 2rem; color: #fff; margin-top: 10px; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__item { position: relative; padding: 34px 0 34px 70px; border-top: 1px solid rgba(255, 255, 255, .14); transition: opacity .4s; }
.steps__item:not(.is-active) h3 { color: #e4d9d2; }
.steps__item:not(.is-active) p { color: #c9bdb6; } /* nieaktywne kroki bez opacity — kontrast tekstu ≥ 4,5:1 */
.steps__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.steps__item.is-active { opacity: 1; }
.steps__item h3 { color: #fff; font-size: 1.25rem; margin: 0 0 .35em; }
.steps__item p { margin: 0; color: rgba(247, 239, 233, .78); }
.steps__badge { position: absolute; left: 0; top: 30px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); font-weight: 700; color: var(--kos-champagne); }
.steps__item.is-active .steps__badge { background: var(--kos-primary); border-color: var(--kos-primary); color: #fff; }

/* ---------- FAQ ---------- */
.sec--faq { background: var(--kos-cream); }
.sec--newsletter { background: #fff; text-align: center; padding-block: clamp(48px, 7vw, 88px); }
.sec--newsletter .sec__head { margin-inline: auto; }
.newsletter-box { max-width: 640px; margin: 0 auto; padding: clamp(20px, 3vw, 32px); background: var(--kos-cream); border: 1px solid var(--kos-line); border-radius: 24px; text-align: left; }
.newsletter-box .kos-nl { max-width: none; }
@media (max-width: 520px) { .newsletter-box .kos-nl__btn { width: 100%; } }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--kos-line); border-radius: 20px; overflow: hidden; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { color: var(--kos-primary); transition: transform .25s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--kos-ink-soft); }
.faq__body p { margin: 0; }

/* ---------- Przeciwwskazania ---------- */
.sec--contra { background: var(--kos-cream); }
.contra__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.contra__card { background: #fff; border: 1px solid var(--kos-line); border-radius: 24px; padding: 24px 26px; }
.contra__title { margin: 0 0 12px; font-size: 1.15rem; color: var(--kos-primary-700); }
.contra__list { margin: 0; padding-left: 20px; color: var(--kos-ink-soft); }
.contra__list li { margin: 0 0 7px; line-height: 1.45; }
.contra__note { margin: 24px auto 0; max-width: 720px; text-align: center; padding: 20px 24px; border-radius: 20px; background: #fff; border: 1px dashed var(--kos-primary); }
.contra__note p { margin: 0 0 8px; }
.contra__note p:last-child { margin: 0; font-weight: 600; }
.contra__note-inline { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--kos-cream); color: var(--kos-ink-soft); }

/* ---------- Blog ---------- */
.sec--blog { background: #fff; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; } /* auto-fill: pojedyncza karta nie rozciąga się na całą szerokość */
.post-card { background: var(--kos-cream); border: 1px solid var(--kos-line); border-radius: 24px; overflow: hidden; }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: var(--kos-ink); text-decoration: none; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-card__body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.post-card__date { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--kos-ink-muted); }
.post-card__title { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.post-card__excerpt { color: var(--kos-ink-soft); font-size: .95rem; }
.post-card:hover { border-color: var(--kos-primary); }
.post-cards__all { text-align: center; margin: 28px 0 0; }
.entry--post { max-width: 760px; margin: 0 auto; }
.entry__thumb img { width: 100%; height: auto; border-radius: 24px; display: block; margin: 0 0 28px; }
.entry__content--post { font-size: 1.05rem; line-height: 1.75; color: var(--kos-ink-soft); }
.entry__content--post h2 { margin: 1.6em 0 .5em; color: var(--kos-ink); }
.entry__cta { margin: 36px 0 0; text-align: center; }

/* ---------- Kontakt ---------- */
.sec--contact { background: var(--kos-cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact__cards { display: grid; gap: 12px; align-content: start; }
.contact__form { background: #fff; border: 1px solid var(--kos-line); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.contact__form-title { margin: 0 0 4px; font-size: 1.35rem; }
.contact__form-lead { margin: 0 0 18px; color: var(--kos-ink-muted); font-size: .95rem; }
.contact__form .kos-booking { max-width: none; padding: 0; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--kos-line); border-radius: 20px; text-decoration: none; color: var(--kos-ink); font-weight: 600; }
a.ccard:hover { border-color: var(--kos-primary); color: var(--kos-ink); }
.ccard .icon { color: var(--kos-primary); width: 26px; height: 26px; flex: 0 0 auto; }
.ccard small { display: block; font-weight: 500; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--kos-ink-muted); }
.ccard--social { gap: 24px; flex-wrap: wrap; }
.ccard--social a, .ccard__ph-link { display: inline-flex; align-items: center; gap: 8px; color: var(--kos-ink); text-decoration: none; }
.ccard--ph { border-style: dashed; background: transparent; }
.ccard--ph > span, .ccard--ph .ccard__ph-link { color: var(--kos-ink-muted); font-weight: 500; }
.ccard__tag { font-style: normal; font-size: .65rem; letter-spacing: .06em; padding: 2px 8px; border-radius: 99px; background: var(--kos-cream); border: 1px solid var(--kos-line); color: var(--kos-ink-muted); text-transform: uppercase; vertical-align: middle; }
.ccard__fill { display: block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--kos-primary-700); }
.contact__book { margin-top: 6px; }
.contact__map { margin-top: 24px; min-height: 340px; border-radius: 24px; overflow: hidden; border: 1px solid var(--kos-line); background: #fff; }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contact__map--ph { border-style: dashed; background: transparent; min-height: 200px; }
.mapgate { min-height: inherit; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px 20px; text-align: center; color: var(--kos-ink-muted); }
.mapgate p { margin: 0; max-width: 46ch; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.mapgate .icon { color: var(--kos-primary); }
.mapgate__route { font-weight: 600; color: var(--kos-primary-700); }

/* ---------- Baner końcowy ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 130px) 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--kos-primary) 0%, var(--kos-primary-700) 100%); }
.cta__bg { position: absolute; inset: -20% 0; background: radial-gradient(500px 300px at 20% 30%, rgba(255, 255, 255, .18), transparent 70%), radial-gradient(420px 260px at 80% 70%, rgba(217, 195, 160, .3), transparent 70%); transform: translate3d(0, var(--py, 0px), 0); pointer-events: none; }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; margin: 0 0 .4em; }
.cta p { max-width: 560px; margin: 0 auto 1.6em; color: #fff; font-size: 1.1rem; }

/* ---------- Podstrony ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); background: linear-gradient(160deg, var(--kos-cream), var(--kos-blush)); }
.page-hero--rzesy { background: linear-gradient(160deg, var(--kos-cream), var(--kos-sand)); }
.page-hero--inne { background: linear-gradient(160deg, var(--kos-cream), var(--kos-nude)); }
.page-hero--compact { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin: 0 0 .3em; max-width: 780px; }
.page-hero__lead { color: var(--kos-ink-soft); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero__art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(300px, 32vw); color: var(--kos-primary); opacity: .28; pointer-events: none; }
.page-hero__art .art { width: 100%; height: auto; }
.crumbs { font-size: .85rem; color: var(--kos-ink-muted); margin-bottom: 10px; }
.crumbs a { color: var(--kos-ink-soft); }
.entry__content--wide { max-width: none; }
.entry__content h2, .entry__content h3 { margin-top: 1.4em; }

.zabieg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 5vw, 64px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.zabieg__photo { margin: 0 0 24px; }
.zabieg__photo img { width: 100%; height: auto; border-radius: 26px; display: block; }
.zabieg__h { font-size: 1.4rem; margin-top: 0; }
.zabieg__aside { position: sticky; top: 96px; background: #fff; border: 1px solid var(--kos-line); border-radius: 26px; padding: 26px; box-shadow: var(--kos-shadow); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0 0 20px; }
.facts dt { color: var(--kos-ink-muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts__note { color: var(--kos-ink-soft); font-size: .9rem; margin: 14px 0 0; }
.sec--related { background: var(--kos-cream); }

/* ---------- Stały przycisk rezerwacji na telefonie ---------- */
.mobile-cta { display: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 980px) {
	.hero__grid, .about__grid, .steps__grid, .contact__grid, .care__grid, .zabieg { grid-template-columns: 1fr; }
	.hero__visual { width: min(100%, 320px); }
	.hero__badge { left: 8px; }
	.steps__sticky { position: static; }
	.steps__now { display: none; }
	.zabieg__aside { position: static; }
	.page-hero__art { display: none; }
	.about__art { aspect-ratio: 16 / 10; flex-direction: row; padding: 8%; }
	.about__art .art { width: 46%; }
	.about__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
	.pricing__row { grid-template-columns: 1fr auto; }
	.pricing__name { grid-column: 1 / -1; }
	.pricing__time { grid-column: 1; }
	.pricing__price { grid-column: 2; grid-row: 2; }
	.pricing__row .kos-btn, .pricing__spacer { grid-column: 1 / -1; }
	.pricing__spacer { display: none; }
	.steps__item { padding-left: 62px; }
	.mobile-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; box-shadow: 0 10px 30px rgba(47, 37, 35, .3); }
	.site-footer { padding-bottom: 96px; }
	.kos-cc-fab { display: none; } /* link „Ustawienia cookies” jest w stopce — nie zasłaniamy treści */
	:root { --kos-cc-fab-bottom: 84px; --kos-chat-bottom: 84px; } /* przyciski cookies i czatu nad paskiem „Umów wizytę” */
}

/* ---------- Ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
	.blob, .marquee__track { animation: none !important; }
	.tile { transform: none !important; }
	.cta__bg { transform: none !important; }
	.hero__media[autoplay] { display: none; }
}

/* Fokus widoczny na ciemnych/malinowych tłach oraz na kafelkach z overflow:hidden */
.cta :focus-visible, .sec--steps :focus-visible { outline-color: #fff; }
.faq__item:focus-within, .post-card:focus-within { outline: 3px solid var(--kos-primary); outline-offset: 2px; }
.faq__item summary:focus-visible, .post-card__link:focus-visible { outline: none; }
.post-card__img { object-position: 50% 22%; }
body.admin-bar [id] { scroll-margin-top: 116px; }

/* Treść nie może zniknąć, gdy skrypt się nie wykona, ani przy druku */
.reveal-all .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
@media print {
	.reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
	.site-header, .mobile-cta, .kos-cc, .kos-cc-fab, .kos-chat, .marquee { display: none !important; }
}

/* ---------- Strona Blog (lista wpisów) ---------- */
.content--blog { padding-top: 40px; padding-bottom: 72px; }
.content--blog .filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; }
a.filters__btn { text-decoration: none; display: inline-block; }
.post-card__title { font-size: 1.2rem; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .9rem; color: var(--kos-primary-700); }
.post-card__more .icon { width: 1em; height: 1em; }
.post-card:hover .post-card__more .icon { transform: translateX(4px); }
.blog-empty { text-align: center; max-width: 520px; margin: 24px auto; padding: 40px 28px; background: var(--kos-cream); border: 1px dashed var(--kos-line); border-radius: 24px; }
.blog-empty h2 { margin: 0 0 8px; font-size: 1.4rem; }
.pagination { margin: 40px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--kos-line); border-radius: 999px; background: #fff; color: var(--kos-ink-soft); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--kos-primary); border-color: var(--kos-primary); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--kos-line); font-size: .95rem; }
.post-nav a { color: var(--kos-primary-700); font-weight: 600; text-decoration: none; }
.post-nav__next { text-align: right; }
.post-nav__all { text-align: center; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; text-align: center; } .post-nav__next { text-align: center; } }
.pricing__note { margin: 10px 4px 0; font-size: .9rem; color: var(--kos-soft, #5e5250); }
.work__video { width: 100%; height: auto; max-height: 560px; border-radius: 22px; display: block; background: #2f2523; }
.work__film { margin: 10px 0 0; }
.work__film summary { cursor: pointer; font-weight: 600; color: var(--kos-primary-700, #7d4a59); padding: 6px 2px; }
.work__film[open] summary { margin-bottom: 8px; }
/* hero nad zgięciem widoczne od razu (LCP): animacja wejścia tylko dla dalszych sekcji */
.js .hero .reveal { opacity: 1; filter: none; transform: none; transition: none; }
.site-main:focus { outline: none; }
