/* Hair Concept — style strony. Tokeny, komponenty i układ przeniesione z projektu „strona wizytówka”. */

/* ---------- Fonty (lokalnie, OFL) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }

/* ---------- Tokeny ---------- */
:root {
  --surface: #f8f4ee; --surface-raised: #fffdf9; --surface-sand: #eee6db;
  --line: #ddd4c8; --line-strong: #8f7a68;
  --ink: #2a1f1a; --ink-muted: #6b5c50; --taupe: #9a7f68;
  --accent: #8a5530; --on-accent: #fbf7f1; --link: var(--accent);
  --noir: #1c1917; --on-noir: #f4eee6; --on-noir-muted: #b3a596; --accent-on-noir: #d49c6c; --line-on-noir: #f4eee626;
  --font-display: "Cormorant Garamond", Cormorant, Georgia, serif;
  --font-sans: Jost, "Helvetica Neue", Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-none: 0; --radius-sm: 2px; --radius-arch: 999px;
  --focus-ring: 0 0 0 2px #f8f4ee, 0 0 0 4px #8a5530;
  --container: 1160px; --measure: 620px;
  /* viewport-fit=cover: w poziomie na iPhonie marginesy omijają wycięcie ekranu */
  --page-x: max(clamp(16px, 3vw, 24px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* --header-h: widoczna wysokość przyklejonego nagłówka — kotwice zatrzymują się pod nim */
html { --header-h: 88px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  /* tło „pod stroną” (iOS: pod paskiem Safari i przy przeciągnięciu za koniec) — ciemne jak stopka; bez sprężystego przewijania */
  background: var(--noir); overscroll-behavior-y: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overscroll-behavior-y: none; font-family: var(--font-sans); background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease-out; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
img { max-width: 100%; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 16px; }

/* ---------- Typografia ---------- */
.display-xl, .display, .heading-1, .heading-2, .heading-3, .quote, .wordmark { font-family: var(--font-display); }
.lead, .body, .body-sm, .label, .eyebrow, .price { font-family: var(--font-sans); }
.label, .eyebrow, .wordmark { text-transform: uppercase; }
.display-xl { font-size: 76px; line-height: 80px; font-weight: 300; letter-spacing: -0.01em; }
.display { font-size: 56px; line-height: 62px; font-weight: 300; }
.heading-1 { font-size: 42px; line-height: 48px; font-weight: 400; }
.heading-2 { font-size: 32px; line-height: 38px; font-weight: 400; }
.heading-3 { font-size: 24px; line-height: 30px; font-weight: 500; }
.quote { font-size: 26px; line-height: 38px; font-weight: 400; font-style: italic; }
.wordmark { font-size: 26px; line-height: 30px; font-weight: 500; letter-spacing: 0.16em; }
.lead { font-size: 19px; line-height: 30px; font-weight: 300; }
.body { font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-size: 14px; line-height: 22px; font-weight: 400; }
.label { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.12em; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.22em; }
.price { font-size: 16px; line-height: 26px; font-weight: 400; letter-spacing: 0.01em; font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Sekcja odwrócona (noir) ---------- */
.hc-noir { --surface: var(--noir); --on-accent: var(--noir); --ink: var(--on-noir); --ink-muted: var(--on-noir-muted); --link: var(--accent-on-noir); --accent: var(--accent-on-noir); --line: var(--line-on-noir); --line-strong: var(--on-noir-muted); background: var(--noir); color: var(--on-noir); }
.hc-noir :focus-visible { box-shadow: 0 0 0 2px var(--noir), 0 0 0 4px var(--accent-on-noir); }

/* ---------- Button ---------- */
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-8); border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s ease-out, color .2s ease-out, border-color .2s ease-out, background-size .25s cubic-bezier(.65, 0, .35, 1), transform .1s ease-out; }
/* po najechaniu kolor --btn-fill wypełnia przycisk od lewej */
.hc-btn { background-image: linear-gradient(var(--btn-fill, transparent), var(--btn-fill, transparent)); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; }
.hc-btn:active { transform: scale(.97); }
.hc-btn--sm { min-height: 44px; padding: 0 var(--space-6); }
.hc-btn--primary { --btn-fill: var(--accent); background-color: var(--ink); color: var(--surface); }
.hc-btn--secondary { --btn-fill: var(--ink); background-color: transparent; color: var(--ink); border-color: var(--line-strong); }
/* przycisk tekstowy: podkreślenie jako tło — po najechaniu znika w prawo i rysuje się od lewej */
.hc-btn--text { min-height: 44px; padding: 0; color: var(--ink); border-radius: 0; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat; }
.hc-btn--light { --btn-fill: var(--accent-on-noir); background-color: var(--on-noir); color: var(--noir); }
@media (prefers-reduced-motion: reduce) {
  .hc-btn { transition: color .2s ease-out, border-color .2s ease-out; }
  .hc-btn:active { transform: none; }
}
@keyframes hc-underline {
  0% { background-size: 100% 1px; background-position: right bottom; }
  50% { background-size: 0% 1px; background-position: right bottom; }
  50.01% { background-size: 0% 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}

/* ---------- Wordmark ---------- */
.hc-wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-2); color: var(--ink); line-height: 1; }
.hc-wordmark__name { white-space: nowrap; padding-left: .16em; }
.hc-wordmark--sm .hc-wordmark__name { font-size: 18px; line-height: 22px; }
.hc-wordmark--lg .hc-wordmark__name { font-size: 44px; line-height: 48px; font-weight: 400; }
.hc-wordmark__tag { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 22px; letter-spacing: .01em; color: var(--ink-muted); }
.hc-wordmark--lg .hc-wordmark__tag { font-size: 22px; line-height: 28px; }
/* logo: biały PNG z przezroczystością; na jasnym tle przyciemniany filtrem */
.hc-logo { display: block; height: auto; }
.site-header .hc-logo { filter: brightness(0) opacity(.85); }
.hc-logo--wordmark { height: 20px; width: auto; }
.hc-logo--full { width: min(300px, 80vw); }
@media (max-width: 640px) { .hc-logo--wordmark { height: 16px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); padding: 0 var(--page-x); background: var(--surface); }
.hc-header { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4) var(--space-8); padding: var(--space-4) 0; }
.hc-header__brand { text-decoration: none; }
.hc-header__nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); margin-left: auto; }
.hc-header__link { position: relative; color: var(--ink); text-decoration: none; padding: var(--space-2) 0; border-bottom: 1px solid transparent; }
/* podkreślenie rośnie od środka */
.hc-header__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s ease-out; }
.hc-header__link[aria-current="true"] { color: var(--ink); }
.hc-header__link[aria-current="true"]::after { transform: scaleX(1); }
.hc-header__brand { display: inline-flex; align-items: center; min-height: 44px; }
.hc-header__call { display: none; }
/* chowanie przy przewijaniu w dół (klasę nadaje skrypt, tylko ≤860px) */
.site-header { transition: transform .3s cubic-bezier(.2, .6, .2, 1); }
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media (max-width: 860px) {
  /* jeden wiersz: logo + telefon */
  .hc-header { gap: 0 var(--space-4); padding: 6px 0; }
  .hc-header__cta { display: none; }
  .hc-header__call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border-radius: var(--radius-arch); background: var(--ink); color: var(--surface); }
  .hc-header__nav { display: none; } /* na telefonie bez nawigacji po sekcjach — zostaje logo i telefon */
}

/* ---------- SectionHeading ---------- */
.hc-heading { max-width: var(--measure); }
.hc-eyebrow { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); color: var(--ink-muted); }
.hc-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); flex: none; }
.hc-heading__title { margin: 0; color: var(--ink); text-wrap: balance; }
.hc-heading__lead { margin: var(--space-4) 0 0; color: var(--ink-muted); text-wrap: pretty; }

/* ---------- Quote ---------- */
.hc-quote { margin: 0 auto; max-width: var(--measure); text-align: center; }
.hc-quote--left { margin: 0; text-align: left; }
.hc-quote__text { margin: 0; color: var(--ink); text-wrap: balance; }
.hc-quote__cite { margin-top: var(--space-6); color: var(--ink-muted); }

/* ---------- Obraz (łuk / prostokąt) ---------- */
.hc-image { margin: 0; }
.hc-image__frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-sand); border-radius: var(--radius-none); }
.hc-image--arch .hc-image__frame { border-radius: var(--radius-arch) var(--radius-arch) 0 0; }
.hc-image__frame picture { display: contents; } /* <picture> nie przerywa wysokości 100% obrazu */
.hc-image__frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.hc-image__initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 300; font-size: 96px; color: var(--taupe); }
.hc-image__caption { margin-top: var(--space-3); color: var(--ink-muted); }
/* sekcje z jasnym tłem piaskowym potrzebują ciemniejszej ramki dla zastępczego obrazu */
.section--sand .hc-image__frame { background: #e4d9cb; }

/* ---------- Cennik ---------- */
.hc-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--space-12); }
.hc-prices__cat { min-width: 0; }
/* nagłówek kategorii = <summary>: nazwa, „od … zł” (tylko gdy zwinięte) i strzałka */
.hc-prices__title { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; margin: 0 0 var(--space-2); color: var(--ink); cursor: pointer; list-style: none; }
.hc-prices__title::-webkit-details-marker { display: none; }
.hc-prices__title h3 { margin: 0; flex: 1; }
.hc-prices__from { color: var(--ink-muted); white-space: nowrap; }
.hc-prices__cat[open] .hc-prices__from { display: none; }
.hc-prices__title::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 4px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: rotate(45deg); transition: transform .25s ease-out; }
.hc-prices__cat[open] > .hc-prices__title::after { margin-bottom: -4px; transform: rotate(-135deg); }
.hc-prices__cat:not([open]) > .hc-prices__title { margin-bottom: 0; padding-bottom: var(--space-2); border-bottom: 1px solid var(--line-strong); }
.hc-prices__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.hc-prices__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.hc-prices__service { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.hc-prices__name { color: var(--ink); }
.hc-prices__time { color: var(--ink-muted); }
.hc-prices__price { color: var(--ink); white-space: nowrap; text-align: right; }

/* ---------- Zespół ---------- */
.hc-team { display: grid; gap: var(--space-8); align-items: center; color: var(--ink); grid-template-columns: minmax(160px, 280px) minmax(0, var(--measure)); }
.hc-team__name { margin: 0; }
.hc-team__bio { margin: var(--space-4) 0 0; color: var(--ink); text-wrap: pretty; }
.hc-team__bio + .hc-team__bio { margin-top: var(--space-3); }
.hc-team__photo { width: 100%; }
@media (max-width: 640px) {
  .hc-team { grid-template-columns: minmax(0, 1fr); }
  .hc-team__photo { max-width: 280px; }
}

/* ---------- „Czytaj więcej” (<details>, otwarte w HTML; na telefonie zwija skrypt) ---------- */
.hc-more > summary { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; margin-top: var(--space-2); color: var(--ink); cursor: pointer; list-style: none; }
.hc-more > summary::-webkit-details-marker { display: none; }
.hc-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: translateY(-2px) rotate(45deg); transition: transform .25s ease-out; }
.hc-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.hc-more__open, .hc-more[open] .hc-more__closed { display: none; }
.hc-more[open] .hc-more__open { display: inline; }
/* na większych ekranach tekst jest zawsze rozwinięty — przełącznik zbędny */
@media (min-width: 641px) { .hc-more > summary { display: none; } }

/* ---------- Marki ---------- */
.hc-brands__title { margin: 0 0 var(--space-6); color: var(--ink-muted); }
.hc-brands__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-12) var(--space-8); color: var(--ink-muted); }
.hc-brands__item { display: flex; align-items: center; justify-content: center; min-height: 64px; text-align: center; font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 400; }
/* --logo-h ustawiane per logo w HTML — wyrównanie optyczne (szerokie/grube znaki niżej) */
.hc-brands__logo { display: block; height: var(--logo-h, 44px); width: auto; max-width: 100%; }
@media (max-width: 639px) {
  .hc-brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
  .hc-brands__item { min-height: 48px; font-size: 24px; line-height: 30px; }
  .hc-brands__logo { height: calc(var(--logo-h, 44px) * .7); }
}

/* ---------- Kontakt ---------- */
.hc-contact { padding: var(--space-12) var(--space-8); background: var(--surface-raised); color: var(--ink); }
.hc-contact.hc-noir { background: var(--noir); }
.hc-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-8) var(--space-12); margin: 0 0 var(--space-8); }
.hc-contact__item { margin: 0; }
.hc-contact__label { margin: 0 0 var(--space-2); color: var(--ink-muted); }
.hc-contact__value { margin: 0; color: var(--ink); }
.hc-contact__value a { color: inherit; text-decoration-color: var(--accent); }
/* linki w tekście: większy obszar dotyku (≥44px) bez zmiany rytmu wierszy */
.hc-contact__value a, .pricing__aside .muted a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.hc-contact__hours { display: flex; flex-direction: column; }
.hc-contact__hour { display: flex; justify-content: space-between; gap: var(--space-4); max-width: 260px; }
.hc-contact__time { font-variant-numeric: tabular-nums; }

/* ---------- Układ strony ---------- */
.section { padding: clamp(64px, 8vw, 96px) var(--page-x); }
.section--sand { background: var(--surface-sand); }
.container { max-width: var(--container); margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.muted { margin: 0; color: var(--ink-muted); }

.hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero__inner { align-items: center; gap: clamp(48px, 7vw, 96px); }
.hero__text { flex: 1 1 460px; min-width: 0; gap: 40px; }
.hero__meta { gap: 8px 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: var(--measure); }
.hero__media { flex: 0 1 440px; min-width: 0; margin: 0 auto; width: 100%; }
.hero__image .hc-image__frame { aspect-ratio: 3 / 4; }
.hero__image img { object-position: center 30%; }
/* telefon: zdjęcie jako przyciemnione tło całego pierwszego ekranu, tekst jasny na dole */
@media (max-width: 640px) {
  .hero { --surface: var(--noir); --on-accent: var(--noir); --ink: var(--on-noir); --ink-muted: var(--on-noir-muted); --line: var(--line-on-noir); --line-strong: var(--on-noir-muted); --accent: var(--accent-on-noir);
    position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: calc(100svh - var(--header-h)); padding-top: var(--space-24); background: var(--noir); color: var(--on-noir); }
  .hero :focus-visible { box-shadow: 0 0 0 2px var(--noir), 0 0 0 4px var(--accent-on-noir); }
  .hero__inner { width: 100%; }
  .hero__text { gap: 28px; }
  .hero__media { position: absolute; inset: 0; z-index: -1; margin: 0; }
  .hero__image, .hero__image .hc-image__frame { height: 100%; }
  .hero__image .hc-image__frame { aspect-ratio: auto; border-radius: 0; background: var(--noir); }
  .hero__image img { object-position: center 35%; }
  /* przyciemnienie: równe na całym zdjęciu, mocniejsze na dole pod tekstem */
  .hero__image .hc-image__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgb(28 25 23 / .5) 0%, rgb(28 25 23 / .62) 40%, rgb(28 25 23 / .85) 100%); }
  .hero .hc-heading__lead { color: rgb(244 238 230 / .88); font-weight: 400; }
}

.about { padding-bottom: clamp(64px, 9vw, 128px); }
.about__inner { gap: clamp(64px, 9vw, 128px); }
.about__row { align-items: center; gap: clamp(40px, 7vw, 96px); }
.about__media { flex: 0 1 420px; min-width: 0; width: 100%; }
.about__text { flex: 1 1 460px; min-width: 0; gap: 32px; }
.about__body { gap: 16px; max-width: var(--measure); }
.about__body p { margin: 0; }

.team__inner { gap: 64px; }
.team__lead { gap: 48px; }
.team__quote-row { gap: 0 32px; }
.team__quote-row::before { content: ""; flex: 0 1 280px; }
.team__quote { flex: 1 1 400px; min-width: 0; }
.team__next { border-top: 1px solid var(--line); padding-top: 64px; }

.gallery__inner { gap: 64px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(150px, calc((100% - 48px) / 3)), 1fr)); gap: 40px 24px; }
/* telefon: jeden rząd przewijany palcem, z przyciąganiem do zdjęć; brzeg następnego zdjęcia widać po prawej */
@media (max-width: 640px) {
  .gallery { overflow-x: clip; }
  .gallery__inner { gap: 40px; }
  .gallery__grid { display: flex; gap: var(--space-4); margin-inline: calc(-1 * var(--page-x)); padding-inline: var(--page-x); overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scroll-padding-inline: var(--page-x); overscroll-behavior-x: contain; scrollbar-width: none; }
  .gallery__grid::-webkit-scrollbar { display: none; }
  .gallery__grid > .hc-image { flex: 0 0 78%; scroll-snap-align: start; }
}

.pricing__inner { align-items: flex-start; gap: 48px clamp(48px, 6vw, 96px); }
.pricing__aside { flex: 0 1 300px; min-width: 0; gap: 32px; }
.pricing__list { flex: 1 1 560px; min-width: 0; }

.brands { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }

.site-footer { padding: clamp(64px, 8vw, 96px) var(--page-x) calc(48px + env(safe-area-inset-bottom)); }
.footer__inner { align-items: flex-start; gap: 48px clamp(48px, 6vw, 96px); }
.footer__intro { flex: 1 1 340px; min-width: 0; gap: 32px; }
.footer__card { flex: 1.4 1 520px; min-width: 0; }
.footer__bottom { margin-top: clamp(64px, 8vw, 96px); padding-top: 48px; border-top: 1px solid var(--line-on-noir); align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer__bottom p { margin: 0; color: var(--on-noir-muted); }

@media (max-width: 640px) {
  .display-xl, .display { font-size: 42px; line-height: 48px; font-weight: 400; letter-spacing: 0; }
  .heading-1 { font-size: 32px; line-height: 38px; }
  .quote { font-size: 22px; line-height: 32px; }
  .body-sm { font-size: 15px; line-height: 24px; }
  .hc-brands__item { font-size: 24px; line-height: 32px; }
  .hc-brands__list { row-gap: 12px; }
  .hc-contact { padding: var(--space-8) var(--space-6); }
  .hc-wordmark--lg .hc-wordmark__name { font-size: 32px; line-height: 36px; }
  .hc-wordmark--lg .hc-wordmark__tag { font-size: 19px; line-height: 24px; }
  .pricing__list, .footer__card, .hero__text, .about__text { flex-basis: 100%; }
}

/* ---------- Pasek „Zadzwoń · Dojazd” (tylko telefon) ---------- */
.hc-callbar { display: none; }
.hc-callbar[hidden] { display: none !important; }
@media (max-width: 640px) {
  .hc-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: var(--space-2); padding: var(--space-2) var(--page-x) max(var(--space-2), env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .6, .2, 1), visibility 0s; }
  .hc-callbar.is-off { transform: translateY(110%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .6, .2, 1), visibility 0s .3s; }
  .hc-callbar a { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; border-radius: var(--radius-sm); text-decoration: none; }
  .hc-callbar__call { flex: 1; min-width: 0; background: var(--ink); color: var(--surface); }
  .hc-callbar__map { flex: none; padding: 0 var(--space-4); border: 1px solid var(--line-strong); color: var(--ink); }
  /* bez JS pasek jest widoczny zawsze — wtedy rezerwujemy pod nim miejsce na końcu strony; ze skryptem pasek chowa się przy kontakcie */
  html:not(.has-callbar-js) .site-footer { padding-bottom: calc(48px + 64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 379px) { .hc-callbar__num { display: none; } }
@media (prefers-reduced-motion: reduce) { .hc-callbar, .hc-callbar.is-off { transition: none; } }

/* ---------- Animacje ---------- */
/* Atrybut data-reveal nadaje skrypt (tylko gdy użytkownik nie ogranicza ruchu) — bez JS treść jest widoczna od razu. */
.hc-brands__item { transition: color .3s ease-out; }
@media (prefers-reduced-motion: no-preference) {
  /* przejście tylko przy pojawianiu się — ukrycie (nadanie data-reveal) jest natychmiastowe, bez mignięcia */
  [data-reveal] { opacity: 0; transform: translateY(20px); }
  [data-reveal="fade"] { transform: none; }
  [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .6, .2, 1) var(--reveal-delay, 0ms), transform .8s cubic-bezier(.2, .6, .2, 1) var(--reveal-delay, 0ms); }
  /* tytuł pierwszego ekranu: każde słowo wysuwa się spod maski (padding robi miejsce na ogonki i akcenty) */
  [data-reveal="words"] { opacity: 1; transform: none; }
  .hc-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .18em; margin: -.1em 0 -.18em; }
  .hc-word > span { display: inline-block; transform: translateY(120%); }
  [data-reveal="words"].is-visible .hc-word > span { transform: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1) calc(50ms + var(--i) * 50ms); }
  /* linia przed nadtytułem rysuje się od lewej */
  .hc-eyebrow[data-reveal]::before { transform: scaleX(0); transform-origin: left; }
  .hc-eyebrow[data-reveal].is-visible::before { transform: none; transition: transform .9s cubic-bezier(.2, .6, .2, 1) calc(var(--reveal-delay, 0ms) + 150ms); }
}

/* ---------- Hover — tylko mysz (na ekranach dotykowych efekty „zostawały” po tapnięciu) ---------- */
/* realizacje: przyciemnienie od dołu (warstwa zawsze w DOM, widoczna tylko po najechaniu) */
.gallery__grid .hc-image__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(28 25 23 / .45), transparent 55%); opacity: 0; transition: opacity .6s ease-out; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--ink); }
  .hc-btn:hover { background-size: 100% 100%; }
  .hc-btn--primary:hover { color: var(--on-accent); }
  .hc-btn--secondary:hover { border-color: var(--ink); color: var(--surface); }
  .hc-btn--text:hover { color: var(--accent); background-size: 100% 1px; }
  .hc-btn--light:hover { color: var(--noir); }
  .hc-header__link:hover { color: var(--ink); }
  .hc-header__link:hover::after { transform: scaleX(1); }
  .hc-contact__value a:hover { color: var(--accent); }
  .hc-header__call:hover, .hc-callbar__call:hover { color: var(--surface); }
  .hc-brands__item:hover { color: var(--ink); }
  .gallery__grid .hc-image:hover .hc-image__frame::after { opacity: 1; }
  .gallery__grid .hc-image:hover .hc-image__caption { color: var(--ink); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hc-btn--text:hover { animation: hc-underline .4s cubic-bezier(.65, 0, .35, 1); }
  /* realizacje: przybliżenie zdjęcia i przesunięcie podpisu po najechaniu */
  .gallery__grid .hc-image__frame img { transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
  .gallery__grid .hc-image:hover .hc-image__frame img { transform: scale(1.07); }
  .gallery__grid .hc-image__caption { transition: color .4s ease-out, transform .4s cubic-bezier(.2, .6, .2, 1); }
  .gallery__grid .hc-image:hover .hc-image__caption { transform: translateX(6px); }
}
