/* ═══════════════════════════════════════════════════════
   Home-art. Pracownia Florystyczna — styles
   Paleta: len/krem + głęboka zieleń + pudrowy róż + pampas
   ═══════════════════════════════════════════════════════ */

:root {
  --cream: #FBF6EE;
  --cream-2: #F5EDE0;
  --blush: #F4E3DD;
  --blush-2: #EED3CB;
  --ink: #33291F;
  --ink-soft: #5C4F41;
  --green: #4A6741;
  --green-deep: #33492E;
  --rose: #C97C93;
  --rose-deep: #A9556F;
  --pampas: #D9C4A5;
  --pampas-deep: #B99C6F;
  --white: #FFFDF9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(51, 41, 31, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: var(--white); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--rose-deep); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.section { padding: clamp(72px, 10vw, 130px) 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }

/* ── eyebrow ── */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin-bottom: 18px;
}
.eyebrow-line { display: inline-block; width: 42px; height: 1px; background: var(--green); opacity: .5; }
.eyebrow-center { justify-content: center; }

.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-sub { max-width: 520px; margin: 14px auto 0; color: var(--ink-soft); }

/* ── przyciski ── */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  cursor: pointer;
}
.btn-solid { background: var(--green-deep); color: var(--white); box-shadow: 0 12px 28px -12px rgba(51, 73, 46, .55); }
.btn-solid:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost { color: var(--green-deep); border: 1.5px solid rgba(51, 73, 46, .35); }
.btn-ghost:hover { border-color: var(--green-deep); background: rgba(74, 103, 65, .07); transform: translateY(-2px); }
.btn-outline { color: var(--green-deep); border: 1.5px solid var(--green-deep); }
.btn-outline:hover { background: var(--green-deep); color: var(--white); transform: translateY(-2px); }

/* ═══ NAWIGACJA ═══ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
/* tło i blur na ::before — backdrop-filter na samym .nav robiłby z niego
   containing block dla fixed .nav-links (menu mobilne liczyłoby pozycję od paska) */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 246, 238, 0); transition: background .3s, box-shadow .3s; }
.nav.scrolled::before { background: rgba(251, 246, 238, .92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(51,41,31,.35); }
.nav.scrolled { padding: 10px 0; }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--green-deep); }
.brand-mark { width: 38px; height: 38px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-14deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav-links a:not(.nav-cta) { position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--rose-deep); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--rose); color: var(--white); padding: 10px 22px; border-radius: 999px; font-weight: 600; transition: background .25s, transform .25s; }
.nav-cta:hover { background: var(--rose-deep); transform: translateY(-1px); }

.burger { display: none; background: none; border: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 24px 90px;
  background:
    radial-gradient(900px 500px at 85% 12%, rgba(233, 166, 201, .16), transparent 60%),
    radial-gradient(700px 480px at 8% 85%, rgba(217, 196, 165, .28), transparent 60%),
    var(--cream);
  overflow: hidden;
}
#petals { position: absolute; inset: 0; pointer-events: none; }

.hero-inner {
  position: relative; max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero-copy h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 500; margin: 6px 0 22px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }

.hero-badges { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-badges li { display: flex; flex-direction: column; line-height: 1.25; }
.hero-badges strong { font-family: var(--font-display); font-size: 21px; color: var(--green-deep); }
.hero-badges span { font-size: 12.5px; color: var(--ink-soft); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); align-self: center; }

/* wizual hero — łuk */
.hero-visual { position: relative; justify-self: center; }
.arch {
  width: min(360px, 78vw); aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius);
  padding: 14px; background: var(--white);
  box-shadow: var(--shadow);
  rotate: 2deg;
}
.arch-art {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 999px 999px calc(var(--radius) - 8px) calc(var(--radius) - 8px);
  background: linear-gradient(170deg, #EFE4D2 0%, var(--blush) 55%, #E8CFC4 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.gyps-hero { width: 100%; height: 100%; }

/* slot na prawdziwe zdjęcie — jeśli plik istnieje, przykrywa rysunek; jeśli nie, img usuwa się samo (onerror) */
.photo-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.arch-art, .about-blob, .work-art { position: relative; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; }
.hero-wave svg { width: 100%; height: clamp(40px, 7vw, 90px); }

/* ═══ MARQUEE ═══ */
.marquee { background: var(--blush); overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--rose-deep);
}
.marquee-track i { font-style: normal; color: var(--pampas-deep); font-size: 15px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ O PRACOWNI ═══ */
.about { background: var(--blush); margin-top: -2px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-copy p strong { color: var(--ink); }
.about-copy .btn { margin-top: 12px; }

.about-visual { position: relative; justify-self: center; }
.about-blob {
  width: min(340px, 74vw); aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  background: linear-gradient(150deg, #F1E6D4, #E5C9BC 70%);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
  50% { border-radius: 45% 55% 44% 56% / 55% 44% 56% 45%; }
}
.wreath-art { width: 88%; height: 88%; }

.about-stamp {
  position: absolute; right: -8%; bottom: -6%;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--green-deep); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(51, 73, 46, .5);
  animation: spinSlow 26s linear infinite;
}
.about-stamp svg { width: 100%; height: 100%; }
.about-stamp text { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; fill: currentColor; font-family: var(--font-body); font-weight: 600; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ═══ OFERTA ═══ */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px 30px;
  border: 1px solid rgba(51, 41, 31, .06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.offer-card::before {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 124, 147, .14), transparent 65%);
  transition: transform .5s var(--ease); transform: scale(.6);
}
.offer-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.offer-card:hover::before { transform: scale(1.5); }
.offer-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(145deg, var(--blush), var(--cream-2));
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform .4s var(--ease), background .3s;
}
.offer-icon svg { width: 32px; height: 32px; }
.offer-card:hover .offer-icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(145deg, var(--rose), var(--rose-deep)); color: var(--white); }
.offer-card h3 { font-size: 22px; margin-bottom: 10px; }
.offer-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.offer-tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--rose-deep); background: rgba(201, 124, 147, .12); padding: 5px 13px; border-radius: 999px; }

/* ═══ GIPSÓWKA ═══ */
.gyps { background: var(--green-deep); color: var(--cream); position: relative; overflow: hidden; }
.gyps::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(201, 124, 147, .18), transparent 60%),
    radial-gradient(500px 380px at 5% 95%, rgba(217, 196, 165, .12), transparent 60%);
  pointer-events: none;
}
.gyps-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.gyps .eyebrow { color: var(--pampas); }
.gyps .eyebrow-line { background: var(--pampas); }
.gyps h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.gyps h2 em { color: #E9A6C9; }
.gyps p { color: rgba(251, 246, 238, .82); max-width: 500px; }
.gyps-note { font-size: 14px; font-style: italic; margin: 18px 0 26px; }
.gyps .btn-solid { background: var(--rose); }
.gyps .btn-solid:hover { background: #E9A6C9; color: var(--green-deep); }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: none; border: none; color: rgba(251, 246, 238, .75);
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.swatch::before {
  content: ""; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sw);
  border: 2.5px solid transparent;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), border-color .25s;
}
.swatch:hover::before { transform: scale(1.12); }
.swatch.is-active { color: var(--cream); }
.swatch.is-active::before { border-color: var(--cream); transform: scale(1.12); }

.gyps-stage {
  background: rgba(251, 246, 238, .07);
  border: 1px solid rgba(251, 246, 238, .14);
  border-radius: 999px 999px var(--radius) var(--radius);
  padding: clamp(18px, 3vw, 34px);
  backdrop-filter: blur(4px);
}
#gypsSvg { width: 100%; height: auto; }
#gypsSvg circle { transition: fill .8s ease; }

/* ═══ REALIZACJE ═══ */
.works { background: var(--cream); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 10px 30px -18px rgba(51,41,31,.25); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.work-art { aspect-ratio: 4 / 3.1; transition: transform .6s var(--ease); }
.work:hover .work-art { transform: scale(1.05); }

/* placeholderowe "zdjęcia" — PODMIEŃ na prawdziwe z fanpage'a */
.work[data-art="pampas"]    .work-art { background: radial-gradient(120px 90px at 50% 45%, #E8D5B5, transparent 70%), linear-gradient(160deg, #DCC49E, #C3A276); }
.work[data-art="gypswhite"] .work-art { background: radial-gradient(130px 100px at 50% 40%, #FFFDF7, transparent 72%), linear-gradient(160deg, #EFE6D8, #D9C8B4); }
.work[data-art="chapel"]    .work-art { background: linear-gradient(180deg, #F2E9DA 0%, #E4D3BC 55%, #C9B28E 100%); }
.work[data-art="boxes"]     .work-art { background: radial-gradient(80px 60px at 30% 45%, #E9A6C9aa, transparent 70%), radial-gradient(80px 60px at 68% 38%, #A8C8E8aa, transparent 70%), radial-gradient(90px 70px at 50% 70%, #F2D478aa, transparent 70%), linear-gradient(160deg, #F5E7E0, #E8CFC4); }
.work[data-art="funeral"]   .work-art { background: radial-gradient(110px 80px at 50% 42%, #A9394F88, transparent 72%), linear-gradient(165deg, #3E4A3A, #2A3527); }
.work[data-art="grave"]     .work-art { background: radial-gradient(110px 85px at 50% 45%, #F0EBDEAA, transparent 72%), linear-gradient(165deg, #57624F, #333F2F); }
.work[data-art="grave"]     .photo-slot { object-position: 50% 72%; }
.work[data-art="workshop"]  .work-art { background: radial-gradient(90px 70px at 32% 40%, #E9A6C955, transparent 70%), radial-gradient(100px 80px at 70% 62%, #A5C99A44, transparent 70%), linear-gradient(180deg, #F7EFE3 0%, #EBD9C6 60%, #D8BFA0 100%); }

.work figcaption { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 3px; }
.work figcaption strong { font-family: var(--font-display); font-size: 18.5px; font-weight: 500; }
.work figcaption span { font-size: 13.5px; color: var(--ink-soft); }
.works-cta { text-align: center; margin-top: 44px; }

/* ═══ OPINIE ═══ */
.reviews { background: var(--blush); }
.stats { display: flex; justify-content: center; gap: clamp(30px, 7vw, 90px); flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 60px); }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); font-weight: 500; color: var(--green-deep); line-height: 1; }
.stat span { font-size: 14px; color: var(--ink-soft); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  position: relative; box-shadow: 0 10px 30px -18px rgba(51,41,31,.22);
}
.quote::before {
  content: "„"; position: absolute; top: 2px; left: 20px;
  font-family: var(--font-display); font-size: 74px; color: var(--rose); opacity: .35; line-height: 1;
}
.quote p { font-family: var(--font-display); font-size: 18px; font-style: italic; margin: 18px 0 14px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--ink-soft); }

/* ═══ KONTAKT ═══ */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 16px; }
.contact-copy > p { color: var(--ink-soft); max-width: 480px; }

.contact-items { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 18px; padding: 16px 20px;
  border: 1px solid rgba(51, 41, 31, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  max-width: 430px;
}
.contact-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.ci-icon {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: linear-gradient(145deg, var(--blush), var(--cream-2)); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 24px; height: 24px; }
.contact-item span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.contact-item strong { font-size: 15.5px; }
.contact-item em { font-style: normal; font-size: 13.5px; color: var(--ink-soft); }

.contact-card {
  background: var(--green-deep); color: var(--cream);
  border-radius: var(--radius); padding: clamp(30px, 4vw, 44px);
  box-shadow: 0 24px 60px -24px rgba(51, 73, 46, .55);
}
.contact-card h3 { font-size: 26px; margin-bottom: 24px; }
.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 20px; color: #E9A6C9;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(251, 246, 238, .3);
  display: flex; align-items: center; justify-content: center;
  grid-row: 1 / span 2;
}
.steps strong { display: block; font-size: 16.5px; grid-column: 2; align-self: end; }
.steps span { font-size: 14px; color: rgba(251, 246, 238, .75); grid-column: 2; align-self: start; }
.contact-note { margin-top: 26px; font-size: 13.5px; font-style: italic; color: rgba(251, 246, 238, .7); border-top: 1px solid rgba(251, 246, 238, .16); padding-top: 20px; }

/* ═══ STOPKA ═══ */
.footer { background: var(--ink); color: var(--cream); padding: 54px 24px 40px; text-align: center; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.brand-footer { color: var(--cream); }
.brand-footer .brand-text em { color: rgba(251, 246, 238, .6); }
.footer-quote { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--pampas); }
.footer-meta { font-size: 13px; color: rgba(251, 246, 238, .55); }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ═══ RESPONSYWNOŚĆ ═══ */
@media (max-width: 1024px) {
  .offer-grid, .works-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-inner, .about-grid, .gyps-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-visual { order: -1; margin-bottom: 6px; justify-self: center; }
  .arch { width: min(270px, 70vw); }
  .about-visual { margin-bottom: 10px; }
  .gyps-visual { order: -1; }
  .gyps-stage { max-width: 340px; margin: 0 auto; }

  .nav-links {
    position: fixed; inset: 0; height: 100dvh; width: 100vw; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 30px;
    font-size: 21px;
    transform: translateY(-102%); transition: transform .45s var(--ease);
  }
  .nav-links.open { transform: none; }
  .burger { display: flex; position: relative; z-index: 110; }
}
@media (max-width: 560px) {
  .offer-grid, .works-grid, .quotes { grid-template-columns: 1fr; }
  .hero-badges { gap: 12px; }
  .about-stamp { width: 96px; height: 96px; right: 0; }
  .section { padding-left: 18px; padding-right: 18px; }
}
