/* ============================================================
   POLSKIE OKNA – Pułtusk · style.css
   Jasny · premium · Playfair Display + Inter
   ============================================================ */

:root {
  --paper: #ffffff;
  --cream: #faf8f4;
  --mist:  #f4f2ec;
  --mist-2:#ece9e1;

  --ink:   #1d1f24;
  --ink-2: #2c2f36;
  --body:  #5c626d;
  --muted: #8a8f99;

  --gold:       #b8841f;
  --gold-light: #e3c170;
  --gold-soft:  #f6edd8;
  --gold-grad:  linear-gradient(135deg, #f0d489 0%, #d4a544 45%, #b8841f 100%);
  --gold-grad-btn: linear-gradient(135deg, #f3da92 0%, #dcab4d 8%, #c9962f 55%, #b07c1c 100%);

  --red:       #c4172a;
  --red-dark:  #9c0f1b;
  --red-soft:  #fceaec;
  --red-grad:  linear-gradient(135deg, #d8243a 0%, #c4172a 52%, #9c0f1b 100%);
  --shadow-red: 0 12px 30px rgba(160, 18, 30, 0.30);

  --line: #e9e5dc;
  --line-2: #ded9cf;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 24px rgba(29, 31, 36, 0.06);
  --shadow: 0 24px 60px rgba(29, 31, 36, 0.12);
  --shadow-gold: 0 16px 40px rgba(184, 132, 31, 0.24);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.005em; font-weight: 600; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
  display: inline-block;
  padding: 0.04em 0.12em 0.18em 0.02em;
  line-height: 1.18;
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold-grad); z-index: 200; transition: width 0.1s linear; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--red-grad); color: #fff; font-weight: 700;
  box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(160,18,30,0.42), inset 0 1px 0 rgba(255,255,255,0.3); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0;
  transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.header.scrolled { padding: 9px 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); box-shadow: 0 6px 28px rgba(29,31,36,0.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; flex: none; display: flex; transition: width 0.4s var(--ease), height 0.4s var(--ease); }
.logo-mark svg { width: 100%; height: 100%; }
.header.scrolled .logo-mark { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.22rem; color: var(--ink); letter-spacing: 0.015em; }
.logo-sub { font-family: var(--ff-body); font-size: 9px; font-weight: 600; letter-spacing: 0.24em; color: var(--gold); margin-top: 3px; }
.logo-mark--footer { width: 64px; height: 64px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; transition: color 0.25s; }
.nav > a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold-grad); transition: width 0.3s var(--ease); }
.nav > a:hover { color: var(--gold); }
.nav > a:hover::after { width: 100%; }
.nav-cta-mobile { display: none; }
.nav-tel-mobile { display: none; }
.nav-cta { flex: none; }

.nav-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(15,22,31,0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; }
.hamburger span { position: absolute; left: 0; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: 0.35s var(--ease); }
.hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 9.5px; } .hamburger span:nth-child(3) { top: 19px; }
.hamburger.active span:nth-child(1) { top: 9.5px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(60% 60% at 85% 15%, var(--gold-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
  overflow: hidden; padding: 140px 0 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(29,31,36,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(29,31,36,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 35%, transparent 100%);
          mask-image: radial-gradient(80% 70% at 30% 40%, #000 35%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.hero-badge strong { color: var(--gold); font-weight: 700; }
.badge-star { color: var(--gold-light); }
.hb-text { min-width: 0; }
@media (max-width: 560px) {
  .hero-badge { align-items: flex-start; border-radius: 16px; gap: 7px; padding: 8px 14px; font-size: 12.5px; }
}

.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 600; color: var(--ink); margin-bottom: 24px; line-height: 1.08; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--body); max-width: 540px; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ht-pill { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px 10px 12px; box-shadow: var(--shadow-sm); }
.ht-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.ht-ico svg { width: 18px; height: 18px; }
.ht-pill span:last-child { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; color: var(--body); }
.ht-pill strong { font-family: var(--ff-body); font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: 0.01em; text-transform: uppercase; }

/* Hero visual */
.hero-visual { position: relative; }
.hv-frame {
  position: relative; border-radius: 240px 240px 24px 24px; overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 1 / 1;
}
.hv-frame img { width: 100%; height: 100%; object-fit: cover; }
.hv-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(184,132,31,0.25); border-radius: inherit; }
.hv-badge {
  position: absolute; bottom: 22px; left: -16px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 14px 22px 14px 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hv-badge-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px var(--gold-soft); }
.hv-badge-main { display: flex; flex-direction: column; line-height: 1.25; }
.hv-badge-num { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hv-badge-txt { font-size: 12px; color: var(--muted); }

.float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Brands ---------- */
.brands { background: var(--paper); padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-label { text-align: center; color: var(--muted); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; align-items: center; }
.brand-chip { font-family: var(--ff-head); font-weight: 700; font-size: 19px; letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s, transform 0.3s; }
.brand-chip:hover { color: var(--ink); transform: translateY(-2px); }
.brand-chip--primary { color: var(--gold); position: relative; }
.brand-chip--primary::after { content: 'AUTORYZOWANY SALON'; position: absolute; left: 50%; transform: translateX(-50%); top: -13px; font-size: 7.5px; letter-spacing: 0.18em; color: var(--gold-light); white-space: nowrap; font-family: var(--ff-body); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--ff-body); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; margin-bottom: 18px; }
.section-lead { font-size: 1.08rem; color: var(--body); }

/* ---------- Offer ---------- */
.offer { background: var(--cream); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 0; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; position: relative; overflow: hidden; }
.offer-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); z-index: 3; }
.offer-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.offer-card:hover::before { transform: scaleX(1); }
.offer-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--gold-soft); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.offer-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,8,0) 55%, rgba(20,16,8,0.28) 100%); pointer-events: none; }
.offer-card:hover .offer-media img { transform: scale(1.06); }
.offer-icon { position: absolute; left: 20px; bottom: 18px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 22px rgba(20,16,8,0.38); border: 2px solid rgba(255,255,255,0.85); transition: transform 0.45s var(--ease); }
.offer-icon svg { width: 27px; height: 27px; }
.offer-card:hover .offer-icon { transform: scale(1.09); }
.offer-body { padding: 28px 30px 32px; }
.offer-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.offer-card p { font-size: 0.98rem; }
.offer-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.offer-tags li { font-size: 12px; font-weight: 600; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(184,132,31,0.2); padding: 5px 11px; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.offer-card:hover .offer-tags li { background: #fff; }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { position: relative; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 34px 30px 28px; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-num { position: absolute; top: 6px; right: 18px; font-family: var(--ff-head); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--gold); opacity: 0.10; pointer-events: none; }
.why-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: inset 0 0 0 1.5px rgba(184,132,31,0.3); transition: background 0.4s var(--ease), color 0.4s, box-shadow 0.4s, transform 0.4s; }
.why-ico svg { width: 32px; height: 32px; }
.why-card:hover .why-ico { background: var(--gold-grad); color: #fff; box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why-card p { font-size: 0.94rem; }

/* Stats bar */
.stats { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 30px 8px; box-shadow: var(--shadow-sm); }
.stat { padding: 6px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.5rem); color: var(--gold); line-height: 1; }
.stat-lbl { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }

/* Promise band */
.promise { background: linear-gradient(135deg, #3a2e14 0%, #5a431a 55%, #7a5c20 100%); color: #fff; padding: 56px 0; }
.promise-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.promise-copy { max-width: 760px; }
.promise-mark { display: block; color: var(--gold-light); letter-spacing: 0.3em; font-size: 14px; margin-bottom: 16px; }
.promise-quote { font-family: var(--ff-head); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.45; color: #fff; font-weight: 500; }
.promise-quote strong { color: var(--gold-light); }
.promise-author { margin-top: 18px; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.promise-seal { flex: none; display: flex; flex-direction: column; align-items: center; }
.rosette { width: 132px; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35)); }
.ps-cap { margin-top: -6px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Certyfikaty ---------- */
.certs { background: var(--cream); }
.certs-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); display: flex; flex-direction: column; cursor: zoom-in; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-card img { transition: transform 0.5s var(--ease); }
.cert-card:hover img { transform: scale(1.03); }
.cert-card img { width: 100%; height: 320px; object-fit: contain; background: var(--mist); padding: 18px; }
.cert-card figcaption { padding: 20px 24px 26px; }
.cert-card figcaption strong { display: block; font-family: var(--ff-head); font-size: 1.12rem; color: var(--ink); margin-bottom: 6px; }
.cert-card figcaption span { font-size: 0.92rem; color: var(--body); }
.cert-highlight { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 38px 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.cert-highlight::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(212,165,68,0.22), transparent 70%); pointer-events: none; }
.ch-eyebrow { font-family: var(--ff-body); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.cert-highlight h3 { color: #fff; font-size: 1.6rem; }
.cert-highlight p { color: rgba(255,255,255,0.82); font-size: 0.98rem; }
.cert-highlight p strong { color: var(--gold-light); }
.ch-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 4px; }
.ch-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.ch-list svg { width: 18px; height: 18px; flex: none; color: var(--gold-light); }
.cert-highlight .btn { margin-top: 8px; }
.cert-highlight .btn-dark { background: var(--red-grad); color: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s; }
.cert-highlight .btn-dark:hover { background: var(--red-grad); filter: brightness(1.08); transform: translateY(-3px); box-shadow: var(--shadow-red); }

/* ---------- Process ---------- */
.process { position: relative; background-color: #141d27; overflow: hidden; isolation: isolate; }
.process::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('img/process-bg.jpg') center/cover no-repeat; transform: scale(1.06); animation: processPan 26s ease-in-out infinite alternate; }
.process::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,22,31,0.82) 0%, rgba(15,22,31,0.86) 55%, rgba(15,22,31,0.92) 100%); }
@keyframes processPan { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -2%, 0); } }
@media (prefers-reduced-motion: reduce) { .process::before { animation: none; } }
.process .section-title { color: #fff; }
.process .section-lead { color: rgba(255,255,255,0.82); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before { content: ''; position: absolute; top: 59px; left: 14%; right: 14%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-light) 0 7px, transparent 7px 15px); opacity: 0.55; z-index: 0; }
.step { position: relative; z-index: 1; padding: 30px 26px 28px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line-2); text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.step-num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold-grad); color: #2a1e05; font-family: var(--ff-head); font-weight: 700; font-size: 1.55rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold), 0 0 0 7px #fff; transition: transform 0.4s var(--ease); }
.step:hover .step-num { transform: scale(1.08); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 36px; }
.gfilter { font-family: var(--ff-body); font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--body); cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.gfilter:hover { border-color: var(--gold); color: var(--gold); }
.gfilter.is-active { background: var(--gold-grad); border-color: transparent; color: #2a1e05; box-shadow: var(--shadow-gold); }
.gal.is-hidden { display: none; }
.gallery-empty { text-align: center; margin-top: 8px; color: var(--body); }
.masonry { columns: 4; column-gap: 16px; }
.gal { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.gal img { width: 100%; height: auto; display: block; transition: transform 0.7s var(--ease); }
.gal::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29,31,36,0.28)); opacity: 0; transition: opacity 0.4s; }
.gal:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.gal:hover img { transform: scale(1.05); }
.gal:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(15,12,6,0.92); backdrop-filter: blur(6px); padding: 40px; }
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s; }
.lb-btn:hover { background: var(--gold-grad); color: #2a1e05; border-color: transparent; }
.lb-close { top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 34px; line-height: 1; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 14px; letter-spacing: 0.1em; }
.gallery-cta { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px 40px; box-shadow: var(--shadow); }
.gc-copy h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.gc-copy p { color: rgba(255,255,255,0.75); font-size: 0.98rem; }
.gallery-note { text-align: center; margin-top: 26px; color: var(--body); }
.gallery-note a { color: var(--gold); font-weight: 600; border-bottom: 1px solid var(--gold-light); }

/* ---------- Quote ---------- */
.quote { background: var(--paper); }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-copy .section-title, .quote-copy .section-lead, .quote-copy .eyebrow { text-align: left; }
.quote-copy .section-lead { margin-bottom: 26px; }
.quote-benefits { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.quote-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.qb-ico { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.qb-ico svg { width: 17px; height: 17px; }
.quote-benefits strong { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); margin-bottom: 2px; }
.quote-benefits span { font-size: 0.93rem; color: var(--body); }

.salon-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.salon-label { display: block; font-family: var(--ff-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.salon-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.salon-card li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--ink-2); }
.salon-card svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.salon-card a { color: var(--ink-2); transition: color 0.25s; }
.salon-card a:hover { color: var(--gold); }

.quote-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow); }
.quote-form h3 { font-size: 1.5rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--ff-body); font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,132,31,0.12); }
.field textarea { resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--body); margin: 4px 0 18px; line-height: 1.5; }
.consent input { margin-top: 3px; flex: none; accent-color: var(--gold); }
.consent a { color: var(--gold); border-bottom: 1px solid var(--gold-light); }
.form-msg { margin-top: 14px; font-size: 14px; text-align: center; min-height: 1px; }
.form-msg.ok { color: #1a8a4a; } .form-msg.err { color: #c0392b; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: stretch; }
.contact-info .section-title, .contact-info .eyebrow { text-align: left; }
.contact-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: background 0.3s, color 0.3s; }
.ci-ico svg { width: 22px; height: 22px; }
.contact-list li:hover .ci-ico { background: var(--gold-grad); color: #fff; }
.contact-list strong { color: var(--ink); }
.contact-list a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: border-color 0.25s, color 0.25s; }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.contact-map { display: flex; flex-direction: column; gap: 12px; }
.contact-map iframe { width: 100%; flex: 1; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.map-link { align-self: flex-start; color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.map-link:hover { color: var(--gold-light); }

/* ---------- Opinie ---------- */
.reviews { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.review-stars { color: #f6a609; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.review blockquote { font-size: 0.97rem; color: var(--ink-2); line-height: 1.65; margin: 0 0 22px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--av, var(--gold)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; }
.review-meta { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.review-meta strong { color: var(--ink); font-size: 0.98rem; }
.review-meta span { font-size: 0.8rem; color: var(--muted); }
.review-g { width: 22px; height: 22px; flex: none; }
.reviews-cta { display: flex; width: fit-content; margin: 38px auto 0; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; color: var(--ink); transition: border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s; }
.reviews-cta:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.footer { background: #14171d; color: rgba(255,255,255,0.6); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about { max-width: 400px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo .logo-name { color: #fff; }
.footer-about p { font-size: 0.92rem; color: rgba(255,255,255,0.55); line-height: 1.75; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s; }
.footer-social a:hover { background: var(--gold-grad); color: #2a1e05; border-color: transparent; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 0.92rem; color: rgba(255,255,255,0.58); transition: color 0.25s, padding-left 0.25s; }
.footer-col ul a:hover { color: var(--gold-light); padding-left: 3px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; color: rgba(255,255,255,0.58); line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.58); transition: color 0.25s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 22px; padding-bottom: 28px; font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-credit a { color: var(--gold-light); }
.footer-policy { color: rgba(255,255,255,0.55); margin-left: 6px; border-bottom: 1px solid rgba(255,255,255,0.2); transition: color 0.25s, border-color 0.25s; }
.footer-policy:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Sticky mobile call ---------- */
.sticky-call { position: fixed; bottom: 18px; right: 18px; z-index: 90; display: none; align-items: center; gap: 8px; background: var(--red-grad); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-red); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .quote-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { border-bottom: 1px solid var(--line); padding: 18px 14px; }
  .stats .stat:nth-child(2n) { border-right: none; }
  .stats .stat:nth-last-child(-n+2) { border-bottom: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .masonry { columns: 3; }
  .promise-inner { justify-content: center; text-align: center; }
  .promise-mark { text-align: center; }
  .gallery-cta { text-align: center; justify-content: center; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .cert-highlight { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }

  .nav { position: fixed; top: 0; right: -100%; width: min(84vw, 340px); height: 100vh; height: 100dvh; background: #fff; flex-direction: column; align-items: stretch; padding: 88px 26px 32px; gap: 0; transition: right 0.45s var(--ease); box-shadow: -24px 0 60px rgba(0,0,0,0.28); z-index: 105; overflow-y: auto; }
  .nav.open { right: 0; }
  .nav > a { font-size: 17px; padding: 17px 4px; border-bottom: 1px solid var(--line-2); }
  .nav > a:first-of-type { border-top: 1px solid var(--line-2); }
  .nav > a::after { display: none; }
  .nav > a:active { color: var(--gold); }
  .nav-cta-mobile { display: inline-flex !important; align-items: center; justify-content: center; background: var(--red-grad); color: #fff !important; padding: 15px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; margin-top: 24px; box-shadow: var(--shadow-red); border-bottom: 0 !important; }
  .nav-cta-mobile::after { display: none; }
  .nav-tel-mobile { display: inline-flex !important; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; padding: 13px 22px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink) !important; }
  .nav-tel-mobile svg { width: 17px; height: 17px; color: var(--red); }
  .nav-tel-mobile:active { border-color: var(--red); color: var(--red) !important; }
  .nav-cta { display: none; }
  .hamburger { display: block; z-index: 110; }

  .hero { padding: 116px 0 72px; min-height: auto; }
  .hv-frame { border-radius: 160px 160px 20px 20px; }
  .scroll-cue { display: none; }

  .offer-grid, .why-grid, .steps, .certs-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-cta { padding: 28px 24px; }
  .cert-card img { height: 280px; }
  .masonry { columns: 2; column-gap: 12px; }
  .gal { margin-bottom: 12px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 26px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lightbox { padding: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
  .footer-social { margin-top: 16px; margin-bottom: 16px; }
  .footer-bottom { flex-direction: column; gap: 14px; padding-bottom: 96px; }
  .sticky-call { display: inline-flex; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .masonry { columns: 1; }
}

/* ---------- Strony prawne ---------- */
.legal-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.legal-back:hover { color: var(--gold); }
.legal-hero { background: linear-gradient(180deg, var(--cream), #fff); padding: 68px 0 36px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 10px; }
.legal-updated { color: var(--muted); font-size: 0.9rem; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 50px 24px 80px; }
.legal-body h2 { font-family: var(--ff-head); font-size: 1.45rem; margin: 38px 0 14px; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--body); font-size: 1rem; line-height: 1.75; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 10px 0 18px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--gold); border-bottom: 1px solid var(--gold-light); }
.legal-body strong { color: var(--ink); }
.legal-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 8px 0 18px; }
.legal-card p { margin-bottom: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.94rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--cream); color: var(--ink); font-weight: 600; }
.legal-footer { background: #14171d; color: rgba(255,255,255,0.5); text-align: center; padding: 30px 24px; font-size: 13px; }
.legal-footer a { color: var(--gold-light); }
@media (max-width: 760px) {
  .legal-header .logo-sub { display: none; }
  .legal-back { font-size: 13px; }
  .legal-hero { padding: 46px 0 26px; }
  .legal-body { padding: 38px 20px 60px; }
  .legal-table { font-size: 0.84rem; }
  .legal-table th, .legal-table td { padding: 9px 10px; }
  .legal-card { padding: 18px 20px; }
}

/* ---------- Cookie banner ---------- */
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; background: #14171d; color: rgba(255,255,255,0.7); box-shadow: 0 -10px 40px rgba(0,0,0,0.35); transform: translateY(110%); transition: transform 0.5s var(--ease); border-top: 2px solid var(--gold); }
#cookie-banner.cb-visible { transform: translateY(0); }
.cb-inner { max-width: var(--container); margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cb-text { flex: 1; min-width: 260px; }
.cb-text strong { color: #fff; font-size: 15px; display: block; margin-bottom: 4px; }
.cb-text p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; margin: 0; }
.cb-text a { color: var(--gold-light); border-bottom: 1px solid rgba(227,193,112,0.4); }
.cb-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-btn { font-family: var(--ff-body); font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer; transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s; }
.cb-btn:hover { transform: translateY(-1px); }
.cb-btn-accept { background: var(--gold-grad); color: #2a1e05; }
.cb-btn-necessary { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15); }
.cb-btn-necessary:hover { background: rgba(255,255,255,0.18); }
.cb-btn-settings { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.15); }
.cb-btn-settings:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
#cb-panel { border-top: 1px solid rgba(255,255,255,0.08); }
.cb-panel-inner { max-width: var(--container); margin: 0 auto; padding: 18px 24px 12px; }
.cb-panel-inner h3 { color: rgba(255,255,255,0.5); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; font-weight: 700; }
.cb-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cb-option:last-of-type { border-bottom: none; }
.cb-option-info { flex: 1; }
.cb-option-info strong { color: #fff; font-size: 14px; display: block; margin-bottom: 2px; }
.cb-option-info span { color: rgba(255,255,255,0.4); font-size: 12px; line-height: 1.4; }
.cb-toggle-on { color: var(--gold-light); font-size: 12px; font-weight: 600; }
.cb-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cb-toggle-switch input { opacity: 0; width: 0; height: 0; }
.cb-slider { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,0.15); border-radius: 24px; transition: background 0.2s; }
.cb-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.cb-toggle-switch input:checked + .cb-slider { background: var(--gold); }
.cb-toggle-switch input:checked + .cb-slider::before { transform: translateX(20px); }
.cb-panel-actions { padding-top: 14px; }
@media (max-width: 760px) {
  .cb-inner { padding: 16px; }
  .cb-buttons { width: 100%; }
  .cb-btn { flex: 1; min-width: 0; padding: 11px 12px; }
  .sticky-call { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
