/* SpokOOko, demo. Jasny, spokojny salon: biel, śliwka z logo jako akcent, oprawy na białych kaflach. */
:root {
  --bg: #FFFFFF;
  --tint: #F7F3F5;
  --ink: #22111C;
  --ink-2: #5C4856;
  --line: #E7DEE3;
  --plum: #63134A;
  --plum-h: #4E0E3A;
  --plum-dd: #3A0B2B;
  --blush: #FBE2D3;
  --blush-m: rgba(251, 226, 211, .82);
  --blush-line: rgba(251, 226, 211, .22);
  --f-d: 'Marcellus', 'Optima', Georgia, serif;
  --f-t: 'Albert Sans', system-ui, sans-serif;
  --gut: clamp(16px, 4.5vw, 48px);
  --wrap: 1240px;
  --head: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(72px, 10vw, 136px);
  --z-dock: 25;
  --z-head: 30;
  --z-drop: 35;
}
@media (min-width: 1000px) { :root { --head: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-t); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.i { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- linki i przyciski ---------- */
.lnk { color: inherit; text-decoration: underline; text-decoration-color: rgba(99, 19, 74, .35); text-decoration-thickness: 1px; text-underline-offset: .28em; transition: text-decoration-color .25s var(--ease); }
.lnk:hover { text-decoration-color: var(--plum); }
.lnk .i { display: inline-block; vertical-align: -.2em; margin-left: .25em; width: 1.05em; height: 1.05em; }
.lnk .arr { transition: transform .3s var(--ease); }
.lnk:hover .arr { transform: translateX(3px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 24px; border-radius: 2px;
  font: 500 .98rem/1 var(--f-t); letter-spacing: .01em; text-decoration: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-h); }
.btn-ghost { border: 1px solid rgba(34, 17, 28, .28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn-light { background: var(--blush); color: var(--plum-dd); }
.btn-light:hover { background: #fff; }

/* ---------- status otwarcia ---------- */
.status { display: inline-flex; align-items: center; gap: .6em; margin: 0; font-size: .95rem; color: var(--ink-2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #B9AAB3; flex: none; }
.status.is-open .dot { background: #2F8F55; box-shadow: 0 0 0 4px rgba(47, 143, 85, .14); }

/* ---------- nagłówek ---------- */
.head { position: sticky; top: 0; z-index: var(--z-head); background: var(--bg); transition: box-shadow .3s var(--ease); }
.head.is-stuck { box-shadow: 0 1px 0 var(--line); }
.head-in { display: flex; align-items: center; gap: 20px; height: var(--head); }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { height: 36px; width: auto; }
@media (min-width: 1000px) { .brand img { height: 44px; } }
.nav { display: none; align-items: center; gap: 4px; }
.nav-l {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; padding: 0 14px; font-size: 1rem; font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .45em; text-decoration-thickness: 1px; transition: text-decoration-color .25s var(--ease);
}
.nav-l:hover, .nav-l[aria-expanded="true"], .nav-l[aria-current] { text-decoration-color: var(--plum); }
.caret { width: .9em; height: .9em; transition: transform .25s var(--ease); }
.nav-l[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-brands { position: relative; }
.drop { position: absolute; top: calc(100% + 10px); left: -10px; z-index: var(--z-drop); width: 320px; padding: 10px 0; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 8px 8px rgba(34, 17, 28, .06); }
.drop a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 22px; text-decoration: none; font-family: var(--f-d); font-size: 1.12rem; }
.drop a span { font: 400 .82rem var(--f-t); color: var(--ink-2); }
.drop a:hover { color: var(--plum); }
.head-tel { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 500; }
.head-tel span { display: none; }
.head-tel .i { width: 1.35em; height: 1.35em; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; }
.burger .i { width: 1.6em; height: 1.6em; }
.burger .i:last-child, .burger[aria-expanded="true"] .i:first-child { display: none; }
.burger[aria-expanded="true"] .i:last-child { display: block; }
.menu { position: fixed; left: 0; right: 0; top: var(--menu-top, var(--head)); bottom: 0; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; }
.menu-in { display: flex; flex-direction: column; gap: 26px; padding-top: 26px; padding-bottom: 40px; min-height: 100%; }
.menu-h { margin: 0; color: var(--ink-2); font-size: .92rem; }
.menu-brands { columns: 2; column-gap: 20px; }
.menu-brands a { display: block; padding: 7px 0; font-family: var(--f-d); font-size: 1.35rem; line-height: 1.2; text-decoration: none; }
.menu-main { border-top: 1px solid var(--line); padding-top: 14px; }
.menu-main a { display: block; padding: 8px 0; font-size: 1.15rem; font-weight: 500; text-decoration: none; }
.menu-foot { margin-top: auto; display: grid; gap: 16px; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .burger, .menu { display: none !important; }
  .head-tel { padding: 0 18px; border: 1px solid rgba(34, 17, 28, .25); border-radius: 2px; transition: border-color .25s var(--ease), color .25s var(--ease); }
  .head-tel:hover { border-color: var(--plum); color: var(--plum); }
  .head-tel span { display: inline; }
  .head-tel .i { width: 1.1em; height: 1.1em; }
}

/* ---------- hero ---------- */
.hero { padding-bottom: clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; }
.hero-grid > * { min-width: 0; }
.hero-pic { order: -1; margin: 0 calc(var(--gut) * -1); aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--tint); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-tx { padding-top: 30px; }
.hero h1 { font-size: clamp(2.35rem, 9.4vw, 4.6rem); line-height: 1.04; max-width: 12em; }
.hero-lead { margin: 18px 0 0; max-width: 32em; color: var(--ink-2); font-size: 1.08rem; }
.hero-cta { display: none; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-status { margin-top: 20px; }
.hero-brands { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-brands a { display: inline-flex; min-height: 40px; align-items: center; font-family: var(--f-d); font-size: 1.12rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: color .25s var(--ease), text-decoration-color .25s var(--ease); }
.hero-brands a:hover { color: var(--plum); text-decoration-color: var(--plum); }
@media (min-width: 700px) {
  .hero-cta { display: flex; }
  .hero-pic { margin: 0; aspect-ratio: 16 / 11; }
}
@media (min-width: 1000px) {
  .hero { padding-top: clamp(24px, 3vw, 48px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); align-items: center; }
  .hero h1 { font-size: clamp(3.2rem, 4.4vw, 4.1rem); }
  .hero-pic { order: 0; aspect-ratio: auto; height: min(calc(100svh - var(--head) - 170px), 720px); min-height: 480px; }
  .hero-tx { padding-top: 0; }
  .hero-brands { justify-content: space-between; margin-top: clamp(32px, 4vw, 56px); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-pic img { animation: settle 1.4s var(--ease) both; }
  .js .hero-tx { animation: rise 1s .1s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.04); opacity: .55; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- kafle z oprawami ---------- */
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.tile.is-photo img { object-fit: cover; padding: 0; }

/* ---------- spis marek ---------- */
.idx { background: var(--tint); padding-top: var(--sec); padding-bottom: var(--sec); }
.idx-head h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.idx-head p { margin-top: 16px; max-width: 36em; color: var(--ink-2); }
.idx-body { margin-top: 36px; }
.idx-body > * { min-width: 0; }
.idx-list { border-top: 1px solid var(--line); }
.idx-list li { border-bottom: 1px solid var(--line); }
.idx-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-height: 76px; padding: 10px 0; text-decoration: none; }
.idx-th { grid-row: 1 / span 2; width: 76px; height: 56px; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.idx-th img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.idx-th.is-photo img { object-fit: cover; padding: 0; }
.idx-n { font-family: var(--f-d); font-size: 1.4rem; line-height: 1.15; align-self: end; transition: color .25s var(--ease); }
.idx-f { grid-column: 2; font-size: .88rem; color: var(--ink-2); align-self: start; }
.idx-row .arr { grid-column: 3; grid-row: 1 / span 2; width: 1.15em; height: 1.15em; color: var(--ink-2); transition: transform .3s var(--ease), color .25s var(--ease); }
.idx-row:hover .idx-n { color: var(--plum); }
.idx-row:hover .arr { color: var(--plum); transform: translateX(3px); }
.idx-prev { display: none; }
@media (min-width: 1000px) {
  .idx-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; margin-top: 48px; }
  .idx-row { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 0; padding: 15px 0; }
  .idx-th { display: none; }
  .idx-n { font-size: 1.65rem; align-self: center; }
  .idx-f { grid-column: 2; grid-row: 1; margin-right: 20px; align-self: center; }
  .idx-row .arr { grid-row: 1; opacity: 0; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .idx-row.on .idx-n { color: var(--plum); }
  .idx-row.on .arr, .idx-row:hover .arr { opacity: 1; color: var(--plum); }
  .idx-prev { display: grid; position: sticky; top: calc(var(--head) + 32px); }
  .pv { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
  .pv.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
  .pv-a { grid-column: 1 / -1; aspect-ratio: 16 / 9.5; }
  .pv-b, .pv-c { aspect-ratio: 4 / 3; }
  .pv-t { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ink-2); }
  .pv-t span { font-family: var(--f-d); font-size: 1.25rem; color: var(--ink); margin-right: .4em; }
}

/* ---------- salon ---------- */
.salon { padding-top: var(--sec); padding-bottom: var(--sec); }
.salon-grid { display: grid; gap: 28px; }
.salon-grid > * { min-width: 0; }
.salon-tx h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 11em; }
.salon-tx p { max-width: 32em; margin-top: 18px; color: var(--ink-2); }
.salon-tx .lnk { display: inline-block; margin-top: 8px; }
.salon-a, .salon-b { overflow: hidden; border-radius: 2px; background: var(--tint); }
.salon-a { margin-top: 20px; aspect-ratio: 4 / 3.4; }
.salon-b { width: 62%; margin-left: auto; margin-top: -14%; aspect-ratio: 1; outline: 8px solid var(--bg); position: relative; }
.salon-a img, .salon-b img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .salon-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(28px, 3vw, 44px); align-items: end; }
  .salon-tx { align-self: center; padding-right: clamp(0px, 2vw, 32px); }
  .salon-a { margin: 0; aspect-ratio: 4 / 4.6; }
  .salon-b { width: auto; margin: 0 0 12%; aspect-ratio: 3 / 4; outline: 0; }
}

/* ---------- wizyta / kontakt ---------- */
.visit { background: var(--plum-dd); color: var(--blush); padding-top: var(--sec); padding-bottom: var(--sec); }
.visit .lnk { text-decoration-color: rgba(251, 226, 211, .4); }
.visit .lnk:hover { text-decoration-color: var(--blush); }
.visit :focus-visible { outline-color: var(--blush); }
.visit-grid { display: grid; gap: 40px; }
.visit-grid > * { min-width: 0; }
.visit-head h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 11em; }
.visit .status { color: var(--blush-m); }
.visit .status .dot { background: rgba(251, 226, 211, .45); }
.visit .status.is-open .dot { background: #8FD19E; box-shadow: 0 0 0 4px rgba(143, 209, 158, .18); }
.status-lg { margin-top: 18px; font-size: 1rem; }
.visit-cta { margin-top: 28px; }
.facts { margin: 0; border-top: 1px solid var(--blush-line); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--blush-line); }
.facts dt { color: var(--blush-m); font-size: .9rem; }
.facts dd { margin: 0; }
.soc { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hours { margin: 0; max-width: 300px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 1px 0; }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .off { color: var(--blush-m); }
.hours .today { font-weight: 600; }
.hours .today dt::after { content: ' (dziś)'; font-weight: 400; }
.visit-map { height: 340px; border-radius: 2px; overflow: hidden; background: var(--plum-h); }
.visit-map iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 8.5em 1fr; gap: 16px; align-items: baseline; } }
@media (min-width: 1000px) {
  .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 6vw, 96px); row-gap: 56px; }
  .visit-map { grid-column: 1 / -1; height: 420px; }
}

/* ---------- strona marki ---------- */
.bh { padding-top: clamp(20px, 3vw, 40px); padding-bottom: var(--sec); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--ink-2); margin-bottom: clamp(24px, 4vw, 48px); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: underline; text-decoration-color: rgba(99, 19, 74, .3); text-underline-offset: .25em; }
.crumbs a:hover { text-decoration-color: var(--plum); }
.bh-grid { display: grid; gap: 40px; }
.bh-grid > * { min-width: 0; }
.bh h1 { font-size: clamp(2.8rem, 10vw, 5.4rem); line-height: 1; }
.bh-tag { margin: 16px 0 24px; font-family: var(--f-d); font-size: clamp(1.3rem, 3.6vw, 1.7rem); line-height: 1.3; color: var(--plum); }
.bh-tx > p:not(.bh-tag) { max-width: 34em; color: var(--ink-2); }
.bh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bh-pic .tile { aspect-ratio: 4 / 3; }
.bh-pic .tile.is-photo { aspect-ratio: 4 / 4.4; }
@media (max-width: 699px) { .bh .bh-cta .btn-ghost { display: none; } .bh-pic .tile.is-photo { aspect-ratio: 4 / 3.6; } }
@media (min-width: 1000px) {
  .bh-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
}
.models { background: var(--tint); padding-top: var(--sec); padding-bottom: var(--sec); }
.models h2, .more h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: 36px; }
.models-grid .tile { aspect-ratio: 4 / 3; }
.models-note { margin: 32px 0 0; color: var(--ink-2); max-width: 40em; }
.more { padding-top: var(--sec); padding-bottom: var(--sec); }
.more-list { margin-top: 30px; border-top: 1px solid var(--line); display: grid; }
.more-list li { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none; }
.ml-n { font-family: var(--f-d); font-size: clamp(1.35rem, 3.6vw, 1.7rem); line-height: 1.2; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .25s var(--ease), text-decoration-color .25s var(--ease); }
.ml-f { color: var(--ink-2); font-size: .92rem; }
.more-list a:hover .ml-n { color: var(--plum); text-decoration-color: var(--plum); }
@media (min-width: 800px) { .more-list { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* ---------- 404 ---------- */
.nf { padding-top: clamp(56px, 10vw, 120px); padding-bottom: var(--sec); }
.nf h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
.nf p { margin-top: 18px; color: var(--ink-2); max-width: 32em; }

/* ---------- stopka ---------- */
.foot { background: var(--plum); color: var(--blush); padding-top: clamp(56px, 8vw, 88px); padding-bottom: 28px; }
.foot :focus-visible { outline-color: var(--blush); }
.foot-in { display: grid; gap: 40px; }
.foot-logo { justify-self: start; align-self: start; display: inline-block; }
.foot-logo img { height: 50px; width: auto; }
.foot-h { margin: 0 0 10px; color: var(--blush-m); font-size: .9rem; }
.foot-brands ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-brands a, .foot-c a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .28em; transition: text-decoration-color .25s var(--ease); }
.foot-brands a { font-family: var(--f-d); font-size: 1.15rem; }
.foot-brands a:hover, .foot-c a:hover { text-decoration-color: var(--blush); }
.foot-c p { margin: 0 0 12px; color: var(--blush-m); }
.foot-soc { display: flex; gap: 20px; }
.foot-soc a { gap: .45em; }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--blush-line); font-size: .88rem; color: var(--blush-m); }
.foot-legal p { margin: 0; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr 1.3fr 1fr; gap: 56px; } }

/* ---------- pasek Zadzwoń / Napisz (telefon) ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-dock); display: grid; grid-template-columns: 1fr 1fr;
  background: var(--plum); border-radius: 2px; box-shadow: 0 6px 8px rgba(34, 17, 28, .2); transform: translateY(140%); transition: transform .45s var(--ease);
}
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; color: #fff; font-weight: 500; text-decoration: none; }
.dock a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
.dock :focus-visible { outline-color: var(--ink); }
@media (min-width: 1000px) { .dock { display: none; } }
@media (max-width: 999px) { .foot { padding-bottom: 96px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
