/*
Theme Name: Mack Gabinet
Theme URI: https://mackgabinet.pl
Author: EJNO Pracownia Kreatywna
Author URI: https://ejno.pl
Description: Motyw WordPress dla gabinetu makijażu permanentnego MACK Monika Sewruk. Elegancki, minimalistyczny design z pełnym wsparciem ACF.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mackgabinet
Tags: beauty, cosmetics, salon, one-page, responsive, custom-colors
*/

/* === SHARED BASE (styles.css) === */

:root{
  --bg:        #F5F0E6;
  --bg-soft:   #ECE5D7;
  --ink:       #1A1410;
  --ink-soft:  #4A3F36;
  --muted:     #8C8275;
  --line:      #D9CFBE;
  --accent:    #B83026;
  --accent-2:  #7E1F1A;
  --paper:     #FFFFFF;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font-body);
  font-weight:400;
  font-size:17.5px;
  line-height:1.65;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────── */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  color:var(--ink);
  line-height:1.05;
  letter-spacing:-0.01em;
  margin:0;
  text-wrap:balance;
}
/* Global font-size fallbacks — per-section rules (further down) override these */
h1{ font-size: clamp(56px, 8.5vw, 132px); font-weight:300; letter-spacing:-0.025em; }
h2{ font-size: clamp(44px, 6vw, 88px);    font-weight:300; letter-spacing:-0.02em; }
h3{ font-size: clamp(32px, 4vw, 60px);    font-weight:400; }
h4{ font-size: clamp(24px, 2.6vw, 38px);  font-weight:500; }
.display-xl{font-size:clamp(56px, 8.5vw, 132px); font-weight:300; letter-spacing:-0.025em}
.display-l {font-size:clamp(44px, 6vw, 88px);    font-weight:300; letter-spacing:-0.02em}
.display-m {font-size:clamp(32px, 4vw, 60px);    font-weight:400}
.display-s {font-size:clamp(24px, 2.6vw, 38px);  font-weight:500}

.eyebrow{
  font-family:var(--font-body);
  font-size:16px;
  font-weight:600;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--ink-soft);
  display:inline-flex;align-items:center;gap:14px;
}
.eyebrow::before{
  content:""; display:block; width:36px; height:1px; background:var(--accent);
}

.lead{
  font-size:19.5px; line-height:1.65; color:var(--ink-soft);
  max-width:54ch; text-wrap:pretty;
}

.container,
.content-container{
  max-width:1360px;
  margin-inline:auto;
  padding-inline:clamp(20px, 4vw, 56px);
}

/* ─── BUTTONS ───────────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:12px;
  padding:16px 26px;
  font-family:var(--font-body);
  font-size:16px;font-weight:500;
  letter-spacing:0.08em;text-transform:uppercase;
  transition:all 0.25s ease;
  border:1px solid transparent;
}
.btn-primary{background:var(--ink);color:var(--paper)}
.btn-primary:hover{background:var(--accent)}
.btn-ghost{border-color:var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}
.btn .arrow{display:inline-block;transition:transform .25s ease}
.btn:hover .arrow{transform:translateX(4px)}

/* ─── HEADER ────────────────────────────────────────────────────────── */
header.site{
  position:sticky;top:0;z-index:50;
  background:rgba(245,240,230,0.85);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
}
header.site .inner{
  display:flex;align-items:center;justify-content:space-between;
  padding-block:18px;
  gap:32px;
}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand img{width:44px;height:auto;flex-shrink:0}
.brand .wm{display:flex;flex-direction:column;line-height:1}
.brand .wm-1{
  font-family:var(--font-display);
  font-size:22px;font-weight:500;letter-spacing:0.05em;
  color:var(--ink);
}
.brand .wm-2{
  font-family:var(--font-body);
  font-size:14px;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:var(--muted);margin-top:4px;
}
nav.main{display:flex;align-items:center;gap:36px}
nav.main a{
  font-size:16px;font-weight:500;color:var(--ink);
  position:relative;padding-block:6px;
}
nav.main a:hover{color:var(--accent)}
nav.main a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--accent);
}
header.site .cta{
  display:inline-flex;align-items:center;gap:10px;
  padding:11px 22px;
  background:var(--ink);color:var(--paper);
  font-size:16px;font-weight:500;
  letter-spacing:0.1em;text-transform:uppercase;
  transition:background .25s ease;
}
header.site .cta:hover{background:var(--accent)}

/* ─── PHOTO PLACEHOLDER ─────────────────────────────────────────────── */
.ph{
  position:relative;width:100%;height:100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(26,20,16,0.04) 18px 19px),
    var(--bg-soft);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;color:var(--ink-soft);
  border:1px solid var(--line);
  overflow:hidden;
}
.ph::before, .ph::after{
  content:"";position:absolute;width:22px;height:22px;
  border:1.5px solid var(--accent);
}
.ph::before{top:14px;left:14px;border-right:0;border-bottom:0}
.ph::after{bottom:14px;right:14px;border-left:0;border-top:0}
.ph .ph-label{
  font-size:16px;font-weight:600;letter-spacing:0.22em;
  text-transform:uppercase;color:var(--ink-soft);text-align:center;
}
.ph .ph-hint{
  font-family:var(--font-display);font-style:italic;
  font-size:16px;color:var(--muted);
  max-width:24ch;text-align:center;line-height:1.4;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
footer.site{
  background:#0F0B08;color:rgba(245,240,230,0.75);
  padding-block:64px 28px;
}
footer.site .top{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px;
  padding-bottom:48px;border-bottom:1px solid rgba(245,240,230,0.12);
}
footer.site .brand-block .brand .wm-1{color:#F5F0E6}
footer.site .brand-block .brand .wm-2{color:rgba(245,240,230,0.5)}
footer.site .brand-block p{
  margin-top:18px;font-size:16px;line-height:1.65;
  color:rgba(245,240,230,0.6);max-width:34ch;
}
footer.site h4{
  font-family:var(--font-body);
  font-size:16px;font-weight:600;letter-spacing:0.18em;
  text-transform:uppercase;color:rgba(245,240,230,0.45);
  margin-bottom:18px;
}
footer.site ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
footer.site ul a{
  font-size:16px;color:rgba(245,240,230,0.78);transition:color .2s;
}
footer.site ul a:hover{color:var(--accent)}
footer.site .contact-line{
  font-size:16px;line-height:1.7;color:rgba(245,240,230,0.78);
}
footer.site .contact-line strong{color:#F5F0E6;font-weight:500;display:block;margin-bottom:2px}
footer.site .bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:24px;font-size:16px;color:rgba(245,240,230,0.4);
  flex-wrap:wrap;gap:12px;
}
footer.site .bottom-right{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
footer.site .footer-author{color:rgba(245,240,230,0.4);}
footer.site .footer-author a{color:rgba(245,240,230,0.4);text-decoration:underline;}
footer.site .footer-author a:hover{color:rgba(245,240,230,0.7);}

/* ─── RESPONSIVE (base) ─────────────────────────────────────────────── */
@media (max-width: 920px){
  nav.main{display:none}
  header.site .cta{display:none}
  .brand .wm-1{font-size:18px;letter-spacing:0.04em}
  .brand .wm-2{font-size:12px;letter-spacing:0.1em}
  footer.site .top{grid-template-columns:1fr 1fr;gap:36px}
}
@media (max-width: 560px){
  .brand .wm-2{display:none}
  footer.site .top{grid-template-columns:1fr}
}

/* === SERVICE PAGES (service.css) === */

/* ─── PAGE HERO ─────────────────────────────────────────────────────── */
section.page-hero{
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.page-hero .container{ position: relative; z-index: 2; }
.page-hero .top-meta{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 64px);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.page-hero .top-meta .crumb{
  display: flex; gap: 24px;
}
.page-hero .top-meta .crumb a{
  color: var(--muted); transition: color 0.2s;
}
.page-hero .top-meta .crumb a:hover{ color: var(--ink); }
.page-hero .top-meta .step{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px; font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}
.page-hero .grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.page-hero .eyebrow{ margin-bottom: 28px; }
.page-hero h1{
  font-size: clamp(96px, 14vw, 240px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 0 0 28px;
}
.page-hero h1 .dot{ color: var(--accent); }
.page-hero .subtitle{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
  line-height: 1.2;
}
.page-hero .subtitle .accent{ color: var(--accent); }
.page-hero .lead{ max-width: 42ch; }

.page-hero-photo{
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.page-hero-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-hero-photo .caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 20px;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(6px);
  color: #F5F0E6;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.page-hero-photo .caption-r{ color: rgba(245,240,230,0.65); }

.page-hero-meta{
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-hero-meta .meta{ display: flex; flex-direction: column; gap: 6px; }
.page-hero-meta .meta-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.page-hero-meta .meta-v{
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink); font-weight: 400;
}
.page-hero-meta .meta-v em{ color: var(--accent); font-style: italic; font-weight: 300; }

/* ─── METHODS ───────────────────────────────────────────────────────── */
section.methods{
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--bg-soft);
}
.methods-head{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.methods-head .eyebrow{ margin-bottom: 18px; }
.methods-head h2{
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 14ch;
}
.methods-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.methods-head p{
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}

.methods-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.method-card{
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease;
}
.method-card:hover{ transform: translateY(-4px); }
.method-card .letter{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
}
.method-card h3{
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.method-card .desc{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}
.method-card .tags{
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.method-card .tag{
  padding: 5px 12px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.method-card .meta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.method-card .meta-row{ display: flex; flex-direction: column; gap: 4px; }
.method-card .meta-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.method-card .meta-v{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--accent);
  font-weight: 400;
}
.method-card .meta-v.ink{ color: var(--ink); font-style: normal; font-size: 16px; }

/* ─── PROCEDURE / PRZEBIEG ──────────────────────────────────────────── */
section.procedure{
  padding-block: clamp(80px, 11vw, 160px);
}
.proc-head{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.proc-head .eyebrow{ margin-bottom: 20px; }
.proc-head h2{
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 14ch;
}
.proc-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.proc-head p{ color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

.proc-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.proc-photo{
  position: sticky; top: 100px;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-soft);
}
.proc-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.proc-photo .caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 20px;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(6px);
  color: #F5F0E6;
  display: flex; justify-content: space-between;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.proc-photo .caption-r{ color: rgba(245,240,230,0.65); }

.proc-steps{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.proc-step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.25s ease;
}
.proc-step:last-child{ border-bottom: 1px solid var(--line); }
.proc-step:hover{ padding-left: 8px; }
.proc-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
.proc-body h3{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}
.proc-body p{
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
}
.proc-meta-tag{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); opacity: 0.85;
}

/* ─── MINI-GALLERY ──────────────────────────────────────────────────── */
section.mini-gallery{
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--bg-soft);
}
.mini-gallery-head{
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.mini-gallery-head .eyebrow{ margin-bottom: 12px; display: inline-flex; }
.mini-gallery-head h2{
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  max-width: 16ch;
}
.mini-gallery-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }

.mini-gallery-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 12px;
}
.mini-gallery-grid > div{
  background: var(--bg) center/cover no-repeat;
  overflow: hidden;
  transition: opacity 0.25s ease;
  position: relative;
}
.mini-gallery-grid > div:hover{ opacity: 0.9; }
.mg-1{ grid-column: span 5; grid-row: span 4; }
.mg-2{ grid-column: span 4; grid-row: span 3; }
.mg-3{ grid-column: span 3; grid-row: span 4; }
.mg-4{ grid-column: span 4; grid-row: span 3; }
.mg-5{ grid-column: span 4; grid-row: span 3; }
.mg-6{ grid-column: span 4; grid-row: span 3; }

.mini-gallery-grid > div.ph-cell{
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(26,20,16,0.04) 18px 19px),
    var(--bg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
}
.mini-gallery-grid > div.ph-cell::before, .mini-gallery-grid > div.ph-cell::after{
  content:""; position:absolute; width:18px; height:18px;
  border:1.5px solid var(--accent);
}
.mini-gallery-grid > div.ph-cell::before{top:10px;left:10px;border-right:0;border-bottom:0}
.mini-gallery-grid > div.ph-cell::after{bottom:10px;right:10px;border-left:0;border-top:0}
.mini-gallery-grid .ph-label{
  font-size: 16px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
.mini-gallery-grid .ph-hint{
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--muted);
  text-align: center; line-height: 1.4; max-width: 22ch;
}

/* ─── SERVICE PRICING ───────────────────────────────────────────────── */
section.service-pricing{
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--ink);
  color: #F5F0E6;
  position: relative;
  overflow: hidden;
}
section.service-pricing::before{
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 340px; height: 340px;
  background: url("assets/img/logo.webp") no-repeat center/contain;
  opacity: 0.12;
  transform: rotate(-12deg);
  filter: saturate(0.7);
  pointer-events: none;
  z-index: 1;
}
section.service-pricing .container{ position: relative; z-index: 2; }
.sp-head{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.sp-head .eyebrow{ margin-bottom: 18px; }
.sp-head h2{
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 14ch;
  color: #F5F0E6;
}
.sp-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.sp-head p{ color: rgba(245,240,230,0.72); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

.sp-table{ display: flex; flex-direction: column; }
.sp-row{
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 32px;
  align-items: baseline;
  padding-block: 22px;
  border-top: 1px solid rgba(245,240,230,0.18);
  transition: padding 0.25s ease;
}
.sp-row:last-child{ border-bottom: 1px solid rgba(245,240,230,0.18); }
.sp-row:hover{ padding-left: 8px; }
.sp-row-tag{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.55);
}
.sp-row-name{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: #F5F0E6;
  line-height: 1.2;
}
.sp-row-name small{
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(245,240,230,0.65);
  margin-top: 4px;
  letter-spacing: 0; text-transform: none;
}
.sp-row-time{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,230,0.65);
  white-space: nowrap;
}
.sp-row-value{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
}
.sp-note{
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(245,240,230,0.06);
  border-left: 2px solid var(--accent);
  font-size: 16px;
  color: rgba(245,240,230,0.78);
  line-height: 1.55;
  max-width: 64ch;
}
.sp-note strong{
  color: #F5F0E6; font-weight: 600; display: block;
  margin-bottom: 2px;
  font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
}
.sp-foot{ margin-top: 32px; }
section.service-pricing .btn-ghost{
  border-color: rgba(245,240,230,0.4);
  color: #F5F0E6;
}
section.service-pricing .btn-ghost:hover{
  background: #F5F0E6; color: var(--ink); border-color: #F5F0E6;
}

/* ─── FAQ ───────────────────────────────────────────────────────────── */
section.faq{
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--bg-soft);
}
.faq-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.faq-head .eyebrow{ margin-bottom: 18px; }
.faq-head h2{
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 14ch;
}
.faq-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.faq-head p{ color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }

.faq-list{ display: flex; flex-direction: column; }
details.faq-item{
  border-top: 1px solid var(--line);
  padding: 0;
}
details.faq-item:last-child{ border-bottom: 1px solid var(--line); }
details.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 24px;
  align-items: baseline;
  transition: padding 0.25s ease;
}
details.faq-item summary::-webkit-details-marker{ display: none; }
details.faq-item summary:hover{ padding-left: 8px; }
.faq-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}
.faq-q{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}
.faq-toggle{
  position: relative;
  width: 24px; height: 24px;
  align-self: center;
}
.faq-toggle::before, .faq-toggle::after{
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.faq-toggle::before{ left: 0; right: 0; top: 11px; height: 1.5px; }
.faq-toggle::after{ top: 0; bottom: 0; left: 11px; width: 1.5px; }
details[open] .faq-toggle::after{ transform: scaleY(0); }

.faq-a{
  padding: 0 0 32px 72px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
}
.faq-a p{ margin: 0 0 12px; }
.faq-a p:last-child{ margin-bottom: 0; }

/* ─── FINAL CTA (service) ───────────────────────────────────────────── */
section.final-cta{
  background:var(--ink);color:#F5F0E6;
  padding-block:clamp(80px, 10vw, 130px);
  position:relative;overflow:hidden;
  text-align:center;
}
.final-cta::before{
  content:"";position:absolute;
  right:-60px;top:-40px;
  width:280px;height:280px;
  background:url("assets/img/logo.webp") no-repeat center/contain;
  opacity:0.1;
  transform:rotate(8deg);
  pointer-events:none;
}
.final-cta .container{position:relative;z-index:2}
.final-cta .eyebrow{color:rgba(245,240,230,0.55)}
.final-cta h2{color:#F5F0E6;max-width:18ch;margin:24px auto 28px}
.final-cta h2 em{color:var(--accent);font-style:italic;font-weight:300}
.final-cta p{
  color:rgba(245,240,230,0.7);max-width:46ch;margin:0 auto 40px;
  font-size:17px;line-height:1.65;
}
.final-cta .actions{display:inline-flex;gap:14px;flex-wrap:wrap;justify-content:center}
.final-cta .btn-ghost{border-color:rgba(245,240,230,0.4);color:#F5F0E6}
.final-cta .btn-ghost:hover{background:#F5F0E6;color:var(--ink);border-color:#F5F0E6}
.final-cta .btn-primary{background:var(--accent);color:#F5F0E6}
.final-cta .btn-primary:hover{background:#F5F0E6;color:var(--ink)}

/* ─── RESPONSIVE (service) ──────────────────────────────────────────── */
@media (max-width: 920px){
  .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; }
  .page-hero-meta{ grid-template-columns: 1fr 1fr; gap: 18px; }
  .methods-head, .proc-head, .sp-head, .faq-head{ grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .methods-grid{ grid-template-columns: 1fr; gap: 16px; }
  .proc-grid{ grid-template-columns: 1fr; }
  .proc-photo{ position: relative; top: 0; aspect-ratio: 4/3; }
  .mini-gallery-grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .mg-1,.mg-2,.mg-3,.mg-4,.mg-5,.mg-6{ grid-column: span 3; grid-row: span 3; }
  .sp-row{
    grid-template-columns: 48px 1fr;
    grid-template-areas: "tag name" "time value";
    gap: 12px 24px;
  }
  .sp-row-tag{ grid-area: tag; align-self: start; }
  .sp-row-name{ grid-area: name; }
  .sp-row-time{ grid-area: time; grid-column: 1 / -1; }
  .sp-row-value{ grid-area: value; justify-self: end; grid-column: 1 / -1; }
  details.faq-item summary{ grid-template-columns: 36px 1fr 24px; gap: 18px; }
  .faq-a{ padding-left: 54px; }
}

/* === STRONA GŁÓWNA (index.html inline) === */

body.home .ph.dark{
  background:
    repeating-linear-gradient(135deg,
      transparent 0 18px,
      rgba(245,240,230,0.04) 18px 19px),
    rgba(245,240,230,0.06);
  border-color:rgba(245,240,230,0.18);
}
body.home .ph.dark .ph-label{color:rgba(245,240,230,0.7)}
body.home .ph.dark .ph-hint{color:rgba(245,240,230,0.55)}

/* HERO */
body.home section.hero{
  position: relative;
  padding-block: clamp(80px, 11vw, 160px) clamp(64px, 9vw, 120px);
  overflow: hidden;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
}
body.home section.hero .container{position:relative; z-index:4}
body.home .hero-poppy-bg{
  position: absolute;
  left: clamp(-80px, -2vw, 24px);
  top: clamp(160px, 18vw, 270px);
  width: clamp(280px, 30vw, 460px);
  z-index: 1;
  pointer-events: none;
  transform: rotate(-6deg);
  filter: drop-shadow(6px 14px 32px rgba(26,20,16,0.13));
}
body.home .hero-poem{
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 140px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 56px;
  position: relative; z-index: 4;
}
body.home .hero-poem .l2{ padding-left: clamp(40px, 8vw, 140px); display:block; }
body.home .hero-poem .l3{ padding-left: clamp(20px, 4vw, 70px); display:block; font-style: italic; color: var(--muted); }
body.home .hero-poem .word{
  color: var(--accent); font-style: italic; font-weight: 400;
  position: relative; display: inline-block; padding-right: 0.06em;
}
body.home .hero-poem .word::after{
  content:"."; color: var(--ink); font-style: normal; font-weight: 300;
}
body.home .hero-foot{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  position: relative; z-index: 4;
}
body.home .hero-signature{
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px); color: var(--ink);
}
body.home .hero-signature small{
  display: block; margin-top: 6px;
  font-family: var(--font-body); font-style: normal;
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.home .hero-stat{
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  color: var(--accent); font-weight: 400; line-height: 1;
}
body.home .hero-stat small{
  display: block; margin-top: 8px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}
body.home .hero-cta-block{
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}

/* OFERTA SECTION (editorial rows) */
body.home section.oferta-section{
  padding-block: clamp(80px, 11vw, 160px);
}
body.home .of-head{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 80px);
}
body.home .of-head .eyebrow{ margin-bottom: 20px; }
body.home .of-head h2{ max-width: 14ch; }
body.home .of-head h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
body.home .of-head .lead{ color: var(--ink-soft); max-width: 46ch; }
body.home .of-rows{ display: flex; flex-direction: column; }
body.home .of-row{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
body.home .of-row:last-child{ border-bottom: 1px solid var(--line); }
body.home .of-row.reverse .of-photo-wrap{ order: 2; }
body.home .of-photo-wrap{ text-decoration: none; color: inherit; }
body.home .of-photo{
  aspect-ratio: 5/6;
  overflow: hidden; background: var(--bg-soft);
  position: relative;
}
body.home .of-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
body.home .of-row:hover .of-photo img{ transform: scale(1.03); }
body.home .of-photo-ph{
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(26,20,16,0.04) 18px 19px),
    var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
body.home .of-photo-ph::before, body.home .of-photo-ph::after{
  content:""; position:absolute; width:22px; height:22px; border:1.5px solid var(--accent);
}
body.home .of-photo-ph::before{top:14px;left:14px;border-right:0;border-bottom:0}
body.home .of-photo-ph::after{bottom:14px;right:14px;border-left:0;border-top:0}
body.home .of-photo-ph .ph-label{
  font-size: 16px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft);
}
body.home .of-photo-ph .ph-hint{
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--muted);
}
body.home .of-text{ display: grid; grid-template-columns: 80px 1fr; gap: 28px; }
body.home .of-num{
  font-family: var(--font-display); font-style: italic;
  font-size: 56px; color: var(--accent); font-weight: 300; line-height: 1;
}
body.home .of-row h3{
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95; margin: 0 0 20px;
  letter-spacing: -0.02em;
}
body.home .of-desc{
  color: var(--ink-soft); font-size: 16.5px; line-height: 1.65;
  margin: 0 0 24px; max-width: 50ch;
}
body.home .of-tech{
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
}
body.home .of-tech-item{
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 10px;
}
body.home .of-tech-item::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
body.home .of-bottom{
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
body.home .of-bottom-l{
  font-size: 16px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}
body.home .of-bottom-r{ display: flex; align-items: baseline; gap: 12px; }
body.home .of-bottom-r .price{
  font-family: var(--font-display); font-style: italic;
  font-size: 32px; color: var(--accent); font-weight: 400;
}

/* PROCES */
body.home section.proces{
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--bg-soft);
}
body.home .proces-head{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
body.home .proces-head .eyebrow{ margin-bottom: 20px; }
body.home .proces-title{ max-width: 14ch; }
body.home .proces-title em{ font-style: italic; font-weight: 300; color: var(--accent); }
body.home .proces-intro{ color: var(--ink-soft); max-width: 46ch; }
body.home .proces-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
body.home .proces-photo{
  position: sticky;
  top: 100px;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg);
}
body.home .proces-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
body.home .proces-photo-tag{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 22px;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #F5F0E6;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
body.home .proces-photo-tag-r{ color: rgba(245,240,230,0.65); }
body.home .proces-steps{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
body.home .proces-step{
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.3s ease;
}
body.home .proces-step:last-child{ border-bottom: 1px solid var(--line); }
body.home .proces-step:hover{ padding-left: 8px; }
body.home .proces-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
body.home .proces-body h3{
  font-size: 30px;
  margin: 0 0 10px;
  font-weight: 400;
}
body.home .proces-body p{
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.65;
  margin: 0 0 14px;
  max-width: 52ch;
}
body.home .proces-meta{
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); opacity: 0.85;
}

/* ABOUT (dark) */
body.home section.about{
  background:var(--ink);
  color:#F5F0E6;
  padding-block:clamp(80px, 11vw, 160px);
  position:relative;
  overflow:hidden;
}
body.home section.about::before{
  content:"";
  position:absolute;right:-80px;top:-60px;
  width:340px;height:340px;
  background:url("assets/img/logo.webp") no-repeat center/contain;
  opacity:0.12;
  transform:rotate(-12deg);
  filter:saturate(0.7);
  pointer-events:none;
  z-index:1;
}
body.home section.about .container{position:relative;z-index:2}
body.home .about-grid{
  display:grid;grid-template-columns:0.85fr 1fr;gap:clamp(40px, 6vw, 96px);
  align-items:center;
}
body.home .about-photo{
  aspect-ratio:4/5;
  position:relative;
  overflow:hidden;
}
body.home .about-photo > img{
  width:100%;height:100%;object-fit:cover;
  display:block;
}
body.home .about-photo .stat{
  position:absolute;right:-24px;top:32px;
  background:var(--accent);color:var(--paper);
  padding:24px 28px;text-align:center;
  box-shadow:0 14px 30px rgba(184,48,38,0.28);
}
body.home .about-photo .stat .num{
  font-family:var(--font-display);
  font-size:54px;font-weight:400;line-height:1;
}
body.home .about-photo .stat .lbl{
  font-size:16px;font-weight:500;letter-spacing:0.18em;
  text-transform:uppercase;margin-top:6px;
  opacity:0.9;
}
body.home .about-body .eyebrow{color:rgba(245,240,230,0.6)}
body.home .about-body h2{font-size:clamp(32px, 4vw, 60px);margin:24px 0 28px;max-width:16ch;color:#F5F0E6}
body.home .about-body h2 em{font-style:italic;font-weight:300;color:var(--accent)}
body.home .about-body p{
  color:rgba(245,240,230,0.72);font-size:16.5px;line-height:1.7;
  max-width:50ch;margin:0 0 18px;
}
body.home .about-values{
  display:grid;grid-template-columns:1fr 1fr;gap:14px 32px;
  margin-top:32px;padding-top:32px;
  border-top:1px solid rgba(245,240,230,0.18);
}
body.home .about-values li{
  list-style:none;
  display:flex;align-items:baseline;gap:12px;
  font-size:16px;color:rgba(245,240,230,0.85);
}
body.home .about-values li::before{
  content:"";display:inline-block;
  width:6px;height:6px;border-radius:50%;
  background:var(--accent);
  transform:translateY(-2px);
}
body.home section.about .btn-ghost{border-color:rgba(245,240,230,0.4);color:#F5F0E6}
body.home section.about .btn-ghost:hover{background:#F5F0E6;color:var(--ink);border-color:#F5F0E6}
body.home .about-body .btn{margin-top:36px}

/* GALLERY PREVIEW */
body.home section.gallery{
  padding-block:clamp(80px, 11vw, 160px);
}
body.home .gallery-head{
  display:flex;justify-content:space-between;align-items:end;
  gap:32px;margin-bottom:48px;
}
body.home .gallery-head h2{max-width:18ch}
body.home .gallery-grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  grid-auto-rows:120px;
  gap:14px;
}
body.home .gallery-grid > div{
  overflow:hidden;
  transition:opacity .25s ease;
  position:relative;
  background:var(--bg-soft) center/cover no-repeat;
}
body.home .gallery-grid > div:hover{opacity:0.85}
body.home .g1{grid-column:span 5;grid-row:span 4}
body.home .g2{grid-column:span 4;grid-row:span 3}
body.home .g3{grid-column:span 3;grid-row:span 5}
body.home .g4{grid-column:span 4;grid-row:span 2}
body.home .g5{grid-column:span 5;grid-row:span 3}
body.home .gallery-head .eyebrow{ margin-bottom: 16px; }
body.home .gallery-head h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }


/* RESPONSIVE (home) */
@media (max-width: 920px){
  body.home .about-grid,
  body.home .gallery-head,
  body.home .proces-head,
  body.home .proces-grid,
  body.home .of-head,
  body.home .hero-foot{
    grid-template-columns:1fr;gap:48px;
  }
  body.home .hero-foot{ gap: 28px; padding-top: 32px; }
  body.home .hero-poem .l2{ padding-left: 20px; }
  body.home .hero-poem .l3{ padding-left: 10px; }
  body.home .of-row{ grid-template-columns: 1fr; gap: 40px; padding-block: 56px; }
  body.home .of-row.reverse .of-photo-wrap{ order: 0; }
  body.home .of-text{ grid-template-columns: 56px 1fr; gap: 18px; }
  body.home .of-num{ font-size: 40px; }
  body.home .proces-photo{ position: relative; top: 0; aspect-ratio: 4/3; }
  body.home .proces-step{ grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; }
  body.home .proces-num{ font-size: 30px; }
  body.home .gallery-head{flex-direction:column;align-items:flex-start}
  body.home .gallery-grid{grid-template-columns:repeat(6, 1fr);grid-auto-rows:100px}
  body.home .g1,body.home .g2,body.home .g3,body.home .g4,body.home .g5{grid-column:span 6;grid-row:span 2}
}
@media (max-width: 560px){
  body.home .about-values{ grid-template-columns: 1fr; }
}

/* === O MNIE (o-mnie.html inline) === */

body.page-template-page-o-mnie section.page-hero{
  padding-block: clamp(72px, 10vw, 140px) clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
body.page-template-page-o-mnie .page-hero .container{ position: relative; z-index: 2; }
body.page-template-page-o-mnie .page-hero .grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
body.page-template-page-o-mnie .page-hero .eyebrow{ margin-bottom: 28px; }
body.page-template-page-o-mnie .page-hero h1{
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0 0 24px;
}
body.page-template-page-o-mnie .page-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-o-mnie .page-hero h1 .name-2{
  display: block;
  padding-left: clamp(40px, 6vw, 100px);
}
body.page-template-page-o-mnie .page-hero .lead{ max-width: 42ch; margin-top: 32px; }
body.page-template-page-o-mnie .page-hero-photo{
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
body.page-template-page-o-mnie .page-hero-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
body.page-template-page-o-mnie .page-hero-photo .caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 20px;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(6px);
  color: #F5F0E6;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
body.page-template-page-o-mnie .page-hero-photo .caption-r{ color: rgba(245,240,230,0.65); }
body.page-template-page-o-mnie .page-hero-meta{
  margin-top: clamp(56px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
body.page-template-page-o-mnie .page-hero-meta .meta{
  display: flex; flex-direction: column; gap: 6px;
}
body.page-template-page-o-mnie .page-hero-meta .meta-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-o-mnie .page-hero-meta .meta-v{
  font-family: var(--font-display);
  font-size: 24px; color: var(--ink); font-weight: 400;
}
body.page-template-page-o-mnie .page-hero-meta .meta-v em{ color: var(--accent); font-style: italic; font-weight: 300; }

/* BIO */
body.page-template-page-o-mnie section.bio{
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--bg-soft);
}
body.page-template-page-o-mnie .bio-container{
  max-width: 920px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
body.page-template-page-o-mnie .bio-head{
  margin-bottom: clamp(40px, 6vw, 72px);
  text-align: center;
}
body.page-template-page-o-mnie .bio-head .eyebrow{ margin-bottom: 18px; }
body.page-template-page-o-mnie .bio-head h2{
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 22ch;
  margin-inline: auto;
}
body.page-template-page-o-mnie .bio-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-o-mnie .bio-body{
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
body.page-template-page-o-mnie .bio-body p{
  margin: 0 0 22px;
  max-width: 64ch;
  margin-inline: auto;
  text-wrap: pretty;
}
body.page-template-page-o-mnie .bio-body p.intro::first-letter{
  font-family: var(--font-display);
  font-size: 5em;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 8px 14px 0 0;
  color: var(--accent);
  font-style: italic;
}
body.page-template-page-o-mnie .bio-pullquote{
  margin: clamp(48px, 6vw, 80px) auto;
  max-width: 24ch;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
}
body.page-template-page-o-mnie .bio-pullquote::before, body.page-template-page-o-mnie .bio-pullquote::after{
  content: "";
  display: block;
  width: 56px; height: 1px;
  background: var(--accent);
  margin: 0 auto;
}
body.page-template-page-o-mnie .bio-pullquote::before{ margin-bottom: 28px; }
body.page-template-page-o-mnie .bio-pullquote::after{ margin-top: 28px; }
body.page-template-page-o-mnie .bio-pullquote .accent{ color: var(--accent); }
body.page-template-page-o-mnie .bio-photos{
  margin: clamp(40px, 6vw, 64px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
body.page-template-page-o-mnie .bio-photos figure{
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg);
}
body.page-template-page-o-mnie .bio-photos img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* STATS */
body.page-template-page-o-mnie section.stats{
  padding-block: clamp(64px, 9vw, 120px);
}
body.page-template-page-o-mnie .stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
body.page-template-page-o-mnie .stat-card{
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
}
body.page-template-page-o-mnie .stat-card .stat-n{
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-style: italic;
}
body.page-template-page-o-mnie .stat-card .stat-n .unit{
  font-size: 0.45em;
  color: var(--ink-soft);
  font-style: normal;
  margin-left: 4px;
}
body.page-template-page-o-mnie .stat-card h4{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--ink);
}
body.page-template-page-o-mnie .stat-card p{
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 28ch;
}

/* PHILOSOPHY */
body.page-template-page-o-mnie section.philosophy{
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--ink);
  color: #F5F0E6;
  position: relative;
  overflow: hidden;
}
body.page-template-page-o-mnie section.philosophy::before{
  content: "";
  position: absolute;
  left: -100px; top: -60px;
  width: 460px; height: 460px;
  background: url("assets/img/logo.webp") no-repeat center/contain;
  opacity: 0.1;
  transform: rotate(-8deg);
  filter: saturate(0.7);
  pointer-events: none;
  z-index: 1;
}
body.page-template-page-o-mnie .philosophy .container{ position: relative; z-index: 2; }
body.page-template-page-o-mnie .philosophy .eyebrow{ color: rgba(245,240,230,0.55); }
body.page-template-page-o-mnie .philosophy .eyebrow::before{ background: var(--accent); }
body.page-template-page-o-mnie .philosophy h2{
  color: #F5F0E6;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.0;
  max-width: 18ch;
  margin: 24px 0 64px;
}
body.page-template-page-o-mnie .philosophy h2 em{ color: var(--accent); font-style: italic; font-weight: 300; }
body.page-template-page-o-mnie .principles{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
body.page-template-page-o-mnie .principle{
  padding: 36px clamp(28px, 3vw, 48px);
  border-top: 1px solid rgba(245,240,230,0.18);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}
body.page-template-page-o-mnie .principle:nth-child(odd){ border-right: 1px solid rgba(245,240,230,0.18); }
body.page-template-page-o-mnie .principle:nth-child(-n+2){ border-top: 0; padding-top: 0; }
body.page-template-page-o-mnie .principle:first-child{ padding-left: 0; }
body.page-template-page-o-mnie .principle:nth-child(2){ padding-right: 0; }
body.page-template-page-o-mnie .principle:nth-last-child(2){ padding-left: 0; }
body.page-template-page-o-mnie .principle:last-child{ padding-right: 0; }
body.page-template-page-o-mnie .principle-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
body.page-template-page-o-mnie .principle h3{
  color: #F5F0E6;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.1;
}
body.page-template-page-o-mnie .principle p{
  color: rgba(245,240,230,0.72);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 40ch;
}

/* TIMELINE */
body.page-template-page-o-mnie section.timeline{
  padding-block: clamp(80px, 11vw, 160px);
}
body.page-template-page-o-mnie .timeline-head{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 80px);
}
body.page-template-page-o-mnie .timeline-head .eyebrow{ margin-bottom: 20px; }
body.page-template-page-o-mnie .timeline-head h2{
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 14ch;
}
body.page-template-page-o-mnie .timeline-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-o-mnie .timeline-head p{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}
body.page-template-page-o-mnie .timeline-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
body.page-template-page-o-mnie .timeline-item{
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 32px;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.25s ease;
}
body.page-template-page-o-mnie .timeline-item:last-child{ border-bottom: 1px solid var(--line); }
body.page-template-page-o-mnie .timeline-item:hover{ padding-left: 8px; }
body.page-template-page-o-mnie .timeline-year{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
body.page-template-page-o-mnie .timeline-body h3{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  margin: 0 0 8px;
}
body.page-template-page-o-mnie .timeline-body p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}
body.page-template-page-o-mnie .timeline-tag{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* STUDIO */
body.page-template-page-o-mnie section.studio{
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--bg-soft);
}
body.page-template-page-o-mnie .studio-head{
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}
body.page-template-page-o-mnie .studio-head .eyebrow{ margin-bottom: 12px; display: inline-flex; }
body.page-template-page-o-mnie .studio-head h2{
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  max-width: 16ch;
}
body.page-template-page-o-mnie .studio-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-o-mnie .studio-head p{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 40ch;
  margin: 0;
}
body.page-template-page-o-mnie .studio-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 14px;
}
body.page-template-page-o-mnie .studio-grid > div{
  overflow: hidden;
  background: var(--bg) center/cover no-repeat;
}
body.page-template-page-o-mnie .s1{ grid-column: span 7; grid-row: span 4; }
body.page-template-page-o-mnie .s2{ grid-column: span 5; grid-row: span 3; }
body.page-template-page-o-mnie .s3{ grid-column: span 5; grid-row: span 4; }
body.page-template-page-o-mnie .s4{ grid-column: span 7; grid-row: span 3; }

/* RESPONSIVE (o-mnie) */
@media (max-width: 920px){
  body.page-template-page-o-mnie .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; }
  body.page-template-page-o-mnie .page-hero h1 .name-2{ padding-left: 20px; }
  body.page-template-page-o-mnie .page-hero-meta{ grid-template-columns: 1fr 1fr; gap: 18px; }
  body.page-template-page-o-mnie .stats-grid{ grid-template-columns: 1fr 1fr; gap: 18px; }
  body.page-template-page-o-mnie .principles{ grid-template-columns: 1fr; }
  body.page-template-page-o-mnie .principle:nth-child(odd){ border-right: 0; }
  body.page-template-page-o-mnie .principle:nth-child(2){ border-top: 1px solid rgba(245,240,230,0.18); padding-top: 36px; padding-right: 0; }
  body.page-template-page-o-mnie .principle:nth-last-child(2){ padding-left: 0; padding-right: 0; }
  body.page-template-page-o-mnie .principle{ padding-left: 0; padding-right: 0; }
  body.page-template-page-o-mnie .timeline-head{ grid-template-columns: 1fr; gap: 24px; }
  body.page-template-page-o-mnie .timeline-item{
    grid-template-columns: 100px 1fr;
    grid-template-areas: "year body" "tag body";
    gap: 8px 24px;
  }
  body.page-template-page-o-mnie .timeline-year{ grid-area: year; font-size: 32px; }
  body.page-template-page-o-mnie .timeline-body{ grid-area: body; }
  body.page-template-page-o-mnie .timeline-tag{ grid-area: tag; }
  body.page-template-page-o-mnie .studio-grid{
    grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px;
  }
  body.page-template-page-o-mnie .s1,
  body.page-template-page-o-mnie .s2,
  body.page-template-page-o-mnie .s3,
  body.page-template-page-o-mnie .s4{ grid-column: span 1; grid-row: span 2; }
  body.page-template-page-o-mnie .bio-photos{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  /* ── Timeline / Edukacja – wąski mobile ── */
  body.page-template-page-o-mnie .timeline-item{
    grid-template-columns: 72px 1fr;
    gap: 6px 14px;
    padding-block: 24px;
  }
  body.page-template-page-o-mnie .timeline-year{
    font-size: 24px;
    letter-spacing: -0.01em;
  }
  body.page-template-page-o-mnie .timeline-body h3{
    font-size: 18px;
  }
  body.page-template-page-o-mnie .timeline-tag{
    font-size: 11px;
    letter-spacing: 0.16em;
    white-space: normal;
    line-height: 1.4;
  }
  /* ── Hero meta – jedna kolumna ── */
  body.page-template-page-o-mnie .page-hero-meta{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  /* ── Stats – dwie kolumny zachowane, mniejszy padding ── */
  body.page-template-page-o-mnie .stats-grid{
    gap: 12px;
  }
}

/* === OFERTA (oferta.html inline) === */

body.page-template-page-oferta section.page-hero,
body.home section.page-hero.home-tryptyk{
  padding-block: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body.page-template-page-oferta .page-hero .top-meta,
body.home .home-tryptyk .top-meta{
  display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(20px, 2.5vw, 32px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(245,240,230,0.16);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.65);
  flex-wrap: wrap; gap: 12px;
  z-index: 3;
}
body.page-template-page-oferta .page-hero .top-meta,
body.home .home-tryptyk .top-meta .right{
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  color: var(--accent);
  white-space: nowrap;
}
body.page-template-page-oferta .tryptyk,
body.home .tryptyk{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(245,240,230,0.16);
  min-height: 0;
}
body.page-template-page-oferta .panel,
body.home .panel{
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  color: #F5F0E6;
  text-decoration: none;
  transition: flex-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: var(--bg-soft);
  min-height: 70vh;
}
body.page-template-page-oferta .panel .panel-bg,
body.home .panel .panel-bg{
  position: absolute; inset: 0;
  z-index: 0;
}
body.page-template-page-oferta .panel .panel-bg img,
body.home .panel .panel-bg img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s ease;
  filter: brightness(0.72) saturate(0.95);
}
body.page-template-page-oferta .panel .panel-bg .ph,
body.home .panel .panel-bg .ph{
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(245,240,230,0.04) 0 22px, transparent 22px 23px),
    var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding-top: 18%;
  gap: 14px;
}
body.page-template-page-oferta .panel .panel-bg .ph::before,
body.home .panel .panel-bg .ph::before,
body.page-template-page-oferta .panel .panel-bg .ph::after,
body.home .panel .panel-bg .ph::after{
  content:""; position:absolute; width:28px; height:28px;
  border:1.5px solid var(--accent);
}
body.page-template-page-oferta .panel .panel-bg .ph::before,
body.home .panel .panel-bg .ph::before{top:18px;left:18px;border-right:0;border-bottom:0}
body.page-template-page-oferta .panel .panel-bg .ph::after,
body.home .panel .panel-bg .ph::after{bottom:18px;right:18px;border-left:0;border-top:0}
body.page-template-page-oferta .panel .panel-bg .ph-label,
body.home .panel .panel-bg .ph-label{
  font-size: 16px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(245,240,230,0.7);
}
body.page-template-page-oferta .panel .panel-bg .ph-hint,
body.home .panel .panel-bg .ph-hint{
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: rgba(245,240,230,0.5);
}
body.page-template-page-oferta .panel::after,
body.home .panel::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,0) 35%, rgba(26,20,16,0.88) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}
body.page-template-page-oferta .panel-inner,
body.home .panel-inner{
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
}
body.page-template-page-oferta .panel-num,
body.home .panel-num{
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--accent); font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0;
  opacity: 0.95;
}
body.page-template-page-oferta .panel-name,
body.home .panel-name{
  font-family: var(--font-display);
  font-size: clamp(56px, 6.5vw, 104px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 18px;
  color: #F5F0E6;
}
body.page-template-page-oferta .panel-name em,
body.home .panel-name em{
  font-style: italic; font-weight: 300;
  color: var(--accent);
}
body.page-template-page-oferta .panel-tech,
body.home .panel-tech{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,230,0.78);
  margin-bottom: 24px;
}
body.page-template-page-oferta .panel-foot,
body.home .panel-foot{
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid rgba(245,240,230,0.24);
  gap: 16px;
}
body.page-template-page-oferta .panel-price,
body.home .panel-price{
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--accent); font-weight: 400;
  line-height: 1;
}
body.page-template-page-oferta .panel-price small,
body.home .panel-price small{
  font-family: var(--font-body); font-style: normal;
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.55);
  margin-right: 6px;
}
body.page-template-page-oferta .panel-arrow,
body.home .panel-arrow{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #F5F0E6;
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.3s ease, color 0.25s ease;
}
body.page-template-page-oferta .panel-arrow svg,
body.home .panel-arrow svg{
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
}
body.page-template-page-oferta .panel:hover,
body.home .panel:hover{ flex-grow: 1.6; }
body.page-template-page-oferta .panel:hover .panel-bg img,
body.home .panel:hover .panel-bg img{
  transform: scale(1.06);
  filter: brightness(0.85) saturate(1.05);
}
body.page-template-page-oferta .panel:hover::after,
body.home .panel:hover::after{ opacity: 0.55; }
body.page-template-page-oferta .panel:hover .panel-arrow,
body.home .panel:hover .panel-arrow{ color: var(--accent); gap: 16px; }
body.page-template-page-oferta .panel:hover .panel-arrow svg,
body.home .panel:hover .panel-arrow svg{ transform: translateX(4px); }
body.page-template-page-oferta section.tiles{ display: none; }

/* TILES */
body.page-template-page-oferta section.tiles{
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
  background: var(--bg-soft);
}
body.page-template-page-oferta .tiles-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
body.page-template-page-oferta .tile{
  background: var(--bg);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
body.page-template-page-oferta .tile:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26,20,16,0.08);
}
body.page-template-page-oferta .tile-photo{
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
body.page-template-page-oferta .tile-photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
body.page-template-page-oferta .tile:hover .tile-photo img{ transform: scale(1.04); }
body.page-template-page-oferta .tile-num{
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--accent);
  padding: 28px clamp(24px, 3vw, 36px) 0;
}
body.page-template-page-oferta .tile h2{
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 6px 0 14px;
  padding-inline: clamp(24px, 3vw, 36px);
}
body.page-template-page-oferta .tile h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-oferta .tile-desc{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
  padding-inline: clamp(24px, 3vw, 36px);
  flex-grow: 1;
}
body.page-template-page-oferta .tile-tech{
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 clamp(24px, 3vw, 36px) 22px;
}
body.page-template-page-oferta .tile-tech span{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
body.page-template-page-oferta .tile-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
body.page-template-page-oferta .tile-foot .price-block{
  display: flex; flex-direction: column; gap: 2px;
}
body.page-template-page-oferta .tile-foot .price-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-oferta .tile-foot .price-v{
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; color: var(--accent); font-weight: 400;
  line-height: 1;
}
body.page-template-page-oferta .tile-foot .arrow-cta{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.25s ease;
}
body.page-template-page-oferta .tile:hover .tile-foot .arrow-cta{ gap: 16px; color: var(--accent); }

/* INCLUDED */
body.page-template-page-oferta section.included{
  padding-block: clamp(64px, 9vw, 120px);
}
body.page-template-page-oferta .included-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
body.page-template-page-oferta .included-head .eyebrow{ margin-bottom: 18px; }
body.page-template-page-oferta .included-head h2{
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 18ch;
}
body.page-template-page-oferta .included-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-oferta .included-head p{
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}
body.page-template-page-oferta .included-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
body.page-template-page-oferta .included-item{
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
body.page-template-page-oferta .included-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
body.page-template-page-oferta .included-item h3{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 10px;
}
body.page-template-page-oferta .included-item p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* RESPONSIVE (oferta) */
@media (max-width: 1080px){
  body.page-template-page-oferta .included-grid{ grid-template-columns: 1fr 1fr; }
  body.page-template-page-oferta .panel,
body.home .panel{ min-height: 56vh; }
}
@media (max-width: 820px){
  body.page-template-page-oferta section.page-hero,
body.home section.page-hero.home-tryptyk{ min-height: auto; }
  body.page-template-page-oferta .tryptyk,
body.home .tryptyk{
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(50vh, auto);
    gap: 1px;
  }
  body.page-template-page-oferta .panel,
body.home .panel{ min-height: 50vh; }
  body.page-template-page-oferta .panel:hover,
body.home .panel:hover{ flex-grow: 1; }
  body.page-template-page-oferta .panel-name,
body.home .panel-name{ font-size: clamp(56px, 12vw, 84px); }
  body.page-template-page-oferta .included-head{ grid-template-columns: 1fr; gap: 24px; align-items: start; }
  body.page-template-page-oferta .included-grid{ grid-template-columns: 1fr; gap: 8px; }
  body.page-template-page-oferta .page-hero .top-meta,
body.home .home-tryptyk .top-meta{ font-size: 14px; padding: 16px 20px; flex-wrap: wrap; }
  body.page-template-page-oferta .page-hero .top-meta,
body.home .home-tryptyk .top-meta .right{ font-size: 16px; }
}

/* === CENNIK (cennik.html inline) === */

body.page-template-page-cennik section.page-hero{
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
body.page-template-page-cennik .page-hero .grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
body.page-template-page-cennik .page-hero .eyebrow{ margin-bottom: 28px; }
body.page-template-page-cennik .page-hero h1{
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  max-width: 14ch;
  margin: 0 0 24px;
}
body.page-template-page-cennik .page-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-cennik .page-hero .lead{ max-width: 42ch; }
body.page-template-page-cennik .page-hero .meta-row{
  margin-top: clamp(56px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
body.page-template-page-cennik .page-hero .meta{
  display: flex; flex-direction: column; gap: 6px;
}
body.page-template-page-cennik .page-hero .meta-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-cennik .page-hero .meta-v{
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink);
  font-weight: 400;
}
body.page-template-page-cennik .page-hero .meta-v em{ color: var(--accent); font-style: italic; font-weight: 300; }
body.page-template-page-cennik .page-hero .corner-mark{
  position: absolute;
  bottom: clamp(20px, 3vw, 40px);
  right: clamp(20px, 4vw, 56px);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-cennik .page-hero .signet{
  position: absolute;
  right: clamp(-160px, -6vw, -80px);
  top: clamp(80px, 11vw, 160px);
  width: clamp(360px, 38vw, 540px);
  opacity: 0.32;
  transform: rotate(14deg);
  pointer-events: none;
  z-index: 0;
}
body.page-template-page-cennik .page-hero .container{ position: relative; z-index: 2; }

/* PRICE LIST */
body.page-template-page-cennik section.price{
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink);
  color: #F5F0E6;
  position: relative;
  overflow: hidden;
}
body.page-template-page-cennik section.price::before{
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 340px; height: 340px;
  background: url("assets/img/logo.webp") no-repeat center/contain;
  opacity: 0.12;
  transform: rotate(-12deg);
  filter: saturate(0.7);
  pointer-events: none;
  z-index: 1;
}
body.page-template-page-cennik section.price .container{ position: relative; z-index: 2; }
body.page-template-page-cennik .price-group{
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(245,240,230,0.18);
}
body.page-template-page-cennik .price-group:first-child{ border-top: 0; padding-top: 0; }
body.page-template-page-cennik .price-group:last-child{ padding-bottom: 0; }
body.page-template-page-cennik .price-group-head{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
body.page-template-page-cennik .price-group-head .num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
body.page-template-page-cennik .price-group-head h2{
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: #F5F0E6;
}
body.page-template-page-cennik .price-group-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-cennik .price-group-head p{
  color: rgba(245,240,230,0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}
body.page-template-page-cennik .price-table{
  display: flex; flex-direction: column;
}
body.page-template-page-cennik .price-row{
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 32px;
  align-items: baseline;
  padding-block: 22px;
  border-top: 1px solid rgba(245,240,230,0.18);
  transition: padding 0.25s ease;
}
body.page-template-page-cennik .price-row:last-child{ border-bottom: 1px solid rgba(245,240,230,0.18); }
body.page-template-page-cennik .price-row:hover{ padding-left: 8px; }
body.page-template-page-cennik .price-row-tag{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.55);
}
body.page-template-page-cennik .price-row-name{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: #F5F0E6;
  line-height: 1.2;
}
body.page-template-page-cennik .price-row-name small{
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(245,240,230,0.65);
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}
body.page-template-page-cennik .price-row-time{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,230,0.65);
  white-space: nowrap;
}
body.page-template-page-cennik .price-row-value{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
}
body.page-template-page-cennik .price-note{
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(245,240,230,0.06);
  border-left: 2px solid var(--accent);
  font-size: 16px;
  color: rgba(245,240,230,0.78);
  line-height: 1.55;
  max-width: 64ch;
}
body.page-template-page-cennik .price-note strong{
  color: #F5F0E6;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* EXTRAS */
body.page-template-page-cennik section.price-extras{
  padding-block: clamp(64px, 9vw, 120px);
}
body.page-template-page-cennik .extras-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
body.page-template-page-cennik .extras-col h3{
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  margin: 0 0 28px;
}
body.page-template-page-cennik .extras-col h3 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-cennik .extras-col .eyebrow{ margin-bottom: 16px; }
body.page-template-page-cennik .extras-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
body.page-template-page-cennik .extras-row:last-of-type{ border-bottom: 1px solid var(--line); }
body.page-template-page-cennik .extras-row-name{
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}
body.page-template-page-cennik .extras-row-name small{
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 2px;
}
body.page-template-page-cennik .extras-row-value{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  white-space: nowrap;
}
body.page-template-page-cennik .extras-foot{
  margin-top: 18px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* PRZYCISK PDF W HERO */
body.page-template-page-cennik .cennik-cta-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
body.page-template-page-cennik .cennik-pdf-btn{
  display: inline-flex;
  align-items: center;
}

/* === ZABIEGI (Na dłonie / Na stopy / Na twarz) === */
body.page-template-page-cennik section.zabiegi{
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--bg);
}
body.page-template-page-cennik .zabiegi-head{
  margin-bottom: clamp(36px, 5vw, 60px);
}
body.page-template-page-cennik .zabiegi-head h2{
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0 0;
}
body.page-template-page-cennik .zabiegi-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-cennik .zabiegi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
body.page-template-page-cennik .zabiegi-col-title{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
body.page-template-page-cennik .zabiegi-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-block: 13px;
  border-top: 1px solid var(--line);
}
body.page-template-page-cennik .zabiegi-row:first-of-type{ border-top: 0; }
body.page-template-page-cennik .zabiegi-row-name{
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.35;
}
body.page-template-page-cennik .zabiegi-row-value{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.1vw, 26px);
  color: var(--accent);
  white-space: nowrap;
}

/* === KOSMETYKA TWARZY (karty z opisem + depilacja woskiem) === */
body.page-template-page-cennik section.kosmetyka{
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--bg-soft);
}
body.page-template-page-cennik .kosmetyka-head{
  margin-bottom: clamp(36px, 5vw, 60px);
}
body.page-template-page-cennik .kosmetyka-head h2{
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0 0;
}
body.page-template-page-cennik .kosmetyka-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-cennik .kosmetyka-layout{
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
body.page-template-page-cennik .kosmetyka-list{
  border-top: 1px solid var(--line);
}
body.page-template-page-cennik .kosmetyka-item{
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: baseline;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease;
}
body.page-template-page-cennik .kosmetyka-item:hover{ padding-left: 8px; }
body.page-template-page-cennik .kosmetyka-item-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
}
body.page-template-page-cennik .kosmetyka-item-name{
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
body.page-template-page-cennik .kosmetyka-item-desc{
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: 54ch;
}
body.page-template-page-cennik .kosmetyka-item-price{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(23px, 2.3vw, 28px);
  color: var(--accent);
  white-space: nowrap;
}
body.page-template-page-cennik .wosk-box{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 28px;
  position: sticky;
  top: 24px;
}
body.page-template-page-cennik .wosk-title{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
body.page-template-page-cennik .wosk-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}
body.page-template-page-cennik .wosk-row:first-of-type{ border-top: 0; }
body.page-template-page-cennik .wosk-row-name{ font-size: 17px; color: var(--ink-soft); }
body.page-template-page-cennik .wosk-row-value{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.1vw, 26px);
  color: var(--accent);
  white-space: nowrap;
}

/* RESPONSIVE (cennik) */
@media (max-width: 920px){
  body.page-template-page-cennik .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; align-items: start; }
  body.page-template-page-cennik .page-hero .meta-row{ grid-template-columns: 1fr 1fr; gap: 18px; }
  body.page-template-page-cennik .price-group-head{ grid-template-columns: 1fr; gap: 24px; align-items: start; }
  body.page-template-page-cennik .price-row{
    grid-template-columns: 56px 1fr;
    grid-template-areas: "tag name" "time value";
    gap: 12px 24px;
  }
  body.page-template-page-cennik .price-row-tag{ grid-area: tag; align-self: start; }
  body.page-template-page-cennik .price-row-name{ grid-area: name; }
  body.page-template-page-cennik .price-row-time{ grid-area: time; grid-column: 1 / -1; }
  body.page-template-page-cennik .price-row-value{ grid-area: value; justify-self: end; grid-column: 1 / -1; }
  body.page-template-page-cennik .extras-grid{ grid-template-columns: 1fr; gap: 56px; }
  body.page-template-page-cennik .page-hero .signet{ width: 220px; right: -60px; top: 60px; opacity: 0.28; }
}

@media (max-width: 560px){
  /* Ukryj literowe tagi (A/B/C) na mobile */
  body.page-template-page-cennik .price-row-tag{ display: none; }
  /* Nazwa po lewej, cena po prawej – w tej samej linii */
  body.page-template-page-cennik .price-row{
    grid-template-columns: 1fr auto;
    grid-template-areas: "name value" "time time";
    gap: 6px 16px;
    padding-block: 20px;
  }
  body.page-template-page-cennik .price-row-name{
    grid-area: name;
    font-size: clamp(19px, 4.8vw, 23px);
    line-height: 1.25;
  }
  body.page-template-page-cennik .price-row-value{
    grid-area: value;
    grid-column: auto;
    justify-self: end;
    align-self: start;
    font-size: clamp(22px, 6vw, 28px);
  }
  /* Czas – drobny tekst pod spodem */
  body.page-template-page-cennik .price-row-time{
    grid-area: time;
    grid-column: auto;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(245,240,230,0.5);
  }
}

/* RESPONSIVE – nowe sekcje cennika */
@media (max-width: 920px){
  body.page-template-page-cennik .zabiegi-grid{ grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  body.page-template-page-cennik .kosmetyka-layout{ grid-template-columns: 1fr; gap: 40px; }
  body.page-template-page-cennik .wosk-box{ position: static; }
}
@media (max-width: 640px){
  body.page-template-page-cennik .zabiegi-grid{ grid-template-columns: 1fr; gap: 36px; }
  body.page-template-page-cennik .kosmetyka-item{ grid-template-columns: 1fr auto; column-gap: 18px; }
  body.page-template-page-cennik .kosmetyka-item-num{ display: none; }
  body.page-template-page-cennik .cennik-cta-row{ gap: 10px; }
  body.page-template-page-cennik .cennik-pdf-btn{ width: 100%; justify-content: center; }
}

/* === GALERIA (galeria.html inline) === */

body.page-template-page-galeria section.page-hero{
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
body.page-template-page-galeria .page-hero .container{ position: relative; z-index: 2; }
body.page-template-page-galeria .page-hero .grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
body.page-template-page-galeria .page-hero .eyebrow{ margin-bottom: 28px; }
body.page-template-page-galeria .page-hero h1{
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.92;
  max-width: 14ch;
  margin: 0 0 24px;
}
body.page-template-page-galeria .page-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-galeria .page-hero .lead{ max-width: 42ch; }
body.page-template-page-galeria .page-hero .signet{
  position: absolute;
  right: clamp(-160px, -6vw, -80px);
  top: clamp(80px, 11vw, 160px);
  width: clamp(360px, 38vw, 540px);
  opacity: 0.32;
  transform: rotate(14deg);
  pointer-events: none;
  z-index: 0;
}
body.page-template-page-galeria .page-hero-meta{
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
body.page-template-page-galeria .page-hero-meta .meta{
  display: flex; flex-direction: column; gap: 6px;
}
body.page-template-page-galeria .page-hero-meta .meta-l{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-galeria .page-hero-meta .meta-v{
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink); font-weight: 400;
}
body.page-template-page-galeria .page-hero-meta .meta-v em{ color: var(--accent); font-style: italic; font-weight: 300; }

/* FILTER BAR */
body.page-template-page-galeria section.filter-bar{
  position: sticky; top: 80px;
  z-index: 30;
  background: rgba(245,240,230,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-block: 1px solid var(--line);
}
body.page-template-page-galeria .filter-bar .inner{
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding-block: 18px;
  flex-wrap: wrap;
}
body.page-template-page-galeria .filter-buttons{
  display: flex; gap: 4px; flex-wrap: wrap;
}
body.page-template-page-galeria .filter-btn{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
  display: inline-flex; align-items: baseline; gap: 8px;
  cursor: pointer;
}
body.page-template-page-galeria .filter-btn:hover{ color: var(--ink); border-color: var(--line); }
body.page-template-page-galeria .filter-btn.active{
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
body.page-template-page-galeria .filter-btn .count{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
}
body.page-template-page-galeria .filter-btn.active .count{ color: rgba(245,240,230,0.55); }
body.page-template-page-galeria .filter-bar .right{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* GALLERY GRID */
body.page-template-page-galeria section.gallery{
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 140px);
}
body.page-template-page-galeria .gallery-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 14px;
}
body.page-template-page-galeria .g-item{
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-soft);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
body.page-template-page-galeria .g-item.hidden{ display: none; }
body.page-template-page-galeria .g-item img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
body.page-template-page-galeria .g-item:hover img{ transform: scale(1.04); }
body.page-template-page-galeria .g-item .g-overlay{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(26,20,16,0.8));
  color: #F5F0E6;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
body.page-template-page-galeria .g-item:hover .g-overlay{ opacity: 1; transform: translateY(0); }
body.page-template-page-galeria .g-item .g-cat{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
body.page-template-page-galeria .g-item .g-title{
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}
body.page-template-page-galeria .g-item.placeholder{
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(26,20,16,0.04) 22px 23px),
    var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
}
body.page-template-page-galeria .g-item.placeholder::before, body.page-template-page-galeria .g-item.placeholder::after{
  content:""; position:absolute; width:20px; height:20px;
  border:1.5px solid var(--accent);
}
body.page-template-page-galeria .g-item.placeholder::before{top:12px;left:12px;border-right:0;border-bottom:0}
body.page-template-page-galeria .g-item.placeholder::after{bottom:12px;right:12px;border-left:0;border-top:0}
body.page-template-page-galeria .g-item.placeholder .ph-label{
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center;
}
body.page-template-page-galeria .g-item.placeholder .ph-hint{
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--muted);
  max-width: 22ch; text-align: center; line-height: 1.4;
}
body.page-template-page-galeria .g-3-3 { grid-column: span 3; grid-row: span 3; }
body.page-template-page-galeria .g-3-4 { grid-column: span 3; grid-row: span 4; }
body.page-template-page-galeria .g-3-5 { grid-column: span 3; grid-row: span 5; }
body.page-template-page-galeria .g-4-3 { grid-column: span 4; grid-row: span 3; }
body.page-template-page-galeria .g-4-4 { grid-column: span 4; grid-row: span 4; }
body.page-template-page-galeria .g-4-5 { grid-column: span 4; grid-row: span 5; }
body.page-template-page-galeria .g-5-4 { grid-column: span 5; grid-row: span 4; }
body.page-template-page-galeria .g-5-5 { grid-column: span 5; grid-row: span 5; }
body.page-template-page-galeria .g-6-3 { grid-column: span 6; grid-row: span 3; }
body.page-template-page-galeria .g-6-4 { grid-column: span 6; grid-row: span 4; }
body.page-template-page-galeria .no-results{
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--muted);
  display: none;
}
body.page-template-page-galeria .no-results.show{ display: block; }

/* RESPONSIVE (galeria) */
@media (max-width: 1080px){
  body.page-template-page-galeria .gallery-grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
  body.page-template-page-galeria .g-3-3,
  body.page-template-page-galeria .g-3-4,
  body.page-template-page-galeria .g-3-5,
  body.page-template-page-galeria .g-4-3,
  body.page-template-page-galeria .g-4-4,
  body.page-template-page-galeria .g-4-5,
  body.page-template-page-galeria .g-5-4,
  body.page-template-page-galeria .g-5-5,
  body.page-template-page-galeria .g-6-3,
  body.page-template-page-galeria .g-6-4{ grid-column: span 3; }
  body.page-template-page-galeria .g-3-3,
  body.page-template-page-galeria .g-4-3,
  body.page-template-page-galeria .g-6-3{ grid-row: span 3; }
  body.page-template-page-galeria .g-3-4,
  body.page-template-page-galeria .g-4-4,
  body.page-template-page-galeria .g-6-4{ grid-row: span 4; }
  body.page-template-page-galeria .g-3-5,
  body.page-template-page-galeria .g-4-5,
  body.page-template-page-galeria .g-5-5{ grid-row: span 5; }
}
@media (max-width: 640px){
  body.page-template-page-galeria .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; align-items: start; }
  body.page-template-page-galeria .page-hero-meta{ grid-template-columns: 1fr 1fr; gap: 18px; }
  body.page-template-page-galeria .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  body.page-template-page-galeria .g-3-3,
  body.page-template-page-galeria .g-3-4,
  body.page-template-page-galeria .g-3-5,
  body.page-template-page-galeria .g-4-3,
  body.page-template-page-galeria .g-4-4,
  body.page-template-page-galeria .g-4-5,
  body.page-template-page-galeria .g-5-4,
  body.page-template-page-galeria .g-5-5,
  body.page-template-page-galeria .g-6-3,
  body.page-template-page-galeria .g-6-4{ grid-column: span 1; grid-row: span 2; }
  body.page-template-page-galeria .filter-bar .inner{ padding-block: 14px; }
  body.page-template-page-galeria .filter-btn{ padding: 8px 12px; font-size: 16px; }
  body.page-template-page-galeria section.filter-bar{ top: 64px; }
  body.page-template-page-galeria .page-hero .signet{ width: 220px; right: -60px; top: 60px; opacity: 0.28; }
}

/* === KONTAKT (kontakt.html inline) === */

body.page-template-page-kontakt section.page-hero{
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
body.page-template-page-kontakt .page-hero .grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
body.page-template-page-kontakt .page-hero .eyebrow{ margin-bottom: 28px; }
body.page-template-page-kontakt .page-hero h1{
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  max-width: 14ch;
  margin: 0 0 24px;
}
body.page-template-page-kontakt .page-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-kontakt .page-hero .lead{ max-width: 42ch; }
body.page-template-page-kontakt .page-hero .signet{
  position: absolute;
  right: clamp(-160px, -6vw, -80px);
  top: clamp(80px, 11vw, 160px);
  width: clamp(360px, 38vw, 540px);
  opacity: 0.32;
  transform: rotate(14deg);
  pointer-events: none;
  z-index: 0;
}
body.page-template-page-kontakt .page-hero .container{ position: relative; z-index: 2; }

/* CONTACT GRID */
body.page-template-page-kontakt section.contact{
  padding-block: clamp(56px, 8vw, 96px) clamp(80px, 11vw, 160px);
}
body.page-template-page-kontakt .contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
body.page-template-page-kontakt .contact-info .eyebrow{ margin-bottom: 18px; }
body.page-template-page-kontakt .contact-info h2{
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 36px;
  max-width: 14ch;
}
body.page-template-page-kontakt .contact-info h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-kontakt .contact-block{
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
body.page-template-page-kontakt .contact-block:last-of-type{ border-bottom: 1px solid var(--line); }
body.page-template-page-kontakt .contact-block-label{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
body.page-template-page-kontakt .contact-block-value{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}
body.page-template-page-kontakt .contact-block-value a{
  color: var(--ink); text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
body.page-template-page-kontakt .contact-block-value a:hover{
  color: var(--accent);
  border-bottom-color: var(--accent);
}
body.page-template-page-kontakt .contact-block-value small{
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 6px;
}
body.page-template-page-kontakt .contact-hours{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
body.page-template-page-kontakt .contact-hours .day{ color: var(--ink-soft); }
body.page-template-page-kontakt .contact-hours .closed{ color: var(--muted); font-style: italic; }
body.page-template-page-kontakt .contact-socials{
  display: flex;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}
body.page-template-page-kontakt .contact-social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
  transition: all 0.25s ease;
}
body.page-template-page-kontakt .contact-social:hover{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* FORM */
body.page-template-page-kontakt .contact-form{
  background: var(--bg-soft);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}
body.page-template-page-kontakt .contact-form::before{
  content: "";
  position: absolute;
  right: 24px; top: 24px;
  width: 36px; height: 1px;
  background: var(--accent);
}

/* Nakładka „kontakt telefoniczny" na formularz (tymczasowa) */
body.page-template-page-kontakt .contact-form-wrap{ position: relative; }
body.page-template-page-kontakt .contact-form-wrap .contact-form{
  filter: blur(2.5px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}
body.page-template-page-kontakt .contact-form-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
  z-index: 3;
}
body.page-template-page-kontakt .cfo-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 44px);
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 60px -28px rgba(26,20,16,0.45);
}
body.page-template-page-kontakt .cfo-eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
body.page-template-page-kontakt .cfo-card h3{
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
body.page-template-page-kontakt .cfo-card p{
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 22px;
}
body.page-template-page-kontakt .cfo-card .btn{ white-space: nowrap; }
body.page-template-page-kontakt .contact-form h3{
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 8px;
}
body.page-template-page-kontakt .contact-form h3 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-kontakt .contact-form p.intro{
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 36ch;
}
body.page-template-page-kontakt .form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
body.page-template-page-kontakt .form-field{ display: flex; flex-direction: column; }
body.page-template-page-kontakt .form-field.full{ grid-column: 1 / -1; }
body.page-template-page-kontakt .form-field label{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
body.page-template-page-kontakt .form-field label .req{ color: var(--accent); }
body.page-template-page-kontakt .form-field input,
body.page-template-page-kontakt .form-field select,
body.page-template-page-kontakt .form-field textarea{
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  outline: 0;
  transition: border-color 0.2s;
}
body.page-template-page-kontakt .form-field input:focus,
body.page-template-page-kontakt .form-field select:focus,
body.page-template-page-kontakt .form-field textarea:focus{ border-bottom-color: var(--accent); }
body.page-template-page-kontakt .form-field textarea{ resize: vertical; min-height: 100px; }
body.page-template-page-kontakt .form-field select{
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1410' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
  padding-right: 24px;
}
body.page-template-page-kontakt .form-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}
body.page-template-page-kontakt .form-consent{
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 38ch;
}
body.page-template-page-kontakt .form-consent a{
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* MAP */
body.page-template-page-kontakt section.map-section{
  padding-block: 0 0;
}
body.page-template-page-kontakt .map-frame{
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--bg-soft);
}
body.page-template-page-kontakt .map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}
body.page-template-page-kontakt .map-overlay{
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 56px);
  background: var(--bg);
  padding: 24px 28px;
  max-width: 360px;
  border-left: 2px solid var(--accent);
  z-index: 2;
}
body.page-template-page-kontakt .map-overlay .eyebrow{ margin-bottom: 10px; }
body.page-template-page-kontakt .map-overlay h4{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 10px;
}
body.page-template-page-kontakt .map-overlay p{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
body.page-template-page-kontakt .map-placeholder{
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 35% 50%, rgba(184,48,38,0.08), transparent 40%),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(26,20,16,0.025) 24px 25px),
    var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-template-page-kontakt .map-pin{
  position: absolute;
  left: 35%; top: 50%;
  transform: translate(-50%, -100%);
}
body.page-template-page-kontakt .map-pin-svg{
  width: 48px; height: 48px;
  color: var(--accent);
}
body.page-template-page-kontakt .map-pin::after{
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 14px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  filter: blur(2px);
}
body.page-template-page-kontakt .map-note{
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  top: clamp(24px, 4vw, 56px);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding: 8px 14px;
  z-index: 2;
}

/* FORM STATUS – sukces / błąd */
body.page-template-page-kontakt .form-status{
  margin-top: 20px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  border-radius: 0;
}
body.page-template-page-kontakt .form-status--success{
  background: rgba(0, 120, 60, 0.07);
  color: #1a6b3c;
  border-left: 2px solid #1a6b3c;
}
body.page-template-page-kontakt .form-status--error{
  background: rgba(184, 48, 38, 0.07);
  color: var(--accent);
  border-left: 2px solid var(--accent);
}

/* RESPONSIVE (kontakt) */
@media (max-width: 920px){
  body.page-template-page-kontakt .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; align-items: start; }
  body.page-template-page-kontakt .contact-grid{ grid-template-columns: 1fr; gap: 56px; }
  body.page-template-page-kontakt .form-grid{ grid-template-columns: 1fr; }
  body.page-template-page-kontakt .map-frame{ aspect-ratio: 4/5; }
  body.page-template-page-kontakt .map-overlay{ max-width: none; right: clamp(24px, 4vw, 56px); }
  body.page-template-page-kontakt .page-hero .signet{ width: 220px; right: -60px; top: 60px; opacity: 0.28; }
}

/* === POLITYKA PRYWATNOŚCI (polityka-prywatnosci.html inline) === */

body.page-template-page-polityka-prywatnosci section.page-hero{
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
body.page-template-page-polityka-prywatnosci .page-hero .container{ position: relative; z-index: 2; }
body.page-template-page-polityka-prywatnosci .page-hero .grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
body.page-template-page-polityka-prywatnosci .page-hero .eyebrow{ margin-bottom: 28px; }
body.page-template-page-polityka-prywatnosci .page-hero h1{
  font-size: clamp(56px, 8vw, 132px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  max-width: 14ch;
  margin: 0 0 24px;
}
body.page-template-page-polityka-prywatnosci .page-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-polityka-prywatnosci .page-hero .lead{ max-width: 42ch; }
body.page-template-page-polityka-prywatnosci .page-hero .signet{
  position: absolute;
  right: clamp(-160px, -6vw, -80px);
  top: clamp(80px, 11vw, 160px);
  width: clamp(360px, 38vw, 540px);
  opacity: 0.32;
  transform: rotate(14deg);
  pointer-events: none;
  z-index: 0;
}
body.page-template-page-polityka-prywatnosci .page-hero .updated{
  margin-top: clamp(48px, 7vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
body.page-template-page-polityka-prywatnosci .page-hero .updated em{
  font-family: var(--font-display); font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--accent);
}

/* CONTENT */
body.page-template-page-polityka-prywatnosci section.policy{
  padding-block: clamp(48px, 7vw, 96px) clamp(80px, 11vw, 160px);
}
body.page-template-page-polityka-prywatnosci .policy-grid{
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
body.page-template-page-polityka-prywatnosci .policy-toc{
  position: sticky;
  top: 100px;
  font-family: var(--font-body);
}
body.page-template-page-polityka-prywatnosci .policy-toc-label{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
body.page-template-page-polityka-prywatnosci .policy-toc ol{
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
}
body.page-template-page-polityka-prywatnosci .policy-toc li{
  counter-increment: toc;
  padding-block: 10px;
  border-bottom: 1px solid transparent;
}
body.page-template-page-polityka-prywatnosci .policy-toc a{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: color 0.2s;
}
body.page-template-page-polityka-prywatnosci .policy-toc a:hover{ color: var(--accent); }
body.page-template-page-polityka-prywatnosci .policy-toc a::before{
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
}
body.page-template-page-polityka-prywatnosci .policy-content{
  max-width: 64ch;
}
body.page-template-page-polityka-prywatnosci .policy-section{
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
body.page-template-page-polityka-prywatnosci .policy-section:first-of-type{ border-top: 0; padding-top: 0; }
body.page-template-page-polityka-prywatnosci .policy-section .eyebrow{ margin-bottom: 18px; }
body.page-template-page-polityka-prywatnosci .policy-section h2{
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 18ch;
}
body.page-template-page-polityka-prywatnosci .policy-section h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.page-template-page-polityka-prywatnosci .policy-section h3{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 28px 0 10px;
}
body.page-template-page-polityka-prywatnosci .policy-section p{
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: pretty;
}
body.page-template-page-polityka-prywatnosci .policy-section ul{
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
body.page-template-page-polityka-prywatnosci .policy-section ul li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
body.page-template-page-polityka-prywatnosci .policy-section ul li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 1.5px;
  background: var(--accent);
}
body.page-template-page-polityka-prywatnosci .policy-section a{
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}
body.page-template-page-polityka-prywatnosci .policy-section a:hover{
  color: var(--accent);
  border-bottom-color: var(--accent);
}
body.page-template-page-polityka-prywatnosci .policy-section .callout{
  background: var(--bg-soft);
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-block: 20px;
}
body.page-template-page-polityka-prywatnosci .policy-section .callout strong{
  color: var(--ink); font-weight: 600;
  display: block; margin-bottom: 4px;
  font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* FINAL CTA (polityka — smaller) */
body.page-template-page-polityka-prywatnosci section.final-cta{
  padding-block: clamp(64px, 8vw, 100px);
}
body.page-template-page-polityka-prywatnosci .final-cta h2{
  font-size: clamp(32px, 4vw, 48px);
  margin: 18px auto 20px;
}
body.page-template-page-polityka-prywatnosci .final-cta p{
  font-size: 16px;
  margin-bottom: 28px;
}

/* RESPONSIVE (polityka) */
@media (max-width: 920px){
  body.page-template-page-polityka-prywatnosci .page-hero .grid{ grid-template-columns: 1fr; gap: 32px; align-items: start; }
  body.page-template-page-polityka-prywatnosci .policy-grid{ grid-template-columns: 1fr; gap: 40px; }
  body.page-template-page-polityka-prywatnosci .policy-toc{ position: relative; top: 0; }
  body.page-template-page-polityka-prywatnosci .page-hero .signet{ width: 220px; right: -60px; top: 60px; opacity: 0.28; }
}

/* === 404 (404.html inline) === */

body.error404 section.notfound{
  min-height: calc(100vh - 88px);
  padding-block: clamp(64px, 9vw, 120px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
body.error404 section.notfound::before{
  content: "";
  position: absolute;
  left: -120px; top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: 520px; height: 520px;
  background: url("assets/img/logo.webp") no-repeat center/contain;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
body.error404 .nf-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  position: relative;
  z-index: 2;
}
body.error404 .nf-number{
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(180px, 26vw, 420px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  margin: 0;
  position: relative;
}
body.error404 .nf-number .digit-mid{
  font-style: italic;
  color: var(--accent);
  display: inline-block;
  transform: translateY(0.05em);
}
body.error404 .nf-content .eyebrow{ margin-bottom: 24px; }
body.error404 .nf-content h1{
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0 0 24px;
  max-width: 18ch;
}
body.error404 .nf-content h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
body.error404 .nf-content p{
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 0 36px;
}
body.error404 .nf-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
body.error404 .nf-links{
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
body.error404 .nf-links-label{
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
body.error404 .nf-links-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
body.error404 .nf-links-grid a{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  transition: color 0.2s, padding-left 0.25s;
}
body.error404 .nf-links-grid a:hover{
  color: var(--accent);
  padding-left: 6px;
}
body.error404 .nf-links-grid a::before{
  content: attr(data-num);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
}

/* RESPONSIVE (404) */
@media (max-width: 920px){
  body.error404 .nf-grid{ grid-template-columns: 1fr; gap: 32px; }
  body.error404 .nf-number{ font-size: clamp(160px, 36vw, 240px); }
  body.error404 .nf-links-grid{ grid-template-columns: 1fr; gap: 8px; }
  body.error404 section.notfound::before{
    left: -80px; width: 320px; height: 320px; opacity: 0.25;
  }
}

/* === MOBILE MENU OVERLAY === */

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* active state */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen overlay — animated */
.nav-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}
.nav-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-inline: clamp(20px, 6vw, 64px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.nav-overlay.is-open nav {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay nav a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
  line-height: 1.1;
}
.nav-overlay nav a:hover { color: var(--accent); }
.nav-overlay nav a:last-child { border-bottom: none; }
.nav-overlay .overlay-cta {
  margin-top: 32px;
}
/* Mobile CTA — biały tekst na ciemnym tle */
.nav-overlay .overlay-cta a,
.nav-overlay .overlay-cta a.btn,
.nav-overlay .overlay-cta a.btn-primary {
  color: var(--paper);
  border-bottom: none;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-overlay .overlay-cta a.btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}

@media (max-width: 920px) {
  .nav-hamburger { display: flex; }
}
@media (min-width: 921px) {
  .nav-overlay { display: none !important; }
}

/* ─── DESKTOP NAV DROPDOWN ──────────────────────────────────────────── */
nav.main .has-sub {
  position: relative;
  /* Większy obszar hover żeby kursor nie tracił go przy zjeżdżaniu w dół */
  padding-bottom: 18px;
  margin-bottom: -18px;
}
nav.main .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
nav.main .sub-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
nav.main .has-sub:hover .sub-arrow,
nav.main .has-sub:focus-within .sub-arrow {
  transform: rotate(180deg);
}
nav.main .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--line);
  list-style: none;
  /* padding-top większy żeby był „buffer" między triggerem a pozycjami */
  padding: 14px 0 8px 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  /* delay 120ms przy chowaniu — daje czas na zjazd kursora */
  transition: opacity 0.2s ease 0.12s, transform 0.2s ease 0.12s, visibility 0s 0.32s;
  visibility: hidden;
  box-shadow: 0 12px 32px rgba(26,20,16,0.1);
  z-index: 10;
}
/* Niewidzialny buffer pokrywający lukę między linkiem a panelem
   — utrzymuje hover gdy kursor przechodzi w pionie */
nav.main .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: transparent;
}
nav.main .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main .has-sub:hover .sub-menu,
nav.main .has-sub:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  /* przy pokazaniu — natychmiast, bez delay */
  transition: opacity 0.2s ease 0s, transform 0.2s ease 0s, visibility 0s 0s;
}
nav.main .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
nav.main .sub-menu li a:hover {
  color: var(--accent);
  background: var(--bg-soft);
}

/* ─── MOBILE OVERLAY CLOSE BUTTON ──────────────────────────────────── */
.nav-overlay__close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
  z-index: 101;
}
.nav-overlay__close:hover {
  color: var(--accent);
}

/* ─── FAB STACK — oba przyciski po prawej, jeden nad drugim ────────── */
.fab-stack {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  pointer-events: none;
}
.fab-stack > * { pointer-events: auto; }

.follow-link,
.mack-fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 32px rgba(26,20,16,0.20);
  transition: background 0.25s ease, transform 0.25s ease;
  max-width: 260px;
}
.follow-link:hover { background: var(--accent); }
.mack-fab__btn { background: var(--accent); }
.mack-fab__btn:hover { background: var(--accent-2); }

.follow-link__icon,
.mack-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(245,240,230,0.12);
}
.mack-fab__btn .mack-fab__icon { background: rgba(255,255,255,0.18); }

.follow-link__icon svg,
.mack-fab__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

.follow-link__text,
.mack-fab__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.follow-link__text small,
.mack-fab__text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.7;
  line-height: 1.1;
  text-transform: uppercase;
}
.follow-link__text strong,
.mack-fab__text strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
}

/* Mobile: zwijamy do kółek z samymi ikonami */
@media (max-width: 720px) {
  .fab-stack { gap: 10px; }
  .follow-link,
  .mack-fab__btn {
    padding: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    max-width: none;
  }
  .follow-link__text,
  .mack-fab__text { display: none; }
  .follow-link__icon,
  .mack-fab__icon {
    background: transparent;
    width: 24px; height: 24px;
  }
  .follow-link__icon svg,
  .mack-fab__icon svg { width: 22px; height: 22px; }
}