/* ═══════════════════════════════════════════
   EPD Beton — Main Stylesheet
   EN 15804+A2 | EN 16757 | CPR 2024 | System 3+
═══════════════════════════════════════════ */

:root {
  --green:      #00593D;
  --green-mid:  #00805A;
  --green-dark: #004030;
  --green-bg:   #E8F5E9;
  --concrete:    #f0eeeb;
  --concrete-border: #c8c4be;
  --green-pale: #f0fdf4;
  --gray:       #757575;
  --gray-light: #f8faf9;
  --dark:       #1a1a1a;
  --border:     rgba(0,89,61,0.15);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,89,61,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── TYPOGRAPHY ─────────────────────── */
h1, h2, h3, h4 {
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.15;
  color: var(--dark);
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); display: block; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.section-sub   { font-size: 1rem; color: var(--gray); max-width: 580px; line-height: 1.7; }

/* ─── LAYOUT ─────────────────────────── */
.container { max-width: 1140px !important; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.divider    { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── BUTTONS ────────────────────────── */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.2s; text-decoration: none;
  line-height: 1;
}
.btn-primary   { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-white     { background: #fff; color: var(--green); }
.btn-white:hover { background: #f0fdf4; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); text-decoration: none; }
.btn-outline   { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ─── SITE HEADER ────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-logo {
  width: 52px; height: 52px;
  background: var(--green); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.site-logo span { color: #fff; font-weight: 700; font-size: 1.1rem; font-family: 'Inter', sans-serif; }
.site-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.4rem; font-weight: 600; color: var(--green);
  line-height: 1.1;
}
.site-tagline { font-size: 0.7rem; color: var(--gray); }

.primary-nav ul {
  list-style: none; display: flex; gap: 8px; align-items: center;
}
.primary-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--dark);
  padding: 8px 14px; border-radius: 6px; transition: all 0.2s;
}
.primary-nav a:hover {
  background: var(--green-bg); color: var(--green); text-decoration: none;
}
.primary-nav .btn { padding: 9px 20px; font-size: 0.875rem; }

.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--dark);
}

/* ─── HERO ───────────────────────────── */
.hero {
  background-image: url('https://epdbeton.pl/wp-content/uploads/2024/11/pexels-photo-2219024-2219024-scaled.jpg');
  background-size: cover;
  background-position: center 40%;
  padding: 96px 0 88px;
  color: #fff; position: relative; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,40,26,0.88) 0%, rgba(0,64,48,0.78) 50%, rgba(0,40,26,0.65) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

/* — left column — */
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; padding: 6px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; background: #86efac; border-radius: 50%; flex-shrink: 0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; margin-bottom: 22px; color: #fff; line-height: 1.18; }
.hero h1 em { color: #86efac; font-style: normal; }
.hero-left > p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 36px; line-height: 1.75; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-trust-item { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.75); }
.hero-trust-sep { color: rgba(255,255,255,0.3); font-size: 14px; }

/* — right column: EPD card — */
.hero-right { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px 28px 24px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.hero-card-header { margin-bottom: 18px; }
.hero-card-verified {
  display: inline-block;
  background: rgba(134,239,172,0.18); border: 1px solid rgba(134,239,172,0.4);
  border-radius: 100px; padding: 4px 14px;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #86efac;
}
.hero-card-product { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.hero-card-sub { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 22px; }
.hero-card-gwp { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.hero-card-gwp-label { font-family: 'Inter', sans-serif; font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.hero-card-gwp-value { font-size: 2rem; font-weight: 700; color: #86efac; line-height: 1; }
.hero-card-gwp-value span { font-size: 0.85rem; color: rgba(255,255,255,0.65); font-weight: 400; margin-left: 4px; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.hero-card-stat { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 14px; }
.hero-card-stat-label { font-family: 'Inter', sans-serif; font-size: 9px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.hero-card-stat-val { font-size: 0.85rem; font-weight: 600; color: #fff; }
.hero-card-footer { font-family: 'Inter', sans-serif; font-size: 10px; color: rgba(255,255,255,0.4); text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero-left { align-items: flex-start; }
}

/* ─── TRUST BAR ──────────────────────── */
.trust-bar {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-inner {
  display: flex; gap: 28px; align-items: center;
  justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; color: var(--green);
}
.trust-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ─── STEPS ──────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 44px;
}
.step-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  position: relative; transition: all 0.3s;
}
.step-card:hover {
  box-shadow: var(--shadow-lg); border-color: rgba(0,89,61,0.3);
  transform: translateY(-3px);
}
.step-card:not(:last-child)::after {
  content: '→';
  position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem; color: var(--green); opacity: 0.3;
  z-index: 1;
}
.step-num {
  width: 42px; height: 42px; background: var(--green);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.step-card p  { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ─── SYNERGY BANNER ─────────────────── */
.synergy-banner {
  background: var(--concrete);
  border: 1px solid var(--concrete-border); border-radius: 20px;
  padding: 44px; margin-top: 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.synergy-title { font-size: 1.75rem; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.synergy-banner > div > p { font-size: 0.9rem; color: var(--dark); line-height: 1.75; }
.synergy-cards { display: flex; flex-direction: column; gap: 14px; }
.synergy-card {
  background: #fff; border-radius: 12px; padding: 18px 20px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.synergy-card .label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green); display: block; margin-bottom: 6px;
}
.synergy-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.synergy-card strong { color: var(--dark); }

/* ─── DECLARATION PREVIEW ────────────── */
.declaration-preview {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; margin-top: 44px;
  box-shadow: var(--shadow-sm);
}
.declaration-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 3px solid var(--green); padding-bottom: 18px; margin-bottom: 22px;
  flex-wrap: wrap; gap: 12px;
}
.declaration-header h3 { font-size: 1.3rem; color: var(--green); margin-bottom: 4px; }
.declaration-subtitle { font-size: 12px; color: var(--gray); }
.epd-verified-badge {
  background: var(--green); color: #fff; padding: 7px 16px;
  border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.declaration-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px;
  margin-bottom: 20px;
}
.declaration-field label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gray); display: block; margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.declaration-field span { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.gwp-result {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--concrete); border-radius: 12px; padding: 18px 22px; flex-wrap: wrap; gap: 12px;
}
.gwp-label { font-size: 0.9rem; font-weight: 600; color: var(--green); margin-bottom: 3px; font-family: 'Inter', sans-serif; }
.gwp-desc  { font-size: 12px; color: var(--gray); }
.gwp-value { font-size: 2.2rem; font-weight: 700; color: var(--green); font-family: 'SF Mono', 'Monaco', monospace; line-height: 1; }
.gwp-unit  { font-size: 12px; color: var(--gray); text-align: right; margin-top: 3px; }

/* ─── PRICING ────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 44px;
  align-items: start;
}
.pricing-card {
  border: 2px solid var(--border); border-radius: 18px;
  padding: 32px 28px; background: #fff; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--green);
  background: var(--green); color: #fff;
  box-shadow: var(--shadow-lg);
}
.pricing-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 10px;
  color: var(--green); font-family: 'Inter', sans-serif; display: block;
}
.pricing-card.featured .pricing-tag { color: #86efac; }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; font-family: 'EB Garamond', Georgia, serif; }
.pricing-price {
  font-size: 2.5rem; font-weight: 700; line-height: 1; margin: 14px 0 4px;
  font-family: 'Inter', sans-serif;
}
.pricing-price sup { font-size: 1rem; vertical-align: super; }
.pricing-price small { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.pricing-note { font-size: 12px; opacity: 0.6; margin-bottom: 24px; font-family: 'Inter', sans-serif; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.2); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--gray); font-family: 'Inter', sans-serif; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .pricing-check { color: #86efac; }
.pricing-cta { margin-top: 26px; }
.pricing-cta .btn { width: 100%; text-align: center; }
.pricing-notice {
  background: var(--concrete); border: 1px solid var(--concrete-border);
  border-radius: 10px; padding: 16px 20px; margin-top: 22px;
  font-size: 0.875rem; color: #4a4540; font-family: 'Inter', sans-serif; line-height: 1.6;
}

/* ─── FAQ ─────────────────────────────── */
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  padding: 18px 22px; font-weight: 600; font-size: 0.95rem;
  color: var(--dark); background: var(--gray-light);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none; font-family: 'Inter', sans-serif; transition: background 0.2s;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
details[open] .faq-question { background: var(--green-bg); color: var(--green); }
.faq-arrow { transition: transform 0.25s; color: var(--green); }
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 16px 22px 20px; font-size: 0.9rem; color: var(--gray); line-height: 1.75; font-family: 'Inter', sans-serif; }

/* ─── CTA BOTTOM ─────────────────────── */
.cta-bottom {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; text-align: center; padding: 88px 0;
}
.cta-bottom h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 16px; color: #fff; }
.cta-bottom p  { opacity: 0.8; font-size: 1rem; max-width: 520px; margin: 0 auto 36px; line-height: 1.75; }
.cta-contact-row {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px; font-size: 0.9rem; opacity: 0.7; font-family: 'Inter', sans-serif;
}

/* ─── SITE FOOTER ────────────────────── */
.site-footer {
  background: #0d1f18; color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-name { color: #fff; font-size: 1.3rem; }
.footer-brand .site-tagline { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 2px; }
.footer-brand p { font-size: 0.85rem; margin-top: 14px; opacity: 0.6; line-height: 1.6; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; opacity: 0.5; font-family: 'Inter', sans-serif;
}

/* ─── INNER PAGES ────────────────────── */
.page-hero {
  background: var(--green); color: #fff; padding: 52px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.page-content {
  max-width: 800px; margin: 0 auto; padding: 52px 24px 72px;
}
.page-content h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.page-content p  { font-size: 0.95rem; color: #333; line-height: 1.75; margin-bottom: 18px; }
.page-content ul { padding-left: 20px; margin-bottom: 18px; }
.page-content li { font-size: 0.95rem; color: #333; line-height: 1.7; margin-bottom: 6px; }

/* ─── POSTS / BLOG ───────────────────── */
.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 44px;
}
.post-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #fff; transition: all 0.3s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-card-image { height: 200px; background: var(--green-bg); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-card-meta { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--dark); }
.post-card h3 a:hover { color: var(--green); text-decoration: none; }
.post-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.post-card .read-more { font-size: 0.875rem; font-weight: 600; color: var(--green); font-family: 'Inter', sans-serif; }

/* ─── CONTACT FORM ───────────────────── */
.contact-section { background: var(--gray-light); padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info p { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 38px; height: 38px; background: var(--green); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.contact-detail-text .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); display: block; margin-bottom: 2px; font-family: 'Inter', sans-serif; }
.contact-detail-text strong { font-size: 0.9rem; color: var(--dark); }

/* CF7 Form Styling */
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.wpcf7-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.wpcf7-form label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); font-family: 'Inter', sans-serif; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: 0.875rem;
  border: 2px solid rgba(191,191,191,0.5); border-radius: 9px; color: var(--dark);
  background: #fff; transition: all 0.2s;
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,89,61,0.08);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--green); color: #fff; border: none; padding: 14px 36px;
  border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.2s;
  width: 100%; margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover { background: var(--green-mid); }

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:not(:last-child)::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .synergy-banner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .site-header .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .primary-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px; box-shadow: var(--shadow-md); }
  .primary-nav.open ul { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
  .declaration-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── ELEMENTOR FOOTER COLOR HARMONY ──────
   Overrides Tailwind utility classes used in the
   Elementor HTML widgets to match the theme's
   dark-green palette instead of navy/slate.
───────────────────────────────────────────── */
footer#kontakt,
.bg-gray-900 {
  background-color: #0d1f18 !important;
}
.bg-green-800 {
  background-color: #00593D !important;
}


/* ─── MINT → SAGE UPDATE ─────────────────────────────────────────
   #86efac (tropical mint) → #a8d4b8 (muted sage, more industrial)
   These accent spots sit on dark green background — need contrast
   but should feel earthy, not tropical.
──────────────────────────────────────────────────────────────── */
.hero-badge-dot      { background: #a8d4b8 !important; }
.hero h1 em          { color: #a8d4b8 !important; }
.hero-card-verified  { color: #a8d4b8 !important; }
.hero-card-gwp-value { color: #a8d4b8 !important; }

/* ─── TAILWIND BLUE → GREEN ──────────────────────────────────────
   Subpages (certyfikacja-epd, deklaracja-epd) use Tailwind CDN
   utility classes. Replace all blue shades with brand green.
──────────────────────────────────────────────────────────────── */
.bg-blue-600,
a.bg-blue-600,
button.bg-blue-600        { background-color: var(--green) !important; }
.hover\:bg-blue-700:hover { background-color: var(--green-mid) !important; }
.bg-blue-100              { background-color: #deeee7 !important; }
.bg-blue-50               { background-color: #f0f7f4 !important; }
.text-blue-600            { color: var(--green) !important; }
.text-blue-700            { color: var(--green-dark) !important; }
.text-blue-800            { color: var(--green-dark) !important; }
.border-blue-600          { border-color: var(--green) !important; }
.border-blue-500          { border-color: var(--green) !important; }
.border-blue-200          { border-color: rgba(0,89,61,0.25) !important; }
.ring-blue-500,
.focus\:ring-blue-500:focus { --tw-ring-color: rgba(0,89,61,0.4) !important; }

/* ─── FORMULARZ-EPD: Navy form → dark green ─────────────────────
   Elementor container .elementor-element-d590efc has hardcoded
   rgb(19, 37, 78) navy — override with brand dark green.
──────────────────────────────────────────────────────────────── */
.elementor-element-d590efc,
.elementor-480 .elementor-element.elementor-element-d590efc:not(.elementor-motion-effects-element-type-background),
.elementor-480 .elementor-element.elementor-element-d590efc > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--green-dark) !important;
}

/* ─── SECTION BREATHING ROOM ─────────────────────────────────────
   Increase section padding from 72px to 88px for more air.
──────────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
@media (max-width: 900px) { .section { padding: 64px 0; } }
@media (max-width: 640px) { .section { padding: 48px 0; } }


/* ─── SUBPAGE GRADIENT SECTIONS → CONCRETE ──────────────────────
   .gradient-bg class on certyfikacja/deklaracja pages had a
   blue-tinted gradient. Replace with warm concrete tones.
──────────────────────────────────────────────────────────────── */
.gradient-bg {
  background: linear-gradient(135deg, #f5f3ef 0%, #e5e0d8 100%) !important;
}

/* ─── WPISY / BLOG PAGE — full-width grid ──────────────────────────────────────────────
   .page-content caps inner pages at 800px (good for text-heavy pages).
   Posts listing / archive needs 1100px so the Elementor grid can breathe.
───────────────────────────────────────────────────────────────────────────── */
.page-id-1236 .page-content,
.blog .page-content,
.archive .page-content {
  max-width: 1100px;
}
