/*
Theme Name: 7ART Modern
Theme URI: https://7art.pl
Author: 7ART
Description: Nowoczesny motyw wizytówkowy dla agencji reklamowej i drukarni. Czerwono-biało-czarny, jednostronicowy, z formularzem zapytania o wycenę.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sevenart
*/

/* ---------- Tokeny ---------- */
:root {
  --red: #e10600;
  --red-dark: #b50500;
  --red-soft: #fff0ef;
  --black: #0b0b0c;
  --ink: #17171a;
  --grey: #5d5d66;
  --line: #e7e7ea;
  --paper: #ffffff;
  --off: #f6f6f7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 11, 12, .35);
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.02em; color: var(--black); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey); max-width: 60ch; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 16px; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -10px rgba(225, 6, 0, .7); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--black); color: var(--black); background: transparent; }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--white { background: #fff; color: var(--black); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Pasek górny + nagłówek ---------- */
.topbar { background: var(--black); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a { opacity: .9; transition: opacity .2s; }
.topbar a:hover { opacity: 1; color: #ff5a54; }
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__group span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--red); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(0, 0, 0, .5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 26px; letter-spacing: -.04em; color: var(--black); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 20px; transform: rotate(-6deg);
}
.brand__dot { color: var(--red); }
.custom-logo { height: 48px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a { display: block; padding: 10px 16px; font-weight: 700; font-size: 15px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--red-soft); color: var(--red); }
.main-nav .btn { padding: 12px 22px; margin-left: 8px; color: #fff; }
.main-nav .btn:hover { background: var(--red-dark); color: #fff; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--black); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transform: translateX(-50%); transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; transform: none; }
.nav-toggle span::after { top: 7px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 26px 26px; opacity: .75;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 78px); font-weight: 900; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: var(--black); border-radius: 4px; transform: skewX(-12deg);
}
.hero .lead { margin: 26px 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__proof { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.hero__proof svg { width: 22px; height: 22px; color: var(--red); flex: none; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero__blob { position: absolute; inset: 6% 2% 2% 8%; background: var(--red); border-radius: 36% 64% 58% 42% / 42% 40% 60% 58%; animation: morph 14s ease-in-out infinite; }
@keyframes morph {
  0%, 100% { border-radius: 36% 64% 58% 42% / 42% 40% 60% 58%; }
  50% { border-radius: 58% 42% 40% 60% / 56% 58% 42% 44%; }
}
.tile {
  position: absolute; background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 16px;
  animation: float 6s ease-in-out infinite;
}
.tile svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.tile small { display: block; font-weight: 600; font-size: 12.5px; color: var(--grey); margin-top: 2px; }
.tile--1 { top: 4%; left: 0; animation-delay: -1s; }
.tile--2 { top: 29%; right: -2%; animation-delay: -2.5s; }
.tile--3 { bottom: 25%; left: 4%; animation-delay: -4s; background: var(--black); color: #fff; }
.tile--3 svg { color: #ff5a54; }
.tile--3 small { color: #b9b9c1; }
.tile--4 { bottom: 3%; right: 6%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__badge {
  position: absolute; right: 3%; top: -4%; width: 124px; height: 124px; z-index: 3;
  border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 900; font-size: 15px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase;
  border: 6px solid #fff; transform: rotate(-10deg);
}
.hero__badge b { display: block; font-size: 30px; color: #ff5a54; letter-spacing: -.02em; }

/* ---------- Taśma ---------- */
.marquee-wrap { overflow: hidden; padding: 18px 0; margin-top: -28px; position: relative; z-index: 2; }
.marquee { background: var(--black); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1deg); margin: 0 -40px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { font-weight: 900; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; color: var(--red); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Oferta ---------- */
.offer__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 52px; }
.offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px;
  background: var(--off); border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--red); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s;
}
.card:hover { background: var(--black); color: #fff; transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; transform: scale(1); }
.card:hover h3, .card:hover .card__list li { color: #fff; }
.card__icon {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 16px; background: #fff; color: var(--red);
  display: grid; place-items: center; margin-bottom: 26px; transition: background .3s, color .3s;
}
.card:hover .card__icon { background: var(--red); color: #fff; }
.card__icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 24px; font-weight: 900; margin-bottom: 14px; position: relative; z-index: 1; }
.card__list { position: relative; z-index: 1; display: grid; gap: 8px; margin-bottom: 26px; }
.card__list li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--grey); line-height: 1.4; }
.card__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: translateY(-1px) rotate(45deg); }
.card__link { margin-top: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--red); }
.card:hover .card__link { color: #fff; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(5px); }

.extras { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.extras strong { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14.5px; background: #fff; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }

/* ---------- Proces ---------- */
.process { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.process .h2, .process h3 { color: #fff; }
.process .lead { color: #b9b9c1; }
.process::before { content: ""; position: absolute; left: -10%; top: -30%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(225, 6, 0, .45), transparent 65%); pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid #2a2a30; border-radius: var(--radius); background: rgba(255, 255, 255, .03); transition: border-color .3s, transform .3s; }
.step:hover { border-color: var(--red); transform: translateY(-6px); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 54px; font-weight: 900; letter-spacing: -.05em; color: var(--red); line-height: 1; margin-bottom: 20px; }
.step h3 { font-size: 21px; margin-bottom: 10px; font-weight: 800; }
.step p { color: #b9b9c1; font-size: 15.5px; margin: 0; }

/* ---------- Dlaczego my ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.why__list { display: grid; gap: 18px; margin-top: 34px; }
.why__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.why__list .tick { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.why__list .tick svg { width: 22px; height: 22px; }
.why__list b { display: block; font-size: 18px; color: var(--black); }
.why__list span { color: var(--grey); font-size: 15.5px; }
.why__panel { position: relative; background: var(--red); color: #fff; border-radius: 28px; padding: clamp(32px, 4vw, 54px); overflow: hidden; }
.why__panel::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .13); }
.why__panel h3 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; margin-bottom: 18px; position: relative; }
.why__panel p { font-size: 18px; opacity: .95; position: relative; }
.why__panel .btn { position: relative; margin-top: 10px; }
.why__panel ul { position: relative; display: grid; gap: 10px; margin: 20px 0 30px; font-weight: 700; }
.why__panel ul li { display: flex; gap: 10px; align-items: center; }
.why__panel ul svg { width: 20px; height: 20px; flex: none; }

/* ---------- Wycena ---------- */
.quote { background: var(--off); }
.quote__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 34px; }
.contact-list a, .contact-list div {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-weight: 700; transition: border-color .2s, transform .2s;
}
.contact-list a:hover { border-color: var(--red); transform: translateX(6px); }
.contact-list .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-weight: 600; color: var(--grey); font-size: 13px; }

.form-card { background: #fff; border-radius: 26px; padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow); border-top: 6px solid var(--red); }
.form-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.form-card > p { color: var(--grey); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 14px; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e10600' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(225, 6, 0, .12); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--grey); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a { color: var(--red); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--grey); text-align: center; margin: 0; }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 700; margin-bottom: 22px; }
.notice--ok { background: #e9f8ee; color: #136a31; border: 1px solid #b7e4c7; }
.notice--err { background: var(--red-soft); color: var(--red-dark); border: 1px solid #ffc9c6; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--black); color: #b9b9c1; padding: 70px 0 28px; font-size: 15px; }
.site-footer .brand { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #2a2a30; }
.footer__grid h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer__grid li { margin-bottom: 10px; }
.footer__grid a:hover { color: #ff5a54; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; }

/* ---------- Przycisk telefonu na mobile ---------- */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90; height: 56px; padding: 0 22px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 800; align-items: center; gap: 10px; box-shadow: 0 14px 34px -8px rgba(225, 6, 0, .75);
}
.call-fab svg { width: 20px; height: 20px; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Strony standardowe ---------- */
.page-wrap { padding: 70px 0 100px; }
.page-wrap h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; margin-bottom: 30px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--red); text-decoration: underline; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .why__grid, .quote__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .4); display: none; padding: 14px 20px 24px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .main-nav .btn { margin: 10px 0 0; }
  .call-fab { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__group:last-child { display: none; }
  .offer__grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .tile { padding: 12px 14px; font-size: 14px; }
  .tile svg { width: 26px; height: 26px; }
  .hero__badge { width: 96px; height: 96px; font-size: 11px; }
  .hero__badge b { font-size: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Logo wgrane w panelu – w stopce na jasnym tle, żeby było widoczne */
.footer-logo { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 12px; }
.footer-logo .custom-logo-link { display: block; }
.footer-logo .custom-logo { height: 44px; width: auto; }

/* ---------- Galeria realizacji ---------- */
.works-section { background: var(--off); }
.gallery { column-count: 3; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .55); }
.shot a { display: block; position: relative; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.shot a::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 12, .55));
  opacity: 0; transition: opacity .3s ease;
}
.shot a:hover::after { opacity: 1; }
.shot a:hover img { transform: scale(1.04); }

/* Powiększenie zdjęcia */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 11, 12, .94); display: none; align-items: center; justify-content: center; padding: 56px 64px; }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%; width: 52px; height: 52px; font-size: 26px; line-height: 1; transition: background .2s; }
.lb button:hover { background: var(--red); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; margin-top: -26px; }
.lb__next { right: 14px; top: 50%; margin-top: -26px; }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfcfd6; font-weight: 700; font-size: 14px; }
body.lb-lock { overflow: hidden; }

.entry-content img { border-radius: var(--radius-sm); height: auto; }

@media (max-width: 1080px) { .gallery { column-count: 2; } }
@media (max-width: 640px) {
  .gallery { column-count: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; border-radius: 12px; }
  .lb { padding: 56px 12px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; margin: 0; }
  .lb__prev { left: 14px; } .lb__next { right: 14px; }
}

/* ---------- Podstrony (Realizacje, Polityka prywatności) ---------- */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 10px; background: var(--off); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--red); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 48px);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 900; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 18px; opacity: .95; }
@media (max-width: 640px) { .cta-band .btn { width: 100%; } }

.entry-content h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; margin: 1.8em 0 .5em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; display: grid; gap: .35em; }

/* ---------- Opinie Google ---------- */
.reviews { border-top: 1px solid var(--line); }
.reviews__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.rev-sum, .rev-wrap { min-width: 0; }
.rev-sum__score { font-size: clamp(64px, 8vw, 96px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--black); margin-bottom: 8px; }
.rev-sum__score small { font-size: .3em; color: var(--grey); font-weight: 700; letter-spacing: 0; }
.rev-sum p { color: var(--grey); margin: 12px 0 24px; }
.rev-sum__btns { display: grid; gap: 10px; }
.stars {
  --p: calc(var(--r, 5) / 5 * 100%);
  display: inline-block; font-size: 22px; letter-spacing: 3px; line-height: 1;
  background: linear-gradient(90deg, #f5b301 var(--p), #d9d9de var(--p));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.rev-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--red) var(--line); }
.rev { flex: 0 0 min(360px, 86%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--off); border-radius: var(--radius); }
.rev__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rev__more { font-size: 13.5px; font-weight: 800; color: var(--red); }
.rev__more:hover { text-decoration: underline; }
.rev__who { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 6px; }
.rev__av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; }
.rev__name { font-weight: 800; color: var(--black); line-height: 1.2; }
.rev__when { font-size: 13px; color: var(--grey); }
.rev-nav { display: flex; gap: 10px; margin-top: 4px; }
.rev-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--black); background: transparent; color: var(--black); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.rev-nav button:hover { background: var(--black); color: #fff; }
.rev-note { font-size: 12.5px; color: var(--grey); margin: 14px 0 0; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: minmax(0, 1fr); } .rev-sum__btns .btn { width: 100%; } }
