/* =========================================================
   5-TKA Pracownia Zegarmistrzowska – arkusz stylów
   ========================================================= */

/* ---------- Fonty (hostowane lokalnie) ---------- */
@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  --ink: #12100d;
  --ink-2: #1a1712;
  --ink-3: #231f18;
  --paper: #f3ecdf;
  --paper-deep: #ebe1cf;
  --card: #fbf7ef;
  --brass: #c9a35b;
  --brass-2: #e3c78a;
  --brass-3: #8f7036;
  --brass-ink: #7a5c24;
  --text-light: #efe7d8;
  --text-light-2: #b3a891;
  --text-dark: #1e1a14;
  --text-dark-2: #5a5144;
  --line-dark: rgba(227, 199, 138, .14);
  --line-light: rgba(30, 26, 20, .14);
  --f-display: "Cormorant Garamond Variable", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Manrope Variable", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 78px;
  --radius: 22px;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); margin: .5rem 0 1.2rem; }
h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--brass-2); }
p { text-wrap: pretty; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: #7d7466; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -120px; z-index: 200; background: var(--brass); color: #120f0a; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
::selection { background: var(--brass); color: #120f0a; }

/* ---------- Pasek postępu ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass-3), var(--brass-2)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Przyciski ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.55rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary {
  background: linear-gradient(135deg, #efd495 0%, #c9a35b 55%, #a9823f 100%);
  color: #17130c;
  box-shadow: 0 12px 30px -12px rgba(201, 163, 91, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(201, 163, 91, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { border-color: rgba(227, 199, 138, .38); color: var(--brass-2); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(227, 199, 138, .1); border-color: var(--brass); }
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -16px rgba(18, 16, 13, .8); }
.btn--dark:hover { background: #2b251c; }
.btn--sm { padding: .62rem 1.05rem; font-size: .86rem; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), border-color .4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(18, 16, 13, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: opacity .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-101%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: inherit; text-decoration: none; position: relative; z-index: 2; }
.brand .logo-mark { flex: none; transition: transform 1.4s var(--ease); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.brand:hover .logo-mark { transform: rotate(360deg); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; letter-spacing: .14em; line-height: 1; }
.brand__sub { font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--text-light-2); margin-top: .35rem; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--text-light); text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; padding: .35rem 0; opacity: .82; transition: opacity .3s, color .3s; }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { opacity: 1; color: var(--brass-2); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }
.header__cta { position: relative; z-index: 2; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 110px;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(1100px 720px at 74% 42%, #2c2419 0%, rgba(44, 36, 25, 0) 62%),
    radial-gradient(900px 600px at 0% 100%, #1f1a13 0%, rgba(31, 26, 19, 0) 60%),
    var(--ink);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__rosette { position: absolute; width: 1150px; aspect-ratio: 1; right: -330px; top: 50%; margin-top: -575px; color: rgba(201, 163, 91, .055); }
.hero__rosette svg { width: 100%; height: 100%; display: block; animation: spin 260s linear infinite; }
.hero__gear { position: absolute; color: rgba(201, 163, 91, .15); will-change: transform; }
.hero__gear svg { width: 100%; height: 100%; display: block; animation: spin var(--t, 90s) linear infinite; }
.hero__gear--a { width: 560px; left: -230px; bottom: -250px; --t: 140s; }
.hero__gear--b { width: 250px; left: 38%; top: -95px; --t: 80s; }
.hero__gear--b svg { animation-direction: reverse; }
.hero__gear--c { width: 150px; right: 4%; bottom: 7%; --t: 50s; color: rgba(201, 163, 91, .12); }
.hero__glow { position: absolute; width: 760px; height: 760px; right: 2%; top: 50%; margin-top: -400px; background: radial-gradient(circle, rgba(221, 180, 101, .16), rgba(221, 180, 101, 0) 62%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.9rem, 1.1rem + 4.4vw, 5.3rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 1.7rem; }
.hero__kicker { display: flex; align-items: center; gap: .9rem; font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.7rem; line-height: 1.4; }
.hero__kicker::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--brass-2); }
.hero__lead { max-width: 35rem; font-size: 1.13rem; color: var(--text-light-2); margin: 0 0 2.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.3rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.rating-chip { display: inline-flex; align-items: center; gap: .65rem; color: var(--text-light-2); text-decoration: none; font-size: .9rem; }
.rating-chip strong { color: var(--text-light); }
.rating-chip:hover { color: var(--text-light); }
.stars { color: var(--brass); letter-spacing: .12em; font-size: .95rem; }
.hero__clock { position: relative; width: min(100%, 590px); justify-self: center; }
.hero__clock .clock { width: 100%; height: auto; display: block; overflow: visible; transform: perspective(1400px) rotateY(calc(var(--px, 0) * 10deg)) rotateX(calc(var(--py, 0) * -10deg)); }
.hero .hand-rot { transform-box: view-box; transform-origin: 300px 300px; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; z-index: 3; width: 26px; height: 44px; margin-left: -13px; border: 1px solid rgba(227, 199, 138, .35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--brass); animation: cue 2.2s var(--ease) infinite; }

/* Status otwarcia */
.status-chip { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; padding: .45rem .95rem; border-radius: 999px; border: 1px solid rgba(227, 199, 138, .22); color: var(--text-light-2); line-height: 1.3; }
.status-chip__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8d8373; }
.status-chip.is-open { color: var(--text-light); }
.status-chip.is-open .status-chip__dot { background: #5fd08a; animation: pulse 2s infinite; }
.status-chip.is-closed .status-chip__dot { background: #d0795f; }

/* Animacje wejścia */
.js .intro { opacity: 0; transform: translateY(26px); }
.js .hero__title .line .intro { opacity: 1; transform: translateY(108%); }
.js .intro--clock { transform: scale(.9) rotate(-10deg); }
.js.is-loaded .intro, .js.is-loaded .hero__title .line .intro { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s); }
.js.is-loaded .intro--clock { transition: opacity 1.6s var(--ease) var(--d, 0s), transform 2s var(--ease) var(--d, 0s); }

/* ---------- Pasek przewijany ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; background: linear-gradient(90deg, #b48d48, #e4c683 50%, #b48d48); color: #1c170f; border-block: 1px solid rgba(0, 0, 0, .25); padding: 1rem 0; }
.marquee__track { display: flex; align-items: center; width: max-content; white-space: nowrap; font-family: var(--f-display); font-size: 1.5rem; font-style: italic; font-weight: 500; animation: marquee 48s linear infinite; }
.marquee__track span, .marquee__track i { padding-right: 2.2rem; }
.marquee__track i { font-style: normal; font-size: .85rem; opacity: .65; }

/* ---------- Sekcje ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--paper, .section--paper-deep { color: var(--text-dark); }
.section--paper { background: var(--paper); }
.section--paper-deep { background: var(--paper-deep); }
.section--paper::before, .section--paper-deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .34 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section > .container { position: relative; }
.section--paper h2 em, .section--paper-deep h2 em { color: var(--brass-ink); }
.section__head { max-width: 780px; margin: 0 auto 4rem; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__intro { font-size: 1.1rem; color: var(--text-dark-2); margin: 0; }
.section--dark .section__intro { color: var(--text-light-2); }
.section__intro a { color: var(--brass-ink); font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.eyebrow span { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.15rem; letter-spacing: 0; display: inline-flex; align-items: center; gap: .9rem; }
.eyebrow span::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.section--paper .eyebrow, .section--paper-deep .eyebrow { color: var(--brass-ink); }

/* Pojawianie się przy przewijaniu */
.js [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease) calc(var(--i, 0) * .1s), transform 1.2s var(--ease) calc(var(--i, 0) * .1s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Usługi ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid rgba(30, 26, 20, .08); border-radius: var(--radius);
  padding: 2.3rem 2.1rem 2.4rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -34px rgba(60, 45, 20, .5);
  transition: transform 1.2s var(--ease) calc(var(--i, 0) * .1s), opacity 1s var(--ease) calc(var(--i, 0) * .1s), box-shadow .6s var(--ease), border-color .4s;
}
.js .card[data-reveal] { transform: perspective(900px) translateY(42px); transition: transform 1.2s var(--ease) calc(var(--i, 0) * .1s), opacity 1s var(--ease) calc(var(--i, 0) * .1s), box-shadow .6s var(--ease), border-color .4s; }
.js .card[data-reveal].is-in, .card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .card.is-tilting, .card.is-tilting { transition: transform .15s linear, opacity 1s, box-shadow .6s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 163, 91, .2), transparent 45%); transition: opacity .5s; }
.card:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 34px 60px -30px rgba(60, 45, 20, .45); border-color: rgba(201, 163, 91, .45); }
.card:hover::before { opacity: 1; }
.card__icon { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.7rem; background: linear-gradient(145deg, #1f1b15, #312a20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px -12px rgba(18, 16, 13, .8); }
.card__icon svg { width: 38px; height: 38px; fill: none; stroke: var(--brass-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.card:hover .card__icon svg { transform: rotate(-10deg) scale(1.06); }
.js .card__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--i, 0) * .12s + .35s); }
.js .card.is-in .card__icon svg * { stroke-dashoffset: 0; }
.card h3 { font-size: 1.7rem; margin: 0 0 .75rem; line-height: 1.12; }
.card p { margin: 0; color: var(--text-dark-2); font-size: .98rem; }
.card--accent { background: var(--ink); border-color: transparent; color: var(--text-light); }
.card--accent p { color: var(--text-light-2); }
.card--accent .card__icon { background: linear-gradient(145deg, #efd495, #b48b43); }
.card--accent .card__icon svg { stroke: #1a150d; }
.card--accent::after { content: "Dojazd do klienta"; position: absolute; top: 1.6rem; right: 1.6rem; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #17130c; background: var(--brass-2); padding: .35rem .7rem; border-radius: 999px; }
.services__cta { margin-top: 3.4rem; display: flex; align-items: center; justify-content: center; gap: 1.4rem 1.8rem; flex-wrap: wrap; text-align: center; }
.services__cta p { margin: 0; font-family: var(--f-display); font-size: 1.55rem; font-style: italic; }

/* ---------- O pracowni ---------- */
.about { overflow: hidden; }
.about__texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(227, 199, 138, .04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(227, 199, 138, .04) 0 1px, transparent 1px 24px);
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 50%, #000 0%, transparent 70%);
}
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.about__copy > div > p { color: var(--text-light-2); font-size: 1.08rem; margin: 0 0 1.1rem; }
.about__copy strong { color: var(--text-light); font-weight: 600; }
.quote { margin: 2.4rem 0; padding: .4rem 0 .4rem 1.8rem; border-left: 2px solid var(--brass); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-display); font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.1rem); font-style: italic; line-height: 1.28; color: var(--text-light); margin: 0 0 .7rem; }
.quote figcaption { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; border-top: 1px solid var(--line-dark); padding-top: 2rem; }
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.7rem, 2rem + 2vw, 3.8rem); line-height: 1; color: var(--brass-2); font-variant-numeric: lining-nums; }
.stat dt { font-size: .84rem; color: var(--text-light-2); margin-top: .6rem; line-height: 1.4; }
.about__figure { margin: 0; text-align: center; }
.movement-wrap { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 0 auto; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .65)); }
.movement-wrap::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; z-index: -1; background: conic-gradient(from 210deg, #7b5621, #f6dc9c, #b58838, #6e4c1b, #e4c47e, #8a6326, #fbe8b4, #7b5621); }
.movement-wrap::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; z-index: -1; background: #0f0c09; }
.movement { width: 100%; height: 100%; display: block; }
.about__figure figcaption { margin: 2.6rem auto 0; max-width: 28rem; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--text-light-2); line-height: 1.4; }

/* Animacje mechanizmów */
.spin, .escape, .balance, .pallet { transform-box: view-box; transform-origin: 0 0; }
.spin { animation: spin var(--t, 10s) linear infinite; }
.escape { animation: spin var(--t, 10s) steps(40) infinite; }
.balance { animation: balance .25s ease-in-out infinite alternate; }
.pallet { animation: pallet .25s ease-in-out infinite alternate; }
.hairspring { transform-box: view-box; animation: breathe .25s ease-in-out infinite alternate; }
.is-paused .spin, .is-paused .escape, .is-paused .balance, .is-paused .pallet, .is-paused .hairspring,
.is-paused .hero__gear svg, .is-paused .hero__rosette svg { animation-play-state: paused; }

/* ---------- Antyki ---------- */
.antiques { overflow: hidden; }
.antiques__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.antiques__copy > div > p { color: var(--text-dark-2); font-size: 1.08rem; margin: 0 0 1.1rem; }
.pocket-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; padding-left: 16%; }
.pocket {
  position: relative; display: block; width: min(100%, 420px); aspect-ratio: 400 / 480;
  padding: 0; border: 0; background: none; cursor: pointer; color: inherit;
  perspective: 1500px; perspective-origin: 20% 50%;
  -webkit-tap-highlight-color: transparent;
}
.pocket:focus-visible { outline-offset: 10px; border-radius: 24px; }
.pocket__body { width: 100%; height: 100%; display: block; overflow: visible; }
.pocket__lid {
  position: absolute; left: 7.5%; top: 21.25%; width: 85%; height: 70.8333%;
  transform-origin: 0% 50%; transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 1.9s cubic-bezier(.22, 1, .32, 1);
}
.pocket:not(.is-open):hover .pocket__lid { transform: rotateY(-9deg); transition-duration: .8s; }
.pocket.is-open .pocket__lid { transform: rotateY(-116deg); }
.pocket__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pocket__face svg { width: 100%; height: 100%; display: block; }
.pocket__face--back { transform: rotateY(180deg); }
.pocket__hint { margin-top: 1.4rem; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.checklist { list-style: none; margin: 1.8rem 0 2.4rem; padding: 0; display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 2.3rem; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e3c78a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- Jak pracujemy ---------- */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; position: relative; }
.steps__line { position: absolute; left: 34px; right: 0; top: 34px; height: 1px; background: rgba(227, 199, 138, .16); }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 1.7rem; background: var(--ink); border: 1px solid rgba(227, 199, 138, .35); font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; color: var(--brass-2); transition: background .7s var(--ease), color .7s, border-color .7s, box-shadow .7s; }
.step.is-active .step__num { background: linear-gradient(145deg, #efd495, #b48b43); color: #17130c; border-color: transparent; box-shadow: 0 0 0 6px rgba(201, 163, 91, .12), 0 14px 30px -12px rgba(201, 163, 91, .6); }
.step h3 { font-size: 1.62rem; margin: 0 0 .65rem; }
.step p { color: var(--text-light-2); margin: 0; font-size: .98rem; }

/* ---------- Opinie ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 3rem; flex-wrap: wrap; margin-bottom: 3.6rem; }
.reviews__head .section__head { margin-bottom: 0; }
.score { text-align: right; }
.score__value { font-family: var(--f-display); font-size: 5.4rem; font-weight: 500; line-height: .9; color: var(--text-dark); font-variant-numeric: lining-nums; }
.score__value small { font-size: 1.7rem; color: var(--text-dark-2); margin-left: .2rem; }
.score__stars { position: relative; display: inline-block; font-size: 1.45rem; letter-spacing: .14em; color: rgba(30, 26, 20, .14); }
.score__fill { position: absolute; left: 0; top: 0; width: 0; overflow: hidden; white-space: nowrap; color: #c08f2e; transition: width 2.2s var(--ease) .5s; }
.score.is-in .score__fill { width: 98%; }
.score p { margin: .3rem 0 .7rem; color: var(--text-dark-2); font-size: .92rem; }
.link-arrow { color: var(--brass-ink); font-weight: 700; font-size: .92rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.link-arrow:hover { color: var(--text-dark); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.review { position: relative; overflow: hidden; margin: 0; display: flex; flex-direction: column; min-height: 100%; background: var(--card); border: 1px solid rgba(30, 26, 20, .08); border-radius: var(--radius); padding: 2.3rem 2.2rem 2.1rem; box-shadow: 0 20px 40px -34px rgba(60, 45, 20, .5); }
.review::before { content: "\201C"; position: absolute; top: -1.2rem; right: 1.3rem; font-family: var(--f-display); font-size: 9rem; line-height: 1; color: rgba(201, 163, 91, .2); }
.review__stars { color: #c08f2e; letter-spacing: .14em; margin-bottom: 1.1rem; }
.review blockquote { margin: 0 0 1.8rem; flex: 1; }
.review blockquote p { margin: 0; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.32; color: var(--text-dark); }
.review figcaption { display: flex; flex-direction: column; font-size: .92rem; border-top: 1px solid var(--line-light); padding-top: 1.1rem; }
.review figcaption span { color: var(--text-dark-2); font-size: .8rem; }
.review--featured { background: var(--ink); border-color: transparent; margin-top: -18px; }
.review--featured blockquote p { color: var(--text-light); font-size: 1.9rem; }
.review--featured .review__stars { color: var(--brass); }
.review--featured figcaption { border-top-color: var(--line-dark); }
.review--featured figcaption strong { color: var(--text-light); }
.review--featured figcaption span { color: var(--text-light-2); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid .section__head { position: sticky; top: 120px; margin-bottom: 0; }
.faq__gear { width: 118px; margin-top: 2.6rem; color: rgba(122, 92, 36, .45); }
.faq__gear svg { width: 100%; display: block; }
.accordion { border-top: 1px solid var(--line-light); }
.acc { border-bottom: 1px solid var(--line-light); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.55rem 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: clamp(1.32rem, 1.1rem + .6vw, 1.7rem); font-weight: 500; transition: color .3s; }
.acc summary:hover h3 { color: var(--brass-ink); }
.acc__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(30, 26, 20, .28); color: var(--text-dark); transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.acc__icon::after { transform: rotate(90deg); }
.acc[open]:not(.is-closing) .acc__icon { transform: rotate(135deg); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.acc__body { overflow: hidden; }
.acc__body p { margin: 0 0 1.7rem; color: var(--text-dark-2); max-width: 42rem; }
.acc__body a { color: var(--brass-ink); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: stretch; }
.contact__card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 26px; padding: clamp(1.7rem, 3vw, 2.8rem); }
.contact__row { padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.contact__row:first-of-type { padding-top: 0; }
.contact__label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: .55rem; }
.contact__card address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
.contact__card a:not(.btn) { color: var(--text-light); text-decoration: none; border-bottom: 1px solid rgba(227, 199, 138, .3); transition: color .3s, border-color .3s; }
.contact__card a:not(.btn):hover { color: var(--brass-2); border-color: var(--brass-2); }
.contact__card .contact__big { font-family: var(--f-display); font-size: 2.3rem; font-weight: 500; line-height: 1.1; border: 0; color: var(--brass-2); font-variant-numeric: lining-nums; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.1rem; }
.hours th { text-align: left; font-weight: 500; color: var(--text-light-2); padding: .32rem 0; }
.hours td { text-align: right; color: var(--text-light); padding: .32rem 0; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brass-2); font-weight: 700; }
.hours tr.is-today th::after { content: "dziś"; margin-left: .6rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 999px; background: rgba(227, 199, 138, .16); vertical-align: middle; }
.contact__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.map { position: relative; min-height: 480px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-dark); background: #1a1712; }
.map__placeholder { position: absolute; inset: 0; transition: opacity .6s; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; left: 51.5%; top: 52%; transform: translate(-50%, -50%); z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; }
.map__pin .logo-mark { width: 52px; height: 52px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .6)); }
.map__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brass); animation: ping 2.6s var(--ease) infinite; }
.map__label { position: absolute; left: calc(51.5% + 40px); top: calc(52% - 30px); z-index: 2; display: flex; flex-direction: column; padding: .55rem 1rem; border-radius: 12px; background: rgba(18, 16, 13, .88); border: 1px solid var(--line-dark); font-size: .82rem; color: var(--text-light-2); line-height: 1.35; }
.map__label strong { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .12em; color: var(--brass-2); font-weight: 600; }
.map__load { position: absolute; left: 1.4rem; bottom: 2.6rem; z-index: 2; }
.map__note { position: absolute; left: 1.45rem; bottom: .9rem; margin: 0; font-size: .72rem; color: #8d8373; z-index: 2; }
.map.is-loaded .map__placeholder { opacity: 0; pointer-events: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: #0c0b09; color: var(--text-light-2); padding: 5.5rem 0 2.2rem; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand p { margin: 1.3rem 0 0; max-width: 22rem; font-size: .95rem; }
.footer__title { font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin: 0 0 1rem; }
.site-footer p { margin: 0; font-size: .95rem; line-height: 1.85; }
.site-footer a { color: var(--text-light); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--brass-2); }
.footer__links { list-style: none; margin: 0; padding: 0; font-size: .95rem; line-height: 1.85; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer__bottom p { font-size: .82rem; }

/* ---------- Pasek szybkiego kontaktu (telefon) ---------- */
.mobile-bar { display: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes balance { from { transform: rotate(-105deg); } to { transform: rotate(105deg); } }
@keyframes pallet { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes breathe { from { transform: rotate(-38deg) scale(.985); } to { transform: rotate(38deg) scale(1.015); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 208, 138, .55); } 70% { box-shadow: 0 0 0 9px rgba(95, 208, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 208, 138, 0); } }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 1.5rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .menu-toggle {
    position: relative; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; margin-left: .2rem;
    border-radius: 50%; border: 1px solid rgba(227, 199, 138, .35); background: rgba(18, 16, 13, .4); color: var(--brass-2); cursor: pointer;
  }
  .menu-toggle span { position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px; background: currentColor; transition: transform .5s var(--ease); }
  .menu-toggle span:first-child { transform: translateY(-3.5px); }
  .menu-toggle span:last-child { transform: translateY(3.5px); }
  .menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: 100px 32px 48px;
    background: radial-gradient(900px 600px at 80% 0%, #2c2419, rgba(44, 36, 25, 0) 60%), var(--ink);
    clip-path: circle(0 at calc(100% - 45px) 34px);
    visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 45px) 34px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .menu-open body { overflow: hidden; }
  .nav__list { flex-direction: column; gap: .4rem; }
  .nav__list a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 500; opacity: 1; display: inline-block; }
  .nav__list li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .menu-open .nav__list li { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(1) { transition-delay: .15s; }
  .menu-open .nav__list li:nth-child(2) { transition-delay: .2s; }
  .menu-open .nav__list li:nth-child(3) { transition-delay: .25s; }
  .menu-open .nav__list li:nth-child(4) { transition-delay: .3s; }
  .menu-open .nav__list li:nth-child(5) { transition-delay: .35s; }
  .menu-open .nav__list li:nth-child(6) { transition-delay: .4s; }
  .nav__mobile-extra { display: block; }
  .nav__address { color: var(--text-light-2); font-size: .95rem; margin: 1.2rem 0 0; }

  .hero { min-height: auto; padding-bottom: 90px; }
  .scroll-cue { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__clock { width: min(78vw, 470px); }
  .hero__gear--b { left: 60%; }
  .about__grid, .antiques__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__figure { order: 2; }
  .faq__grid .section__head { position: static; }
  .faq__gear { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps__line { display: none; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--featured { margin-top: 0; }
  .score { text-align: left; }
  .pocket-wrap { padding-left: 22%; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .brand__sub { display: none; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .header__cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero__kicker { font-size: .7rem; letter-spacing: .2em; }
  .hero__lead { font-size: 1.03rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__gear--a { width: 380px; left: -200px; bottom: -160px; }
  .hero__rosette { width: 800px; margin-top: -400px; right: -420px; }
  .scroll-cue { display: none; }
  .marquee__track { font-size: 1.25rem; }
  .section__head { margin-bottom: 2.8rem; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .card { padding: 2rem 1.6rem; }
  .card--accent::after { position: static; display: inline-block; margin-top: 1.2rem; }
  .stats { gap: .6rem; }
  .stat dt { font-size: .76rem; }
  .steps { grid-template-columns: 1fr; row-gap: 2.4rem; padding-left: 0; }
  .steps__line { display: block; left: 34px; right: auto; top: 34px; bottom: 34px; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.3rem; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step h3 { align-self: end; }
  .score__value { font-size: 4.4rem; }
  .pocket-wrap { padding-left: 20%; }
  .pocket { width: min(100%, 300px); }
  .pocket.is-open .pocket__lid { transform: rotateY(-104deg); }
  .map { min-height: 380px; }
  .map__label { left: auto; right: 1rem; top: 1rem; }
  .contact__card .contact__big { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding-bottom: 7.5rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    padding: 6px; border-radius: 999px; border: 1px solid var(--line-dark);
    background: rgba(18, 16, 13, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7);
    transform: translateY(160%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .menu-open .mobile-bar { transform: translateY(160%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 999px; color: var(--text-light); font-weight: 700; font-size: .95rem; text-decoration: none; }
  .mobile-bar a:first-child { background: linear-gradient(135deg, #efd495, #c9a35b); color: #17130c; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .intro, .js [data-reveal], .js .hero__title .line .intro { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .scroll-progress, .hero__bg, .marquee, .map { display: none !important; }
  body, .section--dark { background: #fff; color: #000; }
}
