/*
Theme Name: Duże Drzewa 2026
Theme URI: https://www.duze-drzewa.pl
Author: Malnet
Description: Autorski motyw dla firmy Duże Drzewa - przesadzanie i sadzenie dużych drzew
Version: 1.0.0
Text Domain: duzedrzewa
*/

/* =============================================
   ZMIENNE CSS — PALETA KOLORÓW
   ============================================= */
:root{
  --dd-night:#122A1E; --dd-spruce:#1E4634; --dd-moss:#41754E;
  --dd-sage:#A3BFA0; --dd-leaf:#B8D447; --dd-leaf-ink:#1B3312;
  --dd-bark:#4A372A; --dd-clay:#A9764C; --dd-sand:#E9DFCE;
  --dd-paper:#FAF7F0;
  --dd-ink:#1C1B17; --dd-stone:#6E6A5C; --dd-ash:#B3AE9F;
  --dd-grad-hero:linear-gradient(160deg,#122A1E,#1E4634 55%,#41754E);
  --dd-grad-cta:linear-gradient(120deg,#41754E,#B8D447);
  --dd-grad-light:linear-gradient(180deg,#FAF7F0,#E9DFCE);
  --dd-grad-earth:linear-gradient(150deg,#2B2118,#4A372A);
}

/* =============================================
   @FONT-FACE — FRAUNCES & INSTRUMENT SANS
   ============================================= */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-latin-ext.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-Italic-2.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/InstrumentSans-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/InstrumentSans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   RESET & BAZA
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--dd-paper);
  color: var(--dd-ink);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  line-height: 1.15;
  color: var(--dd-night);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-variation-settings: 'WONK' 1;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

a {
  color: var(--dd-moss);
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: var(--dd-spruce);
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin-top: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.page-content { padding-top: 94px; }

.section { padding: clamp(3rem, 6vw, 6rem) 0; }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--dd-night);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--dd-bark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 620px;
  line-height: 1.7;
}

/* =============================================
   SUBPAGE HEADERS
   ============================================= */
.page-header {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 44vw, 560px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(115deg, rgba(18,42,30,.96) 0%, rgba(18,42,30,.84) 34%, rgba(18,42,30,.48) 58%, rgba(18,42,30,.22) 100%),
    var(--dd-night);
  isolation: isolate;
}
.page-header--image {
  background:
    linear-gradient(115deg, rgba(18,42,30,.97) 0%, rgba(18,42,30,.84) 34%, rgba(18,42,30,.50) 58%, rgba(18,42,30,.20) 100%),
    var(--page-header-image),
    var(--dd-night);
  background-size: cover;
  background-position: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 70% at 15% 20%, rgba(184,212,71,.16), transparent 68%),
    linear-gradient(to bottom, rgba(18,42,30,.08), rgba(18,42,30,.62));
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,223,206,.35), transparent);
}
.page-header .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-header-content {
  max-width: 720px;
  padding-top: clamp(2rem, 5vw, 4rem);
}
.page-header .section-eyebrow {
  color: var(--dd-leaf);
  margin-bottom: .85rem;
}
.page-header h1 {
  color: var(--dd-sand);
  max-width: 760px;
  margin-bottom: .9rem;
  text-wrap: balance;
}
.page-subtitle,
.page-header .section-lead {
  color: rgba(233,223,206,.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 660px;
  margin: 0;
  line-height: 1.72;
}
.page-header .breadcrumbs {
  padding: 0;
  color: rgba(233,223,206,.62);
}
.page-header .breadcrumbs a {
  color: rgba(184,212,71,.9);
}
.page-header .breadcrumbs li + li::before {
  color: rgba(233,223,206,.42);
}

@media (max-width: 760px) {
  .page-header {
    min-height: 420px;
    padding-top: 5rem;
  }
  .page-header--image {
    background-position: center right 34%;
  }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 2px solid var(--dd-leaf);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
  padding: .5rem 1rem;
  z-index: 200;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.dd-btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid var(--dd-leaf);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}
.dd-btn:hover {
  background: #a8bf3a;
  border-color: #a8bf3a;
  color: var(--dd-leaf-ink);
  transform: translateY(-1px);
}
.dd-btn-outline {
  background: transparent;
  color: var(--dd-leaf);
}
.dd-btn-outline:hover {
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
}

/* =============================================
   HEADER & NAV
   ============================================= */
html.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  html.admin-bar .site-header { top: 46px; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 94px;
  background: var(--dd-night);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  flex-shrink: 0;
}
.site-logo-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  animation: dd-logo-enter .85s cubic-bezier(0.22,1,0.36,1) both;
}
.logo-animated {
  --dd-logo-k: .5;
  width: 58px;
  height: 61px;
  display: block;
  flex-shrink: 0;
}
.logo-animated svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.logo-animated .ground {
  transform-origin: 349px 612px;
  animation: dd-logo-ground-in calc(1.1s * var(--dd-logo-k)) cubic-bezier(.2,.7,.3,1) both;
}
.logo-animated .m-trunk {
  transform-origin: 349px 478px;
  animation: dd-logo-grow-y calc(1.1s * var(--dd-logo-k)) cubic-bezier(.3,.6,.3,1) calc(2.4s * var(--dd-logo-k)) both;
}
.logo-animated .m-crown {
  transform-origin: 349px 250px;
  animation: dd-logo-grow-s calc(1.8s * var(--dd-logo-k)) cubic-bezier(.2,.65,.25,1) calc(3.4s * var(--dd-logo-k)) both;
}
.logo-animated .composite {
  animation: dd-logo-fade-out calc(.5s * var(--dd-logo-k)) ease calc(7.1s * var(--dd-logo-k)) both;
}
.logo-animated .exact {
  opacity: 0;
  animation: dd-logo-fade-in calc(.5s * var(--dd-logo-k)) ease calc(7.1s * var(--dd-logo-k)) both;
}
.logo-animated .tree {
  transform-origin: bottom center;
  animation: dd-logo-sway calc(7s * var(--dd-logo-k)) ease-in-out calc(7.9s * var(--dd-logo-k)) infinite;
}
.logo-animated .strokes path {
  fill: none;
  stroke: var(--dd-night);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-animated .rt0 { stroke-dasharray:103; stroke-dashoffset:103; animation:dd-logo-dash-draw calc(.39s * var(--dd-logo-k)) ease-out calc(1.03s * var(--dd-logo-k)) forwards; }
.logo-animated .rt1 { stroke-dasharray:96; stroke-dashoffset:96; animation:dd-logo-dash-draw calc(.36s * var(--dd-logo-k)) ease-out calc(1.01s * var(--dd-logo-k)) forwards; }
.logo-animated .rt2 { stroke-dasharray:101; stroke-dashoffset:101; animation:dd-logo-dash-draw calc(.38s * var(--dd-logo-k)) ease-out calc(.72s * var(--dd-logo-k)) forwards; }
.logo-animated .rt3 { stroke-dasharray:61; stroke-dashoffset:61; animation:dd-logo-dash-draw calc(.25s * var(--dd-logo-k)) ease-out calc(1.06s * var(--dd-logo-k)) forwards; }
.logo-animated .rt4 { stroke-dasharray:91; stroke-dashoffset:91; animation:dd-logo-dash-draw calc(.34s * var(--dd-logo-k)) ease-out calc(1s * var(--dd-logo-k)) forwards; }
.logo-animated .rt5 { stroke-dasharray:127; stroke-dashoffset:127; animation:dd-logo-dash-draw calc(.48s * var(--dd-logo-k)) ease-out calc(1s * var(--dd-logo-k)) forwards; }
.logo-animated .rt6 { stroke-dasharray:98; stroke-dashoffset:98; animation:dd-logo-dash-draw calc(.37s * var(--dd-logo-k)) ease-out calc(1.01s * var(--dd-logo-k)) forwards; }
.logo-animated .rt7 { stroke-dasharray:103; stroke-dashoffset:103; animation:dd-logo-dash-draw calc(.39s * var(--dd-logo-k)) ease-out calc(1.03s * var(--dd-logo-k)) forwards; }
.logo-animated .rt8 { stroke-dasharray:80; stroke-dashoffset:80; animation:dd-logo-dash-draw calc(.3s * var(--dd-logo-k)) ease-out calc(.74s * var(--dd-logo-k)) forwards; }
.logo-animated .rt9 { stroke-dasharray:82; stroke-dashoffset:82; animation:dd-logo-dash-draw calc(.31s * var(--dd-logo-k)) ease-out calc(.72s * var(--dd-logo-k)) forwards; }
.logo-animated .br0 { stroke-dasharray:93; stroke-dashoffset:93; animation:dd-logo-dash-draw calc(.3s * var(--dd-logo-k)) ease-out calc(5.84s * var(--dd-logo-k)) forwards; }
.logo-animated .br1 { stroke-dasharray:162; stroke-dashoffset:162; animation:dd-logo-dash-draw calc(.53s * var(--dd-logo-k)) ease-out calc(6.06s * var(--dd-logo-k)) forwards; }
.logo-animated .br2 { stroke-dasharray:112; stroke-dashoffset:112; animation:dd-logo-dash-draw calc(.37s * var(--dd-logo-k)) ease-out calc(5.49s * var(--dd-logo-k)) forwards; }
.logo-animated .br3 { stroke-dasharray:270; stroke-dashoffset:270; animation:dd-logo-dash-draw calc(.89s * var(--dd-logo-k)) ease-out calc(5.55s * var(--dd-logo-k)) forwards; }
.logo-animated .br4 { stroke-dasharray:119; stroke-dashoffset:119; animation:dd-logo-dash-draw calc(.39s * var(--dd-logo-k)) ease-out calc(6.06s * var(--dd-logo-k)) forwards; }
.logo-animated .br5 { stroke-dasharray:270; stroke-dashoffset:270; animation:dd-logo-dash-draw calc(.89s * var(--dd-logo-k)) ease-out calc(5.55s * var(--dd-logo-k)) forwards; }
.logo-animated .br6 { stroke-dasharray:160; stroke-dashoffset:160; animation:dd-logo-dash-draw calc(.53s * var(--dd-logo-k)) ease-out calc(6.1s * var(--dd-logo-k)) forwards; }
.logo-animated .br7 { stroke-dasharray:67; stroke-dashoffset:67; animation:dd-logo-dash-draw calc(.25s * var(--dd-logo-k)) ease-out calc(5.88s * var(--dd-logo-k)) forwards; }
.logo-animated .br8 { stroke-dasharray:237; stroke-dashoffset:237; animation:dd-logo-dash-draw calc(.78s * var(--dd-logo-k)) ease-out calc(5.88s * var(--dd-logo-k)) forwards; }
.logo-animated .br9 { stroke-dasharray:116; stroke-dashoffset:116; animation:dd-logo-dash-draw calc(.38s * var(--dd-logo-k)) ease-out calc(6.09s * var(--dd-logo-k)) forwards; }
.logo-animated .br10 { stroke-dasharray:194; stroke-dashoffset:194; animation:dd-logo-dash-draw calc(.64s * var(--dd-logo-k)) ease-out calc(5.49s * var(--dd-logo-k)) forwards; }
.logo-animated .br11 { stroke-dasharray:139; stroke-dashoffset:139; animation:dd-logo-dash-draw calc(.46s * var(--dd-logo-k)) ease-out calc(6.09s * var(--dd-logo-k)) forwards; }
.logo-animated .br12 { stroke-dasharray:150; stroke-dashoffset:150; animation:dd-logo-dash-draw calc(.49s * var(--dd-logo-k)) ease-out calc(6.1s * var(--dd-logo-k)) forwards; }
.logo-animated .br13 { stroke-dasharray:83; stroke-dashoffset:83; animation:dd-logo-dash-draw calc(.27s * var(--dd-logo-k)) ease-out calc(5.61s * var(--dd-logo-k)) forwards; }
.logo-animated .br14 { stroke-dasharray:82; stroke-dashoffset:82; animation:dd-logo-dash-draw calc(.27s * var(--dd-logo-k)) ease-out calc(5.84s * var(--dd-logo-k)) forwards; }
@keyframes dd-logo-ground-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes dd-logo-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dd-logo-grow-s { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dd-logo-dash-draw { to { stroke-dashoffset: 0; } }
@keyframes dd-logo-fade-out { to { opacity: 0; } }
@keyframes dd-logo-fade-in { to { opacity: 1; } }
@keyframes dd-logo-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(.7deg); } }
@keyframes dd-logo-enter {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes dd-wordmark-enter {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .site-logo-link,
  .logo-wordmark {
    animation: none;
  }
  .logo-animated .composite { display: none; }
  .logo-animated .exact,
  .logo-animated .tree { animation: none; }
  .logo-animated .exact { opacity: 1; }
  .dd-logo-lockup--header,
  .dd-logo-lockup--header img { transition: none; }
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  animation: dd-wordmark-enter .75s cubic-bezier(0.22,1,0.36,1) .25s both;
}
.logo-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dd-sand);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.logo-tagline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  color: var(--dd-sage);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.custom-logo { display: none; }

/* Lockup nowego logo — nagłówek i stopka (DD_LOGO_VARIANT = 'nowe').
   Bez plakietki: images/logo-ciemne-tlo.png ma przezroczyste tło, a drzewo
   przekolorowane na jasną zieleń, więc jest widoczne na --dd-night. */
.dd-logo-lockup {
  display: block;
  flex-shrink: 0;
}
.dd-logo-lockup img {
  display: block;
  width: auto;
  height: 62px;
}
.dd-logo-lockup--footer img {
  height: 92px;
}
/* Logo w nagłówku jest wyższe niż .site-header (94px) i zsunięte w dół, więc
   nachodzi na slider. Nagłówek ma z-index 100, dzięki czemu logo rysuje się nad hero. */
.dd-logo-lockup--header {
  transform: translateY(26px);
  transition: transform .35s cubic-bezier(0.22,1,0.36,1);
}
.dd-logo-lockup--header img {
  height: 112px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: height .35s cubic-bezier(0.22,1,0.36,1);
}
/* Po scrollu logo chowa się w całości w nagłówku: 78px < 94px, bez zwisu. */
.site-header.is-scrolled .dd-logo-lockup--header {
  transform: translateY(0);
}
.site-header.is-scrolled .dd-logo-lockup--header img {
  height: 78px;
}
@media (max-width: 560px) {
  .dd-logo-lockup--header { transform: translateY(14px); }
  .dd-logo-lockup--header img { height: 88px; }
  .site-header.is-scrolled .dd-logo-lockup--header img { height: 70px; }
}
.nav-primary ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-primary a {
  color: var(--dd-sand);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.nav-primary a:hover {
  color: var(--dd-leaf);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.hamburger-lines span {
  display: block;
  height: 2px;
  background: var(--dd-sand);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(0.22,1,0.36,1), opacity .3s;
}
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-primary { display: none; }
  .hamburger { display: flex; }
}

/* =============================================
   MOBILE NAV PANEL
   ============================================= */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dd-grad-hero);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 9rem 2rem 2rem 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.22,1,0.36,1), opacity .3s;
}
.mobile-nav > *:first-child { margin-top: auto; }
.mobile-nav > *:last-child { margin-bottom: auto; }
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav > ul > li {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .3s, transform .4s cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav.is-open > ul > li:nth-child(1) { opacity:1; transform:none; transition-delay:0.10s; }
.mobile-nav.is-open > ul > li:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
.mobile-nav.is-open > ul > li:nth-child(3) { opacity:1; transform:none; transition-delay:0.20s; }
.mobile-nav.is-open > ul > li:nth-child(4) { opacity:1; transform:none; transition-delay:0.25s; }
.mobile-nav.is-open > ul > li:nth-child(5) { opacity:1; transform:none; transition-delay:0.30s; }
.mobile-nav.is-open > ul > li:nth-child(6) { opacity:1; transform:none; transition-delay:0.35s; }
.mobile-nav.is-open > ul > li:nth-child(7) { opacity:1; transform:none; transition-delay:0.40s; }
.mobile-nav.is-open > ul > li:nth-child(8) { opacity:1; transform:none; transition-delay:0.45s; }
.mobile-nav.is-open > ul > li:nth-child(9) { opacity:1; transform:none; transition-delay:0.50s; }
.mobile-nav.is-open > ul > li:nth-child(10) { opacity:1; transform:none; transition-delay:0.55s; }
.mobile-nav.is-open > ul > li:nth-child(11) { opacity:1; transform:none; transition-delay:0.60s; }
.mobile-nav.is-open > ul > li:nth-child(12) { opacity:1; transform:none; transition-delay:0.65s; }
.mobile-nav.is-open > ul > li:nth-child(13) { opacity:1; transform:none; transition-delay:0.70s; }
.mobile-nav.is-open > ul > li:nth-child(14) { opacity:1; transform:none; transition-delay:0.75s; }
.mobile-nav a:not(.dd-btn) {
  color: var(--dd-sand);
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem,5vw,2.5rem);
  font-weight: 700;
  display: block;
  padding: .4rem 0;
}
.mobile-nav ul a:not(.dd-btn) {
  position: relative;
  padding-left: 0;
  transition: color .22s, transform .22s cubic-bezier(0.22,1,0.36,1), padding-left .22s cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav ul a:not(.dd-btn)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--dd-leaf);
  opacity: 0;
  transform: translate(-.85rem, -50%) scale(0);
  transition: opacity .22s, transform .22s cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav ul a:not(.dd-btn):hover,
.mobile-nav ul a:not(.dd-btn):focus-visible {
  color: var(--dd-leaf);
  padding-left: 1.05rem;
  transform: translateX(.25rem);
}
.mobile-nav ul a:not(.dd-btn):hover::before,
.mobile-nav ul a:not(.dd-btn):focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}
.mobile-nav ul a:not(.dd-btn):focus-visible {
  outline: none;
}
.mobile-nav .mobile-nav-phone {
  margin-top: 2rem;
  color: var(--dd-leaf);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mobile-nav .mobile-nav-cta {
  margin-top: 1.5rem;
  width: 100%;
}
.mobile-nav .mobile-nav-cta .dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .9rem 2.5rem;
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
  border-color: var(--dd-leaf);
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.mobile-nav .mobile-nav-cta .dd-btn:hover {
  background: #cbe050;
  transform: translateY(-1px);
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  margin-top: 94px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s cubic-bezier(0.22,1,0.36,1);
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--dd-night);
  opacity: .455;
  mix-blend-mode: multiply;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: absolute;
  left: 6%;
  bottom: 18%;
  z-index: 2;
  max-width: 560px;
  text-align: left;
}
.hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-variation-settings: 'WONK' 1;
  color: var(--dd-sand);
  line-height: 1.1;
  margin-bottom: .8rem;
  opacity: 0;
  transform: translateY(34px);
  filter: blur(5px);
}
.hero-slide.is-active .hero-content h1 {
  animation: dd-hero-copy-in .72s cubic-bezier(0.22,1,0.36,1) .08s both;
}
.hero-content p {
  color: var(--dd-ash);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(34px);
  filter: blur(5px);
}
.hero-slide.is-active .hero-content p {
  animation: dd-hero-copy-in .72s cubic-bezier(0.22,1,0.36,1) .28s both;
}
.hero-content .dd-btn {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(5px);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.hero-slide.is-active .hero-content .dd-btn {
  animation: dd-hero-copy-in .72s cubic-bezier(0.22,1,0.36,1) .48s both;
}
.hero-slide.is-active .hero-content .dd-btn:hover {
  transform: translateY(-1px);
}
@keyframes dd-hero-copy-in {
  0% {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 6%;
  z-index: 3;
  display: flex;
  gap: .6rem;
  opacity: 0;
  animation: dd-hero-controls-in 1s ease 2.2s both;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dd-ash);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.is-active {
  background: var(--dd-leaf);
  transform: scale(1.4);
}
.hero-arrows {
  position: absolute;
  top: 50%;
  right: 3%;
  z-index: 3;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  opacity: 0;
  animation: dd-hero-controls-in 1s ease 2.2s both;
}
@keyframes dd-hero-controls-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-arrow {
  background: rgba(250,247,240,.12);
  border: 1px solid rgba(250,247,240,.3);
  color: var(--dd-sand);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background .2s;
}
.hero-arrow:hover {
  background: rgba(250,247,240,.25);
}

@media (max-width: 760px) {
  .hero-content {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(88vw, 560px);
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .hero-arrows {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    transform: none;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-content h1,
  .hero-content p,
  .hero-content .dd-btn,
  .hero-nav,
  .hero-arrows {
    animation: none !important;
    transition: none;
    opacity: 1;
    filter: none;
  }
  .hero-content h1,
  .hero-content p,
  .hero-content .dd-btn {
    transform: none;
  }
}

/* =============================================
   FOOTER CTA BANNER
   ============================================= */
.footer-reveal {
  opacity: 0;
  transform: translateY(22vh);
  transition:
    opacity .9s ease,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.footer-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .footer-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.footer-cta {
  background: var(--dd-grad-cta);
  padding: 3.5rem 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta-text { flex: 1; min-width: 240px; }
.footer-cta-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--dd-paper);
  margin: 0 0 .4rem;
  line-height: 1.2;
  text-shadow: 0 1px 18px rgba(18,42,30,.34);
}
.footer-cta-sub {
  color: rgba(250,247,240,.9);
  font-size: .95rem;
  margin: 0;
  text-shadow: 0 1px 14px rgba(18,42,30,.28);
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--dd-night);
  color: var(--dd-sand);
  padding: .9rem 2rem;
  border-radius: 6px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.footer-cta-btn:hover {
  background: var(--dd-spruce);
  transform: translateY(-1px);
}
.footer-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--dd-night);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.footer-cta-phone:hover { opacity: .72; }

/* =============================================
   FOOTER MAIN
   ============================================= */
.site-footer {
  background-color: var(--dd-night);
  color: var(--dd-ash);
  padding: 4.5rem 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/footer-bg.png') center center / cover no-repeat;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
.site-footer > * {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.3fr;
  gap: 2.5rem 3.5rem;
  position: relative;
  padding-bottom: 4rem;
}

/* Brand column */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer-logo-icon {
  width: 34px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(95%) sepia(12%) saturate(290%) hue-rotate(333deg);
}
.footer-logo-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dd-sand);
  line-height: 1;
}
.footer-brand-desc {
  color: var(--dd-ash);
  font-size: .87rem;
  line-height: 1.75;
  max-width: 300px;
  margin: 0 0 2rem;
}
.footer-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(163,191,160,.12);
}
.footer-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.footer-stat strong {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dd-leaf);
  line-height: 1;
  letter-spacing: -.025em;
}
.footer-stat span {
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dd-ash);
}

/* Nav columns */
.footer-col-heading {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--dd-sand);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 1.25rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(163,191,160,.15);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col ul li a {
  color: var(--dd-ash);
  font-size: .87rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: color .2s, gap .2s;
}
.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dd-moss);
  flex-shrink: 0;
  transition: background .2s;
}
.footer-col ul li a:hover {
  color: var(--dd-leaf);
  gap: .75rem;
}
.footer-col ul li a:hover::before { background: var(--dd-leaf); }

/* Contact column */
.footer-contact-col .footer-col-heading { margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  color: var(--dd-moss);
  flex-shrink: 0;
  margin-top: .15rem;
}
.footer-contact-item a {
  color: var(--dd-ash);
  font-size: .87rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color .2s;
}
.footer-contact-item a:hover { color: var(--dd-leaf); }
.footer-contact-item address {
  color: var(--dd-ash);
  font-size: .87rem;
  font-style: normal;
  line-height: 1.65;
}

/* Ikony OLX / Instagram / Facebook */
/* ul.dd-social — mocniejszy selektor niż .footer-col ul (kolumna) i .entry-content ul (wcięcie). */
ul.dd-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.dd-social li { margin: 0; line-height: 1; }
.footer-col ul.dd-social li a.dd-social-link { gap: 0; }
.footer-col ul.dd-social li a.dd-social-link::before { content: none; }
.dd-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(123,174,136,.35);
  color: var(--dd-sage);
  transition: color .2s, border-color .2s, background .2s, transform .2s cubic-bezier(0.22,1,0.36,1), box-shadow .2s;
}
/* Hover działa też na ikonach bez linku (span), dopóki nie ma adresów profili. */
.dd-social-link:hover,
a.dd-social-link:focus-visible {
  color: var(--dd-leaf-ink);
  background: var(--dd-leaf);
  border-color: var(--dd-leaf);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
ul.dd-social--page .dd-social-link:hover {
  color: var(--dd-paper);
  background: var(--dd-moss);
  border-color: var(--dd-moss);
  box-shadow: 0 6px 14px rgba(18,42,30,.18);
}
@media (prefers-reduced-motion: reduce) {
  .dd-social-link { transition: color .2s, border-color .2s, background .2s; }
  .dd-social-link:hover { transform: none; }
}
ul.dd-social--footer { margin-top: .5rem; }
ul.dd-social--page { margin: 1.5rem 0 2rem; }
.dd-social--page .dd-social-link {
  color: var(--dd-moss);
  border-color: rgba(65,117,78,.35);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(163,191,160,.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-inner p { margin: 0; font-size: .8rem; color: var(--dd-ash); }
.footer-bottom-inner a {
  color: var(--dd-ash);
  text-decoration: none;
  font-size: .8rem;
  transition: color .2s;
}
.footer-bottom-inner a:hover { color: var(--dd-leaf); }

/* Footer responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
  .footer-contact-col { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
  .footer-contact-col .footer-col-heading { width: 100%; margin-bottom: .5rem; }
  .footer-contact-item { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
  .footer-cta-inner { gap: 1.5rem; }
  .footer-stats { gap: 1.5rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 2.5rem 0; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn { width: 100%; justify-content: center; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* footer credit */
.footer-credit { margin-left: auto; }
.footer-credit a { opacity: .55; }
.footer-credit a:hover { opacity: 1; color: var(--dd-sand) !important; }

@media (max-width: 768px) {
  .footer-cta-inner,
  .footer-cta-actions,
  .footer-grid,
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-cta-text,
  .footer-brand,
  .footer-col,
  .footer-contact-col {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-contact-col {
    grid-column: 1 / -1;
  }

  .footer-logo-link,
  .footer-stats,
  .footer-contact-item {
    justify-content: center;
  }

  .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-contact-col {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-item {
    width: 100%;
    align-items: center;
  }

  .footer-bottom-inner {
    align-items: center;
  }

  .footer-credit {
    margin-left: 0;
  }
}

/* =============================================
   GDPR COOKIE BANNER
   ============================================= */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(18,30,24,.97);
  border-top: 1px solid rgba(163,191,160,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.1rem 0;
  animation: gdpr-slide-up .4s cubic-bezier(0.22,1,0.36,1) both;
}
.gdpr-banner[hidden] { display: none; }
@keyframes gdpr-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.gdpr-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.gdpr-text {
  flex: 1;
  min-width: 240px;
  font-size: .82rem;
  color: var(--dd-ash);
  margin: 0;
  line-height: 1.6;
}
.gdpr-text a { color: var(--dd-leaf); text-decoration: underline; }
.gdpr-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.gdpr-btn {
  padding: .55rem 1.25rem;
  border-radius: 5px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.gdpr-accept {
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
}
.gdpr-accept:hover { background: #cbe050; }
.gdpr-decline {
  background: transparent;
  color: var(--dd-ash);
  border-color: rgba(163,191,160,.3);
}
.gdpr-decline:hover { border-color: var(--dd-ash); color: var(--dd-sand); }

@media (max-width: 560px) {
  .gdpr-inner { gap: 1rem; }
  .gdpr-actions { width: 100%; }
  .gdpr-btn { flex: 1; text-align: center; }
}

/* =============================================
   STICKY CTA MOBILE
   ============================================= */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
  padding: .9rem 1rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-weight: 700;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(0.22,1,0.36,1);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta a {
  color: var(--dd-leaf-ink);
  text-decoration: none;
  font-weight: 700;
}
.sticky-cta-phone {
  font-size: 1.1rem;
}

@media (max-width: 560px) {
  .sticky-cta { display: flex; }
}

/* =============================================
   GRAIN / TREE RING PATTERN
   ============================================= */
.dd-grain-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg opacity='.4'%3E%3Cellipse cx='300' cy='300' rx='60' ry='55' fill='none' stroke='%23E9DFCE' stroke-width='1.2'/%3E%3Cellipse cx='300' cy='300' rx='110' ry='103' fill='none' stroke='%23E9DFCE' stroke-width='1'/%3E%3Cellipse cx='302' cy='298' rx='162' ry='155' fill='none' stroke='%23E9DFCE' stroke-width='.8'/%3E%3Cellipse cx='298' cy='302' rx='214' ry='207' fill='none' stroke='%23E9DFCE' stroke-width='.6'/%3E%3Cellipse cx='301' cy='299' rx='265' ry='258' fill='none' stroke='%23E9DFCE' stroke-width='.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px;
  background-color: var(--dd-paper);
}

/* =============================================
   BENTO GRID - OFERTA
   ============================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.bento-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--dd-night);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.bento-card--large { grid-column: span 2; grid-row: span 2; min-height: 400px; }
.bento-card-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}
.bento-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .5s cubic-bezier(0.22,1,0.36,1);
}
.bento-card:hover .bento-card-img img { transform: scale(1.04); }
.bento-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,42,30,.94) 0%, rgba(18,42,30,.35) 55%, transparent 100%);
  pointer-events: none;
}
.bento-card-body {
  position: relative;
  padding: 1.5rem;
  z-index: 1;
}
.bento-card-title { color: var(--dd-sand); font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 0 0 .4rem; line-height: 1.2; }
.bento-card-desc { color: var(--dd-ash); font-size: .85rem; line-height: 1.5; margin: 0 0 .75rem; }
.bento-card-arrow { display: inline-flex; align-items: center; color: var(--dd-leaf); font-size: .85rem; font-weight: 600; gap: .3rem; transition: gap .2s; }
.bento-card:hover .bento-card-arrow { gap: .6rem; }
.section-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dd-moss); margin-bottom: .5rem; }
@media (max-width: 880px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } .bento-card--large { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } .bento-card--large { grid-column: span 1; } }

/* =============================================
   PROCES - 4 KROKI
   ============================================= */
.section-process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 18% 0%, rgba(233,223,206,.12), transparent 68%),
    radial-gradient(ellipse 55% 55% at 88% 35%, rgba(65,117,78,.16), transparent 70%),
    linear-gradient(150deg,#211811 0%, #3a2a20 42%, #4A372A 100%);
}
.section-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,42,30,.28), transparent 38%, rgba(18,42,30,.18));
  pointer-events: none;
  z-index: 1;
}
.section-process::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(150px, 15.625vw, 300px);
  background: url('images/las-1920.svg') center bottom / 100% auto no-repeat;
  pointer-events: none;
  transform: scaleY(.04);
  transform-origin: bottom center;
  opacity: 0;
  transition:
    transform 4s cubic-bezier(0.16, 1, 0.3, 1) 2s,
    opacity .6s ease 2s;
  z-index: 0;
}
.section-process.is-forest-grown::after {
  transform: scaleY(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .section-process::after {
    transform: scaleY(1);
    opacity: 1;
    transition: none;
  }
}
.section-process .container {
  position: relative;
  z-index: 2;
}
.process-header {
  max-width: 720px;
}
.process-header .section-eyebrow {
  color: var(--dd-leaf);
}
.process-header .section-title {
  color: var(--dd-sand);
  margin-bottom: .85rem;
}
.process-header .section-lead {
  color: rgba(233,223,206,.78);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.process-step {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(233,223,206,.16);
  border-radius: 8px;
  background: #29241B;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  pointer-events: none;
}
.process-step-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--dd-night);
}
.process-step-img::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(18,42,30,.72), transparent);
  pointer-events: none;
}
.process-step-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .5s cubic-bezier(.22,1,.36,1);
}
.process-step:hover .process-step-img img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.03);
}
.process-step-body {
  position: relative;
  padding: 1.25rem 1.2rem 1.35rem;
}
.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(184,212,71,.38);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--dd-leaf), #d8ec78);
  color: var(--dd-leaf-ink);
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.process-step-title {
  color: var(--dd-sand);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  margin-bottom: .65rem;
}
.process-step-desc {
  color: rgba(233,223,206,.72);
  font-size: .92rem;
  line-height: 1.62;
  margin-bottom: 0;
}
@media (max-width: 1020px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step-body { padding: 1.15rem; }
}

/* =============================================
   LICZNIKI
   ============================================= */
.section-counters {
  position: relative;
  margin-top: -5px;
  padding-top: 0;
}
.section-counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(91,140,90,.07) 0%, transparent 70%);
  pointer-events: none;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}
.counter-item {
  text-align: center;
  padding: 0 2rem 3.5rem;
  position: relative;
}
.counter-item + .counter-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(123,174,136,.18);
}
.dd-counter {
  display: block;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  font-weight: 800;
  color: var(--dd-sand);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 0;
}
.counter-rule {
  width: 2rem;
  height: 2px;
  background: var(--dd-leaf);
  border: none;
  margin: 1rem auto .9rem;
  border-radius: 2px;
}
.counter-item p {
  color: var(--dd-ash);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  line-height: 1.6;
  max-width: 160px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .counters-grid { grid-template-columns: 1fr; }
  .counter-item { padding-top: 2.5rem; }
  .counter-item + .counter-item::before { display: none; }
  .counter-item + .counter-item {
    border-top: 1px solid rgba(123,174,136,.18);
  }
}
@media (max-width: 560px) {
  .counter-item { padding: 0 1.25rem 2.5rem; }
}

/* =============================================
   REALIZACJE GRID
   ============================================= */
.section-realizacje {
  position: relative;
  overflow: hidden;
}
.section-realizacje::before {
  content: '';
  position: absolute;
  right: -18vw;
  bottom: 0;
  width: 78vw;
  height: 85%;
  background: url('images/logo-tree-crown.svg') right bottom / auto 100% no-repeat;
  opacity: .08;
  pointer-events: none;
}
.section-realizacje .container {
  position: relative;
  z-index: 1;
}
.realizacje-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.realizacja-tile { border-radius: 8px; overflow: hidden; background: var(--dd-night); }
.realizacja-tile a { display: block; text-decoration: none; }
.realizacja-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s cubic-bezier(0.22,1,0.36,1); }
.realizacja-tile:hover img { transform: scale(1.04); }
.realizacja-tile-content { padding: 1rem 1.1rem 1.1rem; }
.realizacja-tile-content h3 { color: var(--dd-sand); font-size: 1rem; margin: 0 0 .4rem; }
.realizacja-tag { background: rgba(163,191,160,.15); color: var(--dd-sage); font-size: .75rem; padding: .2rem .6rem; border-radius: 20px; font-weight: 600; }
.section-archive-realizacje {
  position: relative;
  overflow: hidden;
}
.section-archive-realizacje::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 34% at 12% 8%, rgba(184,212,71,.14), transparent 68%),
    radial-gradient(ellipse 38% 30% at 88% 96%, rgba(65,117,78,.12), transparent 72%);
}
.section-archive-realizacje .container {
  position: relative;
  z-index: 1;
}
.realizacje-grid--archive {
  gap: clamp(1.15rem, 2vw, 1.75rem);
  align-items: stretch;
  margin-top: 0;
}
.realizacje-grid--archive .realizacja-tile {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(65,117,78,.14);
  background: linear-gradient(180deg, rgba(18,42,30,.98), var(--dd-night));
  box-shadow: 0 20px 58px rgba(74,55,42,.12);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.realizacje-grid--archive .realizacja-tile:hover {
  border-color: rgba(184,212,71,.34);
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(18,42,30,.22);
}
.realizacje-grid--archive .realizacja-tile a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.realizacje-grid--archive .realizacja-tile a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 36%, rgba(18,42,30,.2) 58%, rgba(18,42,30,.82) 100%);
  opacity: .82;
  transition: opacity .25s;
}
.realizacje-grid--archive .realizacja-tile:hover a::before {
  opacity: 1;
}
.realizacje-grid--archive .realizacja-tile img {
  aspect-ratio: 16 / 11;
  filter: saturate(.95) contrast(.98);
}
.realizacje-grid--archive .realizacja-tile:hover img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.04);
}
.realizacje-grid--archive .realizacja-tile-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
}
.realizacje-grid--archive .realizacja-tile-title {
  color: var(--dd-sand);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  margin: 0 0 .8rem;
  line-height: 1.16;
}
.realizacje-grid--archive .realizacja-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.realizacje-grid--archive .realizacja-tag,
.realizacje-grid--archive .realizacja-location-small,
.realizacje-grid--archive .realizacja-height-small {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  border: 1px solid rgba(163,191,160,.18);
  border-radius: 999px;
  background: rgba(250,247,240,.075);
  color: rgba(233,223,206,.86);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  padding: .35rem .65rem;
}
.realizacje-grid--archive .realizacja-tag {
  background: rgba(184,212,71,.14);
  border-color: rgba(184,212,71,.24);
  color: var(--dd-leaf);
}
.realizacje-grid--archive .realizacja-tile-excerpt {
  color: rgba(233,223,206,.72);
  font-size: .9rem;
  line-height: 1.62;
  margin: 0 0 1rem;
}
.realizacje-grid--archive .realizacja-tile-excerpt p {
  margin: 0;
}
.realizacje-grid--archive .realizacja-tile-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  color: var(--dd-leaf);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.realizacje-grid--archive .realizacja-tile-more::after {
  content: '→';
  line-height: 1;
  transition: transform .2s;
}
.realizacje-grid--archive .realizacja-tile:hover .realizacja-tile-more::after {
  transform: translateX(.22rem);
}
@media (max-width: 880px) { .realizacje-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .realizacje-grid { grid-template-columns: 1fr; } }

/* =============================================
   ZAUFANIE B2B
   ============================================= */
.section-trust {
  position: relative;
  overflow: hidden;
}
.section-trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 15% 20%, rgba(184,212,71,.08), transparent 68%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(65,117,78,.16), transparent 72%);
  pointer-events: none;
}
.section-trust .container {
  position: relative;
  z-index: 1;
}
.trust-tagline {
  color: var(--dd-sand);
  font-family: 'Fraunces', serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.25;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.trust-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .9rem;
  padding: 1.35rem 1rem 1.2rem;
  border: 1px solid rgba(163,191,160,.16);
  border-radius: 8px;
  background: rgba(250,247,240,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.trust-card:hover {
  border-color: rgba(184,212,71,.34);
  background: rgba(184,212,71,.07);
  transform: translateY(-2px);
}
.trust-card-icon {
  width: clamp(96px, 9vw, 132px);
  height: clamp(96px, 9vw, 132px);
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.2));
  transform-origin: center;
}
.trust-icons-reveal .trust-card-icon {
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.25,1);
}
.trust-icons-reveal.is-icons-revealed .trust-card-icon {
  opacity: 1;
  transform: scale(1);
}
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(1) .trust-card-icon { transition-delay: 0s; }
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(2) .trust-card-icon { transition-delay: .15s; }
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(3) .trust-card-icon { transition-delay: .3s; }
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(4) .trust-card-icon { transition-delay: .45s; }
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(5) .trust-card-icon { transition-delay: .6s; }
.trust-icons-reveal.is-icons-revealed .trust-card:nth-child(6) .trust-card-icon { transition-delay: .75s; }
@media (prefers-reduced-motion: reduce) {
  .trust-icons-reveal .trust-card-icon {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.trust-card h3 {
  color: var(--dd-sand);
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 1rem;
  }
  .trust-card-icon {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
  }
}

/* =============================================
   FAQ
   ============================================= */
.section-faq {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(184,212,71,.18), transparent 30%),
    linear-gradient(180deg, #efe6d7 0%, var(--dd-sand) 54%, #ddd0bc 100%) !important;
}
.section-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18,42,30,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,42,30,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.section-faq .container {
  position: relative;
  max-width: 1060px;
}
.section-faq .section-title,
.section-faq .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-faq .section-title {
  margin-bottom: .8rem;
}
.section-faq .section-lead {
  max-width: 680px;
}
.faq-list {
  position: relative;
  display: grid;
  gap: .9rem;
  max-width: 900px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.faq-list::before {
  content: 'FAQ';
  position: absolute;
  top: -1.1rem;
  left: -2.7rem;
  z-index: -1;
  font-family: 'Fraunces', serif;
  font-size: clamp(4.5rem, 13vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(18,42,30,.055);
  letter-spacing: 0;
}
.faq-item {
  overflow: hidden;
  border: 1px solid rgba(65,117,78,.16);
  border-radius: 8px;
  background: rgba(250,247,240,.82);
  box-shadow: 0 18px 48px rgba(74,55,42,.08);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.faq-item:hover {
  border-color: rgba(65,117,78,.3);
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(74,55,42,.12);
}
.faq-item.is-open {
  background: var(--dd-paper);
  border-color: rgba(65,117,78,.38);
  box-shadow: 0 24px 64px rgba(18,42,30,.14);
}
.faq-question {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.15rem 1.15rem 1.45rem;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--dd-night);
}
.faq-question:focus-visible {
  outline: 3px solid rgba(184,212,71,.65);
  outline-offset: -6px;
}
.faq-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(65,117,78,.1);
  color: var(--dd-moss);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), background .2s, color .2s;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--dd-leaf);
  color: var(--dd-leaf-ink);
}
.faq-answer {
  padding: 0 5.2rem 1.4rem 1.45rem;
}
.faq-answer p {
  max-width: 720px;
  color: var(--dd-bark);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 680px) {
  .section-faq .section-title,
  .section-faq .section-lead {
    text-align: left;
  }
  .faq-list::before {
    left: auto;
    right: -.4rem;
    top: -3rem;
    font-size: 5.5rem;
  }
  .faq-question {
    min-height: 68px;
    padding: 1rem;
  }
  .faq-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
  .faq-answer {
    padding: 0 1rem 1.1rem;
  }
}

/* =============================================
   SEKCJA EKOLOGIA
   ============================================= */
.ecology-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ecology-grid img { border-radius: 8px; width: 100%; display: block; }
.ecology-photo {
  aspect-ratio: 9 / 7;
  height: auto;
  object-fit: cover;
}
.ecology-img { position: relative; }
.ecology-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--dd-night);
  border: 1px solid rgba(184,212,71,.25);
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(18,42,30,.35);
}
.ecology-badge-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dd-leaf);
  letter-spacing: -.02em;
}
.ecology-badge-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dd-ash);
  margin-top: .35rem;
}
@media (max-width: 880px) {
  .ecology-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ecology-photo { aspect-ratio: 4 / 3; }
  .ecology-badge { left: 1rem; bottom: 1rem; }
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.dd-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1); }
.dd-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dd-reveal { opacity: 1; transform: none; transition: none; } }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs { padding: 1rem 0; font-size: .85rem; color: var(--dd-stone); }
.breadcrumbs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: .3rem; color: var(--dd-ash); }
.breadcrumbs a { color: var(--dd-moss); }

/* =============================================
   CONTACT FORM 7
   ============================================= */
.wpcf7-form .form-row { margin-bottom: 1.2rem; }
.wpcf7-form label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--dd-night); font-size: .9rem; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid rgba(163,191,160,.4); border-radius: 4px;
  background: var(--dd-paper); color: var(--dd-ink);
  font-family: 'Instrument Sans', sans-serif; font-size: 1rem;
  transition: border-color .2s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--dd-moss); }
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-submit { background: var(--dd-leaf); color: var(--dd-leaf-ink); font-weight: 700; padding: .8rem 2rem; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; transition: background .2s; }
.wpcf7-submit:hover { background: #a8bf3a; }

.wpcf7-form .dd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wpcf7-form .wpcf7-not-valid { border-color: #B3402E; }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: .35rem; color: #B3402E; font-size: .875rem; font-weight: 500; }

/* Komunikaty po wysłaniu formularza */
.wpcf7 form .wpcf7-response-output {
  --dd-alert-accent: var(--dd-moss);
  --dd-alert-bg: #F1F6E2;
  --dd-alert-border: rgba(65,117,78,.32);
  --dd-alert-title: 'Wiadomość wysłana';
  --dd-alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  position: relative;
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem 1.15rem 4rem;
  border: 1px solid var(--dd-alert-border);
  border-radius: 10px;
  background: var(--dd-alert-bg);
  color: var(--dd-ink);
  font-size: .975rem;
  line-height: 1.5;
  animation: dd-alert-in .35s ease-out;
}
.wpcf7 form .wpcf7-response-output::before {
  content: var(--dd-alert-title);
  display: block;
  margin-bottom: .15rem;
  color: var(--dd-night);
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}
.wpcf7 form .wpcf7-response-output::after {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--dd-alert-accent) var(--dd-alert-icon) center / 1.15rem no-repeat;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--dd-alert-border); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  --dd-alert-accent: #A9652B;
  --dd-alert-bg: #FBF3E4;
  --dd-alert-border: rgba(169,118,76,.4);
  --dd-alert-title: 'Sprawdź formularz';
  --dd-alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5.5v8'/%3E%3Cpath d='M12 18.5v.01'/%3E%3C/svg%3E");
  border-color: var(--dd-alert-border);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  --dd-alert-accent: #B3402E;
  --dd-alert-bg: #FBEEEA;
  --dd-alert-border: rgba(179,64,46,.32);
  --dd-alert-title: 'Nie udało się wysłać';
  --dd-alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10'/%3E%3Cpath d='M17 7L7 17'/%3E%3C/svg%3E");
  border-color: var(--dd-alert-border);
}
@keyframes dd-alert-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wpcf7 form .wpcf7-response-output { animation: none; }
}

/* =============================================
   PAGE HERO BANNER
   ============================================= */
.page-hero { background: var(--dd-grad-hero); padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); margin-top: 94px; }
.page-hero h1 { color: var(--dd-sand); margin: 0 0 .75rem; }
.page-hero p { color: var(--dd-ash); max-width: 560px; font-size: clamp(1rem, 1.5vw, 1.15rem); }

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card { border-radius: 8px; overflow: hidden; background: var(--dd-night); }
.blog-card-link { display: block; text-decoration: none; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s cubic-bezier(0.22,1,0.36,1); }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-content { padding: 1.2rem; }
.blog-card-date { color: var(--dd-stone); font-size: .8rem; margin: 0 0 .4rem; }
.blog-card-title { color: var(--dd-sand); font-family: 'Fraunces', serif; font-size: 1.1rem; margin: 0 0 .6rem; }
.blog-card-excerpt { color: var(--dd-ash); font-size: .875rem; line-height: 1.6; margin: 0 0 .75rem; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Entry content typography */
.entry-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--dd-night); }
.entry-content h3 { margin-top: 2rem; margin-bottom: .75rem; }
.entry-content p { margin-bottom: 1.2rem; line-height: 1.75; color: var(--dd-ink); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.entry-content li { margin-bottom: .4rem; line-height: 1.7; }
.entry-content a { color: var(--dd-moss); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--dd-spruce); }
.entry-content .faq-list .faq-question { color: var(--dd-night); }

/* =============================================
   DRZEWA NA SPRZEDAZ — KATALOG GATUNKOW
   ============================================= */
.dd-katalog { background: linear-gradient(180deg,#edf1e8,var(--dd-paper)); padding-top: clamp(4rem,7vw,7rem); }
.dd-katalog__head { max-width: 760px; margin-bottom: clamp(2.5rem,5vw,4rem); }
.dd-katalog { padding-block: clamp(3rem,5.5vw,5rem); }
.dd-katalog__meta { margin: 1.1rem 0 0; color: var(--dd-stone); font-size: .88rem; letter-spacing: .02em; }
.dd-katalog__meta strong { color: var(--dd-spruce); font-weight: 700; }
.dd-katalog__meta em { color: var(--dd-moss); font-style: italic; }

.dd-katalog__layout { display: grid; grid-template-columns: minmax(240px,290px) minmax(0,1fr); gap: clamp(1.75rem,3.5vw,3.25rem); align-items: start; }
.dd-katalog__layout > * { min-width: 0; }

/* --- menu boczne --- */
.dd-katalog__nav-inner { position: sticky; top: 110px; padding: 1.4rem 1.15rem 1.15rem; border: 1px solid rgba(18,42,30,.1); border-radius: 18px; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); box-shadow: 0 18px 46px -32px rgba(18,42,30,.55); }
.dd-katalog__nav-title { margin: 0 0 .9rem; padding-left: .35rem; color: var(--dd-moss); font-size: .7rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.dd-katalog__nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 235px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dd-katalog__nav-link { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .45rem .55rem; border-radius: 12px; color: var(--dd-night); text-decoration: none; transition: background .22s, color .22s; }
.dd-katalog__nav-link:hover { background: rgba(65,117,78,.1); color: var(--dd-night); }
.dd-katalog__nav-link.is-active,
.dd-katalog__nav-link.is-active:hover { background: var(--dd-spruce); color: #fff; }
.dd-katalog__nav-link.is-active .dd-katalog__nav-count { color: var(--dd-sage); }
.dd-katalog__nav-link:focus-visible { outline: 3px solid var(--dd-leaf); outline-offset: 2px; }
.dd-katalog__nav-thumb { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--dd-sand); }
.dd-katalog__nav-all { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--dd-grad-cta); color: var(--dd-leaf-ink); font: 700 1.05rem/1 'Fraunces',serif; }
.dd-katalog__nav-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dd-katalog__nav-name { font-size: .93rem; font-weight: 600; line-height: 1.25; }
.dd-katalog__nav-count { color: var(--dd-stone); font-size: .74rem; }
.dd-katalog__nav-cta { display: block; margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 12px; background: var(--dd-night); color: var(--dd-leaf); font-size: .82rem; font-weight: 600; text-align: center; text-decoration: none; transition: background .22s, color .22s; }
.dd-katalog__nav-cta:hover,
.dd-katalog__nav-cta:focus-visible { background: var(--dd-spruce); color: var(--dd-leaf); }

/* --- kafle kategorii --- */
.dd-katalog__cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(255px,1fr)); gap: clamp(1rem,1.6vw,1.5rem); }
.dd-karta { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(18,42,30,.1); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px -34px rgba(18,42,30,.7); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.dd-karta:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -30px rgba(18,42,30,.6); }
.dd-karta__media { position: relative; aspect-ratio: 4/3; background: var(--dd-night); }
.dd-karta__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.dd-karta:hover .dd-karta__media img { transform: scale(1.04); }
.dd-karta__licznik { position: absolute; left: 10px; bottom: 10px; padding: .3rem .6rem; border-radius: 99px; background: rgba(18,42,30,.8); color: #fff; font-size: .7rem; letter-spacing: .02em; }
.dd-karta__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.2rem; }
.dd-karta__nazwa { margin: 0; font: 500 1.35rem/1.15 'Fraunces',serif; color: var(--dd-night); }
.dd-karta__nazwa a { color: inherit; text-decoration: none; }
.dd-karta__nazwa a::after { content: ''; position: absolute; inset: 0; }
.dd-karta__nazwa a:focus-visible { outline: none; }
.dd-karta:focus-within { outline: 3px solid var(--dd-leaf); outline-offset: 3px; }
.dd-karta__latin { margin: .3rem 0 0; color: var(--dd-moss); font-size: .78rem; font-style: italic; }
.dd-karta__lead { margin: .7rem 0 1.1rem; color: var(--dd-stone); font-size: .87rem; line-height: 1.55; }
.dd-karta__more { margin-top: auto; color: var(--dd-spruce); font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.dd-karta__more::after { content: ' →'; }

/* --- panel jednego gatunku --- */
.dd-katalog__panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(18,42,30,.16); }
.dd-katalog__panel-lead { flex: 1 1 320px; margin: 0; color: var(--dd-stone); font-size: .92rem; line-height: 1.6; }
.dd-katalog__wroc { flex: none; display: inline-block; padding: .5rem .95rem; border: 1px solid rgba(18,42,30,.2); border-radius: 99px; color: var(--dd-spruce); font-size: .78rem; font-weight: 600; text-decoration: none; transition: .2s; }
.dd-katalog__wroc:hover { border-color: var(--dd-moss); background: rgba(65,117,78,.1); color: var(--dd-spruce); }
.dd-katalog__panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid rgba(18,42,30,.1); }
.dd-katalog__panel-foot p { margin: 0; max-width: 52ch; color: var(--dd-ink); font-size: .92rem; line-height: 1.6; }

/* --- siatka zdjec + lightbox --- */
.drzewa-galeria__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:clamp(130px,13vw,200px); gap:10px; }
.drzewa-galeria__item { position:relative; min-width:0; padding:0; overflow:hidden; border:0; border-radius:6px; background:var(--dd-night); cursor:zoom-in; }
.drzewa-galeria__item:nth-child(11n+1),.drzewa-galeria__item:nth-child(11n+7) { grid-column:span 2; grid-row:span 2; }
.drzewa-galeria__item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.22,1,.36,1),filter .3s; }
.drzewa-galeria__item > span { position:absolute; right:12px; bottom:12px; padding:.45rem .7rem; border:1px solid rgba(255,255,255,.28); border-radius:99px; background:rgba(18,42,30,.76); color:#fff; font-size:.7rem; opacity:0; transform:translateY(5px); transition:.25s; }
.drzewa-galeria__item:hover img { transform:scale(1.045); filter:brightness(.88); }
.drzewa-galeria__item:hover > span,.drzewa-galeria__item:focus-visible > span { opacity:1; transform:none; }
.drzewa-galeria__item:focus-visible { outline:3px solid var(--dd-leaf); outline-offset:3px; z-index:2; }
.drzewa-lightbox { width:100vw; max-width:none; height:100vh; max-height:none; margin:0; padding:clamp(3.5rem,6vw,5rem); border:0; background:rgba(8,20,14,.95); color:#fff; }
.drzewa-lightbox[open] { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:clamp(.5rem,2vw,2rem); }
.drzewa-lightbox::backdrop { background:rgba(8,20,14,.88); }
.drzewa-lightbox figure { display:grid; place-items:center; gap:.75rem; margin:0; min-width:0; min-height:0; height:100%; }
.drzewa-lightbox img { display:block; max-width:100%; max-height:calc(100vh - 9rem); width:auto; height:auto; object-fit:contain; box-shadow:0 25px 80px rgba(0,0,0,.4); }
.drzewa-lightbox figcaption { color:var(--dd-ash); font-size:.82rem; text-align:center; }
.drzewa-lightbox__close,.drzewa-lightbox__arrow { border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff; cursor:pointer; transition:.2s; }
.drzewa-lightbox__close:hover,.drzewa-lightbox__arrow:hover { border-color:var(--dd-leaf); color:var(--dd-leaf); }
.drzewa-lightbox__close { position:fixed; top:1.25rem; right:1.25rem; width:44px; height:44px; border-radius:50%; font-size:1.7rem; line-height:1; }
.drzewa-lightbox__arrow { width:48px; height:48px; border-radius:50%; font-size:1.25rem; }

@media(max-width:1080px) {
  .dd-katalog__layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .dd-katalog__nav-inner { position: static; padding: 1rem; }
  .dd-katalog__nav-list { flex-direction: row; max-height: none; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; }
  .dd-katalog__nav-list > li { scroll-snap-align: start; }
  .dd-katalog__nav-link { flex-direction: column; align-items: center; gap: .45rem; width: 108px; padding: .55rem .4rem; text-align: center; }
  .dd-katalog__nav-thumb,.dd-katalog__nav-all { width: 60px; height: 60px; }
  .dd-katalog__nav-name { font-size: .8rem; }
  .dd-katalog__nav-cta { margin-top: .9rem; }
  .drzewa-galeria__grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:620px) {
  .dd-katalog__cards { grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); }
  .dd-katalog__panel-foot { flex-direction: column; align-items: flex-start; padding: 1.2rem; }
  .drzewa-galeria__grid { grid-template-columns:repeat(2,1fr); grid-auto-rows:130px; gap:6px; }
  .drzewa-galeria__item:nth-child(11n+1),.drzewa-galeria__item:nth-child(11n+7) { grid-column:span 2; }
  .drzewa-lightbox { padding:4rem .75rem 1.5rem; }
  .drzewa-lightbox[open] { grid-template-columns:1fr; }
  .drzewa-lightbox__arrow { position:fixed; bottom:1.25rem; z-index:2; }
  .drzewa-lightbox__arrow--prev { left:1.25rem; }
  .drzewa-lightbox__arrow--next { right:1.25rem; }
}

/* =============================================
   PODMENU GATUNKOW — DESKTOP I MENU MOBILNE
   ============================================= */
.nav-primary .menu-item-has-children { position: relative; }
.nav-primary .menu-item-has-children > a::after { content: '▾'; margin-left: .3rem; font-size: .7em; opacity: .7; }
.nav-primary .sub-menu {
  position: absolute; top: 100%; left: 50%; z-index: 5;
  display: block; min-width: 232px; margin: 0; padding: .5rem;
  transform: translate(-50%, 6px);
  border-radius: 14px; background: var(--dd-spruce);
  box-shadow: 0 22px 50px -18px rgba(8,20,14,.75);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-primary .menu-item-has-children:hover > .sub-menu,
.nav-primary .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-primary .sub-menu li { display: block; }
.nav-primary .sub-menu a {
  display: block; padding: .5rem .7rem; border-radius: 9px;
  color: var(--dd-sand); font-size: .82rem; white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav-primary .sub-menu a:hover,
.nav-primary .sub-menu a:focus-visible { background: rgba(8,20,14,.45); color: var(--dd-leaf); }
.nav-primary .sub-menu .current-menu-item > a { background: rgba(8,20,14,.45); color: var(--dd-leaf); }
/* odstep pod pozycja nadrzedna, zeby kursor nie gubil podmenu */
.nav-primary .menu-item-has-children::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }

/* --- menu mobilne --- */
.mobile-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.mobile-nav .menu-item-has-children > a { flex: 1 1 auto; }
.mobile-nav__toggle {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: .5rem;
  border: 1px solid rgba(233,223,206,.35); border-radius: 50%;
  background: none; color: var(--dd-sand); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.mobile-nav__toggle:hover,
.mobile-nav__toggle:focus-visible { border-color: var(--dd-leaf); background: rgba(184,212,71,.14); color: var(--dd-leaf); }
.mobile-nav__toggle span { display: block; width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.mobile-nav .menu-item-has-children.is-open .mobile-nav__toggle span { transform: translateY(2px) rotate(-135deg); }
.mobile-nav .sub-menu { flex: 1 0 100%; margin: .2rem 0 .6rem; padding-left: 1rem; border-left: 2px solid rgba(184,212,71,.35); }
/* bez JavaScriptu podmenu zostaje rozwiniete — chowamy je dopiero po dolozeniu przelacznika */
.mobile-nav .menu-item-has-children.has-toggle > .sub-menu { display: none; }
.mobile-nav .menu-item-has-children.has-toggle.is-open > .sub-menu { display: block; }
.mobile-nav .sub-menu a:not(.dd-btn) { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: clamp(1rem,3.2vw,1.15rem); font-weight: 500; padding: .3rem 0; }
.mobile-nav .sub-menu a:not(.dd-btn)::before { display: none; }
.mobile-nav .sub-menu .current-menu-item > a { color: var(--dd-leaf); }

/* =============================================
   UTILS
   ============================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
