/* =====================================================================
   WASZE ŚWIATŁO — Klaudia · fotografia
   Elegancki, glamour, jasny szablon. Dwa motywy: "light" i "warm".
   ===================================================================== */

/* ---------- THEME TOKENS ---------- */
:root,
[data-theme="light"] {
  --bg:            #fbfaf8;
  --bg-alt:        #f3efe9;
  --surface:       #ffffff;
  --ink:           #2c2926;
  --ink-soft:      #6c655d;
  --line:          #e7e0d6;
  --accent:        #b79167;   /* champagne / rose-gold */
  --accent-deep:   #9a774f;
  --accent-tint:   #f5ece1;
  --on-accent:     #ffffff;
  --veil:          linear-gradient(180deg, rgba(28,25,22,.15) 0%, rgba(28,25,22,.10) 40%, rgba(28,25,22,.55) 100%);
  --shadow:        0 24px 60px -30px rgba(60,48,36,.45);
}

[data-theme="warm"] {
  --bg:            #ece4d8;
  --bg-alt:        #e2d7c6;
  --surface:       #f4ede2;
  --ink:           #4a3f34;
  --ink-soft:      #7c6f5e;
  --line:          #d3c4ae;
  --accent:        #9a7d59;
  --accent-deep:   #7c6244;
  --accent-tint:   #ddceb8;
  --on-accent:     #fbf7f0;
  --veil:          linear-gradient(180deg, rgba(58,46,32,.18) 0%, rgba(58,46,32,.10) 40%, rgba(58,46,32,.6) 100%);
  --shadow:        0 24px 60px -30px rgba(70,54,36,.5);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .6s ease, color .6s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .01em;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 400;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--ink);
}

/* ---------- LAYOUT ---------- */
.section {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.4rem, 6vw, 7rem);
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.8rem, 6vw, 4.5rem);
  text-align: center;
}
.section-intro {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1.05em 2.3em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s ease;
  border-radius: 2px;
  font-weight: 400;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.9); color: var(--ink); border-color:#fff; }
.btn-block { width: 100%; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background-color .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: .4rem 0;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem clamp(1.4rem, 6vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
.brand-sub {
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
/* header over hero (top, not scrolled) → light text */
.site-header:not(.scrolled) .brand-mark,
.site-header:not(.scrolled) .brand-sub,
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .theme-label { color: #fff; }
.site-header:not(.scrolled) .nav-burger span { background: #fff; }

.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  padding: .3rem 0;
  color: var(--ink);
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .35s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.theme-toggle {
  display: flex; align-items: center; gap: .55rem;
  background: transparent; border: 1px solid var(--line);
  padding: .5rem .9rem; border-radius: 40px; cursor: pointer;
  transition: all .3s;
}
.site-header:not(.scrolled) .theme-toggle { border-color: rgba(255,255,255,.5); }
.theme-toggle:hover { border-color: var(--accent); }
.theme-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--surface);
}
.theme-label { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.nav-ig {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--accent-deep); transition: color .3s ease, background-color .3s ease, transform .3s ease;
}
.nav-ig svg { width: 22px; height: 22px; }
.nav-ig:hover {
  color: #fff; transform: translateY(-1px);
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
}
.site-header:not(.scrolled) .nav-ig { color: #fff; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: all .3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-veil { position: absolute; inset: 0; background: var(--veil); }
.hero-content {
  max-width: 1400px;
  width: 100%;
  margin: auto auto 0;               /* dosunięte do dołu, wyśrodkowane w poziomie */
  /* padding-top gwarantuje odstęp od nagłówka na niskich ekranach */
  padding: clamp(6.5rem, 14vh, 10rem) clamp(1.4rem, 6vw, 7rem) clamp(4rem, 9vw, 7rem);
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero-title {
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
  max-width: 15ch;
}
.hero-lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: 1.12rem;
  color: rgba(255,255,255,.92);
}
.hero-cta { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px;
  background: #fff; transform: translateX(-50%);
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,14px)} 100%{opacity:0} }

/* ---------- ABOUT ---------- */
.about { }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.5); pointer-events: none;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin-bottom: 1.15rem; color: var(--ink-soft); }
.about-text .section-title { margin: .3rem 0 1.6rem; }
.signature {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--accent-deep);
  margin-top: .6rem !important;
}

/* ---------- OFFER ---------- */
.offer { background: var(--bg-alt); max-width: none; }
.offer > .section-head, .offer > .offer-grid { max-width: 1400px; margin-left: auto; margin-right: auto; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.offer-card {
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease;
}
.offer-card:hover { transform: translateY(-6px); }
.offer-thumb { aspect-ratio: 3/4; overflow: hidden; }
.offer-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.offer-card:hover .offer-thumb img { transform: scale(1.06); }
.offer-body { padding: 1.6rem 1.5rem 2rem; }
.offer-body h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.offer-body p { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- GALLERY ---------- */
.masonry { column-count: 3; column-gap: 1rem; }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.masonry-item img { width: 100%; transition: transform .8s ease, filter .5s ease; }
.masonry-item::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent); opacity: 0; transition: opacity .4s ease; mix-blend-mode: multiply;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover::after { opacity: .12; }

/* ---------- PRICING ---------- */
.pricing-group-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  text-align: center;
  margin: clamp(2rem, 5vw, 3.5rem) 0 .4rem;
}
.pricing-group-title:first-of-type { margin-top: 0; }
.pricing-group-sub { text-align: center; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 2.4rem; font-size: .98rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
  margin-bottom: 1.6rem;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.6rem 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--on-accent);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45em 1.2em; border-radius: 40px; white-space: nowrap;
}
.price-name { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-deep); }
.price-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.4rem; font-weight: 600; line-height: 1; margin: .5rem 0 1.6rem; color: var(--ink);
}
.price-value span { font-size: 1.1rem; margin-left: .25rem; color: var(--ink-soft); font-family: "Jost", sans-serif; }
.price-feats { list-style: none; padding: 0; margin: 0 0 2rem; text-align: left; }
.price-feats li {
  font-size: .92rem; color: var(--ink-soft); padding: .6rem 0 .6rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--line);
}
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg);
}
.price-feats li.price-alt { color: var(--accent-deep); font-style: italic; }
.price-card .btn { margin-top: auto; }

/* ---------- CONTACT ---------- */
.contact { max-width: none; padding-left: 0; padding-right: 0; padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.contact-media { position: relative; }
.contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-panel {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.6rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-alt);
}
.contact-intro { color: var(--ink-soft); margin: 1.2rem 0 2rem; max-width: 44ch; }
.contact-details { list-style: none; padding: 0; margin: 0 0 2.6rem; }
.contact-details li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.contact-details li span {
  min-width: 92px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep);
}
.contact-details a:hover { color: var(--accent-deep); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: "Jost", sans-serif; font-size: .98rem; font-weight: 300;
  padding: .85em 1em; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); border-radius: 2px; text-transform: none; letter-spacing: normal;
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.form-note { font-size: .82rem; letter-spacing: normal; text-transform: none; color: var(--accent-deep); min-height: 1.2em; }
.form-note.show { animation: fadein .4s ease; }
.form-note.error { color: #b3402f; }
.form-privacy { font-size: .74rem; line-height: 1.5; color: var(--ink-soft); letter-spacing: normal; text-transform: none; margin-top: -.2rem; }
.form-privacy a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy a:hover { color: var(--ink); }
/* honeypot - poza ekranem, niewidoczny dla ludzi, dostępny dla botów */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.4rem; }
.footer-brand { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: #fff; letter-spacing: .05em; }
.footer-tag { font-size: .82rem; letter-spacing: .1em; margin-top: .4rem; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.footer-links a { font-size: .82rem; letter-spacing: .12em; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.4); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,17,14,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  padding: 3rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: fadein .4s ease; }
.lb-close, .lb-nav {
  position: absolute; background: none; border: none; color: rgba(255,255,255,.75);
  cursor: pointer; transition: color .3s; z-index: 2;
}
.lb-close { top: 1.5rem; right: 2rem; font-size: 2.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: 0 1.2rem; }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }
.lb-close:hover, .lb-nav:hover { color: #fff; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--bg); padding: 2rem 2.4rem;
    transform: translateX(100%); transition: transform .4s ease;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: none; }
  .site-header:not(.scrolled) .nav-links a { color: var(--ink); }
  .nav-links a { font-size: 1rem; }
  .nav-burger { display: flex; z-index: 95; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header:not(.scrolled) .nav-burger.open span { background: var(--ink); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4/5; max-height: 70vh; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { min-height: 50vh; }
  .theme-label { display: none; }
}
@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .masonry { column-count: 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
}

/* =====================================================================
   PODSTRONY: Poradnik (blog) + artykuły
   ===================================================================== */

/* Nagłówek zawsze „solid" (podstrony nie mają hero pod nagłówkiem) */
.site-header--solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header--solid .brand-mark,
.site-header--solid .brand-sub,
.site-header--solid .nav-links a { color: var(--ink); }

/* Wspólny nagłówek podstrony (zamiast hero) */
.page-header {
  padding: clamp(7rem, 15vh, 11rem) clamp(1.4rem, 6vw, 7rem) clamp(2.4rem, 6vw, 4rem);
  background: var(--bg-alt);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 20ch;
  margin: .4rem auto 0;
}
.page-header .page-lead {
  margin: 1.2rem auto 0;
  max-width: 60ch;
  color: var(--ink-soft);
}
.breadcrumbs {
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs span { margin: 0 .5rem; opacity: .5; }

/* Lista artykułów */
.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.4rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.blog-card {
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .4s ease;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card-thumb { aspect-ratio: 3/2; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
.blog-card-body { padding: 1.6rem 1.6rem 2rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); }
.blog-card-body h2 { font-size: 1.6rem; margin: .5rem 0 .7rem; line-height: 1.15; }
.blog-card-body p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.blog-card-link {
  margin-top: auto; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-deep); align-self: flex-start; border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.blog-card-link:hover { color: var(--ink); }

/* Artykuł */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.4rem, 6vw, 2rem) clamp(3rem, 7vw, 5rem);
}
.article-meta {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 2rem; text-align: center;
}
.article-meta .dot { margin: 0 .6rem; opacity: .5; }
.article-figure { margin: 0 0 clamp(1.8rem, 4vw, 2.8rem); }
.article-figure img { width: 100%; border-radius: 2px; }
.article-figure figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: .7rem; font-style: italic; }

.prose { font-size: 1.06rem; line-height: 1.85; color: var(--ink); }
.prose > p { margin-bottom: 1.35rem; }
.prose p:first-of-type { font-size: 1.16rem; }
.prose h2 {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15;
  margin: 2.6rem 0 1rem;
}
.prose h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.4rem; margin: 1.8rem 0 .7rem;
}
.prose ul, .prose ol { margin: 0 0 1.35rem 1.2rem; padding: 0; }
.prose li { margin-bottom: .55rem; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote, .pull-quote {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35; color: var(--accent-deep);
  border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1.4rem;
  margin: 2rem 0;
}

/* CTA na końcu artykułu */
.article-cta {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 780px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.article-cta h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.article-cta p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1.6rem; }

/* Powiązane / nawigacja między artykułami */
.article-more { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.4rem, 6vw, 2rem) clamp(3rem, 7vw, 5rem); text-align: center; }
.article-more .eyebrow { text-align: center; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 440px; }
}

/* =====================================================================
   INSTAGRAM: sekcja na stronie głównej + pływające przyciski (FAB)
   ===================================================================== */

/* --- Sekcja Instagram --- */
.insta { max-width: none; background: var(--bg-alt); }
.insta > .section-head { max-width: 640px; margin-left: auto; margin-right: auto; }
.insta-follow {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem;
}
.insta-follow svg { width: 20px; height: 20px; }
.insta-grid {
  max-width: 1400px;
  margin: clamp(2.4rem, 5vw, 3.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.4rem, 1vw, .7rem);
}
.insta-item {
  position: relative; aspect-ratio: 1/1; overflow: hidden; display: block;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.insta-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(28, 25, 22, .35); opacity: 0; transition: opacity .35s ease;
}
.insta-item .insta-ico {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: #fff;
  opacity: 0; transform: scale(.7); transition: opacity .35s ease, transform .35s ease; z-index: 2;
}
.insta-item:hover img { transform: scale(1.08); }
.insta-item:hover::after { opacity: 1; }
.insta-item:hover .insta-ico { opacity: 1; transform: scale(1); }

/* --- Pływające przyciski (Instagram + powrót na górę) --- */
.fab-stack {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.7rem);
  bottom: clamp(1rem, 2.5vw, 1.7rem);
  z-index: 120;
  display: flex; flex-direction: column; gap: .75rem; align-items: flex-end;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; border: none; cursor: pointer;
  color: #fff; box-shadow: 0 12px 30px -10px rgba(40, 30, 20, .55);
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease, visibility .3s;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px -10px rgba(40, 30, 20, .6); }
/* Instagram - rozpoznawalny gradient, zawsze widoczny */
.fab-ig { background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); position: relative; }
.fab-ig .fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .06em;
  padding: .5em .9em; border-radius: 4px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
}
.fab-ig .fab-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}
.fab-ig:hover .fab-tip { opacity: 1; }
/* Powrót na górę - pojawia się po przewinięciu */
.fab-top { background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top.show:hover { transform: translateY(-3px) scale(1.05); }

@media (max-width: 1024px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 23px; height: 23px; }
  .fab-ig .fab-tip { display: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
