/* Czcionki na własnym serwerze (bez Google Fonts). Licencje: fonts/OFL-Syne.txt, fonts/LICENSE-Inter.txt */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/syne-semibold.woff") format("woff"); }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/syne-bold.woff") format("woff"); }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/syne-extrabold.woff") format("woff"); }

/* The Hills Production – style strony */
:root {
  /* Styl: Czerń i biel z czerwonymi akcentami REC */
  --bg: #0B0B0B;
  --bg-rgb: 11, 11, 11;
  --bg-2: #131313;
  --bg-2-rgb: 19, 19, 19;
  --bg-3: #191919;
  --line: #252525;
  --line-2: #373737;
  --line-3: #565656;
  --text: #F2F2F2;
  --text-2: #CDCDCD;
  --muted: #A0A0A0;
  --faint: #8C8C8C;
  --accent: #F2F2F2;
  --accent-hover: #FFFFFF;
  --on-accent: #0B0B0B;
  --rec: #EF4B4E;
  --radius: 16px;
  --display: "Syne", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }

.section { padding: 112px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding: 72px 0; } }

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 { font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.2; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.6vw, 21px); max-width: 620px; margin: 0; }
.muted { color: var(--muted); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head p { margin: 0; max-width: 440px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--line-3);
  font-family: var(--body); font-weight: 600; font-size: 15px;
  color: var(--text); background: transparent; cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--lg { min-height: 54px; padding: 16px 28px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nawigacja */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(var(--bg-rgb), .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { --mark: 30px; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: .06em; }
.logo-text { white-space: nowrap; }
.lt-main { font-weight: 800; }
.logo-text span { font-weight: 600; color: var(--muted); }
@media (max-width: 420px) { .logo { --mark: 24px; font-size: 15px; gap: 9px; } }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links .btn { min-height: 44px; padding: 10px 18px; }
.nav-toggle { display: none; }
@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 10px 0; }
  .nav-links.is-open { display: flex; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; background: var(--bg-3) center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(var(--bg-rgb), .6); }
.hero-inner { position: relative; padding-top: 128px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.01em; max-width: 820px; }
@media (max-width: 600px) { .hero-inner { padding-top: 96px; padding-bottom: 80px; } }

/* Usługi */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card svg { color: var(--accent); }

/* Premiera */
.premiere { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.premiere-media { flex: 999 1 min(560px, 100%); min-width: 0; }
.premiere-text { flex: 1 1 min(340px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.premiere-text p { margin: 0; color: var(--text-2); }

/* Wideo (lekki odtwarzacz YouTube) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(var(--bg-rgb), .25); border: 0; cursor: pointer; width: 100%; }
.video-play span { width: 76px; height: 76px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.video-play:hover span { transform: scale(1.06); }
.video-empty { display: flex; align-items: center; justify-content: center; height: 100%; border: 1px dashed var(--line-3); border-radius: var(--radius); color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 24px; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 16px; }
.video-meta small { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.video-meta h3 { margin-top: 2px; font-size: 21px; }

.spotify { margin-top: 48px; }
.spotify iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* Wydarzenia */
.events { border-top: 1px solid var(--line-2); }
.event { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.event-date { flex: 0 0 120px; display: flex; flex-direction: column; }
.event-date b { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--accent); }
.event-date span { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.event-body { flex: 999 1 320px; min-width: 0; }
.event-body p { margin: 6px 0 0; color: var(--muted); }
.empty { padding: 28px 0; color: var(--muted); }

/* Instagram */
.ig-fallback { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ig-fallback div { aspect-ratio: 1; background: var(--bg-3); border: 1px dashed var(--line-3); border-radius: 10px; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-info { flex: 1 1 min(380px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-info h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.contact-links { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; }
.contact-links svg { color: var(--accent); flex: none; }
.form { flex: 1 1 min(420px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
@media (max-width: 600px) { .form { padding: 24px; } }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.form-row > * { flex: 1 1 180px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font: inherit; font-size: 16px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--text-2); text-decoration: underline; }
.form-status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #9BD3A0; }
.form-status.err { color: #F0A08A; }
.hp { position: absolute; left: -9999px; }

/* Stopka */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* Podstrony tekstowe */
.prose { max-width: 760px; padding: 96px 0; }
.prose h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 28px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Przełącznik języka */
.lang-switch { display: flex; align-items: center; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0 8px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="page"] { color: var(--accent); }
.nav-sub { display: flex; align-items: center; gap: 16px; }
@media (max-width: 1260px) {
  .nav-links .lang-switch { padding-left: 0; border-left: 0; margin: 8px 0; }
  .nav-links .lang-switch a { padding: 0 10px; border: 1px solid var(--line-2); margin-right: 6px; }
}
@media (max-width: 600px) { .nav-sub .btn { display: none; } }

/* Automatyczne sekcje YouTube / Instagram */
.yt-auto { margin-top: 72px; }
.subhead { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--body); margin: 0 0 24px; }
.video-date { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.ig-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .2s; }
.ig-grid a:hover img { transform: scale(1.04); opacity: .85; }
.ig-grid .ig-video { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 999px; background: rgba(var(--bg-rgb), .7); color: #fff; display: flex; align-items: center; justify-content: center; }

/* O mnie */
.section--line { border-top: 1px solid var(--line); }
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo { flex: 1 1 min(300px, 100%); max-width: 460px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-ph { height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 96px; color: var(--line-2); letter-spacing: .04em; }
.about-text { flex: 2 1 min(420px, 100%); min-width: 0; }
.about-role { margin: 10px 0 24px; color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.about-body p { margin: 0 0 16px; color: var(--text-2); font-size: 17px; max-width: 640px; text-align: justify; text-align-last: left; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 600px) { .about { gap: 32px; } .about-photo { max-width: none; } }

/* Znak w logo: kropka nagrywania delikatnie pulsuje */
.logo-mark { flex: none; color: var(--text); width: var(--mark); height: var(--mark); transform: translateY(-1.75px); }
@media (max-width: 420px) { .logo .logo-mark { transform: translateY(.5px); } }
.rec-dot { fill: var(--rec); animation: rec 2.4s ease-in-out infinite; transform-origin: 24px 24px; }
@keyframes rec { 0%, 55%, 100% { opacity: 1; } 75% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { fill: var(--rec); animation: none; } }

/* Pojawianie się treści przy przewijaniu (wyłączone przy ograniczeniu animacji) */
@media (prefers-reduced-motion: no-preference) {
  .js :is(.hero-inner > *, .section-head > *, .cards > .card, .about-photo, .about-text > *, .premiere-media, .premiere-text > *, #videos > article, .yt-auto .subhead, #yt-videos > article, .spotify, .events > .event, .events > .empty, .ig-grid > a, .gallery > .g-item, .contact-info > *, .form, .prose > *) {
    opacity: 0; transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--rv-d, 0ms);
  }
  .js :is(.hero-inner > *, .section-head > *, .cards > .card, .about-photo, .about-text > *, .premiere-media, .premiere-text > *, #videos > article, .yt-auto .subhead, #yt-videos > article, .spotify, .events > .event, .events > .empty, .ig-grid > a, .gallery > .g-item, .contact-info > *, .form, .prose > *).in, .rv-done :is(.hero-inner > *, .section-head > *, .cards > .card, .about-photo, .about-text > *, .premiere-media, .premiere-text > *, #videos > article, .yt-auto .subhead, #yt-videos > article, .spotify, .events > .event, .events > .empty, .ig-grid > a, .gallery > .g-item, .contact-info > *, .form, .prose > *) { opacity: 1; transform: none; }
}
.nav-links a { white-space: nowrap; }
@media (min-width: 1261px) { .nav-links { gap: 20px; } .lang-switch { padding-left: 6px; } .nav { gap: 16px; } }
@media (max-width: 400px) { .nav:has(.nav-sub) .logo-text span { display: none; } .nav-sub .lang-switch a { min-width: 34px; padding: 0 5px; } }
@media (max-width: 350px) { .logo { --mark: 21px; font-size: 13px; gap: 8px; } }

@media (max-width: 350px) { .container { padding: 0 16px; } .form-row > * { flex-basis: 100%; } }
.prose h1, .prose h2, .prose p { overflow-wrap: break-word; hyphens: auto; }

/* Galeria zdjęć */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.g-filter { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--text-2); font: 600 14px/1 var(--body); cursor: pointer; }
.g-filter:hover { color: var(--text); border-color: var(--text-2); }
.g-filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--bg-3); -webkit-appearance: none; appearance: none; }
.g-item:nth-child(6n+1) { grid-row: span 2; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.g-item:hover img { transform: scale(1.03); opacity: .9; }
@media (max-width: 600px) { .gallery { grid-auto-rows: 180px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(var(--bg-rgb), .95); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); object-fit: contain; border-radius: 8px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-3); background: rgba(var(--bg-rgb), .7); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox img { max-width: 100vw; max-height: calc(100vh - 160px); border-radius: 0; } .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; } }

/* Czerwone akcenty REC na czarno-białej stronie */
a:hover { color: var(--rec); }
.btn:hover, .btn--primary:hover { color: inherit; }
.btn:hover { border-color: var(--text); color: var(--text); }
.btn--primary:hover { color: var(--on-accent); }
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--rec); margin-right: 10px; vertical-align: middle; position: relative; top: -1px; }
.card svg, .contact-links svg { color: var(--rec); }
.lang-switch a[aria-current="page"] { color: var(--rec); }
.video-play span { background: var(--rec); color: #0B0B0B; }
.event-date span { color: var(--muted); }
.g-filter.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Bez pojedynczych słów w ostatniej linii akapitów i nagłówków */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Ekran startowy z logo (raz na wizytę) */
.intro { display: none; }
.js.intro-on .intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: opacity .7s ease, visibility .7s; animation: intro-safety .7s ease 6s forwards; }
.js.intro-on body { overflow: hidden; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-logo { display: block; width: min(320px, 64vw); height: auto; animation: intro-in 1s cubic-bezier(.2,.7,.2,1) both; }
.intro.done .intro-logo { transform: scale(1.04); transition: transform .7s ease; }
.intro-bar { width: min(320px, 64vw); height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; animation: intro-in 1s .15s cubic-bezier(.2,.7,.2,1) both; }
.intro-bar span { display: block; height: 100%; width: 0; background: var(--rec); transition: width .35s ease; }
@keyframes intro-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro-logo, .intro-bar { animation: none; } }

/* Karty usług z przykładami zdjęć: cała karta klikalna, wyraźny efekt po najechaniu */
.card.has-ex { position: relative; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .3s, translate .3s cubic-bezier(.2,.7,.2,1); }
.js .cards > .card.has-ex.in.rv-end { transition: border-color .25s, background .25s, box-shadow .3s, translate .3s cubic-bezier(.2,.7,.2,1) !important; transition-delay: 0s !important; }
.card.has-ex:hover, .card.has-ex:has(.card-more:focus-visible) { border-color: rgba(239, 75, 78, .7); background: var(--bg-3); box-shadow: 0 18px 40px -18px rgba(239, 75, 78, .45); translate: 0 -4px; }
.card.has-ex svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.card.has-ex:hover svg, .card.has-ex:has(.card-more:focus-visible) svg { transform: scale(1.12); }
.card-more { margin-top: auto; align-self: flex-start; padding: 6px 0 0; border: 0; background: none; color: var(--muted); font: 600 14px/1.4 var(--body); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.card-more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-more:focus-visible { outline: none; }
.card.has-ex:has(.card-more:focus-visible) { outline: 2px solid var(--rec); outline-offset: 3px; }
.card-more span { color: var(--rec); transition: transform .25s; }
.card.has-ex:hover .card-more, .card.has-ex:has(.card-more:focus-visible) .card-more { color: var(--text); }
.card.has-ex:hover .card-more span { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .card.has-ex:hover, .card.has-ex:has(.card-more:focus-visible) { translate: none; } .card.has-ex:hover svg { transform: none; } }
.lb-btn[hidden] { display: none; }

/* Logo w tle: jedno, stale na środku ekranu, nieruchome podczas przewijania */
html { background: var(--bg); }
body { background: transparent; }
main { position: relative; isolation: isolate; }
.wm {
  position: fixed; left: 50%; top: 50%; z-index: -1; pointer-events: none;
  width: min(900px, 78vw); aspect-ratio: 800 / 539; transform: translate(-50%, -50%);
  background: url("../images/logo-intro.webp") center / contain no-repeat; opacity: .05;
}
@media (max-width: 700px) { .wm { width: 86vw; } }
.section--alt { background: rgba(var(--bg-2-rgb), .82); }

/* Wybór języka: rozwijana lista */
.lang-dd { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 600 14px/1 var(--body); letter-spacing: .04em; cursor: pointer; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--line-3); }
.lang-btn svg:first-child { color: var(--muted); }
.lang-chev { transition: transform .2s; color: var(--muted); }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.lang-menu a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: var(--text-2); font-size: 15px; font-weight: 500; }
.lang-menu a:hover { background: var(--bg-3); color: var(--text); }
.lang-menu a[aria-current="page"] { color: var(--text); }
.lang-menu a[aria-current="page"]::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 999px; background: var(--rec); }
.lang-code { width: 24px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang-menu[hidden] { display: none; }
@media (max-width: 1260px) {
  .nav-links .lang-dd { margin: 8px 0; }
  .nav-links .lang-menu { position: static; margin-top: 8px; box-shadow: none; }
}

/* ochrona zdjęć */
img, video { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lb-wrap { position: relative; display: inline-flex; max-width: 100%; }
.lb-wrap::after { content: "© The Hills Production"; position: absolute; right: 14px; bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); text-shadow: 0 1px 4px rgba(0,0,0,.7); pointer-events: none; }
@media (max-width: 600px) { .lb-wrap::after { right: 10px; bottom: 10px; font-size: 10px; } }

/* ================= Dopracowanie wizualne (wersja 2) ================= */

/* Wizjer kamery na pierwszym ekranie – narożniki kadru i licznik nagrywania */
.vf { position: absolute; inset: 22px; pointer-events: none; z-index: 1; }
.vf i { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255,255,255,.55); }
.vf-tl { top: 0; left: 0; border-top-width: 2px !important; border-left-width: 2px !important; }
.vf-tr { top: 0; right: 0; border-top-width: 2px !important; border-right-width: 2px !important; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 2px !important; border-left-width: 2px !important; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 2px !important; border-right-width: 2px !important; }
.vf-rec { position: absolute; top: 10px; right: 52px; display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .08em; color: rgba(255,255,255,.82); font-variant-numeric: tabular-nums; }
.vf-rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: rec 2.4s ease-in-out infinite; }
.vf-tc { letter-spacing: .04em; color: rgba(255,255,255,.6); }
.hero-inner { z-index: 2; }
@media (max-width: 600px) {
  .vf { inset: 12px; }
  .vf i { width: 22px; height: 22px; }
  .vf-rec { top: 6px; right: 32px; font-size: 11px; gap: 6px; }
  .vf-rec b { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) { .vf-rec b { animation: none; } }

/* Nagłówki sekcji: spokojniejsze, bez wersalików */
.eyebrow { text-transform: none; letter-spacing: .01em; font-size: 15px; color: var(--muted); margin-bottom: 12px; }

/* Rytm sekcji */
.section { padding: 104px 0; }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-head { margin-bottom: 28px; } }

/* Usługi: przejrzysta lista zamiast ośmiu jednakowych kafelków */
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.card { background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 26px 8px 26px 0;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px; align-items: start; }
.cards > .card:nth-child(-n+2) { border-top: 1px solid var(--line-2); }
.card svg { grid-column: 1; grid-row: 1 / span 2; width: 28px; height: 28px; margin-top: 2px; }
.card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 21px; line-height: 1.25; }
.card p { grid-column: 2; grid-row: 2; font-size: 15px; line-height: 1.55; max-width: 46ch; }
.card .card-more { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; white-space: nowrap; }
.card.has-ex:hover, .card.has-ex:has(.card-more:focus-visible) { background: linear-gradient(90deg, rgba(239,75,78,.08), transparent 70%); border-color: var(--line-2); box-shadow: none; translate: none; }
.card.has-ex:hover h3 { color: #fff; }
.card.has-ex:hover svg, .card.has-ex:has(.card-more:focus-visible) svg { transform: none; }
.card-more::after { border-radius: 0; }
@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards > .card:nth-child(2) { border-top: 0; }
}
@media (max-width: 600px) {
  .card { grid-template-columns: 26px minmax(0, 1fr) 18px; column-gap: 14px; row-gap: 4px; padding: 18px 0; }
  .card svg { width: 22px; height: 22px; margin-top: 1px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14px; }
  .card .card-more { font-size: 0; gap: 0; }
  .card .card-more span { font-size: 18px; }
}

/* O mnie: na wąskich ekranach bez justowania (unika dużych odstępów między słowami) */
@media (max-width: 600px) { .about-body p { text-align: left; font-size: 16px; } .about-photo { aspect-ratio: 4 / 4.4; } }

/* Filtry galerii na telefonie w jednym przewijanym rzędzie */
@media (max-width: 600px) {
  .g-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .g-filters::-webkit-scrollbar { display: none; }
  .g-filter { flex: none; }
}

/* Puste miejsca na filmy: narożniki kadru zamiast przerywanej ramki */
.video-empty { border: 0; background-color: var(--bg-2); text-transform: none; letter-spacing: .01em; font-size: 14px;
  --c: rgba(255,255,255,.28);
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-repeat: no-repeat;
  background-size: 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px, 22px 2px, 2px 22px;
  background-position: 14px 14px, 14px 14px, calc(100% - 14px) 14px, calc(100% - 14px) 14px,
    14px calc(100% - 14px), 14px calc(100% - 14px), calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) calc(100% - 14px); }
.hero .eyebrow { color: var(--text-2); }
.wm { opacity: .035; }
.hero .eyebrow { display: none; }
