/* GroomHouse — według makiety ownera (zrodla/makieta/kierunek.png): bordo + brzoskwinia */
:root {
  --wine: #45070f;
  --wine-deep: #3e0a10;
  --wine-soft: #6b2a33;
  --peach: #fcf5ed;
  --cream: #fdf9f3;
  --blush: #fbd5be;
  --rose: #a55c55;
  --rose-light: #e2a59c;
  --rule: #c9a59f;
  --text: #4b4646;
  --white: #fff;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--wine); }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; }
.h-xl { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
.h-lg { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wine); color: #fff; padding: 8px 14px; }

/* Etykiety nad nagłówkami (jak w makiecie) */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; color: var(--rose);
  font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow--lead::before, .eyebrow--tail::after { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--rose-light); }

/* Przyciski i linki */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn--big { min-height: 58px; padding: 14px 34px; font-size: 18px; }
.btn--dark { background: var(--wine); color: #fff; }
.btn--dark:hover { background: var(--wine-soft); }
.btn--line { background: transparent; border-color: var(--wine); color: var(--wine); }
.btn--line:hover { background: var(--wine); color: #fff; }
.btn--light { background: var(--peach); color: var(--wine); }
.btn--light:hover { background: #fff; }
.arr { font-size: .9em; }
.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  color: var(--wine); font-weight: 500; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow:hover { color: var(--rose); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--rose-light); }

/* Nagłówek */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); }
.top__in { display: flex; align-items: center; gap: 40px; min-height: 104px; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 92px; height: auto; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--wine); }
.nav a:hover { color: var(--rose); }

/* Hero */
.hero { background: var(--peach); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 0; }
.hero__text { position: relative; z-index: 1; padding: 56px 0 48px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; }
@media (min-width: 961px) { .hero h1 { white-space: nowrap; } }
.hero h1 em { font-style: italic; }
.lead { font-size: clamp(18px, 1.8vw, 21px); max-width: 24em; margin: 24px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.hero__phone { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 24px; color: var(--wine); font-size: 18px; text-decoration: none; }
.hero__phone svg { width: 20px; height: 20px; fill: var(--wine); }
.hero__img { display: flex; align-items: flex-end; }
.hero__img img {
  width: 100%; max-width: 560px; margin-left: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

.perks {
  list-style: none; margin: 0; padding: 32px 0 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.perks li { display: flex; gap: 20px; padding: 0 28px; }
.perks li:first-child { padding-left: 0; }
.perks li + li { border-left: 1px solid var(--rule); }
.perks svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--wine); stroke-width: 1.4; }
.perks h3 { font: 400 20px/1.3 var(--serif); }
.perks p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }

/* Sekcje */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.intro { max-width: 44em; margin: 18px 0 40px; }
.note { max-width: 46em; margin: 32px 0 0; font-size: 15px; }

/* Usługi */
.rituals__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rituals__list img { width: 100%; aspect-ratio: 268 / 239; object-fit: cover; margin-bottom: 20px; }
.rituals__list h3 { font: 400 28px/1.2 var(--serif); }
.num { font-style: italic; margin-right: 6px; }
.rituals__list p { margin: 10px 0 0; }
.from { color: var(--wine); font-weight: 500; }
.d2d {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: baseline;
  margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.d2d h3 { font: italic 400 26px/1.2 var(--serif); }
.d2d p { margin: 0; }

/* Metamorfozy */
.meta { background: var(--wine-deep); color: #f3e9e6; overflow: hidden; }
.meta__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-top: 48px; }
.meta h2 { color: #fff; }
.meta__lead { font-size: 19px; max-width: 22em; margin: 24px 0 36px; }
.meta__img { width: 100%; max-width: 560px; justify-self: end; align-self: end; }

/* Galeria: pozioma karuzela wychodząca za prawą krawędź */
.gallery-sec { background: var(--peach); overflow: hidden; }
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gal-head .intro { margin-bottom: 36px; }
.gal-nav { display: flex; gap: 12px; margin-bottom: 40px; }
.gal-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--wine);
  background: transparent; color: var(--wine); font: 22px/1 var(--sans); cursor: pointer;
}
.gal-btn:hover:not(:disabled) { background: var(--wine); color: #fff; }
.gal-btn:disabled { opacity: .3; cursor: default; }

.rail {
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--edge);
  padding: 0 var(--edge) 4px; scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging button { pointer-events: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail button {
  flex: 0 0 clamp(230px, 26vw, 340px); padding: 0; border: 0; background: var(--blush);
  scroll-snap-align: start; overflow: hidden; cursor: zoom-in;
}
.rail button:nth-child(3n+2) { flex-basis: clamp(260px, 30vw, 400px); }
.rail img { width: 100%; height: clamp(310px, 34vw, 460px); object-fit: cover; transition: transform .5s ease; user-select: none; -webkit-user-drag: none; }
.rail button:hover img { transform: scale(1.04); }

.gal-foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.gal-progress { flex: 1; height: 1px; background: var(--rule); position: relative; }
.gal-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 10%; background: var(--wine); }
.gal-count { margin: 0; font: italic 18px/1 var(--serif); color: var(--wine); min-width: 5.5em; text-align: right; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(62, 10, 16, .94); }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; }
.lightbox button { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 999px; width: 52px; height: 52px; font-size: 32px; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Opinie z Google */
.reviews { background: var(--cream); }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.reviews.has-reviews .reviews__grid { grid-template-columns: minmax(280px, 0.8fr) 2fr; align-items: start; }
/* bez opinii: nagłówek i ocena obok siebie; z opiniami: kolumna po lewej */
.reviews__score { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; align-items: end; }
.reviews.has-reviews .reviews__score { grid-template-columns: 1fr; }
.reviews.has-reviews .reviews__score h2 { font-size: clamp(32px, 3.2vw, 44px); }
.score { display: flex; align-items: center; gap: 18px; margin: 28px 0 4px; }
.reviews__box .score { margin-top: 0; }
.score__num { color: var(--wine); font: 400 clamp(64px, 7vw, 96px)/1 var(--serif); }
.score__count { margin: 0 0 32px; font-size: 18px; }
.score__count span { color: var(--wine); font-weight: 500; }
.reviews__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.stars { --r: 100%; position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; color: #e8d8d2; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--r); overflow: hidden; white-space: nowrap; color: #d9a23b; }
.stars--big { font-size: 28px; letter-spacing: 4px; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.reviews__list[hidden] { display: none; }
.rv { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #efe2dc; border-radius: 22px; }
.rv__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rv__head img, .rv__mono { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.rv__mono { display: grid; place-items: center; background: var(--blush); color: var(--wine); font: italic 20px/1 var(--serif); }
.rv__name { margin: 0; color: var(--wine); font-weight: 500; line-height: 1.3; }
.rv__name a { text-decoration: none; }
.rv__name a:hover { text-decoration: underline; }
.rv__meta { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rv__text { margin: 0; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.rv.is-open .rv__text { -webkit-line-clamp: unset; display: block; }
.rv__more { align-self: flex-start; margin-top: 10px; padding: 4px 0; border: 0; background: none; color: var(--rose); font: 500 14px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.reviews__attr { margin-top: 28px; font-size: 13px; color: #8a7e7c; }
@media (max-width: 960px) {
  .reviews.has-reviews .reviews__grid, .reviews__score { grid-template-columns: 1fr; }
}

/* SMS z komputera: kod QR do zeskanowania telefonem */
.smsqr { width: min(440px, calc(100vw - 32px)); padding: 36px 32px 28px; border: 0; border-radius: 28px; background: var(--cream); color: inherit; }
.smsqr::backdrop { background: rgba(62, 10, 16, .6); }
.smsqr__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--wine); font-size: 28px; line-height: 1; cursor: pointer; }
.smsqr__close:hover { background: var(--peach); }
.smsqr__h { margin: 0 0 8px; color: var(--wine); font: 400 28px/1.15 var(--serif); }
.smsqr__lead { margin: 0 0 20px; font-size: 15px; }
.smsqr__code { width: 220px; aspect-ratio: 1; margin: 0 auto 22px; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid #efe2dc; }
.smsqr__code svg { display: block; width: 100%; height: 100%; }
.smsqr__label { margin: 0 0 6px; font-size: 13px; color: #8a7e7c; }
.smsqr__text { margin: 0 0 18px; padding: 12px 14px; background: #fff; border-radius: 12px; font-size: 14px; line-height: 1.5; max-height: 120px; overflow: auto; }
.smsqr__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.smsqr__tel { font-size: 14px; }
.smsqr__tel strong { color: var(--wine); font-weight: 500; white-space: nowrap; }
.smsqr__app { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--rose); }

/* Cennik: kalkulator wizyty */
.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.calc__form { display: grid; gap: 36px; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step[hidden] { display: none; }
.step__h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 0; color: var(--wine); font: 400 24px/1.2 var(--serif); }
.step__n {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--wine); font: italic 17px/1 var(--serif);
}
.step__opt { color: var(--rose); font: 15px var(--sans); }

.combo { position: relative; margin-bottom: 14px; }
.combo input, .field {
  width: 100%; min-height: 58px; padding: 12px 24px;
  border: 1px solid var(--wine); border-radius: 999px; background: #fff;
  font: 18px var(--sans); color: var(--wine);
}
.combo input:focus, .field:focus { outline: none; box-shadow: 0 0 0 4px rgba(69, 7, 15, .15); }
.combo__list {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px);
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--rule); border-radius: 18px; box-shadow: 0 18px 40px rgba(62, 10, 16, .14);
  max-height: 340px; overflow-y: auto;
}
.combo__list li { padding: 10px 16px; border-radius: 12px; cursor: pointer; color: var(--wine); }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--peach); }
.combo__list .combo__other { color: var(--rose); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 1px solid var(--rule); background: transparent; color: var(--wine);
  border-radius: 999px; padding: 6px 14px; font: 15px var(--sans); cursor: pointer;
}
.chips button:hover, .chips button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opts--check { grid-template-columns: 1fr 1fr; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt__box {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 14px 18px 14px 48px; border: 1px solid var(--rule); border-radius: 16px; background: #fff;
}
.opt__box::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px;
  border: 1px solid var(--wine); border-radius: 50%; background: #fff;
}
.opt--check .opt__box::before { border-radius: 5px; }
.opt input:checked + .opt__box { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); background: var(--peach); }
.opt input:checked + .opt__box::before { background: var(--wine); box-shadow: inset 0 0 0 4px #fff; }
.opt--check input:checked + .opt__box::before { box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--wine); outline-offset: 2px; }
.opt__label { color: var(--wine); font-weight: 500; line-height: 1.3; }
.opt__price { color: var(--wine); font: 400 20px/1.2 var(--serif); }
.opt__info { font-size: 14px; line-height: 1.4; }

.calc__sum {
  position: sticky; top: 124px;
  padding: clamp(28px, 3vw, 40px); border-radius: 28px;
  background: var(--wine-deep); color: #f3e9e6;
}
.calc__label { margin: 0; color: var(--rose-light); font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.calc__total { margin: 8px 0 20px; color: #fff; font: 400 clamp(44px, 4.6vw, 60px)/1.05 var(--serif); }
.calc__total span { font-size: .5em; color: #f3e9e6; }
.calc__lines { list-style: none; margin: 0 0 28px; padding: 0; }
.calc__lines:empty { display: none; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.calc__lines li span:last-child { white-space: nowrap; color: #fff; }
.calc__sum .btn--big { width: 100%; margin-bottom: 18px; }
.calc__sum .link-arrow { font-size: 15px; }
.calc__note { margin: 24px 0 0; font-size: 13px; line-height: 1.5; color: #c9aeb0; }
.mini-sum { display: none; }
@media (max-width: 960px) {
  .mini-sum:not([hidden]) {
    position: sticky; bottom: 68px; z-index: 6;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 14px 22px; border-radius: 999px; background: var(--wine); color: #fff; text-decoration: none;
    box-shadow: 0 10px 30px rgba(62, 10, 16, .25); font-size: 15px;
  }
  .mini-sum strong { margin-right: auto; font: 400 20px/1 var(--serif); }
}

/* Pełny cennik (rozwijany) */
.full { margin-top: 64px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.full summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; cursor: pointer; list-style: none; color: var(--wine); font: 400 26px/1.2 var(--serif);
}
.full summary::-webkit-details-marker { display: none; }
.full summary::after { content: "+"; font: 300 32px/1 var(--sans); transition: transform .2s; }
.full[open] summary::after { transform: rotate(45deg); }
.full__hint { margin: 0 0 24px; font-size: 15px; }
.breeds { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.breeds li { break-inside: avoid; border-bottom: 1px solid #e8d8d2; }
.breeds button {
  display: flex; justify-content: space-between; gap: 16px; width: 100%;
  padding: 13px 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.breeds button:hover .b-name { text-decoration: underline; text-underline-offset: 4px; }
.breeds .b-name { color: var(--wine); }
.breeds .b-price { text-align: right; white-space: nowrap; }
.breeds .b-price strong { color: var(--wine); font-weight: 500; }
.breeds .b-price span { display: block; font-size: 15px; }

.extras__h { margin: 48px 0 12px; font: 400 28px/1.1 var(--serif); }
.extras { border-collapse: collapse; width: 100%; max-width: 640px; margin-bottom: 32px; }
.extras th, .extras td { padding: 11px 0; border-bottom: 1px solid #e8d8d2; text-align: left; font-weight: 400; }
.extras td { text-align: right; color: var(--wine); font-weight: 500; white-space: nowrap; padding-left: 16px; }

/* O salonie */
.about { background: var(--peach); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.person { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.person--lead { grid-column: 1 / -1; grid-template-columns: 260px minmax(0, 36em); gap: 44px; }
.person h3 { font: 400 34px/1 var(--serif); }
.person--lead h3 { font-size: 46px; }
.person__role { margin: 8px 0 12px; color: var(--rose); font-size: 15px; }
.person p { margin-top: 0; }

.steps__h { margin: 96px 0 0; font: 400 clamp(30px, 3.4vw, 40px)/1.1 var(--serif); }
.steps { list-style: none; counter-reset: krok; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { counter-increment: krok; border-top: 1px solid var(--rule); padding-top: 20px; }
.steps li::before { content: "0" counter(krok) " /"; display: block; margin-bottom: 10px; color: var(--rose); font: italic 22px/1 var(--serif); }
.steps h4 { font: 500 19px/1.3 var(--sans); }
.steps p { margin: 8px 0 0; }

/* Kontakt */
.contact-sec { background: var(--wine-deep); color: #f3e9e6; padding: clamp(64px, 9vw, 112px) 0; }
.contact-sec h2 { color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact__big { margin: 28px 0 6px; font: clamp(42px, 5vw, 64px)/1 var(--serif); }
.contact__big a { color: #fff; text-decoration: none; }
.contact__small a:hover, .contact__rating a:hover { color: var(--rose-light); }
.contact__cols { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 28px 0; }
.contact address { font-style: normal; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 24px; margin: 0; }
.hours dd { margin: 0; color: #fff; }
.contact__rating { margin: 0 0 28px; }
.contact__rating a { text-decoration: none; }
.contact__rating span { color: var(--rose-light); letter-spacing: 2px; margin-right: 6px; }
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; background: #2e080c; }

/* Stopka */
.foot { background: var(--wine-deep); color: #c9aeb0; border-top: 1px solid #5a2229; font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 24px; padding-bottom: 24px; }
.foot p { margin: 0; }
.foot p:first-child { margin-right: auto; }
.foot a:hover { color: #fff; }

.callbar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .top__cta { margin-left: auto; }
  .top__in { min-height: 76px; }
  .brand img { width: 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 0; }
  .hero__img img { margin: 0 auto; -webkit-mask-image: none; mask-image: none; }
  .perks { grid-template-columns: 1fr; gap: 24px; }
  .perks li, .perks li:first-child { padding: 0; }
  .perks li + li { border-left: 0; }
  .rituals__list { grid-template-columns: 1fr 1fr; }
  .d2d { grid-template-columns: 1fr auto; }
  .d2d p:not(.from) { grid-column: 1 / -1; grid-row: 2; }
  .d2d .from { grid-column: 2; grid-row: 1; }
  .meta__grid { grid-template-columns: 1fr; }
  .meta__img { justify-self: center; }
  .team { grid-template-columns: 1fr; }
  .person--lead { grid-template-columns: 200px 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc__sum { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .top__cta { padding: 8px 18px; min-height: 42px; font-size: 15px; }
  .hero__text { padding-top: 32px; }
  .hero h1 { font-size: clamp(33px, 10.6vw, 48px); }
  .h-xl { font-size: clamp(34px, 10.6vw, 48px); }
  .btn--big { width: 100%; }
  .rituals__list { grid-template-columns: 1fr; }
  .breeds { columns: 1; }
  .opts--check { grid-template-columns: 1fr; }
  .step__h { font-size: 21px; }
  .gal-nav { display: none; }
  .rail { gap: 10px; }
  .rail button, .rail button:nth-child(3n+2) { flex-basis: 72vw; }
  .rail img { height: 96vw; }
  .person { grid-template-columns: 96px 1fr; gap: 20px; }
  .person--lead { grid-template-columns: 1fr; }
  .person--lead img { max-width: 200px; }
  .callbar {
    display: grid; grid-template-columns: 2fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30;
  }
  .callbar a { display: grid; place-items: center; min-height: 56px; font-weight: 500; text-decoration: none; background: var(--wine); color: #fff; }
  .callbar a + a { background: var(--rose); }
}

/* Telefon poziomo: niski ekran, mniejszy przyklejony nagłówek */
@media (max-height: 500px) and (orientation: landscape) {
  .top__in { min-height: 60px; padding-top: 4px; padding-bottom: 4px; }
  .brand img { width: 54px; }
  html { scroll-padding-top: 70px; }
  .calc__sum { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Regulamin */
.rules h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-bottom: 40px; }
.rules ol { max-width: 46em; padding-left: 1.4em; margin: 0 0 48px; }
.rules li { padding-left: 8px; margin-bottom: 14px; }
.rules li::marker { color: var(--rose); font-family: var(--serif); font-style: italic; }

@media (prefers-reduced-motion: reduce) { .rail img { transition: none; } }
