/* ==========================================================================
   Kwiaciarnia z Klimatem — Dąbrowa Górnicza
   Styl: butikowy, zmysłowy, mobile-first. Bez frameworków.
   Paleta wywiedziona z logo: śliwka/magenta (napis), malina (kwiat),
   szałwia (zieleń), przełamane szampańskim złotem i pudrowym różem.
   ========================================================================== */

:root {
  /* — Śliwka (głębokie tła) — */
  --plum-950: #1a0918;
  --plum-900: #250e22;
  --plum-800: #36132f;
  --plum-700: #4f1c47;

  /* — Akcenty z logo — */
  --magenta: #8e2d84;
  --raspberry: #d23a63;
  --sage: #93ad62;

  /* — Pudrowe i jasne — */
  --blush-200: #f4dfe1;
  --blush-300: #ebc6cc;
  --ivory: #fbf7f1;
  --cream: #f4ece2;

  /* — Szampańskie złoto — */
  --gold-200: #f1e2c0;
  --gold-300: #e4c891;
  --gold-400: #cfa767;
  --gold-500: #b88b4a;
  --grad-gold: linear-gradient(120deg, #f4e4c1 0%, #dcb877 32%, #b98a4b 58%, #f1ddb0 100%);

  /* — Tekst — */
  --ink: #2a1626;
  --ink-soft: #6a5566;
  --line-light: rgba(42, 22, 38, .12);

  /* — Typografia — */
  --ff-serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* — Ruch — */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);

  /* — Układ — */
  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1280px;
  --header-h: 76px;
  --radius-lg: 28px;
}

/* ---------- Reset & baza ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
  background: var(--plum-950);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(5.5rem, 12vw, 10rem); }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--gold-300); color: var(--plum-950); font-weight: 600;
  transition: top .3s;
}
.skip-link:focus { top: 1rem; }

/* Ziarno filmowe — subtelna, luksusowa faktura na ciemnych sekcjach */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > .container { position: relative; z-index: 1; }

/* ---------- Typografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold-300); }

.h2 {
  margin-top: 1.1rem;
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--plum-900);
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--magenta); }
.h2--light { color: var(--ivory); }

/* Złoty tekst gradientowy */
.text-gold,
.h2--light em,
.footer__wordmark em {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Po podziale na słowa gradient nakładamy na każde słowo osobno */
.h2--light.is-split em { background: none; }
.h2--light.is-split em .w__i {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.65; }

/* ---------- Przyciski ---------- */
.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 56px;
  padding: .45rem 1.6rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform .5s var(--ease-out), background-position .9s var(--ease-out),
              background-color .4s, border-color .4s, color .4s, box-shadow .5s;
}
.btn:has(.btn__icon) { padding-left: .45rem; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .6s var(--ease-out);
}
.btn__icon .icon { width: 18px; height: 18px; }

.btn--gold {
  color: var(--plum-950);
  background: var(--grad-gold);
  background-size: 220% 100%;
  background-position: 0 0;
  box-shadow: 0 14px 34px -14px rgba(207, 167, 103, .75);
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  animation: sheen 6s var(--ease-soft) 2.5s infinite;
}
.btn--gold .btn__icon { background: var(--plum-950); color: var(--gold-200); }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 20px 44px -12px rgba(207, 167, 103, .9); }
.btn--gold:hover .btn__icon { transform: rotate(-14deg) scale(1.06); }

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn--ghost .icon { transition: transform .5s var(--ease-out); }
.btn--ghost:hover .icon { transform: translateX(4px); }

.btn--sm { min-height: 46px; font-size: .88rem; padding: .3rem 1.25rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--lg { min-height: 64px; font-size: 1.05rem; padding-inline: 2rem; }
.btn--lg .btn__icon { width: 52px; height: 52px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  padding-bottom: .25rem;
  font-weight: 500;
  font-size: .95rem;
  color: var(--magenta);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.link-arrow .icon { transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 35% 1px; }
.link-arrow:hover .icon { transform: translate(4px, 0); }
.link-arrow--light { color: var(--gold-300); }

/* ---------- Status otwarcia ---------- */
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.2s var(--ease-out) infinite;
}
.status[data-state="soon"] .status__dot { background: var(--gold-400); }
.status[data-state="closed"] .status__dot { background: #c9617b; }
.status[data-state="closed"] .status__dot::after { animation: none; }
.status--pill {
  padding: .5rem 1rem .5rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Pasek postępu ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 2px; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   1. NAWIGACJA
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 12px;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: 1320px;
  height: 64px;
  margin-inline: auto;
  padding: 0 .5rem 0 .45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  background: rgba(26, 9, 24, .3);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: background .6s var(--ease-out), box-shadow .6s var(--ease-out), height .6s var(--ease-out);
}
.header.is-scrolled .header__bar {
  height: 58px;
  background: rgba(26, 9, 24, .76);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .55);
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ivory); padding-right: .4rem; }
.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(207, 167, 103, .55);
  transition: transform .8s var(--ease-out);
}
.brand:hover .brand__logo { transform: rotate(-12deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: .64rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.brand__tag { font-family: var(--ff-serif); font-style: italic; font-size: 1.2rem; color: var(--gold-200); }

.nav { display: none; }
.nav__list { display: flex; gap: .15rem; }
.nav__link {
  position: relative;
  display: block;
  padding: .6rem 1.05rem;
  font-size: .9rem;
  letter-spacing: .02em;
  color: rgba(251, 247, 241, .8);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: .35rem;
  height: 1px;
  background: var(--gold-300);
  transform: scaleX(0);
  transition: transform .6s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.header__cta { display: none; }

.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.burger__line { display: block; width: 20px; height: 1.5px; border-radius: 2px; background: var(--ivory); transition: transform .6s var(--ease-out); }
.menu-open .burger__line:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger__line:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobilne — odsłaniane kołem z narożnika */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  overflow-y: auto;
  color: var(--ivory);
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(142, 45, 132, .45), transparent 60%),
    radial-gradient(60% 40% at 0% 100%, rgba(210, 58, 99, .22), transparent 60%),
    var(--plum-950);
  clip-path: circle(0 at calc(100% - 48px) 44px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-out), visibility 0s linear .9s;
}
.menu-open .menu {
  clip-path: circle(150% at calc(100% - 48px) 44px);
  visibility: visible;
  transition: clip-path .9s var(--ease-out), visibility 0s;
}
.menu-open { overflow: hidden; }
.menu__inner {
  width: 100%;
  min-height: 100%;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.menu__list { margin-top: 1.25rem; }
.menu__list li {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu-open .menu__list li { opacity: 1; transform: none; }
.menu-open .menu__list li:nth-child(1) { transition-delay: .22s; }
.menu-open .menu__list li:nth-child(2) { transition-delay: .29s; }
.menu-open .menu__list li:nth-child(3) { transition-delay: .36s; }
.menu-open .menu__list li:nth-child(4) { transition-delay: .43s; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: .45rem;
  font-family: var(--ff-serif);
  font-size: clamp(2.3rem, 10vw, 3.6rem);
  line-height: 1.15;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.menu__link:hover { color: var(--gold-200); font-style: italic; }
.menu__num { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .2em; color: var(--gold-300); }
.menu__foot { margin-top: auto; padding-top: 2.5rem; }
.menu__phone { font-family: var(--ff-serif); font-size: 2rem; color: var(--gold-200); }
.menu__addr { margin: .3rem 0 1.25rem; font-size: .9rem; opacity: .7; }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--plum-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 30%; }
.js .hero__img { transform: scale(1.14); transition: transform 3s var(--ease-out); }
.js.is-loaded .hero__img { transform: scale(1.02); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 0% 100%, rgba(142, 45, 132, .38), transparent 60%),
    linear-gradient(180deg, rgba(26, 9, 24, .5) 0%, rgba(26, 9, 24, .12) 16%, rgba(26, 9, 24, .5) 32%, rgba(26, 9, 24, .84) 48%, rgba(26, 9, 24, .95) 70%, var(--plum-950) 100%);
}

.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 7.75rem; will-change: opacity, transform; }
.hero__status { margin-bottom: 1.4rem; }
.hero__eyebrow { display: flex; }
@media (max-width: 479px) {
  .hero__eyebrow { letter-spacing: .2em; }
  .hero__eyebrow::before { display: none; }
}

.hero__title {
  max-width: 9.6em;
  margin: 1.2rem 0 1.6rem;
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 1.2rem + 5.6vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__line { display: block; overflow: hidden; padding: .04em .12em .1em 0; margin-bottom: -.06em; }
.hero__line > * { display: inline-block; }
.hero__line--accent { font-size: 1.22em; line-height: .98; }
.hero__line--accent em { padding-right: .1em; }
.hero__line--small {
  margin-top: .35em;
  font-size: .36em;
  font-style: italic;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .88);
}
.hero__line--small > span::before {
  content: "";
  display: inline-block;
  width: 2.4em;
  height: 1px;
  margin-right: .7em;
  vertical-align: middle;
  background: var(--gold-300);
}

.hero__lead { max-width: 33rem; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Szklana karta z oceną i adresem (desktop) */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.hero__card { display: none; }
.hero__card-row { display: flex; align-items: center; gap: 1rem; }
.hero__rating { font-family: var(--ff-serif); font-size: 2.9rem; line-height: 1; color: var(--gold-200); }
.stars { display: flex; gap: 2px; color: var(--gold-300); }
.stars .icon { width: 15px; height: 15px; }
.stars__half { clip-path: inset(0 40% 0 0); }
.hero__card-meta { display: block; margin-top: .3rem; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.hero__card-divider { height: 1px; margin: 1.1rem 0; background: rgba(255, 255, 255, .14); }
.hero__card-addr { display: flex; gap: .75rem; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.hero__card-addr .icon { margin-top: .15rem; color: var(--gold-300); }
.hero__card-addr small { color: rgba(255, 255, 255, .62); font-size: .8rem; }

.hero__scroll { display: none; }

/* Animacja wejścia hero */
.js .hero__line > * { transform: translateY(108%); transition: transform 1.5s var(--ease-out) var(--d, 0s); }
.js.is-loaded .hero__line > * { transform: none; }
.js .hero__status, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__card, .js .hero__scroll {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 1.2s var(--ease-out), translate 1.2s var(--ease-out);
}
.js.is-loaded .hero__status, .js.is-loaded .hero__eyebrow, .js.is-loaded .hero__lead,
.js.is-loaded .hero__actions, .js.is-loaded .hero__card, .js.is-loaded .hero__scroll { opacity: 1; translate: 0 0; }
.js .hero__status { transition-delay: .05s; }
.js .hero__eyebrow { transition-delay: .1s; }
.js .hero__lead { transition-delay: .7s; }
.js .hero__actions { transition-delay: .85s; }
.js .hero__card { transition-delay: 1.05s; }
.js .hero__scroll { transition-delay: 1.3s; }

/* Pasek usług (marquee) */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--ivory);
  background: var(--plum-900);
  border-block: 1px solid rgba(207, 167, 103, .22);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  inset-block: 0;
  z-index: 1;
  width: 12vw;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--plum-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--plum-900), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem);
  line-height: 1.25;
  white-space: nowrap;
}
.marquee__list .is-outline { color: transparent; -webkit-text-stroke: 1px var(--gold-300); }
.marquee__list .icon { width: .5em; height: .5em; color: var(--raspberry); }

/* ==========================================================================
   KLIMAT / O NAS
   ========================================================================== */
.about { overflow: hidden; background: var(--ivory); }
.about__grid { display: grid; gap: clamp(4rem, 8vw, 7rem); align-items: center; }

.about__media { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding: 0 13% 15% 0; }
.about__frame { position: relative; overflow: hidden; background: var(--blush-200); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame--main { aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; box-shadow: 0 50px 90px -50px rgba(42, 22, 38, .6); }
.about__frame--main img { position: absolute; inset: -10% 0; height: 120%; object-position: 62% 50%; }
.about__frame--accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  border: 8px solid var(--ivory);
  box-shadow: 0 30px 60px -25px rgba(42, 22, 38, .5);
}

.seal {
  position: absolute;
  top: 3%;
  right: 1%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(108px, 24vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--gold-300);
  background: var(--plum-900);
  box-shadow: 0 20px 40px -15px rgba(26, 9, 24, .6);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font-family: var(--ff-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; fill: currentColor; }
.seal__icon { width: 26%; height: 26%; color: var(--raspberry); }

.about__content p:not(.eyebrow):not(.signature) { margin-top: 1.1rem; color: var(--ink-soft); }
.about__content .lead { margin-top: 1.75rem !important; color: var(--ink) !important; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.6rem; border-top: 1px solid var(--line-light); }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.4rem .75rem 0 0; }
.stats__item + .stats__item { padding-left: clamp(.75rem, 2vw, 1.5rem); border-left: 1px solid var(--line-light); }
.stats__value {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  line-height: 1;
  color: var(--plum-900);
  font-variant-numeric: tabular-nums;
}
.stats__value--word { font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); color: var(--magenta); }
.stats__star { width: .45em; height: .45em; color: var(--gold-400); }
.stats__label { margin-top: .65rem; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.4; }
.signature { margin-top: 2.4rem; font-family: var(--ff-serif); font-style: italic; font-size: 1.45rem; color: var(--magenta); }

/* ==========================================================================
   3. OFERTA
   ========================================================================== */
.offer {
  color: var(--ivory);
  background:
    radial-gradient(70% 55% at 90% 0%, rgba(142, 45, 132, .38), transparent 60%),
    radial-gradient(55% 45% at 0% 100%, rgba(210, 58, 99, .16), transparent 60%),
    var(--plum-950);
}

.section-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-head--split { display: grid; gap: 1.5rem 4rem; align-items: end; }
.section-head__aside p { max-width: 30rem; color: var(--ink-soft); }
.offer .section-head__aside p { color: rgba(251, 247, 241, .7); }

.bento { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); }

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(440px, 118vw, 560px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--plum-800);
}
.card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92);
  transform: scale(1.02);
  transition: transform 1.8s var(--ease-out), filter 1.2s var(--ease-out);
}
.card--a .card__img { object-position: 50% 40%; }
.card--b .card__img { object-position: 50% 30%; }
.card--d .card__img { object-position: 50% 28%; }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(26, 9, 24, .95) 0%, rgba(26, 9, 24, .6) 32%, rgba(26, 9, 24, 0) 66%);
}
/* Świetlny „spotlight” podążający za kursorem */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(241, 226, 192, .2), transparent 45%);
  opacity: 0;
  transition: opacity .6s;
}
.card:hover::before { opacity: 1; }
.card:hover .card__img, .card:focus-within .card__img { transform: scale(1.09); filter: saturate(1.05); }

.card__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__link:focus-visible { outline-offset: -4px; }

.card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .7s var(--ease-out), background .4s, color .4s, border-color .4s;
}
.card:hover .card__arrow, .card:focus-within .card__arrow { transform: rotate(45deg); background: var(--gold-300); border-color: transparent; color: var(--plum-950); }

.card__body { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.card__num { display: flex; align-items: center; gap: .75rem; font-family: var(--ff-serif); font-style: italic; color: var(--gold-300); }
.card__num::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }
.card__title { margin-top: .55rem; font-family: var(--ff-serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.55rem); line-height: 1.08; letter-spacing: -.01em; }

.card__reveal { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .8s var(--ease-out); }
.card__reveal > div { min-height: 0; overflow: hidden; }
.card__desc { max-width: 34rem; margin-top: .85rem; font-size: .95rem; font-weight: 300; color: rgba(255, 255, 255, .84); }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tags li {
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .05em;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Na urządzeniach z kursorem opis odsłania się po najechaniu */
@media (hover: hover) and (pointer: fine) {
  .card__reveal { grid-template-rows: 0fr; }
  .card__reveal > div { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .8s var(--ease-out); }
  .card:hover .card__reveal, .card:focus-within .card__reveal { grid-template-rows: 1fr; }
  .card:hover .card__reveal > div, .card:focus-within .card__reveal > div { opacity: 1; transform: none; transition-delay: .1s; }
}

.extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.extras__title { font-family: var(--ff-serif); font-style: italic; font-size: 1.3rem; color: var(--gold-300); }
.extras__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.extras__list li {
  padding: .6rem 1.15rem;
  border-radius: 999px;
  font-size: .86rem;
  color: rgba(251, 247, 241, .88);
  border: 1px solid rgba(207, 167, 103, .35);
  transition: background .4s, color .4s, border-color .4s;
}
.extras__list li:hover { background: var(--gold-300); border-color: transparent; color: var(--plum-950); }

/* ==========================================================================
   4. GALERIA (masonry)
   ========================================================================== */
.gallery { background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); }

.masonry { columns: 2; column-gap: clamp(.7rem, 1.6vw, 1.25rem); }
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: clamp(.7rem, 1.6vw, 1.25rem);
  border-radius: 20px;
  background: var(--blush-200);
  break-inside: avoid;
  cursor: zoom-in;
  transform: translateZ(0);
}
.tile--arch { border-radius: 999px 999px 20px 20px; }
.tile img { width: 100%; transition: transform 1.5s var(--ease-out), filter .8s; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 9, 24, .72), transparent 55%);
  opacity: 0;
  transition: opacity .6s;
}
.tile__cap {
  position: absolute;
  inset: auto 1rem .9rem;
  z-index: 1;
  display: none;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s, transform .7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile__cap { display: block; }
  .tile:hover img { transform: scale(1.07); }
  .tile:hover::after, .tile:focus-visible::after { opacity: 1; }
  .tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
}

/* ==========================================================================
   PASMO CTA (paralaksa)
   ========================================================================== */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(7rem, 16vw, 12rem);
  text-align: center;
  color: #fff;
  background: var(--plum-950);
}
.band__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band__media img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(65% 75% at 50% 50%, rgba(26, 9, 24, .5), rgba(26, 9, 24, .9)),
    linear-gradient(180deg, rgba(26, 9, 24, .5), rgba(54, 19, 47, .35));
}
.band__ornament { width: 34px; height: 34px; margin: 0 auto 1.25rem; color: var(--gold-300); animation: spin 18s linear infinite; }
.band__title { margin-inline: auto; max-width: 14ch; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem); }
.band__lead { max-width: 36rem; margin: 1.5rem auto 0; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); font-weight: 300; color: rgba(255, 255, 255, .82); }
.band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2.5rem; }

/* ==========================================================================
   5. KONTAKT + MAPA
   ========================================================================== */
.contact { overflow: hidden; background: var(--cream); }
.contact__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; pointer-events: none; }
.contact__blob--a { top: -12%; right: -12%; width: 46vw; height: 46vw; background: var(--blush-300); }
.contact__blob--b { bottom: -14%; left: -10%; width: 34vw; height: 34vw; background: #ead9b6; }

.contact__grid { position: relative; display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); align-items: center; }
.contact__block { margin-top: 2.1rem; }
.contact__label { margin-bottom: .65rem; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

.big-phone { display: inline-flex; align-items: center; gap: 1rem; color: var(--plum-900); }
.big-phone__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 66px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--plum-950);
  background: var(--grad-gold);
  box-shadow: 0 14px 30px -12px rgba(184, 139, 74, .7);
}
.big-phone__icon .icon { width: 22px; height: 22px; }
.big-phone__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  animation: ring 2.6s var(--ease-out) infinite;
}
.big-phone__num {
  font-family: var(--ff-serif);
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--ease-out), color .4s;
}
.big-phone:hover .big-phone__num { background-size: 100% 1px; color: var(--magenta); }

.contact__addr { font-style: normal; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }

.hours {
  position: relative;
  overflow: hidden;
  margin-top: 2.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 24px;
  color: var(--ivory);
  background: radial-gradient(70% 80% at 100% 0%, rgba(142, 45, 132, .45), transparent 60%), var(--plum-900);
  box-shadow: 0 40px 80px -40px rgba(42, 22, 38, .65);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.hours__title { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-serif); font-weight: 400; font-size: 1.4rem; }
.hours__title .icon { color: var(--gold-300); }
.hours .status { color: rgba(255, 255, 255, .9); }
.hours__row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  font-size: .95rem;
  color: rgba(251, 247, 241, .75);
  transition: background .4s, color .4s;
}
.hours__row span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours__dots { flex: 1; min-width: 1rem; border-bottom: 1px dashed rgba(251, 247, 241, .2); transform: translateY(-.3em); }
.hours__row.is-today { color: #fff; background: rgba(255, 255, 255, .08); }
.hours__row.is-today span:first-child::after {
  content: "dziś";
  margin-left: .55rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: .15em;
  color: var(--plum-950);
  background: var(--gold-300);
}
.hours__note { margin-top: .9rem; padding-inline: .85rem; font-size: .8rem; color: rgba(251, 247, 241, .55); }
.hours__row span:first-child { white-space: nowrap; }
@media (max-width: 479px) {
  .hours { padding-inline: 1rem; }
  .hours__row { gap: .5rem; padding: .65rem .6rem; font-size: .9rem; }
  .hours__row.is-today span:first-child::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    padding: 0;
    margin-left: .45rem;
    vertical-align: .2em;
  }
}

/* Mapa w kształcie łuku, z luksusowym filtrem */
.map { position: relative; width: 100%; max-width: 580px; margin-inline: auto; padding: 0 16px 16px 0; }
.map::before {
  content: "";
  position: absolute;
  inset: 16px 0 0 16px;
  border: 1px solid rgba(184, 139, 74, .6);
  border-radius: 999px 999px 32px 32px;
  pointer-events: none;
}
.map__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 32px 32px;
  background: #e8e1d6;
  box-shadow: 0 60px 100px -50px rgba(42, 22, 38, .6);
}
.map__iframe {
  position: absolute;
  /* wyższy niż ramka: okienko informacyjne Google chowa się nad łukiem */
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + 150px);
  border: 0;
  filter: grayscale(82%) sepia(18%) contrast(1.04) brightness(1.02);
  transition: filter 1.1s var(--ease-out);
}
.map__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(142, 45, 132, .12), rgba(207, 167, 103, .14));
  mix-blend-mode: multiply;
  transition: opacity 1.1s var(--ease-out);
}
.map:hover .map__iframe { filter: grayscale(20%) sepia(6%); }
.map:hover .map__tint { opacity: 0; }

.map__card {
  position: absolute;
  left: 1rem;
  right: 2rem;
  bottom: 2.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem 1.1rem .7rem .7rem;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(251, 247, 241, .78);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 50px -20px rgba(42, 22, 38, .45);
}
.map__card:hover { translate: 0 -4px; }
.map__card img { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.map__card span { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.map__card strong { font-family: var(--ff-serif); font-weight: 500; font-size: 1.05rem; }
.map__card small { font-size: .78rem; color: var(--ink-soft); }
.map__card > .icon { color: var(--magenta); }

/* ==========================================================================
   6. STOPKA
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0 calc(7rem + env(safe-area-inset-bottom));
  font-size: .95rem;
  color: rgba(251, 247, 241, .72);
  background: radial-gradient(60% 50% at 100% 0%, rgba(142, 45, 132, .25), transparent 60%), var(--plum-950);
}
.footer__wordmark {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 1rem + 7.6vw, 8.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ivory);
}
.footer__wordmark em { font-style: italic; padding-right: .06em; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(207, 167, 103, .5); }
.footer__brand p { max-width: 22rem; margin-top: 1.1rem; }
.footer__title { margin-bottom: 1.1rem; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }
.footer__col li + li { margin-top: .55rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--gold-200); }

.socials { display: flex; gap: .6rem; }
.socials__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .5s var(--ease-out), background .4s, color .4s, border-color .4s;
}
.socials__link .icon { width: 19px; height: 19px; }
.socials__link:hover { transform: translateY(-3px); color: var(--plum-950); background: var(--grad-gold); border-color: transparent; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  font-size: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__credits { opacity: .6; }
.to-top {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--gold-200);
  border: 1px solid rgba(207, 167, 103, .45);
  transition: transform .5s var(--ease-out), background .4s, color .4s;
}
.to-top:hover { transform: translateY(-4px); color: var(--plum-950); background: var(--gold-300); }

/* ---------- Mobilny dock z CTA ---------- */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  gap: .5rem;
  padding: .45rem;
  border-radius: 999px;
  background: rgba(26, 9, 24, .74);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .55);
  transition: transform .7s var(--ease-out), opacity .5s;
}
.dock__cta {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .3rem 1rem .3rem .3rem;
  border-radius: 999px;
  color: var(--plum-950);
  background: var(--grad-gold);
  background-size: 200% 100%;
}
.dock__cta .btn__icon { width: 44px; height: 44px; color: var(--gold-200); background: var(--plum-950); }
.dock__text { display: flex; flex-direction: column; line-height: 1.15; }
.dock__text strong { font-size: .95rem; font-weight: 600; }
.dock__text small { font-size: .74rem; opacity: .75; letter-spacing: .04em; }
.dock__route {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, .18);
}
.menu-open .dock, .lb-open .dock { transform: translateY(160%); opacity: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(18, 6, 16, .94);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .5s var(--ease-out); }
.lightbox::backdrop { background: rgba(18, 6, 16, .6); }
.lb-open { overflow: hidden; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 1100px); padding: 4.5rem 0 6rem; }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 12rem);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.lightbox.is-switching .lightbox__img { opacity: 0; transform: scale(.97); }
.lightbox__caption { margin-top: 1.1rem; font-family: var(--ff-serif); font-style: italic; font-size: 1.15rem; text-align: center; color: rgba(251, 247, 241, .88); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.lightbox__btn:hover { color: var(--plum-950); background: var(--gold-300); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { bottom: 1.5rem; }
.lightbox__nav--prev { left: calc(50% - 64px); }
.lightbox__nav--next { right: calc(50% - 64px); }
.lightbox__counter { position: absolute; top: 1.8rem; left: 1.5rem; font-size: .75rem; letter-spacing: .24em; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Animacje przy przewijaniu (Intersection Observer)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease-out) var(--delay, 0s), transform 1.3s var(--ease-out) var(--delay, 0s), translate .6s var(--ease-out);
}
/* „Odsłonięcie” od dołu; ujemne wartości końcowe nie przycinają cieni ani elementów wystających poza ramkę */
.js [data-reveal="unveil"] {
  transform: translateY(56px) scale(.97);
  clip-path: inset(18% -40% -40% -40%);
  transition: opacity 1s var(--ease-out) var(--delay, 0s), transform 1.4s var(--ease-out) var(--delay, 0s), clip-path 1.6s var(--ease-out) var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="unveil"].is-in { clip-path: inset(-12% -40% -40% -40%); }

/* Nagłówki dzielone na słowa — każde wjeżdża z dołu */
.js [data-split] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
.w__i { display: inline-block; }
.js .w__i { transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--wi, 0) * 70ms + var(--delay, 0s)); }
.js .is-in .w__i { transform: none; }

.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), background .4s, color .4s, border-color .4s; transition-delay: calc(var(--i, 0) * 70ms + .2s); }
.js .is-in [data-stagger] > * { opacity: 1; transform: none; }
.js .is-in [data-stagger] > *:hover { transition-delay: 0s; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Responsywność (mobile-first → w górę)
   ========================================================================== */
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .map__card { left: auto; right: -1rem; max-width: 330px; }
}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .card--a { grid-column: span 7; }
  .card--b { grid-column: span 5; }
  .card--c { grid-column: span 5; }
  .card--d { grid-column: span 7; }
  .card--a, .card--b { min-height: clamp(480px, 50vw, 660px); }
  .card--c, .card--d { min-height: clamp(400px, 38vw, 520px); }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }
  .lightbox__figure { padding-block: 4.5rem; }
  .lightbox__img { max-height: calc(100dvh - 10rem); }
}

@media (min-width: 900px) {
  .masonry { columns: 3; }
}

/* Hero na ekranach poziomych: obraz z prawej, typografia z lewej */
@media (min-width: 1101px), (min-width: 768px) and (orientation: landscape) {
  .hero { justify-content: center; }
  .hero__media { left: clamp(0px, 24vw - 160px, 22vw); }
  .hero__img { object-position: 50% 45%; }
  .hero__veil {
    background:
      radial-gradient(70% 80% at 0% 100%, rgba(142, 45, 132, .34), transparent 60%),
      linear-gradient(90deg, var(--plum-950) 0%, rgba(26, 9, 24, .96) 20%, rgba(26, 9, 24, .78) 36%, rgba(26, 9, 24, .28) 56%, rgba(26, 9, 24, .04) 78%),
      linear-gradient(0deg, rgba(26, 9, 24, .85) 0%, transparent 30%),
      linear-gradient(180deg, rgba(26, 9, 24, .55) 0%, transparent 22%);
  }
  .hero__inner { padding-bottom: clamp(6rem, 13vh, 9rem); }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .header { padding: 16px 20px; }
  .header__bar { height: 68px; padding-left: .5rem; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .menu, .dock { display: none; }
  .footer { padding-bottom: 2.5rem; }

  .hero__card {
    display: block;
    position: absolute;
    right: var(--gutter);
    bottom: clamp(2rem, 7vh, 4.5rem);
    z-index: 1;
    width: 300px;
    padding: 1.3rem 1.4rem;
    border-radius: 22px;
  }
  .hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-left: -2rem;
    width: 4rem;
    font-size: .62rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
  }
  .hero__scroll-line { position: relative; width: 1px; height: 56px; background: rgba(255, 255, 255, .2); overflow: hidden; }
  .hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold-300); animation: scroll-line 2.4s var(--ease-soft) infinite; }

  .section-head--split { grid-template-columns: 1.25fr .75fr; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__media { margin-inline: 0; }
  .contact__grid { grid-template-columns: .95fr 1.05fr; }
  .map__card { right: auto; left: -2.5rem; bottom: 3rem; }
}

@media (min-width: 1280px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js .w__i, .js .hero__line > *, .js [data-stagger] > *,
  .js .hero__status, .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__card, .js .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    clip-path: none !important;
  }
  .marquee__track { animation: none; }
}
